- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: sendmail and service switch
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
Discussions
Discussions
Forums
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
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
тАО04-25-2001 06:27 AM
тАО04-25-2001 06:27 AM
My nsswitch is configured to "dns files" , the record is in the host file.
but I still get a host unknown error in processing the mail.
any thoughts? Do I need to explicitly use the service switch file option in the sendmail config? (hp-ux11.00)
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-25-2001 06:53 AM
тАО04-25-2001 06:53 AM
Re: sendmail and service switch
Try this entry in your /etc/nsswitch.conf file:
files [NOTFOUND=continue] dns
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-25-2001 07:04 AM
тАО04-25-2001 07:04 AM
Re: sendmail and service switch
Take a look at document #KLTKBRC00005381 (Sendmail 8.x Setup Instructions). I think this better answers your question.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-25-2001 10:10 AM
тАО04-25-2001 10:10 AM
Re: sendmail and service switch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-25-2001 10:39 AM
тАО04-25-2001 10:39 AM
SolutionTo find the document I cited is from the Technical Knowledge Base (TKB).
Make sure that you are logged into the ITRC.
Click Maintenance and Support -> Search Technical Knowledge Base -> Select Search by Doc ID and enter the document number (KLTKBRC00005381) -> Search.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-25-2001 12:05 PM
тАО04-25-2001 12:05 PM
Re: sendmail and service switch
If one intends to use a combination of services to resolve hostnames, for example, to attempt to use /etc/hosts first and if no server name is found, then DNS, for example:
hosts: files [NOTFOUND=continue UNAVAIL=continue TRYAGAIN=continue] dns
NOTE: only DNS will be utilized for sendmail lookups (/etc/hosts will not be consulted)
-------------?????-----------------------------
This means sendmail is not really honoring the service
switch config. How can I force sendmail to fall back on the host file while still using DNS as my primary names resolution service?