Hi,

Marcus Schopen wrote:
> 
> I'm using spamassassin (vers. 2.20; debian woody package) in combination
> with mimedefang (vers. 2.28 from source) to check mails for spam by
> using sendmails Milter functionality. Everything seens to work fine.
> Over 90 percent of all spams are detected. GREAT!
> 
> Now the problem: I put the following two rules to
> /etc/spamassassin/local.cf:
> 
> # Rule 1
> body     pter_brndt  /.*Pter Brndt.*/i
> describe pter_brndt  Pter Brndt BODY
> score    pter_brndt  5.0
> 
> # Rule 2
> score pter_brndt_all 5.0
> header pter_brndt_all ALL  =~ /.*Pter Berndt.*/i
> describe pter_brndt_all Pter Brndt HEADER
> 
> Rule 2 works fine.
> 
> Rule 1 works fine too if I use spamassassin in test mode ("spammassassin
> -t < spammail.txt"), BUT NOT if I send "spammail.txt" as mail. No spam
> is detected!
> 
> Further more all debain spamassassin configuration files (10_misc.cf,
> 20_uri_tests.cf ...) seem to be ignored if spamassassin is used through
> MIMEDefang on the mailway.


Solution seems to be to put the rules to 

  /etc/spamassassin/sa-mimedefang.cf

(instead of /etc/spamassassin/local.cf) to be recognized on the mailway
too. hmmm ... any comments on that?

Thank you
Marcus

-- 

Marcus Schopen        (0>
P.O. Box 10 25 25     //\     Deutsche Zope User Group
D-33525 Bielefeld     V_/_                www.dzug.org


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to