procmail
[Top] [All Lists]

Re: How to feed outgoing mail to procmail

1998-01-14 14:54:37
On Wed, Jan 14, 1998 at 08:02:14PM +0100, ADOLFO I.C. wrote:
      I've been looking up the list archive to see how to make procmail
to do somethings to my outgoing mail and I've found nothing. I think it
would be easy to write the rules to do what I need but, may I change
forward file? or what?

Hurried answer:

This really depends on your MTA, MUA, etc.

If your MUA uses sendmail then, simply replace sendmail by the following
wrapper script:

procmail Procmailrc

In Procmailrc, put the following

## All your recipes. Make sure that they dont deliver yet. Just keep
## outputting to stdout.

# This will pipe your mail to  the REAL sendmail. Voila!
:0
! -t


HTH
Vikas

<Prev in Thread] Current Thread [Next in Thread>