On 2015-08-08, Evgeniy Berdnikov <bd4@???> wrote: > On Sat, Aug 08, 2015 at 02:55:55AM +0000, Jasen Betts wrote:
>> Exim doesn't seem to like spaces in sender email addresses,
>> is this intentional?
>> is there a way to turn this check off?
>> AFAICT this address is RFC compliant.
>>
>> patrial transcript >> 501 <"a: unmatched doublequote in local part
>
> From Debian/testing without modifications: > 250 OK > Exim version 4.86 #3 built 26-Jul-2015 16:35:33
Debian stable here, pretty sure it's unmodified,
Exim version 4.84 #3 built 17-Feb-2015 17:45:49
strangely, it works after HELO but fails after EHLO. did you do EHLO?
it may be the parameter parsing of the ESMTP mail command is splitting
on spaces too early.
> However, attempts to handle such addresses are completely pointless.
> Legacy RFC is overloaded by commonly unused features which have no
> practical meaning but exist as historican garbage.
In this case I'm supposed to be relaying for a fax machine that puts
a phone number (with spaces) in the local part of the retuyrn path.
The fax machine uses SMTP "HELO" and delivers the mail to server 1 (inbound)
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.