summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/init4
-rw-r--r--debian/templates2
2 files changed, 3 insertions, 3 deletions
diff --git a/debian/init b/debian/init
index 6f556b2..f1d0c26 100644
--- a/debian/init
+++ b/debian/init
@@ -18,7 +18,7 @@ RRD_DIR="/var/lib/mailgraph"
# Default values
BOOT_START=true
MAIL_LOG=/var/log/mail.log
-IGNORE_LOCALHOST=true
+IGNORE_LOCALHOST=false
EXTRA_OPTIONS=""
HTTP_USER=www-data
HTTP_GROUP=www-data
@@ -45,7 +45,7 @@ case "$1" in
log_action_cont_msg " already running"
log_end_msg 1
else
- start-stop-daemon --start --quiet --pidfile $PID_FILE --exec $DAEMON -- \
+ start-stop-daemon --start --quiet --background --pidfile $PID_FILE --exec $DAEMON -- \
--logfile $MAIL_LOG --daemon --daemon_pid=$PID_FILE \
--daemon_rrd=$RRD_DIR $IGNORE_OPTION $EXTRA_OPTIONS
log_end_msg $?
diff --git a/debian/templates b/debian/templates
index 13ce47f..c5a1ec6 100644
--- a/debian/templates
+++ b/debian/templates
@@ -16,7 +16,7 @@ _Description: Logfile used by mailgraph:
Template: mailgraph/ignore_localhost
Type: boolean
-Default: true
+Default: false
_Description: Count incoming mail as outgoing mail?
If you count incoming mail as outgoing mail (default), mail is counted more
than once if you use content filters like amavis, so you'll get wrong values.