• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

authpsa horde Login

GunFood

Basic Pleskian
Hi,

after the automatic installation of MU 13, all users are unable to login through horde. In the smtpd_debuglog I see:
Code:
Aug 29 09:36:03 plesk courier-imapd: Connection, ip=[::ffff:127.0.0.1]
Aug 29 09:36:03 plesk courier-authdaemon: received auth request, service=imap, authtype=login
Aug 29 09:36:03 plesk courier-authdaemon: authpsa: trying this module
Aug 29 09:36:03 plesk courier-authdaemon: authpsa: authentication request with service='imap' authtype='login' authdata='[email protected]..'
Aug 29 09:36:03 plesk courier-authdaemon: authpsa: can't parse authdata into user and pass
Aug 29 09:36:03 plesk courier-authdaemon: authpsa: REJECT - try next module
Aug 29 09:36:03 plesk courier-authdaemon: FAIL, all modules rejected
Aug 29 09:36:03 plesk courier-imapd: LOGIN FAILED, [email protected], ip=[::ffff:127.0.0.1]
Aug 29 09:36:08 plesk courier-authdaemon: received auth request, service=imap, authtype=login
Aug 29 09:36:08 plesk courier-authdaemon: authpsa: trying this module
Aug 29 09:36:08 plesk courier-authdaemon: authpsa: authentication request with service='imap' authtype='login' authdata='[email protected]..'
Aug 29 09:36:08 plesk courier-authdaemon: authpsa: can't parse authdata into user and pass
Aug 29 09:36:08 plesk courier-authdaemon: authpsa: REJECT - try next module
Aug 29 09:36:08 plesk courier-authdaemon: FAIL, all modules rejected
Aug 29 09:36:08 plesk courier-imapd: LOGIN FAILED, method=PLAIN, ip=[::ffff:127.0.0.1]

Any idea? It works fine from any client. THe problem is only Horde.

I also tried
Code:
mchk --without-spam
but it doesn't work.
Thanks
 
First of all make sure that you have PHP5.3 or higher installed. Horde will not work with old PHP versions.
 
Code:
php -v
PHP 5.3.3 (cli) (built: Jul 12 2013 20:35:47)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies

It worked without a problem before the update.
 
Last edited:
GunFood, on the affected server run this:

$ telnet localhost imap

You should get something like this:
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA AUTH=CRAM-MD5 AUTH=PLAIN IDLE STARTTLS] Courier-IMAP ready. Copyright 1998-2011 Double Precision, Inc. See COPYING for distribution information.

Then type:
aaa login [email protected] password

Do you get "OK LOGIN OK" or it fails?
 
Code:
telnet localhost imap
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA AUTH=CRAM-MD5 AUTH=CRAM-SHA1 AUTH=CRAM-SHA256 AUTH=PLAIN IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP ready. Copyright 1998-2011 Double Precision, Inc.  See COPYING for distribution information.
aaa login [email protected] PASSW0rd-1
aaa OK LOGIN Ok.

Works. in smtpd debug I see the correct authpsa request:
Code:
 authpsa: authentication request with service='imap' authtype='login' authdata='[email protected].'

from Horde:
Code:
authpsa: authentication request with service='imap' authtype='login' authdata='[email protected]..'
without the password.
So Horde doesn't parse the password field to authpsa.
 
Just as a test, remove "AUTH=CRAM-MD5 AUTH=CRAM-SHA1 AUTH=CRAM-SHA256" temporary from IMAP_CAPABILITY in /etc/courier-imap/imapd and restart courier-imap. Does this fix the horde login? Don't remember to restore the previous IMAP_CAPABILITY value and restart courier-imap again after you finished your testing.
 
It didn't work. I fixed it by uninstalling horde, reinstalling it. Running
Code:
/usr/share/psa-pear/pear/pear -c /usr/share/psa-pear/pear.conf update-channel
and
Code:
/usr/share/psa-pear/pear/pear -c /usr/share/psa-pear/pear.conf upgrade
; refreshing the config files (automatic password generation from .horde.shadow) :) So latest version running without any issue.

Let's get ActiveSync 14.1 started.
 
Back
Top