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

Mailing List Archive: DBMail: dev

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

 

 

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


paul at nfg

Nov 19, 2009, 8:34 AM

Post #1 of 10 (1928 views)
Permalink
[SCM]Paul's DBMail tree branch, master, updated. a2c5e50e0e64cc2fbf1b04794b192312063e525c

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 a2c5e50e0e64cc2fbf1b04794b192312063e525c (commit)
via 52d94516aaf794cf85ade080e9ae30a0fb268331 (commit)
via ed097d493f2c621782ee22bb89fbdcc15186bf71 (commit)
from 4ed51267af9dd307e1de731153dd0ef865ab5ba2 (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 a2c5e50e0e64cc2fbf1b04794b192312063e525c
Author: Paul J Stevens <paul [at] nfg>
Date: Thu Nov 19 17:34:07 2009 +0100

http updates

commit 52d94516aaf794cf85ade080e9ae30a0fb268331
Author: Paul J Stevens <paul [at] nfg>
Date: Thu Nov 19 17:33:51 2009 +0100

double free

commit ed097d493f2c621782ee22bb89fbdcc15186bf71
Author: Paul J Stevens <paul [at] nfg>
Date: Thu Nov 19 14:03:02 2009 +0100

merge http branch

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

Summary of changes:
contrib/dbmailclient.php | 314 +++++++++++++++++++++++++++++++++++
contrib/testdbmailclient.php | 110 ++++++++++++
dbmail.conf | 8 +
debian/rules | 4 +-
doc/README.http | 134 +++++++++++++++
src/Makefile.am | 6 +
src/clientsession.h | 2 +
src/dbmail-imapsession.c | 7 +-
src/dbmail-imapsession.h | 2 +-
src/dbmail-mailbox.h | 2 -
src/dbmail.h.in | 3 +-
src/dbmailtypes.h | 10 +-
src/dm_cache.h | 1 -
src/dm_db.c | 66 +++++++-
src/dm_db.h | 14 ++-
src/dm_http.c | 314 +++++++++++++++++++++++++++++++++++
src/{serverparent.h => dm_http.h} | 19 +-
src/dm_list.c | 1 +
src/dm_request.c | 332 +++++++++++++++++++++++++++++++++++++
src/dm_request.h | 49 ++++++
src/export.c | 6 +-
src/{pop3d.c => httpd.c} | 34 ++--
src/imap4.c | 33 +++-
src/imapcommands.c | 50 +------
src/server.c | 168 +++++++++++--------
src/server.h | 1 +
test-scripts/testhttp.php | 11 ++
test-scripts/testhttp.sh | 12 ++
test/check_dbmail_imapd.c | 4 +-
29 files changed, 1547 insertions(+), 170 deletions(-)
create mode 100644 contrib/dbmailclient.php
create mode 100644 contrib/testdbmailclient.php
create mode 100644 doc/README.http
create mode 100644 src/dm_http.c
copy src/{serverparent.h => dm_http.h} (71%)
create mode 100644 src/dm_request.c
create mode 100644 src/dm_request.h
copy src/{pop3d.c => httpd.c} (67%)
create mode 100644 test-scripts/testhttp.php
create mode 100644 test-scripts/testhttp.sh


hooks/post-receive
--
Paul's DBMail tree
_______________________________________________
Dbmail-dev mailing list
Dbmail-dev [at] dbmail
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev


mysql.jorge at decimal

Nov 19, 2009, 11:04 AM

Post #2 of 10 (1860 views)
Permalink
Re: [SCM]Paul's DBMail tree branch, master, updated. a2c5e50e0e64cc2fbf1b04794b192312063e525c [In reply to]

Howdy Paul,

I'd like to ask: (I haven't configured this yet)

What is this new file, dbmailclient.php intended to do? Manage dbmail over
the web?

Jorge,

