scrupul0us;10936016 wrote:You should be using outbound SMTP authentication in thunderbird using your verizon username and password on port 587... this will solve your issue[/url]
Good advice; 587 is used for "submission" and many ISP's who block 25 will still allow outbound connections to $othernet:587.
Barring this, I generally use a tunnel over ssh:
sudo ssh -L localhost:24:myserver:25 myserver
Now, that's for a 'Nix box, but I think PuTTy can also do port forwarding. (What this is doing, for those used to simpler ways of doing things, is connecting my mail server's port 25 to port 24 on my desktop computer via an SSH tunnel.). At any rate, now you get this:
telnet localhost 24
Trying 127.0.0.1...
Connected to localhost.myname.com.
Escape character is '^]'.
220 myserver.myname.com ESMTP Sendmail 8.14.3/8.14.3; Sat, 12 Dec 2009 18:14:09 -0600 (CST)
Unless the ISP you're using is blocking SSH (how dare they), you now have a fully-functional SMTP server on your laptop 🙂
And this is overkill, but for the archives and the Googler of the future. To keep a server that's on a DHCP link connected 24/7 to a real server, I do this with PHP (could do it with Python, Ruby, even sh, prolly):
<?php
system("/usr/local/bin/tcping localhost 24",$foo);
if ($foo) {
system("/usr/local/bin/sudo /usr/bin/ssh -f -N -L localhost:24:myserver:25 admin@myserver");
}
exit;
?>
I use the external program "tcping" to test if the connection is UP, but you could probably do it in PHP via [man]fsockopen/man.
HTH someone.