内网搭建HmaiServer邮件服务器及AfterLogic webmail问题
最近由于工作需要,在内网搭建HmaiServer邮件服务器及AfterLogic webmail,所遇到的问题与解决办法与大家分享。
环境 xampp 1.8.2
windows 2003
在笔记本win7(连接互联网)上搭建HmaiServer邮件服务器及AfterLogic webmail后一切正常,遂到内网服务器windows 2003(未连接互联网)搭建,结果:
1、登陆AfterLogic webmail用户页面无响应,在install页面与adminpanel检查数据库连接均测试成功,开启日志后发现
[03:40:09.82] DB(PDO/mysql) : start connect to root@localhost
没有连接到数据库,但是进后台检查数据库测试连接成功。
究其原因是Mysql数据库的问题,当远程访问mysql时,mysql会解析域名,会导致访问速度很慢。
解决办法 禁止mysql做域名解析
在my.ini里面添加
[mysqld]
skip-name-resolve (选项就能禁用DNS解析,连接速度会快很多。但是不能在MySQL的授权表中使用主机名只能用ip )
skip-grant-tables (如果mysql服务器没有开远程帐户,在my.ini里面加上skip-grant-tables)
2、登陆AfterLogic webmail之后,能收到邮件列表,但不能获取邮件内容。
先检查是否是Hmailserver的问题,用Foxmail软件代替webmail连接hmailserver,pop3连接不上,使用IMAP连接成功,进入Foxmail后,不能发送邮件,报错。
原因为电脑里的杀毒软件禁止了Foxmail,重装解决,证明不是hmailserver的问题。
检查hmailserver数据库,发现.eml存储文件名,联想到是不是路径的问题,因为我把hmailserver安装到中文目录下,重装Hmailserver到英文目录,解决问题。
3、AfterLogic webmail开启withoutdomain项时,就是只输入用户名不输入@域,出现有些用户能登陆,有些用户不能登陆(主要是新注册用户)
开启用户名登陆配置为 data/settings/settings.xml
-
Off -
Login -
somedomain.com -
On
由于需要编写了用户注册页面,出现新用户登陆不成功,以为是注册页面的问题,使用Hmailserver客户端添加用户,同样失败。
测试老用户错误密码返回信息为“账户或密码错误”,新用户返回信息为“连接服务器错误”。
检查AfterLogic webmail数据库,发现只有老用户的信息存储在数据库里。检查日志,发现AfterLogic webmail向hmailserver发送连接请求时,老用户带域名,新用户没有域名,只有用户名,便在Hmailserver中添加默认域名,问题解决。

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

AI Hentai Generator
Generate AI Hentai for free.

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

I repaired an Acer laptop and had to turn off secure boot when entering PE. I recorded how to turn off secure boot and remove the password from Bios. Turn on the computer and when the screen is not on, keep pressing the F2 key to enter the BIOS. On Acer laptops, turn off Secure Boot and press the arrow keys to switch to Boot. If SecureBoot is gray and unclickable, switch to the Security page, select SetSupervisorPassword and press Enter to set the password. Then switch to Boot, SecureBoot can be selected as Disabled, and press F10 to save. Modify and clear the BIOS password on your Acer notebook. Switch to the Security menu and select SetSupervisorPasswo.

The following introduces the factory reset that comes with DELL notebooks. It restores factory settings. After the reset, the computer is restored to the state when you first bought it. It requires that the hard disk has not been partitioned and the recovery partition has not been damaged. 1. Restart the computer and keep clicking the F12 key on the keyboard until the following interface appears; 2. Select "SupportAssistOSRecovery" and click "EXIT"; 3. Click "Skip" here, or click step-by-step guidance, and there will be Introduction instructions; 4. In this interface, in the lower right corner, click "Start Reset"; 5. Select "Reset to Factory Settings" and click Next; (If you choose "Reset and Update", the network speed is not fast, it will take a long time, You also need to install the driver yourself) 6. If there is important data, select "Yes, back up my files".

