How do I block a domain from the recieved portion of headers

Richard Siddall richard.siddall at
Fri Mar 24 16:45:33 GMT 2006

Brandon Hoppe wrote:
>>> Install the contents as /usr/share/sendmail-cf/hack/block_bad_helo.m4
>> Now, I wasn't sure where to put it so I added these two lines after
>> the divert(-1) line:
>> include(`../m4/cf.m4')dnl
>> include(`../m4/block_bad_helo.m4')dnl
> Any ideas on what I did incorrectly on the above?


Try taking out the two include lines and putting a line
in your .mc file between the last FEATURE and the first MAILER.

I haven't tried this, but I think it should work if you've put
block_bad_helo.m4 in the right directory.


	Richard Siddall

More information about the MailScanner mailing list