dicktump
Verified User
We have upgraded several servers to exim.conf version 4.4.2 from old exim.conf versions (mostly 2.x). Since the upgrade, users are reporting that they can't send email from Roundcube.
This is the error from Exim: Bad HELO - Host impersonating hostname
All our servers have IPv6 and it seems that IPv6 together with the new exim.conf does not work:
Servers with IPv6 try to connect over the IPv6 localhost
:1) by default, so that explains why Roundcube has this problem.
I have done a quick (but very ugly) fix by removing the following lines from exim.conf:
and
Is this a bug in the Exim configuration, or is there something else wrong with the configuration?
This is the error from Exim: Bad HELO - Host impersonating hostname
All our servers have IPv6 and it seems that IPv6 together with the new exim.conf does not work:
Code:
[root@da7 custombuild]# telnet localhost 25
Trying ::1...
Connected to localhost.
Escape character is '^]'.
220 da7.cloud.shockmedia.nl ESMTP Exim 4.86.2 Wed, 01 Jun 2016 14:56:37 +0200
HELO da7.cloud.shockmedia.nl
550 Bad HELO - Host impersonating hostname [da7.cloud.shockmedia.nl]
Code:
[root@da7 custombuild]# telnet 127.0.0.1 25
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
220 da7.cloud.shockmedia.nl ESMTP Exim 4.86.2 Wed, 01 Jun 2016 15:03:27 +0200
HELO da7.cloud.shockmedia.nl
250 da7.cloud.shockmedia.nl Hello localhost [127.0.0.1]
Servers with IPv6 try to connect over the IPv6 localhost

I have done a quick (but very ugly) fix by removing the following lines from exim.conf:
Code:
# deny if the HELO pretends to be this host
deny message = HELO_HOST_IMPERSANATION
condition = ${if or { \
{eq{$sender_helo_name}{$smtp_active_hostname}} \
{eq{$sender_helo_name}{[$interface_address]}} \
} {true}{false} }
and
Code:
deny message = HELO_IS_LOCAL_DOMAIN
condition = ${if match_domain{$sender_helo_name}{+local_domains}{true}{false}}
hosts = ! +relay_hosts
Is this a bug in the Exim configuration, or is there something else wrong with the configuration?