Hello, I have a question about the creation of virtual domains.  I am running
qmail under daemontools as well as tcpserver on FreeBSD 4.4.  I am not sure what
I am doing wrong, as I believe I have followed all the instructions in the FAQ,
however, both setting up a virtual domain to look at ~user/.qmail-* and
~user/.qmail-blah-* (as per the instructions for multiple virtual domains
mapped to one user) have failed to work for me.  I have added hostname.com
to rcpthosts and to virtualhosts (both in the form of hostname.com:user and
hostname.com:user-hostname) and it doesn't seem to be looking at either
of them. I have ~user/.qmail-hostname-username created; that doesn't seem
to work, but ~alias/.qmail-hostname-username seems to work fine.  Can somebody
please enlighten me as to what I am doing wrong?  Thank you.

Oh, and as for the outdated FAQ entry..the sample rc scripts have all been
modified to require a 'start' or 'stop' argument; this is not mentioned in
the FAQ, a minor detail by itself, but I had to rewrite it to not background
and to not require an argument when I wanted it supervised.  Here is my 
/var/qmail/rc.svc for what it's worth:

#!/bin/sh
exec env - PATH="/var/qmail/bin:$PATH" qmail-start ./Maildir/ splogger qmail

Pretty simple :)  It took a while to figure out, though, since first I did the
obvious part, removing the requirement for the argument, but didn't notice that
supervise kept killing and respawning it until I checked out svscan's output.

-- 
"To YOU I'm an atheist; to God, I'm the Loyal Opposition." --Woody Allen


Reply via email to