Also, I am not able to send mail to email@example.com
but I am able to send mail to user@localhost. The logs show either connection refused or connection timed out every time. Nor can I telnet to domain.tld port 25. I am sure that domain.tld is being resolved correctly.
When I run netstat I see
tcp 0 0 localhost:smtp *:* LISTEN
Does this mean that smtp is listening for connections only from/on localhost? If so, how can I change?
p.s. I am able to send mail to another domain.