Configure sendmail to reject mail for unknown users?

Timothy Alberts talberts at msiscales.com
Mon Mar 13 23:11:18 UTC 2006


On Mon, 2006-03-13 at 17:03 -0600, Mike Klinke wrote:
> I use the access file mechanism:
> 
> =================================== 
> #to reject mail addressed to old or bogus accounts
> 
>     exDomain.com             REJECT
> 
> #below statements will override above REJECT statement
> 
>     validUser1 at exDomain.com      OK
>     validUser2 at exDomain.com      OK
> ====================================
> 
> Regards, Mike Klinke

That easy eh?

All this time I've been doing the access method, but apparently
backwards.  I've been listing all the invalid accounts that get used
(when I find them) and adding them as rejects.

Now if a mail comes in that is 'TO/CC/BCC:validuser at mydomain.com' and
'TO/CC/BCC:invaliduser at mydomain.com' will it reject the entire mail, or
will it still deliver to the valid user?






More information about the fedora-list mailing list