[olug] qmail - install - trying the test bit...
Brian Roberson
roberson at olug.org
Fri Mar 22 03:08:27 UTC 2002
I forgot that I stripped html messages on the list..... the "red" line I was
refering to...
echo ./Mailbox >/var/qmail/control/defaultdelivery
with that said, you are seeing the expected output, mbox format, in the
users homedir with the name od Mailbox
personally, I use a more UNIX standard like local email delivery, including
dot-forward, etc....
the article points out where you need to go to change the local delivery
procedure, /var/mail/boot/{example_script}
the "qmailctl" script is basically calling svc ( daemontools ) to start all
the stuff up, I have never looked at the URL you mentioned, and I think I
will forget I ever seen it, as I disagree with alot of what it is
stating.... linux is SYSV, e.g. it HAS init ; you dont NEED daemontools
unless you are under *BSD... arg, another gripe about *BSD ;-) ANYWAYS...
the file you want to edit is /var/qmail/rc aparently, ( remember, I do not
do it the way it is laid out there ) and change it to call qmail-start with
the options you want, ( again, checkout /var/qmail/boot/{scripts} for
different examples....
hope this helps!
----- Original Message -----
From: "Brian Roberson" <roberson at olug.org>
To: <olug at olug.org>
Sent: Thursday, March 21, 2002 8:57 PM
Subject: Re: [olug] qmail - install - trying the test bit...
I dont use daemontools, but here is a good effort....
( Quoting from the website you mentioned ) checkout the line in red...
The /var/qmail/boot directory contains example qmail boot scripts for
different configurations: /var/spool/mail vs. $HOME/Mailbox, using procmail
or dot-forward, and various combinations of these. Feel free to examine
these, but for our installation, we'll use the following script:
#!/bin/sh
# Using stdout for logging
# Using control/defaultdelivery from qmail-local to deliver messages by
default
exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start "`cat /var/qmail/control/defaultdelivery`"
----------------------------------------------------------------------------
----
Note: This script uses backquotes (`), not single quotes ('). For best
results, copy and paste the scripts in this guide instead of retyping them.
----------------------------------------------------------------------------
----
Use your editor to create the above /var/qmail/rc, then execute these
commands:
chmod 755 /var/qmail/rc
mkdir /var/log/qmail
At this point you need to decide the default delivery mode for messages that
aren't delivered by a .qmail file. The following table outlines some common
choices.
Mailbox format Name Location defaultdelivery Comments
mbox Mailbox $HOME ./Mailbox most common, works with most MUA's
maildir Maildir $HOME ./Maildir/ more reliable, less MUA support
mbox username /var/spool/mail See INSTALL.vsm traditional UNIX
mailbox
See INSTALL.mbox, INSTALL.maildir, and INSTALL.vsm for more information.
To select your default mailbox type, just enter the defaultdelivery value
from the table into /var/qmail/control/defaultdelivery. E.g., to select the
standard qmail Mailbox delivery, do:
echo ./Mailbox >/var/qmail/control/defaultdelivery
----------------------------------------------------------------------------
----
Note: defaultdelivery isn't a standard qmail control file. It's a feature of
the above /var/qmail/rc file. The defaultdelivery argument to qmail-start is
the contents of a .qmail file that specifies delivery instructions to be
followed when no actual .qmail is found. Putting these instructions in a
separate control file eliminates the need to quote shell metacharacters in
the delivery instructions and avoids messy multi-line command arguments.
----------------------------------------------------------------------------
----
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
For help contact olug-help at olug.org - run by ezmlm
to unsubscribe, send mail to olug-unsubscribe at olug.org
or `mail olug-unsubscribe at olug.org < /dev/null`
(c)1998-2002 OLUG http://www.olug.org
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
More information about the OLUG
mailing list