Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: DBMail: users

problem with 'dot' on Dbmail 2.2.26

 

 

DBMail users RSS feed   Index | Next | Previous | View Threaded


drsystems at globalcerts

Apr 19, 2012, 8:42 AM

Post #1 of 13 (503 views)
Permalink
problem with 'dot' on Dbmail 2.2.26

Hello,

I work on a product that uses dbmail. Our new version is running dbmail
3.0 and everything is fine. But I have a customer running an old version
with dbmail 2.2.26, and they reported a bug that I need to produce a patch
for.

The symptom is: a user sends an email where the following number gets
split into two lines as:
3
..375%
Dbmail changes this into
3
..75%

I am comparing the code and bug fixes regarding 'dot' on the two dbmail
versions, but cannot find where the problem is in 2.2.26. I noticed that a
lot changed between the two source trees. I read about some dot-stuffing
changes in various places, but can't find what I need to fix.

I am hoping to be able to patch the C code in 2.2.26 and produce a patch
for this customer.

Enclosed is an output of mysql queries comparing the text stored in dbmail
between 2.2.26 and 3.0-rc3. FYI: the 2.2.26 runs on Fedora 8 and my
current 3.0-rc3 runs on CentOS 6.2.

Thank you,
Dirce
Attachments: dot-bug.docx (12.0 KB)


h.reindl at thelounge

Apr 19, 2012, 8:52 AM

Post #2 of 13 (487 views)
Permalink
Re: problem with 'dot' on Dbmail 2.2.26 [In reply to]

http://git.dbmail.eu/paul/dbmail/commit/?id=608eb6ce25b3522085facd8a42f78f14f425c120

Am 19.04.2012 17:42, schrieb drsystems [at] globalcerts:
> Hello,
>
> I work on a product that uses dbmail. Our new version is running dbmail
> 3.0 and everything is fine. But I have a customer running an old version
> with dbmail 2.2.26, and they reported a bug that I need to produce a patch
> for.
>
> The symptom is: a user sends an email where the following number gets
> split into two lines as:
> 3
> ..375%
> Dbmail changes this into
> 3
> ..75%
>
> I am comparing the code and bug fixes regarding 'dot' on the two dbmail
> versions, but cannot find where the problem is in 2.2.26. I noticed that a
> lot changed between the two source trees. I read about some dot-stuffing
> changes in various places, but can't find what I need to fix.
>
> I am hoping to be able to patch the C code in 2.2.26 and produce a patch
> for this customer.
>
> Enclosed is an output of mysql queries comparing the text stored in dbmail
> between 2.2.26 and 3.0-rc3. FYI: the 2.2.26 runs on Fedora 8 and my
> current 3.0-rc3 runs on CentOS 6.2.
>
> Thank you,
> Dirce
>
>
>
>
>
> _______________________________________________
> DBmail mailing list
> DBmail [at] dbmail
> http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail

--

Mit besten Grüßen, Reindl Harald
the lounge interactive design GmbH
A-1060 Vienna, Hofmühlgasse 17
CTO / software-development / cms-solutions
p: +43 (1) 595 3999 33, m: +43 (676) 40 221 40
icq: 154546673, http://www.thelounge.net/

http://www.thelounge.net/signature.asc.what.htm
Attachments: signature.asc (0.26 KB)


drsystems at globalcerts

Apr 19, 2012, 10:29 AM

Post #3 of 13 (485 views)
Permalink
Re: problem with 'dot' on Dbmail 2.2.26 [In reply to]

Hi,

For what I can find, your pointer is for code in dbmail 3.0. When I search
for this code in dbmail 2.2.26, I can't find any references to 'tokenizer'
or 'parser_state'. I imagine that some of this was re-written for 3.0.

I am hoping to be able to patch the code in 2.2.26.
Do you know if this has been done?

Thanks,
Dirce


