mainSpamAssassin Milter Plugin - Support: sr #102220, Update added header information...

 
 

sr #102220: Update added header information...

Submitter:  Cassandra Brockett <illiath>
Submitted:  Sat 21 Jun 2003 10:11:55 PM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  2 - Minor Status:  None
Privacy:  Public Assigned to:  dnelson
Open/Closed:  Open Operating System:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Sun 22 Jun 2003 07:25:47 AM UTC, comment #6: 


You misunderstood - the second run of spamassassin is run
when the message is delivered to the user - at most 5-6
seconds after the milter is called.

To me this means that the razor checks should trigger on
the milter run - so I can only assume there is some missing
information from the email that is sent to spamassassin by
the milter.

Also the scores are higher on the second run of
spamassassin - meaning it triggers on more entries on the
second run - again as if the milter is missing information
from the added headers.

Spamassassin is never run manually at the site (except by
silly users whose emails whinging about things are ignored
by me - usually with a "spamassassin is run globally at
delivery time - that information is the only information
that counts").

Cassandra Brockett <illiath>
Sun 22 Jun 2003 06:30:59 AM UTC, comment #5: 


As long as the differences cause spam to score higher, I'm
not complaining :)  Sendmail always adds a missing Date:
header, so spamassassin run from procmail will never hit
MISSING_DATE.

Razor checks work for me; you may just be seeing the
difference in the Razor database from the time the mail got
delivered and the time you ran spamassassin manually on it.
 That's why the Cloudmark/Razor plugin for Windows is so
much more accurate than Razor run from spamassassin:
Cloudmark runs when the user reads the message, which could
be hours after it was delivered.  More than enough time to
the message to have been submitted multiple times to Razor.

Dan Nelson <dnelson>
Group administrator
Sun 22 Jun 2003 05:36:37 AM UTC, comment #4: 


Actually, I was meaning that the missing date information
causes score differences, as well as the missing message_id
header.

Rather than post this in the bugs list, this looked like
the better place... I'm basically just tracking down every
visible difference at the moment between a run of
spamassassin from the milter and a run from procmail.  The
scores are always lower when run from the milter as opposed
to when run from procmail.

Also the razor checks are not hitting when spamassassin is
run from the milter - not sure why this is the case though,
if you need a test message for this - I can see what I can
find here.

I'm just trying to make the milter as usable a solution for
score levels as when it runs from procmail.

Cassandra Brockett <illiath>
Sun 22 Jun 2003 05:17:56 AM UTC, comment #3: 


So what you're saying is that spamass-milter causes an extra
DATE_MISSING hit, and prevents a possible
MSG_ID_ADDED_BY_MTA_3 hit?

I say leave the Date: handling as-is; that just means our
milter will be more effective than spamassassin+procmail :)


The missing message-id: is a problem, but will not be a
1-line fix.  Spamasssassin likes it when an added msgid
header comes before all received: headers, but that means
that our milter will have to buffer the entire set of
headers before sending anything (so it only adds a msgid if
there is none in the original message).

Dan Nelson <dnelson>
Group administrator
Sun 22 Jun 2003 12:21:37 AM UTC, comment #2: 


Also the following additional tags :-
DATE_MISSING - Add the date of the message into the headers?

Cassandra Brockett <illiath>
Sat 21 Jun 2003 10:17:29 PM UTC, comment #1: 


Also the following additional tags :-
DATE_MISSING - Add the date of the message into the headers?

Cassandra Brockett <illiath>
Sat 21 Jun 2003 10:11:55 PM UTC, original submission:  


As I have been starting to manually track (with
debugging from spamd) the differences in message
values between a message from spamass-milter and spamc
run as the user - I have noticed the following
differences (listed as <rule flagged in spamd> -
<possible fix>).

MSG_ID_ADDED_BY_MTA_3 - Update added headers to
include message id if message does not have a message
id already (fake it if need be - an updated
spamassassin rule can be created to check for message
id's added by spamass-milter).

Cassandra Brockett <illiath>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follows 1 latest change.

Date Changed by Updated Field Previous Value => Replaced by
2003-06-22 dnelson Assigned toNone None

Back to the top

Powered by Savane 3.13-4b48.
Corresponding source code