This is a discussion on Re: where are the three "too many errors" ? within the mailing.postfix.users forums, part of the Mail Servers and Related category; On Wed, Oct 06, 2004 at 01:17:24PM -0500, Len Conrad wrote: > >The client proceeded to "...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
On Wed, Oct 06, 2004 at 01:17:24PM -0500, Len Conrad wrote:
> >The client proceeded to "DATA" (pipelined) in the absense of any > >accepted recipients. The DATA command was also rejected (per the > >pipelining RFC) making 2 errors. You error limit is 2 (not 3). > > I know, of course, but I said 3 (first 5xx beyond the limit) because that's > the disco occurs and the "too many" logged. > > thanks for the clarification as to why I saw no 2nd 5xx explicitly logged. > Postfix (recent enough) disconnects when the limit is reached, not when it is exceeded. src/smtpd/smtpd.c:smtpd_proto() ... for(;;) { if (state->error_count >= var_smtpd_hard_erlim) { state->reason = "too many errors"; state->error_mask |= MAIL_ERROR_PROTOCOL; smtpd_chat_reply(state, "421 %s Error: too many errors", var_myhostname); break; } ... process SMTP commands ... } -- Viktor. Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the "Reply-To" header. To unsubscribe from the postfix-users list, visit http://www.postfix.org/lists.html or click the link below: <mailto:majordomo@postfix.org?body=unsubscribe%20p ostfix-users> |