Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
Subject: Re: My functions for reporting spam and ham to spamassassin and crm114
Date: Mon, 01 Mar 2004 13:17:23 -0500	[thread overview]
Message-ID: <4n1xocph3g.fsf@collins.bwh.harvard.edu> (raw)
In-Reply-To: <87ad315ake.fsf@uhoreg.ca>

On Mon, 01 Mar 2004, hubert@uhoreg.ca wrote:

>>>>>> "Eugene" == Eugene Morozov <kaede.news@online.ru> writes:
> 
> Eugene> Hello!  I wrote this code because I'm also using crm114 in
> Eugene> addition to SpamAssassin and I also wanted to increase
> Eugene> accuracy by removing extra headers. Maybe these functions
> Eugene> will also be useful to someone besides me.

> But it might be a good idea to strip extra headers (if any) that the
> filters add before spam/ham gets sent to the processor functions.
> Comments, Ted?  

I don't know CRM114 well, but I would suggest requesting this feature
from the developers instead of trying to fix it at the MUA.  If CRM114
supports a command-line switch to exclude headers from analysis, I'll
gladly add that to a CRM114 spam.el backend if such a thing should
materialize.

(by the way: I have not needed any new spam.el backends, but if anyone
needs DSpam or CRM114 or whatever else added, let me know)

> We would probably want to have a set of functions like
> "spam-spamassassin-strip-headers", etc. to do this.  Or a variable
> "spam-spamassassin-headers-regexp" that is a regexp to match
> SpamAssassin headers that should be removed.

The problem is that we can't modify the article, so we have to make a
temporary copy and rewrite that, which can be expensive depending on
the article size.  It would really be much cleaner if CRM114 could be
told to ignore certain headers.

Ted


       reply	other threads:[~2004-03-01 18:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87wu66ghq3.fsf@nezumi.home.spb>
     [not found] ` <87ad315ake.fsf@uhoreg.ca>
2004-03-01 18:17   ` Ted Zlatanov [this message]
2004-05-21 18:09 ` Ted Zlatanov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4n1xocph3g.fsf@collins.bwh.harvard.edu \
    --to=tzz@lifelogs.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).