|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Wietse Venema (wietse
porcupine.org)
Date: Wed Nov 14 2007 - 13:29:07 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Raimund Eimann:
> Hi,
>
> I'm rejecting mail to users such as root, hostmaster, administrator and so on
> on my mail server. Apart from that, mail to unknown users is rejected.
>
> For one user (username: "mike"), I need an alias "michael". As "michael" does
> not exist in /etc/passwd mail to michael
my.doma.in gets rejected.
>
> I added some entries to /etc/postfix/virtual:
>
> michael
my.doma.in mike
> michael
my.second.doma.in mike
> michael
my.third.doma.in mike
>
> It seems to work, but is this the correct way of doing this? Or is this rather
> done in /etc/aliases or /etc/postfix/canonical?
>
> Confused. What's the relevant section in the docs to distiguish the purpose of
> these three files?
If the above domains are listed in (virtual_alias_domains,
virtual_mailbox_domains, or relay_domains) instead of mydestination,
then your virtual alias maps solution is the proper solution.
/etc/aliases is for mydestination domains only.
Wietse
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]