> Hello, I'm in the process of trying to setup qmail-ldap on FreeBSD 5.4
> from the ports tree, and using http://lifewithqmail.org/ldap as my
> guide. Now I've followed the guide letter per letter, minue the actual
> install, which FreeBSD ports took care of. I get to the point where the
> guide suggests using qmail-conf and I go there. Here's my hang up:
> Qmail-Conf's page says this:
>
> #
>
> Create the service directory by running the qmail-delivery-conf
> <http://www.din.or.jp/%7Eushijima/qmail-conf/qmail-delivery-conf.html>
> program:
>
>          qmail-delivery-conf qmaill /var/qmail/service/qmail
>
>
> #
>
> Look at the qmail-start invocation in /var/qmail/rc. If you have been
> telling qmail-start to invoke some logging program, change /var/qmail/rc
> so that qmail-start won't invoke such a program. Typically this means
> removing a phrase such as ``splogger qmail'' or ``multilog t
> /var/log/qmail'' from /var/qmail/rc. See the qmail-start(8) manpage
> <http://qmail.org/man/man8/qmail-start.html> for the detail.
>
> #
>
> Tell svscan about the new service:
>
>          ln -s /var/qmail/service/qmail /service
>
>
> Check the service status:
>
>          svstat /service/qmail /service/qmail/log
>
> The output should look something like:
>
>          /service/qmail: up (pid 6345) 6 seconds
>          /service/qmail/log: up (pid 6346) 5 seconds
>
> that's where things stop working. my output is:
>
> [531/[EMAIL PROTECTED]/var/qmail/service #svstat /service/qmail
> /service/qmail/log/
> /service/qmail: unable to open supervise/ok: file does not exist
> /service/qmail/log/: unable to open supervise/ok: file does not exist.
>
> So, obviously, I've missed something, I've scoured the net to try and
> see where i'm screwing up is, and I've been over and over the LWQ/ldap
> page and see nothing about the supervise directory, until of course I
> get to the qmail-conf stuff.
>
> I have a stock qmail setup on a NetBSD server, but I want to migrate
> that box over to FreeBSD 6.0 and would rather use an LDAP directory for
> my user accounts instead of system accounts, which is how I have things
> set up, my LDAP directory is all set, users added, and just waiting for
> Qmail-LDAP to start authenticating from it. So any thoughts would be
> awesome.

documentation is outdated. You don't need qmail-conf scripts with
qmail-ldap  20031101 and newer.

use scripts that are provided by qmail-ldap patches. /var/qmail/boot
directory. You should check /var/qmail/control directory and run 'make'
command in this directory in order to compile used .cdb files.

Stock qmail-ldap has enabled pop-before-smtp by default. You might have to
start pbsdbd server (/var/qmail/boot/qmail-pbsdbd) or set NOPBS variable
in smtp server environment (/var/qmail/control/qmail-smtpd.rules).

Startup scripts need daemontools
(http://www.freebsd.org/cgi/url.cgi?ports/sysutils/daemontools/pkg-descr)
and tcpserver
(http://www.freebsd.org/cgi/url.cgi?ports/sysutils/ucspi-tcp/pkg-descr).
imap startup scripts need courier-imap 3.0.x. If qmail-ldap is compiled
with ssl support, you need tcpserver with ssl patch
(http://www.nrg4u.com/qmail/ucspi-tcp-ssl-20050405.patch.gz).

-- 
Tomas

Reply via email to