centos5.6 postfix+extmail 邮件服务器 搭建

原文:http://www.weiruoyu.cn/?p=647

教程是根据:羽飞兄弟的博客写的

http://blog.sina.com.cn/s/blog_4fed8bc50100gnbl.html

官方博客(非常全面):

http://wiki.extmail.org/extmail_solution_for_linux

根据羽飞博客,需要修改的。

1.maildrop �Cv

120909310.png

2.phpdamin下载地址:

wget http://sourceforge.net/projects/phpmyadmin/files/phpMyAdmin/3.4.7.1/phpMyAdmin-3.4.7.1-all-languages.tar.gz/download

报错:

[root@mail ~]# /usr/sbin/authtest -s login [email protected] extmail
Authentication FAILED: Input/output error

原因是:vi /etc/authlib/authmysqlrc

105150538.png

注意正确的写法是:

105240253.png

错误的原因是:

更详细请参考:http://www.weiruoyu.cn/?p=647

复制下面的即可

 
 
  1. MYSQL_SERVER localhost

  2. MYSQL_USERNAME extmail

  3. MYSQL_PASSWORD extmail

  4. MYSQL_SOCKET /var/lib/mysql/mysql.sock

  5. MYSQL_PORT 3306

  6. MYSQL_OPT 0

  7. MYSQL_DATABASE extmail

  8. MYSQL_USER_TABLE mailbox

  9. MYSQL_CRYPT_PWFIELD password

  10. MYSQL_UID_FIELD uidnumber

  11. MYSQL_GID_FIELD gidnumber

  12. MYSQL_LOGIN_FIELD username

  13. MYSQL_HOME_FIELD homedir

  14. MYSQL_NAME_FIELD name

  15. MYSQL_MAILDIR_FIELD maildir

  16. MYSQL_QUOTA_FIELD quota

  17. MYSQL_SELECT_CLAUSE SELECT username,password,"",uidnumber,gidnumber,\

  18. CONCAT('/home/domains/',homedir), \

  19. CONCAT('/home/domains/',maildir), \

  20. quota, \

  21. name \

  22. FROM mailbox \

  23. WHERE username = '$(local_part)@$(domain)'

再一次安装,碰到了这个问题

Can't locate /var/www/cgi-bin/extmail//lang//en_US in @INC (@INC contains: /var/www/extsuite/extmail/libs /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8) at /var/www/extsuite/extmail/libs/Ext/Lang.pm line 65.

很古怪的,后来发现是我自己疏忽了

错误的原因是:

更详细请参考:http://www.weiruoyu.cn/?p=647


你可能感兴趣的:(centos,邮件,职场,postfix,休闲,ExtMail,centos5.6)