3 messages in net.sourceforge.lists.courier-sqwebmailRe: [sqwebmail] DEFAULTOPTIONS to dis...
FromSent OnAttachments
Jean-Christophe MichelApr 9, 2007 3:35 pm 
Brian CandlerApr 10, 2007 1:42 pm 
Jean-Christophe MichelApr 12, 2007 5:35 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [sqwebmail] DEFAULTOPTIONS to disable change passw ?Actions...
From:Brian Candler (B.Ca@pobox.com)
Date:Apr 10, 2007 1:42:02 pm
List:net.sourceforge.lists.courier-sqwebmail

On Tue, Apr 10, 2007 at 12:35:41AM +0200, Jean-Christophe Michel wrote:

Hi,

I just added sqwebmail to my working install of courier-imap-ssl and courier-pop-ssl + exim4/vexim on debian sarge. Works well. (vexim is a virtual mail system with a php admin and a mysql db to store credentials). Except that... I don't understand how sqwebmail changes the password: seems it doesn't change it in the mysql field. Didn't find where it store the new passw.

See MYSQL_CHPASS_CLAUSE in authmysqlrc. And look in authmysqllib.c for the logic if CHPASS_CLAUSE is not set. Basically it sends an UPDATE SQL statement to the database; turn on query logging to see what it sends.

I edited /etc/courier/authdaemonrc and added a last line

DEFAULTOPTIONS="wbnodsn=1,wbnochangingfrom=1,wbnochangepass=1"

Restarted sqwebmail and authdaemonrc. Still possible to change password from sqwebmail...

It Works For Me [TM]. Are you using some ancient version of sqwebmail and/or courier-authlib? Debian has a history of supplying ancient versions of code.