From: Ralf Hildebrandt (no email)
Date: Wed Dec 01 2004 - 02:43:58 EST
* Stewart, John <>:
> Right now we use the /etc/aliases file (updated every night with the list of
> valid internal users) to relay on mail to our internal machines. I think the
> upshot of this is that *all* mail is delivered locally, in that the aliases
> file is local delivery.
That's the wrong way. Your box is a RELAY.
> Now, as far as not listing the domain(s) in $mydestination, your
> recommendation *seems* to me to be contraditctory to this:
>
> http://www.postfix.org/basic.html#mydestination Under mydestination:
>
> "If your machine is a mail server for its entire domain, you must list
> $mydomain as well."
It isn't, it's a RELAY for he domain.
> Is using relay_domains and relay_recipient_maps now perhaps just a "better"
> way to handle this than either /etc/aliases or a virtual alias mapping?
Much better.
> - Stop using /etc/aliases (or even a virtual alias map) for delivery to
> internal users. Instead, use relay_recipient_maps and relay_domains.
Yes.
> Is there any other benefit to this over using an aliases file I should be
> aware of?
Yes, it's the correct way.
-- Ralf Hildebrandt () http://www.arschkrebs.de/postfix/ Tel. +49 (0)30-450 570-155 Why you can't find your system administrators: They are in the cellars conducting the rituals to keep the machines running
|
|
|