[Dovecot] mbox INBOX out of sync (?)

Tinguaro Barreno Delgado tbarreno at yahoo.es
Sun Jan 13 21:38:23 EET 2013


Hello all,

I've running a Dovecot's installation for several years without problems but since last system upgrade (Dec 26) I'm facing a kind of sync issue with the /var/mail/ inbox files.

We have got mobile and desktops IMAP clients (mostly Mozilla Thunderbird). The problem is that /var/mail/ files (mbox) aren't updated: we can delete mail from clients but they persist in de /var/mail, so the same user can see the mail again from other IMAP client.

Logs seems to be correct.

Many thanks in advance.

Best wishes,
Tinguaro Barreno

-- logs --
Jan 11 21:58:19 master: Info: Dovecot v2.1.7 starting up (core dumps disabled)
Jan 11 21:58:33 auth: Debug: Loading modules from directory: /usr/lib/dovecot/modules/auth
Jan 11 21:58:33 auth: Debug: Module loaded: /usr/lib/dovecot/modules/auth/libdriver_mysql.so
Jan 11 21:58:33 auth: Debug: Module loaded: /usr/lib/dovecot/modules/auth/libdriver_pgsql.so
Jan 11 21:58:33 auth: Debug: Module loaded: /usr/lib/dovecot/modules/auth/libdriver_sqlite.so
Jan 11 21:58:33 auth: Debug: Loading modules from directory: /usr/lib/dovecot/modules/auth
Jan 11 21:58:33 auth: Debug: Module loaded: /usr/lib/dovecot/modules/auth/libauthdb_ldap.so
Jan 11 21:58:33 auth: Debug: auth client connected (pid=8658)
Jan 11 21:58:33 auth: Debug: client in: AUTH    1       PLAIN   service=imap    secured session=1oL4jgnTGgDAqAwf        lip=192.168.12.2        rip=192.168.12.31       lport=10103
     rport=46874     resp=<hidden>
Jan 11 21:58:33 auth: Debug: client out: OK     1       user=tbarreno
Jan 11 21:58:33 auth: Debug: master in: REQUEST 3219783681      8658    1       38bcc0e7465cbb3aace197fa29f9319e
Jan 11 21:58:33 auth: Debug: ldap(tbarreno,192.168.12.31,<1oL4jgnTGgDAqAwf>): user search: base=dc=alameda,dc=inet scope=subtree filter=(&(objectClass=usuarioLocal)(username=tbarreno)) fields=homeDirectory,uidNumber,gidNumber
Jan 11 21:58:33 auth: Debug: ldap(tbarreno,192.168.12.31,<1oL4jgnTGgDAqAwf>): result: uidNumber=1004 gidNumber=1004 homeDirectory=/home/tbarreno
Jan 11 21:58:33 auth: Debug: master out: USER   3219783681      tbarreno        home=/home/tbarreno     uid=1004        gid=1004
Jan 11 21:58:33 imap-login: Info: Login: user=<tbarreno>, method=PLAIN, rip=192.168.12.31, lip=192.168.12.2, mpid=8661, TLS
Jan 11 21:58:33 imap(tbarreno): Debug: Effective uid=1004, gid=1004, home=/home/tbarreno
Jan 11 21:58:33 imap(tbarreno): Debug: Namespace inbox: type=private, prefix=, sep=, inbox=no, hidden=no, list=yes, subscriptions=yes location=mbox:~/Mail:INBOX=/var/mail/tbarreno
Jan 11 21:58:33 imap(tbarreno): Debug: fs: root=/home/tbarreno/Mail, index=, control=, inbox=/var/mail/tbarreno, alt=
Jan 11 21:58:42 auth: Debug: auth client connected (pid=8663)
Jan 11 21:58:42 auth: Debug: client in: AUTH    1       PLAIN   service=imap    secured session=EWyAjwnTGwDAqAwf        lip=192.168.12.2        rip=192.168.12.31       lport=10103
     rport=46875     resp=<hidden>
Jan 11 21:58:42 auth: Debug: client out: OK     1       user=tbarreno
Jan 11 21:58:42 auth: Debug: master in: REQUEST 1092354049      8663    1       13780b9ee679fecc08e3abdcd334049f
Jan 11 21:58:42 auth: Debug: ldap(tbarreno,192.168.12.31,<EWyAjwnTGwDAqAwf>): user search: base=dc=alameda,dc=inet scope=subtree filter=(&(objectClass=usuarioLocal)(username=tbarreno)) fields=homeDirectory,uidNumber,gidNumber
Jan 11 21:58:42 auth: Debug: ldap(tbarreno,192.168.12.31,<EWyAjwnTGwDAqAwf>): result: uidNumber=1004 gidNumber=1004 homeDirectory=/home/tbarreno
Jan 11 21:58:42 auth: Debug: master out: USER   1092354049      tbarreno        home=/home/tbarreno     uid=1004        gid=1004
Jan 11 21:58:42 imap-login: Info: Login: user=<tbarreno>, method=PLAIN, rip=192.168.12.31, lip=192.168.12.2, mpid=8664, TLS
Jan 11 21:58:42 imap(tbarreno): Debug: Effective uid=1004, gid=1004, home=/home/tbarreno
Jan 11 21:58:42 imap(tbarreno): Debug: Namespace inbox: type=private, prefix=, sep=, inbox=no, hidden=no, list=yes, subscriptions=yes location=mbox:~/Mail:INBOX=/var/mail/tbarreno
Jan 11 21:58:42 imap(tbarreno): Debug: fs: root=/home/tbarreno/Mail, index=, control=, inbox=/var/mail/tbarreno, alt=
----

----
# 2.1.7: /etc/dovecot/dovecot.conf
# OS: Linux 3.2.0-3-amd64 x86_64 Debian 7.0 
auth_debug = yes
auth_verbose = yes
debug_log_path = /tmp/dovecot.log
info_log_path = /tmp/dovecot.log
login_log_format_elements = user=<%u> method=%m rip=%r lip=%l mpid=%e %c
mail_debug = yes
mail_location = mbox:~/Mail:INBOX=/var/mail/%u
namespace inbox {
  inbox = 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 = 
}
passdb {
  args = /etc/dovecot/dovecot-ldap.conf.ext
  driver = ldap
}
plugin {
  mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename
  mail_log_fields = uid box msgid size
  sieve = ~/.dovecot.sieve
  sieve_dir = ~/sieve
}
protocols = " imap"
service auth {
  unix_listener /var/spool/postfix/private/auth {
    group = postfix
    mode = 0660
    user = postfix
  }
}
service imap-login {
  inet_listener imapz {
    port = 10103
  }
}
ssl_ca = </etc/local/certs/CA-Alameda_cert.pem
ssl_cert = </etc/local/certs/alameda.homeip.net_cert.pem
ssl_key = </etc/local/certs/alameda.homeip.net_key.pem
userdb {
  args = /etc/dovecot/dovecot-ldap.conf.ext
  driver = ldap
}
verbose_ssl = yes
----------


-- 
Tinguaro Barreno Delgado
<tbarreno at alameda.homeip.net>



More information about the dovecot mailing list