summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Arendsen Hein <thomas@intevation.de>2007-12-12 14:40:17 (GMT)
committerThomas Arendsen Hein <thomas@intevation.de>2007-12-12 14:40:17 (GMT)
commit1a3f9017284dbf6e0782ab68a2c80a93d9555c2f (patch)
tree50f2de4c5d46ac91e74a1dbad767a98ff5d269d5
parent35dfd735ce605cbb786e8448f19eb1ad1b88f65b (diff)
downloadkolab-conf-1a3f9017284dbf6e0782ab68a2c80a93d9555c2f.tar.gz
Don't trigger the loop detection for two servers on one machine (kolab/issue26)
-rw-r--r--conf/templates/main.cf.template.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/conf/templates/main.cf.template.in b/conf/templates/main.cf.template.in
index d4f3803..a2173b4 100644
--- a/conf/templates/main.cf.template.in
+++ b/conf/templates/main.cf.template.in
@@ -54,7 +54,10 @@ masquerade_classes = envelope_sender, envelope_recipient,
# smtp daemon
#smtpd_banner = $myhostname ESMTP $mail_name
-#inet_interfaces = 127.0.0.1
+@@@if bind_any@@@
+@@@else@@@
+inet_interfaces = @@@local_addr@@@, @@@bind_addr@@@
+@@@endif@@@
# relaying
mynetworks = @@@postfix-mynetworks|join( )@@@