Setting up a postfix server, trying to figure out why it's not working. Here's a command that I ran while troubleshooting. I expected to be able to connect, but could not.
lol@foldingmachine:~$ telnet a.mx.mail.yahoo.com 25
Trying 67.195.168.31...
telnet: Unable to connect to remote host: Connection timed out
Here's some traceroute output:
lol@foldingmachine:~$ sudo traceroute -n -T -p 25 a.mx.mail.yahoo.com
traceroute to a.mx.mail.yahoo.com (67.195.168.31), 30 hops max, 60 byte packets
1 192.168.1.1 1.040 ms 1.373 ms 1.719 ms
2 * * *
3 * * *
4 * * *
5 * * *
6 * * *
7 * * *
8 * * *
9 * * *
10 * * *
11 * * *
12 * * *
13 * * *
14 * * *
15 * * *
16 * * *
17 * * *
18 * * *
19 * * *
20 * * *
21 * * *
22 * * *
23 * * *
24 * * *
25 * * *
26 * * *
27 * * *
28 * * *
29 * * *
30 * * *
I need to read the Traceroute docs, I'm not sure how to interpret this. Going to bed right now, just hoping somebody will take a look and have a suggestion by tomorrow :)
EDIT:
Ran ncat ("netcat" on my system, apparently) like the answer described. Here's my dig output:
dig yahoo.com mx
...
;; ANSWER SECTION:
yahoo.com. 171 IN MX 1 mta5.am0.yahoodns.net.
yahoo.com. 171 IN MX 1 mta7.am0.yahoodns.net.
yahoo.com. 171 IN MX 1 mta6.am0.yahoodns.net.
...
And netcat:
netcat -v mta6.am0.yahoodns.net. 25
netcat: connect to mta6.am0.yahoodns.net. port 25 (tcp) failed: Connection timed out
netcat: connect to mta6.am0.yahoodns.net. port 25 (tcp) failed: Connection timed out
netcat: connect to mta6.am0.yahoodns.net. port 25 (tcp) failed: Connection timed out
netcat: connect to mta6.am0.yahoodns.net. port 25 (tcp) failed: Connection timed out
netcat: connect to mta6.am0.yahoodns.net. port 25 (tcp) failed: Connection timed out
... (it keeps trying)
So even though a.mx.mail.yahoo.com
is actually non-existent, I can't reach the real server either.