exim: Use the external DNS name in HELO commands.
[matthijs/servers/drsnuggles.git] / etc / exim4 / conf.d / main / main_config
index 771d2b6d5d775f157394adef970e74bc994fdd5f..fd84263b87c252f0089c2ba6ec93d542deca35af 100644 (file)
@@ -31,8 +31,10 @@ hostlist dont_reject_spam_hosts = katherina.student.utwente.nl : kat.student.utw
 # can come from any vserver, just use our main hostname.
 qualify_domain = drsnuggles.stderr.nl
 
-# Let exim know how the rest of the world will try to reach us.
-hosts_treat_as_local = drsnuggles.stderr.nl
+# Let exim know how the rest of the world will try to reach us. The
+# stmp transport also uses this macro for its helo command.
+EXTERNAL_HOSTNAME = drsnuggles.stderr.nl
+hosts_treat_as_local = EXTERNAL_HOSTNAME
 
 # The gecos field in /etc/passwd holds not only the name. see passwd(5).
 gecos_pattern = ^([^,:]*)