[Dovecot] how to use new style namespace for INBOX

ml ml at smtp.fakessh.eu
Thu Jun 21 03:02:51 EEST 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

dear honorable doctor timo

reading the list I saw appear a new style for the "writing of INBOX".
namely this example

mailbox Drafts {
      special_use = \Drafts
    }
    mailbox Junk {
      special_use = \Junk
    }
    mailbox Sent {
      special_use = \Sent
    }
    mailbox "Sent Messages" {
      special_use = \Sent
    }
    mailbox Trash {
      special_use = \Trash
    }
    prefix =


I do not know how to use it can you help me now is my config

~]# /usr/sbin/dovecot -n
# 2.1.7: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.34.6-xxxx-grs-ipv6-32 i686 CentOS release 5.8 (Final)
auth_mechanisms = plain login
base_dir = /var/run/dovecot/
lda_mailbox_autocreate = yes
lda_mailbox_autosubscribe = yes
listen = [::]
log_path = /var/log/maillog
log_timestamp = %Y-%m-%d %H:%M:%S
login_log_format_elements = user=<%u> method=%m rip=%r lip=%l %c
mail_debug = yes
mail_location = maildir:~/Maildir
mail_max_userip_connections = 30
mail_plugins = " quota  trash zlib"
mailbox_list_index = yes
maildir_broken_filename_sizes = yes
managesieve_notify_capability = mailto
managesieve_sieve_capability = comparator-i;octet
comparator-i;ascii-casemap fileinto reject envelope encoded-character
vacation subaddress comparator-i;ascii-numeric relational regex
imap4flags copy include variables body enotify environment mailbox date
spamtest spamtestplus virustest
namespace {
  inbox = yes
  location =
  prefix =
  separator = .
}
passdb {
  driver = pam
}
plugin {
  autocreate = Trash
  autocreate2 = Junk
  autocreate3 = Sent
  autocreate4 = Drafts
  autosubscribe = Trash
  autosubscribe2 = Junk
  autosubscribe3 = Sent
  autosubscribe4 = Drafts
  deleted_to_trash_folder = Trash
  plugin = $mail_plugins  autocreate managesieve  sieve quota
  quota = maildir:User quota
  quota_exceeded_message = Quota exceeded, please go to
http://www.fakessh.eu/over_quota_help.html for instructions on how to
fix this.
  quota_rule = *:storage=10GB
  quota_rule2 = Trash:storage=+10%
  quota_rule3 = Spam:storage=+20%
  quota_warning = storage=95%% quota-warning 95 %u
  quota_warning2 = storage=80%% quota-warning 80 %u
  sieve = ~/.dovecot.sieve
  sieve_before = /var/sieve-scripts/roundcube.sieve
  sieve_dir = ~/sieve
  sieve_global_path = whatever
  trash = /etc/dovecot/dovecot-trash.conf.ext
  zlib_save = bz2
  zlib_save_level = 9
}
protocols = sieve imap pop3
service anvil {
  client_limit = 6000
}
service auth {
  client_limit = 6000
  process_limit = 1
  unix_listener /var/spool/postfix/private/auth {
    group = postfix
    mode = 0600
    user = postfix
  }
  unix_listener auth-master {
    mode = 0666
  }
  unix_listener auth-userdb {
    mode = 0666
  }
  vsz_limit = 64 M
}
service imap-login {
  client_limit = 0
  inet_listener imap {
    port = 0
  }
  inet_listener imaps {
    address = * , [::]
    port = 993
  }
  process_limit = 1024
  service_count = 1
  vsz_limit = 64 M
}
service imap {
  process_limit = 1024
  process_min_avail = 0
  service_count = 1
  vsz_limit = 64 M
}
service managesieve-login {
  inet_listener managesieve-login {
    address = * , [::]
    port = 2000
  }
  process_limit = 1
  vsz_limit = 64 M
}
service pop3-login {
  inet_listener pop3 {
    port = 0
  }
  inet_listener pop3s {
    address = * , [::]
    port = 995
  }
  process_limit = 1
  vsz_limit = 64 M
}
service quota-warning {
  executable = script /usr/local/bin/quota-warning.sh
  unix_listener quota-warning {
    user = mail
  }
  user = dovecot
}
ssl_ca = </etc/pki/tls/certs/class3.crt
ssl_cert = </etc/pki/tls/certs/ks37777.kimsufi.com.cert
ssl_key = </etc/pki/tls/private/ks37777.kimsufi.com.key
ssl_verify_client_cert = yes
userdb {
  driver = passwd
}
userdb {
  driver = passwd
}
version_ignore = yes
protocol imap {
  imap_client_workarounds = delay-newmail tb-extra-mailbox-sep
  imap_max_line_length = 64 k
  mail_plugins = " quota  trash zlib   autocreate quota imap_quota
imap_zlib zlib"
}
protocol pop3 {
  mail_plugins = autocreate quota quota autocreate deleted_to_trash zlib
  pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
  pop3_logout_format = top=%t/%p, retr=%r/%b, del=%d/%m, size=%s
}
protocol lda {
  hostname = ks37777.kimsufi.com
  info_log_path =
  log_path =
  mail_plugins = autocreate  sieve  quota
  postmaster_address = postmaster at fakessh.eu
  sendmail_path = /usr/lib/sendmail
}
protocol sieve {
  managesieve_implementation_string = dovecot
  managesieve_logout_format = bytes ( in=%i : out=%o )
  managesieve_max_line_length = 65536
}
- -- 
  http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xC2626742
  gpg --keyserver pgp.mit.edu --recv-key C2626742

  http://urlshort.eu fakessh @
  http://gplus.to/sshfake
  http://gplus.to/sshswilting
  http://gplus.to/john.swilting
  https://lists.fakessh.eu/mailman/
  This list is moderated by me, but all applications will be accepted
  provided they receive a note of presentation
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/iZKsACgkQNgqL0sJiZ0LNvgCgwO5+e7zu+OfTqOWdtSpxzqCL
6ZgAnRuEtAtALE9zUfxIb9zN/5fhmy3t
=rF7F
-----END PGP SIGNATURE-----



More information about the dovecot mailing list