procmail
[Top] [All Lists]

Re: Help..procmail is going screwey..or I am :)

1997-08-02 21:22:00
        Author: Duncan Hill <dhill(_at_)sunbeach(_dot_)net>
        Date: Sat, 2 Aug 1997 19:38:41 +0400 (GMT-4)
        Message-ID: 
<Pine(_dot_)LNX(_dot_)3(_dot_)96(_dot_)970802192818(_dot_)17651F-100000(_at_)localhost>

The recipie is:
:0:
* (^FROM_MAILER|\
^From.*[^0-9A-Za-z]abuse@|\
^From.*[^0-9a-zA-Z]spam@)
| $FORMAIL -A"X-SpamBouncer: Admin" >>$ADMINFOLDER

This unfortunately catches mail coming from owner-linux-admin.  Not
good.  I tried adding a !^Sen.*owner-linux at the start of the
recipie, but that seems to not work, ie, the mail still goes tot he
wrong place.  (I think I misunderstood the ! usage here..)

I'd have to see the exact header to see for sure, but I would have to say:

1) I'd take this recipe out and replace it with something more specific

or

2) A "proper" use of ! would look something like this:

:0:
* (^FROM_MAILER|\
   ^From.*[^0-9A-Za-z]abuse@|\
   ^From.*[^0-9a-zA-Z]spam@)
* ! ^Sender:.*owner-linux
| $FORMAIL -A"X-SpamBouncer: Admin" >>$ADMINFOLDER


TjL

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