|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Raimund Eimann (raimund
cs.auckland.ac.nz)
Date: Wed Nov 14 2007 - 17:37:20 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
actually the domains are part of mydestination. Before I started playing
with /etc/postfix/virtual, I've put the aliases into /etc/aliases, but mail
to the aliases was still rejected.
?
Cheers,
Raimund
On Thursday 15 November 2007, Wietse Venema wrote:
> 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 ]