- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: sendmail problem
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
11-08-2005 06:08 PM
11-08-2005 06:08 PM
I have a system running hp-ux 11.00 ; it is an OpenView server. I edited the sendmail.cf and /etc/hosts files. But sendmail didn't work. When I edited the /etc/nsswitch.conf file as below, it worked.
before the change;
hosts: files [NOTFOUND=continue] nis [NOTFOUND=continue] dns [NOTFOUND=return]
after the change; (it works with this conf)
hosts: files
I don't want to change this conf file because it is an openview server and also dataprotector software runs on it.
Can you help me? Why doesn't it work and what can I do?
Thanks a lot,
Deniz,
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2005 06:13 PM
11-08-2005 06:13 PM
Re: sendmail problem
Did you restart the sendmail daemon after the modifications ?
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
What do you see in /var/adm/syslog/mail.log
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2005 06:13 PM
11-08-2005 06:13 PM
Re: sendmail problem
hosts: files
hosts: files [NOTFOUND=continue] nis [NOTFOUND=continue] dns [NOTFOUND=return]
as well. I hope you did not try with old configuration after changing /etc/hosts file. Try it.
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2005 07:02 PM
11-08-2005 07:02 PM
Re: sendmail problem
it doesn't work with "files [NOTFOUND=continue] nis [NOTFOUND=continue] dns [NOTFOUND=return]"
when I write;
nslookup domain_adress;
if it writes "*** No address information is available for "domain_adress" --> sendmail works.
if it finds the domain_adress, it doesn't work.
How can it work although it doesn't find the domain_address?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2005 12:01 AM
11-10-2005 12:01 AM
Re: sendmail problem
Also, what kind of sendmail errors are you getting when you use the full 'hosts:' statement in /etc/nsswitch.conf (check /var/adm/syslog/mail.log)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2005 12:15 AM
11-10-2005 12:15 AM
SolutionYou may need to change /etc/resolv.conf to get good DNS lookup results.
Frankly I like your nsswitch conf setup.
Try this:
sendmail -v -d8.99 -d38.99 test@test.com
type some text
.
You will get good diagnostics, but you can also look at your mail.log file in /var/adm/syslog
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com