Mailing List Archive

OnAccessExcludePath
LS,

OnAccessExludePath STRING, where string denotes a directory. Does this
also imply "that directory and anything below that", or just the
directory only?

Having trouble with excluding a path to mail directories of multiple
users having many directories each. The messages where already scant
upon reception, no need to scan them again during backup's.

Regards, Frans.


_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml
Re: OnAccessExcludePath [ In reply to ]
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

--

73,
Ged.

_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml
Re: OnAccessExcludePath [ In reply to ]
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.


_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml
Re: OnAccessExcludePath [ In reply to ]
Hi there,

On Fri, 30 Aug 2019, Frans de Boer wrote:
> On 30-08-19 10:26, G.W. Haywood via clamav-users wrote:
>> 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.

Read it again. It's quite clear on the point.

Here's the point:

> OnAccessMountPath <<<<<
> OnAccessExcludePath <<<<<

--

73,
Ged.

_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml