Hi,
Timo Sirainen wrote:
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. Don't know how to do that :(
Actually maybe there's an alternative easier way to do this. Set the user in dovecot.conf:
auth default { .. user = your-mail-user .. } [root@mail dovecot-1.0.rc22]# /usr/local/sbin/dovecot & [1] 21710 [root@mail dovecot-1.0.rc22]# Error: Auth user doesn't exist: gamito@mail.sincity.lan
Warm Regards, Mário Gamito