I’ve built and installed dbmail 3.1.10 from source and successfully have used 
dbmail-lmtpd, dbmail-imapd, and dbmail-pop3d.

But, I’m having difficulties getting dbmail-httpd to respond to any query.  The 
dbmail.conf configuration for HTTP is unchanged. 

[HTTP]
port                  = 41380
#
# the httpd daemon provides full access to all users, mailboxes
# and messages. Be very careful with this one!
bindip                = 127.0.0.1
admin                 = admin:secret

The daemon is running.   I tried using the dbmailclient.php using this php 
script:

<?php

require_once "dbmailclient.php";

$dm = new DBMail($host="localhost", $port=41380, 
$login="admin",$password="secret");
$users = $dm->getUsers();
var_dump($users);
?>

but this script just hangs on the request.

I also tried just using curl at the command line on the server running 
dbmail-httpd and it hangs:

[root@my dbmail]# curl -v http://admin:secret@127.0.0.1:41380/users
* About to connect() to 127.0.0.1 port 41380 (#0)
*   Trying 127.0.0.1... connected
* Connected to 127.0.0.1 (127.0.0.1) port 41380 (#0)
* Server auth using Basic with user 'admin'
> GET /users HTTP/1.1
> Authorization: Basic YWRtaW46c2VjcmV0
> User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.14.0.0 
> zlib/1.2.3 libidn/1.18 libssh2/1.4.2
> Host: 127.0.0.1:41380
> Accept: */*
> 

It doesn’t look like dbmail-httpd is sending back any response.

Is there something wrong with my configuration?  Anyone else using the latest 
dbmail-httpd successfully?

Or, maybe I build dbmail-httpd with old libraries?

[root@my dbmail]# ldd /usr/local/sbin/dbmail-httpd
        linux-vdso.so.1 =>  (0x00007fff85ffe000)
        libcrypt.so.1 => /lib64/libcrypt.so.1 (0x000000394dc00000)
        libgmime-2.6.so.0 => /usr/lib64/libgmime-2.6.so.0 (0x0000003f87a00000)
        libgio-2.0.so.0 => /lib64/libgio-2.0.so.0 (0x0000003f87600000)
        libgobject-2.0.so.0 => /lib64/libgobject-2.0.so.0 (0x0000003f86e00000)
        libgmodule-2.0.so.0 => /lib64/libgmodule-2.0.so.0 (0x0000003950400000)
        libgthread-2.0.so.0 => /lib64/libgthread-2.0.so.0 (0x000000394e000000)
        librt.so.1 => /lib64/librt.so.1 (0x000000394bc00000)
        libglib-2.0.so.0 => /lib64/libglib-2.0.so.0 (0x000000394cc00000)
        libm.so.6 => /lib64/libm.so.6 (0x000000394c000000)
        libmhash.so.2 => /usr/lib64/libmhash.so.2 (0x00007f4ca4de6000)
        libevent_pthreads-2.0.so.5 => /usr/local/lib/libevent_pthreads-2.0.so.5 
(0x00007f4ca4be3000)
        libevent-2.0.so.5 => /usr/local/lib/libevent-2.0.so.5 
(0x00007f4ca499e000)
        libssl.so.10 => /usr/lib64/libssl.so.10 (0x0000003f87200000)
        libzdb.so.11 => /usr/local/lib/libzdb.so.11 (0x00007f4ca4789000)
        libdbmail.so.0 => /usr/local/lib/dbmail/libdbmail.so.0 
(0x00007f4ca4519000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x000000394b400000)
        libc.so.6 => /lib64/libc.so.6 (0x000000394b000000)
        libfreebl3.so => /lib64/libfreebl3.so (0x000000394d800000)
        libz.so.1 => /lib64/libz.so.1 (0x000000394c400000)
        libnsl.so.1 => /lib64/libnsl.so.1 (0x0000003952800000)
        libgpgme-pthread.so.11 => /usr/lib64/libgpgme-pthread.so.11 
(0x00007f4ca42e6000)
        libdl.so.2 => /lib64/libdl.so.2 (0x000000394b800000)
        libresolv.so.2 => /lib64/libresolv.so.2 (0x000000394d400000)
        libselinux.so.1 => /lib64/libselinux.so.1 (0x000000394c800000)
        /lib64/ld-linux-x86-64.so.2 (0x000000394ac00000)
        libgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2 (0x0000003950800000)
        libkrb5.so.3 => /lib64/libkrb5.so.3 (0x0000003951800000)
        libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00007f4ca40e0000)
        libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x0000003951000000)
        libcrypto.so.10 => /usr/lib64/libcrypto.so.10 (0x00007f4ca3cff000)
        libmysqlclient.so.18 => /usr/lib64/libmysqlclient.so.18 
(0x0000003953400000)
        libgpg-error.so.0 => /lib64/libgpg-error.so.0 (0x0000003950000000)
        libkrb5support.so.0 => /lib64/libkrb5support.so.0 (0x0000003950c00000)
        libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x0000003951400000)
        libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x000000394d000000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f4ca3ae6000)

_______________________________________________
DBmail mailing list
DBmail@dbmail.org
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail

Reply via email to