15.3.5 discusses the use of /etc/mail/access to block spam, and gives as an example access file: badspammer.com 550 Go away and do not spam us anymore tux.badspammer.com OK 10.0 RELAY The syntax used for the badspammer.com entry is deprecated. All numeric code responses should be preceded by an ERROR keyword. Similarly, text strings should be quoted (spaces may or may not be preserved if they aren't quoted). The preferred (and soon only) syntax is either badspammer.com ERROR:550 "Go away and do not spam us anymore" or, if you want to send a DSN response, badspammer.com ERROR:###:550 "Go away and do not spam us anymore" where ### is the number (taken from RFC 1893) corresponding to the DSN code you want to send to the sendor. see ~pg 36 in README.cf for documentation of the deprecation....
Thanks for the catch, this will be incorporrated in the next version of the Reference Guide. As it stands, however this syntax still works. I will post an errata, however, noting the deprecation and pointing out that quotes are important. Thanks a million! Johnray
I have posted an errata and corrected the HTML version of the document. Thank you very much for pointing this out. The next version of this chapter will enhance the syntax for these commands. Thanks again. Johnray