On 16.2.2011, at 18.30, Thomas Skowron wrote: > Am 16.02.2011 um 17:01 schrieb Timo Sirainen: > >> >> Weirdness 1: So there's <unknown> even though 5000 uid and gid exists? >> >> Weirdness 2: stat() fails with ENOENT. >> >> Do you have SELinux or something enabled? >> > > Well, it exists, but I got absolutely no idea why that happens. > I haven't even typed in uid 5000 within the config file - it contains only > the username 'vmail'. So dovecot is able to translate vmail to uid 5000, but > not uid 5000 to user vmail. > > SELinux has never been enabled.
Another thing I thought of was chrooting, but I don't see any chrooting in your config. Maybe you could find out something interesting by starting Dovecot with "strace -f -o log dovecot".