> -----Original Message-----
> From: dbmail-dev-bounces [at] dbmail [mailto:dbmail-dev-
> bounces [at] dbmail] On Behalf Of Paul J Stevens
> Sent: quinta-feira, 19 de Novembro de 2009 16:34
> To: dbmail-dev [at] dbmail
> Subject: [Dbmail-dev] [SCM]Paul's DBMail tree branch, master, updated.
> a2c5e50e0e64cc2fbf1b04794b192312063e525c
>
> 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 a2c5e50e0e64cc2fbf1b04794b192312063e525c (commit)
> via 52d94516aaf794cf85ade080e9ae30a0fb268331 (commit)
> via ed097d493f2c621782ee22bb89fbdcc15186bf71 (commit)
> from 4ed51267af9dd307e1de731153dd0ef865ab5ba2 (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 a2c5e50e0e64cc2fbf1b04794b192312063e525c
> Author: Paul J Stevens <paul [at] nfg>
> Date: Thu Nov 19 17:34:07 2009 +0100
>
> http updates
>
> commit 52d94516aaf794cf85ade080e9ae30a0fb268331
> Author: Paul J Stevens <paul [at] nfg>
> Date: Thu Nov 19 17:33:51 2009 +0100
>
> double free
>
> commit ed097d493f2c621782ee22bb89fbdcc15186bf71
> Author: Paul J Stevens <paul [at] nfg>
> Date: Thu Nov 19 14:03:02 2009 +0100
>
> merge http branch
>
> -----------------------------------------------------------------------
>
> Summary of changes:
> contrib/dbmailclient.php | 314
> +++++++++++++++++++++++++++++++++++
> contrib/testdbmailclient.php | 110 ++++++++++++
> dbmail.conf | 8 +
> debian/rules | 4 +-
> doc/README.http | 134 +++++++++++++++
> src/Makefile.am | 6 +
> src/clientsession.h | 2 +
> src/dbmail-imapsession.c | 7 +-
> src/dbmail-imapsession.h | 2 +-
> src/dbmail-mailbox.h | 2 -
> src/dbmail.h.in | 3 +-
> src/dbmailtypes.h | 10 +-
> src/dm_cache.h | 1 -
> src/dm_db.c | 66 +++++++-
> src/dm_db.h | 14 ++-
> src/dm_http.c | 314
> +++++++++++++++++++++++++++++++++++
> src/{serverparent.h => dm_http.h} | 19 +-
> src/dm_list.c | 1 +
> src/dm_request.c | 332
> +++++++++++++++++++++++++++++++++++++
> src/dm_request.h | 49 ++++++
> src/export.c | 6 +-
> src/{pop3d.c => httpd.c} | 34 ++--
> src/imap4.c | 33 +++-
> src/imapcommands.c | 50 +------
> src/server.c | 168 +++++++++++--------
> src/server.h | 1 +
> test-scripts/testhttp.php | 11 ++
> test-scripts/testhttp.sh | 12 ++
> test/check_dbmail_imapd.c | 4 +-
> 29 files changed, 1547 insertions(+), 170 deletions(-)
> create mode 100644 contrib/dbmailclient.php
> create mode 100644 contrib/testdbmailclient.php
> create mode 100644 doc/README.http
> create mode 100644 src/dm_http.c
> copy src/{serverparent.h => dm_http.h} (71%)
> create mode 100644 src/dm_request.c
> create mode 100644 src/dm_request.h
> copy src/{pop3d.c => httpd.c} (67%)
> create mode 100644 test-scripts/testhttp.php
> create mode 100644 test-scripts/testhttp.sh
>
>
> hooks/post-receive
> --
> Paul's DBMail tree
> _______________________________________________
> Dbmail-dev mailing list
> Dbmail-dev [at] dbmail
> http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev

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


paul at nfg

Nov 19, 2009, 1:41 PM

Post #3 of 10 (1856 views)
Permalink
Re: [SCM]Paul's DBMail tree branch, master, updated. a2c5e50e0e64cc2fbf1b04794b192312063e525c [In reply to]

the http api is still in development. It's not yet usable. I've merged
the code into the master branch to speed things up. But dbmail-httpd is
very much under construction.

The dbmailclient.php code demonstrates the current api, and helps drive
the development of dbmail's http request handler through the
testdbmailclient.php unit-tester. It is not meant to be a native
webmail/management tool - yet.






Jorge Bastos wrote:
> Howdy Paul,
>
> I'd like to ask: (I haven't configured this yet)
>
> What is this new file, dbmailclient.php intended to do? Manage dbmail over
> the web?
>
> Jorge,
>
>> -----Original Message-----
>> From: dbmail-dev-bounces [at] dbmail [mailto:dbmail-dev-
>> bounces [at] dbmail] On Behalf Of Paul J Stevens
>> Sent: quinta-feira, 19 de Novembro de 2009 16:34
>> To: dbmail-dev [at] dbmail
>> Subject: [Dbmail-dev] [SCM]Paul's DBMail tree branch, master, updated.
>> a2c5e50e0e64cc2fbf1b04794b192312063e525c
>>
>> 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 a2c5e50e0e64cc2fbf1b04794b192312063e525c (commit)
>> via 52d94516aaf794cf85ade080e9ae30a0fb268331 (commit)
>> via ed097d493f2c621782ee22bb89fbdcc15186bf71 (commit)
>> from 4ed51267af9dd307e1de731153dd0ef865ab5ba2 (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 a2c5e50e0e64cc2fbf1b04794b192312063e525c
>> Author: Paul J Stevens <paul [at] nfg>
>> Date: Thu Nov 19 17:34:07 2009 +0100
>>
>> http updates
>>
>> commit 52d94516aaf794cf85ade080e9ae30a0fb268331
>> Author: Paul J Stevens <paul [at] nfg>
>> Date: Thu Nov 19 17:33:51 2009 +0100
>>
>> double free
>>
>> commit ed097d493f2c621782ee22bb89fbdcc15186bf71
>> Author: Paul J Stevens <paul [at] nfg>
>> Date: Thu Nov 19 14:03:02 2009 +0100
>>
>> merge http branch
>>
>> -----------------------------------------------------------------------
>>
>> Summary of changes:
>> contrib/dbmailclient.php | 314
>> +++++++++++++++++++++++++++++++++++
>> contrib/testdbmailclient.php | 110 ++++++++++++
>> dbmail.conf | 8 +
>> debian/rules | 4 +-
>> doc/README.http | 134 +++++++++++++++
>> src/Makefile.am | 6 +
>> src/clientsession.h | 2 +
>> src/dbmail-imapsession.c | 7 +-
>> src/dbmail-imapsession.h | 2 +-
>> src/dbmail-mailbox.h | 2 -
>> src/dbmail.h.in | 3 +-
>> src/dbmailtypes.h | 10 +-
>> src/dm_cache.h | 1 -
>> src/dm_db.c | 66 +++++++-
>> src/dm_db.h | 14 ++-
>> src/dm_http.c | 314
>> +++++++++++++++++++++++++++++++++++
>> src/{serverparent.h => dm_http.h} | 19 +-
>> src/dm_list.c | 1 +
>> src/dm_request.c | 332
>> +++++++++++++++++++++++++++++++++++++
>> src/dm_request.h | 49 ++++++
>> src/export.c | 6 +-
>> src/{pop3d.c => httpd.c} | 34 ++--
>> src/imap4.c | 33 +++-
>> src/imapcommands.c | 50 +------
>> src/server.c | 168 +++++++++++--------
>> src/server.h | 1 +
>> test-scripts/testhttp.php | 11 ++
>> test-scripts/testhttp.sh | 12 ++
>> test/check_dbmail_imapd.c | 4 +-
>> 29 files changed, 1547 insertions(+), 170 deletions(-)
>> create mode 100644 contrib/dbmailclient.php
>> create mode 100644 contrib/testdbmailclient.php
>> create mode 100644 doc/README.http
>> create mode 100644 src/dm_http.c
>> copy src/{serverparent.h => dm_http.h} (71%)
>> create mode 100644 src/dm_request.c
>> create mode 100644 src/dm_request.h
>> copy src/{pop3d.c => httpd.c} (67%)
>> create mode 100644 test-scripts/testhttp.php
>> create mode 100644 test-scripts/testhttp.sh
>>
>>
>> hooks/post-receive
>> --
>> Paul's DBMail tree
>> _______________________________________________
>> Dbmail-dev mailing list
>> Dbmail-dev [at] dbmail
>> http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev
>
> _______________________________________________
> Dbmail-dev mailing list
> Dbmail-dev [at] dbmail
> http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev
>


--
________________________________________________________________
Paul Stevens paul at nfg.nl
NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31
The Netherlands________________________________http://www.nfg.nl
_______________________________________________
Dbmail-dev mailing list
Dbmail-dev [at] dbmail
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev


mysql.jorge at decimal

Nov 19, 2009, 1:55 PM

Post #4 of 10 (1864 views)
Permalink
Re: [SCM]Paul's DBMail tree branch, master, updated. a2c5e50e0e64cc2fbf1b04794b192312063e525c [In reply to]

> the http api is still in development. It's not yet usable. I've merged
> the code into the master branch to speed things up. But dbmail-httpd is
> very much under construction.
>
> The dbmailclient.php code demonstrates the current api, and helps drive
> the development of dbmail's http request handler through the
> testdbmailclient.php unit-tester. It is not meant to be a native
> webmail/management tool - yet.
>

I see,
I just got curious when I saw it.
The dbmail-httpd is not yet available on git, is it? At least I don't see
it.

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


paul at nfg

Nov 19, 2009, 11:51 PM

Post #5 of 10 (1853 views)
Permalink
Re: [SCM]Paul's DBMail tree branch, master, updated. a2c5e50e0e64cc2fbf1b04794b192312063e525c [In reply to]

Jorge Bastos wrote:
>> the http api is still in development. It's not yet usable. I've merged
>> the code into the master branch to speed things up. But dbmail-httpd is
>> very much under construction.
>>
>> The dbmailclient.php code demonstrates the current api, and helps drive
>> the development of dbmail's http request handler through the
>> testdbmailclient.php unit-tester. It is not meant to be a native
>> webmail/management tool - yet.
>>
>
> I see,
> I just got curious when I saw it.
> The dbmail-httpd is not yet available on git, is it? At least I don't see
> it.

Yes it is. Just run configure/make, and update your dbmail.conf

--
________________________________________________________________
Paul Stevens paul at nfg.nl
NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31
The Netherlands________________________________http://www.nfg.nl
_______________________________________________
Dbmail-dev mailing list
Dbmail-dev [at] dbmail
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev


mysql.jorge at decimal

Nov 20, 2009, 1:50 AM

Post #6 of 10 (1851 views)
Permalink
Re: [SCM]Paul's DBMail tree branch, master, updated. a2c5e50e0e64cc2fbf1b04794b192312063e525c [In reply to]

> > The dbmail-httpd is not yet available on git, is it? At least I don't
> see
> > it.
>
> Yes it is. Just run configure/make, and update your dbmail.conf
>

Ops I missed that on the log.
One question, shouldn't configure had a switch to enable or disable the
httpd?

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


podorov at mvcstal

Nov 20, 2009, 2:46 AM

Post #7 of 10 (1853 views)
Permalink
[SCM]Paul's DBMail tree branch, master, updated. a2c5e50e0e64cc2fbf1b04794b192312063e525c [In reply to]

Hello, Paul.

This latest git code just won't work. When I start IMAP and POP3
daemons, they can accept connections, but no data is transfered. Commit
4ed51267af9dd307e1de731153dd0ef865ab5ba2 doesn't have this problem. I
use 64-bit system, if this matters.

Best regards,
Maxim Podorov
_______________________________________________
Dbmail-dev mailing list
Dbmail-dev [at] dbmail
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev


paul at nfg

Nov 20, 2009, 3:18 AM

Post #8 of 10 (1853 views)
Permalink
Re: [SCM]Paul's DBMail tree branch, master, updated. a2c5e50e0e64cc2fbf1b04794b192312063e525c [In reply to]

Thanks for testing.

I've been tracking down thread-races, and I probably removed one
callback too many, leading to event-starvation. Since I was testing with
concurrencies of 200 there were enough events to keep things going.

will fix.



Maxim Podorov wrote:
> Hello, Paul.
>
> This latest git code just won't work. When I start IMAP and POP3
> daemons, they can accept connections, but no data is transfered. Commit
> 4ed51267af9dd307e1de731153dd0ef865ab5ba2 doesn't have this problem. I
> use 64-bit system, if this matters.
>
> Best regards,
> Maxim Podorov
> _______________________________________________
> Dbmail-dev mailing list
> Dbmail-dev [at] dbmail
> http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev
>


--
________________________________________________________________
Paul Stevens paul at nfg.nl
NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31
The Netherlands________________________________http://www.nfg.nl
_______________________________________________
Dbmail-dev mailing list
Dbmail-dev [at] dbmail
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev


podorov at mvcstal

Nov 20, 2009, 6:25 AM

Post #9 of 10 (1853 views)
Permalink
Re: [SCM]Paul's DBMail tree branch, master, updated. a2c5e50e0e64cc2fbf1b04794b192312063e525c [In reply to]

Still doesn't work with your fix.

> I've been tracking down thread-races, and I probably removed one
> callback too many, leading to event-starvation. Since I was testing with
> concurrencies of 200 there were enough events to keep things going.
> will fix.
>
> Maxim Podorov wrote:
>> Hello, Paul.
>>
>> This latest git code just won't work. When I start IMAP and POP3
>> daemons, they can accept connections, but no data is transfered. Commit
>> 4ed51267af9dd307e1de731153dd0ef865ab5ba2 doesn't have this problem. I
>> use 64-bit system, if this matters.
_______________________________________________
Dbmail-dev mailing list
Dbmail-dev [at] dbmail
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev


podorov at mvcstal

Nov 20, 2009, 7:46 AM

Post #10 of 10 (1851 views)
Permalink
Re: [SCM]Paul's DBMail tree branch, master, updated. a2c5e50e0e64cc2fbf1b04794b192312063e525c [In reply to]

Works now for me with your last fix. :)

> I've been tracking down thread-races, and I probably removed one
> callback too many, leading to event-starvation. Since I was testing with
> concurrencies of 200 there were enough events to keep things going.
> will fix.
>
> Maxim Podorov wrote:
>> Hello, Paul.
>>
>> This latest git code just won't work. When I start IMAP and POP3
>> daemons, they can accept connections, but no data is transfered. Commit
>> 4ed51267af9dd307e1de731153dd0ef865ab5ba2 doesn't have this problem. I
>> use 64-bit system, if this matters.
_______________________________________________
Dbmail-dev mailing list
Dbmail-dev [at] dbmail
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev

DBMail dev 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.