- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: mailx command issue...
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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
03-08-2001 09:23 AM
03-08-2001 09:23 AM
I am trying to run the below command at the command prompt on my HP-UX 11.0 K210 system and I am not receiving any emails back in my Outlook.
echo "This is a test" | /usr/bin/mailx -s "Node is Down" saldrich@chaptersinc.com
When I run this same command on my other three HP-UX 10.20 systems it works fine and I receive an email in Outlook. Any ideas on why I can't get this command to work on HP-UX 11. Are there any configuration files I need to modify? The three HP-UX 10.20 systems were set up before I got here so I am not sure what was done.
Any help is greatly appreciated...
S Aldrich
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2001 09:32 AM
03-08-2001 09:32 AM
Re: mailx command issue...
If there are discrepancies between your 11.0 system and the others, then I would make them all look the same. You can copy the sendmail.cf file from the other systems and edit the mailservs file.
Be sure to stop and restart the sendmail daemon.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2001 09:56 AM
03-08-2001 09:56 AM
Re: mailx command issue...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2001 10:15 AM
03-08-2001 10:15 AM
Re: mailx command issue...
So let me get this straight, in order to use mailx to send a message to an Outlook mailbox you have to configure Sendmail?
If so, does anyone have a brief summary of the steps to do this? Is it just a matter of making sure that you have a full qualified name in the /etc/hosts file and that the /etc/rc.config.d/mailservs file has been changed from 0 to 1. Then start the sendmail daemon.
Do I need to know additional steps? Do I need to do anything with the /etc/nsswitch.conf and /etc/resolv.conf file?
One last thing, Do I need to make any modifications to the /etc/mail/sendmail.cf file and if so any suggestions?
Thanks for your help,
S Aldrich
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2001 10:42 AM
03-08-2001 10:42 AM
Re: mailx command issue...
copy sendmail.cf from working machine to non-working machine
compare mailservs between 2 machines and make them look the same.
compare nsswitch.conf and resolv.conf between working and non-working machines. Assuming the configurations are similar otherwise, you can probably copy those files from the working to the non-working machine.
lastly, do a '/sbin/init.d/sendmail stop' and make sure sendmail is stopped. And then do a '/sbin/init.d/sendmail start' to restart it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2001 10:53 AM
03-08-2001 10:53 AM
Re: mailx command issue...
Thanks for the replies. I have thought about copying over all of the files from a working system on 10.20 to 11.0 but I guess what I am trying to do is look at it as if I don't have any other systems. Somebody else has set up those systems and I am not sure what they did.
What if I was given a new system and asked to do this from scratch?
So let me get this straight, in order to use mailx to send a message to an Outlook mailbox you have to configure Sendmail?
If so, does anyone have a brief summary of the steps to do this? Is it just a matter of making sure that you have a full qualified name in the /etc/hosts file and that the /etc/rc.config.d/mailservs file has been changed from 0 to 1. Then start the sendmail daemon.
Do I need to know additional steps? Do I need to do anything with the /etc/nsswitch.conf and /etc/resolv.conf file?
One last thing, Do I need to make any modifications to the /etc/mail/sendmail.cf file and if so any suggestions?
Thanks for your help,
S Aldrich
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2001 10:53 AM
03-08-2001 10:53 AM
Re: mailx command issue...
Thanks for the replies. I have thought about copying over all of the files from a working system on 10.20 to 11.0 but I guess what I am trying to do is look at it as if I don't have any other systems. Somebody else has set up those systems and I am not sure what they did.
What if I was given a new system and asked to do this from scratch?
So let me get this straight, in order to use mailx to send a message to an Outlook mailbox you have to configure Sendmail?
If so, does anyone have a brief summary of the steps to do this? Is it just a matter of making sure that you have a full qualified name in the /etc/hosts file and that the /etc/rc.config.d/mailservs file has been changed from 0 to 1. Then start the sendmail daemon.
Do I need to know additional steps? Do I need to do anything with the /etc/nsswitch.conf and /etc/resolv.conf file?
One last thing, Do I need to make any modifications to the /etc/mail/sendmail.cf file and if so any suggestions?
Thanks for your help,
S Aldrich
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2001 11:11 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2001 11:15 AM
03-08-2001 11:15 AM
Re: mailx command issue...
You probably will need to modify the sendmail.cf file. Here are several links to other threads in the forums to hopefully get you started.
http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x426e37f45ef7d4118fef0090279cd0f9,00.html
http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x52a879bffde7d4118fef0090279cd0f9,00.html
http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x60cb6af52b04d5118fef0090279cd0f9,00.html
http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0xad0460260cafd4118fef0090279cd0f9,00.html
Also mentioned in one of the above threads is http://www.sendmail.org You might also want to take a look at the sendmail documents in /usr/share/doc. There you will find several documents on sendmail. Lastly there are some sendmail.cf templates in /usr/newconfig/etc/mail/
If you want to more threads on sendmail from the Forums, select 'search' from the left side of the screen, type sendmail into the 'Search for' field and make sure the 'community forums' check box is checked. You will get 2 pages (the max that will be returned) worth of hits.