To reinstall Horde, preserving the existing database, you can use the following:
/usr/local/cpanel/bin/update-horde --force
When using your cpanelusername@domain.tld account, the account needs to be able to receive mail, as well as send. If you login to your main account via webmail, and see the following errors posted, you’ll want to confirm that the address is permitted to receive mail.
Horde shows:
There was an error sending your message: Failed to add recipient: recipient@targetrecipient.com [SMTP: Invalid response code received from server (code: 550, response: Verification failed for
/var/log/exim_mainlog shows:
2010-03-28 18:47:46 H=localhost (userdomain.com) [127.0.0.1] sender verify fail for
2010-03-28 18:47:46 H=localhost (userdomain.com) [127.0.0.1] F=
99.99999% of the time, you’ll see this issue when the Default Address is set to “fail”, making it unrouteable. In cPanel > Default Account, set the catch-all account to forward to another email address, and you’ll be all set.
# cat /etc/valiases/userdomain.com
*: ":fail: No Such User Here"
Such a setting would tell the server that the account doesn’t exist, causing the Sender Verify error.
From http://forums.cpanel.net/f43/account-based-email-login-problem-97109.html
root@servername [/home]# authtest -s imap test@normaldomain.info password
Authentication succeeded.
Authenticated: test@normaldomain.info (system username: normaldo)
Home Directory: /home/normaldo/mail/normaldomain.info/test
Maildir: /home/normaldo/mail/normaldomain.info/test
Quota: 262144000S
Encrypted Password: $1$KHntyoqN$wih5o0N7ZTf6Fm4vasrxj.
Cleartext Password: password
Options: (none)
FOR MY PROBLEMATIC DOMAIN:::
root@servername [/home]# authtest -s imap info@problemdomain.info password
Authentication FAILED: Operation not permitted
What you want to do next is check /usr/local/cpanel/logs/login_log to see what the exact issue is. In my circumstance, I received this error:
208.74.121.102 - info@jurnamakelaars.nl [10/04/2009:14:37:11 -0000] "POST /login/ HTTP/1.1" FAILED LOGIN webmaild: user password hash is missing from system (user probably does not exist)
I then checked the user’s shadow file in /home/USERNAME/etc/domain.com/shadow and saw that it was corrupt. I removed the file, created a new one, and applied user:mail permissions. I then created a new email account, then copied the user’s encrypted password after making entries in shadow for the existing users. I was then able to login to each webmail account without issue.
First thing — check /usr/local/cpanel/logs/login_log
If you see a line like:
208.74.121.102 - name@domain.com [10/01/2009:17:21:12 -0000] "POST
/login/ HTTP/1.1" FAILED LOGIN webmaild: user password hash is missing
from system (user probably does not exist)
Check /home/USER/etc/DOMAIN/shadow to make sure that the webmail user is listed there. If not, copy one of the lines, change the username, and reset the password via cPanel.
Fatal error: Call to undefined method Registry::hasInterface() in
/usr/local/cpanel/base/horde/config/prefs.php on line 134
If you are using the Turkish language in Horde, you may want to utilize English, if at all possible, due to a bug in PHP 5.2 which will not be resolved until PHP 6.
http://bugs.php.net/bug.php?id=35050
In recent builds of roundcube, you may find that you can’t send mail using Roundcube. If /var/cpanel/roundcube/log/errors shows the following:
[30-Jan-2009 14:07:11] Invalid response code received from server (421):
[30-Jan-2009 14:07:11] Invalid response code received from server (-1):
[30-Jan-2009 14:07:34 -0800] SMTP Error: SMTP error: Authentication failure: STARTTLS failed (Code: ) in /usr/local/cpanel/base/3rdparty/roundcube/program/steps/mail/func.inc on line 1248 (POST /3rdparty/roundcube/index.php?_task=mail&_action=send)
[30-Jan-2009 14:10:29] STARTTLS failed ():
Then there is an issue with the most recent Net-SMTP PHP module. To resolve this, edit the following file:
/usr/local/cpanel/base/3rdparty/roundcube/config/main.inc.php
and change
// SMTP username (if required) if you use %u as the username RoundCube
// will use the current username for login
$rcmail_config['smtp_user'] = '%u';
to this:
// SMTP username (if required) if you use %u as the username RoundCube
// will use the current username for login
$rcmail_config['smtp_user'] = '';