LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Telnet localhost and telnet IP (https://www.linuxquestions.org/questions/linux-newbie-8/telnet-localhost-and-telnet-ip-104118/)

seb77 10-15-2003 03:00 AM

Telnet localhost and telnet IP
 
Hello,

I've a server @ the matrix and I have a mail probleme :|

I've made a mail account for exemple toto@mydomain.com

when I'm logging using my shell and if I do :

root@thematrix [~]# telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK [CAPABILITY IMAP4REV1 LOGIN-REFERRALS AUTH=LOGIN] localhost IMAP4rev1 2002.325-cpanel at Wed, 15 Oct 2003 09:56:36 +0200 (CEST)

there is no probleme but if I do it not from localhost :

[root@maison root]# telnet mail.mydomain.com 143
Trying xx.yy.ww.zz...
telnet: Unable to connect to remote host: Connection timed out

of course mydomaine is pointing to my server there is no probleme with dns ...

I should set up the IMAP service to answer from outside but how ???

thank you for your help

Seb

rocknix 10-15-2003 03:16 AM

there are some things which possibly went wrong:

1) most of linux-dist. dont allow telnet login with user 'root' directly from a remote host by default

2) your remote host is not in the hosts.allow table ( this is SuSE specific maybe )

3) your remote host is not authorized to connect to your mailer-service

you see too few information to answer specific

david_ross 10-15-2003 01:20 PM

Do you have any firewall rules in place?
iptables -L

seb77 10-15-2003 01:46 PM

Quote:

Originally posted by david_ross
Do you have any firewall rules in place?
iptables -L

I had to place a new rules in the firewall ! :) it's working now ! thank you and sorry for the double posting :newbie: :D

Seb

david_ross 10-15-2003 03:15 PM

Quote:

Originally posted by seb77
I had to place a new rules in the firewall ! :) it's working now ! thank you and sorry for the double posting :newbie: :D

Seb

Well done :D

Don't worry about the double post - just try to remember in the future :)


All times are GMT -5. The time now is 08:29 AM.