On Mon, 23 Jan 2006, Timo Sirainen wrote:
Jan 23 00:38:03 foxmulder dovecot: Dovecot v1.0.beta2 starting up Jan 23 00:38:03 foxmulder dovecot: 1137994456 + 172800 (1138167256) < 1137994683, size=230, uid=0 vs 0, gid=87 vs 0
So, the GID is wrong. Does your /var/run/dovecot/login directory (or wherever the ssl-parameters file exists) have setgid-bit set?
Not all systems have a group inheritance behavior for directories. You should not rely on this, and thus you should chown(uid, gid). On my system the gid of the file is, in fact, "wheel" (0, aka group "root" on Linux) -- but the getegid() of the process is "dovecot", NOT "wheel".
Even with that said, it should not be required to have a specific gid for the containing directory. If the process wants special permissions, it should set those permissions itself. 8-)
-- -- Todd Vierling tv@duh.org tv@pobox.com todd@vierling.name