一、extmail,extman更新
1、重命名原extmail extman文件夹
[root@mail extsuite]# tar -zxvf extmail-1.0.5.tar.gz
[root@mail extsuite]# tar -zxvf extman-0.2.5.tar.gz
2、对比备份的extmail下webmail.cf和extman下的webman.cf,根据旧版本修改新版本的配置文件。
#
sys_sess_dir, the session dir
#SYS_SESS_DIR = /tmp/extman/
SYS_SESS_DIR =
/var/www/extsuite/extman/tmp
[root@mail extsuite]# cd extman
[root@mail extman]# mkdir tmp
[root@mail extman]# chown vuser:vgroup tmp
问:
修改完了WEB登录后,发不出邮件,但是outlook等客户端正常:
SMTP rcpt error: 5.7.1 : Sender address rejected: not logged in
答:
请修改/etc/postfix/main.cf 中的restrictions设置
凡是出现 permit_sasl_authenticated,的地方,请在其前面加上一行permit_mynetworks,
变成
permit_mynetworks,
permit_sasl_authenticated,smtpd_sender_restrictions =
permit_mynetworks,
reject_sender_login_mismatch,
reject_authenticated_sender_login_mismatch,
reject_unauthenticated_sender_login_mismatch
smtpd_sender_restrictions =
permit_mynetworks,
//这里需要添加才能发出去邮件
reject_sender_login_mismatch,
reject_authenticated_sender_login_mismatch,
reject_unauthenticated_sender_login_mismatch
然后重启动
service postfix
restart
问:
extman后台添加用户出错 Unknown
column 'question'DBD::mysql::st execute failed: Unknown column 'question' in 'field
list' at /var/www/extsuite/extman/libs/Ext/Mgr/MySQL.pm line
340
答:
执行以下sql语句
use extmail;
ALTER TABLE `mailbox` ADD `question` text NOT NULL default '' AFTER
`disablepop3`;
ALTER TABLE `mailbox` ADD `answer` text NOT NULL default '' AFTER
`question`;
ALTER table `domain` change `expiredate` `expiredate` DATE not null
default '0000-00-00';
ALTER table `mailbox` change `expiredate` `expiredate` DATE not null
default '0000-00-00';
ALTER table `manager` change `expiredate` `expiredate` DATE not null
default '0000-00-00';
ALTER table `alias` drop `expiredate`;
或者到extman/addon下找upgrade***.sql导进mysql
本文出自 “聆听未来” 博客,请务必保留此出处http://blog.chinaunix.net/space.php?uid=9419692&do=blog&id=3182671