[mew-int 01723] Re: spam question

henri henri at example.com
Thu Feb 12 00:15:12 JST 2004


On 11 Feb 2004, Tatsuya Kinoshita <tats at example.com> wrote: 

> On February 10, 2004, [mew-int 01721],
> henri (at qais.com) wrote:
> 
> > (setq mew-spam: "X-Spam-Flag:")
> >  
> > (defun mew-spam-assassin (val)
> >   (let ((case-fold-search t))
> >     (if (string-match "yes" val) ?D)))
> >  
> > (setq mew-inbox-action-alist
> >       '(("X-Spam-Flag:" mew-spam-assassin)))
> > 
> > 
> > but when i get new mail the spam is not automatically marked
> > w/ an "o"
> 
> You should combine Spamassassin with your MTA.  The `X-Spam-Flag'
> field should be added to the messages before Mew retrieves them.
> If "X-Spam-Flag: Yes", then the `D' mark will be added to the
> messages.
> 

that is what i have done. i have procmail running
spamassassin. it catches the spam correctly, i just can't
get my current mew setup to auto file it into the +spam
folder

here is a cut'n'paste of a spam header : 


X-Spam-Flag: YES
Content-Type: text/html;
Subject: [SPAM] Would you like to get laid TONIGHT?!
From: "jason" <sw7eetp0739 at example.com>

henri



More information about the Mew-int mailing list