Bluehost.com Web Hosting $6.95

Re: where are the three "too many errors" ?

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 "...


Go Back   Usenet Forums > Mail Servers and Related > mailing.postfix.users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-06-2004
Victor Duchovni
 
Posts: n/a
Default Re: where are the three "too many errors" ?

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>

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 09:25 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0