On Wed, 17 Oct 2012, Wietse Venema wrote:
Tomas Macek:
The part of the log is here:
Oct 11 12:26:44 mail postfix/smtpd[4546]: < my.pc.host.name[x.x.x.x]: RSET
Oct 11 12:26:44 mail postfix/smtpd[4546]: > my.pc.host.name[x.x.x.]: 250 2.0.0
Ok
Oct 11 12:26:44 mail postfix/smtpd[4546]: > my.pc.host.name[x.x.x.x]: 421 4.7.0
our.server.name Error: too many errors
Postfix does not allow clients to send an unlimited number of
commands like NOOP or RSET.
The default setting is:
smtpd_junk_command_limit = ${stress?1}${stress:100}
This means: under server overload conditions, Postfix will immediately
disconnect a client that sends commands like NOOP or RSET, instead
of sending mail.
Oct 11 12:26:44 mail postfix/smtpd[4546]: too many errors after RSET from
my.pc.host.name[x.x.x.x]
The "postconf smtpd_hard_error_limit" output:
smtpd_hard_error_limit = ${stress?1}${stress:20}
What was the effective hard error limit: 1 or 20?
I still don't understand what exactly means the ${stress?1}${stress:20}
writing. According to the doc, the server should have this set normally
to 20, in stress to just 1. How can I know, what was the actual setting?
Look at the output from:
$ grep STRESS the-maillog-file
Many thanks, now I see it:
Oct 11 12:24:45 mail postfix/master[10574]: warning: service "smtp" (25)
has reached its process limit "100": new clients may experience noticeable
delays
Oct 11 12:24:45 mail postfix/master[10574]: warning: to avoid this
condition, increase the process count in master.cf or reduce the service
time per client
Oct 11 12:24:45 mail postfix/master[10574]: warning: see
http://www.postfix.org/STRESS_README.html for examples of stress-adapting
configuration settings
I will read the stress-adapting document.
Tomas