Gennady G. Marchenko | 1 Jul 14:02 2014

problem with qmail-qmqpd


I have a problem with qmail-qmqpd compatibility between qmail-ldap and
postfix with the following error in postfix'es log:
"netstring format error while receiving QMQP packet header"

I thought that qmqp is compatible between qmail-ldap and postfix isn't it?
Is it any chance to fix the problem?

Best wishes,

Friedrich Locke | 22 Apr 22:27 2014

mail size

What is the unit for attributes that specifies the limit.

Max size mailbox can group,
Max size of particular message,
Max number of message to hold for any given user.

Friedrich Locke | 22 Apr 16:47 2014


Hi folks!

I am trying to get imap running in my server, but up to now, no success.
I installed courier-imap but when i connect and try to authenticate i got an error response:

sioux <at> obsd$ telnet obsd imap
Trying x.y.z.k ...
Connected to obsd.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA] Courier-IMAP ready. Copyright 1998-2011 Double Precision, Inc.  See COPYING for distribution information.
X LOGIN grios 123457
X NO Login failed.
* BYE Courier-IMAP server shutting down
X OK LOGOUT completed
Connection closed by foreign host.
sioux <at> obsd$

On tcpserver side i got this:

<at> 4000000053567f8525f02a74 DEBUG: Connection, ip=[]
<at> 4000000053567f8f09b6f61c INFO: LOGIN FAILED, user=grios, ip=[]
<at> 4000000053567f9f0ce88314 INFO: LOGOUT, ip=[], rcvd=32, sent=289
<at> 4000000053567f9f0cf5d924 tcpserver: end 8324 status 0
<at> 4000000053567f9f0cf5e0f4 tcpserver: status: 0/40

Here is how i am running imap:

tcpserver -v -HRl -x/var/qmail/control/qmail-imapd.cdb 0 imap /usr/local/sbin/imaplogin /var/qmail/bin/auth_imap -d/var/qmail/bin/pbsadd /usr/local/bin/imapd ./Inbox/

May some one help me ? I do need this working.

Thank you for your time and cooperation.

Best regards,

Gustavo Rios | 21 Apr 00:37 2014

which imap server

Hi folks,

i have installed and configured qmail with support for ldap. I would like to add support to imap but i do not know waht would it be a good choice!

What imap server have you been using ?

Thanks a lot for your time and cooperation.

Aqui sua sorte vale dinheiro.
Friedrich Locke | 16 Apr 22:48 2014

courier imap server

Hi folks,

i have implemented an qmail-ldap server, so far so good. I am running everything 100% (smtp, pop3 and core funcionalities of qmail).

I am facing lots of difficulties with getting courier imap server running.
I would like imap to authenticate via sasl (yes i am running cyrus-sasl 100% perfectly). May someone point me the documentation fo running imap daemon and make it auth against saslauthd

Thanks a lot
Friedrich Locke | 16 Apr 21:38 2014

qmail-ldap + imap

Hi folks,

is anyone in this list running imap ? May someone point me the documentation on installing an imap server ?

Friedrich Locke | 15 Apr 14:07 2014

imap with qmail-ldap

Hi folks,

i am trying to run imap (i choose courier imap) and when i try to connect to it, all i got was:

obsd# telnet obsd imap2
Connected to obsd.
Escape character is '^]'.
* BYE imaplogin expected exactly two arguments.
Connection closed by foreign host.

And what sounds strange is that i am running qmail-imap. qmail-imap/run is:

exec 2>&1
# IMAP service: this script is for courier-imap
ME="`head -1 $QMAIL/control/me`"
if [ -e $QMAIL/control/defaultdelivery ]; then
        ALIASEMPTY=`head -1 $QMAIL/control/defaultdelivery 2> /dev/null`
        ALIASEMPTY=`head -1 $QMAIL/control/aliasempty 2> /dev/null`


# source the environemt in ./env
eval `env - PATH=$PATH envdir ./env awk '\
        BEGIN { for (i in ENVIRON) \
                if (i != "PATH") { \
                        printf "export %s=\"%s\"\\n", i, ENVIRON[i] \
                } \

# enforce some sane defaults

if [ X${NOPBSR+"true"} = X"true" ]; then
        unset PBSTOOL

exec \
        tcpserver -v -HRl $ME -x$QMAIL/control/qmail-imapd.cdb \
            ${CONCURRENCY:+"-c$CONCURRENCY"} ${BACKLOG:+"-b$BACKLOG"} 0 imap \
        $COURIER/sbin/imaplogin \
        $QMAIL/bin/auth_imap ${PBSTOOL:+"-d$PBSTOOL"} \
        $COURIER/bin/imapd "$ALIASEMPTY"

May someone clarify what is happening ?

Thank you for your time and cooperation.
Friedrich Locke | 14 Apr 01:43 2014

imap server

Hi folks!

Which, in your opnion, is the best imap server: courier or dovecot ?

Friedrich Locke | 13 Apr 23:35 2014

wildcard certificates

Hi folks,

I wonder if i do need to have one crypto certificate for each node in the cluster of qmail-ldap or i can have one certificate for all the servers node in the qmail-ldap infrastructure ?

Thanks a lot for your time and cooperation.
Friedrich Locke | 12 Apr 19:41 2014

ssl (smtpd and remote)

Hi folks,

i am trying to get ssl for qmail-smtpd and qmail-remote. Up to know i am very confused with the certificate files necessary.

For instance:

"make cert" saves the certificate file in control/
This approach (the one above) does not make qmail-smtpd support STARTTLS after a telnet connection on port smtp and issue "ehlo"

I took a look at qmail-dmtpd.c source file and i saw it expects the cert file in "control/smtpcert".

And qmail-remote.c: accordingly qmail-remote.c, it looks in "control/remotecert".

So, i have some doubts, what are the file i need to allow tls/ssl in my qmail installations ? How to generate them ? I am really in need for these informations.

Thank you a laot for your time and cooperation.

Best regards,

Friedrich Locke | 12 Apr 03:40 2014

smtpd ssl

I have qmail-ldap work in my server, but the ssl/tls support is not supported.
May someone here give any advice on this regards.

Here it is an example of what i get:

sioux <at> obsd$ ldd qmail-smtpd
        Start            End              Type Open Ref GrpRef Name
        00000a51d0500000 00000a51d0915000 exe  1    0   0      qmail-smtpd
        00000a53e0a11000 00000a53e0e6f000 rlib 0    1   0      /usr/lib/
        00000a53dfd28000 00000a53e02e2000 rlib 0    1   0      /usr/lib/
        00000a53db657000 00000a53dbb40000 rlib 0    1   0      /usr/lib/
        00000a53e0600000 00000a53e0600000 rtld 0    1   0      /usr/libexec/
sioux <at> obsd$ telnet obsd smtp
Connected to obsd.
Escape character is '^]'.
502 unimplemented (#5.5.1)
221 Goodbye.
Connection closed by foreign host.
sioux <at> obsd$

As you can see, qmail-smtpd has support for ssl! What is my mistaken ?

Thanks a lot.

[]s fried