Subject: Re: sendmail removal and getting migration advice right
To: None <email@example.com>
From: None <firstname.lastname@example.org>
Date: 06/16/2006 20:19:29
"Perry E. Metzger" <email@example.com> wrote:
> It really is that easy. Most people are scared because after decades
> of being intimidated by sendmail.cf syntax they assume it must be hard
> to make Postfix do things, but it really is easy to make it do
> straightforward things.
Well, not always.
I migrated my main machine here to Postfix three years ago; as a
result of that experience all my other machines are still running
It should be straightforward to redirect root's mail to yourself and
then forward everything to the department mailserver. Unfortunately,
Postfix really didn't/doesn't want to do this.
(IIRC the fundamental problem is that if you tell it to deliver local
mail elsewhere, it assumes you mean *all* local mail and silently
ignores the aliases file... and if you don't, its limited capacity for
address rewriting gets you into trouble if you aren't your domain's
authoritative mail server.)
I got it to work acceptably, but it took a long time and a lot of
cursing, though admittedly no more than hacking raw sendmail.cf would
have. And I ended up having to list every locally-handled account in
both the aliases file and the master config file, which left me
I'm hoping there's now a better way to do this; however, in general
Postfix doesn't seem to be quite flexible enough.
(What I have is no relayhost and no local_transport; instead, I'm
using the masquerade feature to cause ordinary user addresses to
become users on the mailserver, and masquerade_exceptions with a list
of every local-only user to allow those to be processed via the
aliases file. I don't remember if setting a relayhost caused problems
or not... I think it may have.)
- David A. Holland / firstname.lastname@example.org