exim: Use the external DNS name in HELO commands.
[matthijs/servers/drsnuggles.git] / etc / exim4 / conf.d / main / main_config
index a3996d27d4c6546d3c0788e50198e549ab4f4f8e..fd84263b87c252f0089c2ba6ec93d542deca35af 100644 (file)
@@ -23,12 +23,18 @@ domainlist relay_to_domains = fizzgig.eu : fizzgig.nl
 # at first glance.
 hostlist relay_from_hosts = *.drsnuggles.stderr.nl : drsnuggles.stderr.nl 
 
+# Don't reject spam from these hosts, since they are known dumb, but trusted
+# relays. They will only send rejects to the wrong people.
+hostlist dont_reject_spam_hosts = katherina.student.utwente.nl : kat.student.utwente.nl : *.utsp.utwente.nl
+
 # Use this domain on any unqualified addresses that get submitted. Since this
 # 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 = ^([^,:]*)
@@ -63,6 +69,7 @@ spool_directory = /var/spool/exim4
 delay_warning =
 
 # Log subjects, for easy tracing of messages and peer dn on TLS connections.
-log_selector = +subject +tls_peerdn +tls_certificate_verified
+# Don't log complete headers on rejects, that clutters the log.
+log_selector = +subject +tls_peerdn +tls_certificate_verified -rejected_header
 
 # vim: set sts=2 expandtab sw=2 ai: