At 20:11 2003-02-19 -0600, David W. Tamkin wrote:
There is no general answer, but try adding these two conditions:
* MATCH ?? ^^\/.*-
* MATCH ?? ^^\/.*[^-]
Those should strip the last hyphen-connected element from $MATCH.
Which will be problematic if you have a hyphenated hostname or domain.
---
Sean B. Straw / Professional Software Engineering
Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
Please DO NOT carbon me on list replies. I'll get my copy from the list.
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail