procmail
[Top] [All Lists]

Re: [Procmail] My list recipe is leaking!

1997-01-31 13:09:34
dmuth(_at_)ot(_dot_)com (Doug Muth) writes:
Hi Louis-David Mitterrand!  I'm a UNIX administrator and I like to fight spam!
:0:
* ^TO\/(kernel|x11|mutt|procmail|zsh|laptop|jdbc|vimdev)

      Try replacing the "^TO" with "^(TO|CC)" as your original 
condition won't pick up what's in the CC header.

Come again?  To quote the procmailrc(5) manpage:

MISCELLANEOUS
     If the regular expression contains `^TO_' it will be substi-
     tuted by `(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-Envelope
     |Apparently(-Resent)?)-To):(.*[^-a-zA-Z0-9_.])?)', which
     should catch all destination specifications containing a
     specific address.
 
     If the regular expression contains `^TO' it will be  substi-
     tuted by `(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-Envelope
     |Apparently(-Resent)?)-To):(.*[^a-zA-Z])?)', which should
     catch all destination specifications containing a specific
     word.

Philip Guenther

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