From: Silvio Rhatto Date: Tue, 10 Apr 2012 22:48:09 +0000 (-0300) Subject: Changing default config parameters X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=8b4c297cd6dd57393dc066e80087bb1c75bd7963;p=firma.git Changing default config parameters --- diff --git a/README b/README index 4c79605..7da6fdc 100644 --- a/README +++ b/README @@ -140,9 +140,9 @@ Setup 2 - Copy firma script to whatever you like, e.g. /usr/local/bin and check that it has no write permission - 3 - Create a list-wide config file (default is /etc/firma.conf) with + 3 - Create a list-wide config file (default is /var/lib/firma/firma.conf) with the common definitions for all lists. You might just copy the sample - firma.conf and edit according to your needs. + firma.conf.dist and edit according to your needs. All config variables can be overwritten at each list's own config file; firma.conf should be chmoded as 600, chowned nobody.nobody or whatever diff --git a/firma b/firma index 692328f..a04125e 100755 --- a/firma +++ b/firma @@ -2471,7 +2471,7 @@ function ReplayProtectionCheck { # hardcode path to firma.conf, firma version and program name declare -r \ - FIRMA_CONFIG_FILE="/etc/firma.conf" \ + FIRMA_CONFIG_FILE="/var/lib/firma/firma.conf" \ VERSION="0.3-git" \ BASENAME="$(basename $0)" diff --git a/firma.conf b/firma.conf.dist similarity index 93% rename from firma.conf rename to firma.conf.dist index f398a06..9ec48fb 100644 --- a/firma.conf +++ b/firma.conf.dist @@ -15,16 +15,16 @@ MAIL_AGENT=/usr/sbin/sendmail MAIL_AGENT_ARGS=-t # User that runs firma (usually the same as your MTA user); -# defaults to "nobody"; you can also specify this parameter +# defaults to "firma"; you can also specify this parameter # in each mailing list config file if you plan to have one # user per mailing list -FIRMA_USER=nobody +FIRMA_USER=firma # Group that runs firma (usually the same as your MTA group); # defaults to "nobody"; you can also specify this parameter # in each mailing list config file if you plan to have one # group per mailing list -FIRMA_GROUP=nobody +FIRMA_GROUP=firma # Set to '1' to log errors and warnings to syslog, else firma # will print errors to STDERR