В письме от 5 декабря 2013 10:27:45 пользователь Paul J Stevens написал:
> On 05-12-13 10:07, Oleg L. wrote:
> > Thanks!
> > 
> > Now roundcube is happy! :)
> > 
> > How dbmail_header* caches can be easy updated?
> > delete and run dbmail-util ?
> 
> You want to truncate the dbmail_headers table and run dbmail-util -by
> 
> takes a long time though.

Can I delete values only for messages, that have not cache values for content-
type and run dbmail-util ?


And one more remind:
situation with "dbmail 3.1.2. Imap server returns wrong decoded header fields."
http://dbmail.org/mantis/view.php?id=1020

after I inserted "set names utf8", situation was corrected.
Thanks.

Simple patches I use (I know, not very clean):

--- dbmail-imapsession.c_orig   2013-11-01 11:20:07.416091764 +0400
+++ dbmail-imapsession.c        2013-11-01 11:23:19.304097870 +0400
@@ -754,6 +754,8 @@
                g_string_free(fieldorder, TRUE);
 
        c = db_con_get();
+db_query(c, "set names utf8");
        TRY
                r = db_query(c, p_string_str(query));
                while (db_result_next(r)) {


--- dm_db.c_orig        2013-10-30 19:22:53.919514562 +0400
+++ dm_db.c     2013-10-30 21:44:53.459785679 +0400
@@ -878,7 +878,11 @@
        END_TRY;
 
        if (ok)
+{
+db_query(c, "set names utf8");
                TRACE(TRACE_DEBUG,"Tables OK");
+}
        else
                TRACE(TRACE_WARNING,"Schema version incompatible. Bailing 
out");

_______________________________________________
DBmail mailing list
[email protected]
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail

Reply via email to