On 28/07/2024 19:41 EEST Rachel Roch via dovecot dovecot@dovecot.org wrote:
I am getting the following error when Postfix attempts LMTP delivery :
"lmtp(REDACTED)<32674><7Jm0BSVopmaifwAAbW4UVQ>: Fatal: setresgid(121(mailbox_user),121(mailbox_user),8(mail)) failed with euid=111(mailbox_user): Operation not permitted"
mailbox_user is uid 111, gid 121 on my system.
Not related to low uid/gid numbers? I think newer OS have their limits increased to above 1000 or so.
Well, my OS is Debian Bookworm which should be "newer" enough ? ;-)
User/group were originally created via :
adduser --system --disabled-login --shell /usr/sbin/nologin mailbox_user addgroup --system mailbox_user
It's trying to set group 8, which mailbox_user appears to be not part of?
Also, if it's extra group, you need to do
service lmtp { extra_groups = mail }
Aki