Hallo,

I want to write a additional rule for spamassassin (3.0.2) which
match the following header lines.

Received: from blabla (unknown [1.2.3.4])
        by my.mailserver.com

This rule shuld add bad scores to machines which don't talk rfc.

Her is my try which doesn't succeded.
header MY_RECV_FQDN1 Received =~ /^from [a-zA-Z0-9-]+ (\w+ \w+) by 
hostname\d\d\.domain\.com
describe MY_RECV_FQDN1 Sender does not use FQN in EHLO
score MY_RECV_FQDN1 5

Is it a problem, that the received-line is broken up in two lines?

J�rg

-- 
Dipl.-Ing. J�rg Sch�tter                                           -
Email   [EMAIL PROTECTED]
Systemspezialist Internet, Sicherheit

Reply via email to