> http://git.dbmail.eu/paul/dbmail/commit/?id=608eb6ce25b3522085facd8a42f78f14f425c120
>
> Am 19.04.2012 17:42, schrieb drsystems [at] globalcerts:
>> Hello,
>>
>> I work on a product that uses dbmail. Our new version is running dbmail
>> 3.0 and everything is fine. But I have a customer running an old version
>> with dbmail 2.2.26, and they reported a bug that I need to produce a
>> patch
>> for.
>>
>> The symptom is: a user sends an email where the following number gets
>> split into two lines as:
>> 3
>> ..375%
>> Dbmail changes this into
>> 3
>> ..75%
>>
>> I am comparing the code and bug fixes regarding 'dot' on the two dbmail
>> versions, but cannot find where the problem is in 2.2.26. I noticed that
>> a
>> lot changed between the two source trees. I read about some dot-stuffing
>> changes in various places, but can't find what I need to fix.
>>
>> I am hoping to be able to patch the C code in 2.2.26 and produce a patch
>> for this customer.
>>
>> Enclosed is an output of mysql queries comparing the text stored in
>> dbmail
>> between 2.2.26 and 3.0-rc3. FYI: the 2.2.26 runs on Fedora 8 and my
>> current 3.0-rc3 runs on CentOS 6.2.
>>
>> Thank you,
>> Dirce
>>
>>
>>
>>
>>
>> _______________________________________________
>> DBmail mailing list
>> DBmail [at] dbmail
>> http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail
>
> --
>
> Mit besten Grüßen, Reindl Harald
> the lounge interactive design GmbH
> A-1060 Vienna, Hofmühlgasse 17
> CTO / software-development / cms-solutions
> p: +43 (1) 595 3999 33, m: +43 (676) 40 221 40
> icq: 154546673, http://www.thelounge.net/
>
> http://www.thelounge.net/signature.asc.what.htm
>
> _______________________________________________
> DBmail mailing list
> DBmail [at] dbmail
> http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail
>


_______________________________________________
DBmail mailing list
DBmail [at] dbmail
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail


drsystems at globalcerts

Apr 19, 2012, 11:55 AM

Post #4 of 13 (484 views)
Permalink
Re: problem with 'dot' on Dbmail 2.2.26 [In reply to]

Hi,

I am trying to turn on the debugging trace on 2.2.26 to try to figure out
where the dots are getting incorrectly changed.

The program dbmail-smtp gets called from a php file.

Here is the output on my http client:

cmd=/usr/local/sbin/dbmail-smtp -u 'dirce.richards [at] gmail' -v
>>/var/tmp/dbmail-smtp

When this runs, the file /var/tmp/dbmail-smtp gets created, but it is empty:

-rw-r--r-- 1 apache apache 0 2012-04-19 14:48 dbmail-smtp

Do you know what am I missing here? There are no errors in
/var/log/dbmail.err.

Thanks,
Dirce


