Creating Alias - Failed to create virtual server : The username prefix xxxx is already in use by xxxx.com.au

Hi

When we try and create an alias for a domain xxxx.co under the domain xxxx.com.au we get the message

Failed to create virtual server : The username prefix xxxx is already in use by xxxx.com.au

We don't have mail set up for the top level server so cannot understand why it is wanting to use a prefix.

Appreciate your assistance.

Webmin version: 1.610 Virtualmin version: 3.97 Pro Operating system: Debian Linux 5.0
Perl version: 5.010000 Path to Perl: /usr/bin/perl
BIND version: 9.6 Postfix version: 2.5.5
Mail injection command: /usr/lib/sendmail -t Apache version: 2.2.9
PHP version: 5.2.6 Webalizer version: 2.01-10
Logrotate version: 3.7.1 MySQL version: 5.0.51
ProFTPd version: 1.31 SpamAssasssin version: 3.2.5
ClamAV version: 0.97.3

Regards Greg

Status: 
Closed (fixed)

Comments

When creating, did you select "Alias of xxxx.com.au" , or "Alias of xxxx.com.au, with email" ?

I selected "Alias of xxxx.com.au"

Thanks. One more question - what is the output from grep longname /etc/webmin/virtual-server/config on your system?

Is the domain you are trying to create xxx.co or xxx.com ?

The primary server is xxxx.com.au, we have added xxxx.co.uk as an alias but trying to add xxxx.co as another alias

Ok, I see the bug here - it looks like it is possible to create domains in such an order that an automatically chosen username prefix/suffix cannot be selected by Virtualmin.

I will fix this in the next release. Until then, the work-around is to create the alias from the command line, with a command like :

virtualmin create-domain --domain xxxx.co --alias xxxx.com.au --dir --web --dns --mail --prefix xxxx2

Thanks, great support as usual

Automatically closed -- issue fixed for 2 weeks with no activity.