When I try the folowing command from a remote machine it says port open
nmap myserver.com -p 143
But when I try the same thing from a local machine (where the mailserver is installed) it says port closed.
nmap localhost -p 143
UFW is inactive but when I activate it and add the 143 allow the result is the same.
Btw,
nmap localhost -p 80
says open
What am I missing?