jetmore / swaks

Swaks - Swiss Army Knife for SMTP
http://jetmore.org/john/code/swaks/
GNU General Public License v2.0
848 stars 86 forks source link

Yahoo.com addresses produce IO::Socket::INET6: connect: No route to host #18

Closed davidfavor closed 4 years ago

davidfavor commented 4 years ago

Both these fail. Unsure how to proceed...

lxd: net16-mailstore # swaks --local-interface=144.217.145.116 --from=david@davidfavor.com --to=someone@yahoo.com
=== Trying 67.195.204.73:25...
*** Error connecting 144.217.145.116 to 67.195.204.73:25:
***     IO::Socket::INET6: connect: No route to host

lxd: net16-mailstore # swaks --tls --local-interface=144.217.145.116 --from=david@davidfavor.com --to=someone@yahoo.com
=== Trying 67.195.204.73:25...
*** Error connecting 144.217.145.116 to 67.195.204.73:25:
***     IO::Socket::INET6: connect: No route to host

This also fails...

lxd: net16-mailstore # dig +short yahoo.com mx
1 mta5.am0.yahoodns.net.
1 mta7.am0.yahoodns.net.
1 mta6.am0.yahoodns.net.

lxd: net16-mailstore # swaks --server=mta5.am0.yahoodns.net --local-interface=144.217.145.116 --from=david@davidfavor.com --to=someone@yahoo.com
=== Trying mta5.am0.yahoodns.net:25...
*** Error connecting 144.217.145.116 to mta5.am0.yahoodns.net:25:
***     IO::Socket::INET6: connect: No route to host

lxd: net16-mailstore # swaks --server=mta6.am0.yahoodns.net --local-interface=144.217.145.116 --from=david@davidfavor.com --to=someone@yahoo.com
=== Trying mta6.am0.yahoodns.net:25...
*** Error connecting 144.217.145.116 to mta6.am0.yahoodns.net:25:
***     IO::Socket::INET6: connect: No route to host

lxd: net16-mailstore # swaks --server=mta7.am0.yahoodns.net --local-interface=144.217.145.116 --from=david@davidfavor.com --to=someone@yahoo.com
=== Trying mta7.am0.yahoodns.net:25...
*** Error connecting 144.217.145.116 to mta7.am0.yahoodns.net:25:
***     IO::Socket::INET6: connect: No route to host

If you have any insight into what's occurring, let me know.

Thanks.

davidfavor commented 4 years ago

Ugh... Figured it out...

Seems like Yahoo has blocked huge ranges of OVH IPs, which is where I'm sending from.

So looks as if nothing can be done about this.

davidfavor commented 4 years ago

Massive IPs blocks do seem to be the problem.

net16 # telnet mta5.am0.yahoodns.net 25
Trying 67.195.228.111...
Trying 98.136.96.77...
Trying 98.136.96.76...
Trying 67.195.228.110...
Trying 67.195.204.73...
Trying 67.195.204.72...
Trying 67.195.204.79...
Trying 98.136.96.74...
telnet: Unable to connect to remote host: No route to host
jetmore commented 4 years ago

Sorry David, good luck getting it sorted