Take the 2-minute tour ×  I installed qmail and I am able to
send and receive emails when i add the address within the
network in the /var/qmail/control/smtproutes file.  Say I create
a virtual domain in my windows machine as abc.com and add
"abc.com:" in smtproutes, then email delivery is successful.
But when i directly send emails to outside domain, i get error "
Sorry,_I_wasn't_able_to_establish_an_SMTP_connection".  Is this
a firewall issue? What could I be missing?   share|improve this
question Does this belong on SuperUser? –  kajaco Aug 26 '09 at
18:19 No, it's a mailserver question. Def. here. Is DNS working
on the box? –  Cian Aug 26 '09 at 20:00 add comment  migrated
from stackoverflow.com Aug 26 '09 at 19:58  This question came
from our site for professional and enthusiast programmers.  3
Answers    1. Eliminate the firewall issue by testing that you
can actually connect out to an external mail server's port 25
from your mail server. You can do this by telnet <external mail
server> 25 and see if y