postfix融合extmail web界面的邮箱配置

  • 来源:
  • 更新日期:2018-05-09

摘要:摘要: 下载安装包 进入extmail登陆进去如果找不到默认邮件目录就用系统先发一封邮件就可以 提示Unix::Syslognotfound,pleaseinstallitfirst!(incleanup)Undefinedsubroutine&Ext:ogger:: do_closelogcalledat/var/www/extsuite/extmail/libs/Ext/Logger.pmline87. vim/var/www/extsuite/webmail/webmail.cfsys_log_o

下载安装包 extman-1.1.tar.gz//主要运用于服务端 extmail-1.2.tar.gz//主要运用于客户端

002UASMrzy7605pjKJv15&690.jpg

[root@vm4~]#tarzxfextman-1.1.tar.gz [root@vm4~]#cdextman-1.1/docs [root@vm4docs]#viminit.sql 18INSERTINTO`mailbox`VALUES(\'postmaster@extmail.org\',\'postmaster\',\'westos\'..//把密码改成自己设置的明文密码 25INSERTINTO`manager`VALUE(\'root@extmail.org\',\'westos\',\'admin\',\'ro.. [root@vm4docs]#mysql-pwestos<extmail.sql [root@vm4docs]#mysql-pwestos<init.sql 接下来与postfix连接配置 [root@vm4docs]#cpmysql_virtual_alias_maps.cf/etc/postfix/mysql_alias.cf [root@vm4docs]#cpmysql_virtual_domains_maps.cf/etc/postfix/mysql_domains.cf [root@vm4docs]#cpmysql_virtual_mailbox_maps.cf/etc/postfix/mysql_mailbox.cf [root@vm4docs]#postfixreload [root@vm4~]#cat/etc/sasl2/smtpd.conf pwcheck_method:auxprop auxprop_plugin:sql mech_list:PLAINLOGINCRAM-MD5DIGEST-MD5NTLM sql_engine:mysql sql_hostnames:127.0.0.1 sql_user:extmail sql_passwd:extmail sql_database:postfix sql_select:SELECTpasswordFROMmailboxWHEREusername=\'%u@%r\' root@vm4~]#yuminstall-yhttpd [root@vm4extman-1.1]#mkdir/var/www/extsuite [root@vm4~]#mvextman-1.1/var/www/extsuite/ [root@vm4~]#tarzxfextmail-1.2.tar.gz-C/var/www/extsuite/ [root@vm4~]#cd/var/www/extsuite/ [root@vm4extsuite]#mvextmail-1.2/extmail [root@vm4extsuite]#ll total8 drwxr-xr-x75005004096Dec252009extmail drwxr-xr-x115005004096Apr1217:01extman [root@vm4extsuite]#vim/etc/httpd/conf/httpd.conf//行末添加虚拟主机 NameVirtualHost*:80//打开虚拟主机选项 <VirtualHost*:80> ServerNamemail.extmail.org DocumentRoot/var/www/extsuite/extmail/html ScriptAlias/extmail/cgi/var/www/extsuite/extmail/cgi Alias/extmail/var/www/extsuite/extmail/html SuexecUserGroupemailemail </VirtualHost> [root@vm4extsuite]#/etc/init.d/httpdrestart [root@vm4extsuite]#chown-Remail.email/var/www/extsuite/extmail/cgi/ [root@vm4extsuite]#yuminstallperl-CGI-y [root@vm4extsuite]#cdextmail/ [root@vm4extmail]#cpwebmail.cf.defaultwebmail.cf [root@vm4extmail]#vimwebmail.cf 44SYS_LOG_ON=0 127SYS_MAILDIR_BASE=/home/email 136SYS_CRYPT_TYPE=plain 139SYS_MYSQL_USER=extmail 140SYS_MYSQL_PASS=extmail 141SYS_MYSQL_DB=extmail [root@vm4extmail]#postconf-esmtpd_tls_security_level=may [root@vm4extmail]#postfixreload 进入extmail登陆进去如果找不到默认邮件目录就用系统先发一封邮件就可以 提示Unix::Syslognotfound,pleaseinstallitfirst!(incleanup)Undefinedsubroutine&Ext:ogger:: do_closelogcalledat/var/www/extsuite/extmail/libs/Ext/Logger.pmline87. vim/var/www/extsuite/webmail/webmail.cfsys_log_on=0即关闭日志也可以安装perl-Unix-Syslog yum没有网上找rpm包 就这些了。