开源Webmail客户端Claros inTouch2.2 Beta+James MailServer配
Claros inTouch 是基于 java 的开源 Web2.0 邮件客户端,常和 Apache James MailServer 及 MySql 、 Tomcat 联合使用构建开源的 WebMail 邮件服务。 Claros inTouch 的最新版是 Devel 2.2Beta 版,这个版本较之前的 2.1 版增加了许多新的功能,我按照网上搜
Claros inTouch是基于java的开源Web2.0邮件客户端,常和Apache James MailServer及MySql、Tomcat联合使用构建开源的WebMail邮件服务。Claros inTouch的最新版是Devel 2.2Beta版,这个版本较之前的2.1版增加了许多新的功能,我按照网上搜索到的帖子在企业内部网络部署WebMail服务时发现了一些错误,经过摸索最终解决了问题。
1、inTouch2.2beta版和mySql5.1版结合使用时,出现数据库读写错误,但inTouch2.1就不存在问题。
阅读源码发现,inTouch使用了名为MrPersister的对象持久化组件来实现后台数据库的读写,在inTouch2.1版和inTouch2.2版中,MrPersister组件的版本不同,使用新版本的MrPersister组件和mySql5.1数据库配合就存在数据库个别字段读写问题,因此导致Intouch2.2和mySql5.1结合使用时出现错误,这应该是inTouch升级时遗留的Bug。在不必修改源代码的情况下,用inTouch2.1中旧版本的mrpersister.jar文件覆盖Intouch2.2中的相应组件jar包,就可以解决此问题。
2、inTouch的WebMail邮件客户端界面上有很多错别字,应该是系统汉化时不严谨所致,需要修改,修改WEB-INF/classes/org/claros/intouch/i18n目录下的lang_zh_cn_utf8.properties文件中的相关内容就可以了,需要注意的是该文件中的汉字使用的是Unicode-ASCII Escaped格式,也就是/u前导符加上汉字的Unicode码的转换ASCII码,需要用UltraEdit这样的编辑器编辑。
3、邮件服务器James中设定使用mySql管理邮件存储空间,默认情况下收发大附件会导致系统错误,经查询是因为mySql默认数据包大小是1M,超过1M的附件就会导致数据库读写错误,在my.ini文件mysqld段中加入:max-allowed-packet=32M就可以解决此问题。
4、inTouch设计目标只是一个简单可用的WebMail的客户端,因此不包括邮件服务器的web界面管理,所以,也就没有用户邮箱注册、修改用户密码等功能,必须由邮件服务器James的管理员通过命令行管理用户,很不方便。然而用户注册和密码修改恰恰是Webmail服务必要的功能,从James源码看,可以有三种途径进行用户管理:一是从外部通过socket连接James服务器,发送James命令串管理用户;二是使用James源码构建用户管理类;三是使用jdbc直接读写James的users数据库进行邮件用户管理。考虑到工作量和复杂性,最终采用了第三种方法管理用户并提供Web页面的用户邮箱注册和用户密码修改功能。
以上2、4点的修改文件已打包成一个补丁包,在此下载【】。

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



Text annotation is the work of corresponding labels or tags to specific content in text. Its main purpose is to provide additional information to the text for deeper analysis and processing, especially in the field of artificial intelligence. Text annotation is crucial for supervised machine learning tasks in artificial intelligence applications. It is used to train AI models to help more accurately understand natural language text information and improve the performance of tasks such as text classification, sentiment analysis, and language translation. Through text annotation, we can teach AI models to recognize entities in text, understand context, and make accurate predictions when new similar data appears. This article mainly recommends some better open source text annotation tools. 1.LabelStudiohttps://github.com/Hu

