From b31a018e7ca6983bb0babf83c054e9cf36085cb3 Mon Sep 17 00:00:00 2001 From: Cool Fire Date: Fri, 8 Feb 2019 16:54:11 +0100 Subject: [PATCH 1/2] Add override for dovecot failed logins on debian --- config/paths-debian.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/paths-debian.conf b/config/paths-debian.conf index 50ff948b7..ae45e72ed 100644 --- a/config/paths-debian.conf +++ b/config/paths-debian.conf @@ -31,6 +31,8 @@ apache_error_log = /var/log/apache2/*error.log apache_access_log = /var/log/apache2/*access.log +dovecot_log = /var/log/mail.log + # was in debian squeezy but not in wheezy # /etc/proftpd/proftpd.conf (SystemLog) proftpd_log = /var/log/proftpd/proftpd.log From 27526e431b31add8181b6dcd88ab5022021eccea Mon Sep 17 00:00:00 2001 From: Cool Fire Date: Wed, 13 Feb 2019 10:10:24 +0100 Subject: [PATCH 2/2] Changes static logfile string to variable Since we don't want to re-declare a log file name we already have a varialbe for, use the existing variable to set dovecot_log. --- config/paths-debian.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/paths-debian.conf b/config/paths-debian.conf index ae45e72ed..0904668b6 100644 --- a/config/paths-debian.conf +++ b/config/paths-debian.conf @@ -31,7 +31,7 @@ apache_error_log = /var/log/apache2/*error.log apache_access_log = /var/log/apache2/*access.log -dovecot_log = /var/log/mail.log +dovecot_log = %(syslog_mail)s # was in debian squeezy but not in wheezy # /etc/proftpd/proftpd.conf (SystemLog)