Re: [Dbmail] message size during move

2003-12-05 Thread Ilja Booij
Hi, (continued below) On Dec 5, 2003, at 12:46 AM, Ricardo Andere de Mello wrote: err... I moved some messages from one folder to a dmail account using kmail, and then messages showed the size of 0 bytes. looking at the code I found this at mysql/mysql.c: snprintf(query, DEF_QUERYSIZE, "INS

Re: [Dbmail] 2.0 and header-cache

2003-12-05 Thread Magnus Sundberg
Mark Mackay - Orcon wrote: Suppose we stored the headers in a separate table and used the database indexing facilities. We could then do without a separate header cache, by just using well formulated queries. I did that previously, and the speed hit was quite profound each time someone did a

Re: [Dbmail] 2.0 and header-cache

2003-12-05 Thread Jesse Norell
Hello, Probably the best place to rebuild the header cache (because you added more headers you're interested in or whatever other reason) would be with dbmail-maintenance. The message injectors would keep it up to date for new messages, of course. One thing you need to make sure you handle i

[Dbmail] Compiling MB2DB errors

2003-12-05 Thread Jacques Beaudoin
Im trying to compile MB2DB to migrate my imap inbox and home folders to dbmail and i'm getting the these errors. Can anybody help Thanks Jacques [EMAIL PROTECTED] root]# cd /usr/local/src/dbmail [EMAIL PROTECTED] dbmail]# make mb2db cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -DHAVE_ENDIAN_H

[Dbmail] A little script to clean the Trash folders

2003-12-05 Thread dbmail
Hi. I got a little problem in my office. I use SquirrelMail webmail client to provied IMAP access to the email accounts on my office. We limited the account to 10 MB. The problem is that they don't purge the Trash Folder, no matter what I tell them. So, I workout the problem writing a simple shell