Re: [exim] Feature Needed

Pàgina inicial
Delete this message
Reply to this message
Autor: Peter Bowyer
Data:  
A: exim-users
Assumpte: Re: [exim] Feature Needed
On 17/09/05, Marc Perkel <marc@???> wrote:
> Like to have a string function that extraced the main domain part out od
> an email address that removes subdomains. And it would be smart enought
> to deal with 3 part main domains such as:
>
> yahoo.co.uk
>
> Not sure what to call it but it would work like ${domman:address}
>


Can you write a regex (or even explain in English) how to recognize
the 'main domain'? If you can, the feature can be easily implemented
in a ${sg function.

But I suspect you can't, because the answer is non-deterministic.

Peter

--
Peter Bowyer
Email: peter@???
Tel: +44 1296 768003
VoIP: sip:peter@???