Ok so probably the mimeparser is adding spurious \r characters in the string 
send to the client.
What's your take Aaron?

Could well be a valid bug for the tracker. Dan, could you please submit this to the bugtracker at http://www.dbmail.org/mantis/ ?

Can anyone else confirm this bug ? I havent access to my xp box right now to do 
it myself.

But then... querying the database for the same messageblks twice in the same 
imap command surely is another bug.

I'm taking this over to the -dev list.

thanks,

Dan Stilts wrote:
Hello all;

I am noticing that when I use Outlook Express to view IMAP mail, about 80% of the emails display with no From:, To:, or Subject, however those, as well as all header information is displayed in the body. I also use Mozilla Thunderbird and everything displays absolutely perfect in there. Any ideas? Here's my setup and a log snip with IMAP trace level at 5.

Thanks much!

DBMail2RC8 CVS 09/24/2004
Mysql 4.0.20
Postfix 2.1.4
Spamassassin

master.cf
=========================
dbmail-smtp    unix  -       n       n       -       -       pipe
flags= user=dbmail:dbmail argv=/usr/bin/spamc -f -e /software/dbmail2RC8/sbin/dbmail-smtp -d ${recipient} -r ${sender}

/var/log/maillog
=========================
Sep 30 09:08:04 ded3 dbmail/imap4d[24608]: IMAPClientHandler(): line read for PID 24608 Sep 30 09:08:04 ded3 dbmail/imap4d[24608]: COMMAND: [000P UID FETCH 61924 (BODY.PEEK[] UID)]
Sep 30 09:08:04 ded3 dbmail/imap4d[24608]: arg[0]: 'FETCH'
Sep 30 09:08:04 ded3 dbmail/imap4d[24608]: arg[1]: '61924'
Sep 30 09:08:04 ded3 dbmail/imap4d[24608]: arg[2]: '('
Sep 30 09:08:04 ded3 dbmail/imap4d[24608]: arg[3]: 'BODY.PEEK'
Sep 30 09:08:04 ded3 dbmail/imap4d[24608]: arg[4]: '['
Sep 30 09:08:04 ded3 dbmail/imap4d[24608]: arg[5]: ']'
Sep 30 09:08:04 ded3 dbmail/imap4d[24608]: arg[6]: 'UID'
Sep 30 09:08:04 ded3 dbmail/imap4d[24608]: arg[7]: ')'
Sep 30 09:08:04 ded3 dbmail/imap4d[24608]: IMAPClientHandler(): Executing command uid... Sep 30 09:08:04 ded3 dbmail/imap4d[24608]: db.c,db_acl_has_right: checking ACL for user [3] on mailbox [53] Sep 30 09:08:04 ded3 dbmail/imap4d[24608]: dbmysql.c,db_query: executing query [SELECT mailbox_idnr FROM dbmail_mailboxes WHERE mailbox_idnr = '53' AND owner_idnr = '3'] Sep 30 09:08:04 ded3 dbmail/imap4d[24608]: next_fetch_item(): args[idx = 5] = UID (returning 6) Sep 30 09:08:04 ded3 dbmail/imap4d[24608]: Fetching msgID 61924 (fetch num 61925) Sep 30 09:08:04 ded3 dbmail/imap4d[24608]: dbmysql.c,db_query: executing query [SELECT messageblk FROM dbmail_messageblks LEFT JOIN dbmail_messages USING (physmessage_id) WHERE dbmail_messages.message_idnr = '61924' ORDER BY messageblk_idnr] Sep 30 09:08:04 ded3 dbmail/imap4d[24608]: db_start_msg(): starting, stopbound: '<null>' Sep 30 09:08:04 ded3 dbmail/imap4d[24608]: mime_readheader(): entering mime loop Sep 30 09:08:04 ded3 dbmail/imap4d[24608]: mime_readheader(): found double newline; header size: 53 lines Sep 30 09:08:04 ded3 dbmail/imap4d[24608]: db_start_msg(): found singlepart msg Sep 30 09:08:04 ded3 dbmail/imap4d[24608]: dbmsgbuf.c,db_update_msgbuf: update msgbuf_buf updating 131072, 5206, 2641, 2641 Sep 30 09:08:04 ded3 dbmail/imap4d[24608]: dbmsgbuf.c,db_update_msgbuf: update msgbuf: entire fit Sep 30 09:08:04 ded3 dbmail/imap4d[24608]: dbmsgbuf.c,db_update_msgbuf update msgbuf succes NOMORE
Sep 30 09:08:04 ded3 dbmail/imap4d[24608]: db_start_msg(): exit
Sep 30 09:08:04 ded3 dbmail/imap4d[24608]: dbmsgbuf.c,db_dump_range: Dumping range: (0,2564) - (1,2640) Sep 30 09:08:04 ded3 dbmail/imap4d[24608]: dbmysql.c,db_query: executing query [SELECT messageblk FROM dbmail_messageblks LEFT JOIN dbmail_messages USING (physmessage_id) WHERE dbmail_messages.message_idnr = '61924' ORDER BY messageblk_idnr] Sep 30 09:08:04 ded3 dbmail/imap4d[24608]: dbmsgbuf.c,db_dump_range: adding '^M' to buf Sep 30 09:08:04 ded3 dbmail/imap4d[24608]: dbmsgbuf.c,db_dump_range: adding '^M' to buf Sep 30 09:08:04 ded3 dbmail/imap4d[24608]: IMAPClientHandler(): Finished command uid

_______________________________________________
Dbmail mailing list
Dbmail@dbmail.org
https://mailman.fastxs.nl/mailman/listinfo/dbmail



--
  ________________________________________________________________
  Paul Stevens                                  mailto:[EMAIL PROTECTED]
  NET FACILITIES GROUP                     PGP: finger [EMAIL PROTECTED]
  The Netherlands________________________________http://www.nfg.nl

Reply via email to