> Hi,
>
> For what I can find, your pointer is for code in dbmail 3.0. When I search
> for this code in dbmail 2.2.26, I can't find any references to 'tokenizer'
> or 'parser_state'. I imagine that some of this was re-written for 3.0.
>
> I am hoping to be able to patch the code in 2.2.26.
> Do you know if this has been done?
>
> Thanks,
> Dirce
>
>
>> http://git.dbmail.eu/paul/dbmail/commit/?id=608eb6ce25b3522085facd8a42f78f14f425c120
>>
>> Am 19.04.2012 17:42, schrieb drsystems [at] globalcerts:
>>> Hello,
>>>
>>> I work on a product that uses dbmail. Our new version is running dbmail
>>> 3.0 and everything is fine. But I have a customer running an old
>>> version
>>> with dbmail 2.2.26, and they reported a bug that I need to produce a
>>> patch
>>> for.
>>>
>>> The symptom is: a user sends an email where the following number gets
>>> split into two lines as:
>>> 3
>>> ..375%
>>> Dbmail changes this into
>>> 3
>>> ..75%
>>>
>>> I am comparing the code and bug fixes regarding 'dot' on the two dbmail
>>> versions, but cannot find where the problem is in 2.2.26. I noticed
>>> that
>>> a
>>> lot changed between the two source trees. I read about some
>>> dot-stuffing
>>> changes in various places, but can't find what I need to fix.
>>>
>>> I am hoping to be able to patch the C code in 2.2.26 and produce a
>>> patch
>>> for this customer.
>>>
>>> Enclosed is an output of mysql queries comparing the text stored in
>>> dbmail
>>> between 2.2.26 and 3.0-rc3. FYI: the 2.2.26 runs on Fedora 8 and my
>>> current 3.0-rc3 runs on CentOS 6.2.
>>>
>>> Thank you,
>>> Dirce
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> DBmail mailing list
>>> DBmail [at] dbmail
>>> http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail
>>
>> --
>>
>> Mit besten Grüßen, Reindl Harald
>> the lounge interactive design GmbH
>> A-1060 Vienna, Hofmühlgasse 17
>> CTO / software-development / cms-solutions
>> p: +43 (1) 595 3999 33, m: +43 (676) 40 221 40
>> icq: 154546673, http://www.thelounge.net/
>>
>> http://www.thelounge.net/signature.asc.what.htm
>>
>> _______________________________________________
>> DBmail mailing list
>> DBmail [at] dbmail
>> http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail
>>
>
>
> _______________________________________________
> DBmail mailing list
> DBmail [at] dbmail
> http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail
>


_______________________________________________
DBmail mailing list
DBmail [at] dbmail
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail


aleksander.kamenik at krediidiinfo

Apr 19, 2012, 11:48 PM

Post #5 of 13 (485 views)
Permalink
Re: problem with 'dot' on Dbmail 2.2.26 [In reply to]

> cmd=/usr/local/sbin/dbmail-smtp -u 'dirce.richards [at] gmail' -v
> >>/var/tmp/dbmail-smtp

> When this runs, the file /var/tmp/dbmail-smtp gets created, but it is
> empty:

Maybe verbose output is on stderr, not stdout? add 2>&1 Though I'm guessing.

Regards,

Aleksander Kamenik
System Administrator
Krediidiinfo AS
an Experian Company
Phone: +372 665 9649
Email: aleksander [at] krediidiinfo


