PDA

View Full Version : Mbox Permission Problem [bug]



Maverick
07-27-2005, 02:54 AM
Hello.

There is a bug discovered which I will explain by going through the following:

1- customer transferred his domain over to our server
2- customer then created his email accounts through the control panel
3- customer uploaded his existing emails via imap to his mbox file

This is where the problem starts:

The mbox file is created with root ownership and permissions set to 600

Therefore new mails that were being delivered after DNS propagation could not be written to the mbox file


Suggested Solution to DA Support: using “touch” to create mbox file upon email creation through the control panel with correct file ownership and permissions (i.e. user set to username and group set to mail with the file permission set to 660)

I wonder if anyone else has come across this before?

DirectAdmin Support
07-27-2005, 09:02 PM
Hello,

Thanks. This has been fixed with the suggestion mentioned. I assume you're referring to /var/spool/virtual/domain.com/username.

John

Maverick
07-28-2005, 02:12 AM
Yes That's correct. Thank you for the prompt response.