17 Feb
2007
17 Feb
'07
1:35 p.m.
On Sat, 2007-02-17 at 13:31 +0200, Timo Sirainen wrote:
checkpassword scripts are supposed to change the process's UID and GID, but as you see above the auth_imap keeps the process as root. You could kludge around this by creating a few extra scripts that do "su mailuser" or something and only after then execute checkpassword-reply. Otherwise Dovecot thinks you want to run the imap/pop3 processes as root, and it prevents that.
Actually maybe there's an alternative easier way to do this. Set the user in dovecot.conf:
auth default { .. user = your-mail-user .. }