> -----Original Message-----
> From: dbmail-bounces [at] dbmail [mailto:dbmail-bounces [at] dbmail] On
> Behalf Of drsystems [at] globalcerts
> Sent: Thursday, April 19, 2012 9:55 PM
> To: DBMail mailinglist
> Subject: Re: [Dbmail] problem with 'dot' on Dbmail 2.2.26
>
> Hi,
>
> I am trying to turn on the debugging trace on 2.2.26 to try to figure
> out where the dots are getting incorrectly changed.
>
> The program dbmail-smtp gets called from a php file.
>
> Here is the output on my http client:
>
>
>
> -rw-r--r-- 1 apache apache 0 2012-04-19 14:48 dbmail-smtp
>
> Do you know what am I missing here? There are no errors in
> /var/log/dbmail.err.
>
> Thanks,
> Dirce
>
>
> > Hi,
> >
> > For what I can find, your pointer is for code in dbmail 3.0. When I
> > search for this code in dbmail 2.2.26, I can't find any references to
> 'tokenizer'
> > or 'parser_state'. I imagine that some of this was re-written for
> 3.0.
> >
> > I am hoping to be able to patch the code in 2.2.26.
> > Do you know if this has been done?
> >
> > Thanks,
> > Dirce
> >
> >
> >>
> http://git.dbmail.eu/paul/dbmail/commit/?id=608eb6ce25b3522085facd8a4
> >> 2f78f14f425c120
> >>
> >> Am 19.04.2012 17:42, schrieb drsystems [at] globalcerts:
> >>> Hello,
> >>>
> >>> I work on a product that uses dbmail. Our new version is running
> >>> dbmail
> >>> 3.0 and everything is fine. But I have a customer running an old
> >>> version with dbmail 2.2.26, and they reported a bug that I need to
> >>> produce a patch for.
> >>>
> >>> The symptom is: a user sends an email where the following number
> >>> gets split into two lines as:
> >>> 3
> >>> ..375%
> >>> Dbmail changes this into
> >>> 3
> >>> ..75%
> >>>
> >>> I am comparing the code and bug fixes regarding 'dot' on the two
> >>> dbmail versions, but cannot find where the problem is in 2.2.26. I
> >>> noticed that a lot changed between the two source trees. I read
> >>> about some dot-stuffing changes in various places, but can't find
> >>> what I need to fix.
> >>>
> >>> I am hoping to be able to patch the C code in 2.2.26 and produce a
> >>> patch for this customer.
> >>>
> >>> Enclosed is an output of mysql queries comparing the text stored in
> >>> dbmail between 2.2.26 and 3.0-rc3. FYI: the 2.2.26 runs on Fedora 8
> >>> and my current 3.0-rc3 runs on CentOS 6.2.
> >>>
> >>> Thank you,
> >>> Dirce
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> _______________________________________________
> >>> DBmail mailing list
> >>> DBmail [at] dbmail
> >>> http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail
> >>
> >> --
> >>
> >> Mit besten Grüßen, Reindl Harald
> >> the lounge interactive design GmbH
> >> A-1060 Vienna, Hofmühlgasse 17
> >> CTO / software-development / cms-solutions
> >> p: +43 (1) 595 3999 33, m: +43 (676) 40 221 40
> >> icq: 154546673, http://www.thelounge.net/
> >>
> >> http://www.thelounge.net/signature.asc.what.htm
> >>
> >> _______________________________________________
> >> DBmail mailing list
> >> DBmail [at] dbmail
> >> http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail
> >>
> >
> >
> > _______________________________________________
> > DBmail mailing list
> > DBmail [at] dbmail
> > http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail
> >
>
>
> _______________________________________________
> DBmail mailing list
> DBmail [at] dbmail
> http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail
_______________________________________________
DBmail mailing list
DBmail [at] dbmail
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail


paul at nfg

Apr 20, 2012, 1:12 AM

Post #6 of 13 (488 views)
Permalink
Re: problem with 'dot' on Dbmail 2.2.26 [In reply to]

On 04/19/2012 05:42 PM, drsystems [at] globalcerts wrote:
> Hello,
>
> I work on a product that uses dbmail. Our new version is running dbmail
> 3.0 and everything is fine. But I have a customer running an old version
> with dbmail 2.2.26, and they reported a bug that I need to produce a patch
> for.
>
> The symptom is: a user sends an email where the following number gets
> split into two lines as:
> 3
> ..375%
> Dbmail changes this into
> 3
> ..75%

Please send debug messages in plain-text format (docx aint that).

What version of gmime are you using? dbmail-2 requires gmime-2.0.


I can't reproduce this problem by doing

cat > testmsg << EOF
From: nobody [at] foo
To: testuser1 [at] localhos
Subject: test
Content-Type: MULTIPART/mixed;
boundary=MimeBoundary000000000000000000000000001
Content-Transfer-Encoding: 7BIT

This is a MIME message. If you're
seeing this, your mail reader
probably does not support MIME-formatted messages. Send mail to
mime [at] docserver for more info.

--MimeBoundary000000000000000000000000001
Content-Type: TEXT/plain; charset="iso-8859-1"
Content-Disposition: inline
Content-Transfer-Encoding: 8BIT

3
..375%

--MimeBoundary000000000000000000000000001--
EOF

cat testmsg | dbmail-smtp -u testuser1

mysql dbmail2

mysql> select messageblk from dbmail_messageblks order by
messageblk_idnr desc limit 1;
+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| messageblk




