[OT] - Configure sendmail to drop incoming unknown user emails

Scott Silva ssilva at sgvwater.com
Fri May 21 00:23:46 IST 2010


on 5-20-2010 12:09 PM Eduardo Casarero spake the following:
> 
> 
> 2010/5/20 Scott Silva <ssilva at sgvwater.com <mailto:ssilva at sgvwater.com>>
> 
>     on 5-19-2010 5:57 PM Miguel Koren O'Brien de Lacy spake the following:
>     > Ladies and Gentlemen;
>     >
>     > I need to configure sendmail to silently drop emails received for
>     > unknown users on the server. In other words I don't want the sender to
>     > thinks that the email was received and then I want to put it in
>     > /dev/null. This is not for special needs for an internal
>     application and
>     > not for any real interset email server. I searched around about how to
>     > do this and found some links that seem to imply that it's possible but
>     > no real solution. Can anyone point me to the right place for this?
>     >
>     > Thanks.
>     >
>     > Miguel
>     >
>     Sendmail should be doing this already... You have changed something
>     to make it
>     NOT reject unknown users.
> 
> 
> Sendmail can "discard" the email, in fact in access.db you can setup for
> example "From: 1.2.3.4 DISCARD" so every email from that ip is silently
> discarded. How do you now if an user is either valid or not? Ldap?
Sorry... I misread the OP. Are you trying to drop ALL unknown users, or just
forged spam?



More information about the MailScanner mailing list