图形日志extmail
apt-get install mailgraph
cp -r /var/www/extsuite/extman/addon/mailgraph_ext/ /usr/local/mailgraph_ext
修改/usr/local/mailgraph_ext/mailgraph-init为:
MAIL_LOG=/var/log/mail.log
启动mailgraph:
/usr/local/mailgraph_ext/mailgraph-init start
可以通过以下命令将启动命令加到rc.local中,实现自启动:
echo "/usr/local/mailgraph_ext/mailgraph-init start" >> /etc/rc.local
可是又出现了问题,我不怕问题。
POSTFIX无法发信,到日志里面一看 /var/log/mail.log
Jun 1 14:19:58 mail postfix/qmgr[12930]: C969234426: from=<zhu@163.com>, size=348, nrcpt=1 (queue active)
Jun 1 14:19:58 mail postfix/pipe[12939]: C969234426:to=<zhu@epfhk.com>, relay=maildrop, delay=21,delays=21/0.04/0/0.04, dsn=5.1.1, status=bounced (user unknown. Commandoutput: ERR: authdaemon: s_connect() failed: Permission denied Invaliduser specified. ) //这里是最重要的,说我没有权限。
Jun 1 14:19:58 mail postfix/cleanup[12938]: 192FF34447: message-id=<20090601061958.192FF34447@mail.extmail.org>
Jun 1 14:19:58 mail postfix/qmgr[12930]: 192FF34447: from=<>, size=2194, nrcpt=1 (queue active)
Jun 1 14:19:58 mail postfix/bounce[12941]: C969234426: sender non-delivery notification: 192FF34447
Jun 1 14:19:58 mail postfix/qmgr[12930]: C969234426: removed
Jun 1 14:19:59 mail postfix/smtpd[12934]: disconnect from mail.extmail.org[127.0.0.1]
上面的错误说我没有"authdaemon"的权限,我是这样做的
chmod 755 /var/run/courier/authdaemon
这下可以了,但是重启之后发现,authdaemon的权限又改会来了,日~~~~
我又在/etc/rc.local下把这个加了上去
chmod 777 /var/run/courier/authdaemon
让它开机后自动执行,完工
发邮件附件大小的设置:
找到/var/www/extsuite/extmail/webmail.cf
修改这个参数的值
SYS_MESSAGE_SIZE_LIMIT = 自己填
到postfix下的main.cf 添加
message_size_limit = 自己填
到此,本系统基本上是安装完毕了。
