Hello I have got a message with attach. Then, I forward this full message to myself as inline attach and when I try to get this new message I get error from kmail
If I forward only attach from original message, then I can read new message. I attach level 5 debug from dbmail-imapd -- Oleg Lapshin PS. Structure of "bad" message: header-of-forward-message Content-Type: Multipart/Mixed; boundary="Boundary-00=_p4+OE05oFlGiJgc" --Boundary-00=_p4+OE05oFlGiJgc Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 8bit Content-Disposition: inline text --Boundary-00=_p4+OE05oFlGiJgc Content-Type: message/rfc822; name="forwarded message" Content-Transfer-Encoding: 8bit Content-Description: text <[EMAIL PROTECTED]>: Fwd: original-subject Content-Disposition: inline original-header Content-Type: multipart/mixed; boundary=----------47D516E3E16448E ------------47D516E3E16448E Content-Type: text/plain; charset=Windows-1251 Content-Transfer-Encoding: 8bit original text ------------47D516E3E16448E Content-Type: APPLICATION/MSWORD; name="file.doc" Content-transfer-encoding: base64 Content-Disposition: attachment; filename="file.doc" base64-attached-file ------------47D516E3E16448E-- --Boundary-00=_p4+OE05oFlGiJgc--
server.c,server_daemonize: sid: [5915] server.c,dm_socket: done server.c,dm_bind_and_listen: done dbmysql.c,db_query: query [SELECT 1=1 FROM dbmail_physmessage LIMIT 1 OFFSET 0] dbmysql.c,db_query: query [SELECT 1=1 FROM dbmail_headervalue LIMIT 1 OFFSET 0] pool.c,child_register: register child [5921] pool.c,child_register: initializing child_state [5921] using slot [0] serverchild.c,CreateChild: signal handler placed, going to perform task now serverchild.c,PerformChildTask: waiting for connection pool.c,child_reg_disconnected: [5921] pool.c,child_reg_connected: [5921] serverchild.c,PerformChildTask: incoming connection from [62.89.253.253] by pid [5921] serverchild.c,PerformChildTask: client info init complete, calling client handler RESPONSE: [* OK dbmail imap (protocol version 4r1) server 2.1 ready to run ] COMMAND: [8 CAPABILITY] imap4.c,IMAPClientHandler: Executing command capability... RESPONSE: [* CAPABILITY IMAP4 IMAP4rev1 AUTH=LOGIN ACL NAMESPACE CHILDREN SORT QUOTA ] RESPONSE: [8 OK CAPABILITY completed ] imap4.c,IMAPClientHandler: Finished command capability [0] COMMAND: [9 LOGIN "loe" "password"] arg[0]: 'loe' arg[1]: 'password' imap4.c,IMAPClientHandler: Executing command login... dbmail-imapsession.c,dbmail_imap_session_handle_auth: trying to validate user [loe], pass [XXXX] dbmysql.c,db_query: query [SELECT userid FROM dbmail_usermap WHERE 1 = 2] db.c,db_use_usermap: enabling usermap lookups db.c,db_usermap_resolve: checking userid 'loe' in usermap db.c,db_usermap_resolve: client on inet socket [inet:62.89.253.152:60143] dbmysql.c,db_query: query [SELECT login, sock_allow, sock_deny, userid FROM dbmail_usermap WHERE login in ('loe','ANY') ORDER BY sock_allow, sock_deny] db.c,db_usermap_resolve: login 'loe' not found in usermap dbmysql.c,db_query: query [SELECT user_idnr FROM dbmail_users WHERE lower(userid) = lower('loe')] dbmysql.c,db_query: query [SELECT user_idnr, passwd, encryption_type FROM dbmail_users WHERE user_idnr = '2'] authsql.c,auth_validate: validating using plaintext passwords dbmysql.c,db_query: query [UPDATE dbmail_users SET last_login = '2006-04-11 22:10:43' WHERE user_idnr = '2'] dbmail-imapsession.c,dbmail_imap_session_handle_auth: user (id:2, name loe) tries login dbmail-imapsession.c,dbmail_imap_session_handle_auth: user (id 2, name loe) login accepted @ 2006-04-11 22:10:43 RESPONSE: [9 OK LOGIN completed ] imap4.c,IMAPClientHandler: Finished command login [0] COMMAND: [10 NAMESPACE] imap4.c,IMAPClientHandler: Executing command namespace... RESPONSE: [* NAMESPACE (("" "/")) (("#Users" "/")) (("#Public" "/")) ] RESPONSE: [10 OK NAMESPACE complete ] imap4.c,IMAPClientHandler: Finished command namespace [0] COMMAND: [11 LIST "" ""] arg[0]: '' arg[1]: '' imap4.c,IMAPClientHandler: Executing command list... RESPONSE: [* LIST (\NoSelect) "/" "" ] RESPONSE: [11 OK LIST completed ] imap4.c,IMAPClientHandler: Finished command list [0] COMMAND: [12 LIST "" "INBOX"] arg[0]: '' arg[1]: 'INBOX' imap4.c,IMAPClientHandler: Executing command list... imapcommands.c,_ic_list: search with pattern: [INBOX] dbmysql.c,db_query: query [SELECT mbx.name, mbx.mailbox_idnr, mbx.owner_idnr FROM dbmail_mailboxes mbx LEFT JOIN dbmail_acl acl ON mbx.mailbox_idnr = acl.mailbox_id LEFT JOIN dbmail_users usr ON acl.user_id = usr.user_idnr WHERE mbx.name = 'INBOX' AND ((mbx.owner_idnr = '2') OR (acl.user_id = '2' AND acl.lookup_flag = '1') OR (usr.userid = 'anyone' AND acl.lookup_flag = '1'))] db.c,db_findmailbox_by_regex: found [1] mailboxes dbmysql.c,db_query: query [SELECT owner_idnr, name, no_select, no_inferiors FROM dbmail_mailboxes WHERE mailbox_idnr = '1'] dbmysql.c,db_query: query [SELECT COUNT(*) AS nr_children FROM dbmail_mailboxes WHERE owner_idnr = '2' AND name LIKE 'INBOX/%' ] RESPONSE: [* LIST (\haschildren) "/" "INBOX" ] RESPONSE: [12 OK LIST completed ] imap4.c,IMAPClientHandler: Finished command list [0] COMMAND: [13 SELECT "INBOX"] arg[0]: 'INBOX' imap4.c,IMAPClientHandler: Executing command select... db.c,db_findmailbox: looking for mailbox with FQN [INBOX]. dbmysql.c,db_query: query [SELECT mailbox_idnr FROM dbmail_mailboxes WHERE name='INBOX' AND owner_idnr='2'] db.c,db_acl_has_right: checking ACL [read_flag] for user [2] on mailbox [1] dbmysql.c,db_query: query [SELECT owner_idnr FROM dbmail_mailboxes WHERE mailbox_idnr = '1'] db.c, db_acl_has_right: mailbox [1] is owned by user [2], is that also [2]? db.c, db_acl_has_right: mailbox [1] is owned by user [2], giving all rights dbmysql.c,db_query: query [SELECT no_select FROM dbmail_mailboxes WHERE mailbox_idnr = '1'] dbmysql.c,db_query: query [SELECT permission,seen_flag,answered_flag,deleted_flag,flagged_flag,recent_flag,draft_flag FROM dbmail_mailboxes WHERE mailbox_idnr = '1'] dbmysql.c,db_query: query [SELECT 'a',COUNT(*) FROM dbmail_messages WHERE mailbox_idnr='1' AND (status='0' OR status='1') UNION SELECT 'b',COUNT(*) FROM dbmail_messages WHERE mailbox_idnr='1' AND (status='0' OR status='1') AND seen_flag=1 UNION SELECT 'c',COUNT(*) FROM dbmail_messages WHERE mailbox_idnr='1' AND (status='0' OR status='1') AND recent_flag=1] dbmysql.c,db_query: query [SELECT message_idnr FROM dbmail_messages WHERE mailbox_idnr = '1' AND status < '2' ORDER BY message_idnr ASC] db.c,db_getmailbox_count: exists [292] num_rows [292] dbmysql.c,db_query: query [SELECT message_idnr+1 FROM dbmail_messages ORDER BY message_idnr DESC LIMIT 1] dbmysql.c,db_query: query [SELECT permission,seen_flag,answered_flag,deleted_flag,flagged_flag,recent_flag,draft_flag FROM dbmail_mailboxes WHERE mailbox_idnr = '1'] dbmysql.c,db_query: query [SELECT 'a',COUNT(*) FROM dbmail_messages WHERE mailbox_idnr='1' AND (status='0' OR status='1') UNION SELECT 'b',COUNT(*) FROM dbmail_messages WHERE mailbox_idnr='1' AND (status='0' OR status='1') AND seen_flag=1 UNION SELECT 'c',COUNT(*) FROM dbmail_messages WHERE mailbox_idnr='1' AND (status='0' OR status='1') AND recent_flag=1] dbmysql.c,db_query: query [SELECT message_idnr FROM dbmail_messages WHERE mailbox_idnr = '1' AND status < '2' ORDER BY message_idnr ASC] db.c,db_getmailbox_count: exists [292] num_rows [292] dbmysql.c,db_query: query [SELECT message_idnr+1 FROM dbmail_messages ORDER BY message_idnr DESC LIMIT 1] RESPONSE: [* 292 EXISTS ] RESPONSE: [* 1 RECENT ] RESPONSE: [* FLAGS (\Seen \Answered \Deleted \Flagged \Draft \Recent) ] RESPONSE: [* OK [PERMANENTFLAGS (\Seen \Answered \Deleted \Flagged \Draft \Recent)] ] RESPONSE: [* OK [UIDNEXT 55066] Predicted next UID ] RESPONSE: [* OK [UIDVALIDITY 1] UID value ] dbmysql.c,db_query: query [SELECT MIN(message_idnr) FROM dbmail_messages WHERE mailbox_idnr = '1' AND status < '2' AND seen_flag = '0'] dbmysql.c,db_get_result: result is null dbmysql.c,db_query: query [SELECT message_idnr FROM dbmail_messages WHERE recent_flag = 1 AND mailbox_idnr = '1'] dbmail-imapsession.c,dbmail_imap_session_mailbox_select_recent: recent [1] in mailbox [1] RESPONSE: [13 OK [READ-WRITE] SELECT completed ] imap4.c,IMAPClientHandler: Finished command select [0] dbmysql.c,db_query: query [SELECT permission,seen_flag,answered_flag,deleted_flag,flagged_flag,recent_flag,draft_flag FROM dbmail_mailboxes WHERE mailbox_idnr = '1'] dbmysql.c,db_query: query [SELECT 'a',COUNT(*) FROM dbmail_messages WHERE mailbox_idnr='1' AND (status='0' OR status='1') UNION SELECT 'b',COUNT(*) FROM dbmail_messages WHERE mailbox_idnr='1' AND (status='0' OR status='1') AND seen_flag=1 UNION SELECT 'c',COUNT(*) FROM dbmail_messages WHERE mailbox_idnr='1' AND (status='0' OR status='1') AND recent_flag=1] dbmysql.c,db_query: query [SELECT message_idnr FROM dbmail_messages WHERE mailbox_idnr = '1' AND status < '2' ORDER BY message_idnr ASC] db.c,db_getmailbox_count: exists [292] num_rows [292] dbmysql.c,db_query: query [SELECT message_idnr+1 FROM dbmail_messages ORDER BY message_idnr DESC LIMIT 1] COMMAND: [14 UID FETCH 55063 (UID RFC822.HEADER RFC822.SIZE FLAGS)] arg[0]: 'FETCH' arg[1]: '55063' arg[2]: '(' arg[3]: 'UID' arg[4]: 'RFC822.HEADER' arg[5]: 'RFC822.SIZE' arg[6]: 'FLAGS' arg[7]: ')' imap4.c,IMAPClientHandler: Executing command uid... db.c,db_acl_has_right: checking ACL [read_flag] for user [2] on mailbox [1] dbmysql.c,db_query: query [SELECT owner_idnr FROM dbmail_mailboxes WHERE mailbox_idnr = '1'] db.c, db_acl_has_right: mailbox [1] is owned by user [2], is that also [2]? db.c, db_acl_has_right: mailbox [1] is owned by user [2], giving all rights dbmail-imapsession.c,dbmail_imap_session_fetch_parse_args: parse args[2] = [UID] dbmail-imapsession.c,dbmail_imap_session_fetch_parse_args: args[idx = 2] = UID (returning 3) dbmail-imapsession.c,dbmail_imap_session_fetch_parse_args: parse args[3] = [RFC822.HEADER] dbmail-imapsession.c,dbmail_imap_session_fetch_parse_args: args[idx = 3] = RFC822.HEADER (returning 4) dbmail-imapsession.c,dbmail_imap_session_fetch_parse_args: parse args[4] = [RFC822.SIZE] dbmail-imapsession.c,dbmail_imap_session_fetch_parse_args: args[idx = 4] = RFC822.SIZE (returning 5) dbmail-imapsession.c,dbmail_imap_session_fetch_parse_args: parse args[5] = [FLAGS] dbmail-imapsession.c,dbmail_imap_session_fetch_parse_args: args[idx = 5] = FLAGS (returning 6) dbmail-imapsession.c,dbmail_imap_session_fetch_parse_args: parse args[6] = [)] imapcommands.c,_ic_fetch: fetch_start [55063] fetch_end [55063] dbmysql.c,db_query: query [SELECT seen_flag, answered_flag, deleted_flag, flagged_flag, draft_flag, recent_flag, DATE_FORMAT(internal_date, '%Y-%m-%d %T'), rfcsize, message_idnr FROM dbmail_messages msg, dbmail_physmessage pm WHERE pm.id = msg.physmessage_id AND message_idnr BETWEEN '55063' AND '55063' AND mailbox_idnr = '1' AND status < '2' ORDER BY message_idnr ASC] RESPONSE: [* 292 FETCH (] RESPONSE: [RFC822.SIZE 89268] RESPONSE: [ ] RESPONSE: [FLAGS (\Seen \Recent)] RESPONSE: [ ] RESPONSE: [UID 55063] RESPONSE: [ ] dbmail-imapsession.c,_imap_cache_update: cache message [55063] filter [2] dbmysql.c,db_query: query [SELECT physmessage_id FROM dbmail_messages WHERE message_idnr = '55063'] dbmysql.c,db_query: query [SELECT messageblk FROM dbmail_messageblks WHERE physmessage_id = '26232' ORDER BY messageblk_idnr] dbmail-message.c,_set_content_from_stream: parse message dbmail-imapsession.c,_imap_cache_update: cache size [1160] RESPONSE: [RFC822.HEADER {1160} ] RESPONSE: [) ] RESPONSE: [14 OK UID FETCH completed ] imap4.c,IMAPClientHandler: Finished command uid [0] COMMAND: [15 NOOP] imap4.c,IMAPClientHandler: Executing command noop... imap4.c,IMAPClientHandler: Finished command noop [0] dbmysql.c,db_query: query [SELECT permission,seen_flag,answered_flag,deleted_flag,flagged_flag,recent_flag,draft_flag FROM dbmail_mailboxes WHERE mailbox_idnr = '1'] dbmysql.c,db_query: query [SELECT 'a',COUNT(*) FROM dbmail_messages WHERE mailbox_idnr='1' AND (status='0' OR status='1') UNION SELECT 'b',COUNT(*) FROM dbmail_messages WHERE mailbox_idnr='1' AND (status='0' OR status='1') AND seen_flag=1 UNION SELECT 'c',COUNT(*) FROM dbmail_messages WHERE mailbox_idnr='1' AND (status='0' OR status='1') AND recent_flag=1] dbmysql.c,db_query: query [SELECT message_idnr FROM dbmail_messages WHERE mailbox_idnr = '1' AND status < '2' ORDER BY message_idnr ASC] db.c,db_getmailbox_count: exists [292] num_rows [292] dbmysql.c,db_query: query [SELECT message_idnr+1 FROM dbmail_messages ORDER BY message_idnr DESC LIMIT 1] RESPONSE: [15 OK NOOP completed ] imap4.c,IMAPClientHandler: tag = 15 COMMAND: [16 UID FETCH 55063 (BODYSTRUCTURE)] arg[0]: 'FETCH' arg[1]: '55063' arg[2]: '(' arg[3]: 'BODYSTRUCTURE' arg[4]: ')' imap4.c,IMAPClientHandler: Executing command uid... db.c,db_acl_has_right: checking ACL [read_flag] for user [2] on mailbox [1] dbmysql.c,db_query: query [SELECT owner_idnr FROM dbmail_mailboxes WHERE mailbox_idnr = '1'] db.c, db_acl_has_right: mailbox [1] is owned by user [2], is that also [2]? db.c, db_acl_has_right: mailbox [1] is owned by user [2], giving all rights dbmail-imapsession.c,dbmail_imap_session_fetch_parse_args: parse args[2] = [BODYSTRUCTURE] dbmail-imapsession.c,dbmail_imap_session_fetch_parse_args: args[idx = 2] = BODYSTRUCTURE (returning 3) dbmail-imapsession.c,dbmail_imap_session_fetch_parse_args: parse args[3] = [)] imapcommands.c,_ic_fetch: fetch_start [55063] fetch_end [55063] (process:5921): GLib-GObject-WARNING **: invalid cast from `GMimeMessagePart' to `GMimeMessage' (process:5921): GLib-GObject-WARNING **: invalid cast from `GMimeMessagePart' to `GMimeMessage' (process:5921): gmime-CRITICAL **: g_mime_message_get_mime_part: assertion `GMIME_IS_MESSAGE (message)' failed (process:5921): gmime-CRITICAL **: g_mime_object_get_content_type: assertion `GMIME_IS_OBJECT (object)' failed dbmysql.c,db_query: query [SELECT seen_flag, answered_flag, deleted_flag, flagged_flag, draft_flag, recent_flag, DATE_FORMAT(internal_date, '%Y-%m-%d %T'), rfcsize, message_idnr FROM dbmail_messages msg, dbmail_physmessage pm WHERE pm.id = msg.physmessage_id AND message_idnr BETWEEN '55063' AND '55063' AND mailbox_idnr = '1' AND status < '2' ORDER BY message_idnr ASC] RESPONSE: [* 292 FETCH (] RESPONSE: [UID 55063] RESPONSE: [ ] dbmail-imapsession.c,_imap_cache_update: cache message [55063] filter [1] dbmail-imapsession.c,_imap_cache_update: cache size [89268] dm_imaputil.c,imap_get_structure: message type: [Multipart/Mixed] dm_imaputil.c,_structure_part_multipart: parse [2] parts for [Multipart/Mixed] with boundary [Boundary-00=_p4+OE05oFlGiJgc] dm_imaputil.c,imap_get_structure: error getting content_type RESPONSE: [BODYSTRUCTURE (("text" "plain" ("charset" "koi8-r") NIL NIL "8bit" 34 5 NIL ("inline" NIL) NIL NIL)...] RESPONSE: [) ] RESPONSE: [16 OK UID FETCH completed ] imap4.c,IMAPClientHandler: Finished command uid [0] COMMAND: [17 UID FETCH 55063 (UID RFC822.SIZE FLAGS BODY.PEEK[1.MIME])] arg[0]: 'FETCH' arg[1]: '55063' arg[2]: '(' arg[3]: 'UID' arg[4]: 'RFC822.SIZE' arg[5]: 'FLAGS' arg[6]: 'BODY.PEEK' arg[7]: '[' arg[8]: '1.MIME' arg[9]: ']' arg[10]: ')' imap4.c,IMAPClientHandler: Executing command uid... db.c,db_acl_has_right: checking ACL [read_flag] for user [2] on mailbox [1] db.c, db_acl_has_right: mailbox [1] is owned by user [2], is that also [2]? db.c, db_acl_has_right: mailbox [1] is owned by user [2], giving all rights dbmail-imapsession.c,dbmail_imap_session_fetch_parse_args: parse args[2] = [UID] dbmail-imapsession.c,dbmail_imap_session_fetch_parse_args: args[idx = 2] = UID (returning 3) dbmail-imapsession.c,dbmail_imap_session_fetch_parse_args: parse args[3] = [RFC822.SIZE] dbmail-imapsession.c,dbmail_imap_session_fetch_parse_args: args[idx = 3] = RFC822.SIZE (returning 4) dbmail-imapsession.c,dbmail_imap_session_fetch_parse_args: parse args[4] = [FLAGS] dbmail-imapsession.c,dbmail_imap_session_fetch_parse_args: args[idx = 4] = FLAGS (returning 5) dbmail-imapsession.c,dbmail_imap_session_fetch_parse_args: parse args[5] = [BODY.PEEK] dbmail-imapsession.c,_imap_session_fetch_parse_partspec: token [1.MIME], nexttoken []] dbmail-imapsession.c,_imap_session_fetch_parse_octet_range: parse token [)] dbmail-imapsession.c,dbmail_imap_session_fetch_parse_args: parse args[9] = [)] imapcommands.c,_ic_fetch: fetch_start [55063] fetch_end [55063] dbmysql.c,db_query: query [SELECT seen_flag, answered_flag, deleted_flag, flagged_flag, draft_flag, recent_flag, DATE_FORMAT(internal_date, '%Y-%m-%d %T'), rfcsize, message_idnr FROM dbmail_messages msg, dbmail_physmessage pm WHERE pm.id = msg.physmessage_id AND message_idnr BETWEEN '55063' AND '55063' AND mailbox_idnr = '1' AND status < '2' ORDER BY message_idnr ASC] RESPONSE: [* 292 FETCH (] RESPONSE: [RFC822.SIZE 89268] RESPONSE: [ ] RESPONSE: [FLAGS (\Seen \Recent)] RESPONSE: [ ] RESPONSE: [UID 55063] dbmail-imapsession.c,_imap_show_body_section: itemtype [2] partspec [1.] dbmail-imapsession.c,_imap_cache_update: cache message [55063] filter [1] dbmail-imapsession.c,_imap_cache_update: cache size [89268] RESPONSE: [ ] RESPONSE: [BODY[1.] RESPONSE: [MIME] RESPONSE: [] {111} ] RESPONSE: [) ] RESPONSE: [17 OK UID FETCH completed ] imap4.c,IMAPClientHandler: Finished command uid [0] COMMAND: [18 UID FETCH 55063 (UID RFC822.SIZE FLAGS BODY.PEEK[1])] arg[0]: 'FETCH' arg[1]: '55063' arg[2]: '(' arg[3]: 'UID' arg[4]: 'RFC822.SIZE' arg[5]: 'FLAGS' arg[6]: 'BODY.PEEK' arg[7]: '[' arg[8]: '1' arg[9]: ']' arg[10]: ')' imap4.c,IMAPClientHandler: Executing command uid... db.c,db_acl_has_right: checking ACL [read_flag] for user [2] on mailbox [1] db.c, db_acl_has_right: mailbox [1] is owned by user [2], is that also [2]? db.c, db_acl_has_right: mailbox [1] is owned by user [2], giving all rights dbmail-imapsession.c,dbmail_imap_session_fetch_parse_args: parse args[2] = [UID] dbmail-imapsession.c,dbmail_imap_session_fetch_parse_args: args[idx = 2] = UID (returning 3) dbmail-imapsession.c,dbmail_imap_session_fetch_parse_args: parse args[3] = [RFC822.SIZE] dbmail-imapsession.c,dbmail_imap_session_fetch_parse_args: args[idx = 3] = RFC822.SIZE (returning 4) dbmail-imapsession.c,dbmail_imap_session_fetch_parse_args: parse args[4] = [FLAGS] dbmail-imapsession.c,dbmail_imap_session_fetch_parse_args: args[idx = 4] = FLAGS (returning 5) dbmail-imapsession.c,dbmail_imap_session_fetch_parse_args: parse args[5] = [BODY.PEEK] dbmail-imapsession.c,_imap_session_fetch_parse_partspec: token [1], nexttoken []] dbmail-imapsession.c,_imap_session_fetch_parse_octet_range: parse token [)] dbmail-imapsession.c,dbmail_imap_session_fetch_parse_args: parse args[9] = [)] imapcommands.c,_ic_fetch: fetch_start [55063] fetch_end [55063] dbmysql.c,db_query: query [SELECT seen_flag, answered_flag, deleted_flag, flagged_flag, draft_flag, recent_flag, DATE_FORMAT(internal_date, '%Y-%m-%d %T'), rfcsize, message_idnr FROM dbmail_messages msg, dbmail_physmessage pm WHERE pm.id = msg.physmessage_id AND message_idnr BETWEEN '55063' AND '55063' AND mailbox_idnr = '1' AND status < '2' ORDER BY message_idnr ASC] RESPONSE: [* 292 FETCH (] RESPONSE: [RFC822.SIZE 89268] RESPONSE: [ ] RESPONSE: [FLAGS (\Seen \Recent)] RESPONSE: [ ] RESPONSE: [UID 55063] dbmail-imapsession.c,_imap_show_body_section: itemtype [5] partspec [1] dbmail-imapsession.c,_imap_cache_update: cache message [55063] filter [1] dbmail-imapsession.c,_imap_cache_update: cache size [89268] RESPONSE: [ ] RESPONSE: [BODY[1] RESPONSE: [] {34} ] RESPONSE: [) ] RESPONSE: [18 OK UID FETCH completed ] imap4.c,IMAPClientHandler: Finished command uid [0] COMMAND: [19 UID FETCH 55063 (UID RFC822.SIZE FLAGS BODY.PEEK[2.MIME])] arg[0]: 'FETCH' arg[1]: '55063' arg[2]: '(' arg[3]: 'UID' arg[4]: 'RFC822.SIZE' arg[5]: 'FLAGS' arg[6]: 'BODY.PEEK' arg[7]: '[' arg[8]: '2.MIME' arg[9]: ']' arg[10]: ')' imap4.c,IMAPClientHandler: Executing command uid... db.c,db_acl_has_right: checking ACL [read_flag] for user [2] on mailbox [1] db.c, db_acl_has_right: mailbox [1] is owned by user [2], is that also [2]? db.c, db_acl_has_right: mailbox [1] is owned by user [2], giving all rights dbmail-imapsession.c,dbmail_imap_session_fetch_parse_args: parse args[2] = [UID] dbmail-imapsession.c,dbmail_imap_session_fetch_parse_args: args[idx = 2] = UID (returning 3) dbmail-imapsession.c,dbmail_imap_session_fetch_parse_args: parse args[3] = [RFC822.SIZE] dbmail-imapsession.c,dbmail_imap_session_fetch_parse_args: args[idx = 3] = RFC822.SIZE (returning 4) dbmail-imapsession.c,dbmail_imap_session_fetch_parse_args: parse args[4] = [FLAGS] dbmail-imapsession.c,dbmail_imap_session_fetch_parse_args: args[idx = 4] = FLAGS (returning 5) dbmail-imapsession.c,dbmail_imap_session_fetch_parse_args: parse args[5] = [BODY.PEEK] dbmail-imapsession.c,_imap_session_fetch_parse_partspec: token [2.MIME], nexttoken []] dbmail-imapsession.c,_imap_session_fetch_parse_octet_range: parse token [)] dbmail-imapsession.c,dbmail_imap_session_fetch_parse_args: parse args[9] = [)] imapcommands.c,_ic_fetch: fetch_start [55063] fetch_end [55063] dbmysql.c,db_query: query [SELECT seen_flag, answered_flag, deleted_flag, flagged_flag, draft_flag, recent_flag, DATE_FORMAT(internal_date, '%Y-%m-%d %T'), rfcsize, message_idnr FROM dbmail_messages msg, dbmail_physmessage pm WHERE pm.id = msg.physmessage_id AND message_idnr BETWEEN '55063' AND '55063' AND mailbox_idnr = '1' AND status < '2' ORDER BY message_idnr ASC] RESPONSE: [* 292 FETCH (] RESPONSE: [RFC822.SIZE 89268] RESPONSE: [ ] RESPONSE: [FLAGS (\Seen \Recent)] RESPONSE: [ ] RESPONSE: [UID 55063] dbmail-imapsession.c,_imap_show_body_section: itemtype [2] partspec [2.] dbmail-imapsession.c,_imap_cache_update: cache message [55063] filter [1] dbmail-imapsession.c,_imap_cache_update: cache size [89268] RESPONSE: [ ] RESPONSE: [BODY[2.] RESPONSE: [MIME] RESPONSE: [] {229} ] RESPONSE: [) ] RESPONSE: [19 OK UID FETCH completed ] imap4.c,IMAPClientHandler: Finished command uid [0] COMMAND: [20 UID FETCH 55063 (UID RFC822.SIZE FLAGS BODY.PEEK[2.HEADER])] arg[0]: 'FETCH' arg[1]: '55063' arg[2]: '(' arg[3]: 'UID' arg[4]: 'RFC822.SIZE' arg[5]: 'FLAGS' arg[6]: 'BODY.PEEK' arg[7]: '[' arg[8]: '2.HEADER' arg[9]: ']' arg[10]: ')' imap4.c,IMAPClientHandler: Executing command uid... db.c,db_acl_has_right: checking ACL [read_flag] for user [2] on mailbox [1] db.c, db_acl_has_right: mailbox [1] is owned by user [2], is that also [2]? db.c, db_acl_has_right: mailbox [1] is owned by user [2], giving all rights dbmail-imapsession.c,dbmail_imap_session_fetch_parse_args: parse args[2] = [UID] dbmail-imapsession.c,dbmail_imap_session_fetch_parse_args: args[idx = 2] = UID (returning 3) dbmail-imapsession.c,dbmail_imap_session_fetch_parse_args: parse args[3] = [RFC822.SIZE] dbmail-imapsession.c,dbmail_imap_session_fetch_parse_args: args[idx = 3] = RFC822.SIZE (returning 4) dbmail-imapsession.c,dbmail_imap_session_fetch_parse_args: parse args[4] = [FLAGS] dbmail-imapsession.c,dbmail_imap_session_fetch_parse_args: args[idx = 4] = FLAGS (returning 5) dbmail-imapsession.c,dbmail_imap_session_fetch_parse_args: parse args[5] = [BODY.PEEK] dbmail-imapsession.c,_imap_session_fetch_parse_partspec: token [2.HEADER], nexttoken []] dbmail-imapsession.c,_imap_session_fetch_parse_octet_range: parse token [)] dbmail-imapsession.c,dbmail_imap_session_fetch_parse_args: parse args[9] = [)] imapcommands.c,_ic_fetch: fetch_start [55063] fetch_end [55063] dbmysql.c,db_query: query [SELECT seen_flag, answered_flag, deleted_flag, flagged_flag, draft_flag, recent_flag, DATE_FORMAT(internal_date, '%Y-%m-%d %T'), rfcsize, message_idnr FROM dbmail_messages msg, dbmail_physmessage pm WHERE pm.id = msg.physmessage_id AND message_idnr BETWEEN '55063' AND '55063' AND mailbox_idnr = '1' AND status < '2' ORDER BY message_idnr ASC] RESPONSE: [* 292 FETCH (] RESPONSE: [RFC822.SIZE 89268] RESPONSE: [ ] RESPONSE: [FLAGS (\Seen \Recent)] RESPONSE: [ ] RESPONSE: [UID 55063] dbmail-imapsession.c,_imap_show_body_section: itemtype [1] partspec [2.] dbmail-imapsession.c,_imap_cache_update: cache message [55063] filter [1] dbmail-imapsession.c,_imap_cache_update: cache size [89268] RESPONSE: [ ] RESPONSE: [BODY[2.] RESPONSE: [HEADER] RESPONSE: [] {229} ] RESPONSE: [) ] RESPONSE: [20 OK UID FETCH completed ] imap4.c,IMAPClientHandler: Finished command uid [0] COMMAND: [21 UID FETCH 55063 (UID RFC822.SIZE FLAGS BODY.PEEK[2.1.MIME])] arg[0]: 'FETCH' arg[1]: '55063' arg[2]: '(' arg[3]: 'UID' arg[4]: 'RFC822.SIZE' arg[5]: 'FLAGS' arg[6]: 'BODY.PEEK' arg[7]: '[' arg[8]: '2.1.MIME' arg[9]: ']' arg[10]: ')' imap4.c,IMAPClientHandler: Executing command uid... db.c,db_acl_has_right: checking ACL [read_flag] for user [2] on mailbox [1] db.c, db_acl_has_right: mailbox [1] is owned by user [2], is that also [2]? db.c, db_acl_has_right: mailbox [1] is owned by user [2], giving all rights dbmail-imapsession.c,dbmail_imap_session_fetch_parse_args: parse args[2] = [UID] dbmail-imapsession.c,dbmail_imap_session_fetch_parse_args: args[idx = 2] = UID (returning 3) dbmail-imapsession.c,dbmail_imap_session_fetch_parse_args: parse args[3] = [RFC822.SIZE] dbmail-imapsession.c,dbmail_imap_session_fetch_parse_args: args[idx = 3] = RFC822.SIZE (returning 4) dbmail-imapsession.c,dbmail_imap_session_fetch_parse_args: parse args[4] = [FLAGS] dbmail-imapsession.c,dbmail_imap_session_fetch_parse_args: args[idx = 4] = FLAGS (returning 5) dbmail-imapsession.c,dbmail_imap_session_fetch_parse_args: parse args[5] = [BODY.PEEK] dbmail-imapsession.c,_imap_session_fetch_parse_partspec: token [2.1.MIME], nexttoken []] dbmail-imapsession.c,_imap_session_fetch_parse_octet_range: parse token [)] dbmail-imapsession.c,dbmail_imap_session_fetch_parse_args: parse args[9] = [)] imapcommands.c,_ic_fetch: fetch_start [55063] fetch_end [55063] dbmysql.c,db_query: query [SELECT seen_flag, answered_flag, deleted_flag, flagged_flag, draft_flag, recent_flag, DATE_FORMAT(internal_date, '%Y-%m-%d %T'), rfcsize, message_idnr FROM dbmail_messages msg, dbmail_physmessage pm WHERE pm.id = msg.physmessage_id AND message_idnr BETWEEN '55063' AND '5506 (process:5921): GLib-GObject-WARNING **: invalid cast from `GMimeMessagePart' to `GMimeMessage'