Tim Landscheidt has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/127481

Change subject: Tools: Remove faulty exim configuration
......................................................................

Tools: Remove faulty exim configuration

The present exim configuration seems to contain a typo
("relay_domains" vs. "relay_to_domains") which fills
/var/log/exim4/paniclog with lines like:

| 2014-04-16 21:07:26 unknown named domain list "+relay_domains"
| 2014-04-16 21:07:38 unknown named domain list "+relay_domains"
| 2014-04-16 21:16:34 unknown named domain list "+relay_domains"

ad nauseam.  As the configuration doesn't allow for any relaying at
all, this change removes the dead code altogether.

The error has appeared more often only recently.  This suggests that
only recently something has started to try sending mails to a
non-local domain.

Change-Id: I20afa5fb2be7d8b9cf5c3bf4018377d0e847daef
---
M modules/toollabs/templates/exim4.conf.erb
1 file changed, 1 insertion(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/81/127481/1

diff --git a/modules/toollabs/templates/exim4.conf.erb 
b/modules/toollabs/templates/exim4.conf.erb
index eb2c660..bfad6a1 100644
--- a/modules/toollabs/templates/exim4.conf.erb
+++ b/modules/toollabs/templates/exim4.conf.erb
@@ -8,7 +8,6 @@
 qualify_domain = <%= @maildomain %>
 
 domainlist local_domains = <%= @maildomain %>
-domainlist relay_to_domains =
 hostlist relay_from_hosts = 10.0.0.0/8
 
 acl_smtp_rcpt = acl_check_rcpt
@@ -44,7 +43,7 @@
         control       = submission
 
 require message = relay not permitted
-        domains = +local_domains : +relay_domains
+        domains = +local_domains
 
 require verify = recipient
 

-- 
To view, visit https://gerrit.wikimedia.org/r/127481
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I20afa5fb2be7d8b9cf5c3bf4018377d0e847daef
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Tim Landscheidt <t...@tim-landscheidt.de>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to