[CentOS] Sendmail - block mail based on recipient address?

Sean Carolan scarolan at gmail.com
Mon Oct 25 10:55:40 EDT 2010


> lefgifu with: sendmail access TO
>
> http://www.feep.net/sendmail/tutorial/anti-spam/access_db.html
>
> 'The left hand side of each entry can optionally be prefixed
> with one of the tags To:, From:, or Connect:.'

Yes, I have tried this.  I have entries like this in my access file:

To:staffing at unwantedcompany.com    DISCARD

Yet mail to staffing at unwantedcompany.com goes through just fine.  I
think I may be missing something here.


More information about the CentOS mailing list