extMail 系统加装 Maillist

作者:暗夜星辰 发布于:2012-6-29 11:34 Friday 分类:LINUX && VPS

源码下载我就不多说了 

直接上 命令

 

tar zxvf mailman-2.1.15rc1
cd mailman-2.1.15rc1
mkdir /var/www/mailman/ -p
chmod 02775 /var/www/mailman/ 
chown vuser:vgroup /var/www/mailman/ 

./configure --with-cgi-gid=vgroup --with-mail-gid=vgroup --prefix=/var/www/mailman --with-username=vuser --with-groupname=vgroup
make  && make install

touch /var/www/mailman/data/aliases
touch /var/www/mailman/data/virtual-mailman
postalias /var/www/mailman/data/aliases
postmap /var/www/mailman/data/virtual-mailman
postfix reload

cd /var/www/mailman

bin/genaliases
chmod 664 /var/www/mailman/data/virtual-mailman*
chmod 664 /var/www/mailman/data/aliases*
chown -R vuser:vgroup /var/www/mailman/data/virtual-mailman*
chown -R vuser:vgroup /var/www/mailman/data/aliases*
chown -R vuser:vgroup *



bin/check_perms -f
bin/check_perms –f

bin/newlist mailman
bin/config_list -i data/sitelist.cfg mailman
bin/mailmanctl start

chmod 755 -R /var/www/mailman/cgi-bin/

木头兔子博客,专注PHP及IOS开发

标签: linux 邮件系统

发表评论:

©2012-2014 woodbunny.com 木头♥兔子的小屋 sitemap