Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Jul 2004 18:54:19 +0200
From:      Remko Lodder <remko@elvandar.org>
To:        Tim Schutt <tschutt@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: postfix, smtp-auth, Cyrus SASL for relay restriction troubles.
Message-ID:  <40FAAB3B.7000502@elvandar.org>
In-Reply-To: <12abd8c2040718094661249522@mail.gmail.com>
References:  <12abd8c204071716287f874f4f@mail.gmail.com> <2147483647.1090093691@192.168.2.102> <12abd8c2040718072072d37c2c@mail.gmail.com> <40FA8C02.9050108@elvandar.org> <12abd8c2040718094661249522@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 
<dom>) . 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 = <yourdomainhere>
in main.cf
If you have multiple domains you should specify:
smtpd_sasl_local_domain = <empty>
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40FAAB3B.7000502>