I want to block an email address in Postfix, from
idiot@spamcompany.comI've found on Google that I should use
check_sender_access. The question is, where should I put it?
It seems I can put it in either
smtpd_recipient_restrictions or
smtpd_sender_restrictions. Which should I use and why, and what's the difference?
A common theme throughout the internet seems to be putting all the settings into
smtpd_recipient_restrictions and skipping
smtpd_sender_restrictions, even if the setting was specified under the
smtpd_sender_restrictions in the Postfix docs. Why do people do this?