Hi people!
I just switched one of my servers from Courier to Dovecot. Planned to do it
anyway but had to do it faster after the discovery that courier [the version
I had installed, at least] returns malformed headers for a few messages,
causing Outlook Express to completely ignore them. Curiously, they were
visible in Squirrelmail and Nokia Series60 e-mail client.
Overal I am quite happy but have one little problem. More often than not, I
have to press 'Purge' button two or more times in order to actually
remove
the deleted messages. The fragment of Outlook's IMAP log is below.
Interestingly, Dovecot 1.0.7 (on another server) does not have such problem.
Best wishes
Eugene
IMAP: 00:46:56 [tx] 0yc9 UID STORE 172903 +FLAGS.SILENT (\Deleted \Seen)
IMAP: 00:46:56 [rx] 0yc9 OK Store completed.
IMAP: 00:46:58 [tx] 623w EXPUNGE
IMAP: 00:46:58 [rx] * 102 FETCH (FLAGS (\Deleted \Seen))
IMAP: 00:46:58 [rx] 623w OK Expunge completed.
IMAP: 00:46:58 [tx] 62lg IDLE
IMAP: 00:46:58 [rx] + idling
IMAP: 00:47:02 [tx] DONE
IMAP: 00:47:02 [rx] 62lg OK Idle completed.
IMAP: 00:47:02 [tx] a4si EXPUNGE
IMAP: 00:47:02 [rx] * 102 EXPUNGE
IMAP: 00:47:02 [rx] a4si OK Expunge completed.
dovecot version: 1.0.10
OS: FreeBSD 5.3-RELEASE i386
dovecot -n
# 1.0.10: /usr/contrib/etc/dovecot.conf
base_dir: /var/run/dovecot/
protocols: imap imaps pop3 pop3s
ssl_cert_file: /etc/ssl/certs/xxxx.pem
ssl_key_file: /etc/ssl/private/xxxx.pem
disable_plaintext_auth: no
login_dir: /var/run/dovecot//login
login_executable(default): /usr/contrib/libexec/dovecot/imap-login
login_executable(imap): /usr/contrib/libexec/dovecot/imap-login
login_executable(pop3): /usr/contrib/libexec/dovecot/pop3-login
verbose_proctitle: yes
first_valid_gid: 0
mail_extra_groups: mail
mail_location: maildir:/home/%u/Maildir
mail_executable(default): /usr/contrib/libexec/dovecot/imap
mail_executable(imap): /usr/contrib/libexec/dovecot/imap
mail_executable(pop3): /usr/contrib/libexec/dovecot/pop3
mail_plugin_dir(default): /usr/contrib/lib/dovecot/imap
mail_plugin_dir(imap): /usr/contrib/lib/dovecot/imap
mail_plugin_dir(pop3): /usr/contrib/lib/dovecot/pop3
imap_client_workarounds(default): delay-newmail outlook-idle netscape-eoh
tb-extra-mailbox-sep
imap_client_workarounds(imap): delay-newmail outlook-idle netscape-eoh
tb-extra-mailbox-sep
imap_client_workarounds(pop3): outlook-idle
pop3_uidl_format(default):
pop3_uidl_format(imap):
pop3_uidl_format(pop3): %08Xu%08Xv
pop3_client_workarounds(default):
pop3_client_workarounds(imap):
pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh
auth default:
passdb:
driver: pam
userdb:
driver: passwd
on 2-28-2008 1:53 PM Eugene spake the following:> Hi people! > > I just switched one of my servers from Courier to Dovecot. Planned to do it > anyway but had to do it faster after the discovery that courier [the > version > I had installed, at least] returns malformed headers for a few messages, > causing Outlook Express to completely ignore them. Curiously, they were > visible in Squirrelmail and Nokia Series60 e-mail client. > > Overal I am quite happy but have one little problem. More often than not, I > have to press 'Purge' button two or more times in order to actually remove > the deleted messages. The fragment of Outlook's IMAP log is below. > Interestingly, Dovecot 1.0.7 (on another server) does not have such > problem. >Are you sure that they weren't removed the first time but Outlook didn't refresh its header listing? I have seen outlook take its sweet time in updating its header listings with IMAP. I never thought that its support for IMAP could be worse than its support for POP3. I have to deal with it just because of the varied users I support, so I have Outlook, outlook express and thunderbird all configured to see my message store just for experimentations sake. But I use thunderbird daily. -- MailScanner is like deodorant... You hope everybody uses it, and you notice quickly if they don't!!!! -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 250 bytes Desc: OpenPGP digital signature URL: <http://dovecot.org/pipermail/dovecot/attachments/20080228/eb85c4f4/attachment-0002.bin>
On Feb 28, 2008, at 11:53 PM, Eugene wrote: Is it possible that Outlook uses two connections? First one does:> IMAP: 00:46:56 [tx] 0yc9 UID STORE 172903 +FLAGS.SILENT (\Deleted > \Seen) > IMAP: 00:46:56 [rx] 0yc9 OK Store completed.The second one does:> IMAP: 00:46:58 [tx] 623w EXPUNGE > IMAP: 00:46:58 [rx] * 102 FETCH (FLAGS (\Deleted \Seen)) > IMAP: 00:46:58 [rx] 623w OK Expunge completed.This happens because the session hasn't yet seen the flag change. Only after EXPUNGE is finished it syncs the mailbox and notices the new \Deleted flag. At that point the EXPUNGE handling is already finished, so nothing happens. So I guess the question is if Dovecot should first synchronize the mailbox and only then perform EXPUNGE. This is allowed by IMAP, but it would require Dovecot to do two mailbox synchronizations for each EXPUNGE. I'd rather not do that but maybe Outlook is big enough user that it should be changed... -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 194 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20080229/1eda1137/attachment-0002.bin>