Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: Snoopyski on October 05, 2009, 02:52:40 PM

Title: DB Command for proxy use with Freshclam ?
Post by: Snoopyski on October 05, 2009, 02:52:40 PM
Hello everyone,

I need to know if is there any "db command" to setup a proxy server for freshclam ?

I know where it is (/etc/freshclam.conf)

Code: [Select]
HTTPProxyServer STR
HTTPProxyPort NUMBER

I know I can make it from template... But before I do it, I just want to know if a db commande exist...

Thanks,

Stéphane
Title: Re: DB Command for proxy use with Freshclam ?
Post by: janet on October 05, 2009, 07:08:54 PM
Snoopyski

You need to learn to "read" the template fragment code for /etc/freshclam.conf, in the /etc/e-smith/templates/........(and templates-custom) structures.
Note this concept will apply to any config settings that are templated and may derive from db settings.

While it may not be immediately obvious (if you are not a coder), it will become apparent especially if you look at and compare other template fragment code where you know a db setting exists.

Once you can identify code elements in template fragments,  sme will become more understandable "under the covers".