Re: [exim] MBX format and UW-IMAP

Góra strony
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
Dla: dss
CC: exim-users
Temat: Re: [exim] MBX format and UW-IMAP
On Thu, 20 Apr 2006, dss@??? wrote:

> I suppose the issue here is that the mailbox itself is group readable
> and writeable, but the lockfile in /tmp isn't, and this will be the case
> whichever user owns the mailbox (and hence the lockfile).


Yes, that's what I was hypothesizing, and you've confirmed it.

> I couldn't see any way around this other than broadening the permissions
> set when Exim creates the lockfile in /tmp. I suppose 0660 would have
> sufficed, but I used 0666 because that is what UW-IMAP seems to do.


The solution is, I think, to use the same permissions for an MBX lock file
as for the mailbox itself. I will do this.

> For information, here is the transport I am using:
>
> sharedbox_delivery:
> driver = appendfile
> mbx_format = true
> message_prefix =
> message_suffix =
> file = /spool/mail/shared/${local_part}/${substr_8:${local_part_suffix}}
> envelope_to_add
> return_path_add
> mode = 0660

    ^^^^^^^^^^^


For MBX deliveries, I will take that as the lock file mode as well.

-- 
Philip Hazel            University of Cambridge Computing Service
Get the Exim 4 book:    http://www.uit.co.uk/exim-book