Questions about setting up an HmaiServer email server and AfterLogicwebmail on the intranet

Source: Internet
Author: User
The problem of setting up the HmaiServer email server and AfterLogicwebmail on the intranet is recently due to work requirements. the problems and solutions encountered by setting up the HmaiServer email server and AfterLogic webmail on the intranet are shared with you.

Environment xampp 1.8.2

Windows 2003

After the HmaiServer email server and AfterLogic webmail are set up on the laptop win7 (connected to the Internet), everything works normally. The result is as follows:

1. no response is returned when you log on to the AfterLogic webmail user page. check that the database connection is successful on the install page and adminpanel.

[03:40:09. 82] DB (PDO/mysql): start connect to root @ localhost
The database is not connected, but the database test connection is successful in the background.

The reason is that the Mysql database is faulty. when you remotely access mysql, mysql will resolve the domain name, resulting in slow access.

Solution: disable mysql for domain name resolution

Add in my. ini
[Mysqld]

Skip-name-resolve(Option to disable DNS resolution, and the connection speed will be much faster. However, you cannot use the host name in the MySQL authorization table but only ip addresses)
Skip-grant-tables(If the mysql server does not have a remote account, add skip-grant-tables to my. ini)

2. after logging on to AfterLogic webmail, you can receive the mail list, but cannot obtain the Mail content.

Check whether the Hmailserver is correct. use Foxmail to connect to hmailserver instead of webmail. pop3 cannot be connected. the IMAP connection is successful. after entering Foxmail, the system cannot send emails and reports an error.

The reason is that the computer's anti-virus software has disabled Foxmail and the solution is reinstalled, proving that it is not a problem with hmailserver.

Check the hmailserver database and find that the. eml storage file name is associated with the path problem, because I installed the hmailserver to the Chinese Directory and reinstalled the Hmailserver to the English directory to solve the problem.

3. when the withoutdomain item is enabled in AfterLogic webmail, only the user name is entered without the @ domain. some users can log on, and some users cannot log on (mainly new registered users)

Enable username login to configure data/settings. xml

Off
Login
Somedomain.com
On

Because the user registration page needs to be compiled and the login failed for new users, it is a registration page problem. Using the Hmailserver client to add users also fails.

The password returned by the test old user is "incorrect account or password", and the new user returns "Connection Server Error ".

Check the AfterLogic webmail database and find that only old user information is stored in the database. Check the log and find that when AfterLogic webmail sends a connection request to hmailserver, the old user carries a domain name. The new user does not have a domain name and only has a user name. then, the default domain name is added to Hmailserver to solve the problem.

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.