Mr. AT&T, Could You Stop Blocking Port 25?

Well, I just lost more than 4 hours trying to get my localhost to work. Amazing how much time we can waste on simple tasks. Especially, when we are stubborn.

A while back I showed you how to set your local server to send out email. That is really a simple task, but it can become an impossible task if your ISP decides to block port 25, which AT&T does. To some extent, I’m contempt with the internet service I get for aforementioned ISP, but today I just want to kill them.

Since they have decided to block port 25, I cannot send email from my locally installed wordpress instances. Is this important? Not most of the time, but when my project requires emails to be sent, then it becomes a problem. Sometimes you can just do little tricks like printing out the content of the email, and that is OK. After all, you are on development phase, and you know to disable the line that prints out the text when your project goes live. But when the whole project depends on emails being sent, and those emails have attachments, then that is a different story.

Fortunately, there is an open network that I can connect to. This seems not to block port 25, so I was able to determine that the settings on my configuration file for postfix are OK, and that it works. I was able to send emails to a gmail account. Not to hotmail account since, according to the mail logs, they don’t seem to accept incoming email from dynamic IPs.

For now, I’ve decided to wait until tomorrow and call my ISP help desk, and see what I can do about that.

If you wish to read more on the subject, I suggest the following:

https://help.ubuntu.com/8.04/serverguide/C/postfix.html
http://serverfault.com/questions/142098/how-to-configure-my-local-server-to-send-email
https://imbuzu.wordpress.com/2010/10/24/mandando-mails-desde-localhost-apache-server-ubuntu/ (spanish)
http://www.linuxtopia.org/ProblemSolutions/smtp_port_25_timeout.html
http://lists.freebsd.org/pipermail/freebsd-questions/2004-January/033078.html
http://earthnet.net/support/email/email_port25.htm
http://stackoverflow.com/questions/328914/how-to-check-if-my-isp-blocks-port-25

There is also this nice website to find out if a port is open on your network. Although, that is for incoming connections, rather than outgoing:
http://www.canyouseeme.org/