<<< Date Index >>>     <<< Thread Index >>>

Re: faster spamassassin macro?



* Andre Bonhote <andre@xxxxxxxxxxx> [10-10-2003 09:48]:

> On Fri, Oct 10, 2003 at 12:18:40AM +0200, Joel Aufrecht wrote:
> > There are two problems.  First, even if I put two ^ms in the macro, I
> > still have to manually hit return at the "Press any key to
> > continue..." prompt to exit the shell.  So it's a two-step process
> > instead of one-step.
> 
> There's a flag for this in man muttrc. Don't remember its name.

$wait_key, IIRC.

> > Second, the whole thing takes a few seconds, so it's annoying to tag
> > spam in my inbox.  Is there some way to spin this off in the
> > background so that it doesn't interrupt mail reading?  Or,
> > second-best, a way to batch-process a bunch of tagged messages through
> > spam-assassin and then delete them?
> 
> Second-best is posible:
> 
> - Tag the mails
> - Hit the key you assigned to process the next function on all tagged
>   mails (it's ';' here)
> - Pipe (|) it to sa-learn --mbox --spam

I always thought it was best to pipe it through "spamassassin -d"
first, to remove the SA markup.

-- 
René Clerc                      - (rene@xxxxxxxx) - PGP: 0x9ACE0AC7

Retteb sif lahd, noces ehttub, but the second half is better.
-A palindrome

Attachment: pgpy64QuU1tTE.pgp
Description: PGP signature