Hi -- I have two mail accounts. Normally, I just
use a .forward file to forward all my work mail
to both my work address and my home address.
This is a simple, one-line file:
\me, me(_at_)home(_dot_)com
Now that I've subscribed to a busy mailing list,
I'm trying to use procmail to filter that list so it
doesn't get copied to my home account.
See below for my recipes so far (which don't work).
I've tried lots of versions of this, but can't quite
get it. Any help would be greatly appreciated.
Thanks...
:0 # forward mail from this list-server to myself
* ^Cc.*advanced-java.*
* !^X-Loop: me(_at_)work(_dot_)com
| formail -A "X-Loop: me(_at_)work(_dot_)com" | \
$SENDMAIL me(_at_)work(_dot_)com
:0 c # forward all other mail to myself, and copy it
* !^X-Loop: me(_at_)work(_dot_)com
| formail -A "X-Loop: me(_at_)work(_dot_)com" | \
$SENDMAIL me(_at_)work(_dot_)com
:0 # forward the copy to my AOL account
! me(_at_)home(_dot_)com