On 2020-11-24 22:51, Zhiliang Hu wrote:
# Experimenting
:0 c
*$ ^^From[^:].*\/$S.*
{ H_From_ = "$MATCH" }
:0 c
*$ ^From:.*\/$S.*
{ H_From = "$MATCH" }
LOG="TESTING: $H_From_ .. $H_From $NL"
That c-flag looks weird to me. Why create a copy?
Be aware that $S is set in
https://rvtol.home.xs4all.nl/procmail/basic/pm/globals.inc
like this:
S = "[^$SPC$t]" # non-whitespace (Perl \S)
I would just include the needed .inc's, and work from there.
-- Ruud
____________________________________________________________
procmail mailing list -- procmail(_at_)lists(_dot_)rwth-aachen(_dot_)de
Procmail homepage: http://www.procmail.org/
To unsubscribe send an email to
procmail-leave(_at_)lists(_dot_)rwth-aachen(_dot_)de
https://lists.rwth-aachen.de/postorius/lists/procmail.lists.rwth-aachen.de