Wietse Venema:
> John Fawcett:
> > I would like to propose the following addition. As well as logging
> > error_count as per the original patch, it also logs the number of
> > messages accepted during the smtp session. The aim of that would be to
> > identify clients that repeatedly connect and never attempt delivery.
> 
> Why do you even care? Remember, when the client sends no mail, then
> the error count reflects all rejected commands in the entire session.
> 
> I don't think it is a good idea to expose random pieces of SMTP
> engine internals.

On the subject of sending commands without sending mail, a related
counter is the "junk" command counter that is incremented with each
HELO, EHLO, RSET, NOOP, VRFY, ETRN command (any command that can
be repeated indefinitely without triggering an error response).

Like the error counter, this counter has a limit, and it
is reset after a successful mail delivery transaction.

        Wietse

Reply via email to