From 51c90e50fc4469776984481831d058860920d02c Mon Sep 17 00:00:00 2001 From: Jakub Czajka Date: Sat, 29 Oct 2022 11:04:41 +0200 Subject: [PATCH] [dovecot] Ignore domain during authentication. MacOS Mail App only sends username during login. It fails to authenticate if `dovecot` checks the domain. --- dovecot/dovecot-sql.conf.ext | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dovecot/dovecot-sql.conf.ext b/dovecot/dovecot-sql.conf.ext index 628746f..3b8cd59 100644 --- a/dovecot/dovecot-sql.conf.ext +++ b/dovecot/dovecot-sql.conf.ext @@ -109,7 +109,7 @@ connect = dbname=mail_db user=dovecot # password_query = \ SELECT username, domain, password \ - FROM users WHERE username = '%n' AND domain = '%d' AND active = 'Y' + FROM users WHERE username = '%n' AND active = 'Y' # userdb query to retrieve the user information. It can return fields: # uid - System UID (overrides mail_uid setting) -- 2.39.5