Make some scalability corrections
This commit is contained in:
@@ -48,6 +48,7 @@ protocol lmtp {
|
|||||||
}
|
}
|
||||||
|
|
||||||
protocol imap {
|
protocol imap {
|
||||||
|
mail_max_userip_connections = 100
|
||||||
mail_plugins {
|
mail_plugins {
|
||||||
imap_quota = yes
|
imap_quota = yes
|
||||||
}
|
}
|
||||||
@@ -81,3 +82,17 @@ protocol submission {
|
|||||||
mail_max_userip_connections = 10
|
mail_max_userip_connections = 10
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# --- Scalability & Memory Tuning (1 vCPU, 1GB RAM) ---
|
||||||
|
# Safe limits to prevent OOM errors while accommodating concurrent connections
|
||||||
|
default_process_limit = 150
|
||||||
|
default_client_limit = 1000
|
||||||
|
|
||||||
|
# --- Enhanced Diagnostic Logging ---
|
||||||
|
# Provides detailed information about authentication and connection drops
|
||||||
|
auth_verbose = yes
|
||||||
|
auth_debug = yes
|
||||||
|
mail_debug = yes
|
||||||
|
|
||||||
|
# Delay failed authentication attempts by 2 seconds to slow brute force
|
||||||
|
auth_failure_delay = 2 secs
|
||||||
|
disable_plaintext_auth = yes
|
||||||
|
|||||||
@@ -48,6 +48,7 @@ protocol lmtp {
|
|||||||
}
|
}
|
||||||
|
|
||||||
protocol imap {
|
protocol imap {
|
||||||
|
mail_max_userip_connections = 100
|
||||||
mail_plugins {
|
mail_plugins {
|
||||||
imap_quota = yes
|
imap_quota = yes
|
||||||
}
|
}
|
||||||
@@ -81,3 +82,17 @@ protocol submission {
|
|||||||
mail_max_userip_connections = 10
|
mail_max_userip_connections = 10
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# --- Scalability & Memory Tuning (1 vCPU, 1GB RAM) ---
|
||||||
|
# Safe limits to prevent OOM errors while accommodating concurrent connections
|
||||||
|
default_process_limit = 150
|
||||||
|
default_client_limit = 1000
|
||||||
|
|
||||||
|
# --- Enhanced Diagnostic Logging ---
|
||||||
|
# Provides detailed information about authentication and connection drops
|
||||||
|
auth_verbose = yes
|
||||||
|
auth_debug = yes
|
||||||
|
mail_debug = yes
|
||||||
|
|
||||||
|
# Delay failed authentication attempts by 2 seconds to slow brute force
|
||||||
|
auth_failure_delay = 2 secs
|
||||||
|
disable_plaintext_auth = yes
|
||||||
|
|||||||
Reference in New Issue
Block a user