exim4: Let exim know its external hostname.
[matthijs/servers/drsnuggles.git] / etc / exim4 / conf.d / main / main_config
index 9d05b0ed5d976e5f09bd1e845ab7d7d00de26893..60a850081b4120b25bf8effa9c61f0bb021dfa4c 100644 (file)
@@ -8,11 +8,11 @@ LDAPBASE=dc=drsnuggles,dc=stderr,dc=nl
 
 # List of virtual domains for which we deliver to any address that happens to
 # be configured in the LDAP directory.
-domainlist virtual_domains = stdout.nl : blues-brothers.eu
+domainlist virtual_domains = stdin.nl : stderr.nl : stdout.nl : blues-brothers.eu : foresightsecurity.nl
 # List of real hosts for which we deliver mail to real users.
 domainlist real_domains = *.drsnuggles.stderr.nl : drsnuggles.stderr.nl
 # The list of domains for which we handle mail ourselves
-domainlist local_domains = virtual_domains : real_domains
+domainlist local_domains = +virtual_domains : +real_domains
 
 # List of recipient domains to relay _to_. Use this list if you're -
 # for example - fallback MX or mail gateway for domains.
@@ -27,6 +27,9 @@ hostlist relay_from_hosts = *.drsnuggles.stderr.nl : drsnuggles.stderr.nl
 # 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
+
 # The gecos field in /etc/passwd holds not only the name. see passwd(5).
 gecos_pattern = ^([^,:]*)
 gecos_name = $1
@@ -59,3 +62,5 @@ spool_directory = /var/spool/exim4
 
 # Log subjects, for easy tracing of messages and peer dn on TLS connections.
 log_selector = +subject +tls_peerdn +tls_certificate_verified
+
+# vim: set sts=2 expandtab sw=2 ai: