Postfix : reject_unverified_sender
I’ve been experimenting with numerous postfix features since Kaeru introduced me to this beast last year. One of them is Address verification. It is a feature that allows the Postfix SMTP server to block a sender (MAIL FROM) or recipient (RCPT TO) address until the address has been verified to be deliverable. The idea is to reject junk mail with an unreplyable sender address.
However, this feature is available in Postfix version 2.1 and later. The implementation is simple and clearcut.
CONFIGURATION
The following configuration is an example for Sender address verification for mail from frequently forged domains where selective domains were picked for address verification.
/usr/local/etc/postfix/main.cf
smtpd_sender_restrictions = permit_mynetworks,
check_sender_access hash:/usr/local/etc/postfix/sender_access
/usr/local/etc/postfix/send_access:-
hotmail.com reject_unverified_sender
Note : remember to hash the sender_access file with postmap and reload your postfix.
Monday, May 21st, 2007