According to news from this website on April 30, HP today launched the Ryzen Edition of the Zhan 66 seventh-generation business thin and light notebook on the e-commerce platform. This series of notebooks includes 14-inch and 16-inch versions, both of which use AMD Ryzen7035U "Rembrandt" processor. All Zhan 66 seventh-generation thin and light Ryzen versions adopt a dual DDR5 memory slot and dual M.2 solid-state slot design, and are equipped with a "long-life" 56Wh battery (two-year warranty). The seventh-generation thin and light Ryzen Edition of Zhan 66 adopts an all-metal body, covered with aluminum alloy, and supports 180° opening and closing. The starting weight of the 14-inch version is 1.40kg, and the starting weight of the 16-inch version is 1.75kg. HP claims to have made low-noise adjustments for this series of models to eliminate the problem of excessive surface temperature, while the keyboard covers Du

According to news from this site on July 28, the Chinese version of the Asus Lingyao 16Air notebook is now on sale, equipped with AMD Ryzen AI9HX370 processor, and the 32GB+1TB version is priced at 12,999 yuan. In terms of appearance, the Lingyao 16 Air notebook is made of Ceraluminum high-tech ceramic aluminum material and CNC technology. It is available in two colors: snowy white and mountain gray. It is about 1.1cm thick and weighs 1.49kg. Lingyao 16Air is equipped with the new AMD Ryzen AI9HX370 processor, equipped with 12C24TZen5 core, 16CURDNA3.5 architecture Radeon890M core display, and the NPU computing power reaches 50TOPS. This computer is also equipped with a dual-fan VC vapor chamber cooling system that can provide 28W

According to news from this site on September 4, Intel officially released the Core Ultra200V series notebook processors at a press conference held in Berlin today. Companies such as ASUS, LG, Dell, and MSI have also launched notebook products equipped with this series of processors. . Overview of the Intel Core Ultra200V series notebook processor launch conference Intel said that the new Lunar Lake processor will provide leading performance and battery life in its class, and it expects that processors of various designs will be on sale later this month. Intel Core Ultra200V Series Notebook Processor Benchmark Demonstration ASUS At this conference, Intel showed off 3 ASUS product prototypes equipped with Core Ultra200V processors: Zenb

According to news from this site on May 8, ASUS Daybreak Pro162024 business notebook is on sale today. Only the Ultra5125H, 32GB RAM + 1TB storage space version is available, priced at 5,599 yuan. According to reports, this notebook is equipped with Intel Core Ultra5125H processor (4P+8E+2LPE), provides dual M.2SSD slots and dual DDR5SO-DIMM memory slots, and can be expanded to a maximum of 64GB of memory. Dawn Pro16 notebook adopts A, C and D surface technology body, is 18.9mm thick, weighs 1.71kg, supports 180° opening and closing, and is equipped with a single fan cooling system. In terms of screen, this notebook is equipped with a 16-inch 2560x1600120Hz IP

According to news from this website on July 28, Asus’s ROG Magic 16 Air Ryzen AI version of the gaming notebook will be sold for the first time on JD.com at 9 o’clock tonight. It uses the Ryzen AI9HX370 processor and optional RTX4060/70 graphics card. The price starts at 14,499 yuan. The price information compiled by this site is as follows: Ryzen AI9HX370+RTX4060+32GBRAM+1TB storage space (Eclipse Gray): 14,499 yuan Ryzen AI9HX370+RTX4060+32GBRAM+1TB storage space (Haoyue White): 14,499 yuan Ryzen AI9HX370+RTX4070+ 32GB RAM + 1TB storage space (Haoyue White): 15,999 yuan. In terms of appearance, the body design of the Ryzen AI version is similar to that of the previous model.

Hello friends, welcome to here. Today I will unbox a new product in the Huawei MateBook series - Huawei MateBook GT14. Huawei MateBook GT14 uses an all-metal body with an overall simple and elegant appearance. For the first time, the A side is equipped with a high-brightness Huawei starlight, which will slowly light up as the screen is turned on. The rear adopts a jet-type direct air outlet design, and is equipped with two USB3.2Gen1 interfaces and an HDMI2.1 interface in the middle of the air outlet. The whole machine adopts a wedge-shaped body design, weighs 1.49kg, and is only 15.3mm thick. The B side is equipped with a 14.2-inch 2.8K high-resolution OLED full screen, using a 3:2 screen ratio and narrow borders on four sides, which can reach up to 10
