Thanks Sean...
Professional Software Engineering wrote:
Uhm, have you tried sandboxing it all and retesting using saved emails so
you can see the verbose logging?
I enabled verbose logging and waited for it to happen again, and sure
enough it did! Below is a part of the recipe with corresponding log
extract. The last line of the log shows "Match on ! "...". I don't
understand this because the word "test" is definitely in $RCPT_WHITELIST
(which is only 10 lines long).
Many thanks,
Steve
--- RECIPE ---
:0
* $ ^X-Original-To:.*\/[^(_at_)$WS]+
* ! MATCH ?? (^abc|^xyz$)
* $ ! grep -i -F -x $MATCH $RCPT_WHITELIST
--- LOG EXTRACT ---
procmail: Assigning "MATCH="
procmail: Matched "test"
procmail: Match on "^X-Original-To:.*\/[^@ ]+"
procmail: Match on ! "(^abc|^xyz$)"
procmail: Match on ! "grep -i -F -x test /home/<..>/rcpt_whitelist_ryb
"
____________________________________________________________
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