Hi I am fooling around with my postfix, and I wanted to reject mail without a valid MX record. How to do that?
I tried smtpd_sender_restrictions = check_sender_mx_access cidr:/etc/postfix/mxaccess With a file /etc/postfix/mxaccess having the following contents: 64.94.110/24 REJECT Verisign hijacked domain 0.0.0.0 REJECT No MX record But that does not seem to work. First of all the check_sender_mx_access checks the MX address, not if there is any MX record at all. Second, it seems like the Verisign problem has been removed. third, I do not get some .db file for the cidr file, is that intentional? I did get a .db file when I used hash: and restarted postfix. best regards Keld