Opened 5 years ago

Last modified 4 years ago

#58506 closed defect

dovecot userdb Fatal imap setuid errors — at Version 1

Reported by: essandess (Steve Smith) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.5.4
Keywords: Cc:
Port: dovecot2

Description (last modified by mf2k (Frank Schima))

I'm following the MacPorts guide to set up dovecot user and password databases on Mojave, wiki:howto/SetupDovecot for a multi-user system. I am able to authenticate successfully, and doveadm user myusername works for all accounts.

However, dovecot's mail-err.log shows setuid issues when multiple users are logged in:

May 21 22:28:46 imap(pid 17441 user myuser): Fatal: setuid(512(myuser) from userdb lookup) failed with euid=501(adminuser): Operation not permitted (This binary should probably be called with process user set to 512(myuser) instead of 501(adminuser))

I do not see the cause pf the issue. I've double checked everything and have not used either myuser or admin user in dovecot's /opt/local/conf.d or indeed anywhere in /opt/local.

My passdb userdb blocks are simple:

passdb pam {
  driver = pam
}

userdb passwd {
  driver = passwd
}

Change History (1)

comment:1 Changed 5 years ago by mf2k (Frank Schima)

Description: modified (diff)
Note: See TracTickets for help on using tickets.