Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-04-2005, 07:54 AM
|
#1
|
Member
Registered: Dec 2004
Posts: 188
Rep:
|
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
|
|
|
12-04-2005, 10:10 AM
|
#2
|
Member
Registered: Jun 2003
Location: USA, Missouri
Distribution: mandriva , Kubuntu, MEPIS
Posts: 140
Rep:
|
I know it sounds a bit silly, but have you opened that port on the firewall (and router if using)?
|
|
|
12-04-2005, 10:52 AM
|
#3
|
Member
Registered: Dec 2004
Posts: 188
Original Poster
Rep:
|
No firewall.
Varun
|
|
|
12-04-2005, 07:27 PM
|
#4
|
Senior Member
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549
Rep:
|
What email server are you using? Postfix (the default in Mandriva)? If so have you configured it? What's in /etc/postfix/main.cf?
|
|
|
12-05-2005, 05:04 AM
|
#5
|
LQ Newbie
Registered: May 2004
Location: New Jersey USA
Distribution: Fedora, PCLinuxOS, Ubuntu, Mandriva, Mepis, SuSe, RHEL4, CentOS, VMWare ESX
Posts: 5
Rep:
|
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.
|
|
|
12-05-2005, 09:18 AM
|
#6
|
Member
Registered: Dec 2004
Posts: 188
Original Poster
Rep:
|
Thanks Mikeyman,
Can you be elaborate a little.
Thanks in advance
Varun
|
|
|
12-05-2005, 11:14 AM
|
#7
|
LQ Newbie
Registered: May 2004
Location: New Jersey USA
Distribution: Fedora, PCLinuxOS, Ubuntu, Mandriva, Mepis, SuSe, RHEL4, CentOS, VMWare ESX
Posts: 5
Rep:
|
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.
|
|
|
12-05-2005, 03:56 PM
|
#8
|
Senior Member
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549
Rep:
|
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.
|
|
|
12-05-2005, 08:36 PM
|
#9
|
Member
Registered: Dec 2004
Posts: 188
Original Poster
Rep:
|
Thanks a lot.
Sorry it is Postfix. Should have mentioned that.
I shall try and let you know.
Varun
|
|
|
All times are GMT -5. The time now is 12:07 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|