Re: procmail local delivery and aliases expansion

LuKreme <[email protected]> Tue, 6 Jan 2015 05:06:38 -0700
Newsgroups gmane.mail.procmail
Message-ID <[email protected]>
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.

-- 
Are you a lucky little lady in the city of light Or just another lost
angel?