- nodeinfo['porterbox'] = (nodeinfo['ldap']['purpose'].respond_to?('include?') && nodeinfo['ldap']['purpose'].include?('porterbox'))
-
- if lookupvar('::mta') == 'exim4'
- unless nodeinfo['heavy_exim']
- nodeinfo['smarthost'] = 'mailout.debian.org'
- end
- elsif lookupvar('::mta') == 'postfix'
- unless nodeinfo['heavy_postfix']
- nodeinfo['smarthost'] = 'mailout.debian.org'
- end
- end