Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: DBMail: dev

[DBMail 0000968]: Sieve \\Seen flag does not work

 

 

DBMail dev RSS feed   Index | Next | Previous | View Threaded


bugtrack at dbmail

Jul 20, 2012, 4:31 AM

Post #1 of 3 (282 views)
Permalink
[DBMail 0000968]: Sieve \\Seen flag does not work

A NOTE has been added to this issue.
======================================================================
http://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: 20-Jul-12 13:31 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://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://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://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.

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
======================================================================

_______________________________________________
Dbmail-dev mailing list
Dbmail-dev [at] dbmail
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev


bugtrack at dbmail

Aug 1, 2012, 6:39 AM

Post #2 of 3 (260 views)
Permalink
[DBMail 0000968]: Sieve \\Seen flag does not work [In reply to]

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 [at] dbmail
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev


bugtrack at dbmail

Aug 1, 2012, 6:39 AM

Post #3 of 3 (250 views)
Permalink
[DBMail 0000968]: Sieve \\Seen flag does not work [In reply to]

The following issue has been RESOLVED.
======================================================================
http://www.dbmail.org/mantis/view.php?id=968
======================================================================
Reported By: sergej
Assigned To: paul
======================================================================
Project: DBMail
Issue ID: 968
Category: Sieve (delivery, dbmail-sievecmd, dbmail-timsieved)
Reproducibility: always
Severity: minor
Priority: normal
Status: resolved
target:
Resolution: fixed
Fixed in Version: 3.0.3
======================================================================
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
01-Aug-12 15:39 paul Assigned To => paul
01-Aug-12 15:39 paul Status new => resolved
01-Aug-12 15:39 paul Resolution open => fixed
01-Aug-12 15:39 paul Fixed in Version => 3.0.3
======================================================================

_______________________________________________
Dbmail-dev mailing list
Dbmail-dev [at] dbmail
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev

DBMail dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.