LINUX 邮件服务器qmail 架设
作者 佚名技术
来源 Linux系统
浏览
发布时间 2012-05-16
r/qmail/supervise/qmail-send/run chmod 755 /var/qmail/supervise/qmail-send/log/run chmod 755 /var/qmail/supervise/qmail-smtpd/run chmod 755 /var/qmail/supervise/qmail-smtpd/log/run chmod 755 /var/qmail/supervise/qmail-pop3d/run chmod 755 /var/qmail/supervise/qmail-pop3d/log/run chmod 755 /var/qmail/supervise/qmail-pop3ds/run chmod 755 /var/qmail/supervise/qmail-pop3ds/log/run mkdir -p /var/log/qmail/smtpd mkdir -p /var/log/qmail/pop3d mkdir -p /var/log/qmail/pop3ds chown -R qmaill /var/log/qmail # allow daemontools to start qmail ln -s /var/qmail/supervise/qmail-send /var/qmail/supervise/qmail-smtpd /service # verify that it''s running with qmailctl sleep 5 qmailctl stat Now let''s compile libdomainkeys, we''ll need that later: cd /var/src tar -xzf tar/libdomainkeys-0.68.tar.gz cd libdomainkeys-0.68 patch -p0 < ../tar/libdomainkeys.diff make Install Software
useradd -u 89 -g vchkpw vpopmail cd /var/src tar -xzf tar/vpopmail-5.4.18.tar.gz cd vpopmail-5.4.18 patch -p0 < ../tar/vpopmail-5.4.18-cumulative.patch # Alias /display /usr/local/tmda-cgi-0.16.3/display/ Now, you should be able to point your browser to /cgi-bin/tmda.cgi, log in with your email address and password, and add/edit/remove tmda for your account. Note that the .qmail files created by tmda WILL show up in QmailAdmin. Options
mkdir /var/www/html/qmailmrtg wget [url]http://shupp.org/software/qmailmrtg7-4.2.tar.gz[/url] wget [url]http://shupp.org/patches/qmailmrtg7-4.2-cfg.patch[/url] cd ../ tar -xzf tar/qmailmrtg7-4.2.tar.gz cd qmailmrtg7-4.2 patch -p0 < ../tar/qmailmrtg7-4.2-cfg.patch make make install # Edit qmail.mrtg.cfg and change all instances of FQDN to your hostname cp qmail.mrtg.cfg /etc/ indexmaker --section=title /etc/qmail.mrtg.cfg > /var/www/html/qmailmrtg/index.html # now run mrtg 3 times to get rid of initial cron errors env LANG=C mrtg /etc/qmail.mrtg.cfg env LANG=C mrtg /etc/qmail.mrtg.cfg env LANG=C mrtg /etc/qmail.mrtg.cfg o Add the following line to your crontab 0-55/5 * * * * env LANG=C /usr/bin/mrtg /etc/qmail.mrtg.cfg > /dev/null Options
|
凌众科技专业提供服务器租用、服务器托管、企业邮局、虚拟主机等服务,公司网站:http://www.lingzhong.cn 为了给广大客户了解更多的技术信息,本技术文章收集来源于网络,凌众科技尊重文章作者的版权,如果有涉及你的版权有必要删除你的文章,请和我们联系。以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢! |
你可能对下面的文章感兴趣
上一篇: raid技术0 1 1 0 5 0下一篇: linux cluster
关于LINUX 邮件服务器qmail 架设的所有评论