From owner-freebsd-questions Sun Sep 29 15:23:29 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0531B37B401 for ; Sun, 29 Sep 2002 15:23:28 -0700 (PDT) Received: from out002.verizon.net (out002pub.verizon.net [206.46.170.141]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4557C43E4A for ; Sun, 29 Sep 2002 15:23:27 -0700 (PDT) (envelope-from leblanc@outgoing.verizon.net) Received: from keyslapper.org ([68.160.3.80]) by out002.verizon.net (InterMail vM.5.01.05.09 201-253-122-126-109-20020611) with ESMTP id <20020929222326.CCGC2867.out002.verizon.net@keyslapper.org> for ; Sun, 29 Sep 2002 17:23:26 -0500 Received: from keyslapper.org (localhost [127.0.0.1]) by keyslapper.org (8.12.3/8.12.3) with ESMTP id g8TMNTQd000901 for ; Sun, 29 Sep 2002 18:23:29 -0400 (EDT) (envelope-from leblanc@keyslapper.org) Received: (from leblanc@localhost) by keyslapper.org (8.12.3/8.12.3/Submit) id g8TMNSTx000900 for freebsd-questions@FreeBSD.org; Sun, 29 Sep 2002 18:23:28 -0400 (EDT) Date: Sun, 29 Sep 2002 18:23:28 -0400 From: Louis LeBlanc To: FreeBSD Questions Subject: Re: Somewhat OT - authenticating sendmail to the verizon mail relay Message-ID: <20020929222328.GA430@keyslapper.org> Reply-To: freebsd-questions@FreeBSD.org Mail-Followup-To: FreeBSD Questions References: <3D972440.90003@keyslapper.org> Mime-Version: 1.0 Content-Type: text/plain; charset=unknown-8bit Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <3D972440.90003@keyslapper.org> User-Agent: Mutt/1.5.1i X-Authentication-Info: Submitted using SMTP AUTH LOGIN at out002.verizon.net from [68.160.3.80] at Sun, 29 Sep 2002 17:23:26 -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Looks like I may have it. If this goes out, then I do. Otherwise, I'm still missing something. I rebuilt Sendmail with the following flags in /etc/make.conf: SENDMAIL_CFLAGS=-I/usr/local/include/sasl1 -DSASL -D_FFR_UNSAFE_SASL SENDMAIL_LDFLAGS=-L/usr/local/lib SENDMAIL_LDADD=-lsasl And put the following in sendmail.mc: TRUST_AUTH_MECH(`DIGEST-MD5 CRAM-MD5 LOGIN PLAIN') define(`confAUTH_MECHANISMS', `DIGEST-MD5 CRAM-MD5 LOGIN PLAIN') define(`SMART_HOST', `smtp:outgoing.verizon.net') MASQUERADE_AS(outgoing.verizon.net) FEATURE(masquerade_envelope) FEATURE(`authinfo', `hash -o /etc/mail/authinfo') I read in /etc/defaults/make.conf, that I should also include define(`confDONT_BLAME_SENDMAIL',`GroupReadableSASLFile') in sendmail.mc if there were any other utilities that needed to access the sasldb file, which I do. However, sendmail doesn't recognize the directive, so I had to take it out. Now I get this in /var/log/maillog when I start sendmail: Sep 29 18:12:54 keyslapper sendmail[681]: error: safesasl(/usr/local/etc/sasldb) failed: Group readable file Sep 29 18:12:54 keyslapper sendmail[682]: starting daemon (8.12.3): SMTP+queueing@00:30:00 So something is still off, even if this message does get thru. I remade the authinfo hash, but I'm still suspicious of it. Any ideas what I can do to fix that "Group readable file" problem? TIA Lou -- Louis LeBlanc leblanc@keyslapper.org Fully Funded Hobbyist, KeySlapper Extrordinaire :) http://www.keyslapper.org ԿԬ Canada Bill Jones's Supplement: A Smith and Wesson beats four aces. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message