Mail Server Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationMail Server Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old December 20th, 2004, 10:21 AM
dba_frog's Avatar
dba_frog dba_frog is offline
cave painting, the 1st Opn Src
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Posts: 404 dba_frog User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 20 h 42 m 16 sec
Reputation Power: 6
Is Port 25 Blocked?

So you've managed to get a mail server running on your computer at home, and set up DNS information for your domain. You can telnet and ftp to your computer, and maybe HTTP works too... but not mail.
Chances are your ISP is blocking incoming connections on port 25 (the standard SMTP port).
There are a few things to check first, though:

A) First, try connecting to your SMTP server from the same computer. Try the localhost address first: "telnet 127.0.0.1 25" usually does the trick (replace "25" with a different port number if you're trying to set up SMTP service on an alternate port). If that works, your server is indeed up and running, and the next step is to try your assigned IP address (still from the same machine): "telnet your-IP-here 25". Note that if you're behind a broadband router, your IP address is assigned by the router itself and is not the same as the IP assigned to the router by your ISP. If this works then your server is listening on the correct ports and addresses. If not, the problem is somewhere in your configuration: consult the docs for your mail server to figure out what's wrong.

B) The next step is to find a machine outside of your home network, and preferably outside of your ISP's network as well. Then try that telnet command again: "telnet your-external-IP-address 25". Note that in this case the IP address is the one assigned to you by your ISP and not the "internal" address you might have if you have a home network behind a broadband router.

C) If you can connect to your mail server from outside your ISP's network, then you're all set: you've configured things correctly and your ISP doesn't block port 25 (at least for incoming connections). If it didn't work, there is still one thing to check: if your server is behind a broadband router, make sure that connections on the appropriate port are being forwarded to the correct internal computer. Consult your router documentation for assistance.

Result:: If you're verified that your SMTP server is reachable from within your own network but not from outside, then chances are good that your ISP has deliberately blocked connections on port 25.

So how do I work around a port block?
If your ISP blocks port 25 you can always attempt to convince them that they're being antisocial and that they should unblock that port, at least for you. This rarely works and usually incurs the wrath of the ISP who didn’t know you were running an Email Server on your connection.
The other alternative is to run your SMTP server on a different port. This is fairly simple to do with most SMTP software; cons ult the documentation for yours to figure out exactly how it's done. Commonly used alternate ports are 2525 and 25025, but you can use any valid (and unused) port number. Once you've configured your server to listen on a different port, run through the tests above again, using your new port number instead of 25. If all goes well, you should be able to verify that not only is your server running on the new port, it's reachable from outside your ISP's network, too.
That's the easy part.
Unfortunately, there's no way to tell the rest of the world what port your SMTP server is listening on. The DNS system allows you to list the servers that will accept mail for your domain (using MX records), but those servers are then assumed to be listening on port 25. Attempting to add port information to your MX records (by using "my.domain.com:2525", for example) will only cause strange error messages to be returned to people who try to send you mail.

The only way to receive mail on a non-standard port is to arrange for someone else's servers to receive it for you first on Port 25

Let me repeat this…

The only way to receive mail on a non-standard port is to arrange for someone else's servers to receive it for you first on Port 25

then that service will forward your mail to you on the non-standard port you've chosen. **You list only th forwarder servers as MX hosts for your domain.

Unfortunately, most services that offer Blocked Port 25 workarounds will charge for this service. That is just the way it is.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationMail Server Help > Is Port 25 Blocked?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT