procmail
[Top] [All Lists]

Re: A rule to copy all message to a maildir, and then keep processing

2009-11-19 20:51:40
* Ruud H.G. van Tol <rvtol(_at_)isolution(_dot_)nl> [11-19-09 20:25]:
Patrick Shanahan wrote:

WSPC = "     "               # whitespace: space + tab
[...]
# Capture value of Subject: # and use ${H_SUBJ} in your further
recipes.
# -------------------------------------------------------
H_SUBJ   # unset
:0
* $ ^Subject:.*\/[^$WS].*
{ H_SUBJ = "$MATCH" }
# -------------------------------------------------------

You need to replace $WS by $WSPC,
or alternatively the whole [^WS] by $NSPC.
(because you don't set up $WS)

Thanks, done.

Now I have to go back and figure where I copied that, Dalman or Sean
probably so I can tell them  :^(

tks,
-- 
Patrick Shanahan         Plainfield, Indiana, USA        HOG # US1244711
http://wahoo.no-ip.org     Photo Album:  http://wahoo.no-ip.org/gallery2
Registered Linux User #207535                    @ http://counter.li.org
____________________________________________________________
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