GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- sendmail problem
Operating System - HP-UX
1846431
Members
2645
Online
110256
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
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
10-15-2006 03:52 AM
10-15-2006 03:52 AM
I want to send the mail out via sendmail daemon , but however, the mail is stored at mqueue and not send out ,I check that the file in the mqueue , the error is as below , it seems can't file the server asl.srv , but I try to ping it , it is Ok , can advise what is wrong in the sendmail config ? thx
MDeferred: Name server: asl.srv : host name lookup failure
MDeferred: Name server: asl.srv : host name lookup failure
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2006 05:23 AM
10-15-2006 05:23 AM
Solution
In order for sendmail to find a particular hostname, it looks up the mail delivery (MX) record so start with: nslookup -type=mx asl.srv
If this fails, your DNS server is not providing MX records and you'll have to put this server (perhaps others) into /etc/hosts. Then change /etc/nsswitch.conf hosts entry to look like this:
hosts: files [NOTFOUND=continue UNAVAIL=continue] dns
Also edit two files in /etc/mail: sendmail.cw and services.switch. In sendmail.cw, the end of the file should look like this:
localhost
mycomptername
and service.switch:
hosts files dns
aliases files
Then restart sendmail:
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
Bill Hassell, sysadmin
If this fails, your DNS server is not providing MX records and you'll have to put this server (perhaps others) into /etc/hosts. Then change /etc/nsswitch.conf hosts entry to look like this:
hosts: files [NOTFOUND=continue UNAVAIL=continue] dns
Also edit two files in /etc/mail: sendmail.cw and services.switch. In sendmail.cw, the end of the file should look like this:
localhost
mycomptername
and service.switch:
hosts files dns
aliases files
Then restart sendmail:
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2006 07:03 AM
10-15-2006 07:03 AM
Re: sendmail problem
Shalom,
Diags:
sendmail -v -d8.99 -d38.99 someaddress@some.net
type some text
.
full diags from this.
also:
sendmail -v -q
This will run the queue.
Without host name resolution the only way to get mail delivered will be to use the DS directive and relay the mail via another server.
SEP
Diags:
sendmail -v -d8.99 -d38.99 someaddress@some.net
type some text
.
full diags from this.
also:
sendmail -v -q
This will run the queue.
Without host name resolution the only way to get mail delivered will be to use the DS directive and relay the mail via another server.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2006 04:37 AM
10-16-2006 04:37 AM
Re: sendmail problem
friend
this link anger to help you :
https://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1066724
this link anger to help you :
https://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1066724
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 2026 Hewlett Packard Enterprise Development LP