Mantis Bug Tracker | 15 Jun 2013 21:17

[DBMail 0000990]: Compilation stops with incomplete type error in ImapSession struct for master


The following issue has been RESOLVED. 
====================================================================== 
http://www.dbmail.org/mantis/view.php?id=990 
====================================================================== 
Reported By:                fabiangergely
Assigned To:                paul
====================================================================== 
Project:                    DBMail
Issue ID:                   990
Category:                   General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     resolved
target:                      
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             02-Oct-12 13:52 CEST
Last Modified:              15-Jun-13 21:17 CEST
====================================================================== 
Summary:                    Compilation stops with incomplete type error in
ImapSession struct for master
Description: 
This error is reproducible on the master branch, with Ubuntu 11.04 and
Debian Squeeze from commit 3618637ed7629422d200a20448038010640fdaab (and
any versions above). With the version from one commit below it cannot be
reproduced any more.

(Continue reading)

Joel van Velden | 15 Jun 2013 14:06
Picon

libzdb >= 2.11 will fix postgres >= 9.0 problem

Hi

Currently for dbmail to work with postgresql >= 9.0  a workaround is 
required:
(as per the INSTALL file) to modify postgresql.conf to change 
bytea_output = 'hex' to bytea_output = 'escape'.

libzdb since version 2.11 supports the default 'hex' format, which means 
no change to postgresql.conf is needed, if this version is used.

http://www.tildeslash.com/pipermail/libzdb-general/2012-December/000244.html 
:

Version 2.11 of libzdb is now available:

Changes in this release:
------------------------

* New: Added support for the new bytea hex encoding format
  introduced in PostgreSQL 9.0. This means that ResultSet_getBlob
  will correctly return the binary stored in a bytea column independent
  if the column is escape encoded (old format) or hex encoded (new format).

Changing bytea_output applies to all databases on a system, not just 
dbmail, so it is not a very good solution.

Could a dependency be made to use libzdb >= 2.11?

I have not tried this, this is just a hypothetical.

(Continue reading)

Paul J Stevens | 15 Jun 2013 12:01
Picon
Favicon
Gravatar

[SCM]Paul's DBMail tree branch, master, updated. a6e4290ba0ce37c7255bd9487232974b05ef07c9

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Paul's DBMail tree".

The branch, master has been updated
       via  a6e4290ba0ce37c7255bd9487232974b05ef07c9 (commit)
      from  0115d6c7c3d8f76808c64e4b60bc44d52f22272d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit a6e4290ba0ce37c7255bd9487232974b05ef07c9
Author: Paul J Stevens <paul@...>
Date:   Sat Jun 15 11:58:50 2013 +0200

    IMAP: replace GMutex with pthread_mutex_t; #990

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

Summary of changes:
 src/dbmail-imapsession.c |   10 ++++++----
 src/dbmail-imapsession.h |    6 +++++-
 src/imap4.c              |    4 ++--
 3 files changed, 13 insertions(+), 7 deletions(-)

hooks/post-receive
--
Paul's DBMail tree
(Continue reading)

Mantis Bug Tracker | 15 Jun 2013 11:47

[DBMail 0000990]: Compilation stops with incomplete type error in ImapSession struct for master


The following issue has been ACKNOWLEDGED. 
====================================================================== 
http://www.dbmail.org/mantis/view.php?id=990 
====================================================================== 
Reported By:                fabiangergely
Assigned To:                paul
====================================================================== 
Project:                    DBMail
Issue ID:                   990
Category:                   General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     acknowledged
target:                      
====================================================================== 
Date Submitted:             02-Oct-12 13:52 CEST
Last Modified:              15-Jun-13 11:47 CEST
====================================================================== 
Summary:                    Compilation stops with incomplete type error in
ImapSession struct for master
Description: 
This error is reproducible on the master branch, with Ubuntu 11.04 and
Debian Squeeze from commit 3618637ed7629422d200a20448038010640fdaab (and
any versions above). With the version from one commit below it cannot be
reproduced any more.

The error message is the following:

(Continue reading)

Joel van Velden | 15 Jun 2013 11:05
Picon

master branch depends on glib >=2.32

Hi

Tried compiling the master branch on debian squeeze (old-stable), and 
ran into problems:

