Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: cptrgy1 on December 21, 2006, 04:13:42 PM
-
I have been using SME for a while but never quite understood templating and how to add to/expand. I have a list of sites I would like to add to Dansguardian block and allow lists without doing them one at a time. I know where the templates are but do not know if I need to create a new fragment or if I can just add to one of the existing ones. Once I do how do I expand so they are active?
-
cptrgy1
Dansguardian is not templated. Just change the appropriate config files in /etc/dansguardian/.... and then restart dansguardian.
There is a howto I wrote that gives all the details, although there is an even newer version of dansguardian released for sme now.
http://mirror.contribs.org/smeserver/contribs/rmitchell/smeserver/howto/dansguardian%20instal%20&%20configure%20HOWTO%20for%20sme%20server.htm
-
Thanks for the help. I installed the Dungog packages and have been using this method since SME 5.5. I just setup a 7.0 server from scratch and installed Dans using the yum install method. When you say that it is not templated, then why are there multiple template framents in /etc/e-smith/etc/dansguardian Do they not serve a purpose?
-
cptrgy1
> why are there multiple template framents in /etc/e-smith/etc/dansguardian
Are you using the commercial or the free dungog version ?
What rpm versions are you using ?
I do not see any templates in the location you quoted when using
dansguardian-2.8.0.6-1.2.el4.rf
smeserver-dansguardian-1.2-4
-
Moving this topic to the SME 7.x contribs forum, it is more appropriate there. Thanks!
-
these are generic answers that apply to any templates
> I know where the templates are
good
>but do not know if I need to create a new fragment
yes, eg 30local
>or if I can just add to one of the existing ones.
no, it will be overwritten next time you upgrade
>Once I do, how do I expand so they are active?
expand-template /etc/foo & reload config files with app or
signal-event conf-foo or
or save a setting in a panel that regenerates the config files
-
cptrgy1
New Howto here that simplifies configuration with db commands
http://wiki.contribs.org/Dansguardian