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

Re: compose pipe-message



* james@xxxxxxxxxxx <james@xxxxxxxxxxx> [2004-07-05 03:20:42 -0700]:

> I've setup a macro to train bogofilter on outgoing email in addition to
> incoming. The pipe-entry function appears to only pipe the body of the
> message. The documentation does not list pipe-message as an available
> function in compose mode. Is there currently a way to pipe the entire body
> of a message to bogofilter before sending?

Not really an answer to your question but I was wondering why you'd do it
this way and not, instead, do the training on outgoing messages via a script
that you point mutt's $sendmail variable at. That way you wouldn't have to
remember to do the training and it would only train messages that you
actually send.

-- 
Dave Pearson:              | mutt.octet.filter - autoview octet-streams
http://www.davep.org/      | mutt.vcard.filter - autoview simple vcards
Mutt:                      | muttrc2html       - muttrc -> HTML utility
http://www.davep.org/mutt/ | muttrc.sl         - Jed muttrc mode