<snip>
make[4]: Entering directory `/root/dbmailHEAD/dbmail/src/modules'
/bin/bash ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src    -Wall
-O1 -DEXTRA -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -D_LARGEFILE64_SOURCE
-pthread -I/usr/include/gmime-2.4 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  
-I/usr/include/zdb -W -Wall -Wpointer-arith -Wstrict-prototypes -MT sortnull.lo -MD -MP -MF
.deps/sortnull.Tpo -c -o sortnull.lo sortnull.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Wall -O1 -DEXTRA -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_LARGEFILE64_SOURCE -pthread
-I/usr/include/gmime-2.4 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/zdb -W -Wall -Wpointer-arith -Wstrict-prototypes -MT sortnull.lo -MD -MP -MF
.deps/sortnull.Tpo -c sortnull.c  -fPIC -DPIC -o .libs/sortnull.o
In file included from ../../src/dbmail.h:119,
                  from sortnull.c:28:
.../../src/dbmail-imapsession.h:20: error: field 'lock' has incomplete type
make[4]: *** [sortnull.lo] Error 1
make[4]: Leaving directory `/root/dbmailHEAD/dbmail/src/modules'
make[3]: *** [all-recursive] Error 1
</snip>

 From what I can tell the problem is the libglib version.
Debian squeeze has libglib2.0-dev version 2.24

I created a small test program:

(Continue reading)

Paul J Stevens | 14 Jun 2013 20:48
Picon
Favicon
Gravatar

[SCM]Paul's DBMail tree branch, master, updated. 0115d6c7c3d8f76808c64e4b60bc44d52f22272d

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Paul's DBMail tree".

The branch, master has been updated
       via  0115d6c7c3d8f76808c64e4b60bc44d52f22272d (commit)
      from  90e154c72ffa12f7aed48ee10b7e2497f5f04ef9 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 0115d6c7c3d8f76808c64e4b60bc44d52f22272d
Author: Paul J Stevens <paul@...>
Date:   Fri Jun 14 20:48:00 2013 +0200

    IMAP: remove unused idle_status option

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

Summary of changes:
 dbmail.conf |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)

hooks/post-receive
--
Paul's DBMail tree
Gaspar Sandor Paulheim | 14 Jun 2013 16:07
Picon
Favicon

AUTO: Gaspar Sandor Paulheim is prepared for DELETION (FREEZE) (returning 25/03/2013)


I am out of the office until 25/03/2013.

Gaspar Sandor Paulheim is prepared for DELETION (FREEZE)

Note: This is an automated response to your message  "Dbmail-dev Digest,
Vol 111, Issue 12" sent on 14/06/2013 12:00:02.

This is the only notification you will receive while this person is away.
Gaspar Sandor Paulheim | 13 Jun 2013 16:06
Picon
Favicon

AUTO: Gaspar Sandor Paulheim is prepared for DELETION (FREEZE) (returning 25/03/2013)


I am out of the office until 25/03/2013.

Gaspar Sandor Paulheim is prepared for DELETION (FREEZE)

Note: This is an automated response to your message  "Dbmail-dev Digest,
Vol 111, Issue 11" sent on 13/06/2013 12:00:01.

This is the only notification you will receive while this person is away.
Paul J Stevens | 13 Jun 2013 12:48
Picon
Favicon
Gravatar

Re: Email construction

On 06/13/2013 12:33 PM, Jorge Bastos wrote:

> Check the raw msg: http://pastebin.com/Z0EPAaJL 

I'm sorry Jorge, but that really doesn't look like a raw message. How
did you obtain it? I'm sure it's possible in Outlook to get the message
source, without translated headers.

--

-- 
________________________________________________________________
Paul J Stevens        pjstevns  <at>  gmail, twitter, skype, linkedin

  * Premium Hosting Services and Web Application Consultancy *

           www.nfg.nl/info@.../+31.85.877.99.97
________________________________________________________________
Jorge Bastos | 13 Jun 2013 00:34
Picon

Email construction

Hi Paul,

 

Is it possible for you to test in the last version, if an email with the info on the buttom on the “From:” header fails in last version?

 

In the version I have it fails. (cannot upgrade to just test this right now)

I have no idea why there’s an HTML entity instead of the real char, but that’s something the person’s emails client decided to insert.

 

With this, the final email is shown with their own email source instead of the email correctly.

 

 

 

From: Filipe Pereira &lt;filipepereira-I8vyOjVHg95eoWH0uzbU5w@public.gmane.org&gt;

 

_______________________________________________
Dbmail-dev mailing list
Dbmail-dev@...
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev
Gaspar Sandor Paulheim | 12 Jun 2013 16:06
Picon
Favicon

AUTO: Gaspar Sandor Paulheim is prepared for DELETION (FREEZE) (returning 25/03/2013)


I am out of the office until 25/03/2013.

Gaspar Sandor Paulheim is prepared for DELETION (FREEZE)

Note: This is an automated response to your message  "Dbmail-dev Digest,
Vol 111, Issue 10" sent on 12/06/2013 12:00:01.

This is the only notification you will receive while this person is away.

Gmane