I think that the existing documentation is much too complex for most
situations. The FAQ points out a very simple solution, which becomes
very complex as soon as more than one virtual domain is used.
I think that DJB intends people to use fastforward, since he insists
that a standard qmail distrubution includes fastforward and dotforward.
Therefore, the fastforward solution is to do the following:
for each virtual.domain
do
echo "virtual.domain:alias" >>control/virtualdomains
echo "virtual.domain" >>control/rcpthosts
done
echo "| fastforward /etc/alias.cdb" >/var/qmail/alias/.qmail-default
Now go set up /etc/alias according to the fastforward documentation.
You can now use the fastforward wild cards to arbitrarily forward
various combinations of [EMAIL PROTECTED], to arbitrary places.
You can even import your snedmail alias database intact.
So, why doesn't LWQ or qmail-1.03/FAQ mention this? The fastforward
package doesn't even mention it.
/Joe
CDR Inc writes:
> When I first started setting up my RH 6.1 Linux Box, I had thought that
> setting up Virtual Domains and such would be easy. I figured that with all
> the hoopala of Linux as a Server, it would be very well documented as to how
> to set up virtual domains and such. After looking around a while, I came to
> discover that it is NOT well documented. Maybe I was just looking in the
> wrong place, but the documentation for setting up virtual stuff is not very
> prevelant... So I changed my thinking.. I figured my application is unique
> and it will be tough going setting it up. A Net Friend turned me on to
> QMAIL, saying it would be a good program to set up Virtual Domains...
>
> But now I see all the questions on this list about setting up virtual
> domains and such and I am thinking that I am NOT alone.. That others have
> the same setup and problems I do..
>
> So here is my question.. Why is there not more support for Virtual Domains
> and such in Qmail?? SUre there is a blurb in the FAQ about it, I have seen
> some kludges and such. I have gotten one really fine script about it, but
> my own inexperience screwed that up..
>
> Is there anything out there about setting up Virtual Domains in QMAIL that a
> relatively inexperienced Linux Born Again Virgin can follow? I would think
> with all the post I have seen of late re: this problem that there would be
> some easy to follow info on how to set these up..
>
>
> Michale
> M I S
>