projects
/
matthijs
/
servers
/
drsnuggles.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
exim: Use the external DNS name in HELO commands.
[matthijs/servers/drsnuggles.git]
/
etc
/
exim4
/
conf.d
/
transport
/
30_remote_smtp
diff --git
a/etc/exim4/conf.d/transport/30_remote_smtp
b/etc/exim4/conf.d/transport/30_remote_smtp
index 2b05dee13c446b40081c204789429a207cf99735..7896c30e435acafc8c497cd5ce2284f5931aa3ab 100644
(file)
--- a/
etc/exim4/conf.d/transport/30_remote_smtp
+++ b/
etc/exim4/conf.d/transport/30_remote_smtp
@@
-6,5
+6,9
@@
remote_smtp:
debug_print = "T: remote_smtp for $local_part@$domain"
driver = smtp
remote_smtp:
debug_print = "T: remote_smtp for $local_part@$domain"
driver = smtp
+ # Use a different hostname in our helo command, since our
+ # primary_hostname is not in public DNS. EXTERNAL_HOSTNAME is a macro
+ # defined in the main config.
+ helo_data = EXTERNAL_HOSTNAME
# vim: set sts=2 expandtab sw=2 ai:
# vim: set sts=2 expandtab sw=2 ai: