你好,游客 登录 注册 搜索
背景:
阅读新闻

Ubuntu 9.04下架构Extmail邮件系统

[日期:2009-11-05] 来源:forum.ubuntu.org.cn  作者:阳光 [字体:大 中 小]

图形日志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 = 自己填 


到此,本系统基本上是安装完毕了。

linux
相关资讯       Ubuntu服务器  Extmail 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款