[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-mailutils] IMAP read-only still expunges on close
From: |
Dan Born |
Subject: |
Re: [bug-mailutils] IMAP read-only still expunges on close |
Date: |
Tue, 21 Jun 2005 12:42:13 -0400 |
User-agent: |
Mutt/1.3.28i |
On Jun 21 11:17, Sergey Poznyakoff wrote:
> Dan Born <address@hidden> wrote:
>
> > mailbox_open with only the MU_STREAM_READ flag should open a mailbox
> > read-only, but when an IMAP mailbox is closed, it is also expunged.
>
> I wasn't able to reproduce this. Could you give some more
> detail, please? What version of mailutils are you referring to?
I did some more experimenting, and simply doing a mailbox_open and a
mailbox_close will not expunge in read-only mode.
I have attached a C program which demonstrates the problem. It opens
the mailbox in read-only mode, scans the mailbox looking at message
attributes, and then closes the mailbox. The close triggers an expunge.
The expunge does not happen if either the mailbox_close or the message
scanning loop is removed.
$ mailutils-config --info
VERSION=0.6.90
USE_LIBPAM
WITH_GDBM
WITH_GNUTLS
WITH_GSASL
WITH_GSSAPI
WITH_GUILE
WITH_PTHREAD
WITH_READLINE
HAVE_MYSQL
ENABLE_VIRTUAL_DOMAINS
ENABLE_IMAP
ENABLE_POP
ENABLE_MH
ENABLE_MAILDIR
ENABLE_SMTP
ENABLE_SENDMAIL
ENABLE_NNTP
--
Dan Born
imaptest.c
Description: Text Data