Sendmail Mailmgr

(0 comments)

Mailmgr可以分析Sendmail的日志信息,统计用户收发邮件信息,以及邮件总数和字节数报表。

安装与配置

下载源代码,然后编译安装:

./configure && make install

mailmgr的配置文件是:/usr/local/etc/mailmgr.conf。

mailmgr.conf

logfile /nfs/log/maillog
temporary_dir /tmp
output_dir /var/www/html/mailmgr
local-host-names /etc/mail/local-host-names
lastlog 0
overwrite_report yes
email_domain wuerth-phoenix.com
use_sendmail_cw yes
use_comma yes

参数说明:

lastlog保留几次统计目录,设置为0表示保留所有统计目录。

overwrite_report如果文件夹同名(同一天进行多次统计),如果为no表示使用新的文件夹,yes表示覆盖原文件夹。

use_comma显示KBytes时用','分割,默认为'.'分割。

Currently unrated

Comments

There are currently no comments

New Comment

required

required (not published)

optional

required