pop3d using wrong auth mechanism

Simon Matter simon.matter at invoca.ch
Mon Nov 13 07:33:07 EST 2006


> I don't think it was built with it.  my USE flags are: dev-libs/cyrus-
> sasl-2.1.22-r1  USE="berkdb crypt java pam postgres ssl -authdaemond -
> gdbm -kerberos -ldap -mysql -ntlm_unsupported_patch -sample -srp -
> urandom" which is the same as --without-mysql.  smtpd works fine
> using the below config file:

Maybe the problem is that you have the sql module built and it tries to
load the mysql module if not configured.

Simon

>
> pwcheck_method:auxprop
> mech_list: PLAIN LOGIN CRAM-MD5 DIGEST-MD5
> auxprop_plugin: sasldb
>
> So what's up with imapd?  Should I remove the sasl from in front of
> pwcheck_method?
>
> Thanks,
>
>
> On Nov 13, 2006, at 12:53 AM, Simon Matter wrote:
>
>>> Hi.  I am trying to set up postfix and cyrus.  the issue i am having
>>> is with the pop3d.  here is my imapd config file:
>>>
>>> timeout:                30
>>> poptimeout:             10
>>> configdirectory:        /var/imap
>>> partition-default:      /var/spool/imap
>>> sievedir:               /var/imap/sieve
>>> tls_ca_path:            /etc/ssl/certs
>>> tls_cert_file:          /etc/ssl/cyrus/server.crt
>>> tls_key_file:           /etc/ssl/cyrus/server.key
>>> admins:                 cyrus
>>> hashimapspool:          yes
>>> allowanonymouslogin:    no
>>> allowplaintext:         yes
>>> sasl_pwcheck_method: auxprop
>>> sasl_auxprop_plugin: sasldb
>>> sasl_mech_list: PLAIN LOGIN CRAM-MD5 DIGEST-MD5
>>>
>>> when i try to connect i get the following in the auth log:
>>>
>>> Nov 12 21:38:52 dellp4 pop3[15227]: _sasl_plugin_load failed on
>>> sasl_auxprop_plug_init for plugin: sql
>>> Nov 12 21:43:51 dellp4 pop3[15257]: SQL engine 'mysql' not supported
>>> Nov 12 21:43:51 dellp4 pop3[15257]: SQL engine 'mysql' not supported
>>> Nov 12 21:43:51 dellp4 pop3[15257]: auxpropfunc error no mechanism
>>> available
>>> Nov 12 21:43:51 dellp4 pop3[15257]: _sasl_plugin_load failed on
>>> sasl_auxprop_plug_init for plugin: sql
>>>
>>> why is it trying to use mysql?
>>
>> I think you should remove the sasl-mysql package if you don't use it.
>>
>> Simon
>>
>>>
>>> loaction of sasldb2 file is /etc/sasl2/sasldb2
>>> location of imapd.conf is /etc/imapd.conf
>>>
>>> sasldblistusers2 sasldb2 command properly shows my users.
>>>
>>> only thing i can think of is a different conf file being read, but I
>>> can't find any other ones on my system.
>>>
>>> OS: Linux 2.6.17-gentoo-r8
>>>
>>> Thank You for any help.
>>>
>>> Ketema
>>>
>


More information about the Cyrus-sasl mailing list