[Dovecot] Deleted messages reappearing

Joseba Torre joseba.torre at ehu.es
Wed Nov 13 17:05:20 EET 2013


On Wed, Nov 13, 2013 at 09:56:17AM -0500, Oscar del Rio wrote:
> On 11/13/13 09:23 AM, Joseba Torre wrote:
> >in the last days, probably since I upgraded to 2.2.7, I'm seeing lots of
> >deleted messages reappearing in my folders. This is after this error in
> >the log:
> 
> You should post more details, such as what kind of storage you are
> using (NFS?) and your dovecot configuration.

Yes, I'm using NFS, but this exact configuration has been working for a
long time and I've never seen this error previously. That's why I think
it's related to the upgrade.

Anyway, here is my conf

# 2.2.7: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-358.23.2.el6.x86_64 x86_64 Red Hat Enterprise Linux Server release 6.4 (Santiago) 
auth_cache_negative_ttl = 5 mins
auth_cache_size = 10 M
auth_master_user_separator = *
default_client_limit = 4000
default_process_limit = 500
first_valid_uid = 200
lda_mailbox_autocreate = yes
lock_method = dotlock
login_trusted_networks = ip1,ip2
mail_plugins = quota
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 imapflags
namespace inbox {
  inbox = yes
  list = yes
  location = 
  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 = 
  separator = .
  type = private
}
passdb {
  args = scheme=CRAM-MD5 /etc/dovecot/master-users
  driver = passwd-file
  master = yes
}
passdb {
  args = scheme=PLAIN username_format=%u /etc/dovecot/shadow-sieve
  driver = passwd-file
}
passdb {
  args = scheme=CRYPT username_format=%u /etc/dovecot/shadow-orokorrak
  driver = passwd-file
}
passdb {
  args = scheme=PLAIN username_format=%u /etc/dovecot/shadow-incidencias
  driver = passwd-file
}
passdb {
  args = /etc/dovecot/dovecot-ldap.conf.ext
  driver = ldap
}
plugin {
  quota = dict:User quota::file:%h/dovecot-quota
  quota_rule = *:storage=1024M
  quota_warning = storage=90%% quota-warning 90 %u
  quota_warning2 = storage=80%% quota-warning 80 %u
  sieve = ~/.dovecot.sieve
  sieve_dir = ~/sieve
  sieve_extensions = +imapflags
  zlib_save = gz
  zlib_save_level = 9
}
protocols = imap pop3 sieve lmtp
service auth-worker {
  user = dovecot
}
service auth {
  client_limit = 8192
  unix_listener auth-userdb {
    mode = 0600
    user = dovecot
  }
}
service doveadm {
  inet_listener {
    port = 4444
  }
}
service imap-login {
  chroot = login
  process_limit = 512
  process_min_avail = 16
  service_count = 0
  user = dovecot
}
service imap {
  process_limit = 4096
}
service lmtp {
  executable = lmtp -L
  inet_listener ltmp {
    address = buzones2 127.0.0.1
    port = 24
  }
  process_min_avail = 20
  unix_listener /var/spool/postfix/private/dovecot-lmtp {
    group = postfix
    mode = 0660
    user = postfix
  }
}
service managesieve-login {
  user = dovecot
}
service pop3-login {
  chroot = login
  service_count = 1
  user = dovecot
}
service quota-warning {
  executable = script /usr/local/scripts/aviso_quotas/quota_warning.sh
  unix_listener quota-warning {
    mode = 0666
    user = dovecot
  }
  user = root
}
ssl_cert = </usr/share/ssl/certs/certificado_ordenado_2013.crt
ssl_key = </usr/share/ssl/certs/privatekey
syslog_facility = local1
userdb {
  args = username_format=%u /etc/dovecot/passwd-orokorrak
  driver = passwd-file
}
userdb {
  driver = prefetch
}
userdb {
  args = /etc/dovecot/dovecot-ldap.conf.ext
  driver = ldap
}
protocol lda {
  mail_plugins = quota sieve
  syslog_facility = local2
}
protocol imap {
  mail_plugins = quota imap_quota
}
protocol lmtp {
  mail_plugins = quota sieve
  syslog_facility = local2
}
protocol pop3 {
  pop3_uidl_format = %v.%u
}


More information about the dovecot mailing list