| Linode Forum https://forum.linode.com/ |
|
| Blocking an email address in Postfix https://forum.linode.com/viewtopic.php?f=11&t=10794 |
Page 1 of 1 |
| Author: | dee4 [ Tue Jan 21, 2014 1:35 pm ] |
| Post subject: | Blocking an email address in Postfix |
I want to block an email address in Postfix, from idiot@spamcompany.com I'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? |
|
| Author: | Vance [ Wed Jan 22, 2014 10:10 pm ] |
| Post subject: | Re: Blocking an email address in Postfix |
The difference is the stage in the SMTP transaction the restriction is applied. See this article for some explanation. There's really no significant disadvantage to using smtpd_recipient_restrictions; in fact, in newer versions of Postfix, sender_restrictions won't be acted on sooner than recipient_restrictions. |
|
| Page 1 of 1 | All times are UTC-04:00 |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|