HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Cannot send mails with sendmail
Operating System - HP-UX
1837920
Members
4585
Online
110124
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-30-2004 01:55 AM
06-30-2004 01:55 AM
Hi,
I have an 11i HPUX and when I send a mail, it remains in mqueue, and tell this:
Mhost map: lookup (DOMAIN): deferred
This systems resolvs by /etc/hosts, not by DNS.
Could somebody help me ?
Thanks and regards,
I have an 11i HPUX and when I send a mail, it remains in mqueue, and tell this:
Mhost map: lookup (DOMAIN): deferred
This systems resolvs by /etc/hosts, not by DNS.
Could somebody help me ?
Thanks and regards,
"When you look into an abyss, the abyss also looks into you"
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2004 02:02 AM
06-30-2004 02:02 AM
Solution
hi,
look in the file /etc/mail/sendmail.cf and say what are the entries for
1. your smart relay host (entries with Ds Macro)
2. ping the domain (defined in /etc/hosts) and see whether it is pinging.
3. is the Service Switch file enabled. (search for the string "/etc/mail/service.switch" in sendmail.cf and see whether line beginning with is hashed)
with best wishes
Naveej
look in the file /etc/mail/sendmail.cf and say what are the entries for
1. your smart relay host (entries with Ds Macro)
2. ping the domain (defined in /etc/hosts) and see whether it is pinging.
3. is the Service Switch file enabled. (search for the string "/etc/mail/service.switch" in sendmail.cf and see whether line beginning with is hashed)
with best wishes
Naveej
practice makes a man perfect!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2004 03:35 PM
06-30-2004 03:35 PM
Re: Cannot send mails with sendmail
R.O.
If the /etc/nsswitch.conf file has a DNS entry, then the sendmail server MUST be set up so that it can access a working nameserver. This is also true if there is no nsswitch.conf file as the default operation includes DNS.
Look at your /etc/resolv.conf file if you have one. If you are using DNS, there should be a valid nameserver entry. If it does not contain a functioning nameserver, then you will need to edit the /etc/nsswitch.conf file and remove the reference to DNS from the hosts line, or make sure the file contains a line similar to this:
hosts: files
Good luck,
Chris
If the /etc/nsswitch.conf file has a DNS entry, then the sendmail server MUST be set up so that it can access a working nameserver. This is also true if there is no nsswitch.conf file as the default operation includes DNS.
Look at your /etc/resolv.conf file if you have one. If you are using DNS, there should be a valid nameserver entry. If it does not contain a functioning nameserver, then you will need to edit the /etc/nsswitch.conf file and remove the reference to DNS from the hosts line, or make sure the file contains a line similar to this:
hosts: files
Good luck,
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2004 03:41 PM
06-30-2004 03:41 PM
Re: Cannot send mails with sendmail
telnet relayserver 25
helo
this command would return a host name for your host , add it in your /etc/mail/relay-domains
Kaps
helo
this command would return a host name for your host , add it in your /etc/mail/relay-domains
Kaps
Nothing is impossible
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