谢谢张工 配置到最后邮件列表很多 能发不能收,能进webmail,iredadmin报错
老板催得急,就直接重装最新的ubuntu+iredmail8.0beta4,

May  7 13:30:10 mail postfix/smtpd[15484]: warning: SASL: Connect to ./dovecot-auth failed: Connection refused
May  7 13:30:10 mail postfix/smtpd[15484]: fatal: no SASL authentication mechanisms
May  7 13:30:10 mail postfix/master[1582]: warning: process /usr/lib/postfix/smtpd pid 15483 exit status 1
May  7 13:30:10 mail postfix/master[1582]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
May  7 13:30:11 mail postfix/master[1582]: warning: process /usr/lib/postfix/smtpd pid 15484 exit status 1
May  7 13:31:10 mail postfix/smtpd[15486]: connect from m50-132.163.com[123.125.50.132]
May  7 13:31:10 mail postfix/smtpd[15486]: warning: SASL: Connect to ./dovecot-auth failed: Connection refused
May  7 13:31:10 mail postfix/smtpd[15486]: fatal: no SASL authentication mechanisms
May  7 13:31:11 mail postfix/master[1582]: warning: process /usr/lib/postfix/smtpd pid 15486 exit status 1
May  7 13:31:11 mail postfix/master[1582]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
root@mail:/etc/dovecot#

==== 提供基本信息便于分析问题并得到快速回复 ====
- iRedMail 版本:0.72
- 使用的 Linux/BSD 发行版名称及版本号:ubuntu 11.10(从11.04升级到11.10),dovecot升级到2.0.13
- 与您的问题相关的日志信息:
====
升级后,webmail登录界面正常,就是dovecot收发异常,按照提示修改dovecot.conf还是一直报错:
doveconf: Warning: NOTE: You can get a new clean config file with: doveconf -n > dovecot-new.conf
doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:199: add auth_ prefix to all settings inside auth {} and remove the auth {} section completely
doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:201: auth_user has been replaced by service auth { user }
doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:202: passdb sql {} has been replaced by passdb { driver=sql }
doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:205: userdb sql {} has been replaced by userdb { driver=sql }
doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:240: namespace private {} has been replaced by namespace { type=private }
doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:247: namespace shared {} has been replaced by namespace { type=shared }
doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:264: protocol managesieve {} has been replaced by protocol sieve { }
doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:266: listen=..:port has been replaced by service { inet_listener { port } }
doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:266: protocol { listen } has been replaced by service { inet_listener { address } }
doveconf: Error: protocols: Unknown protocol: sieve
doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf: protocols: Unknown protocol: sieve

又出现新问题
不能收发新邮件
邮件列表报错...晕了
(host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=06086-02, sql-enter FAILED: connect_to_sql: unable to connect to any  dataset at (eval 115) line 241, <GEN39> line 16. (in reply to end of DATA command))

dovecot.log
Aug 23 15:42:11 auth-worker(default): Error: mysql: Connect failed to 127.0.0.1 (vmail): Access denied for user 'vmail'@'localhost' (using password: YES)
- waiting for 75 seconds before retry
Aug 23 15:42:11 auth-worker(default): Error: sql(feng@men.cn,127.0.0.1): Password query failed: Not connected to database
Aug 23 15:42:18 imap-login: Info: Aborted login (auth failed, 1 attempts): user=<feng@men.cn>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured

谢谢 VMAIL密码重置了之后正常用户进去了 ,覆盖vmail文件数据的用户还是不能进去

dovecot.log
Aug 23 15:59:45 imap-login: Info: Aborted login (auth failed, 1 attempts): user=<feng@.cn>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Aug 23 15:59:57 imap-login: Info: Aborted login (auth failed, 1 attempts): user=<fenglu@.cn>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Aug 23 16:00:03 imap-login: Info: Login: user=<lufeng@.cn>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured

用命令行备份和恢复全部数据库

现在所有用户都等不上去了 提示 “登录失败” 日志还是那个 192行那个..
是哪里出错了?

使这样的,装好iredmail后,导入sql数据 一起都正常,用户都能登录;由于几个客户有邮件要恢复,所以copy了备份的 相应vmail文件夹覆盖到新系统目录,就出现了莫名的问题.


Aug 23 12:35:17 mail fail2ban.filter : WARNING Unable to find a corresponding IP address for =
Aug 23 12:35:18 mail <feff>fail2ban.actions: WARNING [roundcube-iredmail] Ban 192.168.1.17

这是什么那里出问题了哦

服务器迁移后
1.恢复sql数据
2.用原服务器的vmail文件夹覆盖新vmail文件夹后登录出错...
Aug 23 10:02:34 mail roundcube: IMAP Error: Login failed for lupa@men.cn from 192.168.1.19. AUTHENTICATE PLAIN: Temporary authentication failure. in /usr/share/apache2/roundcubemail-0.5.3/program/include/rcube_imap.php on line 192 (POST /mail/?_task=login&_action=login)
查看rcube_imap.php  没找到什么问题
登录 iredmail 提示 internal server error 是否数据库密码的问题
该怎么恢复邮件数据呢?

[root@mail pkgs]# bash get_all.sh
< INFO > Generating yum repository ...
< INFO > Fetching Source Tarballs ...
< INFO > + 1/5: http://173.254.22.21/yum/misc/iRedAPD-1.3.6.tar.bz2
< INFO > + 2/5: http://173.254.22.21/yum/misc/iRedAdmin-0.1.5.tar.bz2
< INFO > + 3/5: http://173.254.22.21/yum/misc/roundcube … 5.3.tar.gz
< INFO > + 4/5: http://173.254.22.21/yum/misc/phpldapadmin-1.2.1.1.tgz
< INFO > + 5/5: http://173.254.22.21/yum/misc/phpMyAdmi … es.tar.bz2
< INFO > Validate Packages ...  [ OK ]
< INFO > Installing package(s): dialog.x86_64
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* extras: mirrors.163.com
* updates: mirrors.163.com
iRedMail                                                       |  951 B     00:00
http://173.254.22.21/yum/rpms/dovecot/r … repomd.xml: [Errno 14] HTTP Error 404 : http://173.254.22.21/yum/rpms/dovecot/r … repomd.xml
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: iRedMail-Dovecot-12. Please verify its path and try again
< ERROR > Installation failed, please check the terminal output.
< ERROR > If you're not sure what the problem is, try to get help in iRedMail
< ERROR > forum: http://www.iredmail.org/forum/

是否可以自行安装Dovecot 或者 或者用RHEL5的软件