[Dovecot] Maildir autocreation

Proskurin Kirill proskurin-kv at fxclub.org
Wed Oct 21 14:08:09 EEST 2009


Hello.

Today i found what maildir autocreation stop work.
May be after upgrade to 1.2. Here logs:

Oct 21 11:01:25 deliver(shershov-oa at fxclub.org): Info: Loading modules 
from directory: /usr/local/lib/dovecot/lda
Oct 21 11:01:25 deliver(shershov-oa at fxclub.org): Info: Module loaded: 
/usr/local/lib/dovecot/lda/lib10_quota_plugin.so
Oct 21 11:01:25 deliver(shershov-oa at fxclub.org): Info: Module loaded: 
/usr/local/lib/dovecot/lda/lib90_sieve_plugin.so
Oct 21 11:01:25 deliver(shershov-oa at fxclub.org): Info: auth input: 
quota_rule=*:storage=2046M
Oct 21 11:01:25 deliver(shershov-oa at fxclub.org): Info: auth input: uid=1002
Oct 21 11:01:25 deliver(shershov-oa at fxclub.org): Info: auth input: gid=1002
Oct 21 11:01:25 deliver(shershov-oa at fxclub.org): Info: auth input: 
home=/var/spool/dovecot/domains/fxclub.org/shershov-oa
Oct 21 11:01:25 deliver(shershov-oa at fxclub.org): Info: Home dir not 
found: /var/spool/dovecot/domains/fxclub.org/shershov-oa
Oct 21 11:01:25 deliver(shershov-oa at fxclub.org): Info: Quota root: name= 
backend=maildir args=
Oct 21 11:01:25 deliver(shershov-oa at fxclub.org): Info: Quota rule: root= 
mailbox=* bytes=2145386496 messages=0
Oct 21 11:01:25 deliver(shershov-oa at fxclub.org): Info: Quota rule: root= 
mailbox=Trash bytes=1317011456 messages=0
Oct 21 11:01:25 deliver(shershov-oa at fxclub.org): Info: Quota rule: root= 
mailbox=SPAM ignored
Oct 21 11:01:25 deliver(shershov-oa at fxclub.org): Info: Quota warning: 
bytes=2038117171 (95%) messages=0 command=/usr/local/bin/quota-warning.sh 95
Oct 21 11:01:25 deliver(shershov-oa at fxclub.org): Info: Quota warning: 
bytes=1716309196 (80%) messages=0 command=/usr/local/bin/quota-warning.sh 80
Oct 21 11:01:25 deliver(shershov-oa at fxclub.org): Info: maildir 
autodetect: stat(/var/spool/dovecot/domains/fxclub.org/shershov-oa//cur) 
failed: No such file or directory
Oct 21 11:01:25 deliver(shershov-oa at fxclub.org): Info: mbox autodetect: 
data=/var/spool/dovecot/domains/fxclub.org/shershov-oa/
Oct 21 11:01:25 deliver(shershov-oa at fxclub.org): Info: mbox autodetect: 
INBOX file: stat(/var/spool/dovecot/domains/fxclub.org/shershov-oa/) 
failed: No such file or directory
Oct 21 11:01:25 deliver(shershov-oa at fxclub.org): Info: mbox autodetect: 
has .imap/: 
stat(/var/spool/dovecot/domains/fxclub.org/shershov-oa//.imap) failed: 
No such file or directory
Oct 21 11:01:25 deliver(shershov-oa at fxclub.org): Info: mbox autodetect: 
has inbox: 
stat(/var/spool/dovecot/domains/fxclub.org/shershov-oa//inbox) failed: 
No such file or directory
Oct 21 11:01:25 deliver(shershov-oa at fxclub.org): Info: mbox autodetect: 
has mbox: stat(/var/spool/dovecot/domains/fxclub.org/shershov-oa//mbox) 
failed: No such file or directory
Oct 21 11:01:25 deliver(shershov-oa at fxclub.org): Error: mail_location: 
Ambiguous mail location setting, don't know what to do with it: 
/var/spool/dovecot/domains/fxclub.org/shershov-oa/ (try prefixing it 
with mbox: or maildir:)
Oct 21 11:01:25 deliver(shershov-oa at fxclub.org): Fatal: Namespace 
initialization failed

dovecot -n
# 1.2.4: /usr/local/etc/dovecot.conf
# OS: FreeBSD 7.1-RELEASE-p7 i386  ufs
base_dir: /var/run/dovecot/
log_path: /var/log/dovecot/dovecot.log
info_log_path: /var/log/dovecot/dovecot-debug.log
protocols: imap imaps pop3 pop3s managesieve
listen(default): *
listen(imap): *
listen(pop3): *
listen(managesieve): *:2000
ssl_ca_file: /usr/local/etc/certs/GlobalSignCA.crt
ssl_cert_file: /usr/local/etc/certs/fxclub_org.crt
ssl_key_file: /usr/local/etc/certs/fxclub_org.key
ssl_cipher_list: ALL:!LOW:!SSLv2
login_dir: /var/run/dovecot/login
login_executable(default): /usr/local/libexec/dovecot/imap-login
login_executable(imap): /usr/local/libexec/dovecot/imap-login
login_executable(pop3): /usr/local/libexec/dovecot/pop3-login
login_executable(managesieve): /usr/local/libexec/dovecot/managesieve-login
login_process_size: 128
login_processes_count: 20
login_max_processes_count: 512
mail_max_userip_connections(default): 256
mail_max_userip_connections(imap): 256
mail_max_userip_connections(pop3): 20
mail_max_userip_connections(managesieve): 10
verbose_proctitle: yes
first_valid_gid: 0
mail_privileged_group: mail
mail_uid: dmail
mail_gid: dmail
mail_location: maildir:/var/spool/dovecot/domains/%d/%n
mail_debug: yes
mail_executable(default): /usr/local/libexec/dovecot/imap
mail_executable(imap): /usr/local/libexec/dovecot/imap
mail_executable(pop3): /usr/local/libexec/dovecot/pop3
mail_executable(managesieve): /usr/local/libexec/dovecot/managesieve
mail_process_size: 512
mail_plugins(default): quota imap_quota autocreate mail_log
mail_plugins(imap): quota imap_quota autocreate mail_log
mail_plugins(pop3): quota
mail_plugins(managesieve):
mail_plugin_dir(default): /usr/local/lib/dovecot/imap
mail_plugin_dir(imap): /usr/local/lib/dovecot/imap
mail_plugin_dir(pop3): /usr/local/lib/dovecot/pop3
mail_plugin_dir(managesieve): /usr/local/lib/dovecot/managesieve
imap_client_workarounds(default): delay-newmail tb-extra-mailbox-sep
imap_client_workarounds(imap): delay-newmail tb-extra-mailbox-sep
imap_client_workarounds(pop3):
imap_client_workarounds(managesieve):
pop3_client_workarounds(default):
pop3_client_workarounds(imap):
pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh
pop3_client_workarounds(managesieve):
lda:
   postmaster_address: postmaster at fxclub.org
   hostname: mail.fxclub.org
   mail_plugins: sieve quota
   mail_plugin_dir: /usr/local/lib/dovecot/lda
   quota_full_tempfail: yes
   deliver_log_format: msgid=%m: %$ %f %s
   log_path: /var/log/dovecot/deliver.log
   info_log_path: /var/log/dovecot/deliver.log
   sendmail_path: /usr/sbin/sendmail
   rejection_reason: Your message to <%t> was automatically rejected:%n%r
   auth_socket_path: /var/run/dovecot/auth-master
auth default:
   mechanisms: plain login
   user: dovecot-auth
   username_format: %Lu
   worker_max_count: 100
   passdb:
     driver: ldap
     args: /usr/local/etc/dovecot-ldap.conf
   userdb:
     driver: ldap
     args: /usr/local/etc/dovecot-ldap.conf
   socket:
     type: listen
     client:
       path: /var/run/dovecot/auth-client
       mode: 432
       user: exim
     master:
       path: /var/run/dovecot/auth-master
       mode: 384
       user: dmail
plugin:
   quota: maildir
   quota_rule: *:storage=1024M
   quota_rule2: Trash:storage=1256M
   quota_rule3: SPAM:ignore
   quota_warning: storage=95%% /usr/local/bin/quota-warning.sh 95
   quota_warning2: storage=80%% /usr/local/bin/quota-warning.sh 80
   autocreate: Trash
   autocreate2: Sent
   autocreate3: Spam
   autosubscribe: Trash
   autosubscribe2: Sent
   autosubscribe3: Spam
   sieve_dir: ~/sieve
   sieve: ~/.dovecot.sieve
   sieve_global_path: /var/spool/dovecot/global.sieve
   mail_location: /var/spool/dovecot/domains/%d/%n/
   mail_log_events: delete undelete expunge copy mailbox_delete 
mailbox_rename
   mail_log_fields: uid box msgid size
   mail_log_max_lines_per_sec: 0

-- 
Best regards,
Proskurin Kirill


More information about the dovecot mailing list