HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: nsswitch.conf and sendmail
Operating System - HP-UX
1834261
Members
56919
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
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
06-01-2004 04:21 AM
06-01-2004 04:21 AM
I have a Smart relay host that is used to return mail I send to addresses on the internet. I have made a copy of /etc/nsswitch.conf specifying "dns" as a secondary resolver method. When I merely commented out the IP address of the Smart relay host and restarted sendmail, I got a message saying the "Sender domain must exist". Uncommenting the entry in /etc/hosts resolved the problem. The error message appears to be coming from this line in sendmail.cf:
R $* $#error $@ 5.1.8 $: "501 Sender domain must exist". Question 1). If I simply "install" the new version of the nsswitch.conf without otherwise altering /etc/hosts, my system should still find everything utilizing /etc/hosts unless the servername being searched for is not there, right? Question 2). As long as the Smart Relay can be resolved on our DNS server, I should then be able to comment out its entry in /etc/hosts and avoid the "Sender domain must exist" error, right?
R
Insecurity is our friend. It keeps you dependent.
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2004 01:01 AM
06-02-2004 01:01 AM
Solution
1 - correct
2 - correct
caveat - DNS must be functioning for the above to work.
Also, remember to stop/start sendmail after making changes.
Because you are using a SmartRelay, I would also add your domain to the DM macro in sendmail.cf:
DMyourdomain.com
Rgds...Geoff
2 - correct
caveat - DNS must be functioning for the above to work.
Also, remember to stop/start sendmail after making changes.
Because you are using a SmartRelay, I would also add your domain to the DM macro in sendmail.cf:
DMyourdomain.com
Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2004 01:43 AM
06-02-2004 01:43 AM
Re: nsswitch.conf and sendmail
Thanks Jeff. Anybody(?). Regarding the first part of the problem - "Sender domain must exist", the problem I am now having seems to be that when I use DNS to resolve the IP address of the "Smart Relay", it returns the following: "May 28 12:30:13 hpopsnew sendmail[24052]: MAA24052: ruleset=check_mail, arg1=, relay=[135.10.11.90], reject=501 Sender domain must exist". The relay IP address is our "intranet" IP for the Smart Relay host (fc.xxxx.com), but not the "internet" IP address for that server, known as fc.xxxx.com. I don't understand where it got this IP address from (in the relay=[135.10.11.90]). I was advised by somebody to insure that the DNS admin added an MX (Mail Exchanger?) record for that (135.10.11.90) address with the fc.xxxx.com "Friendly name" to the DNS server. Any comment about this?
Insecurity is our friend. It keeps you dependent.
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