From owner-freebsd-questions@FreeBSD.ORG Thu Sep 25 08:13:27 2003 Return-Path: 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 03D7D16A4B3 for ; Thu, 25 Sep 2003 08:13:27 -0700 (PDT) Received: from mail.wirewalk.com (dsl092-100-221.nyc2.dsl.speakeasy.net [66.92.100.221]) by mx1.FreeBSD.org (Postfix) with ESMTP id 962EA4402A for ; Thu, 25 Sep 2003 08:13:25 -0700 (PDT) (envelope-from synrat@wirewalk.org) Received: by mail.wirewalk.com (Postfix, from userid 1002) id 997D2CFFBC; Thu, 25 Sep 2003 11:21:42 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mail.wirewalk.com (Postfix) with ESMTP id 8E845CFFBB for ; Thu, 25 Sep 2003 11:21:42 -0400 (EDT) Date: Thu, 25 Sep 2003 11:21:42 -0400 (EDT) From: synrat X-X-Sender: synrat@mail.wirewalk.com Cc: freebsd-questions@freebsd.org In-Reply-To: Message-ID: <20030925112100.K22619@mail.wirewalk.com> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: saslauthd not working? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Sep 2003 15:13:27 -0000 why would you want to maintain 2 password databases ? I use saslautd -a pam On Thu, 25 Sep 2003, Sunil Sunder Raj wrote: > Hi, > chmod 777 /usr/local/etc/sasldb > As you are not sure which user is accessing the sasldb file. > > Regards > SSR > > > > >From: Charlie Schluting > >To: Sunil Sunder Raj > >Subject: Re: saslauthd not working? > >Date: Wed, 24 Sep 2003 08:39:14 -0700 (PDT) > > > > > > > >It looks like sasldb, because I get errrors like this sometimes: > >postfix/smtpd[7944]: unable to open Berkeley db /usr/local/etc/sasldb: > >Permission denied > > > >This is strange, because it has permissions set for group mail to rwx. > > > >:) > >Thanks for the response, > >Charlie > > > >On Wed, 24 Sep 2003, Sunil Sunder Raj wrote: > > > > > Hi, > > > What auth module do you want to use (sasldb, mysql). > > > > > > Regards > > > SSR > > > > > > > > > >From: Charlie Schluting > > > >To: freebsd-questions@freebsd.org > > > >Subject: saslauthd not working? > > > >Date: Tue, 23 Sep 2003 17:32:33 -0700 (PDT) > > > > > > > >Hi, > > > > > > > >Trying to configure sasl with postfix.. and I keep getting "Login > > > >Failed" > > > > > > > >Here's what I have: > > > > > > > >telnet localhost 25: > > > >AUTH PLAIN Y2hhcm... > > > >535 Error: authentication failed > > > > > > > >The maillog simply shows: > > > >warning: localhost[127.0.0.1]: SASL PLAIN authentication failed > > > > > > > >/etc/rc.conf: > > > >sasl_saslauthd_enable="YES" > > > >sasl_saslauthd_flags="-a getpwent" > > > > > > > >/usr/local/lib/sasl2/smtpd.conf > > > >pwcheck_method: saslauthd > > > >mech_list: plain login > > > > > > > >I'm not using pam for anything else, so I figured that this method had > > > >the best chance of working :) > > > >Postfix is NOT chrooted, and postfix is in group mail. > > > > > > > >Postfix config: > > > > > > > > smtpd_sasl_auth_enable = yes > > > > smtpd_sasl_security_options = noanonymous > > > > smtpd_sasl_local_domain = > > > > broken_sasl_auth_clients = yes > > > > > > > >Here's the perms on saslauthd: > > > >drwxrwx--- 2 cyrus mail 512 Sep 23 17:27 saslauthd/ > > > > > > > >Am I missing anything? > > > >I tried adding -d to saslauthd_flags in rc.conf. When I started > > > >saslauthd, it just hung there, like I expected, only, I didn't get any > > > >output when I tried to login to postfix. > > > > > > > >help would be greatly appreciated. > > > > > > > >-Charlie > > > >_______________________________________________ > > > >freebsd-questions@freebsd.org mailing list > > > >http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > > >To unsubscribe, send any mail to > > > >"freebsd-questions-unsubscribe@freebsd.org" > > > > > > _________________________________________________________________ > > > Interact with peers. Learn from experts. > > > http://server1.msn.co.in/sp03/teched/index.asp Be tech-empowered! > > > > > _________________________________________________________________ > Attention NRIs! Banking worries? > http://server1.msn.co.in/msnspecials/nriservices/index.asp Get smart tips. > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >