David G. Andersen <[EMAIL PROTECTED]> wrote:
>
> I've been digging around for a bit trying to figure out the best way
> to do this:  How can I set mutt up to pipe an auto-FCC of my outgoing
> mail to a program, instead of a file?

Mutt already sends every mail you send to a program...  The MTA!  The
variable that sets the program that will be launced is called "sendmail"
and has the default value "/usr/sbin/sendmail -oem -oi".

You could, however, write your own script, and simply have your script
capture the outgoing message, do whatever you want with it, and then
ALSO call the real "sendmail" program, so that your mail still gets
delivered.  Then you'd set $sendmail to point to your script.  After
suitable testing, of course.

-- 
David DeSimone   | "The doctrine of human equality reposes on this:
[EMAIL PROTECTED]   |  that there is no man really clever who has not
Hewlett-Packard  |  found that he is stupid." -- Gilbert K. Chesterson
Richardson IT    |    PGP: 5B 47 34 9F 3B 9A B0 0D  AB A6 15 F1 BB BE 8C 44

Reply via email to