Whitelists not working properly
Hugo van der Kooij
hvdkooij at vanderkooij.org
Tue Dec 18 06:23:57 GMT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Pascal Maes wrote:
>
> Le 07-déc.-07 à 03:19, Michael Mansour a écrit :
>
>> Hi Johnny,
>>
>> --- Johnny Stork <stork at openenterprise.ca> wrote:
>>
>>> I have noticed for the past few months, not sure
>>> when it started, but
>>> not all whitelist entries are getting picked up. For
>>> instance, I just added
>>>
>>>> From To
>>> *@www.pixologic.com *@*
>>
>> It's odd how such rules ever worked for you. They're
>> syntax is incorrect.
>>
>> Please read:
>>
>> http://wiki.mailscanner.info/doku.php?id=documentation:configuration:rulesets:examples&s=virus%20scanning%20rules
>>
>>
>> for the correct way to define your rules.
>>
>> Regards,
>>
>> Michael.
>>
>>>
>
> Is the following syntax correct ?
>
> From: /opt/MailScanner/etc/rules/whitelist.domains yes
> FromOrTo: default no
>
> and in the file /opt/MailScanner/etc/rules/whitelist.domains, I have
> lines like :
>
> *@ess-fp7.org
>
>
> But, recently, I get :
>
>> X-SGSI-Spam-Score: ssssssssss
>> X-SGSI-From: fp7aor at ess-fp7.org
>> X-SGSI-Spam-Status: Yes
I guess you have not mastered regular expressions. * is not a wildcard
in itzelf. You need to use .* instead.
Hugo
- --
hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/
PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc
A: Yes.
>Q: Are you sure?
>>A: Because it reverses the logical flow of conversation.
>>>Q: Why is top posting frowned upon?
Bored? Click on http://spamornot.org/ and rate those images.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
iD8DBQFHZ2d7BvzDRVjxmYERAtSPAKCfpPOtfEBU0fVdDRCFH8bufGJQIQCfZaYv
SC8ue2x1qgeCvpaozM5995Y=
=zVuk
-----END PGP SIGNATURE-----
More information about the MailScanner
mailing list