- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- smart relay w/ internal dns server
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
04-09-2003 05:58 AM
04-09-2003 05:58 AM
smart relay w/ internal dns server
I have an issue with sendmail using an interal dns server. When I mean internal dns server it is a dns server that only resolves internal hostnames. It does not resolve any external or internet domains.
I have set up the DS macro on server A that is not on the internet to use a relay host server B wich also and hpux box. Server B is on the internet and can resolv internet domains to send email anywhere.
Now on server A. I have /etc/nsswitch.conf set up
hosts: files [NOTFOUND=continue TRYAGAIN=continue] dns
To use the interal dns server. When I try to send an email
sendmail -v richard@mydomain.com
it does not work.
I get
Name server timeout
Transient parse error
On the internal dns I can do an nslookup on server B which I am trying to use as a smart relay server. Everything resolves fine with the interal dns.
Now in nsswitch.conf when I use
hosts: files
it works.
Why is sendmail so set on using the internal dns server to resolve a domain ? Even when I am using a smart relay.
Even with nsswitch.conf set to look at files first it is still looking for the dns server.
How can I get it to use the smart relay. Which is a local host in the internal dns server and in the /etc/hosts file. And still be able to use the interal dns server.
Thanks,
Richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2003 06:25 AM
04-09-2003 06:25 AM
Re: smart relay w/ internal dns server
Try cw settings in sendmail.cf. You may want to put local hostnames in sendmail.cw file
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2003 06:52 AM
04-09-2003 06:52 AM
Re: smart relay w/ internal dns server
You might also need to set the DM macro in sendmail.cf:
DMmydomain.com
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2003 06:59 AM
04-09-2003 06:59 AM
Re: smart relay w/ internal dns server
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000062906182
Goodluck,
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2003 08:14 AM
04-09-2003 08:14 AM
Re: smart relay w/ internal dns server
here is what I have ..
if i do
sendmail -v richardl@mydomain.com
it does not work if I am using my internal dns server.
Now if i put an entery in /etc/hosts
192.168.10.154 mydomain.com
It works. I can send emamil to richardl@mydomain.com even if i am using the internal dns server. The smart relay works. But now the issue is it does not use the smart relay for other domains.
I still would think that it would use the smart relay for everything.
Richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2003 10:41 AM
04-09-2003 10:41 AM
Re: smart relay w/ internal dns server
BTW - did you check the resolv.conf on Host A?
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2003 02:21 PM
04-09-2003 02:21 PM
Re: smart relay w/ internal dns server
I finaly got this to work. I had to force sendmail not to look at dns. Here is how I did it.
In the sendmail.cf in the section marked SMTP Mailer specification I had to change F=mDFMuX like so:
F=mDFMuX
to
F=0mDFMuX
in all 4 parts.
Below is how it looks with the changes:
#####################################
### SMTP Mailer specification ###
#####################################
##### @(#)smtp.m4 8.38 (Berkeley) 5/19/1998 #####
Msmtp, P=[IPC], F=0mDFMuX, S=11/31, R=21, E=\r\n, L=990,
T=DNS/RFC822/SMTP,
A=IPC $h
Mesmtp, P=[IPC], F=0mDFMuXa, S=11/31, R=21, E=\r\n, L=990,
T=DNS/RFC822/SMTP,
A=IPC $h
Msmtp8, P=[IPC], F=0mDFMuX8, S=11/31, R=21, E=\r\n, L=990,
T=DNS/RFC822/SMTP,
A=IPC $h
Mrelay, P=[IPC], F=0mDFMuXa8, S=11/31, R=61, E=\r\n, L=2040,
T=DNS/RFC822/SMTP,
A=IPC $h
###########################
Then I had to comment out
#####################################
# pass to name server to make hostname canonical
R$* < @ $* $~P > $* $: $1 < @ $[ $2 $3 $] > $4
to
#####################################
# pass to name server to make #hostname canonical
R$* < @ $* $~P > $* $: $1 < @ $[ $2 $3 $] > $4
and then it worked.
Richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2003 02:23 PM
04-09-2003 02:23 PM
Re: smart relay w/ internal dns server
on the last part
###########################
Then I had to comment out
#####################################
# pass to name server to make hostname canonical
R$* < @ $* $~P > $* $: $1 < @ $[ $2 $3 $] > $4
to
The statement is commented out.
#####################################
# pass to name server to make hostname canonical
#R$* < @ $* $~P > $* $: $1 < @ $[ $2 $3 $] > $4