HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- telnet to port25 using other machine
Operating System - Linux
1832868
Members
2714
Online
110048
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2003 08:23 PM
04-16-2003 08:23 PM
telnet to port25 using other machine
I can telnet to port25 at the server. But I can't telnet to port25 at other machine, what's wrong with my setting?
Is this also the reason why I can't use outlook at other machine to send mail with my linux mail server? If this is not the reason, what's going wrong?
Please help.
Is this also the reason why I can't use outlook at other machine to send mail with my linux mail server? If this is not the reason, what's going wrong?
Please help.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2003 10:30 PM
04-16-2003 10:30 PM
Re: telnet to port25 using other machine
You should then examine the sendmail log (/var/log/messages, /var/log/secure) and iptables log
for messages that will indicate the nature of the problem.
RELEASE NOTES:
By default, sendmail does not accept network connections from any host other than the local computer. If you want to configure sendmail as a server for other clients, please edit /etc/mail/sendmail.mc and change DAEMON_OPTIONS to also listen on network devices, or comment out this option all together. You will need to regenerate /etc/sendmail.cf.
SUSE:
On default SuSE sendmail is configured to listen to 127.0.0.1 only. To change this, set "SMTPD LISTEN REMOTE" to "yes" in
/etc/sysconfig/mail.
Regards,
Sergejs
for messages that will indicate the nature of the problem.
RELEASE NOTES:
By default, sendmail does not accept network connections from any host other than the local computer. If you want to configure sendmail as a server for other clients, please edit /etc/mail/sendmail.mc and change DAEMON_OPTIONS to also listen on network devices, or comment out this option all together. You will need to regenerate /etc/sendmail.cf.
SUSE:
On default SuSE sendmail is configured to listen to 127.0.0.1 only. To change this, set "SMTPD LISTEN REMOTE" to "yes" in
/etc/sysconfig/mail.
Regards,
Sergejs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2003 10:32 PM
04-16-2003 10:32 PM
Re: telnet to port25 using other machine
You've just started trying to use SMTP (Sendmail) on a RH Linux box after a new install?
You'll need to check to see if Sendmail is listening on anything bar the local host:
netstat -ntlp | grep sendmail
If you have a line that looks like:
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN/sendmail: acc
Then this is the case.
To fix this, you need to modify (regenerate) your 'sendmail.cf' file. If it's a RH system, you'll have an '/etc/mail/sendmail.mc' file. You'll have a line that reads something like this:
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')
Insert the 3 letters 'dnl' infront of this line, then re-generate your sendmail cf using the the following:
m4 /etc/mail/sendmail.cf > /etc/sendmail.cf
(NOTE: This is for a RH7 without an eratta sendmail. Otherwise, it'll be /etc/mail/sendmail.cf).
After a restart of sendmail, the line from the netstat command should show '0.0.0.0:25'.
Hope this helps.
You'll need to check to see if Sendmail is listening on anything bar the local host:
netstat -ntlp | grep sendmail
If you have a line that looks like:
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN
Then this is the case.
To fix this, you need to modify (regenerate) your 'sendmail.cf' file. If it's a RH system, you'll have an '/etc/mail/sendmail.mc' file. You'll have a line that reads something like this:
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')
Insert the 3 letters 'dnl' infront of this line, then re-generate your sendmail cf using the the following:
m4 /etc/mail/sendmail.cf > /etc/sendmail.cf
(NOTE: This is for a RH7 without an eratta sendmail. Otherwise, it'll be /etc/mail/sendmail.cf).
After a restart of sendmail, the line from the netstat command should show '0.0.0.0:25'.
Hope this helps.
One long-haired git at your service...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2003 05:02 AM
04-17-2003 05:02 AM
Re: telnet to port25 using other machine
following your other board, I feel it's just the same trouble : your other machines run sendmail, both for sending and receiving mails, before usually transfering to another program. If your machines are set up to send (then you see sendmail somewhere) but not to receive or relay, like the other time, then it is that your sendmail hasn't been configured for relaying.
If you want to do so (is it a goo idea on every machines, as usually users want to send & receive, not to relay), then follow the process suggested before, but be cautious on this necessity to set up relaying, which causes your machine to relay... who ? Be cautious on the definition of who you'll accept.
Yours.
If you want to do so (is it a goo idea on every machines, as usually users want to send & receive, not to relay), then follow the process suggested before, but be cautious on this necessity to set up relaying, which causes your machine to relay... who ? Be cautious on the definition of who you'll accept.
Yours.
You can lean only on what resists you...
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP