Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: dranodave on March 29, 2004, 06:04:59 AM
-
All,
I posted this as a guest about ten days ago and got no help. I am asking agian because I know there is somebody out there who has worked this problem.
Please help.
My ISP (cocks, er I mean Cox) is blocking port 25.
I have been trying to get my sme 6.0 machine to use port 24 for e-mail without any luck for days. I am setup at dyndns.org and have successfully used this service with an SME 5.12 box.
I made all the necessary changes to the following templates:
/etc/e-smith/templates/etc/rc.d/init.d/masq/30AdjustTOS
# Set telnet, www, smtp, pop3 and FTP for minimum delay
for port in 21 22 23 24 80 110
do
/sbin/iptables --table mangle --append OUTPUT \
--protocol tcp --dport $port \
-j TOS --set-tos Minimize-Delay
done
# Set ftp-data for maximum throughput
/sbin/iptables --table mangle --append OUTPUT \
--protocol tcp --dport 20 \
-j TOS --set-tos Maximize-Throughput
/etc/e-smith/templates/etc/rc.d/init.d/masq/45AllowSMTP
{
my $status = ${'smtpfront-qmail'}{'status'} || "disabled";
my $access = ${'smtpfront-qmail'}{'access'} || "public";
$OUT = allow_tcp_in(24,
($status eq "enabled") && ($access eq "public"));}
/etc/e-smith/templates/etc/services/10standard # /etc/services:
smtp 24/tcp mail
I even followed the instructions at
http://www.elhoj.dk/new/index.htm?frame=http%3A//www.elhoj.dk/howto.htm
I can receive mail, but cannot send.
Via IMP I get the following error.
There was an error sending your message: unable to connect to smtp server localhost:25
reasons for failure log reveals the following.
del xdelay reason
5 311.83 Sorry, I wasn't able to establish an SMTP connection. (#4.4.1)/I'm not going to try again; this message has been in the queue too long.
telnetting to port 25 reveals the following
telnet *.*.*.* 24
Trying *.*.*.*.42...
Connected to ip*-*-*-*.tc.ph.cox.net.
Escape character is '^]'.
220 router.davesshop.net mailfront ESMTP
So, that looks good.
Any and all help is appreciaited!
Thanks,
dranodave
-
Hello
I use Cocks ie: Cox Highspeed Internet for a isp too
you should have not made the changes you did
it is a simple fix I have been away to the cabin for a while no access out there
try to undo the changes you made and then a simple fix is all you need Cox blocks port 25 but you can use their mail server for a relay it is the way they have set it up
half way down your email screen in server-manager
look for the
Address of Internet provider's mail server box
then just enter the cox mail server for your area
it will be the same one you use for your mail in outlook express or mozilla
smtp.west.cox.net or
smtp.east.cox.net
should be like above I use
smtp.west.cox.net once I found this and made the change it has worked great and no problems
simple fix but hard to find
hope this helps
-
gbaird,
Thanks, that was my workaround. I really want to bypass Cox totally and get my webmail working again.
dranodave