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: [EMAIL PROTECTED]
    | formail -A "X-Loop: [EMAIL PROTECTED]" | \
       $SENDMAIL -oi [EMAIL PROTECTED]

        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

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to