[Dovecot] invoking LDA in .forward

Timo Sirainen tss at iki.fi
Mon Mar 10 04:36:16 EET 2008


On Sat, 2008-03-08 at 15:42 +0100, Jeremie Bouttier wrote:

> For people using mostly remote MUAs, it might be interesting to use 
> Dovecot's LDA. I read on http://wiki.dovecot.org/LDA that this is 
> possible using .forward files, however this fails on our system with :
> file_lock_dotlock() failed with mbox file /var/mail/user: Permission denied
> (/var/mail is 2775 for root:mail as recently discussed).
> 
> Is there a possible fix ? I also read that deliver is not designed to be 
> run setuid root, I guess this also applies to being run setgid mail...

You could set it setgid mail, but that probably allows your users to
write to any files/dirs writable by mail group with some symlinks. How
about just setting /var/mail 01777?

-------------- 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/20080310/9a1275fb/attachment.bin 


More information about the dovecot mailing list