Re: [Exim] Small bug in the spec.txt

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Pavel Gulchouck
CC: exim-users
Subject: Re: [Exim] Small bug in the spec.txt
On Tue, 30 Sep 2003, Pavel Gulchouck wrote:

> spec.txt:
>
> While running an ACL at the time of an SMTP RCPT command, $message_size
> contains the size supplied on the MAIL command, or zero if no size was
> given.
>
> Really, $message_size is "-1" if no size was given.


Noted, thanks.

> Btw, how can I differ SMTP and ESMTP on helo/ehlo phase?
> $received_protocol is "smtp" in the both cases.


A quick look at the code shows that $received_prococol is reset only
after the command is accepted by the ACL (which seems correct). So
currently, you cannot do this.

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book