Virtual Server Alias cannot create "Mail Aliases"

Hi,

I have a Top-level server mysite.net (default templates)

I created a Virtual Server Alias of mysite.net as mysite.com

Now I want to create create "Mail Aliases" at mysite.com

This works on the VM demo site, but not on my GPL version. The option "Edit Mail Aliases" is missing under mysite.com. Is this a limitation of the gpl version?

Christian

I wouldn’t think so. But maybe. Jamie sometimes chooses odd things to be Pro-only. :wink:

Hmmm…so I’m not seeing any code that would indicate it is a Pro only feature.

I suspect you just didn’t enable mail for the Alias domain. Try turning it on the Edit Virtual Server page.

Joe wrote:

I wouldn’t think so. But maybe. Jamie sometimes chooses odd things to be Pro-only. :wink:
Hmmm…so I’m not seeing any code that would indicate it is a Pro only feature.
I suspect you just didn’t enable mail for the Alias domain. Try turning it on the Edit Virtual Server page.
I hope its not just in vm-pro, - dropping obvious features like that would make your support more confusing.

Obviously, I did enable mail for the Alias domain.

Here is what I did: VM 3.69 gpl - all with the default templates
(ooops, the screenshots are a bit wide)

1)

2)

3)

[size=4]The same thing in VM pro (demo site):[/size]

[size=4]Mappings are different[/size]
The automatically created mappings in GPL and Pro versions are different, too.

Webmin > Servers > Postfix Mail Server > Virtual Domains > Edit Map Manually – will give the following reesults in the relevant places:

VM-GPL:
mysite@mysite.net mysite
mysite.net mysite.net
abuse@mysite.net mysite@mysite.net
hostmaster@mysite.net mysite@mysite.net
webmaster@mysite.net mysite@mysite.net
postmaster@mysite.net mysite@mysite.net
mysite.com mysite.com
webmaster@mysite.com mysite@mysite.net
mysite@mysite.com mysite
postmaster@mysite.com mysite@mysite.net
hostmaster@mysite.com mysite@mysite.net
abuse@mysite.com mysite@mysite.net

VM-PRO:
mysite-pro@mysite-pro.net mysite-pro
mysite-pro.net mysite-pro.net
hostmaster@mysite-pro.net mysite-pro@mysite-pro.net
postmaster@mysite-pro.net mysite-pro@mysite-pro.net
abuse@mysite-pro.net mysite-pro@mysite-pro.net
webmaster@mysite-pro.net mysite-pro@mysite-pro.net
mysite-pro.com mysite-pro.com
@mysite-pro.com @mysite-pro.net

In both cases the Alias Domains were created using the same workflow and the same settings (as far as I can tell).

Christian<br><br>Post edited by: chriswayg, at: 2009/06/03 22:14

Hi Christian,

The reason you aren’t seeing the option to create mail aliases
is that on your GPL system, Virtualmin is configured to copy
/etc/postfix/virtual file entries from the target domain to the alias.
This is done to prevent email backscatter … basically, without it
Postfix will accept email to any address in an alias domain, even if
the address does not exist in the target. It will then send back a bounce
message, but since spammers rarely use valid From: addresses in their
email, the bounce is more harmful than useful.

However, because virtual file entries are copied from the target
domain, the alias domain cannot have any email aliases of its own.
If you want to change this, go to Server Configuration -> Email Settings,
and adjust the ‘Mail aliases mode’ option. It can also be changed for
new domains at System Settings -> Server Templates -> Default Settings ->
Mail for domain -> Mail alias mode for alias domains.

Ok, I see it now. The “Edit Mail Aliases” link actually appears after changing ‘Mail aliases mode’ to ‘Catchall forwarding’.

Christian