无法再连接到邮件服务器

无法再连接到邮件服务器

我从未动过 postfix 和 dovecot 服务器上的任何东西。但是几天来我都无法再连接到我的邮箱了。

/var/log/mail.log连接时:

Sep 19 15:58:11 censored-hostname dovecot: auth: Error: BUG: Authentication client sent unknown handshake command: REQUEST?1008074753?14732?1?6068faccfcf40bafc9d4bff43c24e74f
Sep 19 15:58:11 censored-hostname dovecot: imap: Error: Authentication server didn't send valid SPID as expected: MECH^IPLAIN^Iplaintext
Sep 19 15:58:11 censored-hostname dovecot: imap: Error: Disconnected from auth server, aborting (client-pid=14732 client-id=1)
Sep 19 15:58:11 censored-hostname dovecot: imap-login: Internal login failure (pid=14732 id=1) (auth failed, 1 attempts): user=<[email protected]>, method=PLAIN, rip=censored-ip, lip=censored-ip, mpid=14733, TLS
Sep 19 15:58:11 censored-hostname dovecot: auth: Error: BUG: Authentication client sent unknown handshake command: REQUEST?3226730497?14734?1?007240b93b5d5f7c244d11409e9b03e7
Sep 19 15:58:11 censored-hostname dovecot: imap: Error: Authentication server didn't send valid SPID as expected: MECH^IPLAIN^Iplaintext
Sep 19 15:58:11 censored-hostname dovecot: imap: Error: Disconnected from auth server, aborting (client-pid=14734 client-id=1)
Sep 19 15:58:11 censored-hostname dovecot: imap-login: Internal login failure (pid=14734 id=1) (auth failed, 1 attempts): user=<[email protected]>, method=PLAIN, rip=censored-ip, lip=censored-ip, mpid=14735, TLS
Sep 19 15:58:12 censored-hostname dovecot: auth: Error: BUG: Authentication client sent unknown handshake command: REQUEST?2949644289?14737?1?52378726316ead0da1733e3e2c8bb2ce
Sep 19 15:58:12 censored-hostname dovecot: imap: Error: Authentication server didn't send valid SPID as expected: MECH^IPLAIN^Iplaintext
Sep 19 15:58:12 censored-hostname dovecot: imap: Error: Disconnected from auth server, aborting (client-pid=14737 client-id=1)
Sep 19 15:58:12 censored-hostname dovecot: imap-login: Internal login failure (pid=14737 id=1) (auth failed, 1 attempts): user=<[email protected]>, method=PLAIN, rip=censored-ip, lip=censored-ip, mpid=14738, TLS
Sep 19 15:58:13 censored-hostname dovecot: auth: Error: BUG: Authentication client sent unknown handshake command: REQUEST?901382145?14739?1?cd9ac7c93707db11956f55a290b50005
Sep 19 15:58:13 censored-hostname dovecot: imap: Error: Authentication server didn't send valid SPID as expected: MECH^IPLAIN^Iplaintext
Sep 19 15:58:13 censored-hostname dovecot: imap: Error: Disconnected from auth server, aborting (client-pid=14739 client-id=1)
Sep 19 15:58:13 censored-hostname dovecot: imap-login: Internal login failure (pid=14739 id=1) (auth failed, 1 attempts): user=<[email protected]>, method=PLAIN, rip=censored-ip, lip=censored-ip, mpid=14740, TLS

Dovecot 配置:

# dovecot -n
# 2.0.19: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-042stab092.3 i686 Ubuntu 12.04.5 LTS reiserfs
first_valid_uid = 150
last_valid_uid = 150
mail_location = maildir:/var/vmail/%d/%n
passdb {
  args = /etc/dovecot/dovecot-sql.conf.ext
  driver = sql
}
protocols = " imap"
service auth {
  unix_listener /var/spool/postfix/private/auth {
    mode = 0666
  }
  unix_listener auth-userdb {
    group = mail
    mode = 0660
    user = vmail
  }
}
ssl_cert = </etc/ssl/certs/dovecot.pem
ssl_key = </etc/ssl/private/dovecot.pem
userdb {
  args = uid=150 gid=8 home=/var/vmail/%d/%n allow_all_users=yes
  driver = static
}
protocol imap {
  imap_client_workarounds = tb-extra-mailbox-sep
}

哪里出了问题,如何解决?大约 5 年前,我配置了邮件服务器。

答案1

据一些,可以通过手动重新启动来清除此错误dovecot,并且我了解这对您有用。

也就是说,没有一台机器没有打过补丁5年应该被视为适合用途。现在绝对是您更新该盒子的时候了!

相关内容