- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- start sendmail
Operating System - Linux
1820483
Members
2454
Online
109624
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
Discussions
Discussions
Discussions
Forums
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
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
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-25-2004 06:40 PM
тАО04-25-2004 06:40 PM
Hi all
I want to start sendmail Linux.
I issue service start sendmail at command prompt.
messages are
[root@ecfarm2 init.d]# service sendmail start
Starting sendmail: [ OK ]
Starting sm-client: [ OK ]
[root@ecfarm2 init.d]# netstat -na|grep 25
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN
then from my PC, I send command like
telnet server_ip 25 but can not respond.
Terminal is disappeared in a moment,
without any wating from server_ip
what's the problem.?
I want to start sendmail Linux.
I issue service start sendmail at command prompt.
messages are
[root@ecfarm2 init.d]# service sendmail start
Starting sendmail: [ OK ]
Starting sm-client: [ OK ]
[root@ecfarm2 init.d]# netstat -na|grep 25
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN
then from my PC, I send command like
telnet server_ip 25 but can not respond.
Terminal is disappeared in a moment,
without any wating from server_ip
what's the problem.?
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-25-2004 06:47 PM
тАО04-25-2004 06:47 PM
Solution
Your netstat command above showed what was wrong, sendmail is only listening on local host, not the external (network) address.
You need to modify '/etc/mail/sendmail.mc', and 'dnl' out the line for 'DaemonOptions', then remake the configuration, and restart sendmail.
Depending on which RH release you've got depends on how easy that is. If it's RH8 or newer, just 'service sendmail restart' will remake the config file for you. If not, then:
cd /etc/mail
mv sendmail.cf sendmail.cf-bak
m4 sendmail.mc > sendmail.cf
then restart sendmail.
Once this is all done, if you re-issue your netstat command, you should see:
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN
You need to modify '/etc/mail/sendmail.mc', and 'dnl' out the line for 'DaemonOptions', then remake the configuration, and restart sendmail.
Depending on which RH release you've got depends on how easy that is. If it's RH8 or newer, just 'service sendmail restart' will remake the config file for you. If not, then:
cd /etc/mail
mv sendmail.cf sendmail.cf-bak
m4 sendmail.mc > sendmail.cf
then restart sendmail.
Once this is all done, if you re-issue your netstat command, you should see:
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN
One long-haired git at your service...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-25-2004 07:23 PM
тАО04-25-2004 07:23 PM
Re: start sendmail
Thank you for your reply
after modifying the sendmail.mc, working is fine.
thank you again
after modifying the sendmail.mc, working is fine.
thank you again
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
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP