"Denis Voitenko" <[EMAIL PROTECTED]> wrote:

>I have been using qmail for quite a while and installed it on a number of
>servers. I never understood why does qmail use /var/qmail as it's deafault
>directory? What is wrong with /usr/local/qmail ? I know it is fixable and I
>could do that, but is there a reason for such structure?

Because most of the files under the qmail tree are host-specific.
Obviously, the queue is, but even the binaries are since they have
UID's built in.

If it offends your sensibilities to have non-host-specific files under 
/var, you can:

    mkdir -p /var/qmail /usr/local/doc /usr/local/etc/qmail/control \
          /usr/local/bin/qmail
    ln -s /usr/local/man /var/qmail
    ln -s /usr/local/doc /var/qmail
    ln -s /usr/local/etc/qmail/control /var/qmail/control
    ln -s /usr/local/bin/qmail /var/qmail/bin

Or something like that, before you install qmail.

-Dave

Reply via email to