https://bugs.exim.org/show_bug.cgi?id=2025

            Bug ID: 2025
           Summary: Whitespace gets rewritten to equal when using EHLO
           Product: Exim
           Version: 4.87
          Hardware: x86
                OS: All
            Status: NEW
          Severity: bug
          Priority: medium
         Component: ACLs
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

Created attachment 971
  --> https://bugs.exim.org/attachment.cgi?id=971&action=edit
Debug log of the bug.

When using EHLO the last whitespace from a recipient address gets converted to
a equal sign. Thus causing issues with delivering emails to such addresses.

Using exim version from debian and standard configuration:

====
$ apt-cache policy exim4-daemon-heavy
exim4-daemon-heavy:
  Installed: 4.87-3+b1
  Candidate: 4.87-3+b1
$ exim -bV
Exim version 4.87 #1 built 08-May-2016 12:03:10
Copyright (c) University of Cambridge, 1995 - 2016
(c) The Exim Maintainers and contributors in ACKNOWLEDGMENTS file, 2007 - 2016
Berkeley DB: Berkeley DB 5.3.28: (September  9, 2013)
Support for: crypteq iconv() IPv6 PAM Perl Expand_dlfunc GnuTLS
move_frozen_messages Content_Scanning DKIM DNSSEC Event OCSP PRDR SOCKS
Lookups (built-in): lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmjz
dbmnz dnsdb dsearch ldap ldapdn ldapm mysql nis nis0 passwd pgsql sqlite
Authenticators: cram_md5 cyrus_sasl dovecot plaintext spa tls
Routers: accept dnslookup ipliteral iplookup manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore/mbx autoreply lmtp pipe smtp
Fixed never_users: 0
Size of off_t: 8
Configuration file is /var/lib/exim4/config.autogenerated
====

Calling `exim -d+all -bhc 127.0.0.1` shows:

===
rcpt to:<"a b"@simplyspamfree.com>
13:00:35 12035 SMTP<< rcpt to:<"a b"@simplyspamfree.com>
13:00:35 12035 Invalid RCPT option: b"@simplyspamfree.com> :
b"@simplyspamfree.com>
< SNIP >
13:00:35 12035 a=b in "postmaster"? no (end of list)
===

When HELO is used instead of EHLO this does NOT replicate.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim 
details at http://www.exim.org/ ##

Reply via email to