Sendmail
Edit /etc/mail/sendmail.mc and add
FEATURE(`dnsbl', `dnsbl.example.com', `you have been rejected mofo')dnl
#make -C /etc/mail
#service sendmail restart
Postfix
#postconf -e "smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_destination, reject_rbl_client dnsbl.example.com"
#service postfix restart
No comments:
Post a Comment