|
+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| This is a MIME message. If you're
seeing this, your mail reader
probably does not support MIME-formatted messages. Send mail to
mime [at] docserver for more info.

--MimeBoundary000000000000000000000000001
Content-Type: TEXT/plain; charset="iso-8859-1"
Content-Disposition: inline
Content-Transfer-Encoding: 8BIT

3
..375%

--MimeBoundary000000000000000000000000001--
|
+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1 row in set (0.00 sec)





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

* Premium Hosting Services and Web Application Consultancy *

www.nfg.nl/info [at] nfg/+31.85.877.99.97
________________________________________________________________
_______________________________________________
DBmail mailing list
DBmail [at] dbmail
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail


drsystems at globalcerts

Apr 20, 2012, 4:58 AM

Post #7 of 13 (494 views)
Permalink
Re: problem with 'dot' on Dbmail 2.2.26 [In reply to]

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?

I checked the gmime version:
Excluding Packages in global exclude list
Finished
gmime-devel-2.2.10-5.fc8.i386 : Header files to develop libgmime applications
Repo : fedora
Matched from:
Other : gmime-devel = 2.2.10-5.fc8



gmime-sharp-2.2.10-5.fc8.i386 : mono bindings for gmime
Repo : fedora
Matched from:
Other : gmime-sharp = 2.2.10-5.fc8



gmime-2.2.10-5.fc8.i386 : Library for creating and parsing MIME messages
Repo : fedora
Matched from:
Other : gmime = 2.2.10-5.fc8



gmime-2.2.10-5.fc8.i386 : Library for creating and parsing MIME messages
Repo : installed
Matched from:



gmime-sharp-2.2.10-5.fc8.i386 : mono bindings for gmime
Repo : installed
Matched from:



gmime-devel-2.2.10-5.fc8.i386 : Header files to develop libgmime applications
Repo : installed
Matched from:

Can you tell me which package matters?

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?

Thanks,
Dirce
________________

Here is a comparison between the message content for 2.2.26 (Fedora)and
3.0-rc3 (CentOS)
I send a msg with this in the body:
3
..375%



Dbmail 2.2.26 :mysql> select * from dbmail_messageblks;
Content-Type: MULTIPART/mixed;
boundary=MimeBoundary000000000000000000000000001
Content-Transfer-Encoding: 7BIT

| 1396 | 1 |
| 34 | 17 | This is a MIME message. If you're
seeing this, your mail reader
probably does not support MIME-formatted messages. Send mail to
mime [at] docserver for more info.

--MimeBoundary000000000000000000000000001
Content-Type: TEXT/plain; charset="iso-8859-1"
Content-Disposition: inline
Content-Transfer-Encoding: 8BIT

3
..75%

Dbmail 3.0-rc3 :mysql> select * from dbmail_mimeparts;
Content-Type: MULTIPART/mixed;
boundary=MimeBoundary000000000000000000000000001
Content-Transfer-Encoding: 7BIT
| 1377 |
| 13 | e58a794d41f4ddf6323c6f70115a9bddd69bc4f1 | 3
..375%


-------------------------------------------


