I have a recipe that says:
# This one is fine
:0
* ISLISTED ?? ^[^,]+,[ ]+\/.*
{ CALLN=$MATCH }
:0
* $CALLN ?? $PHONE
{ CALLN = $PHONE }
Which never seems to match... (the second one, that is)
procmail: Assigning "PHONE=(555) 329-7567"
procmail: Assigning "CALLN=(555) 329-7567"
procmail: Assigning "CALLID=/home/user/.vonange.callers"
procmail: Executing "grep,-i,^(555) 329-7567,/home/
user/.vonange.callers"
procmail: Assigning "ISLISTED="
procmail: No match on "^[^,]+,[ ]+\/.*"
procmail: No match on "(720) 329-7567"
I also have this:
ARG = $1
:0
{ LOG = "ARG = $ARG$NL TO = $TO$NL" }
But I get:
procmail: Assigning "LOG=ARG =
TO = user+vonage(_at_)domain(_dot_)tld
"
ARG =
TO = user+vonage(_at_)domain(_dot_)tld
I haven't been able to sandbox test this, as I can't seem to pass
both a -a arg and a -m rcfile to procmail
% formail -s procmail -m test.rc -a vonage < vonage &
gives me:
procmail: Assigning "LASTFOLDER=/-a"
--
Hey, how come Andrew gets to get up? If he gets up, we'll all get up,
it'll be anarchy.
____________________________________________________________
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