Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: bassjunkie on September 03, 2008, 04:12:42 PM
-
I have added some settings to my ClamAV freshclam.conf file that I no longer need, settings for accessing the internet via a proxy I added yesterday, whilst trying to get updates to work.
I have now decided I want to remove these settings but simply blanking them out with the following command still leaves the entry in the file:
config setprop clamav HTTPProxyServer
I have looked over the man page for the config command and through the forum's but can't see how to remove settings that has been previously set.
Also is it possible to configure the SME server to get net access through an ISA firewall? I have set the SquidParent and SuidPort settings up as per our network setup but still can't access the outside world! I think it needs to use authorization but I can't see where this would need to be input?
-
config setprop clamav HTTPProxyServer ""
Note: That is 2 double quotes.
-
or this may help;
http://wiki.contribs.org/DB_Variables_Configuration#Setting_db_variables_to_default_values
-
config setprop clamav HTTPProxyServer ""
Note: That is 2 double quotes.
That will set the property to an empty value. To delete a property, do:
config delprop clamav HTTPProxyServer
I have looked over the man page for the config command and through the forum's but can't see how to remove settings that has been previously set.
AFAIK, there is no man page for the SME server config command. However, if you run the command with no args, it will tell you this:
-bash-3.00$ sudo /sbin/e-smith/config
Password:
usage:
/sbin/e-smith/db dbfile keys
/sbin/e-smith/db dbfile print [key]
/sbin/e-smith/db dbfile show [key]
/sbin/e-smith/db dbfile get key
/sbin/e-smith/db dbfile set key type [prop1 val1] [prop2 val2] ...
/sbin/e-smith/db dbfile setdefault key type [prop1 val1] [prop2 val2] ...
/sbin/e-smith/db dbfile delete key
/sbin/e-smith/db dbfile printtype [key]
/sbin/e-smith/db dbfile gettype key
/sbin/e-smith/db dbfile settype key type
/sbin/e-smith/db dbfile printprop key [prop1] [prop2] [prop3] ...
/sbin/e-smith/db dbfile getprop key prop
/sbin/e-smith/db dbfile setprop key prop1 val1 [prop2 val2] [prop3 val3] ...
/sbin/e-smith/db dbfile delprop key prop1 [prop2] [prop3] ...
-bash-3.00$
-
Thank you very much that has sorted it out!