[pmg-devel] [PATCH pmg-api 1/1] Add disable_clamav and convert_tnef_in

Dietmar Maurer dietmar at proxmox.com
Wed Mar 21 12:22:30 CET 2018


Hi Davide,

I applied a similar patch, see

https://git.proxmox.com/?p=pmg-api.git;a=commitdiff;h=9acd4d576fdbd015113a0ffdb6010ca953f4e276

You can disable clamav with:

# pmgsh set /config/admin --clamav 0


> There are some cases:
> 
> 1) you already have an utm firewall in front of pmg that perform virus 
> scanning so the clamav scanning does not give you any additional benefit
> 
> 2) you just want to perform spam scanning and not virus scan.
> 
> Beside any consideration i've considered the flag as "disable_clamav" 
> and NOT "enable_clamav" with the meaning that if the  flag is not enabled
> 
> the clamav scan is ALWAYS performed.
> 
> Hope this clarify the goal of  my patch.



More information about the pmg-devel mailing list