[Samba] vfs object virusfilter not working
Rowland Penny
rpenny at samba.org
Mon Oct 10 09:01:07 UTC 2022
On 10/10/2022 08:27, lists--- via samba wrote:
> Good morning list :)
>
> I have a Debian-Bullseye system running as an ad-member server, using
> Louis' 4.15 version.
>
> Now I wanted to add the virusscan feature, but it seems it doesn't work
> proper ...
>
> As you can see in the log-entries, vfs-object [virusfilter] get loaded
> ... and eicar.com-file could be stored.
> virusfilter:rename suffix = .infected
> virusfilter:infected file command = echo -e "Found virus during
> on-access scanning of Samba share." | mail -s"Samba: Virus Found"
> %EMAIL-ADRESS%
> virusfilter:scan error command = echo -e "Scan error during
> on-access scanning of Samba share." | mail -s"Samba: Scan Error"
> %EMAIL-ADRESS%
> [...]
>
> Is something missing? Or interfering?
>
> Thanks in advance!
>
> Cheers,
> Torsten
>
I do not use the virus scanner, but could this be something as simple as
you having to use the full path for 'echo' or do you have to run a
script as in the example that samba provides ?
Rowland
More information about the samba
mailing list