Koozali.org: home of the SME Server

port 26, Urgent!!

trenskow

port 26, Urgent!!
« on: August 25, 2004, 03:54:37 PM »
Hi.. i need help.
I want to be able to receive incomming mails on port 26, and have edited the /etc/services file with this

smtp            25/tcp          mail
smtp            26/tcp          mail      # gratisdns

i have added the last line to the file, but this doesnt seem to help. And for some reason it also dissapers sometimes.

What to do now? i have moved my domain to my Smebox, but the users cannot recieve mail. How do i open port 26 for incomming mail?

Offline byte

  • *
  • 2,183
  • +2/-0
port 26, Urgent!!
« Reply #1 on: August 25, 2004, 03:58:17 PM »
Did you edit just the /etc/services file or did you mean you edited the template file for the services?

Have you installed the port opening contrib too? to allow port 26 open?

Also make sure you restart the qmail system by typing at command line...

service smtpfront-qmail restart

HTH
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

trenskow

port 26, Urgent!!
« Reply #2 on: August 25, 2004, 04:05:06 PM »
i just edited the /etc/service
i did'nt edit any template file

what should i do there?

Offline byte

  • *
  • 2,183
  • +2/-0
port 26, Urgent!!
« Reply #3 on: August 25, 2004, 04:12:15 PM »
Yes I would (off top my head) do...

In /etc/e-smith/templates/etc/services/

There will be a file with the standard ports copy that over to...

/etc/e-smith/templates-custom/etc/services/<nameoffile>

then expand template to change the /etc/services file

Then open the port using the port opening contrib followed by running the...

service smtpfront-qmail restart

(as I said this is of the top of my head cant remeber the exact name of the file you need to copy over)

Remember doing the template way keeps the settings, if your just editing the /etc/services direct that will revert back to oringal state losing your changes

HTH
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

trenskow

port 26, Urgent!!
« Reply #4 on: August 25, 2004, 04:20:45 PM »
ok thanks  ;-)

*EDIT*
found it... im a noob here, so next step is trying to figure out, how to expand the template

bigbri100

expanding a template
« Reply #5 on: August 25, 2004, 04:36:14 PM »
/sbin/e-smith/expand-template /etc/services

trenskow

port 26, Urgent!!
« Reply #6 on: August 25, 2004, 04:42:22 PM »
thnks... do i need port 25 to be closed for smtp? cause now it seems fine, but no mails are arriving

bigbri100

port 26, Urgent!!
« Reply #7 on: August 25, 2004, 04:50:58 PM »
Have you opened port 26?

trenskow

port 26, Urgent!!
« Reply #8 on: August 25, 2004, 04:55:20 PM »
uhh.... is'nt it, what i just have done above?

trenskow

port 26, Urgent!!
« Reply #9 on: August 25, 2004, 05:31:54 PM »
I have done all of the above, and i have a MXBackup at gratisdns.dk with port forwarding to port 26, but still no mails are comming in my Sme server

Offline byte

  • *
  • 2,183
  • +2/-0
port 26, Urgent!!
« Reply #10 on: August 25, 2004, 05:58:23 PM »
Hi,

You need to use port opening not port forwarding...check out the search for port opening not install by default need to add on..

HTH
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

trenskow

port 26, Urgent!!
« Reply #11 on: August 25, 2004, 10:07:06 PM »
ok..  i did a fresh install

i edited the /etc/services and /etc/e-smith/templates/etc/services/10standard

i restartet the smtpfront-qmail.

i installed portopening and opened port 26

i send several mails, and non of the arives.

What am i doing wrong?   :cry:

Offline meanpenguin

  • ****
  • 138
  • +0/-0
port 26, Urgent!!
« Reply #12 on: August 25, 2004, 10:15:42 PM »
from a box outside your network
do a telnet to port 26.

*From windows  telnet (external ip) 26  - no parens
and see if you get a response

telnet syz.abc.domain 26

Trying 99.999.999.999...
Connected to syz.abc.domain
Escape character is '^]'.

*Then type HELO

HELO
220 syz.abc.domain SMTP daemon ready.
250 syz.abc.domain pleased to meet you,

*if you get the 220, 250, your server is ok.
if not server is still not listening on port 26.

Ed

trenskow

port 26, Urgent!!
« Reply #13 on: August 25, 2004, 10:40:38 PM »
just to see, i changed the open port to 125, i tried to telnet, and got this
Connecting To mail.trenskow.dk...Could not open connection to the host, on port
125: Connect failed

so, my box is not open... but what am i doing wrong... i followed the guides i found, and the help i get in this thread

Offline meanpenguin

  • ****
  • 138
  • +0/-0
port 26, Urgent!!
« Reply #14 on: August 25, 2004, 10:58:33 PM »
putty in to the the SME server,
try

telnet localhost 25
telnet localhost 26
telnet localhost 125

and see if you get a connection on any one of those.

It will tell you which port smtp is still listening on.
Ed