ports << 587
end
-if not nodeinfo['mail_port'].empty?
+if not nodeinfo['mail_port'].to_s.empty?
ports << nodeinfo['mail_port']
end
driver = manualroute
domains = !+handled_domains
transport = remote_smtp_smarthost
- route_list = * ' + smarthost + '
+ route_list = * ' + nodeinfo['smarthost'] + '
host_find_failed = defer
same_domain_copy_routing = yes
no_more