RegEx in whitelist

Sam Przyswa samp at arial-concept.com
Fri Jun 23 17:53:18 IST 2006


Julian Field a écrit :

>
> On 23 Jun 2006, at 16:42, Sam Przyswa wrote:
>
>> shuttlebox a écrit :
>>
>>> 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
>>
>
> You should surround the regexp with "/" so that MailScanner  
> recognises it properly and does not try to compile it into a regexp  
> again. So use
> From: /smtp\d+-g\d+\.free\.fr/   yes


I put it in my spam.whitelist.rules, restart MailScanner and then that's 
don't work, mails from the smtp2-g19.free.fr (blacklisted) server is not 
whitelisted :-(

I use MailScanner 4.41.3

What's wrong ?

Sam.



-- 
Ce message a été vérifié par MailScanner
pour des virus ou des polluriels et rien de
suspect n'a été trouvé.



More information about the MailScanner mailing list