- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- sendmail - relay Host unknown since adding 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
Discussions
Discussions
Discussions
Forums
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
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
тАО09-05-2004 10:22 PM
тАО09-05-2004 10:22 PM
sendmail - relay Host unknown since adding dns.
In the log i receive
mailer=relay, relay=*.*.24.40, stat=Host unknown
I've added the mail relay into /etc/hosts and changed the lookup order to file then dns in nsswitch.conf.
i've also changed the /etc/mail/service.switch file to hosts then dns with no luck.
How can i stop sendmail from using dns
Any ideas?
Ta
George
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-05-2004 10:28 PM
тАО09-05-2004 10:28 PM
Re: sendmail - relay Host unknown since adding dns.
1.The machine entry is made on the DNS server
2.check the sendmail.cf file for
DS
Dj$w
If the changes were not done there change them and restart sendmail
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-05-2004 10:31 PM
тАО09-05-2004 10:31 PM
Re: sendmail - relay Host unknown since adding dns.
I want sendmail to bypass dns as it used to work fine without it.
DNS setting on unix box are fine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-05-2004 10:36 PM
тАО09-05-2004 10:36 PM
Re: sendmail - relay Host unknown since adding dns.
To my understanding earlier you would have the relayhost entry in /etc/hosts and probably the sendmail could resolve it.
Now you are using DNS and it has to have an entry for relayhost to resolve.
Alternatively you can try changing the files option in /etc/nsswitch.conf file to
files dns[unavail=continue][notfound=continue] hosts
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-05-2004 10:37 PM
тАО09-05-2004 10:37 PM
Re: sendmail - relay Host unknown since adding dns.
will make sure to check the hosts file for resolving relayhost if not found on the DNS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-05-2004 10:43 PM
тАО09-05-2004 10:43 PM
Re: sendmail - relay Host unknown since adding dns.
If the nsswitch.conf file has
hosts: files [NOTFOUND=continue] dns
surely then sendmail should be able to pick up the entry.
I want sendmail to bypass dns completely
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-05-2004 10:51 PM
тАО09-05-2004 10:51 PM
Re: sendmail - relay Host unknown since adding dns.
Its fine,
check /var/adm/syslog/mail.log
REvert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-05-2004 11:49 PM
тАО09-05-2004 11:49 PM
Re: sendmail - relay Host unknown since adding dns.
Check the file: /etc/mail/sendmail.cw. It should contain the hostname and the fully-qualified hostname for the system.
MB.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-05-2004 11:53 PM
тАО09-05-2004 11:53 PM
Re: sendmail - relay Host unknown since adding dns.
#sendmail -v
TEST
.
Please revert with the output
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-06-2004 12:45 AM
тАО09-06-2004 12:45 AM
Re: sendmail - relay Host unknown since adding dns.
gdodds@primustel.co.uk... Host unknown (Name server: *.*.24.40: host not found)
/dead.letter... Saved message in /dead.letter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-06-2004 12:56 AM
тАО09-06-2004 12:56 AM
Re: sendmail - relay Host unknown since adding dns.
# "Smart" relay host (may be null)
DS*.*.24.40
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-06-2004 02:27 AM
тАО09-06-2004 02:27 AM
Re: sendmail - relay Host unknown since adding dns.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-06-2004 02:39 AM
тАО09-06-2004 02:39 AM
Re: sendmail - relay Host unknown since adding dns.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-06-2004 03:12 AM
тАО09-06-2004 03:12 AM
Re: sendmail - relay Host unknown since adding dns.
DSrelayserver
That way you know the resolver is working...
I would also set the DM macro:
DMyourdomain.com
Make sure you restart sendmail...
In your /etc/hosts, make sure FQDN is there as well
X.X.24.40 relayserver relayserver.yourdomain.com
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-06-2004 04:17 AM
тАО09-06-2004 04:17 AM
Re: sendmail - relay Host unknown since adding dns.
If your relay hosts are in /etc/hosts file then, use nsswitch.conf file hosts entry and
If you want to use only relay host resolved then,
hosts: files dns
or
hosts: files[notfound=return] dns
-- /etc/hosts ---
IP-Address of Relay hosts relayhost.domain.com relayhost
nsquery hosts
-> will check only on files of /etc/hosts
If you are getting positive results then no problem will come on resolvation during mail
If you are going to resolve with dns then,
hosts: dns files
-- /etc/resolv.conf
domain domainame.com
nameserver
nameserver
You can check resolvation as,
nslookup
Regards
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-07-2004 01:52 AM
тАО09-07-2004 01:52 AM
Re: sendmail - relay Host unknown since adding dns.
the relay server ip addy was a vitual ip and had no entry in dns, so i tried the actual ip of one of the relay servers but encountered reverse lookup problems.
So i put the actual name of one of the relay server and hey presto it worked.
i've got no mail redundancy if that relay server goes down, but it will do till the virtual i;p is given a name in dns.
Thanks for all the replies
Ta
George
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-07-2004 01:52 AM
тАО09-07-2004 01:52 AM