aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2012-04-10 19:48:09 -0300
committerSilvio Rhatto <rhatto@riseup.net>2012-04-10 19:48:09 -0300
commit8b4c297cd6dd57393dc066e80087bb1c75bd7963 (patch)
tree3fcfa3d6827f679067e223bcc0770e83a4d27ae7
parent867a6100e5735a31aff91bea1a3ecb4586354dea (diff)
downloadfirma-8b4c297cd6dd57393dc066e80087bb1c75bd7963.tar.gz
firma-8b4c297cd6dd57393dc066e80087bb1c75bd7963.tar.bz2
Changing default config parameters
-rw-r--r--README4
-rwxr-xr-xfirma2
-rw-r--r--firma.conf.dist (renamed from firma.conf)6
3 files changed, 6 insertions, 6 deletions
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
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