On Wed, 17 Oct 2012, Wietse Venema wrote:

Tomas Macek:
So my question is how can I get this error message on my own computer,
when I did not sent any email to the server in last hour? According to
this experience, this seems to be per server settings. Or am I missing
something?

The error counter is a PER SESSION property. It starts at zero,
then it is incremented by one for every error reply.

- What error replies does the client receive? Look at the
maillog file after:

   # postconf -e "debug_peer_list = address-of-client"
   # postfix reload

- How many error replies before Postfix hangs up?

   $ postconf smtpd_hard_error_limit

        Wietse


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
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}

The strange thing is, that my IP adress was blocked with 421, when I send that day just a few mails (using Alpine on Linux). But the server was under heavy load, so the smtpd_*_error_limit seemed to me to be per server options, not per session, because I didn't see any reason why my computer should receive 421 from the server.

Tomas

Reply via email to