procmail
[Top] [All Lists]

Re: DSN blockage?

2002-04-20 06:18:31
Sean:
If you don't want receipt-requested on your own inbound messages, try
this:

:0f
*

^(Disposition-Notification-To|Return-Receipt-To|Registered-Mail-Reply-Reques
ted-By):.*
|  formail -i "Disposition-Notification-To:" \
         -i "Registered-Mail-Reply-Requested-By:" \
         -i "Return-Receipt-To:" \
         -I "X-Receipt-Request-Deleted: Yes"

Nice, but I think that the '.*' is not functional there.

If you want to gamble that only exactly one of those headers exists,
you could also do:

:0f
*
^\/((Disposition-Notification|Return-Receipt)-To)|Registered-Mail-Reply-Requ
ested-By):
| formail -i"$MATCH" -I"X-Receipt-Request-Deleted: Yes"

Ruud


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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