Hi all,
 
I'm checking the boot scripts proposed in ~boot/* scripts and I saw they are all setting the "$QUSER" variable wrong for my installation.
 
Here are the first 8 lines of the generated ~/boot/qmail-qmqpd/run file:
 
#!/bin/sh
exec 2>&1
#
# QMQP service
#
QMAIL="/var/qmldap"
ME="`head -1 $QMAIL/control/me`"
QUSER="qmaild"
What's wrong: I've chosen to change some defaults. In my installation, the qmail home directory is "qmldap", and the qmail users are qmldapa, qmldapd, qmldapl, root, qmldapp, qmldapq, qmldapr, qmldaps.
 
The boot scripts generated did not check the installation "conf-users" file to see what the "daemon user" i'm using. So, they show "$QUSER=qmaild".
 
But the scripts noticed I've changed the home directory, so they set the variable $QMAIL correctly.
 
(if you are curious like "why is this guy doing these changes?", it's because I need to run two different qmail systems in the same machine. one qmail is a traditional installation, and the other is a qmail-ldap, that lives in a different home directory with different users.)
 
I don't know if the qmail-ldap developers would consider this an "error", but i'm just pointing this out here.
 
bruno.
 
 

Reply via email to