# considerably from what could be considered a standard exim configuration.
# This configuration file brings in the necessary information from
-# other databases stored in /etc/exim/ and the files distributed by ud-ldap
+# other databases stored in /etc/exim4/ and the files distributed by ud-ldap
# This file is independent of the local host, it should not be changed
# per machine. primary_hostname is used in all places that require per-host
# settings.
-# The configuration files in /etc/exim are as follows:
+# The configuration files in /etc/exim4 are as follows:
# locals - This is a list of domains that are considered local. A local
# domain is essential one that deliveries to /var/mail
# will be attempted. The users available for local delivery
ports = []
out = "daemon_smtp_ports = "
ports << 25
+if @mail_port # if we have an overridden mail_port
+ ports << @mail_port
+end
if @is_bugsmx
ports << 587
end
-if not scope.lookupvar('deprecated::nodeinfo')['mail_port'].to_s.empty?
- ports << scope.lookupvar('deprecated::nodeinfo')['mail_port']
-end
-
if @is_mailrelay
ports << @smarthost_port
end