procmail
[Top] [All Lists]

Re: Any list headers

2013-10-21 17:26:17

On 21 Oct 2013, at 14:37 , Santiago Vila <sanvila(_at_)unex(_dot_)es> wrote:

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

Spawning grep is not a good idea.

-- 
The person on the other side was a young woman. Very obviously a young
woman. There was no possible way that she could have been mistaken for a
young man in any language, especially Braille.


____________________________________________________________
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>