From 13dff1fdfc3e919673aa0c68f6545651e6654966 Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Thu, 30 Apr 2009 16:56:16 +0200 Subject: [PATCH] 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. --- etc/exim4/conf.d/main/main_config | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.30.2