- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Sendmail and DNS
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
02-20-2005 06:45 PM
02-20-2005 06:45 PM
Sendmail and DNS
I couldn't find the answer to my problem by searching this topic. I have a HP-UX11.i machine and sendmail. The box is a MMS server (multimedia messaging). Whenever it sends a mail the machine performs a DNS query, even if the target is listed in /etc/hosts and /etc/nsswitch is correctly configured - i.e. hosts : files [NOTFOUND=continue UNAVAIL=continue] dns and
sendmailvars: files dns
If I ping the same target host, it solves the name from /etc/hosts (no DNS query on the Ethereal trace)
any idea?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2005 06:51 PM
02-20-2005 06:51 PM
Re: Sendmail and DNS
Keith
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2005 06:59 PM
02-20-2005 06:59 PM
Re: Sendmail and DNS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2005 07:30 PM
02-20-2005 07:30 PM
Re: Sendmail and DNS
resolv.conf has 2 lines:
nameserver
mameserver
all the namelookups are succesfully.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2005 07:52 PM
02-20-2005 07:52 PM
Re: Sendmail and DNS
KB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2005 08:34 PM
02-20-2005 08:34 PM
Re: Sendmail and DNS
what is DJ?? there is an entry in /etc/hosts with IP address - hostname - aliases.
Why should I have this search line in resolv.conf? DNS queries are OK.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2005 09:22 PM
02-20-2005 09:22 PM
Re: Sendmail and DNS
If DJ is not set, the hostname of the server will be the sending domain. That is stored in /etc/rc.config.d/netconf
Assuming the domain name is less than 8 characters server.domain.com is a valid hostname that can be used.
Its important to have a valid domain name on your email that resolves on the public Internet.
If not, many mail systems, like aol, earthlink and my own won't accept you mail.
To set the Dj directive, edit sendmail.cf
change
DJ
to DJhostname.domain.com
or
DJdomain.com
If the domain resolves on the public Internet your mail will go through to almost any mail server.
Then:
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
You should be set now.
To send mail interactively to test your setup:
sendmail -v -d8.99 -d38.99 someone@domain.com
type some text
.
You will get a weath of diagnostic information.
SEP
Coffee Shop @
Corner of Emek Rafaim & Rachel Immanu
Jerusalem
Isn't wireless great?
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
02-25-2005 01:24 AM
02-25-2005 01:24 AM