Hi
I figured out the culpit why a rule did not work was tflags publish
Actual finding in trying to get the shipped rule TO_IN_SUBJ to match
anything. Just created a new rule with one of the regexp:
header TEST_EMAIL_SUBJ_TO ALL =~
/\nSubject:(?=[^\n]{0,200}@)[^\n]{0,200}([a-z][a-z0-9_.]{3,80}@(?:[a-z0-9_]{1,80}\.){1,4}[a-z]{2,30})(?:[^\n]+\n)*To:\s+[^\n]{0,100}\1[^a-z0-9.]/ism
describe TEST_EMAIL_SUBJ_TO Testing: Email in Subject then To
score TEST_EMAIL_SUBJ_TO 1
tflags TEST_EMAIL_SUBJ_TO publish
When I remove the tflags line, the rule is run and matches as
expected when invoking SpamAssassin from MIMEDefang.
When I keep the tflags line, then the rule seems to only run when
calling SpamAssassin from command line.
So I wonder if there might be some setting somewhere to cause
spamassassin not running rules with a specific tflags in some
situations?
Mit freundlichen Grüssen
-Benoît Panizzon-
--
I m p r o W a r e A G - Leiter Commerce Kunden
______________________________________________________
Zurlindenstrasse 29 Tel +41 61 826 93 00
CH-4133 Pratteln Fax +41 61 826 93 01
Schweiz Web http://www.imp.ch
______________________________________________________