[Dovecot] what defines dovecot LOG perms?

OpenMacNews openmacnews at gmail.com
Mon Sep 11 18:21:52 EEST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hi mark,

> Is it possible this would be created as root root

possible ... but

> and you have a SGID
> on the folder above this one (.) that is assigned to the group
> testuser?

yes, that's the case:

/var/MailServer/Logs/dovecot  > ls -al
  total 8
  drwxrwxr-x 3 testuser testuser  102 2006-09-11 07:55 ./
  drwxrwxr-x 6 testuser testuser  204 2006-08-27 17:40 ../
  -rw------- 1 root     testuser 4871 2006-09-11 08:12 dovecot.log


my _current_ problem is, however, unless that dovecot.log is 0666, when 
i try a local delivery via exim->dovecot_lda, w/:

	exim -v -odf testuser at mail.testdomain.com

i get:

LOG: MAIN
  <testuser at mail.testdomain.com>: dovecot_lda transport output: 
deliver(testuser at mail.testdomain.com): Fatal: Can't open log file 
/var/MailServer/Logs/dovecot/dovecot.log: Permission denied

in the *exim* log ...

if i change the log's perms to 0666, then THAT error goes away.

fwiw, EXIM runs as user 'testuser' ... NOT as root.

richard

- -- 

/"\
\ /  ASCII Ribbon Campaign
 X   against HTML email, vCards
/ \  & micro$oft attachments

[GPG] OpenMacNews at gmail dot com
fingerprint: 50C9 1C46 2F8F DE42 2EDB  D460 95F7 DDBD 3671 08C6
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iEYEARECAAYFAkUFfxEACgkQlffdvTZxCMZz4gCfejCxldt5wjIo2dFyfW0+tCxs
8noAniRYGlUQ6tvywS6NtuyiJpqPNAYf
=vcVM
-----END PGP SIGNATURE-----



More information about the dovecot mailing list