The following commands should help to locate potential locations for Exim port customizations:
Originally Posted by sharmaine001
What is the output of the following command?
# grep -Hin "daemon_smtp_ports\|tls_on_connect_ports" /etc/exim.conf /etc/exim.conf.local
# grep -HinR "exim" /etc/chkserv.d
Here is an alternate command that filters output by the process command name instead of port number; this could be used to compare output without needing to know the port numbers:
# lsof +c0 -anPi4:25-26,465,587,110,143,993,995
# lsof +c0 -anPi4 -c/courier\|dovecot\|exim\|imap\|pop/ix