[Dovecot] failed to create storage data
Hello,
I have a problem. I get the message 'Failed to create storage with data' I have 2 emailaccounts which are working perfect and that worked fine. But now I want to add another account and now it said 'Failed to create storage with data' What is the problem?
I have the same rights on the directory and it worked first fine. I didn't changed it. Can any one point me in the good direction?
I use dovecot with mysql and postfix.
thanks in advance,
Alex
On Wed, 2005-05-25 at 11:59 +0200, Alex wrote:
Hello,
I have a problem. I get the message 'Failed to create storage with data' I have 2 emailaccounts which are working perfect and that worked fine. But now I want to add another account and now it said 'Failed to create storage with data' What is the problem?
Have you set default_mail_env? Sounds like the automatic detection for the mailbox location ran into some problems.
Timo Sirainen wrote:
On Wed, 2005-05-25 at 11:59 +0200, Alex wrote:
Hello,
I have a problem. I get the message 'Failed to create storage with data' I have 2 emailaccounts which are working perfect and that worked fine. But now I want to add another account and now it said 'Failed to create storage with data' What is the problem?
Have you set default_mail_env? Sounds like the automatic detection for the mailbox location ran into some problems.
Hello,
I left the default_mail_env empty. It worked with 2 other accounts, but new created accounts did not work. I have in the database for the maildir: mydomain.nl/info (this is for the account info@mydomain.nl) The data is then saved within: /home/mail/mydomain.nl/info (the select query adds /home/mail/) What must I set in the default_mail_env? I am using not mbox but maildir Must i do it differently in the database or must I set default_mail_env to something?
thanks,
Alex
On 28.5.2005, at 16:23, Alex wrote:
I left the default_mail_env empty. It worked with 2 other accounts, but new created accounts did not work. I have in the database for the maildir: mydomain.nl/info (this is for the account info@mydomain.nl) The data is then saved within: /home/mail/mydomain.nl/info (the select query adds /home/mail/) What must I set in the default_mail_env? I am using not mbox but maildir Must i do it differently in the database or must I set default_mail_env to something?
Are you returning "mail" or "home" from sql? You probably want it to return "home", and have default_mail_env as:
default_mail_env = maildir:%h
Also earlier Dovecot versions didn't try to create directories for the new accounts, so maybe the problem is just that?
Timo Sirainen wrote:
On 28.5.2005, at 16:23, Alex wrote:
I left the default_mail_env empty. It worked with 2 other accounts, but new created accounts did not work. I have in the database for the maildir: mydomain.nl/info (this is for the account info@mydomain.nl) The data is then saved within: /home/mail/mydomain.nl/info (the select query adds /home/mail/) What must I set in the default_mail_env? I am using not mbox but maildir Must i do it differently in the database or must I set default_mail_env to something?
Are you returning "mail" or "home" from sql? You probably want it to return "home", and have default_mail_env as:
default_mail_env = maildir:%h
Also earlier Dovecot versions didn't try to create directories for the new accounts, so maybe the problem is just that?
Hello,
I return the path to the directory for an account with sql. So the path it returned is : /home/mail/mydomain.nl/info It looks like dovecot is trying to create dir. It calls the mkdir function. And other account were created the first time. I never have manualy create the directories.
I have tried some other options now and now it does not give that error, but I have another problem. I submitted that question in another thread of this list.
greetings,
Alex
Timo Sirainen wrote:
//>/Have you set default_mail_env? Sounds like the automatic detection for />/the mailbox location ran into some problems. />
//Hello,
I left the default_mail_env empty. It worked with 2 other accounts, but new created accounts did not work. I have in the database for the maildir: mydomain.nl/info (this is for the account info at mydomain.nl <http://dovecot.org/cgi-bin/mailman/listinfo/dovecot>) The data is then saved within: /home/mail/mydomain.nl/info (the select query adds /home/mail/) What must I set in the default_mail_env? I am using not mbox but maildir Must i do it differently in the database or must I set default_mail_env to something?
thanks,
Alex
participants (2)
-
Alex
-
Timo Sirainen