A NOTE has been added to this issue. ====================================================================== http://www.dbmail.org/mantis/view.php?id=383 ====================================================================== Reported By: maenaka Assigned To: aaron ====================================================================== Project: DBMail Issue ID: 383 Category: general delivery Reproducibility: always Severity: minor Priority: normal Status: assigned target: ====================================================================== Date Submitted: 25-Jul-06 10:44 CEST Last Modified: 26-Jul-06 11:32 CEST ====================================================================== Summary: sieve: imapflag handling breakage Description: In modules/sortsieve.c:sort_fileinto(), msgflags[IMAP_NFLAGS] is uninitialized unless any imap flag(s) are specified in sieve script, therefore all the possible flags are set and the message is disappeared (marked deleted). ======================================================================
---------------------------------------------------------------------- aaron - 26-Jul-06 11:28 ---------------------------------------------------------------------- I don't think that the db_set_msgflag call needed to be in the loop, does it? ---------------------------------------------------------------------- aaron - 26-Jul-06 11:32 ---------------------------------------------------------------------- I've committed the sortsieve.c half of the patch so far. That *ought* to resolve the issue. Please let me know if db_set_msgflags does or does not work the way I think it does! Issue History Date Modified Username Field Change ====================================================================== 25-Jul-06 10:44 maenaka New Issue 25-Jul-06 10:44 maenaka File Added: trunk.patch 26-Jul-06 11:28 aaron Note Added: 0001314 26-Jul-06 11:31 aaron Status new => assigned 26-Jul-06 11:31 aaron Assigned To => aaron 26-Jul-06 11:32 aaron Note Added: 0001315 ======================================================================