On 09.02.22 17:47, Christian Kivalo wrote:
How are your users added to your auth backend?
We use a SQL DB as auth backend. Users are added by an external application. New accounts are all added as lowercase, but it could be possible that there was a time in the past where accounts were added without conversion. At least the DB contains a few accounts with uppercase letters in the localpart.
Please post your doveconf -n output
Here you go (I stripped a few irrelevant sections):
# 2.3.15 (0503334ab1): /usr/local/etc/dovecot/dovecot.conf # Pigeonhole version 0.5.15 (e6a84e31) # OS: FreeBSD 12.2-RELEASE-p11 amd64 # Hostname: XXX auth_cache_negative_ttl = 5 mins auth_cache_size = 20 M auth_cache_ttl = 5 mins auth_username_chars = abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.+-_@ auth_verbose = yes auth_worker_max_count = 90 config_cache_size = 50 M disable_plaintext_auth = no passdb { args = /usr/local/etc/dovecot/sql.conf driver = sql name = sql } userdb { args = /usr/local/etc/dovecot/sql.conf driver = sql name = sql } plugin { fts_autoindex = no fts_autoindex_exclude = \Junk fts_autoindex_exclude2 = \spam fts_autoindex_exclude3 = INBOX.spam fts_enforced = no fts_index_timeout = 120s fts_solr = url=https://XXX soft_commit=no batch_size=1000 mail_log_events = copy save delete undelete expunge mailbox_create mailbox_delete mailbox_rename mail_log_fields = uid box msgid from size flags quota = maildir:User quota quota_grace = 10%% quota_rule = *:storage=1G quota_warning = storage=95%% quota-warning 95 %u quota_warning2 = storage=80%% quota-warning 80 %u sieve = /var/empty/sieve.current sieve_before = /usr/local/etc/dovecot/sieve.before/ sieve_dir = /var/empty/sieve sieve_global_dir = /usr/local/etc/dovecot/sieve.global/ sieve_global_extensions = +editheader } service auth-worker { process_limit = 150 user = dovenull } service auth { client_limit = 65000 } ssl_cert =