> On 04/19/2012 05:42 PM, drsystems [at] globalcerts wrote:
>> Hello,
>>
>> I work on a product that uses dbmail. Our new version is running dbmail
>> 3.0 and everything is fine. But I have a customer running an old version
>> with dbmail 2.2.26, and they reported a bug that I need to produce a
>> patch
>> for.
>>
>> The symptom is: a user sends an email where the following number gets
>> split into two lines as:
>> 3
>> ..375%
>> Dbmail changes this into
>> 3
>> ..75%
>
> Please send debug messages in plain-text format (docx aint that).
>
> What version of gmime are you using? dbmail-2 requires gmime-2.0.
>
>
> I can't reproduce this problem by doing
>
> cat > testmsg << EOF
> From: nobody [at] foo
> To: testuser1 [at] localhos
> Subject: test
> Content-Type: MULTIPART/mixed;
> boundary=MimeBoundary000000000000000000000000001
> Content-Transfer-Encoding: 7BIT
>
> This is a MIME message. If you're
> seeing this, your mail reader
> probably does not support MIME-formatted messages. Send mail to
> mime [at] docserver for more info.
>
> --MimeBoundary000000000000000000000000001
> Content-Type: TEXT/plain; charset="iso-8859-1"
> Content-Disposition: inline
> Content-Transfer-Encoding: 8BIT
>
> 3
> ..375%
>
> --MimeBoundary000000000000000000000000001--
> EOF
>
> cat testmsg | dbmail-smtp -u testuser1
>
> mysql dbmail2
>
> mysql> select messageblk from dbmail_messageblks order by
> messageblk_idnr desc limit 1;
> +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
> | messageblk
>
>
>
>
> |
> +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
> | This is a MIME message. If you're
> seeing this, your mail reader
> probably does not support MIME-formatted messages. Send mail to
> mime [at] docserver for more info.
>
> --MimeBoundary000000000000000000000000001
> Content-Type: TEXT/plain; charset="iso-8859-1"
> Content-Disposition: inline
> Content-Transfer-Encoding: 8BIT
>
> 3
> ..375%
>
> --MimeBoundary000000000000000000000000001--
> |
> +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
> 1 row in set (0.00 sec)
>
>
>
>
>
> --
> ________________________________________________________________
> Paul J Stevens pjstevns @ gmail, twitter, skype, linkedin
>
> * Premium Hosting Services and Web Application Consultancy *
>
> www.nfg.nl/info [at] nfg/+31.85.877.99.97
> ________________________________________________________________
> _______________________________________________
> DBmail mailing list
> DBmail [at] dbmail
> http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail
>


_______________________________________________
DBmail mailing list
DBmail [at] dbmail
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail


paul at nfg

Apr 20, 2012, 6:00 AM

Post #8 of 13 (485 views)
Permalink
Re: problem with 'dot' on Dbmail 2.2.26 [In reply to]

On 04/20/2012 01:58 PM, drsystems [at] globalcerts 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/info [at] nfg/+31.85.877.99.97
________________________________________________________________
_______________________________________________
DBmail mailing list
DBmail [at] dbmail
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail


drsystems at globalcerts

Apr 20, 2012, 6:22 AM

Post #9 of 13 (482 views)
Permalink
Re: problem with 'dot' on Dbmail 2.2.26 [In reply to]

Thank you very much. I will try to upgrade gmime on the Fedora 8, or make
a case to upgrade the customer to our newest release.
Dirce

> On 04/20/2012 01:58 PM, drsystems [at] globalcerts 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/info [at] nfg/+31.85.877.99.97
> ________________________________________________________________
> _______________________________________________
> DBmail mailing list
> DBmail [at] dbmail
> http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail
>


_______________________________________________
DBmail mailing list
DBmail [at] dbmail
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail


h.reindl at thelounge

Apr 20, 2012, 6:30 AM

Post #10 of 13 (484 views)
Permalink
Re: problem with 'dot' on Dbmail 2.2.26 [In reply to]

Am 20.04.2012 15:22, schrieb drsystems [at] globalcerts:
> Thank you very much. I will try to upgrade gmime on the Fedora 8, or make
> a case to upgrade the customer to our newest release.

don't get me wrong but who in the world is running Fedora 8
in production while the latest supported version is F15?

this are 7 releases and so a minium of THREE YEARS
without any security or bugfix update!

said from one who is using Fedora since F9 on 25 production and
around 10 test-machines plus workstations, routers etc. starting
with Fedora 3 on a fileserver many years ago
Attachments: signature.asc (0.26 KB)


paul at nfg

Apr 20, 2012, 6:44 AM

