Re: [exim] Regex help

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Torsten Mueller
日付:  
To: exim-users
題目: 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