HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Setting up mailx
Operating System - HP-UX
1839389
Members
3480
Online
110145
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
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
07-05-2002 03:28 AM
07-05-2002 03:28 AM
Currently we have over 200 HP9000 servers running v10.20, these are distributed around the world and we have an ongoing issue with the backups in that local sites do not load tape.
To get around this I would like to use mailx to mail the users advising them to load tape.
I would like to know what standard config is required in order for this to work.
I understand two files needed are
/etc/nsswitch.conf
and
/etc/resolv.conf
Example of nsswicth is
gb673_1:/var/spool/mqueue # cat /etc/nsswitch.conf
#
# /etc/nsswitch.conf
#
# This is the default configuration file for the name service switch.
# It will cause behavior similar to that performed on prior HP-UX
# releases when a configurable name service algorithm was not provided.
#
# If the /etc/nsswitch.conf file is not present, it will default to the
# behavior represented by the ordering and conditions below.
#
# See the Adminstering Internet Services Manual and the switch(4) man
# page for more information on the name service switch.
#
hosts: files dns
services: files
protocols: files
networks: files
rpc: files
netgroup: files
example of resolv.conf
gb673_1:/var/spool/mqueue # cat /etc/resolv.conf
domain gb.tntpost.com
nameserver 164.39.9.19
nameserver 164.39.176.10
I have also checked and I think /var/spool/mqueue needs to exist.
However of the 200 or so servers only a few work and those are server running qip.
Can anyone advise what standard config is needed/setup for mailx to work ??
The string I send when using mailx is
mailx -s "TEST" paul.thomson@tntpost.com < /etc/issue
Cheers
Paul
To get around this I would like to use mailx to mail the users advising them to load tape.
I would like to know what standard config is required in order for this to work.
I understand two files needed are
/etc/nsswitch.conf
and
/etc/resolv.conf
Example of nsswicth is
gb673_1:/var/spool/mqueue # cat /etc/nsswitch.conf
#
# /etc/nsswitch.conf
#
# This is the default configuration file for the name service switch.
# It will cause behavior similar to that performed on prior HP-UX
# releases when a configurable name service algorithm was not provided.
#
# If the /etc/nsswitch.conf file is not present, it will default to the
# behavior represented by the ordering and conditions below.
#
# See the Adminstering Internet Services Manual and the switch(4) man
# page for more information on the name service switch.
#
hosts: files dns
services: files
protocols: files
networks: files
rpc: files
netgroup: files
example of resolv.conf
gb673_1:/var/spool/mqueue # cat /etc/resolv.conf
domain gb.tntpost.com
nameserver 164.39.9.19
nameserver 164.39.176.10
I have also checked and I think /var/spool/mqueue needs to exist.
However of the 200 or so servers only a few work and those are server running qip.
Can anyone advise what standard config is needed/setup for mailx to work ??
The string I send when using mailx is
mailx -s "TEST" paul.thomson@tntpost.com < /etc/issue
Cheers
Paul
Argh ye land lovers !
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2002 04:45 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2002 05:30 AM
07-05-2002 05:30 AM
Re: Setting up mailx
Wow, cheers for update.... Will test this and assign points soon!!
Argh ye land lovers !
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