[Dovecot] MailDIR and expire plugin

Jerry gesbbb at yahoo.com
Thu Oct 15 21:36:03 EEST 2009


On Thu, 15 Oct 2009 13:33:01 -0400
Timo Sirainen <tss at iki.fi> wrote:

> On Thu, 2009-10-15 at 06:10 -0400, Jerry wrote:
> > All of the mailboxes on this system are in MailDIR format. None of
> > the users delete mail off of the server after POPing their accounts.
> > This is the present setting:
> > 
> >   expire = Trash 7 Spam 30
> >   expire_dict = proxy::expire
> > 
> > Is that correct for MailDIR style mailboxes? 
> 
> The configuration is the same for maildir and everything else.
> 
> > It doesn't appear correct;
> 
> Why?
> 
> Anyway, the important part is what does your namespace configuration
> look like? Post your dovecot -n output.

OK!

# 1.2.4: /usr/local/etc/dovecot.conf
# OS: FreeBSD 7.2-STABLE i386  ufs
log_path: /usr/home/gerard/dovecot.log
info_log_path: /usr/home/gerard/dovecot.log
protocols: pop3 pop3s managesieve
listen(default): *
listen(pop3): *
listen(managesieve): localhost:2000
disable_plaintext_auth: no
login_dir: /var/run/dovecot/login
login_executable(default): /usr/local/libexec/dovecot/pop3-login
login_executable(pop3): /usr/local/libexec/dovecot/pop3-login
login_executable(managesieve): /usr/local/libexec/dovecot/managesieve-login
login_greeting: Greetings From Seibercom.net
verbose_proctitle: yes
first_valid_uid: 1000
first_valid_gid: 1000
mail_privileged_group: mail
mail_location: maildir:/var/mail/vhost/%d/%n
mail_executable(default): /usr/local/libexec/dovecot/pop3
mail_executable(pop3): /usr/local/libexec/dovecot/pop3
mail_executable(managesieve): /usr/local/libexec/dovecot/managesieve
mail_plugins(default): expire
mail_plugins(pop3): expire
mail_plugins(managesieve): 
mail_plugin_dir(default): /usr/local/lib/dovecot/pop3
mail_plugin_dir(pop3): /usr/local/lib/dovecot/pop3
mail_plugin_dir(managesieve): /usr/local/lib/dovecot/managesieve
pop3_client_workarounds(default): outlook-no-nuls oe-ns-eoh
pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh
pop3_client_workarounds(managesieve): 
dict_db_config: /usr/local/etc/dovecot-db.conf
managesieve_logout_format(default): bytes=%i/%o
managesieve_logout_format(pop3): bytes=%i/%o
managesieve_logout_format(managesieve): bytes ( in=%i : out=%o )
lda:
  postmaster_address: postmaster at seibercom.net
  mail_plugins: expire
  sieve: /usr/local/etc/dovecot/sieve/gerard.sieve
  sieve_global_path: /usr/local/etc/dovecot/sieve/gerard.sieve
  sendmail_path: /usr/sbin/sendmail
auth default:
  mechanisms: plain login cram-md5 digest-md5
  username_chars: abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_ at +
  username_format: %Lu
  passdb:
    driver: sql
    args: /usr/local/etc/dovecot-sql.conf
  userdb:
    driver: sql
    args: /usr/local/etc/dovecot-sql.conf
  socket:
    type: listen
    client:
      path: /var/run/dovecot/auth-client
      mode: 438
    master:
      path: /var/run/dovecot/auth-master
      mode: 438
plugin:
  expire: Trash 7 Spam 30
  expire_dict: proxy::expire
dict:
  expire: mysql:/usr/local/etc/dovecot-dict-expire.conf


More information about the dovecot mailing list