[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: UNRESOLVED: Re: Mutt: how to mark multiple spams?



On (01/02/06 09:45), Lance Simmons wrote:
> * Ken Wahl <kwahl@nc.rr.com> [060131 22:09]:
> > On Tue, Jan 31, 2006 at 05:55:17PM -0600, Lance Simmons wrote:
> > > Right now, when spam makes it through spamassassin, I report it with an
> > > "X" according to the following line in my .muttrc:
> > > 
> > >  macro index X "|/usr/bin/spamassassin -r\n<enter-command>unset wait_key\n<save-message>=spam/caughtspam\n" "Spamassassin report and classify as spam"
> > > 
> > > Is there some way for me to tag multiple spams and then report them with
> > > a single keystroke?
> >  
> > 
> > Tag the messages with "t" then ";" will prompt you as to what you want
> > to do with the tagged mails then just enter "X".  All of your tagged mails
> > will have the spamassassin macro applied to them.
> 
> I forgot to add that I have tried doing just what you say, and it does
> not work.  Only the currently-highlighted message has the macro
> performed on it.  Which kind of makes sense, because the macro records
> keystrokes.
> 
> I'm looking for something that will allow me to tag multiple spams and
> then report them all with one keystroke.  What you describe isn't it, at
> least not with the macro quoted above.  Does anyone have a better
> suggestion?

Works here OK with ';' Shft S

from muttrc:

# spamassassin report and classify as spam
macro index S "|/usr/bin/spamassassin -r"
# spamassassin classify as ham
macro index H "|/usr/bin/sa-learn --ham  --no-sync"
# rebuild the spamassassin bayes filter db
macro index R "!/usr/bin/sa-learn --sync"

Regards

Clive

-- 
www.clivemenzies.co.uk ...
...strategies for business




Reply to: