I have 3 domains using one mail server. I've set the dovecot mail directories to be /mail/mail/%d/%n When someone logs on, dovecot attempt to navigate to the domain directory first & we get a permission denied, and we get no further. Its very odd because (a) it was working up until 16:50 on Thursday & (b) the directories now have 777 access. Each user is (at present) a separate unix user & the directories are owned by root & have a file group of mail. I would have thought that the 777 access would have been enough. I don't know what we did on Thursday evening, but any ideas about how to fix the permissions problem? Chris
Chris Wakelin
2005-Aug-27 22:40 UTC
[Dovecot] Permission denied changing to mail directory
You're not runing SELinux by any chance? I'm no expert, but I've seen messages on the list suggesting that can be the cause of such permission problems. Chris Chris Hogan wrote:> I have 3 domains using one mail server. I've set the dovecot mail > directories to be > > /mail/mail/%d/%n > > When someone logs on, dovecot attempt to navigate to the domain > directory first & we get a permission denied, and we get no further. Its > very odd because (a) it was working up until 16:50 on Thursday & (b) the > directories now have 777 access. Each user is (at present) a separate > unix user & the directories are owned by root & have a file group of mail. > > I would have thought that the 777 access would have been enough. I don't > know what we did on Thursday evening, but any ideas about how to fix the > permissions problem? > > Chris-- --+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+- Christopher Wakelin, c.d.wakelin at reading.ac.uk IT Services Centre, The University of Reading, Tel: +44 (0)118 378 8439 Whiteknights, Reading, RG6 2AF, UK Fax: +44 (0)118 975 3094
Chris Hogan wrote:> I have 3 domains using one mail server. I've set the dovecot mail > directories to be > > /mail/mail/%d/%n > > When someone logs on, dovecot attempt to navigate to the domain > directory first & we get a permission denied, and we get no further.How does your default_mail_env look like? -- Tomi Hakala