Re: [exim] Regex help

Pàgina inicial
Delete this message
Reply to this message
Autor: Torsten Mueller
Data:  
A: exim-users
Assumpte: Re: [exim] Regex help
Thanks Marc and Magnus !
It works perfect.

> Torsten Mueller wrote:
>> - the first chars of the local_part should be numeric.
>> - the length of the numeric chars should be at least 8
>> - last chars of local_part should be '-robot'


For the records:

deny message = Please use your mobile number i.e. 
49179123456781-robot@??? \n\
                where 49179123456781 is your mobile number
       condition = ${if !match{$local_part}{\N^[0-9]{8,}-robot$\N}{1}{0}}
       domains=test.archesoft.de


Thanks,
Torsten