foo+bar@ addresses, procmail, and postfix
Dan Langille
dan at langille.org
Wed Apr 9 04:53:50 PDT 2003
On 9 Apr 2003 at 4:43, Terry Lambert wrote:
> Dan Langille wrote:
> > > But either way, you need to modify the MDA invocation by the MTA,
> > > on local delivery.
> >
> > Done. And how I did that was in my original message.
>
> By using procmail on all local mail. 8-(.
Yep, which is all I've found so far.
> > > That's because mail.local doesn't take or pass on optional
> > > arguments to programs invoked in .forward files. It's an
> > > MDA that doesn't support that.
> >
> > But Postfix does.
>
> Postfix is not a local delivery agent.
True, damn acronyms.
> > I'd rather disturb the existing setup as little as possible.
>
> Understood. I thought perhaps the reason for this was that it
> was being hosted for you, and that your "procmail everything"
> was just a proof-of-concept.
Sorry, no, it was trying to find out how to do it.
> > > > Any comments? Ideas? Improvements?
> > >
> > > Don't run procmail globally. Replace your mail.local, if you need
> > > to, but don't run procmail globally.
> >
> > I'm the only user on this system. I'd rather not replace
> > mail.local.
>
> Well you have, with procmail. 8-). But if you're the only user, then
> it doesn't matter.
True. I have. If it's that each, perhaps all I need to do is change
this line in the Postfix config file:
mailbox_command = /usr/local/bin/procmail -a "$EXTENSION"
> What should probably be noted is that this will not work for
> people whose email service is being hosted by someone else,
> since hosting providers tend to frown on changes to global
> mail configurations.
Agreed. What I'm doing isn't for most people.
> If you're not willing to replace mail.local as the local MDA,
> then I guess you've got the best you are going to get for this.
But I just got told (by you) that I already have done this. ;) I've
been using procmail because it has worked for me in the past and my
work has always been on machines over which I have full control.
I'll poke around the Postfix website and mailing lists and see what
mail.local replacements have been used/recommended.
cheers.
--
Dan Langille : http://www.langille.org/
More information about the freebsd-chat
mailing list