Nick Howitt via dovecot skrev den 2024-10-26 16:25:
2024-10-26T14:55:56.385500+01:00 mail-www dovecot: lmtp(1371485): Error: lmtp-server: conn unix:pid=1371484,uid=102 [1]: rcpt clamav@mydomain.com: Failed to initialize user: Mail access for users with UID 107 not permitted (see first_valid_uid in config file, uid from userdb lookup).
How do I get round this issue? I can drop the minimum UID to 0, but then all system users are deemed valid for mail which is not true. None of them are.
doveconf -n | grep first_valid_ doveconf -n | grep last_valid_
i bet 107 is outside of this range from first to last :=)
do not make it 0 !!!!
good range goes from 1 to 1023, eg no high uid gid
check
id 107
what system user is this ?
is this same user as mail_privileged_group = id 107 here
i can help more if you did provide doveconf -n