projects
/
matthijs
/
servers
/
drsnuggles.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
152b224
)
exim4: Let exim know its external hostname.
author
Matthijs Kooijman
<matthijs@stdin.nl>
Thu, 30 Apr 2009 14:56:16 +0000
(16:56 +0200)
committer
Matthijs Kooijman
<matthijs@stdin.nl>
Thu, 30 Apr 2009 14:56:16 +0000
(16:56 +0200)
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
patch
|
blob
|
history
diff --git
a/etc/exim4/conf.d/main/main_config
b/etc/exim4/conf.d/main/main_config
index b4dcb3af2296abd29eb5bbe09a487750f57611bc..60a850081b4120b25bf8effa9c61f0bb021dfa4c 100644
(file)
--- 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