[ILUG] How to get rid of email to non-existent users?

Justin Mason jm at jmason.org
Thu Oct 5 14:57:33 IST 2006


Timothy Murphy writes:
> On Thursday 05 October 2006 13:25, Andres Jimenez wrote:
> 
> > > I see there is a sendmail option to re-direct all email to non-existent
> > > users to a specified user, and I'm thinking of sending all this email to
> > > "nobody", and then running a cron job to delete all nobody's email.
> > > [Thinks: Is a user with "nologin" shell allowed to receive email?]
> > >
> > > But is there any sendmail setting which will directly delete such email,
> > > or send it to /dev/null?
> >
> > Postfix (know nothing about sendmail) will allow you  to reject
> > messages to unknown local recipients
> 
> Thanks for the response.
> I've thought from time to time of abandoning sendmail,
> but remembered Hilaire Belloc,
> "always keep a-hold of Nurse
> For fear of finding something worse."
> 
> In fact, I used to use smail,
> but that seems to have disappeared.

speaking from experience of both -- Postfix is nowhere near as bad as
smail was. ;)   I strongly recommend everyone to use Postfix
if at all possible...

--j.



More information about the ILUG mailing list