procmail
[Top] [All Lists]

Re: Servers That Strip X-Loop:

1997-08-06 09:56:00
Paul O Bartlett writes on 6 August 1997 at 11:48:03
On Wed, 6 Aug 1997, era eriksson wrote:

Did ! ^FROM_MAILER not catch this?

   I admit that I did not think to put * ! ^FROM_MAILER in the
[...]
(Some fields X'ed out for privacy.)  I am not sure whether FROM_MAILER
would catch this or not.  Also, I can (potentially) use this reject.rc
[...]
:0 c
* $ !^X-Loop: \$MY_ADDR
| (formail -rA"Precedence: junk"                 \
    -A"X-Loop: $MY_ADDR";                       \
[...]
 ) | $SENDMAIL -oi -t
[...]
Sender: owner-xxxxxxxxxxxx(_at_)leb(_dot_)net
Precedence: bulk

^FROM_MAILER may not have, but I think ^FROM_DAEMON would have -
matching on "Precedence: bulk" or "Sender: owner-*".

I nearly always include !^FROM_DAEMON in any recipe that generates an
email message.

   Dan


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