Open-source Webmail client ClarosinTouch2.2Beta + JamesMailServer Configuration

Source: Internet
Author: User
ClarosinTouch is a java-based open-source Web2.0 mail client. It is often used together with ApacheJamesMailServer, MySql, and Tomcat to build an open-source WebMail mail service. ClarosinTouch's latest version is Devel2.2Beta. This version adds many new features compared with the previous version 2.1.

Claros inTouch is a java-based open-source Web2.0 mail client. It is often used together with Apache James MailServer, MySql, and Tomcat to build an open-source WebMail mail service. The latest version of Claros inTouch is Devel 2.2 Beta. This version adds many new features compared with the previous version 2.1.

Claros inTouch is a java-based open-source Web2.0 mail client. It is often used together with Apache James MailServer, MySql, and Tomcat to build an open-source WebMail mail service. The latest version of Claros inTouch is Devel 2.2Beta. This version has many new features compared with the previous version 2.1, I found some errors when deploying the WebMail service on the enterprise's internal network according to the posts I found on the Internet, and finally solved the problem.

1. When inTouch2.2beta and mySql5.1 are used in combination, a database read/write error occurs, but inTouch2.1 does not.

After reading the source code, we found that inTouch uses the object persistence component named MrPersister to read and write the background database. In inTouch2.1 and inTouch2.2, The MrPersister component has different versions, using the new MrPersister component in combination with the MySQL database may cause reading and writing of some database fields. As a result, an error occurs when Intouch2.2 and mySql5.1 are used in combination. This should be a Bug left over during inTouch upgrade. Without modifying the source code, use the mrpersister. jar file of the old version in inTouch2.1 to overwrite the jar package of the corresponding component in Intouch2.2.

2. The inTouch WebMail client interface has many typos, which should be caused by the inaccuracy of the system during localization and need to be modified, modify the related content in the lang_zh_cn_utf8.properties file under the WEB-INF/classes/org/claros/intouch/i18n directory, note that the Chinese characters in this file use the Unicode-ASCII Escaped format, that is, the/u leading character plus the conversion ASCII code of the Chinese character Unicode code, you must use an editor such as UltraEdit.

3. In the mail server James, mySql is used to manage the mail storage space. By default, sending and receiving large attachments will cause a system error. The query result is that the default data packet size of mySql is 1 MB, an attachment larger than 1 MB may cause database read/write errors. add max-allowed-packet = 32 m to the mysqld segment of the INI file to solve this problem.

4. inTouch is designed to be a simple and available WebMail client. Therefore, it does not include the web interface management of the mail server. Therefore, it does not have functions such as user email registration and user password modification, the Administrator of the email server James must use the command line to manage the user, which is inconvenient. However, user registration and password modification are just necessary functions of the Webmail service. From the perspective of James source code, there are three ways to manage users: first, connecting to the James server through socket from the outside, send the James command string to manage users; Use the James source code to build user management; and use jdbc to directly read and write James's users database for Mail User management. Considering the workload and complexity, the third method is used to manage users and provide the user email registration and password modification functions on the web page.

The modified files at and above have been packaged into a patch package. Download [] Here 【].

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.