Signed-off-by: Stephen Gran <steve@lobefin.net>
results['mail_port'] = ''
results['smarthost'] = ''
- results['heavy_exim'] = ""
+ results['heavy_exim'] = ''
results['smarthost_port'] = 587
results['reservedaddrs'] = '0.0.0.0/8 : 127.0.0.0/8 : 10.0.0.0/8 : 169.254.0.0/16 : 172.16.0.0/12 : 192.0.0.0/17 : 192.168.0.0/16 : 224.0.0.0/4 : 240.0.0.0/5 : 248.0.0.0/5'
<%=
out=''
-if not nodeinfo['heavy_exim'].empty?
+if nodeinfo.has_key?('heavy_exim') and not nodeinfo['heavy_exim'].empty?
out = "
perl_startup = do '/etc/exim4/exim_surbl.pl'
"
<%=
out=''
-if not nodeinfo['heavy_exim'].empty?
+if nodeinfo.has_key?('heavy_exim') and not nodeinfo['heavy_exim'].empty?
out='
deny condition = ${if <{$message_size}{256000}}
set acl_m5 = ${perl{surblspamcheck}}