3)vi /var/www/cgi-bin/openwebmail/etc/openwebmail.conf
domainnames qiu.com #更改为自己定义的域名# default_language zh_CN.GB2312 #更改登陆界面为中文#
4)vi /var/www/cgi-bin/openwebmail/etc/defaults/openwebmail.conf:
smtpserver 192.168.0.107 #更改smtp服务器的地址# authpop3_server 192.168.0.107 #更改pop3服务器的地址#
5) vi /var/www/cgi-bin/openwebmail/etc/defaults/dbm.conf
dbmopen_ext .db dbmopen_haslock yes
6) 再做次初始化
/var/www/cgi-bin/openwebmail/openwebmail-tool.pl --init
登陆地址:http://mail.qiu.com/cgi-bin/openwebmail/openwebmail.pl
登陆可能会出现 以下信息(权限):
Couldn't create File /var/log/openwebmail.log! (Permission denied)
解决如下:
touch /var/log/openwebmail.log chcon -u system_u /var/log/openwebmail.log chcon -t httpd_sys_script_rw_t /var/log/openwebmail.log chcon -t httpd_unconfined_script_exec_t /var/www/cgi-bin/openwebmail/openwebmail*
如果提示“无法检索邮件”,重新初始化即可!
最后成功截图:

以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持易采站长站。








