centos5.2下安装配置postfix
作者 佚名技术
来源 Linux系统
浏览
发布时间 2012-05-14
without-authpam --without-authldap --without-authpwd --without-authshadow --without-authvchkpw --without-authpgsql --with-authmysql --with-mysql-libs=/usr/local/mysql5/lib --with-mysql-includes=/usr/local/mysql5/include --with-redhat --with-authmysqlrc=/etc/authmysqlrc --with-authdaemonrc=/etc/authdaemonrc CFLAGS="-march=i686 -O2 -fexpensive-optimizations" CXXFLAGS="-march=i686 -O2 -fexpensive-optimizations" make;make install chmod 755 /usr/local/courier-authlib/var/spool/authdaemon #编辑配置文件 cp /opt/config/authdaemonrc /etc/authdaemonrc cp /opt/config/authmysqlrc /etc/authmysqlrc ln -s /usr/local/courier-authlib/bin/courierauthconfig /usr/bin/courierauthconfig ln -sv /usr/local/courier-authlib/include/* /usr/include/ cp /opt/courier-authlib-0.59.3/courier-authlib.sysvinit /etc/init.d/courier-authlib chmod 755 /etc/init.d/courier-authlib chkconfig --add courier-authlib chkconfig --level 2345 courier-authlib on echo "/usr/local/courier-authlib/lib/courier-authlib" >> /etc/ld.so.conf ldconfig -v #启动服务 service courier-authlib start #==============================(17)安装Courier-IMAP==================================== cd /opt tar jxvf courier-imap-4.1.3.tar.bz2 cd courier-imap-4.1.3 ./configure --prefix=/usr/local/courier-imap --with-redhat --enable-unicode --disable-root-check --with-trashquota --without-ipv6 CPPFLAGS=''-I/usr/local/ssl/include/openssl -I/usr/local/courier-authlib/include'' LDFLAGS=''-L/usr/local/courier-authlib/lib/courier-authlib'' COURIERAUTHCONFIG=''/usr/local/courier-authlib/bin/courierauthconfig''
cp -r /var/www/extsuite/extman/addon/mailgraph_ext /usr/local /usr/local/mailgraph_ext/mailgraph-init start /usr/local/mailgraph_ext/qmonitor-init start #添加到自动启动队列 echo "/usr/local/mailgraph_ext/mailgraph-init start" >> /etc/rc.local echo "/usr/local/mailgraph_ext/qmonitor-init start" >> /etc/rc.local mv /var/www/extsuite/extman/webman.cf /var/www/extsuite/extman/webman.cf.bak cp /opt/config/webman.cf /var/www/extsuite/extman/webman.cf cp /opt/config/webmail.cf /var/www/extsuite/extmail/webmail.cf mkdir /tmp/extman chown -R vmail.vmail /var/mailbox chown -R vmail.vmail /tmp/extman chown -R vmail.vmail /var/www/extsuite /usr/local/mysql5/bin/mysql -u root -pet-postfix use mysql; SET PASSWORD FOR ''extmail''@''localhost'' = PASSWORD(''et-extmail''); grant all privileges on *.* to ''extmail''@''localhost'' identified by ''extmail'' with grant option; exit; mv /usr/local/apache2/conf/httpd.conf /usr/local/apache2/conf/httpd.conf-2 cp /opt/config/httpd.conf-1 /usr/local/apache2/conf/httpd.conf mv /usr/local/apache2/conf/extra/httpd-vhosts.conf /usr/local/apache2/conf/extra/httpd-vhosts.conf.bak cp /opt/config/httpd-vhosts.conf /usr/local/apache2/conf/extra/httpd-vhosts.conf killall httpd /usr/local/apache2/bin/apachectl start #设置http访问控制、认证、授权文件 #/usr/local/apache2/bin/htpasswd -c /usr/local/apache2/conf/htpasswd kerry #chown vmail.vmail /usr/local/ |
|
凌众科技专业提供服务器租用、服务器托管、企业邮局、虚拟主机等服务,公司网站:http://www.lingzhong.cn 为了给广大客户了解更多的技术信息,本技术文章收集来源于网络,凌众科技尊重文章作者的版权,如果有涉及你的版权有必要删除你的文章,请和我们联系。以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢! |
你可能对下面的文章感兴趣
上一篇: SUSE笔记:eject的使用下一篇: linux面试题(选择部分)
关于centos5.2下安装配置postfix的所有评论