* Andrea <devnul...@gmail.com>:
> 2014-03-31 15:30 GMT+02:00 Patrick Ben Koetter <p...@sys4.de>:
> 
> >
> >
> > Configure saslauthd for rimap and the SQL auxprop for MySQL.
> > Then expand pwcheck_method in smtpd.conf like this:
> >
> > pwcheck_method: auxprop saslauthd
> >
> 
> Thanks, that's what I did but it seems not working.
> saslauthd only works, auxprop sql only works, but with this config it
> doesn't work:
> 
> pwcheck_method: auxprop saslauthd
> mech_list: PLAIN LOGIN CRAM-MD5 DIGEST-MD5 NTLM

Reduce mech_list to PLAIN LOGIN. saslauthd can process PLAIN LOGIN only. 


> auxprop_plugin: sql
> sql_engine: mysql
> sql_hostnames: xxx
> sql_user: xxx
> sql_passwd: xxx
> sql_database: xxx
> sql_select: SELECT password FROM LoginUsers WHERE LoginUser = '%u@%r'
> 
> Any hints?

Any log?

p@rick




> 
> Thanks!

-- 
[*] sys4 AG
 
https://sys4.de, +49 (89) 30 90 46 64
Franziskanerstraße 15, 81669 München
 
Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Marc Schiffbauer
Aufsichtsratsvorsitzender: Florian Kirstein
 

Reply via email to