[Pkg-exim4-users] Setting HELO string with macro REMOTE_SMTP_HELO_DATA

Paul Menzel paulepanter at users.sourceforge.net
Fri Aug 13 14:59:26 BST 2021


Dear Andreas,


Thank you very much for your reply.


Am Mittwoch, dem 11.08.2021 um 18:16 +0200 schrieb Andreas Metzler:
> On 2021-08-11 Paul Menzel <paulepanter at users.sourceforge.net> wrote:
> > 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:
> [unchanged config files]
> > What am I missing? (As a workaround I changed the hostname, but that is
> > not wanted.)

> does the setting end up in the configuration at all?
> exim4 -bP macros | grep REMOTE_SMTP_HELO_DATA
> Are you using a locally set up different transport (You could see
> the name of the transport in the logfile.)

Yes, I have a custom transport for the mailing list manager Sympa.

```
$ ls -l /etc/exim4/conf.d/transport/
total 52
-rw-r--r--. 1 root root  544 Feb 19  2005 00_exim4-config_header
-rw-r--r--. 1 root root  802 Mar 18 12:53 10_exim4-config_transport-macros
-rw-r--r--. 1 root root  740 Jan 28  2009 20_local-config_sympa
-rw-r--r--. 1 root root  269 Feb 19  2005 30_exim4-config_address_file
-rw-r--r--. 1 root root  365 Dec 18  2005 30_exim4-config_address_pipe
-rw-r--r--. 1 root root  208 Feb 19  2005 30_exim4-config_address_reply
-rw-r--r--. 1 root root 1186 Aug 31  2006 30_exim4-config_maildir_home
-rw-r--r--. 1 root root  258 Nov 18  2014 30_exim4-config_maildrop_pipe
-rw-r--r--. 1 root root  385 Mar 18 12:53 30_exim4-config_mail_spool
-rw-r--r--. 1 root root  220 Feb 19  2005 30_exim4-config_procmail_pipe
-rw-r--r--. 1 root root 1768 Mar 18 12:53 30_exim4-config_remote_smtp
-rw-r--r--. 1 root root 1960 Mar 18 12:53 30_exim4-config_remote_smtp_smarthost
-rw-r--r--. 1 root root  414 Oct 21  2006 35_exim4-config_address_directory
$ more /etc/exim4/conf.d/transport/20_local-config_sympa
### Sympa transport
sympa_transport:
  debug_print = "T: sympa_transport for $local_part$local_part_suffix@$domain"
  driver = pipe
  command = SYMPA_QUEUE $local_part$local_part_suffix@$domain
  current_directory = SYMPA_HOME
  home_directory = SYMPA_HOME
  user = SYMPA_UID
  group = SYMPA_GID

sympaowner_transport:
  debug_print = "T: sympaowner_transport for $local_part@$domain"
  driver = pipe
  command = SYMPA_BOUNCEQUEUE $local_part@$domain
  current_directory = SYMPA_HOME
  home_directory = SYMPA_HOME
  user = SYMPA_UID
  group = SYMPA_GID

sympabounce_transport:
  driver = pipe
  command = SYMPA_BOUNCEQUEUE sympa@$domain
  current_directory = SYMPA_HOME
  home_directory = SYMPA_HOME
  user = SYMPA_UID
  group = SYMPA_GID

```

Do I need to order it differently?


Thanks,

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/20210813/c8d2ad69/attachment.sig>


More information about the Pkg-exim4-users mailing list