Operating System - HP-UX
1834903 Members
2643 Online
110071 Solutions
New Discussion

Sendmail nsswitch problem

 
Kusuma Sashidhar_2
Occasional Advisor

Sendmail nsswitch problem

Hi,

I have configured sendmail on solaris. My nsswitch.conf - hosts entry is

hosts: files dns

I use dns for some other reason. But i don't want sendmail to look in to dns. Though I have created service.switch file to look into files only, sendmail looks this nsswitch entry also. sendmail works only if i remove dns from nsswitch.conf. Please help.

Another query I have is how do I send mails only to my exchange server IDs (through smart relay host) and I want to disable mails to any other internet mails.

Regards,
Kusuma



1 REPLY 1
Robert-Jan Goossens
Honored Contributor

Re: Sendmail nsswitch problem

Hi,

I use the DS option in sendmail

DSwebmail

/etc/hosts

ip-address webmail

Best regards,
Robert-Jan