nethubonline
Regular Pleskian
Users has upload their own horde to their own subscription hosting space, there is no problem on Plesk 11.0.9 .
However upgraded to Plesk 11.5.30, while user enter wrong password to Horde, it shows error :
Fatal error: Call to a member function write() on a non-object in /var/www/vhosts/plesktest3.test.net/httpdocs/psa-pear/pear/php/Horde/Imap/Client/Socket.php on line 3912
Initially we thought this problem is on horde, however after checking with horde's developer Jan, confirm that it is not the problem on horde, but it is about the courier-imap module "authpsa" problem that is provided by Plesk auth module.
http://thread.gmane.org/gmane.comp.horde.user/32161/focus=32167
Below are the logs about the courier-imapd debug log, it seems that authpsa or auth_psa_common return wrong output which cause the courier-imapd "Input/output error"
Jul 15 19:21:04 plesktest2 courier-imapd: Connection, ip=[::1]
Jul 15 19:21:04 plesktest2 courier-authdaemon: received auth request, service=imap, authtype=cram-md5
Jul 15 19:21:04 plesktest2 courier-authdaemon: authpsa: trying this module
Jul 15 19:21:04 plesktest2 courier-authdaemon: cram: challenge=PDYyREJCNDcwQUNFNDYyM0VDMDY3QTkxNjhEQkY0MUY0QHBsZXNrdGVzdDIuZGVtbzM2MC5uZXQ+, response=dGVzdEBwbGVza3Rlc3QzLmRlbW8zNjAubmV0IGRjZDVlYjdjZDMyZjhiNWYxMDdlNWI0ZTMzNmRkYjY2
Jul 15 19:21:04 plesktest2 courier-authdaemon: cram: decoded challenge/response, username '[email protected]'
Jul 15 19:21:04 plesktest2 courier-authdaemon: authpsa: sysusername=popuser, sysuserid=30, sysgroupid=31, homedir=/var/qmail/mailnames/plesktest3.test.net/test, [email protected], fullname=<null>, maildir=<null>, quota=<null>, options=<null>
Jul 15 19:21:04 plesktest2 courier-authdaemon: cram validation failed
Jul 15 19:21:04 plesktest2 courier-authdaemon: authpsa: auth_psa_common() callback returned -1
Jul 15 19:21:04 plesktest2 courier-authdaemon: authpsa: REJECT - try next module
Jul 15 19:21:04 plesktest2 courier-authdaemon: FAIL, all modules rejected
Jul 15 19:21:04 plesktest2 courier-imapd: LOGIN FAILED, method=CRAM-MD5, ip=[::1]
Jul 15 19:21:09 plesktest2 courier-authdaemon: received auth request, service=imap, authtype=login
Jul 15 19:21:09 plesktest2 courier-authdaemon: authpsa: trying this module
Jul 15 19:21:09 plesktest2 courier-authdaemon: authpsa: password for account '[email protected]' is wrong
Jul 15 19:21:09 plesktest2 courier-authdaemon: authpsa: sysusername=popuser, sysuserid=30, sysgroupid=31, homedir=<null>, address=<null>, fullname=<null>, maildir=<null>, quota=<null>, options=<null>
Jul 15 19:21:09 plesktest2 courier-authdaemon: authpsa: TEMPFAIL - no more modules will be tried
Jul 15 19:21:09 plesktest2 courier-imapd: LOGIN FAILED, method=PLAIN, ip=[::1]
Jul 15 19:21:09 plesktest2 courier-imapd: authentication error: Input/output error
I checked Plesk 11.0 is using psa-courier-imap-3.0.8 while Plesk 11.5 is using psa-courier-imap-4.12.0 & psa-courier-authlib-0.65.0, obviously the auth module "authpsa" is new or not working well in Plesk 11.5
Can anyone confirm this problem and has solution?
However upgraded to Plesk 11.5.30, while user enter wrong password to Horde, it shows error :
Fatal error: Call to a member function write() on a non-object in /var/www/vhosts/plesktest3.test.net/httpdocs/psa-pear/pear/php/Horde/Imap/Client/Socket.php on line 3912
Initially we thought this problem is on horde, however after checking with horde's developer Jan, confirm that it is not the problem on horde, but it is about the courier-imap module "authpsa" problem that is provided by Plesk auth module.
http://thread.gmane.org/gmane.comp.horde.user/32161/focus=32167
Below are the logs about the courier-imapd debug log, it seems that authpsa or auth_psa_common return wrong output which cause the courier-imapd "Input/output error"
Jul 15 19:21:04 plesktest2 courier-imapd: Connection, ip=[::1]
Jul 15 19:21:04 plesktest2 courier-authdaemon: received auth request, service=imap, authtype=cram-md5
Jul 15 19:21:04 plesktest2 courier-authdaemon: authpsa: trying this module
Jul 15 19:21:04 plesktest2 courier-authdaemon: cram: challenge=PDYyREJCNDcwQUNFNDYyM0VDMDY3QTkxNjhEQkY0MUY0QHBsZXNrdGVzdDIuZGVtbzM2MC5uZXQ+, response=dGVzdEBwbGVza3Rlc3QzLmRlbW8zNjAubmV0IGRjZDVlYjdjZDMyZjhiNWYxMDdlNWI0ZTMzNmRkYjY2
Jul 15 19:21:04 plesktest2 courier-authdaemon: cram: decoded challenge/response, username '[email protected]'
Jul 15 19:21:04 plesktest2 courier-authdaemon: authpsa: sysusername=popuser, sysuserid=30, sysgroupid=31, homedir=/var/qmail/mailnames/plesktest3.test.net/test, [email protected], fullname=<null>, maildir=<null>, quota=<null>, options=<null>
Jul 15 19:21:04 plesktest2 courier-authdaemon: cram validation failed
Jul 15 19:21:04 plesktest2 courier-authdaemon: authpsa: auth_psa_common() callback returned -1
Jul 15 19:21:04 plesktest2 courier-authdaemon: authpsa: REJECT - try next module
Jul 15 19:21:04 plesktest2 courier-authdaemon: FAIL, all modules rejected
Jul 15 19:21:04 plesktest2 courier-imapd: LOGIN FAILED, method=CRAM-MD5, ip=[::1]
Jul 15 19:21:09 plesktest2 courier-authdaemon: received auth request, service=imap, authtype=login
Jul 15 19:21:09 plesktest2 courier-authdaemon: authpsa: trying this module
Jul 15 19:21:09 plesktest2 courier-authdaemon: authpsa: password for account '[email protected]' is wrong
Jul 15 19:21:09 plesktest2 courier-authdaemon: authpsa: sysusername=popuser, sysuserid=30, sysgroupid=31, homedir=<null>, address=<null>, fullname=<null>, maildir=<null>, quota=<null>, options=<null>
Jul 15 19:21:09 plesktest2 courier-authdaemon: authpsa: TEMPFAIL - no more modules will be tried
Jul 15 19:21:09 plesktest2 courier-imapd: LOGIN FAILED, method=PLAIN, ip=[::1]
Jul 15 19:21:09 plesktest2 courier-imapd: authentication error: Input/output error
I checked Plesk 11.0 is using psa-courier-imap-3.0.8 while Plesk 11.5 is using psa-courier-imap-4.12.0 & psa-courier-authlib-0.65.0, obviously the auth module "authpsa" is new or not working well in Plesk 11.5
Can anyone confirm this problem and has solution?