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

Re: What would happen to Challenge/Response if ...



On Thu, Oct 23, 2003 at 11:57:11AM -0600, Monique Y. Herman said
> On Thu, 23 Oct 2003 at 17:43 GMT, Rob Weir penned:
> > 
> > This is a good point, but it's not something I notice anymore.  I scan
> > through my lists and hit "y" on any spam in mutt; it passes the mail
> > to "sa-learn --spam" and moves it to my spam folder.  About the only
> > thing I see anymore in the Debian lists are CJK spam, so subjects like
> > ???????????????????????????????????? activate my "y"-reflex.
> > 
> 
> What binding do you use to accomplish this?

macro pager 'y' "<enter-command>unset wait_key\n<pipe-entry>sa-learn --no-rebuild --single --spam > /dev/null 2>&1 &\n<enter-command>set wait_key\n<save-entry>=spam/generic-spam/\n\n"

Note that backgrounds sa-learn, so if you run it on ten tagged messages, you
will spawn ten sa-learn proccess and perhaps nuke your machine, so be careful.
I also have a binding that doesn't background, and runs sa-learn over each
message sequentially, for when I want to tag dozens of spams and nuke them all
at once.

-- 
Rob Weir <rweir@ertius.org> | mlspam@ertius.org  |  Do I look like I want a CC?
Words of the day:         Defcon VX smuggle NASA data haven Ermes SP4 strategic

Attachment: signature.asc
Description: Digital signature


Reply to: