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 |
I know it sounds a bit silly, but have you opened that port on the firewall (and router if using)?
|
No firewall.
Varun |
What email server are you using? Postfix (the default in Mandriva)? If so have you configured it? What's in /etc/postfix/main.cf?
|
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.
|
Thanks Mikeyman,
Can you be elaborate a little. Thanks in advance Varun |
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. |
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 |
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 01:04 PM. |