Hi!

I'm new to this list.

I have a problem setting up aliases for two domains.

I have two domains: one primary domain.com and one seconday domain.net.

Primary domain has "real" mailboxes. Secondary domain has and alias for primary domain:

@domain.net -> @domain.com

So, mail sent to a mailbox in secondary domain, will go to the mailbox in primary domain.

This is working ok.

But, we setup an alias on primary domain, to forward mail to a gmail account:

m...@domain.com -> m...@gmail.com

This works pretty well if mail is sent to m...@domain.com. But, If we send an email to m...@domain.net, Postfix correctly rewrite the email to m...@domain.com, but then it don't forward to m...@gmail.com, it pass the mail to maildrop and is stored in disk instead of forwarded.

This cannot be accomplished ?

Domain forward and mail forward are in same table and used in virtual_alias_maps setting.

Any idea ?

Thanks!

Reply via email to