[Dovecot] Sendmail, procmail, dovecot and quota
Timo Sirainen
tss at iki.fi
Thu Jan 10 06:02:09 EET 2008
On Wed, 2008-01-09 at 13:07 -0800, papi mac wrote:
> I tried this idea and it seems to work well. I ran into a problem that is probably Fedora related. The delivery failed because of a permission problem in /var/spool/mail. The users are not able to create the dotlock files there and so the error message is:
>
> deliver(admin): open(/var/mail/.temp.mail.tecno.com.br.18793.f9456dce0b91597f) failed: Permission denied
> deliver(admin): file_lock_dotlock() failed with mbox file /var/mail/admin: Permission denied
>
> I would like to avoid messing with the users and permissions to this directory, so I thought it would be good to have "deliver" create the dotlock files in another place. Is this possible and how is it configured?
You might as well then just disable dotlocks and just use fcntl locks.
dotlocks are only necessary if you use other software than Dovecot to
modify the mailboxes and it doesn't use fcntl locks.
See http://wiki.dovecot.org/MailboxFormat/mbox and
http://wiki.dovecot.org/MboxLocking
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20080110/83c8b976/attachment.bin
More information about the dovecot
mailing list