At 18:52 2004-02-14 +0100, Zbynek Houska wrote:
there are messages which shouldn't be forwarded. Messages are coming
from one destination.
Origin. Destination is where you SEND things.
Well I might add new rule at the beginning to weed it out, but I don't
want to mess my Maildir. Just stop forward files matching a pattern -
i.e. sender.
:0
* ^TO()someone(_at_)somewhere\(_dot_)tld
{
# place exclusionary stuff (such as sender - though perhaps you
# mean From:) here. Note addition of X-Loop stuff which is
# intended to keep you from hosing yourself and others.
:0 c
* ! ^Sender:.*\<somebody(_at_)there\(_dot_)tld
* ! ^X-Loop: unique_to_you_such_as_your_address(_at_)domain\(_dot_)tld
| formail -A"X-Loop:
unique_to_you_such_as_your_address(_at_)domain(_dot_)tld" \
| $SENDMAIL justotherfriend(_at_)somewhere(_dot_)tld
# if this is a FILE (versus a directory), you should LOCK it.
# if it's a dir, you should indicate such in the comment.
:0:
keepit/here
}
---
Sean B. Straw / Professional Software Engineering
Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
Please DO NOT carbon me on list replies. I'll get my copy from the list.
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail