HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: sendmail.cf - resolv.conf - nsswitch.conf
Operating System - HP-UX
1833873
Members
1915
Online
110063
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
08-05-2007 07:06 AM
08-05-2007 07:06 AM
Hi ...
I'm configuring mail command to send messages from the server ...
I got it !!! but ..
I'd like to understand well how are related the files:
/etc/mail/sendmail.cf
/etc/resolv.conf
/etc/nsswitch.conf
/etc/hosts
with the commands:
nslookup, netstat -rn
with the paths:
/var/spool/mqueue ...
Please let me know how ther are related for understanding how should be those files related with the information ...
Thanks a lot
I'm configuring mail command to send messages from the server ...
I got it !!! but ..
I'd like to understand well how are related the files:
/etc/mail/sendmail.cf
/etc/resolv.conf
/etc/nsswitch.conf
/etc/hosts
with the commands:
nslookup, netstat -rn
with the paths:
/var/spool/mqueue ...
Please let me know how ther are related for understanding how should be those files related with the information ...
Thanks a lot
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2007 07:38 AM
08-05-2007 07:38 AM
Solution
Hi Manuales:
Unix 'sendmail' uses DNS to function. See the comments in the 'sendmail.cf' file.
To use DNS for IP-to-name and name-to-IP address translation, you need to specify the "nameserver" that offers this information. This is the function of '/etc/resolv.conf'. See the manpages for 'resolver(4)'.
The '/etc/nsswitch.conf' file tells where to look; in what order; and what to do when an answer isn't given. For example:
hosts: files [NOTFOUND=continue] dns
...says for hostname lookups, consult the '/etc/hosts' file first, and if the entry doesn't exist, consult DNS.
The 'nslookup' utility allows you to translater IP addresses for their DNS names or vice versa.
See the various manpages for 'nsswitch.conf(4)' and 'resolver(4)' for more information.
The 'netstat' command uses DNS unless you specify '-n' to have it report network addresses as numbers.
The '/var/spool/mqueue' files hold mail messages until they are delivered.
Regards!
...JRF...
Unix 'sendmail' uses DNS to function. See the comments in the 'sendmail.cf' file.
To use DNS for IP-to-name and name-to-IP address translation, you need to specify the "nameserver" that offers this information. This is the function of '/etc/resolv.conf'. See the manpages for 'resolver(4)'.
The '/etc/nsswitch.conf' file tells where to look; in what order; and what to do when an answer isn't given. For example:
hosts: files [NOTFOUND=continue] dns
...says for hostname lookups, consult the '/etc/hosts' file first, and if the entry doesn't exist, consult DNS.
The 'nslookup' utility allows you to translater IP addresses for their DNS names or vice versa.
See the various manpages for 'nsswitch.conf(4)' and 'resolver(4)' for more information.
The 'netstat' command uses DNS unless you specify '-n' to have it report network addresses as numbers.
The '/var/spool/mqueue' files hold mail messages until they are delivered.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2007 07:45 AM
08-05-2007 07:45 AM
Re: sendmail.cf - resolv.conf - nsswitch.conf
hi manuales,
if you feel the send-mail configuration is a complex task . you can use a tool ( webmin ) for the same. its really fantastic and you can download it from internet .
Regards
Prasanth
if you feel the send-mail configuration is a complex task . you can use a tool ( webmin ) for the same. its really fantastic and you can download it from internet .
Regards
Prasanth
prasanth.v.a
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2007 02:23 PM
08-05-2007 02:23 PM
Re: sendmail.cf - resolv.conf - nsswitch.conf
Just some info on "webmin". It does have some very good tools but it does require Perl5. I looks for it when you install it.
Tim
Tim
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