Image annotation is the process of associating labels or descriptive information with images to give deeper meaning and explanation to the image content. This process is critical to machine learning, which helps train vision models to more accurately identify individual elements in images. By adding annotations to images, the computer can understand the semantics and context behind the images, thereby improving the ability to understand and analyze the image content. Image annotation has a wide range of applications, covering many fields, such as computer vision, natural language processing, and graph vision models. It has a wide range of applications, such as assisting vehicles in identifying obstacles on the road, and helping in the detection and diagnosis of diseases through medical image recognition. . This article mainly recommends some better open source and free image annotation tools. 1.Makesens
![VMware Horizon Client cannot be opened [Fix]](https://img.php.cn/upload/article/000/887/227/170835607042441.jpg?x-oss-process=image/resize,m_fill,h_207,w_330)
VMware Horizon Client helps you access virtual desktops conveniently. However, sometimes the virtual desktop infrastructure may experience startup issues. This article discusses the solutions you can take when the VMware Horizon client fails to start successfully. Why won't my VMware Horizon client open? When configuring VDI, if the VMWareHorizon client is not open, an error may occur. Please confirm that your IT administrator has provided the correct URL and credentials. If everything is fine, follow the solutions mentioned in this guide to resolve the issue. Fix VMWareHorizon Client Not Opening If VMW is not opening on your Windows computer
![VMware Horizon client freezes or stalls while connecting [Fix]](https://img.php.cn/upload/article/000/887/227/170942987315391.jpg?x-oss-process=image/resize,m_fill,h_207,w_330)
When connecting to a VDI using the VMWareHorizon client, we may encounter situations where the application freezes during authentication or the connection blocks. This article will explore this issue and provide ways to resolve this situation. When the VMWareHorizon client experiences freezing or connection issues, there are a few things you can do to resolve the issue. Fix VMWareHorizon client freezes or gets stuck while connecting If VMWareHorizon client freezes or fails to connect on Windows 11/10, do the below mentioned solutions: Check network connection Restart Horizon client Check Horizon server status Clear client cache Fix Ho

Face detection and recognition technology is already a relatively mature and widely used technology. Currently, the most widely used Internet application language is JS. Implementing face detection and recognition on the Web front-end has advantages and disadvantages compared to back-end face recognition. Advantages include reducing network interaction and real-time recognition, which greatly shortens user waiting time and improves user experience; disadvantages include: being limited by model size, the accuracy is also limited. How to use js to implement face detection on the web? In order to implement face recognition on the Web, you need to be familiar with related programming languages and technologies, such as JavaScript, HTML, CSS, WebRTC, etc. At the same time, you also need to master relevant computer vision and artificial intelligence technologies. It is worth noting that due to the design of the Web side

Audiences familiar with "Westworld" know that this show is set in a huge high-tech adult theme park in the future world. The robots have similar behavioral capabilities to humans, and can remember what they see and hear, and repeat the core storyline. Every day, these robots will be reset and returned to their initial state. After the release of the Stanford paper "Generative Agents: Interactive Simulacra of Human Behavior", this scenario is no longer limited to movies and TV series. AI has successfully reproduced this scene in Smallville's "Virtual Town" 》Overview map paper address: https://arxiv.org/pdf/2304.03442v1.pdf

New SOTA for multimodal document understanding capabilities! Alibaba's mPLUG team released the latest open source work mPLUG-DocOwl1.5, which proposed a series of solutions to address the four major challenges of high-resolution image text recognition, general document structure understanding, instruction following, and introduction of external knowledge. Without further ado, let’s look at the effects first. One-click recognition and conversion of charts with complex structures into Markdown format: Charts of different styles are available: More detailed text recognition and positioning can also be easily handled: Detailed explanations of document understanding can also be given: You know, "Document Understanding" is currently An important scenario for the implementation of large language models. There are many products on the market to assist document reading. Some of them mainly use OCR systems for text recognition and cooperate with LLM for text processing.

MQTT (MessageQueuingTelemetryTransport) is a lightweight message transmission protocol commonly used for communication between IoT devices. PHP is a commonly used server-side programming language that can be used to develop MQTT clients. This article will introduce how to use PHP to develop an MQTT client and include the following content: Basic concepts of the MQTT protocol Selection and usage examples of the PHPMQTT client library: Using the PHPMQTT client to publish and
