With sendmail 8.13 on FC4, I currently have this behavior:
- any host can connect to the smtp port;
- relaying and local delivery are allowed if STARTTLS+AUTH are used;
- relaying and local delivery are allowed if the connecting host is one of the ones listed in /etc/mail/access;
- else local delivery is allowed.
What I want is to replace item #4 with "else mail is not accepted for delivery". I only want to accept "jwz.org" delivery if it's from my ISP's mail hosts, or AUTH. I don't want direct-connect spammers and viruses to be able to deliver to me.
Someone suggested FEATURE(relay_hosts_only) but that doesn't seem to do anything.
(As always, feel free to answer my sendmail question with "don't use sendmail" if you'd like me to ban you.)