forward after procmail filtering.

Matthew Seaman m.seaman at infracaninophile.co.uk
Sat Mar 6 10:34:08 PST 2004


On Sat, Mar 06, 2004 at 11:05:35AM -0600, Eduardo Viruena Silva wrote:

> I would like to send a copy of my mail to another
> account I have in another system, but I want to do it after
> spamassassin and clamav filter my mail.
> 
> How do I do that?

See procmailex(5), particularly the section that talks about "Suppose
you have two accounts" -- but essentially you need to put a rule like
this towards the end of your ~/.procmailrc:

    :0 c
    * !^X-Loop: yourname at your.main.mail.address
    | formail -A "X-Loop: yourname at your.main.mail.address" | \
       $SENDMAIL -oi yourname at the.other.account

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040306/7fccd473/attachment.bin


More information about the freebsd-questions mailing list