Hi Matthias!

On Mon, May 30, 2011 at 09:12, Matthias Andree <matthias.and...@gmx.de> wrote:
> The cyrus_sasl_config_path expects a directory, you've specified a file.
> Check and correct that.
Thanks, now it's:

cyrus_sasl_config_path = /usr/lib/sasl2
smtp_sasl_path = /usr/lib/sasl2


> Note that a particular Cyrus version is required
> for this to work, check man 5 postconf (or man -s 5 postconf).

Cyrus SASL 2.1.22 or later. I'm using cyrus-sasl-2.1.23

>
> Is Postfix reading the configuration the way you mean it? Check the
> output of "postconf -n".

Yes

>
> Is smtpd run in a chroot? Check master.cf.

No: smtp      inet  n       -       n       -       -       smtpd

>
> After all that: does your Cyrus installation really read its
> configuration from /usr/lib/sasl2, or rather from /usr/local/lib/sasl2?
>  You haven't quoted relevant configuration to that extent.  Try setting
> a relative symlink:
> ln -s ../../lib/sasl2 /usr/local/lib (be sure to update the chroot if
> you use one!)
>

It's alredy a symbolic link.

# ls -la /usr/lib/ | grep sasl2
lrwxrwxrwx   1 root root       31 May 27 17:21 sasl2 ->
/usr/local/cyrus-sasl/lib/sasl2

# ls -la /usr/local/cyrus-sasl/lib/sasl2/
-rw-r--r-- 1 root root     96 May 29 18:12 smtpd.conf


So, now it appears to be trying to connect to saslauthd, after I
correct the path os smtpd.conf

### maillog ###
May 30 09:28:27 sec56 postfix/smtpd[23554]: warning:
unknown[200.194.105.195]: SASL PLAIN authentication failed:
authentication failure
May 30 09:28:33 sec56 postfix/smtpd[23554]: warning:
unknown[200.194.105.195]: SASL LOGIN authentication failed:
authentication failure
#############


Why am I getting wrong password now?

# /usr/local/cyrus-sasl/sbin/testsaslauthd -u
rodrigo.monteiro@mydomain -p password
0: OK "Success."


Regards,
Rodrigo.

-- 
M. Rodrigo Monteiro

"Free as in Freedom, not free as in free beer"
"As we are liberated from our own fear, our presence automatically
liberates others"
Linux User # 403730

Reply via email to