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