[Pkg-exim4-users] Setting HELO string with macro REMOTE_SMTP_HELO_DATA
u34 at net9.ga
u34 at net9.ga
Wed Aug 11 14:05:44 BST 2021
Paul Menzel <paulepanter at users.sourceforge.net> wrote:
> 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
Perhaps because REMOTE_SMTP_HELO_FROM_DNS is not defined?
> .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
--
u34
More information about the Pkg-exim4-users
mailing list