8 messages in net.sourceforge.lists.courier-sqwebmail[sqwebmail] Problem with renaming Sen...
FromSent OnAttachments
Pawel TeczaMay 11, 2006 7:53 am 
Sam VarshavchikMay 11, 2006 3:29 pm 
Pawel TeczaMay 12, 2006 12:11 am 
Pawel TeczaMay 12, 2006 3:15 am 
Sam VarshavchikMay 12, 2006 4:03 pm 
Lars AlthofMay 12, 2006 5:34 pm 
Sam VarshavchikMay 12, 2006 8:08 pm 
Pawel TeczaMay 15, 2006 1:06 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[sqwebmail] Problem with renaming Sent folderActions...
From:Pawel Tecza (p.te@net.icm.edu.pl)
Date:May 11, 2006 7:53:03 am
List:net.sourceforge.lists.courier-sqwebmail

Hello Sam,

In our mail system we have the SqWebmail with two versions of HTML templates: Polish and English. Some users use both and they have double Sent folders for the same year and month, for example .Sent.2006.04-kwi and .Sent.2006.04-Apr.

There was created, because SqWebmail adds to name of renamed Sent folder the abbreviated month name according to the current locale. The name of Sent folder just contains the month as a decimal number, so the abbreviated month name is redundant information, is it not?

Could you please fix it? Below is the patch against the last Courier snapshot:

--- courier-0.53.1.20060502/webmail/sqwebmail.c-orig 2006-05-11
16:07:00.000000000 +0200 +++ courier-0.53.1.20060502/webmail/sqwebmail.c 2006-05-11 16:07:52.000000000
+0200 @@ -2080,7 +2080,7 @@ else --tm->tm_mon;

- if (strftime (buf, sizeof(buf), "." SENT ".%Y.%m-%b", tm) == 0) + if (strftime (buf, sizeof(buf), "." SENT ".%Y.%m", tm) == 0) return;

strcat(strcpy(buf2, "." SENT "/sqwebmail"), buf);

My best regards,