Re: [Dovecot] Wrong UIDs returned from mailbox_transaction_commit_get_uids()

2008-04-01 Thread Ron Avriel
> > > > It should be: > > > > int mailbox_transaction_commit(struct mailbox_transaction_context **t) > > { > > uint32_t tmp1, tmp2, tmp3; > > > > return mailbox_transaction_commit_get_uids(t, &tmp1, &tmp2, &tmp3); > > } > > How/where does this help? The tmp values are ignored in any cas

[Dovecot] Wrong UIDs returned from mailbox_transaction_commit_get_uids()

2008-03-31 Thread Ron Avriel
Hi, Wrong UIDs are returned from mailbox_transaction_commit_get_uids() in dovecot-1.1.rc3. The problem is in: int mailbox_transaction_commit(struct mailbox_transaction_context **t) { uint32_t tmp; return mailbox_transaction_commit_get_uids(t, &tmp, &tmp, &tmp); } It should be: int m

[Dovecot] Flags can be changed in read-only mode

2008-03-30 Thread Ron Avriel
Hi, It seems that IMAP flags can be changed in EXAMINE read-only mode. Luckily, messages cannot be expunged. This happens in both dovecot 1.0.12 and 1.1.rc3: * OK Dovecot ready. 1 login *** *** 1 OK Logged in. 2 examine inbox * FLAGS (\Answered \Flagged \Deleted \Seen \Draft) * OK [PERMANENTFLAG

Re: [Dovecot] Wrong message information reported shortly after delivery

2008-03-09 Thread Ron Avriel
> Thanks, in my previous tests I didn't use quota plugin with deliver > which was needed to notice this. The problem is: > > 1. deliver adds "message appended" to index file > 2. quota plugin runs for a while > 3. deliver updates filename<->uid mapping in dovecot-uidlist > Thanks for the quick

Re: [Dovecot] Wrong message information reported shortly after delivery

2008-03-09 Thread Ron Avriel
> Can you reproduce it without your IMAP client? For example using > imaptest (http://imapwiki.org/ImapTest) as the client and running: > Hi, Here's some more information on how to easily reproduce the problem. First, I'd like to describe my environment: OS - RHEL4, FS - ext3, dovecot 1.0.12.

Re: [Dovecot] Wrong message information reported shortly after delivery

2008-03-06 Thread Ron Avriel
> On Thu, 2008-03-06 at 08:21 -0800, Ron Avriel wrote: > > If an IMAP fetch is issued some "short" time after a message was delivered > > with dovecot deliver then dovecot reports wrong (zero) values > > for that new message. Afterward, it reports the information OK.

[Dovecot] Wrong message information reported shortly after delivery

2008-03-06 Thread Ron Avriel
Hi, If an IMAP fetch is issued some "short" time after a message was delivered with dovecot deliver then dovecot reports wrong (zero) values for that new message. Afterward, it reports the information OK. This causes problems to our IMAP client. The problem is easily reproduced with a large messa

[Dovecot] Master user doesn't work with 'pass=yes'

2008-02-25 Thread Ron Avriel
Hi, It seems that master user login does not work with the 'pass=yes' option as recommended and documented. I defined a master user passdb as documented. In addition, I have a passdb sql. If 'pass=yes' is defined then it seems that dovecot recognizes the master login, verifies the master passwo

[Dovecot] How to log uid and keywords of delivered mail?

2008-02-12 Thread Ron Avriel
Hi, I’d like to extend the mail_log plugin to log the uid and keywords of a mail delivered by LDA. The keywords are set by the sieve plugin. I added a mail_log_save_finish() function hook listed below. However, the uid of the mail is always zero and trying to get the keywords results in asserti

[Dovecot] Segmentation fault in dovecot-sieve-1.1.2 + dovecot-1.1.beta13

2007-12-31 Thread Ron Avriel
Hi, dovecot-sieve-1.1.2 + dovecot-1.1.beta13 segfaults with the following sieve filter: --- require ["imapflags"]; if header :contains "subject" ["test"] { addflag "$testflag"; } --- when a message with a subject containing "test" is delivered via dovecot lda. The