From owner-freebsd-questions@FreeBSD.ORG Sun Jul 18 16:54:21 2004 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 A544616A4CE for ; Sun, 18 Jul 2004 16:54:21 +0000 (GMT) Received: from mail.elvandar.org (cust.94.120.adsl.cistron.nl [195.64.94.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1B21043D2D for ; Sun, 18 Jul 2004 16:54:21 +0000 (GMT) (envelope-from remko@elvandar.org) Received: from [10.0.2.122] (nimrod.elvandar.intranet [10.0.2.122]) by mail.elvandar.org (Postfix) with ESMTP id 331EE106871; Sun, 18 Jul 2004 18:54:18 +0200 (CEST) Message-ID: <40FAAB3B.7000502@elvandar.org> Date: Sun, 18 Jul 2004 18:54:19 +0200 From: Remko Lodder X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tim Schutt References: <12abd8c204071716287f874f4f@mail.gmail.com> <2147483647.1090093691@192.168.2.102> <12abd8c2040718072072d37c2c@mail.gmail.com> <40FA8C02.9050108@elvandar.org> <12abd8c2040718094661249522@mail.gmail.com> In-Reply-To: <12abd8c2040718094661249522@mail.gmail.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at elvandar.org cc: freebsd-questions@freebsd.org Subject: Re: postfix, smtp-auth, Cyrus SASL for relay restriction troubles. 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: Sun, 18 Jul 2004 16:54:21 -0000 Heya Tim Tim Schutt wrote: > Hey Remko, > > Good catch! You were right that postfix didn't have access to the > database. But this is still bizarre.... now when I do the login, it > doesn't report that it can't access the database, but states that > there are no users in the database. :-) good > > Jul 18 12:40:55 www postfix/smtpd[21129]: warning: SASL authentication > failure: no user in db > Jul 18 12:40:55 www postfix/smtpd[21129]: warning: SASL authentication > failure: Password verification failed > > I am able to do a sasldblistusers2 and see all the entries in the > file, so I know that they are there, and I believe that postfix is > hitting the correct file because the error changed as soon as I > changed the database's group to the same as postfix and gave it read > access. When you added your user did you specify what domain he has ? (-u ) . If not, please consider trying to add an user with a domain attached. If you have only one domain you could also set the postfix option: smtpd_sasl_local_domain = in main.cf If you have multiple domains you should specify: smtpd_sasl_local_domain = in main.cf But then you need to authenticate as remko@evilcoder.org (in my case) Perhaps this helps a bit ? :-) > > *sigh*,,, I feel like I am so close, but just can't find the correct > switch to throw. Thanks so much for your help with this!! Well i had lots of troubles with Sasl when i started, (on OpenBSD) and now i have it running ;) > > Tim, the hopelessly new. :-) You are not hopeless, you will get there :) > -- Kind regards, Remko Lodder |remko@elvandar.org Reporter DSINet |remko@dsinet.org Projectleader Mostly-Harmless |remko@mostly-harmless.nl