Horde mail issue
Introduction
If you are unable to log in to Horde with the correct email username and password, the issue may be due to missing domain entries in the server configuration files.
Prerequisites
- Root or SSH access to the server
- Access to mail configuration files
- Domain and email account configured on the server
Implementation
Horde Login Issue
If you cannot log in to Horde for any mail account of the domain using the correct username and password, check the following:
- Check the domain entry (domain.com) in the following file:
/etc/userdomains
- If the domain entry (domain.com) is missing, manually add the domain to this file.
- Try logging in to Horde again. The login should work successfully.
Mail Sending Error in Horde
If you can access Horde but encounter the following error while sending emails:
Error:
There was an error sending your message: Failed to add recipient: user@domain.com [SMTP: Invalid response code received from server (code: 451, response: Temporary local problem, please try later)]
This issue occurs due to the missing domain entry in the following file:
/etc/localdomains
Add the domain entry (domain.com) to the /etc/localdomains file and try sending the email again.
The mail functionality should now work correctly.
Conclusion
By ensuring the domain entry exists in both /etc/userdomains and /etc/localdomains, you can resolve Horde login and email-sending issues.
