Intranet building Hmaiserver mail server and afterlogic webmail problem

Source: Internet
Author: User

Recently due to work needs, in the intranet to build Hmaiserver mail server and afterlogic webmail, the problems encountered and solutions to share with you.

Environmental Xampp 1.8.2

Windows 2003

In the notebook Win7 (connected to the Internet) on the building Hmaiserver mail server and afterlogic webmail everything is normal, then to the intranet server Windows 2003 (not connected to the Internet), the result:

1, Login afterlogic Webmail user page no response, in the Install page and Adminpanel Check database connection Test success, open the log found

[03:40:09.82] DB (pdo/mysql): Start connect to [email protected]
There is no connection to the database, but the test connection to the background check database is successful.

The reason is the MySQL database problem, when the remote access to MySQL, MySQL will resolve the domain name, will result in slow access.

Solution prohibits MySQL from doing domain name resolution

Add inside the My.ini
[Mysqld]

skip-name-resolve (option to disable DNS resolution, the connection speed will be much faster.) However, you cannot use the hostname in the MySQL authorization table only with IP)
skip-grant-tables (if the MySQL server does not have a remote account, add Skip-grant-tables to the My.ini)        

2, after landing afterlogic Webmail, can receive the mailing list, but cannot obtain the mail content.

First check whether it is the problem of hMailServer, with Foxmail software instead of webmail connection HMAILSERVER,POP3 connection, use IMAP connection successfully, after entering Foxmail, can not send mail, error.

The original because the computer antivirus software banned Foxmail, re-installed solution, proved not hmailserver problem.

Check the hMailServer database, find the. eml store file name, Lenovo to the problem is not the path, because I put hmailserver installed in the Chinese directory, reinstall hMailServer to the English directory, solve the problem.

3, afterlogic Webmail Open Withoutdomain Item, is only enter the user name does not enter the @ domain, some users can login, some users cannot login (mainly new registered users)

turn on User name login configuration as Data/settings/settings.xml

<UseLoginAsEmailAddress>Off</UseLoginAsEmailAddress>
<LoginFormType>Login</LoginFormType>
<LoginAtDomainValue>somedomain.com</LoginAtDomainValue>
<UseLoginWithoutDomain>On</UseLoginWithoutDomain>

Because of the need to write the user registration page, a new user login is unsuccessful, thought to be the issue of the registration page, using the hMailServer client to add users, the same failure.

Test the old user error password return information is "Account or password Error", the new user returned the information is "Connection Server error."

Check the Afterlogic webmail database and find that only the old user's information is stored in the database. Check the log, found Afterlogic webmail to hmailserver send connection request, old user with domain name, new user no domain name, only user name, then add Default domain name in hMailServer, problem resolution.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.