dovecot 登录出现问题,如何修复登录失败?

dovecot 登录出现问题,如何修复登录失败?

我在登录时遇到了严重的问题dovecot

  • 这是我的/usr/local/etc/dovecot/passdb(只有一个带有纯密码的条目):

    [email protected]{PLAIN}asdf::::::
    
  • 当我从 shell 运行 dovecot auth login 时,如下所示:

    dovecot auth login [email protected] asdf
    

    我明白了

    # dovecot auth login [email protected]          
    Password:                                                              
    passdb: [email protected] auth failed                                   
    extra fields:                                                          
      [email protected]                                                
    root@mail:/home/webhost # dovecot auth login [email protected] asdf     
    passdb: [email protected] auth failed                                   
    extra fields:                                                          
      [email protected]    
    
  • 为了调试这个我设置了

    auth_verbose = yes                  
    auth_verbose_passwords = yes 
    

    在我的/usr/local/etc/dovecot/dovecot.conf

  • 在我的日志文件中,我得到以下输出,这并没有多大帮助:

    2023-03-03 09:08:25 auth: Debug: client in: AUTH        1       PLAIN   service=doveadm debug   resp=ZnJpdHpAbXlob3N0LmNvbQBmcml0ekBteWhvc3QuY29tAGF
    zZGY= (previous base64 data may contain sensitive data)
    2023-03-03 09:08:25 auth: Debug: passwd-file([email protected]): Performing passdb lookup
    2023-03-03 09:08:25 auth: Debug: passwd-file([email protected]): lookup: [email protected] file=/usr/local/etc/dovecot/passdb
    2023-03-03 09:08:25 auth: Info: passwd-file([email protected]): unknown user (given password: asdf)
    2023-03-03 09:08:25 auth: Debug: passwd-file([email protected]): Finished passdb lookup
    2023-03-03 09:08:25 auth: Debug: auth([email protected]): Auth request finished
    2023-03-03 09:08:27 auth: Debug: client passdb out: FAIL        1       [email protected]
    

我完全陷入困境,不知道我还能做些什么来解决这个问题。

相关内容