procmail
[Top] [All Lists]

Re: Any list headers

2013-10-21 15:38:08
On Mon, 21 Oct 2013, LuKreme wrote:

I want to match if there are any list headers in an email. Something like if 
^List-* 

I seem to recall that the match on the left side of a ?? Had to be a full 
header? So List-* wouldn't work. 

Maybe this does what you want:

:0 hWc
| grep ^List-

:0 a
list

:0
non-list
____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)de
http://mailman.rwth-aachen.de/mailman/listinfo/procmail

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