On Sun, 7 Jul 2002, Werner Reisberger wrote:
On Wed, Jul 03, 2002 at 03:47:15PM -0700, Bart Schaefer wrote:
I've had something for this sitting around for a while, so I tossed it up
on the web:
http://www.well.com/user/barts/email/rfc822rc.txt
This only works if I change it to
* $ subscraddr ?? ^$addrspec__
otherwise an illegal address like bla[peng(_at_)domain(_dot_)top
is accepted.
Oh, right -- because procmail will find a match anywhere in the line.
(If you used
* $ subscraddr ?? .*\/$addrspec__
you'd find that $MATCH is set to "peng(_at_)domain(_dot_)top" in the example
above.)
So really what you need for your purposes is probably
* $ subscraddr ?? ^^$addrspec__^^
(that is, anchor the match to both beginning and end of buffer).
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail