procmail
[Top] [All Lists]

Re: outbound email

2002-11-25 14:36:30
On Mon, 25 Nov 2002 the voices made Tom Allison write:

Can someone please explain how to use procmail to filter outbound
email?  I've heard about this [rumour] a few times and would like
to at least dispell with the mythology and see what can be done
with this for real.

 The way I'm doing it is that I let Pine hand the e-mail directly to Procmail,
which then hands it to Sendmail.

 In your .pinerc it's the sendmail-path you're interested in; and you're
setting it to Procmail, with a special outgoing file.

 The most basic version of such a file is this:

SHELL=/bin/sh
:0w
        | asdf/usr/sbin/sendmail -oi -oem -t
EXITCODE=$?


        /Tony
-- 
# Per scientiam ad libertatem! // Through knowledge towards freedom! #
# Genom kunskap mot frihet! =*= (c) 1999-2002 tony(_at_)svanstrom(_dot_)com =*= 
#

     perl -e'print$_{$_} for sort%_=`lynx -dump svanstrom.com/t`'





_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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