On Fri, 2007-11-02 at 13:00 +0100, spammy wrote:
master.cf (maildrop line commented. -f ${recipient} in maildrop was working ok)
dovecot unix - n n - - pipe flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -d ${recipient} .. dovecot: 2007-11-02 12:32:40 Info: auth(default): master out: USER
1 vaina@neenux.com uid=5000 gid=5000 deliver(vaina@neenux.com): 2007-11-02 12:32:40 Info: auth input: vaina@neenux.com deliver(vaina@neenux.com): 2007-11-02 12:32:40 Info: auth input: uid=5000 deliver(vaina@neenux.com): 2007-11-02 12:32:40 Info: auth input: gid=5000 deliver(vaina@neenux.com): 2007-11-02 12:32:40 Fatal: setuid(5000) failed: Operation not permitted
If deliver is already running as uid 5000 (like your Postfix dovecot line shows), this shouldn't be happening. So for some reason your Postfix isn't calling deliver with UID 5000..