Opened 5 years ago

Closed 4 years ago

Last modified 4 years ago

#58506 closed defect (wontfix)

dovecot userdb Fatal imap setuid errors

Reported by: essandess (Steve Smith) Owned by: jdberry
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 (4)

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

Description: modified (diff)

comment:2 Changed 4 years ago by mf2k (Frank Schima)

Owner: set to jdberry
Status: newassigned

comment:3 Changed 4 years ago by mf2k (Frank Schima)

Resolution: wontfix
Status: assignedclosed

comment:4 Changed 4 years ago by jmroot (Joshua Root)

However dovecot now installs what used to be dovecot2. Reopen if this is still relevant to the current dovecot port I guess.

Note: See TracTickets for help on using tickets.