[Pkg-exim4-users] Setting HELO string with macro REMOTE_SMTP_HELO_DATA
Paul Menzel
paulepanter at users.sourceforge.net
Wed Aug 11 09:13:48 BST 2021
Dear Debian Exim folks,
I am using exim4-config 4.94.2-7, and try to set the HELO string, as
the configured hostname does not match the name configured in the DNS
records.
$ more /etc/exim4/conf.d/main/000_localmacros
MAIN_TLS_ENABLE = true
daemon_smtp_port = 25:587
REMOTE_SMTP_HELO_DATA = mail.gw90.de
But Exim still announces the hostname from `hostname -f` to the other
MTA and not the one from `000_localmacros`.
`/etc/exim4/conf.d/transport/10_exim4-config_transport-macros` has:
.ifdef REMOTE_SMTP_HELO_FROM_DNS
.ifdef REMOTE_SMTP_HELO_DATA
REMOTE_SMTP_HELO_DATA==${lookup dnsdb {ptr=$sending_ip_address}{$value}{$primary_hostname}}
.else
REMOTE_SMTP_HELO_DATA=${lookup dnsdb {ptr=$sending_ip_address}{$value}{$primary_hostname}}
.endif
.endif
`/etc/exim4/conf.d/transport/30_exim4-config_remote_smtp` has:
.ifdef REMOTE_SMTP_HELO_DATA
helo_data=REMOTE_SMTP_HELO_DATA
.endif
What am I missing? (As a workaround I changed the hostname, but that is
not wanted.)
Kind regards,
Paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/pkg-exim4-users/attachments/20210811/60a4b23b/attachment.sig>
More information about the Pkg-exim4-users
mailing list