How can I set up support for sendmails antispam features?
This answer covers versions of sendmail from 8.9.320 (the version installed in Red Hat 6.2) upwards. If you have an older version, upgrade to sendmail 8.9. Stock sendmails can now do antispam exclusions based on a database of filter rules. The humanreadable form of the database is at /etc/mail/access . The database itself is at /etc/mail/access.db . The table itself uses email addresses, domain names, and network numbers as keys. For example, spammer@aol.com REJECT cyberspammer.com REJECT 192.168.212 REJECT would refuse mail from spammer@aol.com, any user from cyberspammer.com (or any host within the cyberspammer.com domain), and any host on the 192.168.212.* network. (This feature can be used to do other things as well; see the sendmail documentation for details) To actually set up the database, run makemap hash deny