2 ## THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE.
3 ## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
6 ## domain: hostname[::port] options
8 ## buildd.debian.org: raff.debian.org::587 byname
16 when 'spohr.debian.org', 'draghi.debian.org', 'merikanto.debian.org' then
17 mxmatches << 'mailout.debian.org'
18 extraroutes = [ "keyring.debian.org:\t\tkaufmann.debian.org" ]
21 mxregex = Regexp.new('^\d+\s+(.*)\.$')
22 mxinfo.keys.sort.each do |host|
23 mxinfo[host][0]['mXRecord'].each do |mx|
24 mxmatch = mxregex.match(mx)
25 if mxmatches.include?(mxmatch[1])
26 route = host + ":\t\t" + host
27 if localinfo.has_key?(host) and localinfo[host].has_key?('mail_port') and localinfo[host]['mail_port'].to_s != ''
28 route += "::" + localinfo[host]['mail_port'].to_s