Re: procmail local delivery and aliases expansion
Richard Z <[email protected]> Tue, 6 Jan 2015 20:49:38 +0100
| Newsgroups | gmane.mail.procmail |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Jan 06, 2015 at 05:06:38AM -0700, LuKreme wrote: > On 03 Jan 2015, at 09:10 , Richard Z <[email protected]> wrote: > > I am using esmtp which in turn uses "procmail -d %T" for local > > mail delivery - and would prefer to avoid installing any of the > > big sendmail-like packages. > > > > Problem is, procmail does not expand aliases when used like this > > so mail from daemons to root etc ends up in the wrong places. > > It is not procmail’s job to expand aliases as it is an LDA, not an MTA. smtp should be able to do this if it’s a proper MTA. > > > Coding the alias expansion myself should not be too difficult but > > perhaps it has been done before? > > I imagine it will be a lot more complicated than you may think. Yes, original sendmail /etc/aliases had a few "exotic" features but plain address expansion is what I am looking for and that should not be too hard. Actually a bit surprised that there does not seem to be any standalone utility to do that. Richard --- Name and OpenPGP keys available from pgp key servers ____________________________________________________________ procmail mailing list Procmail homepage: http://www.procmail.org/ [email protected] http://mailman.rwth-aachen.de/mailman/listinfo/procmail