Koozali.org: home of the SME Server

Clamav: unofficial

Offline ElFroggio

  • *
  • 262
  • +0/-0
Clamav: unofficial
« on: June 21, 2015, 07:18:48 PM »
Hi,

I'm not sure if this is the right forum or the contribs.

I just had a problem with the unofficial clamav extra signatures:

I installed, including
Code: [Select]
config setprop clamd MemLimit 1500000000

post-upgrade, reboot... Works properly, catches some more, great.

Saturday morning, I apply my 2 outstanding updates:

  • cups
  • tzdata

post-upgrade, reboot... Doesn't look like a problem, but by noon: zero email received. I investigated. All emails were being rejected by clamav. It turns out that the problem was:

Code: [Select]
config setprop clamd MemLimit 1500000000

It was not 'sticky' past the reboot.

How to make it sticky?

BTW, yum remove smeserver-clamav-unofficial-sigs doesn't work, I had to delete the whole unofficial manually.

Thanks

Syv

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Clamav: unofficial
« Reply #1 on: June 21, 2015, 08:47:28 PM »
ElFroggio: you've been here enough to know that everything that does not work as expected ios likely a bug and so you'd fill a bug

please, do it, and report here the reference, thank you

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Clamav: unofficial
« Reply #2 on: June 21, 2015, 11:16:41 PM »
ElFroggio

In all situations the master reconfiguration command & a reboot should apply db settings & expand all templates.

After applying db changes you should check the settings with
Code: [Select]
config show clamd
This will check your setting changes for spelling & syntax accuracy etc.

Doing
Code: [Select]
config setprop clamd MemLimit 1500000000
signal-event post-upgrade
signal-event reboot

& then checking the setting with
Code: [Select]
config show clamd
should make any changes permanent after a reboot

If not, then as advised, please post a bug report.

Quote
All emails were being rejected by clamav

The reason for that may not be the MemLimit setting but your "playing around" with the install & uninstall of contribs.

Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Clamav: unofficial
« Reply #3 on: June 21, 2015, 11:21:16 PM »
The reason for that may not be the MemLimit setting but your "playing around" with the install & uninstall of contribs.

another thing OP should know is that coming here saying "it doesn't work" without log and/or error message is quite useless.. :-)