Qmail-scanner-queue.pl
# st: fast_spamassassin options=" -c -f " / verbose_spamassassion options="
-f "
my $spamc_options=' -f';
Remove the -c
By default, spamassassin should do a X-Spam-Level: which looks like the
following:
X-Spam-Status: Yes, hits=29.5 required=5.0 tests=BIZ_TLD,DNS_FROM_RFCI_DSN,
DRUGS_ANXIETY,DRUGS_ANXIETY_EREC,DRUGS_ANXIETY_OBFU,DRUGS_DEPRESSION,
DRUGS_DEPR_EREC,DRUGS_DIET,DRUGS_DIET_EREC,DRUGS_DIET_PAIN,
DRUGS_ERECTILE,DRUGS_ERECTILE_OBFU,DRUGS_MANYKINDS,DRUGS_MUSCLE,
DRUGS_PAIN,DRUGS_PAIN_EREC,DRUGS_PAIN_OBFU,DRUGS_SLEEP,
DRUGS_SLEEP_EREC,FORGED_AOL_HTML,FORGED_MUA_AOL_FROM,
HEADER_COUNT_CTYPE,HTML_70_80,HTML_MESSAGE,MIME_HTML_ONLY,
MIME_HTML_ONLY_MULTI,MIME_MISSING_BOUNDARY,MISSING_MIMEOLE,
MISSING_OUTLOOK_NAME,RCVD_IN_DSBL,SARE_RAND_2,SARE_RAND_2V,TW_JD,
TW_YJ autolearn=spam version=2.63
X-Spam-Level:
* 0.1 TW_JD BODY: Odd Letter Triples with JD
* 0.1 TW_YJ BODY: Odd Letter Triples with YJ
* 0.0 HTML_MESSAGE BODY: HTML included in message
* 0.1 HTML_70_80 BODY: Message is 70% to 80% HTML
* 0.1 MIME_HTML_ONLY BODY: Message only has text/html MIME parts
* 0.8 MIME_MISSING_BOUNDARY RAW: MIME section missing boundary
* 0.8 BIZ_TLD URI: Contains a URL in the BIZ top-level domain
* 2.0 HEADER_COUNT_CTYPE Multiple Content-Type headers found
* 1.1 RCVD_IN_DSBL RBL: Received via a relay in list.dsbl.org
* [<http://dsbl.org/listing?ip=69.115.93.221>]
* 1.4 DNS_FROM_RFCI_DSN RBL: From: sender listed in
dsn.rfc-ignorant.org
* 0.0 DRUGS_ANXIETY Refers to an anxiety control drug
* 1.0 DRUGS_PAIN_OBFU Obfuscated reference to a pain relief drug
* 0.0 DRUGS_MUSCLE Refers to a muscle relaxant
* 0.0 DRUGS_DEPRESSION Refers to an antidepressant
* 4.3 FORGED_MUA_AOL_FROM Forged mail pretending to be from AOL (by
From)
* 0.0 DRUGS_PAIN Refers to a pain relief drug
* 1.8 FORGED_AOL_HTML AOL can't send HTML message only
* 1.5 DRUGS_ERECTILE_OBFU Obfuscated reference to an erectile drug
* 1.0 DRUGS_ERECTILE Refers to an erectile drug
* 1.0 DRUGS_ANXIETY_OBFU Obfuscated reference to an anxiety control
drug
* 1.5 SARE_RAND_2V SARE_RAND_2V
* 2.5 SARE_RAND_2 SARE_RAND_2
* 1.1 MIME_HTML_ONLY_MULTI Multipart message only has text/html
MIME parts
* 1.2 MISSING_MIMEOLE Message has X-MSMail-Priority, but no
X-MimeOLE
* 0.0 DRUGS_DIET Refers to a diet drug
* 0.0 DRUGS_SLEEP Refers to a sleep aid drug
* 0.1 MISSING_OUTLOOK_NAME Message looks like Outlook, but isn't
* 1.0 DRUGS_DEPR_EREC Refers to both an erectile and an
antidepressant
* 0.5 DRUGS_SLEEP_EREC Refers to both an erectile and a sleep aid
drug
* 0.5 DRUGS_DIET_PAIN Refers to both a diet drug and a pain drug
* 1.0 DRUGS_ANXIETY_EREC Refers to both an erectile and an anxiety
drug
* 1.0 DRUGS_PAIN_EREC Refers to both an erectile and a painkiller
* 1.0 DRUGS_DIET_EREC Refers to both an erectile and a diet drug
* 1.0 DRUGS_MANYKINDS Refers to at least four kinds of drugs
Is that what u are looking for?
Steve
-----Original Message-----
From: William L. Thomson Jr. [mailto:[EMAIL PROTECTED]
Sent: Sunday, June 20, 2004 3:26 PM
To: [EMAIL PROTECTED]
Subject: [Qmail-scanner-general]Gentoo help with Spamassassin
I am not sure what's going on but for some reason I can't configure
spamassassin to work under Gentoo.
The email is being sent to and processed by Spamassassin, but for some
reason my qmail-scanner-queue.pl is taking over and not allowing
Spamassassin to modify the email the way I want.
Now I may not have my env configured properly, and I have been reading
every doc I come across.
However I think my problem is the following lines in
qmail-scanner-queue.pl
$
while (<SA>) {
if ($spamc_options =~ /\-c/) {
($sa_score,$sa_max)=split(/\//,$_,2);
$sa_max=~s/\n//g;
}
#X-Spam-Status: No, hits=2.8 required=5.0
if (/^X-Spam-Status: (Yes|No), hits=(.*) required=(.*)/) {
$sa_status=1 if ($1 eq "Yes");
$sa_score=$2;$sa_max=$3;
}
print SOUT;
}
No matter what I do to spamassassin, rewrite subject, show report, etc.
I only get the following
X-Spam-Status: Yes, hits=7.3 required=5.0
Which seems to be generated from the above perl code.
Am I using a modified version of qmail-scanner-queue.pl. Do all versions
contain the code above. I am using version qmail-scanner-1.16-r2 which
seems pretty old to the current 1.22. Would upgrading resolve my
problem?
How can I configure qmail-scanner to allow Spamassassin to modify the
email message the way I want?
I can provide what ever config file contents and etc.
Any help, info, etc is greatly appreciated.
--
Sincerely,
William L. Thomson Jr.
Support Group
Obsidian-Studios, Inc.
http://www.obsidian-studios.com
-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general
-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general