Re: Sieve and MySQL authentication
I just noticed in log I have this: Dec 9 10:40:53 alchemistry timsieved[56235]: badlogin: localhost.alchemistry.net[127.0.0.1] DIGEST-MD5 user not found Dec 9 10:45:12 alchemistry timsieved[56277]: badlogin: localhost.alchemistry.net[127.0.0.1] DIGEST-MD5 user not found why is it trying MD5 ? I have created Cyrus.conf in lib/sasl and put there sasl_pwcheck_method: PAM I have also tried sasl_pwcheck_method: mysql and pwcheck_method: all_of_the_above any suggestions are appriciated. thx - Original Message - From: "Ilya" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, December 08, 2000 11:53 PM Subject: Sieve and MySQL authentication > Hi. > I have a mysql db with users and passwords, which I use from PAM-MySQL. > Cyrus itself is working perfectly, I can login to imap/pop/cyradmin with > usernames and passwords from mysql db. But when I try to use installsieve as > described in INSTALL document (testing sieve) I always get User Not Found > error. even if I supply -u user. > To use cyradm i need to specify -m PAM, for imap and pop i have these > entries in pam.conf: > imap auth required /usr/local/lib/pam_mysql.so user=user passwd=pass > host=localhost db=db table=table usercolumn=user passwdcolumn=password > crypt=2 > (same for account and password and than 3 lines like this for pop). > I have tried to create same lines for sieve ie: > sieve auth required /usr/local/lib/pam_mysql.so user=user passwd=pass > host=localhost db=db table=table usercolumn=user passwdcolumn=password > crypt=2 > and specify -m PAM in installsieve line, but than I get immediately : > Authentication failed. > > does anyone have any ideas how to get sieve working with my setup? there is > probably just minor thing i missing from the picture. > > thx > >
Sieve and MySQL authentication
Hi. I have a mysql db with users and passwords, which I use from PAM-MySQL. Cyrus itself is working perfectly, I can login to imap/pop/cyradmin with usernames and passwords from mysql db. But when I try to use installsieve as described in INSTALL document (testing sieve) I always get User Not Found error. even if I supply -u user. To use cyradm i need to specify -m PAM, for imap and pop i have these entries in pam.conf: imap auth required /usr/local/lib/pam_mysql.so user=user passwd=pass host=localhost db=db table=table usercolumn=user passwdcolumn=password crypt=2 (same for account and password and than 3 lines like this for pop). I have tried to create same lines for sieve ie: sieve auth required /usr/local/lib/pam_mysql.so user=user passwd=pass host=localhost db=db table=table usercolumn=user passwdcolumn=password crypt=2 and specify -m PAM in installsieve line, but than I get immediately : Authentication failed. does anyone have any ideas how to get sieve working with my setup? there is probably just minor thing i missing from the picture. thx
Sieve and MySQL authentication
Hi. I have a mysql db with users and passwords, which I use from PAM-MySQL. Cyrus itself is working perfectly, I can login to imap/pop/cyradmin with usernames and passwords from mysql db. But when I try to use installsieve as described in INSTALL document (testing sieve) I always get User Not Found error. even if I supply -u user. To use cyradm i need to specify -m PAM, for imap and pop i have these entries in pam.conf: imap auth required /usr/local/lib/pam_mysql.so user=user passwd=pass host=localhost db=db table=table usercolumn=user passwdcolumn=password crypt=2 (same for account and password and than 3 lines like this for pop). I have tried to create same lines for sieve ie: sieve auth required /usr/local/lib/pam_mysql.so user=user passwd=pass host=localhost db=db table=table usercolumn=user passwdcolumn=password crypt=2 and specify -m PAM in installsieve line, but than I get immediately : Authentication failed. does anyone have any ideas how to get sieve working with my setup? there is probably just minor thing i missing from the picture. thx