procmail
[Top] [All Lists]

Re: forwarding a copy of INBOX mail only

1995-12-01 10:06:32
I currently use procmail to filter mail in various ways. I would now
like to forward copies of all mail that drops thru the filters, that is
shows up in my INBOX to my other mail account. Thanks.

Simple, add this to the _end_ of your .procmailrc:

# If you want this to mail a _copy_ (that is, to keep a copy of the mail
# here), then change the next line to ":0 c"
:0
! my-other-account(_at_)another(_dot_)site


    Philip Guenther

----------------------------------------------------------------
Philip Guenther                 UNIX Systems and Network Administrator
Internet: guenther(_at_)gac(_dot_)edu   Phonenet: (507) 933-7596
Gustavus Adolphus College       St. Peter, MN 56082-1498
I am _not_ a representative sample of the Gustavus Community.  Yeah, right...
Source code never lies (it just misleads).  (Programming by Purloined Letter?)

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