(1) 在/etc/mail/access 中添加需要更改的IP或邮箱地址
mail-abus.org DISCARD
spews.org DISCARD
spamhaus.org DISCARD
anti-spam.org.cn DISCARD
localhost.localdomain RELAY
localhost RELAY
127.0.0.1 RELAY
192.168.10. RELAY
aoibc.com DISCARD
mailctrl.com DISCARD
125.249.164.6 DISCARD
125.248.221.131 DISCARD
(2)makemap hash /etc/mail/access.db </etc/mail/access
(3)service sendmail restart