• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Login to horde webmail not possible on Plesk 11

E

Elfchen

Guest
When I try to login via webmail horde I get always:

Login failed because your username or password was entered incorrectly.

The logfile shows:

Jul 13 12:23:32 HORDE [error] [imp] FAILED LOGIN for [email protected] [1.2.3.4] to to {127.0.0.1:143 [imap/notls]} [pid 5358 on line 139 of "/usr/share/psa-horde/imp/lib/Auth/imp.php"]

The password is correct. I doublechecked:

1. with changing password
2. with mail_auth view

143 is up:

telnet localhost 143
Trying ::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 ACL ACL2=UNION STARTTLS] Courier-IMAP ready. Copyright 1998-2004 Double Precision, Inc. See COPYING for distribution information.
login [email protected] mypassword
login NO Error in IMAP command received by server.

Seems to happen on all accounts. Please help.
 
I am using full email address like [email protected]

(this is what horde login window shows when I click on webmail button inside email management) - the full email address is used.
 
Last edited by a moderator:
did not change anything

I tried - but it did not resolve the problem.

Still no login to webmail possible via horde!
 
# /etc/init.d/courier-imap status
couriertcpd (pid 27341 27331 27322 27311) is running..

when I install webmail software inside webspace it works - only built in horde did not work
 
Try running this and try logging in, let me know how it goes ..

setenforce 0

or

/usr/sbin/setenforce 0
 
Try to enable plain authentication if it's not already enabled.

There is a setting IMAP_CAPABILITY in /etc/courier-imap/imapd

There should be something like:
IMAP_CAPABILITY="IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA AUTH=CRAM-MD5 AUTH=PLAIN IDLE"

..so add the "AUTH=PLAIN" if it's not already there.

And finally:
/etc/init.d/courier-imap restart
 
Last edited:
Hi,

Hello every one. I fight and win... (but now got other issue now)
1) Go to webmail url.
2) Change url to /imp/test.php (it will show you more information)
3) Try to pass test if you succeed you will get configuration
4) Change configuration in file /usr/share/psa-horde/imp/config/servers.php (on bottom)
Here is my config:
$servers['imap'] = array(
# 'name' => 'IMAP Server',
'server' => '127.0.0.1',
# 'hordeauth' => 'full',
'protocol' => 'imap/notls',
'port' => 143,
#'maildomain' => $DomainName,
# 'maildomain' => '',
'smtphost' => '127.0.0.1',
'smtpport' => 25,
'realm' => '',
'preferred' => '',
'quota' => array(
'driver' => 'imap',
'params' => array('hide_quota_when_unlimited' => true),
),
);
 
Finally I made horde working again after upgrade Plesk to 11.0.9 (from 9.5.4).

I'm using centOS 5.8 i386 and here is the facts:
1) PHP-IMAP will not work (empty page is server and apache log core dumped) if apache has open more then 1024 files (using select to wait on sockets on 32bit linux only 1024 descriptors can be serviced)
2) CentoOS using very old IMAP client (libc-client aka uw imap) library and not maintained so the problem will be not FIXED. Plesk should drop using php-imap because in rich hosting environment (a lot of domains = a lot of opened files) this module will not work.
3) Check number of files opened by apache: ls -1 /proc/<PID of apache/fd | wc -l . If you get close to 1024 forget that horde will work.
4) Horde says in log's what kind of error but it's not very accurate!
5) Use /imp/test.php to find configuration that works for you
6) Horde is able to use cram-md5 method of login so you do not have to to add AUTH=PLAIN to courier-imap configuration



I arrange bypass which is tricky one. I started another apache process only for serving Horde (apache instance is small and not reaching more then 500 opened files).
 
Try

mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa -e "replace into misc (param,val) values ('apache_pipelog', 'true');"
/usr/local/psa/admin/sbin/websrvmng -v -a


Regards
 
Back
Top