Re: [Exim] more 4.11 problems :-/

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Rick Ennis
Fecha:  
A: Philip Hazel
Cc: Exim-users, Nico Erfurth
Asunto: Re: [Exim] more 4.11 problems :-/
Philip,

I think I found it. In "smtp_read_command()", smtp_in.c, line 440, your

    if (!p->is_mail_cmd &&
        ++nonmail_command_count > smtp_accept_max_nonmail)


the "++" is incrementing the variable before any of the 'if' is evaluated.
It's not conditionally incremented as intended. So something like...

    if (!p->is_mail_cmd)
      if (++nonmail_command_count > smtp_accept_max_nonmail)


probably ought to fix it.



----- Original Message -----
From: "Philip Hazel" <ph10@???>
To: "Rick Ennis" <rge1@???>
Cc: "Exim-users" <Exim-users@???>; "Nico Erfurth" <masta@???>
Sent: Friday, December 13, 2002 5:49 AM
Subject: Re: [Exim] more 4.11 problems :-/


> On Fri, 13 Dec 2002, Rick Ennis wrote:
>
> > Are you using TLS between your server and your backup? In the case of
> > multiple messages going down the same TLS connection, is exim still

shutting
> > down TLS and reinitializing it for each message? Each STARTTLS command
> > counts as a non-mail command. So that might be the bug. I can't search

the
> > archives at the moment (web server error) but I found this in my

mailbox...
>
> Nice idea, but I don't think it can be the bug because the count of
> non-mail commands is not passed from one instance of Exim to the next.
>
> Note that you can set the limit on non-mail commands using
> smtp_accept_max_nonmail (default is 10).
>
> --
> Philip Hazel            University of Cambridge Computing Service,
> ph10@???      Cambridge, England. Phone: +44 1223 334714.