John Hardin a écrit : > On Thu, 16 Oct 2008, Randy wrote: > >> McDonald, Dan wrote: >>> On Thu, 2008-10-16 at 08:02 -0700, linuxbox wrote: >>> >>> > rawbody spam_domains /blockeddomain\.com/i >>> >>> uri spam_domains /blockeddoamin\.com/i >> >> If you need to block a domain from sending e-mail, then use the mail >> server to handle it. It is better to block messages from even getting >> to your filtering applications. > > How does the MTA block on a domain name _in the message body_ without > passing it to a filtering application? >
I guess he meant something like postfix body_checks, but that's not an appropriate filtering mechanism (it checks one line at a time and doesn't decode). > Your answer, while valid, isn't germane to the OP's question. >