clamd.conf TCPAddr IP address entry over-written by 127.0.0.1
Problem reported by AWRData - Today at 6:26 AM
Not A Problem
When SmarterMail starts, there appears to be a check of the clamd.conf file which over-writes any address other than 127.0.0.1.

I have deliberately inserted a TCPAddr config line to allow other machines within my network to use ClamAV as those machines do not have the resources necessary to run the daemon anymore.

I have narrowed it down to SmarterMail by editing the file and killing clamd.exe.  When clamd respawns, it accepts the change I have made to the conf file.  However, restarting SmarterMail does modify the file and replaces my internal IP address with 127.0.0.1.

Can we do something to protect this conf file, or possibly disable this check by SmarterMail?
Derek Curtis Replied
Employee Post
Well a relatively simple solution would be to run ClamD as a remote service. That way, you can configure it however you like and SmarterMail upgrades won't affect it. (I say "relatively simple" as that is kind of subjective.)

I did ask the devs about this, and when SmarterMail updates a number of those settings are configured during the upgrade. TCPAddr and TCPSocket may or may not be required to be updated, but they are anyway just to ensure that SmarterMail can talk to ClamAV, at least in a default configuration. (Which, I'd say, is probably how the vast majority of people run it.) What I'll do it put in a request that the devs discuss that process -- perhaps we can avoid overwriting those particular lines. 
Derek Curtis
CCO
SmarterTools Inc.

Reply to Thread

Enter the verification text