Re: [Exim] Permissions problem

Top Page
Delete this message
Reply to this message
Author: Nigel Wade
Date:  
To: james.edward
CC: exim-users
Subject: Re: [Exim] Permissions problem
james.edward@??? wrote:
> OK thanks i knew it would be a setting smomewhere - i needed to add mode =606
> to get it to work, now my knowhow of chmod is limited but isnt the 60X part
> for "other" and if so i find this a security risk - any idea how i wound find
> out what user or group i need to make the mail to belong to to get the imap
> user in the same group? will i need to head over to the courier mailing list?
>


Normally you'd save the mail with the ownership of the user ($local_part)
and group mail. Set access to 660 so the owner and group mail can access it.

The imap daemon should change uid to the user who authenticated, so that it
becomes the owner of the files and can access them.

In the local delivery transport use:

group = mail
user = $local_part
mode = 660

(I think the default for appendfile is to run as the recipient user, but it
won't hurt to be specific).

--
Nigel Wade, System Administrator, Space Plasma Physics Group,
             University of Leicester, Leicester, LE1 7RH, UK
E-mail :    nmw@???
Phone :     +44 (0)116 2523548, Fax : +44 (0)116 2523555