> > Larry Low wrote: > > > I'm wondering if anyone has seen the behavior of dbmail-imap > randomly > > > showing messages that are marked as expunged in a SELECT and > SEARCH. > > > > You'll have to be a bit more specific. Message cannot be marked as > > expunged. They are marked as 'Deleted', and after that you can > expunge > > the mailbox they're in. > > Sorry I meant messages that have a status of not 0. > > Basically this is what I saw happen: > > INBOX selected and says 87 messages, 36 unseen, 1 recent. The actual > count is more likely about 40 odd messages. > SEARCH is performed and returns 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 > 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 51 52 53 54 55 > 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 > 80 81 82 83 84 85 86 87 > FETCH of 1:35,51:87 is done and all message headers are returned. > STORE is then performed on each message changing the flags. When it > gets to #73 dbmail starts returning "invalid message range specified" > > I'm using dbmail 2.2.10.
My mistake. Now I know something is wrong. I misunderstood what UNSEEN meant when you select a mailbox. This was the output of the SELECT indicating 36 is the first unseen message. The SEARCH returns no 36 and I am fairly sure there were no messages marked as deleted with a status of 0 in the database. A4 SELECT INBOX * 87 EXISTS * 1 RECENT * FLAGS (\Seen \Answered \Deleted \Flagged \Draft) * OK [PERMANENTFLAGS (\Seen \Answered \Deleted \Flagged \Draft)] * OK [UIDNEXT 604193] Predicted next UID * OK [UIDVALIDITY 11957] UID value * OK [UNSEEN 36] first unseen message A4 OK [READ-WRITE] SELECT completed A5 SEARCH UNDELETED ALL * SEARCH 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 > > > > > > I am in the process of trying to track this down exactly but wanted > > > to see if maybe there is a known issue. > > > > There are no issues with expunge, afaik. > > > > > > > > > > --- Larry Low 480.385.7045 (w) | [EMAIL PROTECTED] | > > > www.telesphere.com 9237 E Via de Ventura | Suite 250 | Scottsdale, > AZ > > > 85258 > > > > > > > > > _______________________________________________ DBmail mailing list > > > [email protected] https://mailman.fastxs.nl/mailman/listinfo/dbmail > > > > > > > > > -- > > ________________________________________________________________ > > Paul Stevens paul at nfg.nl > > NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31 > > The Netherlands________________________________http://www.nfg.nl > > _______________________________________________ > > DBmail mailing list > > [email protected] > > https://mailman.fastxs.nl/mailman/listinfo/dbmail > _______________________________________________ > DBmail mailing list > [email protected] > https://mailman.fastxs.nl/mailman/listinfo/dbmail _______________________________________________ DBmail mailing list [email protected] https://mailman.fastxs.nl/mailman/listinfo/dbmail
