procmail
[Top] [All Lists]

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

2009-11-19 20:24:06
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)

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