Skip to content

Commit 142db5f

Browse files
committed
comment stress adaptive changes as examples
1 parent 2d9413d commit 142db5f

File tree

2 files changed

+22
-18
lines changed

2 files changed

+22
-18
lines changed
Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
# Postfix configuration for version 2.5 and up
2-
in_flow_delay = ${stress?3}${stress:1}s
3-
smtp_connect_timeout = ${stress?10}${stress:30}s
4-
smtp_helo_timeout = ${stress?10}${stress:60}s
5-
smtp_mail_timeout = ${stress?10}${stress:60}s
6-
smtpd_error_sleep_time = ${stress?1}${stress:2}s
7-
smtpd_hard_error_limit = ${stress?1}${stress:10}
8-
smtpd_recipient_overshoot_limit = ${stress?60}${stress:600}
9-
smtpd_soft_error_limit = ${stress?2}${stress:5}
10-
smtpd_timeout = ${stress?10}${stress:60}s
2+
3+
# These will make postfix adapt more to load spikes
4+
#in_flow_delay = ${stress?3}${stress:1}s
5+
#smtp_connect_timeout = ${stress?10}${stress:30}s
6+
#smtp_helo_timeout = ${stress?10}${stress:60}s
7+
#smtp_mail_timeout = ${stress?10}${stress:60}s
8+
#smtpd_error_sleep_time = ${stress?1}${stress:2}s
9+
#smtpd_hard_error_limit = ${stress?1}${stress:10}
10+
#smtpd_recipient_overshoot_limit = ${stress?60}${stress:600}
11+
#smtpd_soft_error_limit = ${stress?2}${stress:5}
12+
#smtpd_timeout = ${stress?10}${stress:60}s
1113

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
# Postfix configuration for version 3.0 and up
2-
in_flow_delay = ${stress?{3}:{1}}s
3-
smtp_connect_timeout = ${stress?{10}:{30}}s
4-
smtp_helo_timeout = ${stress?{10}:{60}}s
5-
smtp_mail_timeout = ${stress?{10}:{60}}s
6-
smtpd_error_sleep_time = ${stress?{1}:{2}}s
7-
smtpd_hard_error_limit = ${stress?{1}:{10}}
8-
smtpd_recipient_overshoot_limit = ${stress?{60}:{600}}
9-
smtpd_soft_error_limit = ${stress?{2}:{5}}
10-
smtpd_timeout = ${stress?{10}:{60}}s
2+
3+
# These will make postfix adapt more to load spikes
4+
# in_flow_delay = ${stress?{3}:{1}}s
5+
# smtp_connect_timeout = ${stress?{10}:{30}}s
6+
# smtp_helo_timeout = ${stress?{10}:{60}}s
7+
# smtp_mail_timeout = ${stress?{10}:{60}}s
8+
# smtpd_error_sleep_time = ${stress?{1}:{2}}s
9+
# smtpd_hard_error_limit = ${stress?{1}:{10}}
10+
# smtpd_recipient_overshoot_limit = ${stress?{60}:{600}}
11+
# smtpd_soft_error_limit = ${stress?{2}:{5}}
12+
# smtpd_timeout = ${stress?{10}:{60}}s
1113

0 commit comments

Comments
 (0)