Re: [exim] Regex help

Top Pagina
Delete this message
Reply to this message
Auteur: Magnus Holmgren
Datum:  
Aan: exim-users
Onderwerp: 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