Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can I set up support for sendmails antispam features?

0
Posted

How can I set up support for sendmails antispam features?

0

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

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.