Portal Home > Knowledgebase > Articles Database > Can't send outbound from my server with Comcast
Can't send outbound from my server with Comcast
Posted by wingtip, 11-07-2008, 04:34 PM |
Can't send outbound from my server with Comcast
It appears Comcast is now blocking port 25. As a result, I can't sent outbound email via my dedicated server. They had me change to port 587 for my comast email account, but that doesn't solve my not being able to send outbound from my dedicated server.
I am relatively new to dedicated servers. Is there anythighn I can do (like change the post my mail server uses to 587) so that I can send outbound mail from my server with outlook (over Comcast connection) or am I just stuck now with using web mail?
|
Posted by HostingBig, 11-07-2008, 04:59 PM |
set your mail server to listen on port 587
and you should be good to go
__________________
Lowest Host/Empire Technology LLC
Affordable VPS solutions http://empire-hosting.net/vpsspecial.html
Master reseller solutions http://empire-hosting.net/resell.html
|
Posted by ThatScriptGuy, 11-07-2008, 05:08 PM |
If you don't know how to change your SMTP port, contact your server provider. It's a 30 second fix, and I'm sure they'd be happy to take care of it for you.
__________________
Kevin CacklerThat Script Guy, LLC
(501) 358-4064
|
Posted by wingtip, 11-07-2008, 05:08 PM |
Quote:
Originally Posted by HostingBig
set your mail server to listen on port 587
and you should be good to go
Like I said, I'm new to dedicated servers...I think I'm using exim for mail. Can you (or someone) explain how I set my server to listed on a different port?
|
Posted by HostingBig, 11-07-2008, 05:15 PM |
exim with cpanel ?
__________________
Lowest Host/Empire Technology LLC
Affordable VPS solutions http://empire-hosting.net/vpsspecial.html
Master reseller solutions http://empire-hosting.net/resell.html
|
Posted by netfreak, 11-07-2008, 05:22 PM |
My residential ISP also blocked outgoing so I created an iptables rule to forward port 26 to 25 and then specified port 26 in MS Outlook. I can't remember if it's a separate field or if I just added a :26 to the end of the SMTP server in te settings though. I stopped running a mail server a while back so my memory is a bit foggy.
__________________|| www.preterhuman.net || www.omgwtfbbq.ca ||Ghetto networking, one step at a time.
|
Posted by partek, 11-07-2008, 05:24 PM |
Is your dedicated server Linux? If so, this will make it work for you(while also keeping incoming mail coming to port 25):
iptables -t nat -A PREROUTING -p tcp --dport 587 -j DNAT --to-destination :25
You'll want to save that state so it will come up like that when the server is rebooted. Consult your distribution's documentation to find out how.
|
Posted by sabarishks, 11-07-2008, 05:33 PM |
If you have cpanel, you can easily use diff port for EXIM as below
WHM >> Service manager
Select the option run exim in another port.
|
Posted by wingtip, 11-07-2008, 08:28 PM |
Quote:
Originally Posted by partek
Is your dedicated server Linux? If so, this will make it work for you(while also keeping incoming mail coming to port 25):
iptables -t nat -A PREROUTING -p tcp --dport 587 -j DNAT --to-destination :25
You'll want to save that state so it will come up like that when the server is rebooted. Consult your distribution's documentation to find out how.
That sounds like the ticket. But one question - should I use a port other than 587 since that is what Comcast is now using for their email server? Doesit make any difference so long as I choose a unused port and set my Outlook for that port in the POP setup?
|
Posted by Jonathan Kinney, 11-07-2008, 09:01 PM |
Technically it does not matter, but you may want use 587 because it looks like a standard port for this intended purpose. If you have the option, you may also want to try sending out using SMTP over SSL which has a standard port of 465, I don't know if they have blocked that yet.
__________________
Jonathan Kinney
Data Systems Specialist
Advantagecom Networks, Inc.http://www.simplywebhosting.com
|
Posted by wingtip, 11-07-2008, 11:31 PM |
Quote:
Originally Posted by partek
Is your dedicated server Linux? If so, this will make it work for you(while also keeping incoming mail coming to port 25):
iptables -t nat -A PREROUTING -p tcp --dport 587 -j DNAT --to-destination :25
You'll want to save that state so it will come up like that when the server is rebooted. Consult your distribution's documentation to find out how.
I did a liitle googling on this and some similar examples I found only have one dash before "dport". So, before I attempt this, let me be clear I have the correct steps.
Would this be exact command if I want to redirect port (for example) 2525 to port 25:
/sbin/iptables -t nat -A PREROUTING -p tcp -dport 2525 -j DNAT -to-ports 25
Also, I found some exaples that claim to do the same thing, such as:
/sbin/iptables -t nat -A PREROUTING -p tcp -dport 2525 -i eth0 -j REDIRECT -to-ports 25
What is the difference in what those two commands do?
Also, once I do this command, I assume I need to save it like this:
/sbin/service iptables save
Is that correct, then I would need to reboot my server?
I want to be sure I understand the proper procedure before I attempt this.
|
Posted by partek, 11-10-2008, 12:53 PM |
The dport argument needs to have 2 dashes. I've tested the example that I gave and it works.
What I'd recommend is to run the command, test that it did what you want, then run the /sbin/service iptables save.
You do not need to reboot as the iptables commmands take effect immediately. You only run the save command so that it will be applied the next time the server reboots.
|
Posted by wingtip, 11-15-2008, 03:01 PM |
Quote:
|
Add to Favourites Print this Article
Also Read