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

Brandon Hoppe bhoppe at ti.com
Fri Mar 24 19:53:44 GMT 2006



> 
> here's where the line resides in my sendmail.mc file:
> 
> divert(-1)dnl
> dnl #
> dnl # This is the sendmail macro config file for m4. If you make changes
> to
> dnl # /etc/mail/sendmail.mc, you will need to regenerate the
> dnl # /etc/mail/sendmail.cf file by confirming that the sendmail-cf
> package
> is
> dnl # installed and then performing a
> dnl #
> dnl #     make -C /etc/mail
> dnl #
> include(`/usr/share/sendmail-cf/m4/cf.m4')dnl
> include(`/usr/share/sendmail-cf/hack/block_bad_helo.m4')dnl
> VERSIONID(`@(#)sendmail.mc        1.00 (Berkeley) 12/03/99')
> OSTYPE(`linux')dnl
> -----------snip---------------
> 
> Steve

Steve,

Ok, I moved my include lines just before the VERSIONID line. I now am able
to receive email. I let y'all know if it starts blocking the fake domain
email.

Thanks



More information about the MailScanner mailing list