On Fri, Jun 05, 2009 at 01:22:02AM +0200, [email protected] wrote:
> > /etc/postfix/main.cf
> > mydestination = localhost
> > virtual_alias_domains = example1.com, genex.example1.com,
> > localhost.example1.com, example2.org, localhost.example2.org
> > genex.example2.org
> > virtual_alias_maps = hash:/etc/postfix/virtual
> >
> > Upon instating these changes, mail to [email protected] gets returned back.
> > User unknown in virtual alias table.
> >
> > Any suggestions how this can be set up in a way that is proper, robust and
> > still delivers mail?
>
> Do you've
>
> example1.com anything
> example2.com anything
> (and so on)
>
> in your /etc/postfix/virtual(.db)?
Not necessary or desirable when virtual_alias_domains is used. The user
in question needs to be listed in virtual_alias_maps, and resolve to an
address that is NOT in a virtual alias domain.
--
Viktor.
Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.
To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:[email protected]?body=unsubscribe%20postfix-users>
If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.