A NOTE has been added to this issue. ====================================================================== http://www.dbmail.org/mantis/view.php?id=968 ====================================================================== Reported By: sergej Assigned To: ====================================================================== Project: DBMail Issue ID: 968 Category: Sieve (delivery, dbmail-sievecmd, dbmail-timsieved) Reproducibility: always Severity: minor Priority: normal Status: new target: ====================================================================== Date Submitted: 20-Apr-12 11:17 CEST Last Modified: 01-Aug-12 15:39 CEST ====================================================================== Summary: Sieve \\Seen flag does not work Description: After dbmail upgrade from 2.2.17 to 3.0.2 fileinto :flags "\\Seen" "Junk"; stopped working.
I upgraded db schema with /usr/share/dbmail/mysql/2_2-3_0.mysql then run dbmail-util -ay and see no other errors. libsieve is 2.2.7 ====================================================================== ---------------------------------------------------------------------- (0003459) sergej (reporter) - 18-Jun-12 18:54 http://www.dbmail.org/mantis/view.php?id=968#c3459 ---------------------------------------------------------------------- in sort_fileinto() function in line TRACE(TRACE_INFO, "Action is FILEINTO: mailbox is [%s] flags are [%s]", mailbox, (char *)flags); bad type casting of char** to char* cause unusable log output. ---------------------------------------------------------------------- (0003460) sergej (reporter) - 19-Jun-12 16:39 http://www.dbmail.org/mantis/view.php?id=968#c3460 ---------------------------------------------------------------------- It looks like after upgrade to 3.0 users should change sieve flags from \\Seen to Seen. ---------------------------------------------------------------------- (0003461) dfroe (reporter) - 20-Jul-12 13:31 http://www.dbmail.org/mantis/view.php?id=968#c3461 ---------------------------------------------------------------------- I encountered the same problem when upgrading to 3.0. Fortunately I can confirm that changing \\Seen to Seen fixes the problem. Moving spam to junk folder and marking mail as read this way works as intended. ---------------------------------------------------------------------- (0003467) paul (administrator) - 01-Aug-12 15:39 http://www.dbmail.org/mantis/view.php?id=968#c3467 ---------------------------------------------------------------------- I've fixed this in the master branch. Using \\Seen will work again. Also, I've added support for keywords and flag-lists fileinto :flags ["\\Seen", "Label1"] "SomeBox"; or fileinto :flags "\\Seen Label1" "SomeBox"; will now both work as expected. Issue History Date Modified Username Field Change ====================================================================== 20-Apr-12 11:17 sergej New Issue 18-Jun-12 18:54 sergej Note Added: 0003459 19-Jun-12 16:39 sergej Note Added: 0003460 20-Jul-12 13:31 dfroe Note Added: 0003461 01-Aug-12 15:39 paul Note Added: 0003467 ====================================================================== _______________________________________________ Dbmail-dev mailing list Dbmail-dev@dbmail.org http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev