Hi,

I'm already using header_checks (regexp) to reject outgoing mails containing a 
specific string in the subject.
(OK, usually incoming mails don't include this string in the subject).

Now I wanted to reject incoming emails with forged From:-Header containing my 
own domain.
So I attached a new regexp line in the existing header_cheks file in warning 
mode.
But the result is that everything (in- and outbound mails)containing my domain 
in the From:-Header would be rejected.
How can I apply this check to only incoming mails?

I'm running postfix 2.7.1 on RHEL 5.6

Thanks for your help

J.T.


Reply via email to