After my Summary I got additional answers from Hichem Boukottaya Andrew Kyle Steve Sandau Mike Brodbelt and Lupe Christoph With these information I was able to change the sendmail configuration so that it works now without compiling our own sendmail. I finally used the following solution: 2. Modify submit.cf and sendmail.cf not to perform lookups and send straight to the mailhost: change: R$* $| $* < @ $* > $* $: $2 < @ $[ $3 $] > $4 R$* $| $* $: $2 to: R$* $| $* < @ $* > $* $: $2 < @ $3 > $4 R$* $| $* $: $2 Thanks to all that answered. regards Bernd My Original question was: >We're trying to configure sendmail on a machine running Solaris 9 for >sending mails via an "smart" relay host (DS... in /etc/mail/sendmail.cf) > >The problem we have is, that sendmail trys to resolve the domain names >of the target email addresses, e.g. if we send an email to >bs@mysubdomain.mydomain.de sendmail trys to "resolve" >mysubdomain.mydomain.de . This fails because the nameserver used does >not know this domain and because of this sendmail does not send the >email to the relay. > >At least that is what the mail people in our company told us. They also >told us that the "normal" sendmail daemon uses a file called >/etc/mail/service.switch to configure the name resolution but that the >use of this file is disabled in the sendmail daemon from Solaris 9. > > >If we change the hosts entry in /etc/nsswitch.conf to "hosts: files" >instead of "hosts: files dns" everything works. > >How can we tell sendmail to change this behaviour (because we must have >dns configured in /etc/nsswitch.conf)? > >Note that the connection to the mail relay and the DNS server are ok. > >regards > >Bernd > > > -- Bernd Schemmer, Frankfurt am Main, Germany http://home.arcor.de/bnsmb/index.html Mas temprano que tarde el mundio cambiara Fidel Castro _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagersReceived on Thu Jun 1 15:35:03 2006
This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:58 EST