mirror of https://github.com/fail2ban/fail2ban
Merge pull request #277 from yarikoptic/0.9
ENH: ban also submission port (587) for all smtp-related jailspull/285/head
commit
6df949b29a
|
@ -383,12 +383,12 @@ maxretry = 6
|
||||||
|
|
||||||
[courier-smtp]
|
[courier-smtp]
|
||||||
|
|
||||||
port = smtp,ssmtp
|
port = smtp,ssmtp,submission
|
||||||
logpath = /var/log/mail.log
|
logpath = /var/log/mail.log
|
||||||
|
|
||||||
[postfix]
|
[postfix]
|
||||||
|
|
||||||
port = smtp,ssmtp
|
port = smtp,ssmtp,submission
|
||||||
logpath = /var/log/mail.log
|
logpath = /var/log/mail.log
|
||||||
|
|
||||||
# The hosts.deny path can be defined with the "file" argument if it is
|
# The hosts.deny path can be defined with the "file" argument if it is
|
||||||
|
@ -409,13 +409,13 @@ bantime = 300
|
||||||
|
|
||||||
[courier-auth]
|
[courier-auth]
|
||||||
|
|
||||||
port = smtp,ssmtp,imap2,imap3,imaps,pop3,pop3s
|
port = smtp,ssmtp,submission,imap2,imap3,imaps,pop3,pop3s
|
||||||
logpath = /var/log/mail.log
|
logpath = /var/log/mail.log
|
||||||
|
|
||||||
|
|
||||||
[sasl]
|
[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
|
# You might consider monitoring /var/log/mail.warn instead if you are
|
||||||
# running postfix since it would provide the same log lines at the
|
# running postfix since it would provide the same log lines at the
|
||||||
# "warn" level but overall at the smaller filesize.
|
# "warn" level but overall at the smaller filesize.
|
||||||
|
@ -423,7 +423,7 @@ logpath = /var/log/mail.log
|
||||||
|
|
||||||
[dovecot]
|
[dovecot]
|
||||||
|
|
||||||
port = smtp,ssmtp,imap2,imap3,imaps,pop3,pop3s
|
port = smtp,ssmtp,submission,imap2,imap3,imaps,pop3,pop3s
|
||||||
logpath = /var/log/mail.log
|
logpath = /var/log/mail.log
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in New Issue