mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 13:46:59 +01:00
Increase max IMAP connections by IP to 100
This commit is contained in:
parent
a5968b34bd
commit
63ae9eab21
4 changed files with 11 additions and 9 deletions
|
|
@ -409,7 +409,7 @@ gitlab_rails['smtp_port'] = 465
|
||||||
gitlab_rails['smtp_user_name'] = "noreply@banditlair.com"
|
gitlab_rails['smtp_user_name'] = "noreply@banditlair.com"
|
||||||
gitlab_rails['smtp_password'] = "{{email_password}}"
|
gitlab_rails['smtp_password'] = "{{email_password}}"
|
||||||
gitlab_rails['smtp_domain'] = "banditlair.com"
|
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_enable_starttls_auto'] = true
|
||||||
gitlab_rails['smtp_tls'] = true
|
gitlab_rails['smtp_tls'] = true
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
protocol imap {
|
protocol imap {
|
||||||
# Maximum number of IMAP connections allowed for a user from each IP address.
|
# Maximum number of IMAP connections allowed for a user from each IP address.
|
||||||
# NOTE: The username is compared case-sensitively.
|
# NOTE: The username is compared case-sensitively.
|
||||||
mail_max_userip_connections = 50
|
mail_max_userip_connections = 100
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
2
roles/mailu-docker/files/mailu/overrides/postfix.cf
Normal file
2
roles/mailu-docker/files/mailu/overrides/postfix.cf
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
|
||||||
|
#debug_peer_list = 172.22.0.1
|
||||||
|
|
@ -66,10 +66,10 @@ set log syslog
|
||||||
## Set global SSL options (just most common options showed, see manual for
|
## Set global SSL options (just most common options showed, see manual for
|
||||||
## full list).
|
## full list).
|
||||||
#
|
#
|
||||||
# set ssl {
|
set ssl {
|
||||||
# verify : enable, # verify SSL certificates (disabled by default but STRONGLY RECOMMENDED)
|
verify : enable, # verify SSL certificates (disabled by default but STRONGLY RECOMMENDED)
|
||||||
#selfsigned : allow # allow self signed SSL certificates (reject by default)
|
#selfsigned : allow # allow self signed SSL certificates (reject by default)
|
||||||
# }
|
}
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
## Set the list of mail servers for alert delivery. Multiple servers may be
|
## 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 sysadm@foo.bar # receive all alerts
|
||||||
#
|
#
|
||||||
set alert self.alert@banditlair.com
|
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.
|
## Do not alert when Monit starts, stops or performs a user initiated action.
|
||||||
## This filter is recommended to avoid getting alerts for trivial cases.
|
## 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
|
check host mail-admin with address mail.banditlair.com
|
||||||
if failed port 443 protocol https with timeout 20 seconds then alert
|
if failed port 443 protocol https with timeout 20 seconds then alert
|
||||||
|
|
||||||
check host Grafana with address grafana.banditlair.com
|
#check host Grafana with address grafana.banditlair.com
|
||||||
if failed port 443 protocol https with timeout 20 seconds then alert
|
# if failed port 443 protocol https with timeout 20 seconds then alert
|
||||||
|
|
||||||
#check host Plex with address plex.banditlair.com
|
#check host Plex with address plex.banditlair.com
|
||||||
# if failed port 443 protocol https with timeout 20 seconds then alert
|
# if failed port 443 protocol https with timeout 20 seconds then alert
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue