Frank Leonhardt
2009-Aug-01  10:00 UTC
[Dovecot] All mail in mbox disappears when using Outlook
I thought I was imaging it but... I have a friend (honestly) that likes to
clear his inbox every month by copying older into a folder (e.g. June-2009).
Every month he complains that all the mail in the new folder has
disappeared. This has happened three times now, and he's sort-of-right. I
now believe it's a bug rather than him.
The setup is Dovecot 1.1.3 on FreeBSD 7.0 and the client is Outlook 2003 SP3
(using IMAP).
What you end up with is a folder called June-2009 with no messages visible.
Outlook reckons it's completely empty - size 0. I don't know how he gets
to
this point, but it can't be anything that bizarre - just copying messages.
It's happened three months in a row. However, he can't see the contents
and
I can't see the contents using Outlook. Strangely, Eudora and Squirrel have
no problem.
Corrupt mbox file? Probably not. If you copy the problem one, the copy works
fine. The really weird thing is that if you rename the problem file (using
mv) it STILL DOESN'T work. I've considered the possibility that it's
got a
bad lock on it, but if so, how come Squirrel and Eudora have no problem?
I've searched as far as I can for any known problems using Outlook.
What next?
Thanks, Frank.
=====================================================# 1.1.3:
/usr/local/etc/dovecot.conf
log_path: /var/log/dovecot
protocols: imap imaps pop3 pop3s
ssl_cert_file: /etc/mail/certs/dovecot-cert.pem
ssl_key_file: /etc/mail/certs/dovecot-private.pem
disable_plaintext_auth: no
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_greeting_capability(default): yes
login_greeting_capability(imap): yes
login_greeting_capability(pop3): no
verbose_proctitle: yes
first_valid_uid: 1000
first_valid_gid: 1000
mail_privileged_group: mail
mail_location: mbox:~/mail/:INBOX=/var/mail/%u
maildir_copy_preserve_filename: 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_process_size: 512
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
imap_client_workarounds(default): delay-newmail netscape-eoh
tb-extra-mailbox-sep
imap_client_workarounds(imap): delay-newmail netscape-eoh
tb-extra-mailbox-sep
imap_client_workarounds(pop3):
pop3_enable_last(default): no
pop3_enable_last(imap): no
pop3_enable_last(pop3): yes
pop3_client_workarounds(default):
pop3_client_workarounds(imap):
pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh
auth default:
  mechanisms: plain login
  username_format: %Ln
  process_size: 512
  passdb:
    driver: pam
    args: session=yes dovecot
  userdb:
    driver: passwd
    args: blocking=yes
  socket:
    type: listen
    client:
      path: /var/run/dovecot/auth-client
      mode: 432
    master:
      path: /var/run/dovecot/auth-master
      mode: 384
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Frank Leonhardt said the following on 01/08/09 12:00:> I've searched as far as I can for any known problems using Outlook.What about the size of the mailbox? Each version of Outlook has its own issue regarding the maximum size of PST files. Ciao, luigi - -- / +--[Luigi Rosa]-- \ There are three possibilities: Pioneer's solar panel has turned away from the sun; there's a large meteor blocking transmission; or someone loaded Star Trek 3.2 into our video processor. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkp0PpkACgkQ3kWu7Tfl6ZRJMQCfSxIGWTz9NTGUslKHeBlDoJ8q fXwAoJkJapjpCyfUVRrQTGGi9zmE2n9Q =nckU -----END PGP SIGNATURE-----
Timo Sirainen
2009-Aug-03  18:46 UTC
[Dovecot] All mail in mbox disappears when using Outlook
On Sat, 2009-08-01 at 11:00 +0100, Frank Leonhardt wrote:> Corrupt mbox file? Probably not. If you copy the problem one, the copy works > fine. The really weird thing is that if you rename the problem file (using > mv) it STILL DOESN'T work. I've considered the possibility that it's got a > bad lock on it, but if so, how come Squirrel and Eudora have no problem?If it works in other clients, I can't think of how this could be Dovecot's fault. But I guess it's possible that Outlook gets confused by something that Dovecot sends. I've no idea, and I can't test it myself.. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20090803/4e6f947b/attachment-0002.bin>
Frank Leonhardt
2009-Aug-03  19:03 UTC
[Dovecot] All mail in mbox disappears when using Outlook
Timo Sirainen wrote on 03 August 2009 19:46:> On Sat, 2009-08-01 at 11:00 +0100, Frank Leonhardt wrote: > > Corrupt mbox file? Probably not. If you copy the problem one, the copy > works > > fine. The really weird thing is that if you rename the problem file > (using > > mv) it STILL DOESN'T work. I've considered the possibility that it's got > a > > bad lock on it, but if so, how come Squirrel and Eudora have no problem? > > If it works in other clients, I can't think of how this could be > Dovecot's fault. But I guess it's possible that Outlook gets confused by > something that Dovecot sends. I've no idea, and I can't test it myself..Yes - it's VERY strange, and very repeatable. Both client machines are running Outlook 2003 SP3 (Version 11.8217.8221), one on XP and the other on Vista. Dovecot is running on FreeBSD 7.0-RELEASE #0, which is a bit unusual. It's the Vista machine that broke it - I've never had any problems with the XP box (in relation to this, anyway!) I'm currently compiling the latest FreeBSD port of Dovecot (1.1.16) to see what happens (and rebuilding what looks like the entire planet in the process - 5+ hours and still building). Any suggestions about where I could look for a clue will be followed up immediately. I'm new to Dovecot, but not BSD. My next step will be to put a network analyser on it. Thanks, Frank.