[Dovecot] LDA with postfix lock problem

Rudy Gevaert Rudy.Gevaert at UGent.be
Tue Sep 20 18:21:28 EEST 2005


Hello,

I'm trying to set up dovecot as the delivery agent for postfix.  I 
configured postfix with:

mailbox_command =  = /usr/local/libexec/dovecot/deliver

In the logs I see the following error:

Sep 20 17:19:26 zalm deliver: 
open(/var/mail/.temp.zalm.8045.65c09c28953ea20c) failed: Permission denied
Sep 20 17:19:26 zalm deliver: file_lock_dotlock() failed with mbox file 
/var/mail/rgevaert: Permission denied
Sep 20 17:19:26 zalm postfix/local[8044]: 9790BBE4A: 
to=<rgevaert at zalm.ugent.be>, relay=local, delay=0, status=deferred 
(temporary failure)

Info:

zalm:~# ls -ld /var/mail
drwxrwsr-x  2 root mail 4096 Sep 20 16:56 /var/mail

Giving o write access to the folder fixed it, but not in a way it has to 
be :)

I already added
mail_extra_groups = mail
to dovecot.conf

But this doesn't help.

What have I missed.

Thanks in advance,

-- 
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Rudy Gevaert                             e-mail: Rudy.Gevaert at UGent.be
Directie ICT, Afdeling Infrastructuur
Groep Systemen                                      tel: +32 9 264 4734
Universiteit Gent                                   fax: +32 9 264 4994
Krijgslaan 281, gebouw S9, 9000 Gent, Belgie               www.UGent.be
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --


More information about the dovecot mailing list