欢迎来到天天文库
浏览记录
ID:8983745
大小:47.00 KB
页数:5页
时间:2018-04-14
《企业级邮件服务器解决方案》由会员上传分享,免费在线阅读,更多相关内容在应用文档-天天文库。
1、一、初始化系统环境主机名:#vim/etc/sysconfig/networkHOSTNAME=mail.uplooking.com#vim/etc/hosts172.16.1.3mail.uplooking.com#hostnamemail.uplooking.com安装包:PostfixDovecotMysqlPostfixadminAmavisd+spamClamav二、优化系统性能与安全升级三、配置服务器postfix:#rpm–ivhpostfix-2.3.3-2.i386.rpm#postconf–m#cd
2、/RHEL5u3/Server/#rpm–ivhsystem-switch-mail-0.5.25-12.noarch.rpm#system-switch-mail或者使用alternatives:#alternatives–displaymta#alternatives–configmtadovecot:#cd/RHEL5u3/Server/#rpm–ivhdovecot-1.0.7-7.el5.i386.rpmmysql:#cd/RHEL5u3/Server/#rpm–ivhmysql-server-5.0.45-
3、7.el5.i386.rpm#rpm–ivhmysql-5.0.45-7.el5.i386.rpmpostfixadmin:#cd/var/ftp/pub/MAIL/software/postfixadmin#tarzxfpostfixadmin-2.1.0.gz–C/var/www/html/#cd/var/www/html#mvpostfixadmin-2.1.0postfixadmin#cdpostfixadmin#lessDATABASE_MYSQL.TXT#servicemysqldstart#mysql4、ATABASE_MYSQL.TXT#mvconfig.inc.php.sampleconfig.inc.php#vimconfig.inc.php$CONF[‘default_language’]=’cn’;5$CONF[‘database_type’]=‘mysql’;$CONF[‘database_host’]=‘localhost’;$CONF[‘database_user’]=‘postfixadmin’;$CONF[‘database_password’]=‘postfixadmin’;$CONF[‘data5、base_name’]=‘postfix’;$CONF[‘database_prefix’]=‘’;$CONF[‘domain_path’]=‘YES’;$CONF[‘domain_in_mailbox’]=‘NO’;#servicehttpdstartphp-mysql:#rpm–qa6、grepmysql#cd/var/ftp/pub/RHEl5u3#cdServer#rpm–ivhphp-mysql-5.1.6-23.el5.i386.rpmPostfixadmin:#cd/var/www/html#chown–R7、root:rootpostfixadmin///IP/postfixadmin/->setup(可能需要修改以下文件:#vim/etc/php.iniMagic_quotes_gpc=OffServicehttpdrestart)#cdpostfixadmin/#mvsetup.phpsetup.php.bak//IP/postfixadmin///IP/postfixadmin/admin->新建域:域名uplooking.com,描述uplooking.com,别名数-1,邮箱数0->新建管理员:管理员admin@8、uplooking.com,密码,域//IP/postfixadmin/->新建邮箱postfix:#cd/var/ftp/pub/MAIL/software/allconf/#ls#cpmain.cf/etc/postfix/#cpmaster.cf/etc/postfix/#cpmysql_virtual_*/etc/postfix/#cd/etc/postfix/#vimmain.cfBASEVIRTUALMAILBOXSETTINGS5QUOTASASLCONTENTFILTER#manpostconf#man9、5postconf#cd/var/ftp/pub/MAIL/doc/#ls中文文档#cd/usr/share/doc/postfix-2.3.3/#ls#cdREADME_FILES/#ls#cd/etc/postfix/#ls#vimmaster.cf(各组件的配置文件)Smtpinetn-n--smtpd(postfix中负责
4、ATABASE_MYSQL.TXT#mvconfig.inc.php.sampleconfig.inc.php#vimconfig.inc.php$CONF[‘default_language’]=’cn’;5$CONF[‘database_type’]=‘mysql’;$CONF[‘database_host’]=‘localhost’;$CONF[‘database_user’]=‘postfixadmin’;$CONF[‘database_password’]=‘postfixadmin’;$CONF[‘data
5、base_name’]=‘postfix’;$CONF[‘database_prefix’]=‘’;$CONF[‘domain_path’]=‘YES’;$CONF[‘domain_in_mailbox’]=‘NO’;#servicehttpdstartphp-mysql:#rpm–qa
6、grepmysql#cd/var/ftp/pub/RHEl5u3#cdServer#rpm–ivhphp-mysql-5.1.6-23.el5.i386.rpmPostfixadmin:#cd/var/www/html#chown–R
7、root:rootpostfixadmin///IP/postfixadmin/->setup(可能需要修改以下文件:#vim/etc/php.iniMagic_quotes_gpc=OffServicehttpdrestart)#cdpostfixadmin/#mvsetup.phpsetup.php.bak//IP/postfixadmin///IP/postfixadmin/admin->新建域:域名uplooking.com,描述uplooking.com,别名数-1,邮箱数0->新建管理员:管理员admin@
8、uplooking.com,密码,域//IP/postfixadmin/->新建邮箱postfix:#cd/var/ftp/pub/MAIL/software/allconf/#ls#cpmain.cf/etc/postfix/#cpmaster.cf/etc/postfix/#cpmysql_virtual_*/etc/postfix/#cd/etc/postfix/#vimmain.cfBASEVIRTUALMAILBOXSETTINGS5QUOTASASLCONTENTFILTER#manpostconf#man
9、5postconf#cd/var/ftp/pub/MAIL/doc/#ls中文文档#cd/usr/share/doc/postfix-2.3.3/#ls#cdREADME_FILES/#ls#cd/etc/postfix/#ls#vimmaster.cf(各组件的配置文件)Smtpinetn-n--smtpd(postfix中负责
此文档下载收益归作者所有