-smtpallowed = []
-
-if not nodeinfo['smarthost'].empty?
- smtpallowed = [ '$HOST_MAILRELAY_V4', '$HOST_NAGIOS_V4' ]
-end
-
-if smtpallowed.length == 0
- smtpallowed = [ '0.0.0.0/0' ]
-end
-
-smtpallowed.join(' ')
-%>);
-
-def $SMTP_V6_SOURCES =(<%=
-
-smtpallowed = []
-
-if not nodeinfo['smarthost'].empty?
- smtpallowed = [ '$HOST_MAILRELAY_V6', '$HOST_NAGIOS_V6' ]
-end
-
-if smtpallowed.length == 0
- smtpallowed = [ '::' ]
-end