標(biāo)題: postfix+extmail郵件服務(wù)器的遷移 [打印本頁(yè)] 作者: topgtian 時(shí)間: 2009-09-29 11:25 標(biāo)題: postfix+extmail郵件服務(wù)器的遷移 由于一些原因,需要遷移郵件服務(wù)器。
遷移步驟基本上就和我的另外一篇文章差不多。只是中間遇到了些小問題,所以記錄下來(lái)以備忘。
1、遷移的一些簡(jiǎn)便方法
將需要修改的文本,postfix目錄下的mysql直接復(fù)制過(guò)去;
將extmail和extman的安裝目錄直接復(fù)制過(guò)去,然后將extmail數(shù)據(jù)庫(kù)直接倒過(guò)去,在mysql數(shù)據(jù)庫(kù)中
添加用戶extmail和webman用戶,分別對(duì)應(yīng)為郵件用戶和郵件管理用戶。如果沒有webman用戶,管理
郵件用戶的時(shí)候,會(huì)提示:
Can't call method "prepare" on an undefined value at /var/www/extsuite/extman/libs/Ext/Mgr/MySQL.pm line 60.
[ Go Back ] >> Re-Login
2、extman的校驗(yàn)碼不顯示
既然不顯示,那就不要算了。可能是由于安裝系統(tǒng)的時(shí)候關(guān)于圖像的包沒有安裝完全。
vi /var/www/wxtsuite/extman/webman.cf
sys_captcha_on = 0
3、只能發(fā)送郵件,不能接受郵件,telnet 25端口,直接掉下來(lái)。但是可以給本機(jī)不同的域發(fā)送接收郵件。
錯(cuò)誤提示:
fatal: open database /etc/aliases.db: No such file or directory
warning: /usr/libexec/postfix/smtpd:bad command startup -- throttling
配置了postfix,可以給163,sina等發(fā)信,當(dāng)時(shí)不能給gmail.com和hotmail.com發(fā)信,從gmail.com的回信是:
'The IP you're using to send email is not authorized...'
In order to prevent spam, Gmail refuses mail when the sending IP address does not match the sending domain. To send mail from your server to Gmail, we suggest using the SMTP relay provided by your ISP. Please note that we are unable to whitelist IP addresses or otherwise make exceptions at this time.
從hotmail.com的回信是:
We generally do not
accept email from dynamic IP's as they are not typically used to deliver
unauthenticated SMTP e-mail to an Internet mail server.