Skip to content

Commit

Permalink
For the security we should log failed logins to mbox server
Browse files Browse the repository at this point in the history
  • Loading branch information
drscream committed Mar 26, 2015
1 parent 99af1d9 commit fb178d4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions copy/opt/local/etc/dovecot/dovecot.conf
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ mail_max_userip_connections = 50

# Log format
login_log_format_elements = user=<%u> method=%m rip=%r rport=%b lip=%l lport=%a mpid=%e %c session=<%{session}>
# Log failed logins
auth_verbose = yes
# Log files
log_path = /var/log/dovecot/main
info_log_path = /var/log/dovecot/info
Expand Down

0 comments on commit fb178d4

Please sign in to comment.