Browse Source

Support mailhelo.conf

Ernesto Nicolás Carrea 5 years ago
parent
commit
94ed900a74
1 changed files with 1 additions and 1 deletions
  1. 1 1
      install/rhel/exim/exim.conf

+ 1 - 1
install/rhel/exim/exim.conf

@@ -325,7 +325,7 @@ begin transports
 
 remote_smtp:
   driver = smtp
-  helo_data = ${primary_hostname}
+  helo_data = ${if exists {/etc/exim/mailhelo.conf}{${lookup{$sender_address_domain}lsearch*{/etc/exim/mailhelo.conf}{$value}{$primary_hostname}}}{$primary_hostname}}
   dkim_domain = DKIM_DOMAIN
   dkim_selector = mail
   dkim_private_key = DKIM_PRIVATE_KEY