Author: Matthew Newton Date: To: Jeremy Harris CC: exim-users Subject: Re: [exim] spaces and quotes
Hi,
On Sun, Aug 09, 2015 at 08:56:50PM +0100, Jeremy Harris wrote: > On 09/08/15 04:28, Jasen Betts wrote:
> > server 1 tries to forward it to server 2 (relay) but server 1 uses
> > ESMTP "EHLO" and falls foul of this MAIL command parsing bug. generates a
> > bounce and then successfully delivers the bounce to server 2.
>
> This code hasn't changed much recently, and HEAD is passing all
> the testing I throw at it. Can you grab a packet capture
> and verify there really a second doublequote, not some
> damnnable UTF-8 thing that looks like one?
>
> (grasping at straws, now)
Did a few quick tests, in case it's useful:
Debian wheezy system (oldstable):
$ nc -v localhost 25
localhost.localdomain [127.0.0.1] 25 (smtp) open
220 XXXXX ESMTP Exim 4.80 Sun, 09 Aug 2015 23:17:31 +0100
ehlo me
250-XXXXX Hello localhost [127.0.0.1]
250-SIZE 52428800
250-8BITMIME
250-PIPELINING
250 HELP
mail from: <"a b"@localhost>
550 send not permitted
quit
221 XXXXX closing connection
$
$ nc -v localhost 25
localhost.localdomain [127.0.0.1] 25 (smtp) open
220 XXXXX ESMTP Exim 4.80 Sun, 09 Aug 2015 23:17:51 +0100
helo me
250 XXXXX Hello localhost [127.0.0.1]
mail from: <"a b"@localhost>
550 send not permitted
quit
221 XXXXX closing connection
$
Debian jessie (stable) system:
$ nc -v localhost 25
localhost.localdomain [127.0.0.1] 25 (smtp) open
220 XXXXXXXXX ESMTP Exim 4.84 Sun, 09 Aug 2015 23:13:24 +0100
ehlo me
250-XXXXXXXXX Hello localhost [127.0.0.1]
250-SIZE 52428800
250-8BITMIME
250-PIPELINING
250 HELP
mail from: <"a b"@localhost>
501 <"a: unmatched doublequote in local part
quit
221 XXXXXXXXX closing connection
$
$ nc -v localhost 25
localhost.localdomain [127.0.0.1] 25 (smtp) open
220 XXXXXXXXX ESMTP Exim 4.84 Sun, 09 Aug 2015 23:16:29 +0100
helo me
250 XXXXXXXXX Hello localhost [127.0.0.1]
mail from: <"a b"@localhost>
550 send not permitted
quit
221 XXXXXXXXX closing connection
$
So something has changed between 4.80 and 4.84, at least in the Debian version,
to break EHLO.
Both these two systems have the same (local, non-Debian) exim config.
Cheers,
Matthew
--
Matthew Newton, Ph.D. <mcn4@???>
Systems Specialist, Infrastructure Services,
I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom
For IT help contact helpdesk extn. 2253, <ithelp@???>