Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Mar 2004 18:33:55 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Eduardo Viruena Silva <mrspock@esfm.ipn.mx>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: forward after procmail filtering.
Message-ID:  <20040306183355.GC44872@happy-idiot-talk.infracaninophile.co.uk>
In-Reply-To: <20040306110308.W18451@Gina.esfm.ipn.mx>
References:  <20040306110308.W18451@Gina.esfm.ipn.mx>

next in thread | previous in thread | raw e-mail | index | archive | help

--5QAgd0e35j3NYeGe
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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.
>=20
> 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@your.main.mail.address
    | formail -A "X-Loop: yourname@your.main.mail.address" | \
       $SENDMAIL -oi yourname@the.other.account

	Cheers,

	Matthew

--=20
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

--5QAgd0e35j3NYeGe
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAShmTdtESqEQa7a0RApAVAJ0dCFXDt56HTQhmnVN5d3zaSYmVaQCeIKMb
Ck5wddJu5rLgFICRFdu+6eo=
=zfT2
-----END PGP SIGNATURE-----

--5QAgd0e35j3NYeGe--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040306183355.GC44872>