From owner-freebsd-questions@FreeBSD.ORG Wed Aug 9 01:14:20 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 3E20D16A4DD for ; Wed, 9 Aug 2006 01:14:20 +0000 (UTC) (envelope-from freebsd.ph@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.186]) by mx1.FreeBSD.org (Postfix) with ESMTP id 75D5B43D4C for ; Wed, 9 Aug 2006 01:14:19 +0000 (GMT) (envelope-from freebsd.ph@gmail.com) Received: by nf-out-0910.google.com with SMTP id g2so478036nfe for ; Tue, 08 Aug 2006 18:14:06 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=G5m+jAKfTPV73hnL2ku3RRm6VS4EXv/OyVoPEl2krH7w2/8gF5rkRQzukARVfdgld4mlqS4BdNMXn5qcTKaLnx3/JhZtltOVPo3NAp0atK//AMpf4vVzEhybk/y8V177aV7uTEMgt/1foQ9cwxxhhL7b2csTa6jco41M5kcS4g0= Received: by 10.78.117.10 with SMTP id p10mr90892huc; Tue, 08 Aug 2006 18:14:05 -0700 (PDT) Received: by 10.78.176.8 with HTTP; Tue, 8 Aug 2006 18:14:05 -0700 (PDT) Message-ID: Date: Wed, 9 Aug 2006 09:14:05 +0800 From: "jan gestre" To: freebsd-questions@freebsd.org In-Reply-To: <20060808193523.BDD9.GERARD@seibercom.net> MIME-Version: 1.0 References: <20060808120629.F5AF.GERARD@seibercom.net> <44D8C496.80105@utdallas.edu> <20060808193523.BDD9.GERARD@seibercom.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Postfix & SASL Authentication X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Aug 2006 01:14:20 -0000 On 8/9/06, Gerard Seibert wrote: > > Paul Schmehl wrote: > > > Apparently you're using the sasldb2 database for logins? If so, the > > sasldb2 database needs to be readable by postfix, and it has to be > > populated with the usernames@domains that you need. Have you populated > > the db? > > > > You would probably be better off using saslauthd as your pwcheck_method. > > Then start saslauthd with the -a sasldb flag. (See man 8 saslauthd.) > > Auxprop is an older method that wasn't very dependable. > > Thanks, that is what I did. I had to modify the > /usr/local/lib/smtpd.conf file, but that was about it. > > I do have one question though. The rc.d file has 'pam' listed rather > than sasldb for the '-a ' flag. I changed it there although the > directions said not too. Is there any reason that changing it in the rc.d > file is a bad thing? I could not figure out what it meant to do > otherwise. Was I suppose to create another file that would override that > one? If so, what was the syntax of the file suppose to be? Anyway, it > works, so that is all I am really interested in at the moment. > > try putting this in your rc.conf: saslauthd_enable="YES" saslauthd_flags="-a getpwent" HTH