From: Jakub Czajka Date: Sat, 29 Oct 2022 09:04:41 +0000 (+0200) Subject: [dovecot] Ignore domain during authentication. X-Git-Url: https://git.ekhem.eu.org/?a=commitdiff_plain;h=51c90e50fc4469776984481831d058860920d02c;p=server.git [dovecot] Ignore domain during authentication. MacOS Mail App only sends username during login. It fails to authenticate if `dovecot` checks the domain. --- 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)