Miguel Angel Rasero Peral (TCOR) wrote:
Hello, my system is a redhat 7.3 with this spamassassin versions and i
am using qmail in it.
"""
The problem that i have is that i only want to launch spamassassin in my
account so i am using my .qmail-file to do it.
| spamassassin | preline procmail -t -m -p ./skuda/procmailrc

I know that i would be launching spamc and not spamassassin perl script
but i get different scores from the 2 programs.


I have this in my .qmail file

| /usr/bin/procmail ~/.procmailrc

and then in .procmailrc I first sort out all my mailing lists by matching headers and then call spamc and then dump high scores > 14 to /dev/null and 5 - 14 to a Junk mail folder.

# --------------------------------
# put satalk in it's own folder
# --------------------------------
:0 H:
* ^List-Id:[EMAIL PROTECTED]
satalk/new

# ---------------------------
# run thru spamassassin
# ---------------------------
:0fw
| spamc

# ---------------------------
# catch high scores
# ---------------------------
:0 H:
* ^X-Spam-Status: +(yes|no), +score=\/[^. ]*
* ? (( ${MATCH} > 14 ))
/dev/null

# ---------------------------
# put the rest in Junk folder
# ---------------------------
:0 H:
* ^X-Spam-Status: Yes.*
Junk/new


I get the same score with spamc and spamassassin - different scores would indicate that you aren't running thru the same rulesets or bayes.

 > Content analysis details:   (7.3 points, 4.0 required)

 pts rule name              description
---- ----------------------
--------------------------------------------------
 1.5 MPART_ALT_DIFF         BODY: HTML and text parts are different
 0.3 MIME_HTML_MOSTLY       BODY: Multipart message mostly text/html
MIME
 0.0 HTML_MESSAGE           BODY: HTML included in message
 0.2 HTML_FONT_BIG          BODY: HTML tag for a big font size
 0.2 HTML_90_100            BODY: Message is 90% to 100% HTML
 1.1 NO_DNS_FOR_FROM        DNS: Envelope sender has no MX or A DNS
records
 0.1 DNS_FROM_AHBL_RHSBL    RBL: From: sender listed in dnsbl.ahbl.org
 3.9 URIBL_SC_SURBL         Contains an URL listed in the SC SURBL
blocklist
                            [URIs: weofferaselection.com]
 0.5 URIBL_WS_SURBL         Contains an URL listed in the WS SURBL
blocklist
                            [URIs: weofferaselection.com]
-0.6 AWL                    AWL: From: address is in the auto white-list



Content analysis details:   (11.0 points, 4.0 required)

 pts rule name              description
---- ----------------------
--------------------------------------------------
 0.1 MPART_ALT_DIFF         BODY: HTML and text parts are different
 2.1 BAYES_95               BODY: Bayesian spam probability is 95 to 99%
                            [score: 0.9714]
 0.0 HTML_IMAGE_RATIO_02    BODY: HTML has a low ratio of text to image
area
 1.0 MIME_HTML_MOSTLY       BODY: Multipart message mostly text/html
MIME
 0.0 HTML_MESSAGE           BODY: HTML included in message
 0.1 HTML_FONT_BIG          BODY: HTML tag for a big font size
 0.0 HTML_90_100            BODY: Message is 90% to 100% HTML
 1.6 NO_DNS_FOR_FROM        DNS: Envelope sender has no MX or A DNS
records
 0.3 DNS_FROM_AHBL_RHSBL    RBL: From: sender listed in dnsbl.ahbl.org
 4.3 URIBL_SC_SURBL         Contains an URL listed in the SC SURBL
blocklist
                            [URIs: weofferaselection.com]
 1.5 URIBL_WS_SURBL         Contains an URL listed in the WS SURBL
blocklist
                            [URIs: weofferaselection.com]


I dont know what happening, on other side i have any times that email
get my inbox without be analyzed because i cant see in his code the
spamassassin headers i suppose that its because any timeout or by the
way i use in .qmail file to call spamassassin, anyone can help me
please?


Reply via email to