HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: mailx command stopped working - what .rhost ta...
Operating System - HP-UX
1834220
Members
2565
Online
110066
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
01-04-2001 06:30 AM
01-04-2001 06:30 AM
mailx command stopped working - what .rhost tables are used
I'm looking for the required entries to enable the mailx statement between networked servers. I have a monitoring script that mails server status information from remote servers to a central monitoring server. I inherited the networked servers, so I'm not sure what was setup to make the mailx statement work in the first place.
My question what rhost tables do I need to have on the source and target servers and in what location?
Thanks in advance for your help
Dave
My question what rhost tables do I need to have on the source and target servers and in what location?
Thanks in advance for your help
Dave
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2001 06:56 AM
01-04-2001 06:56 AM
Re: mailx command stopped working - what .rhost tables are used
Hi,
Did you configure sendmail?
The Config files in /etc/mail.
when you type the following:
sendmail -v root@xx.com
Do you see an error-message?
The .rhosts is used to remotely copy or login without a password from one server to another.
Check the man page for rhosts, man rhosts
Good Luck
Did you configure sendmail?
The Config files in /etc/mail.
when you type the following:
sendmail -v root@xx.com
Do you see an error-message?
The .rhosts is used to remotely copy or login without a password from one server to another.
Check the man page for rhosts, man rhosts
Good Luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2001 07:52 AM
01-04-2001 07:52 AM
Re: mailx command stopped working - what .rhost tables are used
Hi David,
You don't need to modify any .rhosts file for mail to work across systems.
Make sure sendmail is working properly as this is the real 'mail engine'
As Darrel suggested, check if sending a mail with sendmail works. If it doesn't, something must be either wrong or unconfigured in your /etc/mail/sendmail.cf file.
Check this way:
sendmail -v root@$host.$domain
Then, check for any sendmail related message in /var/adm/syslog/syslog.log and let us know.
Best regards,
Dan
You don't need to modify any .rhosts file for mail to work across systems.
Make sure sendmail is working properly as this is the real 'mail engine'
As Darrel suggested, check if sending a mail with sendmail works. If it doesn't, something must be either wrong or unconfigured in your /etc/mail/sendmail.cf file.
Check this way:
sendmail -v root@$host.$domain
Then, check for any sendmail related message in /var/adm/syslog/syslog.log and let us know.
Best regards,
Dan
Everybody knows at least one thing worth sharing -- mailto:dan.hetzel@wildcroft.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2001 07:25 PM
01-06-2001 07:25 PM
Re: mailx command stopped working - what .rhost tables are used
Hi,
mailx doesn't use the .rhosts files. You're having problems with sendmail.
Please check /etc/mail/sendmail.cf /etc/mail/sendmail.cw /etc/mail/aliases /etc/rc.config.d/mail ( and ps -ef |grep sendmail ) to see if sendmail is running.
Then try to telnet to the port 25 on the server you want to send the mail to
# telnet server 25
If you don't get an answer then you're having network or firewall problems.
Ovidiu
mailx doesn't use the .rhosts files. You're having problems with sendmail.
Please check /etc/mail/sendmail.cf /etc/mail/sendmail.cw /etc/mail/aliases /etc/rc.config.d/mail ( and ps -ef |grep sendmail ) to see if sendmail is running.
Then try to telnet to the port 25 on the server you want to send the mail to
# telnet server 25
If you don't get an answer then you're having network or firewall problems.
Ovidiu
Simple solutions to complex problems
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