Post #11 of 13 (482 views)
Permalink
Re: problem with 'dot' on Dbmail 2.2.26 [In reply to]

On 04/20/2012 03:30 PM, Reindl Harald wrote:
>
>
> Am 20.04.2012 15:22, schrieb drsystems [at] globalcerts:
>> Thank you very much. I will try to upgrade gmime on the Fedora 8, or make
>> a case to upgrade the customer to our newest release.
>
> don't get me wrong but who in the world is running Fedora 8
> in production while the latest supported version is F15?
>
> this are 7 releases and so a minium of THREE YEARS
> without any security or bugfix update!

So? If it ain't broken, don't fix it.

I still run ubuntu/hardy and even some debian/etch VPS and chroot
environments here and there. For good reasons imo.




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

* Premium Hosting Services and Web Application Consultancy *

www.nfg.nl/info [at] nfg/+31.85.877.99.97
________________________________________________________________
_______________________________________________
DBmail mailing list
DBmail [at] dbmail
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail


h.reindl at thelounge

Apr 20, 2012, 6:52 AM

Post #12 of 13 (484 views)
Permalink
Re: problem with 'dot' on Dbmail 2.2.26 [In reply to]

Am 20.04.2012 15:44, schrieb Paul J Stevens:
> On 04/20/2012 03:30 PM, Reindl Harald wrote:
>>
>>
>> Am 20.04.2012 15:22, schrieb drsystems [at] globalcerts:
>>> Thank you very much. I will try to upgrade gmime on the Fedora 8, or make
>>> a case to upgrade the customer to our newest release.
>>
>> don't get me wrong but who in the world is running Fedora 8
>> in production while the latest supported version is F15?
>>
>> this are 7 releases and so a minium of THREE YEARS
>> without any security or bugfix update!
>
> So? If it ain't broken, don't fix it.
>
> I still run ubuntu/hardy and even some debian/etch VPS and chroot
> environments here and there. For good reasons imo.

i have seen way too much successful breakins in customer servers
the last few years that i would ever connect a non-supported
OS to WAN

chroot will not help if the kernel itself is vulnerable and
a low treated security bypass can often be used to trigger
even local exploits in other system components and they possible
bypases in systems these days are wide spreaded

in my opinion i consider a outdated system as broken
Attachments: signature.asc (0.26 KB)


drsystems at globalcerts

Apr 20, 2012, 7:19 AM

Post #13 of 13 (484 views)
Permalink
Re: problem with 'dot' on Dbmail 2.2.26 [In reply to]

You have good points here - of course upgrading is always the goal.
Dirce

>
>
> Am 20.04.2012 15:44, schrieb Paul J Stevens:
>> On 04/20/2012 03:30 PM, Reindl Harald wrote:
>>>
>>>
>>> Am 20.04.2012 15:22, schrieb drsystems [at] globalcerts:
>>>> Thank you very much. I will try to upgrade gmime on the Fedora 8, or
>>>> make
>>>> a case to upgrade the customer to our newest release.
>>>
>>> don't get me wrong but who in the world is running Fedora 8
>>> in production while the latest supported version is F15?
>>>
>>> this are 7 releases and so a minium of THREE YEARS
>>> without any security or bugfix update!
>>
>> So? If it ain't broken, don't fix it.
>>
>> I still run ubuntu/hardy and even some debian/etch VPS and chroot
>> environments here and there. For good reasons imo.
>
> i have seen way too much successful breakins in customer servers
> the last few years that i would ever connect a non-supported
> OS to WAN
>
> chroot will not help if the kernel itself is vulnerable and
> a low treated security bypass can often be used to trigger
> even local exploits in other system components and they possible
> bypases in systems these days are wide spreaded
>
> in my opinion i consider a outdated system as broken
>
> _______________________________________________
> DBmail mailing list
> DBmail [at] dbmail
> http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail
>


_______________________________________________
DBmail mailing list
DBmail [at] dbmail
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail

DBMail users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.