I am configuring Exim on a Ubuntu server to send and receive mails via TLS.
Followed many guides which shows on how to configure Exim with TLS but still my Exim doesn't listen on 465 or 587
Exim only listen's on port 25 and I am able to send an receive mails
This is the official guide that I followed:
https://help.ubuntu.com/community/Exim4
But still no luck, also I cannot find any reference in the config files which indicates on which ports is exim listening
I have also allowed the ports 465 and 587 via ufw using the command:
ufw allow 465
ufw allow 465
but still Exim won't listen on 465 or 587, can anybody help me on why this is happening or is there are steps that I am missing
Best Answer
For Ubuntu 18.04 I've found that the following works in
update-exim4.conf.conf
:Then the usual: run
update-exim4.conf
and restart the service.Check (sorry - there are more modern ways, but fingers remember
netstat
):NB: It may be good idea to enable port 25 as well. For example, some local services may want to send mail to localhost:25.