Hello,

I've just installed Dovecot from the http://xi.rename-it.nl/debian/ repository. But I have a problem with the mdbox Format. When the home folder is empty Dovecot should create the folder structure if the first mail arrived or the user logs in the first time.
But I get following error:
Sep 16 12:30:41 smtp dovecot: lmtp(31244): Connect from local
Sep 16 12:30:41 smtp dovecot: lmtp(31244, [email protected]): Error: file_dotlock_open() failed with file /var/mail/es030107p1/mdbox/mailboxes/INBOX/dbox-Mails/dovecot.index.log: No such file or directory Sep 16 12:30:41 smtp dovecot: lmtp(31244, [email protected]): Error: Opening INBOX failed: Mailbox doesn't exist: INBOX Sep 16 12:30:41 smtp dovecot: lmtp(31244, [email protected]): 0ZQgDbkNkkwMegAA00WXAw: msgid=<[email protected]>: save failed to INBOX: Mailbox doesn't exist: INBOX Sep 16 12:30:41 smtp dovecot: lmtp(31244, [email protected]): Error: BUG: Saving failed to unknown storage Sep 16 12:30:41 smtp dovecot: lmtp(31244): Disconnect from local: Client quit

Also if I try to create a mailbox by hand I get a similar error.
doveadm([email protected]): Error: file_dotlock_open() failed with file /var/mail/es030107p1/mdbox/mailboxes/INBOX/dbox-Mails/dovecot.index.log: No such file or directory doveadm([email protected]): Error: Can't create mailbox INBOX: Internal error occurred. Refer to server log for more information. [2010-09-16 14:07:42]

If I now create the dbox-Mails directory and the dovecot.index.log by hand and make a
doveadm -v force-resync -u [email protected] INBOX
everthing is alright.

Also I can not create a new IMAP-folder with Thunderbird.
It seems Dovecot forgets to create the dbox-Mails directory and the dovecot.index.log file.

Now my config:
# 2.0.2 (eb5adb193064): /etc/dovecot/dovecot.conf
# OS: Linux 2.6.26-2-xen-amd64 x86_64 Debian 5.0.6
auth_debug = yes
auth_debug_passwords = yes
auth_mechanisms = plain login
auth_verbose = yes
auth_verbose_passwords = plain
base_dir = /var/run/dovecot/
disable_plaintext_auth = no
first_valid_gid = 10000
first_valid_uid = 10000
last_valid_gid = 10000
last_valid_uid = 10000
login_greeting = Webfixx Dovecot ready.
mail_debug = yes
mail_gid = vmail
mail_location = mdbox:%h/mdbox
mail_uid = vmail
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date
passdb {
  args = /etc/dovecot/dovecot-sql.conf.ext
  driver = sql
}
plugin {
  sieve = ~/.dovecot.sieve
  sieve_dir = ~/sieve
}
postmaster_address = [email protected]
service auth {
  unix_listener /var/spool/postfix/private/auth {
    group = postfix
    mode = 0660
    user = postfix
  }
  unix_listener auth-userdb {
    group = vmail
    mode = 0600
    user = vmail
  }
}
service lmtp {
  unix_listener /var/spool/postfix/private/dovecot-lmtp {
    group = postfix
    mode = 0660
    user = postfix
  }
  user = vmail
}
ssl_cert = </etc/ssl/certs/dovecot.pem
ssl_key = </etc/ssl/private/dovecot.pem
userdb {
  args = /etc/dovecot/dovecot-sql.conf.ext
  driver = sql
}


Reply via email to