RegEx in whitelist

Julian Field MailScanner at ecs.soton.ac.uk
Fri Jun 23 14:51:47 IST 2006


On 23 Jun 2006, at 14:37, shuttlebox wrote:
> On 6/23/06, Sam Przyswa <samp at arial-concept.com> wrote:
>> What is the right way accept all the smtp*-g*.free.fr machine ?
>
> This should work:
>
> smtp.*-g.*\.free\.fr
>
> It can be done many ways.

If you really want to use a regex, then just surround with regex with  
"/" characters and you can use all the regex features that Perl has  
(which is a lot!).
So
	/@smtp.*-g.*\.free\.fr/
should do the trick if you prefer working with regexes.

-- 
Julian Field
MailScanner at ecs.soton.ac.uk



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.



More information about the MailScanner mailing list