dovecot 2.x不能使用@ domain1.org身份validation

cat /etc/dovecot/conf.f/10-auth.conf

[...] disable_plaintext_auth = no auth_username_format = %n-AT-%d [...] 

或者也使用%uvariables(完整的用户名(例如user @ domain)

cat /etc/dovecot/conf.f/auth-passwdfile.conf.ext […]

 passdb { driver = passwd-file args = scheme=SHA256 username_format=%n /etc/dovecot/users } userdb { driver = passwd-file args = scheme=SHA256 username_format=%n /etc/dovecot/users } 

猫用户

 [email protected]:{SSHA256}wr4SgH6sH5hNrSQhbVX/zUQqJrmO63aYI9Ograx+N0gZ1lAG [...] 

猫/var/log/dovecot.info

 Aug 18 16:56:22 auth: Debug: passwd-file(domain1_info,192.168.50.212,<cGn/VAhX9YrAqDLU>): lookup: user=domain1.org_info file=/etc/dovecot/users ==> /var/log/dovecot.info <== Aug 18 16:56:22 auth: Info: passwd-file(domain1_info,192.168.50.212,<cGn/VAhX9YrAqDLU>): unknown user (given password: test) ==> /var/log/dovecot.debug <== Aug 18 16:56:24 auth: Debug: client passdb out: FAIL 1 user=domain1.org_info [email protected] Aug 18 16:56:24 pop3-login: Debug: Ignoring unknown passdb extra field: original_user [...] 

我想用[email protected]连接到dovecot,因为如果我修改

 /etc/dovecot/users 

删除用户名后的域名,dovecot接受用户名authentication