Operating System - HP-UX
1752292 Members
4722 Online
108786 Solutions
New Discussion юеВ

Re: Sendmail relaying to Exchange 2000

 
Darren Gaile
Advisor

Re: Sendmail relaying to Exchange 2000

Geoff, thanks for all the sugestions.

Still no joy. Still getting exactly the same message when I run

sendmail -v
Darren Gaile
Advisor

Re: Sendmail relaying to Exchange 2000

Just discoverd something else.

If I run

$nsquery hosts ukbfex01

or

$nsquery hosts ukbfex01.europe.cskcorp.com

I get the following.

No policy for hosts in nsswitch.conf.
Using "dns [NOTFOUND=return TRYAGAIN=return] nis [NOTFOUND=return] files" for th
e hosts policy.

Searching dns for ukbfex01.europe.cskcorp.com
This Name Service is currently unavailable

Switch configuration: Allows fallback

Searching nis for ukbfex01.europe.cskcorp.com
This Name Service is currently unavailable

Switch configuration: Allows fallback

Searching /etc/hosts for ukbfex01.europe.cskcorp.com
Hostname: ukbfex01
Aliases: ukbfex01.europe.cskcorp.com
Address: 192.0.0.6
Switch configuration: Terminates Search

The first lines states that there is no policy for Hosts in nsswitch.conf and tries to lookup via DNS.

yet in /etc/nsswitch.conf, the following lines exists.

hosts files
Geoff Wild
Honored Contributor

Re: Sendmail relaying to Exchange 2000

Should be:

hosts: files [NOTFOUND=CONTINUE] dns

Or something like that - for no DNS:

hosts: files


Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Darren Gaile
Advisor

Re: Sendmail relaying to Exchange 2000

All,

I've just solved my problem in the last line of my previous post.

hosts files

should be

hosts: files

Tried, tested and it works.

Thanks to everyone for you input. It was very much appreciated.
Darren Gaile
Advisor

Re: Sendmail relaying to Exchange 2000

You beat me to the punch by 3 seconds there Geoff.

Thanks again for your help.
Geoff Wild
Honored Contributor

Re: Sendmail relaying to Exchange 2000

Darren - cool - glad that solved it!

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.