Friedrich Locke | 16 Apr 22:48 2014
Picon

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
Picon

qmail-ldap + imap

Hi folks,

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

Thanks.
Friedrich Locke | 15 Apr 14:07 2014
Picon

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
Trying 200.235.128.97...
Connected to obsd.
Escape character is '^]'.
* BYE imaplogin expected exactly two arguments.
Connection closed by foreign host.
obsd#

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

#!/bin/sh
exec 2>&1
#
# IMAP service: this script is for courier-imap
#
QMAIL="/var/qmail"
CONCURRENCY=500
ME="`head -1 $QMAIL/control/me`"
if [ -e $QMAIL/control/defaultdelivery ]; then
        ALIASEMPTY=`head -1 $QMAIL/control/defaultdelivery 2> /dev/null`
else
        ALIASEMPTY=`head -1 $QMAIL/control/aliasempty 2> /dev/null`
fi
ALIASEMPTY=${ALIASEMPTY:="./Inbox/"}

PATH="$QMAIL/bin:$PATH"

# 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
COURIER=${COURIER:="/usr/local"}
PBSTOOL=${PBSTOOL:="$QMAIL/bin/pbsadd"}

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

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
Picon

imap server

Hi folks!

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

Thanks.
Friedrich Locke | 13 Apr 23:35 2014
Picon

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
Picon

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/cert.pm
This approach (the one above) does not make qmail-smtpd support STARTTLS after a telnet connection on port smtp and issue "ehlo obsd.cpd.ufv.br"

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,

Fried.
Friedrich Locke | 12 Apr 03:40 2014
Picon

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
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/libssl.so.19.0
        00000a53dfd28000 00000a53e02e2000 rlib 0    1   0      /usr/lib/libcrypto.so.22.0
        00000a53db657000 00000a53dbb40000 rlib 0    1   0      /usr/lib/libc.so.69.0
        00000a53e0600000 00000a53e0600000 rtld 0    1   0      /usr/libexec/ld.so
sioux <at> obsd$ telnet obsd smtp
Trying 200.235.128.97...
Connected to obsd.
Escape character is '^]'.
220 obsd.cpd.ufv.br ESMTP
250-PIPELINING
250 8BITMIME
STARTTLS
502 unimplemented (#5.5.1)
quit
221 obsd.cpd.ufv.br 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
Friedrich Locke | 11 Apr 19:47 2014
Picon

AUTH LOGIN on smtpd does not work

Hi qmal-ldap users,

In the last two days, i am setting up and knowning it (qmail-ldap) better. I have authentication through SASL in my ldap service, etc ....
POP3 authentication is working perfectly.

The problem I am facing is that qmail-smtpd does auth with "AUTH LOGIN" command. I am using the same user and password that i used to pop3 and all i get is an error. Take a closer look:

sioux <at> gustav:~$ telnet obsd smtp
Trying 200.235.128.97...
Connected to obsd.cpd.ufv.br.
Escape character is '^]'.
220 obsd.cpd.ufv.br ESMTP
ehlo obsd.cpd.ufv.br
250-obsd.cpd.ufv.br
250-PIPELINING
250-AUTH LOGIN PLAIN
250 8BITMIME
AUTH LOGIN
334 VXNlcm5hbWU6
Z3Jpb3M=
334 UGFzc3dvcmQ6
MTIzNDU2
535 authentication failure
quit
221 obsd.cpd.ufv.br Goodbye.
Connection closed by foreign host.
sioux <at> gustav:~$

Do you have any ideia where i made my mistakens ?

Thanks a lot for your time and coopeartion.

Best regards,

fried.

Friedrich Locke | 11 Apr 15:28 2014
Picon

imap server: which one to use with qmal-ldap

Hi folks,

I have installed qmail-ldap and almost anything is ok, but for imap.
I would like to support imap, but here is whats i get from my attempt to run it.
The logs go below :

sioux <at> obsd$ cat current 
<at> 400000005347e74c0aac79ac tcpserver: status: 0/40
<at> 400000005347e813021e9464 tcpserver: status: 1/40
<at> 400000005347e8130226ed1c tcpserver: pid 20101 from 200.235.177.58
<at> 400000005347e813022c30c4 tcpserver: ok 20101 obsd.cpd.ufv.br:200.235.128.97:143 :200.235.177.58::34861
<at> 400000005347e813022ec104 tcpserver: warning: dropping connection, unable to run /usr/local/sbin/imaplogin: file does not exist
<at> 400000005347e8130234aca4 tcpserver: end 20101 status 28416
<at> 400000005347e8130234b474 tcpserver: status: 0/40
sioux <at> obsd$

My question is: where the qmal-ldap imap is installed ? Why is it looking in /usr/local/sbin ?

What imap server should i run? How to configure it ?

Thanks a lot.

[]s fried
Friedrich Locke | 10 Apr 22:43 2014
Picon

pbs*

Hi folks,

is there any documentation for installation of pbs* things ?
May you provide the url ?

Thanks a lot.
Friedrich Locke | 10 Apr 19:57 2014
Picon

sasl qmail-ldap

I got it (qmail+ldap) working with SASL now.
Everything is perfect, at least up to now.

Thanks you all.

Gmane