Greetings,
I have a postfix server which is running great and would like to clean
up a few items.
Due to systems outside of my control I am unable to remove invalid
recipient addresses which are known to be bad. I wish threatening the
owners of the systems worked but I wish to remain employed.
In short I have several systems sending emails to invalid addresses
which are bounced by Google. I would like to reject the messages at the
postfix system using an access list.
I thought this configuration would work but it is not having the desired
effect.
smtpd_relay_restrictions = permit_mynetworks, check_recipient_access
hash:/etc/postfix/blacklist_recipient, reject_unverified_recipient, reject
unverified_recipient_reject_code = 450
I have also tried without any success.
smtpd_recipient_restrictions = check_recipient_access
hash:/etc/postfix/blacklist_recipient
http://www.postfix.org/postconf.5.html#smtpd_recipient_restrictions