From 8412303131235aafb2405824323b1534deb5f85c Mon Sep 17 00:00:00 2001 From: Daniel Black Date: Tue, 29 Oct 2013 10:17:45 +1100 Subject: [PATCH] ENH: dovecot jail examples --- config/jail.conf | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/config/jail.conf b/config/jail.conf index c30b50e8..60bb23c6 100644 --- a/config/jail.conf +++ b/config/jail.conf @@ -472,9 +472,16 @@ filter = webmin-auth action = iptables-multiport[name=webmin,port="10000"] logpath = /var/log/auth.log +# dovecot defaults to logging to the mail syslog facility +# but can be set by syslog_facility in the dovecot configuration. [dovecot] enabled = false filter = dovecot action = iptables-multiport[name=dovecot, port="pop3,pop3s,imap,imaps", protocol=tcp] -logpath = /var/log/secure +logpath = /var/log/mail.log +[dovecot-auth] +enabled = false +filter = dovecot +action = iptables-multiport[name=dovecot-auth, port="pop3,pop3s,imap,imaps", protocol=tcp] +logpath = /var/log/secure