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

Re: how mutt pipes multiple messages



* Norvell Spearman <norvell@xxxxxxxxxxxxxxxxxxx> [03-05-2004 15:31]:

> When more than one message is tagged and I send them to an external
> command, exactly how are they sent? one-by-one or an mbox file created
> on-the-fly containing all the tagged mails?  I ask because I use
> spamprobe and it expects files or standard input to be one message and
> it has a switch for when you pass mbox files to it, and I'm not sure
> whether sending the wrong format will skew the Bayesian statistics.
> 
> Thanks very much for any answers.

Use formail to split the messages, e.g.:

  <tag-prefix><pipe-message>formail -s "your external command here"

HTH,

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

It's not the fall that kills you.  It's the sudden stop at the end.
-Douglas Adams

Attachment: pgpoYOzw2FVPp.pgp
Description: PGP signature