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, "INSERT INTO messages " "(mailbox_idnr,messagesize,unique_id,internal_date,status," " seen_flag) VALUES (%llu, 0, \"\", \"%s\",%d,1)", mboxid, timestr, STATUS_SEEN); is there any reason to set the size directly to 0? why not: snprintf(query, DEF_QUERYSIZE, "INSERT INTO messages " "(mailbox_idnr,messagesize,unique_id,internal_date,status," " seen_flag) VALUES (%llu, %llu, \"\", \"%s\",%d,1)", mboxid, datalen, timestr, STATUS_SEEN); []s, gandhi -- Ricardo Andere de Mello Quilombo Digital - Presidente [EMAIL PROTECTED] - 55 11 32717928