HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Sendmail works whitout DNS?
Operating System - HP-UX
1832363
Members
2516
Online
110041
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
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
05-15-2002 05:47 AM
05-15-2002 05:47 AM
Sendmail works whitout DNS?
Hello,
I need use the Sendmail on HP-UX, but I cannot use the DNS to set the MX ( Mail eXchanger ).
I??d like do know if it??s possible to use another recurse to set the MX and if the sendmail work correct.
I will be work with relay option only ( DS variable ).
I need use the Sendmail on HP-UX, but I cannot use the DNS to set the MX ( Mail eXchanger ).
I??d like do know if it??s possible to use another recurse to set the MX and if the sendmail work correct.
I will be work with relay option only ( DS variable ).
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 05:58 AM
05-15-2002 05:58 AM
Re: Sendmail works whitout DNS?
You should not have problems as long as the mail relay machine is listed in /etc/hosts.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 08:31 PM
05-15-2002 08:31 PM
Re: Sendmail works whitout DNS?
hi,
edit the /etc/nsswitch.conf configuration file and put thia entry.
hosts: files dns
Now put all your smart host name and ip address
in /etc/hosts.
use smart hosts's name with DS option in /etc/sendmail.cf.
restart the sendmail service. it should work now . if not try putting any ONE of the following lines in /etc/sendmail.cf
# service switch file (ignored on Solaris, Ultrix, OSF/1, others)
O ServiceSwitchFile=/etc/nsswitch.conf
( OR )
# hosts file (normally /etc/hosts)
O HostsFile=/etc/hosts
Then restart the sendmail service.
regards,
U.SivaKumar
edit the /etc/nsswitch.conf configuration file and put thia entry.
hosts: files dns
Now put all your smart host name and ip address
in /etc/hosts.
use smart hosts's name with DS option in /etc/sendmail.cf.
restart the sendmail service. it should work now . if not try putting any ONE of the following lines in /etc/sendmail.cf
# service switch file (ignored on Solaris, Ultrix, OSF/1, others)
O ServiceSwitchFile=/etc/nsswitch.conf
( OR )
# hosts file (normally /etc/hosts)
O HostsFile=/etc/hosts
Then restart the sendmail service.
regards,
U.SivaKumar
Innovations are made when conventions are broken
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 09:39 PM
05-15-2002 09:39 PM
Re: Sendmail works whitout DNS?
I've used the following document to set up sendmail where the name resolution occirs through /etc/hosts only.
Operating sendmail with /etc/hosts only
=======================================
To operate sendmail in topologies with /etc/hosts only (without DNS and
without NIS), make the changes listed below.
1. Change/enter the "hosts" entry in the file /etc/nsswitch.conf:
hosts: files
2. In the file /etc/mail/sendmail.cf, uncomment the following options:
O TryNullMXList
Prior to HP-UX 8.x sendmail, sendmail would try to connect to a host directly if there were no MX records for the destination. To revert to this behavior, you must uncomment the option TryNullMXList.
Uncomment and Define:
Dj$w.foo.bar
Replace foo.bar with what would be considered the domain part of your host name. For example:
Dj$w.cup.hp.com
And add your mail remay server:
# "Smart" relay host (may be null)
DSyour.mailserver.relay
Restart sendmail (/sbin/init.d/sendmail stop and start) after changing sendmail.cf
Kurt
Operating sendmail with /etc/hosts only
=======================================
To operate sendmail in topologies with /etc/hosts only (without DNS and
without NIS), make the changes listed below.
1. Change/enter the "hosts" entry in the file /etc/nsswitch.conf:
hosts: files
2. In the file /etc/mail/sendmail.cf, uncomment the following options:
O TryNullMXList
Prior to HP-UX 8.x sendmail, sendmail would try to connect to a host directly if there were no MX records for the destination. To revert to this behavior, you must uncomment the option TryNullMXList.
Uncomment and Define:
Dj$w.foo.bar
Replace foo.bar with what would be considered the domain part of your host name. For example:
Dj$w.cup.hp.com
And add your mail remay server:
# "Smart" relay host (may be null)
DSyour.mailserver.relay
Restart sendmail (/sbin/init.d/sendmail stop and start) after changing sendmail.cf
Kurt
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