How do I block a domain from the recieved portion of headers
Richard Siddall
richard.siddall at elirion.net
Fri Mar 24 16:45:33 GMT 2006
Brandon Hoppe wrote:
[snip]
>>> http://www.cs.niu.edu/~rickert/cf/hack/block_bad_helo.m4
>>>
>>> Install the contents as /usr/share/sendmail-cf/hack/block_bad_helo.m4
[snip]
>> 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
[snip]
> Any ideas on what I did incorrectly on the above?
>
Brandon,
Try taking out the two include lines and putting a line
HACK(`block_bad_helo')dnl
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.
Regards,
Richard Siddall
More information about the MailScanner
mailing list