RegEx in whitelist

Julian Field MailScanner at
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> wrote:
>> What is the right way accept all the smtp*-g* 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!).
should do the trick if you prefer working with regexes.

Julian Field
MailScanner at

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