I have the following recipe:
:0
# Message is to me
* To:(.*\<)?kremels(_at_)kreme(_dot_)com
# Message doesn't contain more than one email address
* ! ^To:(_dot_)*(_at_)(_dot_)*@
# Message hasn't Been here
* ! ^X-Loop: kremels.loop
# No Cc: header
* ! Cc:
# Message is not from a well-behaved list
* ! List-.*:
{
:0fhW
| formail -I "X-Kremels: True"
# :0c
# | (formail -r -A "Precedence: bulk" \
# -A "X-Loop: kremels.loop" ; \
# echo "" ; cat $HOME/.bounce) | $SENDMAIL -t
:0
! kreme(_at_)kreme(_dot_)com
}
Which, basically, checks to see if a message is directed just to my
list account. If it is it sends a bounce (commented out) and reroutes
the message to my non-list email address.
On my non list account I have a recipe that matches on the X-Kremels:
header.
Is this the best way to handle this? It appears to be working, though
I need to examine the logs a little more to see if it always is.
I commented out the bounce message largely because people on this list
said it was annoying. However, I remember being told by more than one
person that rerouting messages without notifying the sender was rude.
--
Eyes the shady night has shut/Cannot see the record cut
And silence sounds no worse than cheers/After earth has stopped the
ears.
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail