Re: [Dovecot] [RCU] Dovecot managesieve
Well I've looked forward into the wiki and did not found my server have only system users ( no virtual domain ) and the wiki says :
System users
If you wish you use deliver for all system users on a single domain mail host you can do it by editing mailbox_command parameter in
/etc/postfix/main.cf (postconf(5)):
That's what I did but then I have this problem with DOTLOCK
If I chmod 777 /var/mail directory it works but I do not feel comfortable with that kind of access rights ...
On 02/12/10 20:39, Joseph Kolb wrote:
Frank Bonnet put forth on 2/15/2010 3:21 AM:
Hi Frank.
As I said in my reply on the postfix-user list, your feeling is right on. You want to avoid 777 rights. Instead set
mail_privileged_group=mail
in dovecot.conf and I think you''ll be good to go.
-- Stan
Frank Bonnet put forth on 2/15/2010 4:30 AM:
mail_privileged_group=mail
in dovecot.conf and I think you''ll be good to go.
it's already set ...
Hmm....
BTW what kind of locking are you using ? I do not use NFS and all files are located on "local" disks
I use pretty much the dovecot defaults, with local sata disk, ext2 fs Debian Lenny:
mbox_read_locks = fcntl mbox_write_locks = fcntl dotlock mbox_lock_timeout = 300 mbox_dotlock_change_timeout = 120
I'm using the Postfix default lock settings:
deliver_lock_attempts = 20 deliver_lock_delay = 1s mailbox_delivery_lock = fcntl, dotlock stale_lock_time = 500s
I don't think your problem is a lock issue but a permissions issue, as changing to 777 eliminates the file write error. I'm not sure exactly why that is, but obviously the LDA process isn't running with the right privilege. Either that or the permissions on /var/mail/ aren't correct. But those perms are usually set during operating system install, so I would assume they're correct. I've never used LDA. I'm surprised one of the other experienced OPs or Timo himself hasn't jumped in here.
-- Stan
participants (2)
-
Frank Bonnet
-
Stan Hoeppner