I am running this command:
telnet 87.106.xxx.xxx 25
And it says
Trying 87.106.xxx.xxx...
telnet: Unable to connect to remote host: Connection refused
But telnet localhost
is running properly.
Then I ran this command
sudo netstat -plntu
and it gave me:
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 9518/sendmail: MTA:
But the problem is I don't have Sendmail. I am using postfix.
I tried to uninstall sendmail with apt-get purge sendmail
But it gives error:
Package sendmail is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
I am looking for a way so that the post 25 should be used by Postfix.