[Dovecot] How the does "new" autocreate method works?

Attila Nagy bra at fsn.hu
Thu May 23 14:26:44 EEST 2013


Hi,

I'm trying to migrate from the deprecated autocreate plugin to the 
mailbox { auto }setting without success.
What do I forget, or misunderstand?

I deliver mails via LMTP and log in on IMAP, neither of them create the 
folders other than the inbox itself.

# doveconf -n
# 2.2.2: /usr/local/etc/dovecot/dovecot.conf
# OS: FreeBSD 9.1-STABLE amd64
auth_cache_negative_ttl = 0
auth_cache_size = 100 M
default_process_limit = 1000
default_vsz_limit = 1 G
disable_plaintext_auth = no
import_environment = LD_PRELOAD
info_log_path = syslog
lda_mailbox_autocreate = yes
lda_mailbox_autosubscribe = yes
lmtp_save_to_detail_mailbox = yes
log_path = /var/log/dovecot-errors.log
mail_gid = 999
mail_location = maildir:~/Maildir
mail_plugins = " quota"
mail_temp_dir = /data/tmp
mail_uid = 999
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 ihave
namespace inbox {
   inbox = yes
   location =
   mailbox Drafts {
     auto = subscribe
     special_use = \Drafts
   }
   mailbox Junk {
     special_use = \Junk
   }
   mailbox Sent {
     auto = subscribe
     special_use = \Sent
   }
   mailbox "Sent Messages" {
     special_use = \Sent
   }
   mailbox Spam {
     auto = subscribe
     special_use = \Junk
   }
   mailbox Trash {
     auto = subscribe
     special_use = \Trash
   }
   prefix =
}
passdb {
   args = /usr/local/etc/dovecot/master-users
   driver = passwd-file
   master = yes
   pass = yes
}
passdb {
   args = /usr/local/etc/dovecot/dovecot-ldap.conf.ext
   driver = ldap
}
plugin {
   mail_log_events = delete mailbox_delete
   mail_log_fields = uid box msgid size flags vsize from subject
   quota = maildir:User quota
   quota_warning = storage=95%% quota-warning 95 %h
   quota_warning2 = storage=80%% quota-warning 80 %h
   recipient_delimiter = +
   sieve = ~/.dovecot.sieve
   sieve_dir = ~/sieve
}
protocols = pop3 imap lmtp
service auth {
   unix_listener auth-userdb {
     mode = 0600
     user = qmailldap
   }
}
service lmtp {
   inet_listener lmtp {
     port = 24
   }
   user = qmailldap
}
service managesieve-login {
   inet_listener sieve {
     port = 4190
   }
}
service quota-warning {
   executable = script /usr/local/quota-warning/quota-warning.sh
   unix_listener quota-warning {
     user = qmailldap
   }
   user = qmailldap
}
ssl = no
userdb {
   driver = prefetch
}
userdb {
   args = /usr/local/etc/dovecot/dovecot-ldap.conf.ext
   driver = ldap
}
userdb {
   args = /usr/local/etc/dovecot/dovecot-ldap-catchall.conf.ext
   driver = ldap
}
verbose_proctitle = yes
protocol lmtp {
   mail_plugins = " quota mail_log notify sieve"
}
protocol imap {
   mail_plugins = " quota imap_quota mail_log notify"
}

Thanks,


More information about the dovecot mailing list