[clamav-users] OnAccessExcludePath

Frans de Boer frans at fransdb.nl
Fri Aug 30 14:48:12 EDT 2019


On 30-08-19 10:26, G.W. Haywood via clamav-users wrote:
> Hi there,
>
> On Thu, 29 Aug 2019, Frans de Boer wrote:
>
>> OnAccessExludePath STRING, where string denotes a directory. Does 
>> this also imply "that directory and anything below that", or just the 
>> directory only?
>
> .../docs/html/UserManual/OnAccess.html
>
Ok, I read it and almost the only word extra is "recursively". So, my 
setup should work, but it does not.

My settings in clamd.conf:

OnAccessMountPath /mnt/data/data  # is data dir and linked to from 
/mnt/data/rhome/user

OnAccessIncludePath /home/user      # is link to /mnt/data/rhome/user
OnAccessIncludePath /mnt/data/rhome/user

OnAccessExcludePath /home/maildirs    # is link to /mnt/data/maildirs
OnAccessExcludePath /mnt/data/maildirs

So, both paths are covered, and still I get notified of suspected 
malware under ../maildirs.

Suggestions?

--- Frans.



More information about the clamav-users mailing list