Ruleset syntax

Mark Sapiro mark at msapiro.net
Wed Feb 1 05:12:06 UTC 2017


On 01/31/2017 05:22 PM, Mark Sapiro wrote:
> On 01/31/2017 02:37 AM, Marcelo Machado wrote:
>> It seems MailScanner is not reading the ruleset file from these parameters.
>> I did the test below and did not blocked the attachment
>>
>> Deny Filenames =%rules.dir%/deny.filenames.rules (MailScanenr.conf)
>>
>> From:    *@netsol.com.br      \.jpg$ (deny.filenames.rules)
> 
> 
> It's also not working for me in a test environment, ...


Actually, it's working fine. Try

Deny Filenames = %rules-dir%/deny.filenames.rules

i.e. $rules-dir%, not %rules.dir%.

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan


More information about the MailScanner mailing list