Date: Tue, 12 Jun 2001 18:00:23 -0700 From: "Weyrich, Orville" <orville.weyrich@pegs.com> To: freebsd-questions@freebsd.org Cc: "'orville@weyrich.com'" <orville@weyrich.com> Subject: RE: service.switch problem with sendmail Message-ID: <9205097C1881D411B2FC00902727033401074B52@pheexh01.pegs.com>
next in thread | raw e-mail | index | archive | help
Thanks, but no cigar. Sendmail is properly configured to find my service.switch file. PROOF: editing the file changes the behavior of Sendmail (as described in my original message). orville. -----Original Message----- From: Ian P. Thomas [mailto:ipthomas_77@yahoo.com] Sent: Tuesday, June 12, 2001 5:37 PM To: orville.weyrich@pegs.com Cc: freebsd-questions@freebsd.org Subject: Re: service.switch problem with sendmail According to the Sendmail docs, unless Sendmail is configured with a ServiceSwitchFile=/etc/mail/service.switch, it will default to looking in /etc/service.switch. This line should go in the .cf file. O ServiceSwitchFile=/etc/mail/service.switch This should do it. Ian In the last episode, Weyrich, Orville stated... > > System: FreeBSD_4.3-RELEASE > > NOT connected to the net, no local DNS (but I will add that later after I > get this part working). > > If /etc/mail/service.switch contains the lne "hosts files" then I can send > e-mail to systems on my LAN using entries in the /etc/hosts file. So far so > good. > > But if /etc/mail/service.switch contains the line "hosts files dns" then > I EXPECT THAT THINGS WILL WORK THE SAME WAY, because files is listed before > dns, and the host file is able to resolve the ip address of the destination > system on my LAN. But no joy -- the mail gets queued on the local box -- > deferred because of DNS. > > How do I get sendmail to ONLY consult /etc/hosts for systems found in > /etc/hosts, and to use DNS for other systems? > > I don't want to break the anti-spam features when I connect to the Internet, > but my LAN systems are trusted. This system is intended to be my bastion > host. > > Help please? > > orville@weyrich.com > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9205097C1881D411B2FC00902727033401074B52>