Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: Anonymous on March 14, 2004, 02:36:52 AM
-
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
-
What are you trying to fix using port 24?
Are your ISP blocking your port 25? Mine do that!
I solved this by forward all domain email to one mailbox on one ISP, and configure SME to download each five minutes.
BTW: Port 24 is LMTP (local mail transport protocol!) a well know port/protocol!!
-
Jader,
Yes, I am trying to get around my ISP which I successfully did with my SME 5.1.2 box. I ended up bringing it back up and putting my 6.0 box off to the side as a backup.
Dave
-
Why change the way everything works... (I know... you did it with 5.12...)?
Just let SME use fetchmail to download all email from your_mailbox@your_isp and delivery. Or at least while you don´t fix new version of SME!
Now the questions:
How you do to everyone try to connect you on port 24 (not blocked by your ISP) instead of port 25... I thought this was not possible! :)
Could you please do a HowTo about how to change SMTP from :25 -> :24 ) ? :)
Thanks