On 04/20/2012 01:58 PM, drsyst...@globalcerts.net wrote:
> Paul,
> 
> I am enclosing below the text of my queries. My application has stored an
> encrypted message in a mysql database, and it calls dbmail-smtp to pass
> the decrypted message to it. At this point, dbmail-smtp puts the message
> into the dbmail database. I am trying to find out where the dot gets
> modified, and it looks like it was around dbmail_message_to_string, which
> uses g_mime_object_to_string. But I am having a hard time using TRACE. I
> added to dbmail.conf 'TRACE_MESSAGE=1' but I wonder if dbmail-smtp reads
> dmail.conf?

The dots most likely get modified in GMime.

It all happens in:

dbmail-message.c, _set_content_from_stream

which uses GMime's filter and stream types to decode dot-stuffed data.

Btw,

TRACE_MESSAGE doesn't exist. Try

TRACE_SYSLOG=5

or

TRACE_STDERR=5

And there is no way dbmail-smtp can do anything without reading dbmail.conf



> Can you tell me which package matters?

gmime-2.2.10-5.fc8.i386
gmime-devel-2.2.10-5.fc8.i386

But 2.2.10 is *really* old. It's from 2007, whereas the last 2.2 release
(2.2.27) is from august 2011.

I tested with 2.2.25 on debian/lenny and couldn't reproduce it there.

Upgrading GMime would be my best bet.

> 
> Can you please clarify: in the message "your mail reader doesn't support
> mime", is this an error message from the gmime library call made by
> dbmail-smtp?

That is a typical MIME thing: a short message just before the first mime
part, that is shown to those poor sods who use a mail-reader that
doesn't support MIME. It came from your own messageblks as included in
the docx attachment.


-- 
________________________________________________________________
Paul J Stevens        pjstevns @ gmail, twitter, skype, linkedin

  * Premium Hosting Services and Web Application Consultancy *

           www.nfg.nl/i...@nfg.nl/+31.85.877.99.97
________________________________________________________________
_______________________________________________
DBmail mailing list
DBmail@dbmail.org
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail

Reply via email to