projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
afs on draghi
[mirror/dsa-puppet.git]
/
modules
/
exim
/
templates
/
manualroute.erb
diff --git
a/modules/exim/templates/manualroute.erb
b/modules/exim/templates/manualroute.erb
index
07ddf55
..
2b84b4e
100644
(file)
--- a/
modules/exim/templates/manualroute.erb
+++ b/
modules/exim/templates/manualroute.erb
@@
-19,8
+19,8
@@
when 'spohr.debian.org', 'draghi.debian.org', 'merikanto.debian.org' then
end
mxregex = Regexp.new('^\d+\s+(.*)\.$')
end
mxregex = Regexp.new('^\d+\s+(.*)\.$')
-
ldapall
.keys.sort.each do |host|
-
ldapall
[host]['mXRecord'].each do |mx|
+
mxinfo
.keys.sort.each do |host|
+
mxinfo
[host]['mXRecord'].each do |mx|
mxmatch = mxregex.match(mx)
if mxmatches.include?(mxmatch[1])
route = host + ":\t\t" + host
mxmatch = mxregex.match(mx)
if mxmatches.include?(mxmatch[1])
route = host + ":\t\t" + host