Hello!

sa-learn from spamassassin 2.50 doesn't ignore the special message used by
pine.  If I run "sa-learn --mbox false-positives --ham", it says "2
messages processed" (sorry, the quote is not exact, I don't want to rerun
sa-learn) when there is only one real message in that folder.  The other
message is a dummy created by pine in every folder.  It should never be
learned and spam or ham.

That's how this special message looks like:

============================
>From MAILER-DAEMON Thu Mar  6 15:51:22 2003
Date: 06 Mar 2003 15:51:22 -0500
From: Mail System Internal Data <[EMAIL PROTECTED]>
Subject: DON'T DELETE THIS MESSAGE -- FOLDER INTERNAL DATA
X-IMAP: 1046983882 0000000000
Status: RO

This text is part of the internal format of your mail folder, and is not
a real message.  It is created automatically by the mail system software.
If deleted, important folder data will be lost, and it will be re-created
with the data reset to initial values.
============================

Perhaps it can be characterized by 3 specific attributes:
1) it's always the first message in the folder
2) it has no Received: lines
3) it begins with "From MAILER-DAEMON"

-- 
Regards,
Pavel Roskin


-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to