LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 12-04-2005, 07:54 AM   #1
varun_saa
Member
 
Registered: Dec 2004
Posts: 188

Rep: Reputation: 30
can't telnet to port 25


Hello,

I am setting up a mail server
on Mandriva 2006.

I am not able telnet to port 25.

[root@mail varun]# telnet localhost 25
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused


What is the problem ?

Port 110 works.

Thanks

Varun
 
Old 12-04-2005, 10:10 AM   #2
edcutis
Member
 
Registered: Jun 2003
Location: USA, Missouri
Distribution: mandriva , Kubuntu, MEPIS
Posts: 140

Rep: Reputation: 15
I know it sounds a bit silly, but have you opened that port on the firewall (and router if using)?
 
Old 12-04-2005, 10:52 AM   #3
varun_saa
Member
 
Registered: Dec 2004
Posts: 188

Original Poster
Rep: Reputation: 30
No firewall.

Varun
 
Old 12-04-2005, 07:27 PM   #4
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
What email server are you using? Postfix (the default in Mandriva)? If so have you configured it? What's in /etc/postfix/main.cf?
 
Old 12-05-2005, 05:04 AM   #5
mikeyman
LQ Newbie
 
Registered: May 2004
Location: New Jersey USA
Distribution: Fedora, PCLinuxOS, Ubuntu, Mandriva, Mepis, SuSe, RHEL4, CentOS, VMWare ESX
Posts: 5

Rep: Reputation: 0
check the state of the service and make sure it's running and set to accept connections from your IP Address. Postfix has many security options to limit abuse. You may be running into one of them.
 
Old 12-05-2005, 09:18 AM   #6
varun_saa
Member
 
Registered: Dec 2004
Posts: 188

Original Poster
Rep: Reputation: 30
Thanks Mikeyman,

Can you be elaborate a little.

Thanks in advance

Varun
 
Old 12-05-2005, 11:14 AM   #7
mikeyman
LQ Newbie
 
Registered: May 2004
Location: New Jersey USA
Distribution: Fedora, PCLinuxOS, Ubuntu, Mandriva, Mepis, SuSe, RHEL4, CentOS, VMWare ESX
Posts: 5

Rep: Reputation: 0
OK. What mailserver are you attemping to configure (sendmail, postfix, qmail)? If it is indeed postfix (Mandriva default) you have to check the contents of /etc/postfix/main.cf. The default is only active from the local host interface. Read the /etc/postfix/main.cf.dist for the full commented configuration file. You can do a LOT to customize the server and to keep abuse and relaying to a minimum. Try also typing man postfix at a prompt.

If you are trying to configure sendmail, the cause/effect is similar, but Sendmail can be a real beast to configure properly.
 
Old 12-05-2005, 03:56 PM   #8
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
To get you started here is what I added to my postfix config after the default config lines in the main.cf:
Code:
mydomain = example.com
myorigin = $myhostname

#mydestination is the list of domains that will be considered to mean the local server. In this case it
#includes the server's internal and external domain names (example.com and example.com.au) and
#the localhost (so that email can be sent to tim@localhost for example)
mydestination = example.com, $myhostname, localhost.$mydomain

mynetworks = 192.168.1.0/24, 127.0.0.0/8

#deliver all mail through procmail (if there's no procmail rules file it should just go into the default /var/spool/mail/whatever file
mailbox_command = /usr/bin/procmail
#By default postfix has a stupid ~50MB limit on the size of the mailbox it will deliver to (even if going through postfix or whatever). Zero means infinite size.
mailbox_size_limit = 0
This is just for a simple local delivery mail server (for fetchmail). It also allows the sending of emails, both internal and external. It also allows machines on the LAN to send email to local addresses. HTH.
 
Old 12-05-2005, 08:36 PM   #9
varun_saa
Member
 
Registered: Dec 2004
Posts: 188

Original Poster
Rep: Reputation: 30
Thanks a lot.

Sorry it is Postfix. Should have mentioned that.

I shall try and let you know.

Varun
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PLESK [Solution] Change port to 23 (telnet) instead of default port 8443 x5452 Linux - Software 6 05-10-2009 05:58 AM
cannot telnet port 25 varun_saa Mandriva 2 12-30-2006 11:25 PM
telnet to port 80 davee Linux - Networking 5 08-06-2003 03:09 PM
Can't telnet to port 25 scooby_scrappy Linux - Networking 1 05-15-2002 02:28 AM
telnet port 80 doodah Linux - Networking 4 04-27-2001 08:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 06:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration