Jef Driesen wrote:
> I have a small postfix/amavis/dovecot mailserver for my home network. 
> Mails are retrieved with fetchmail and delivered to postfix with amavis 
> as a after-queue content filter. It works great, except that after the 
> upgrade from Ubuntu 7.04 (Feisty Fawn) to 7.10 (Gutsy Gibbon), amavis 
> assigns very low spamcores.
>
> An example from amavis:
>
> X-Spam-Score: 2.644
> X-Spam-Level: **
> X-Spam-Status: No, score=2.644 tagged_above=-999 required=5
>       tests=[BAYES_50=0.001, HTML_MESSAGE=0.001, MIME_HTML_ONLY=1.457,
>       SARE_SUB_CASINO=0.555, US_DOLLARS_3=0.63]
>
> When I remove all headers generated by my mailserver, and pass the 
> message through spamassassin (with "spamassassin -t < spam.eml"), I get 
> a much higher score:
>
> X-Spam-Flag: YES
> X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on
>          manta.localdomain.local
> X-Spam-Level: *****************
> X-Spam-Status: Yes, score=17.7 required=5.0 tests=DNS_FROM_RFC_DSN, 
> HTML_MESSAGE,MIME_HTML_ONLY,RCVD_IN_BL_SPAMCOP_NET,RCVD_IN_NJABL_PROXY,
> SARE_SUB_CASINO,URIBL_BLACK,URIBL_JP_SURBL,URIBL_OB_SURBL,URIBL_RHS_DOB,
> US_DOLLARS_3 autolearn=spam version=3.2.3
>
>   pts rule name
> ---- ----------------------
>   0.6 SARE_SUB_CASINO
>   1.7 RCVD_IN_NJABL_PROXY
>   2.2 RCVD_IN_BL_SPAMCOP_NET
>   2.5 DNS_FROM_RFC_DSN
>   1.2 US_DOLLARS_3
>   0.0 HTML_MESSAGE
>   1.7 MIME_HTML_ONLY
>   2.9 URIBL_JP_SURBL
>   2.1 URIBL_OB_SURBL
>   2.0 URIBL_BLACK
>   0.9 URIBL_RHS_DOB
>
> If I restart amavis, the spamscore is already much higher for the same 
> message (send with "sendmail user < spam.eml"), especially if the high 
> negative AWL score is ignored:
>
> X-Quarantine-ID: <qQEc9Gutw-4P>
> X-Spam-Flag: YES
> X-Spam-Score: 8.12
> X-Spam-Level: ********
> X-Spam-Status: Yes, score=8.12 tagged_above=-999 required=5 
> tests=[AWL=-5.476,
>       BAYES_40=-0.185, DNS_FROM_RFC_DSN=1.495, HTML_MESSAGE=0.001,
>       MIME_HTML_ONLY=1.457, RCVD_IN_BL_SPAMCOP_NET=1.96,
>       RCVD_IN_NJABL_PROXY=1.643, SARE_SUB_CASINO=0.555, URIBL_BLACK=1.955,
>       URIBL_JP_SURBL=1.501, URIBL_OB_SURBL=1.5, URIBL_RHS_DOB=1.083,
>       US_DOLLARS_3=0.63]
>
> I understand that there might be some differences between amavis and my 
> spamassassin test, because they did run with a different user, but I 
> think something else is wrong here. It seems that network test are only 
> performed if amavis is restarted in the second try. Since all settings 
> are unchanged, what could be causing this and how do I fix this? I can 
> provide additional information, but didn't know what to provide already.
>   

Since IPs and domains are dynamically added to DNSBLs and URIBLs, the 
example you show is "normal": some IPs and URIs have been listed since 
the first run. This happens all the time.

That said, make sure amavisd is started with the right config file. (if 
the init scripts use a different config, ... etc).



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to