From: Matthijs Kooijman Date: Thu, 30 Apr 2009 14:56:16 +0000 (+0200) Subject: exim4: Let exim know its external hostname. X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fservers%2Fdrsnuggles.git;a=commitdiff_plain;h=13dff1fdfc3e919673aa0c68f6545651e6654966 exim4: Let exim know its external hostname. This allows relaying to other domains (e.g., work as a backup MX) to work, since exim knows defer mails instead of sending them to itself again. --- diff --git a/etc/exim4/conf.d/main/main_config b/etc/exim4/conf.d/main/main_config index b4dcb3a..60a8500 100644 --- a/etc/exim4/conf.d/main/main_config +++ b/etc/exim4/conf.d/main/main_config @@ -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