The following issue has been RESOLVED. ====================================================================== 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: resolved target: Resolution: fixed Fixed in Version: SVN Trunk ====================================================================== Date Submitted: 25-Jul-06 10:44 CEST Last Modified: 28-Jul-06 08:27 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! ---------------------------------------------------------------------- aaron - 28-Jul-06 08:27 ---------------------------------------------------------------------- Got it. 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 28-Jul-06 08:27 aaron Status assigned => resolved 28-Jul-06 08:27 aaron Fixed in Version => SVN Trunk 28-Jul-06 08:27 aaron Resolution open => fixed 28-Jul-06 08:27 aaron Note Added: 0001319 ======================================================================