Increase max IMAP connections by IP to 100

This commit is contained in:
Paul-Henri Froidmont 2018-01-19 03:20:08 +01:00
parent a5968b34bd
commit 63ae9eab21
4 changed files with 11 additions and 9 deletions

View file

@ -409,7 +409,7 @@ gitlab_rails['smtp_port'] = 465
gitlab_rails['smtp_user_name'] = "noreply@banditlair.com"
gitlab_rails['smtp_password'] = "{{email_password}}"
gitlab_rails['smtp_domain'] = "banditlair.com"
gitlab_rails['smtp_authentication'] = "login"
gitlab_rails['smtp_authentication'] = "plain"
gitlab_rails['smtp_enable_starttls_auto'] = true
gitlab_rails['smtp_tls'] = true

View file

@ -1,6 +1,6 @@
protocol imap {
# Maximum number of IMAP connections allowed for a user from each IP address.
# NOTE: The username is compared case-sensitively.
mail_max_userip_connections = 50
mail_max_userip_connections = 100
}

View file

@ -0,0 +1,2 @@
#debug_peer_list = 172.22.0.1

View file

@ -66,10 +66,10 @@ set log syslog
## Set global SSL options (just most common options showed, see manual for
## full list).
#
# set ssl {
# verify : enable, # verify SSL certificates (disabled by default but STRONGLY RECOMMENDED)
set ssl {
verify : enable, # verify SSL certificates (disabled by default but STRONGLY RECOMMENDED)
#selfsigned : allow # allow self signed SSL certificates (reject by default)
# }
}
#
#
## Set the list of mail servers for alert delivery. Multiple servers may be
@ -145,7 +145,7 @@ set mail-format { from: monit@banditlair.com }
# set alert sysadm@foo.bar # receive all alerts
#
set alert self.alert@banditlair.com
set alert pascal.falbo@hotmail.fr
#set alert pascal.falbo@hotmail.fr # Fucking Microshit blacklists my mail server
## Do not alert when Monit starts, stops or performs a user initiated action.
## This filter is recommended to avoid getting alerts for trivial cases.
#
@ -332,8 +332,8 @@ check host Gitlab-ui with address gitlab.banditlair.com
check host mail-admin with address mail.banditlair.com
if failed port 443 protocol https with timeout 20 seconds then alert
check host Grafana with address grafana.banditlair.com
if failed port 443 protocol https with timeout 20 seconds then alert
#check host Grafana with address grafana.banditlair.com
# if failed port 443 protocol https with timeout 20 seconds then alert
#check host Plex with address plex.banditlair.com
# if failed port 443 protocol https with timeout 20 seconds then alert