如果你的Merak邮件服务器存在 SMTP 会话长时间打开而不能关闭的问题,并且因此造成巨大的会话量而使服务器异常繁忙,请执行以下步骤:
1) 通过 API 开启邮件队列日志: tool modify system C_System_Log_MailQueue 1
它将会记录邮件列队的处理日志到 merak\logs\queue\date.log 文件。然后你能从中看到 SMTP 会话在哪个处理步骤上占用太多时间,从而做出正常的处理。 邮件队列日志格式如下:
SYSTEM [165C] 11:36:48 Message JOO40048 127.0.0.1
SYSTEM [165C] 11:36:48 Size filters end [00]
SYSTEM [165C] 11:36:48 Antivirus begin
SYSTEM [165C] 11:36:51 Antivirus end [00]
SYSTEM [165C] 11:36:51 Antispam begin
SYSTEM [165C] 11:36:51 Antispam end
SYSTEM [165C] 11:36:51 Content filters begin
SYSTEM [165C] 11:36:51 Content filters end [00]
SYSTEM [165C] 11:36:51 Rules begin
SYSTEM [165C] 11:36:51 Rules end [00]
SYSTEM [165C] 11:36:51 Antispam finalization begin
SYSTEM [165C] 11:36:51 Antispam finalization end
SYSTEM [165C] 11:36:51 Delivery
SYSTEM [165C] 11:36:51 Done