Re: [exim] Regex help

Top Page
Delete this message
Reply to this message
Author: Magnus Holmgren
Date:  
To: exim-users
Subject: Re: [exim] Regex help
On Monday 11 December 2006 15:45, Torsten Mueller wrote:
> I am loking for a condition, that better checks valid
> recipients.
> - 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'


Sounds simple enough.

^\d{8,}-robot$

Escape properly.

-- 
Magnus Holmgren        holmgren@???
                       (No Cc of list mail needed, thanks)


"Exim is better at being younger, whereas sendmail is better for
Scrabble (50 point bonus for clearing your rack)" -- Dave Evans