From 70ae1ed68b9a948a8a57dde73ad598c82be4759d Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Mon, 1 Jul 2013 14:50:02 -0400 Subject: [PATCH] ENH: ban also submission port (587) for all smtp-related jails see http://www.rfc-editor.org/rfc/rfc4409.txt and http://en.wikipedia.org/wiki/Mail_submission_agent Users of advanced setups might like to split those into multiple jails anyways to have separate control over submission agents and incoming mail servers. --- config/jail.conf | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/config/jail.conf b/config/jail.conf index 070ec6fd..482dd7f8 100644 --- a/config/jail.conf +++ b/config/jail.conf @@ -383,12 +383,12 @@ maxretry = 6 [courier-smtp] -port = smtp,ssmtp +port = smtp,ssmtp,submission logpath = /var/log/mail.log [postfix] -port = smtp,ssmtp +port = smtp,ssmtp,submission logpath = /var/log/mail.log # The hosts.deny path can be defined with the "file" argument if it is @@ -409,13 +409,13 @@ bantime = 300 [courier-auth] -port = smtp,ssmtp,imap2,imap3,imaps,pop3,pop3s +port = smtp,ssmtp,submission,imap2,imap3,imaps,pop3,pop3s logpath = /var/log/mail.log [sasl] -port = smtp,ssmtp,imap2,imap3,imaps,pop3,pop3s +port = smtp,ssmtp,submission,imap2,imap3,imaps,pop3,pop3s # You might consider monitoring /var/log/mail.warn instead if you are # running postfix since it would provide the same log lines at the # "warn" level but overall at the smaller filesize. @@ -423,7 +423,7 @@ logpath = /var/log/mail.log [dovecot] -port = smtp,ssmtp,imap2,imap3,imaps,pop3,pop3s +port = smtp,ssmtp,submission,imap2,imap3,imaps,pop3,pop3s logpath = /var/log/mail.log #