sendmail缺省提供VRFY、EXPN等功能,这些功能给发垃圾邮件者提供了一定的方便,如何取消呢? 修改/etc/mail/sendmail.cf里面的PrivacyOptions,从缺省的 O PrivacyOptions=authwarnings 改为 O PrivacyOptions=authwarnings,novrfy,noexpn 这样sendmail就不支持VRFY和EXPN功能了。
原文转自:http://www.ltesting.net