[Dovecot] Problems with permissions on mail_location
Hi, All! I have 2.0.beta6 (3156315704ef) Trying to set up Dovecot with virtual users.
mail_uid=mail mail_gid=mail
mail_location = maildir:/var/mail/%n /var/mail owner is mail:mail, permissions is 777
From error log:
Oct 31 13:34:17 imap(test): Error: user test: Initialization failed:Initializing mail storage from mail_location setting failed: mkdir(/var/mail/test) failed: Permission denied (euid=8(mail) egid=12(mail) missing +w perm: /var/mail, euid is not dir owner)
but /var/mail owner is mail:mail (same the euid, egid).
In what may be the problem? (With full rights to the directory dovecot does not want to write it :-\ ) If I change /var/mail to /tmp/mail (for testing), then everything works fine, dovecot can write to this directory. But if i create /test/mail, or /mail with chmod 777 and chown mail:mail - again the same error :-(
-- С уважением, Vlad mailto:vladsol@ukr.net
On 2011-10-31 8:10 AM, Vlad vladsol@ukr.net wrote:
I have 2.0.beta6 (3156315704ef)
Upgrade, then come back with any questions...
--
Best regards,
Charles
I installed dovecot from the "official" CentOS 6 repository .
I think in this case, the problem is not in the version ..: -
I'll try to update ..
On 2011-10-31 8:10 AM, Vlad vladsol@ukr.net wrote:
I have 2.0.beta6 (3156315704ef)
Upgrade, then come back with any questions...
-- С уважением, Vlad mailto:vladsol@ukr.net
participants (2)
-
Charles Marcus
-
Vlad