On Wed, Sep 15, 1999 at 11:07:16PM +0200, I wrote:
> > 2 - filters that can cause any of the following actions - copy or
> > move messages to a different mailbox, forward and/or delete a
> > message, copy a message to an external (text) file, set the
> > read/unread status, send a canned reply, add sender to address book,
> > inform me that a message matching a particular filter has arrived,
> > run a program or script. 
> 
> procmail is so flexible it used to work as a contortionist
> before I hired it.
> 
> > 3 - filters should work on incoming or outgoing messages or both
> 
> Incoming: easy
> Outgoing: should be doable, as there is a hook to control the
> command that sends mail, but I've not done this myself nor seen
> it done. What filters do you have in mind?

Sorry about the self follow-up, but I think I understand what
you were thinking of now :-)

Yes, this should definitely be doable, even with a different
filter set than the incoming mail.

Instead of 'set sendmail="/usr/lib/sendmail -oi -oem"' or similar
in your mailer's .rc file, you put a wrapper that calls both
procmail and your MTA on the outgoing mail.

-- 
believing is seeing
[EMAIL PROTECTED]
http://www.forum2.org/gaal/

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to