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?