procmail
[Top] [All Lists]

Get domain and tld ?

2009-01-24 19:45:40
Hi,

I am struggling with something really simple: have multiple
"match" from a single rule.

I want to get both tld and *last* part of the domain for any
processed email.

For example: list.foobar.com would give TLD=com and
DOMAIN=foobar.

Is there any way to achieve this with one single rule ?

Xavier

____________________________________________________________
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

<Prev in Thread] Current Thread [Next in Thread>