I recommended,
| >There is no general answer, but try adding these two conditions:
| >
| > * MATCH ?? ^^\/.*-
| > * MATCH ?? ^^\/.*[^-]
| >
| >Those should strip the last hyphen-connected element from $MATCH.
Sean objected,
| Which will be problematic if you have a hyphenated hostname or domain.
In the immortal words of Sean B. Straw, "Did you try it in a sandbox?"
Remember that by this point the @-sign and everything to the right of it have
already been removed.
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail