Okay, i read the doc. Damn, qmail has so many great features but the
documentation is so spuratic.
I setup the virtualdomains file, hopefully you just create it and that's
all you need to do. Do you think you have to pull it out of 'locals'?
Let's test it...
sach
On Fri, 7 Sep 2001, Thorsten Sideb0ard wrote:
>
> Sach, looking over the Life With Qmail doc,
> it has a section:
>
> It's not quite what we are looking for, at least the example it gives
> isn't, but what we can try is putting
>
> highpointlowlife.com:thorsten
>
> in the /var/qmail/control/virtualdomains file.
>
>
> Read over below, and see if ya think it fits...
>
> 3.4. Virtual domains
> Virtual domains are similar to the multiple host names discussed in the
> previous section, but there are some important differences. First, if
> example.net hosts the virtual domain virtual.example.com, it's generally
> not true that messages sent to [EMAIL PROTECTED] will end up in the same
> mailbox as messages sent to [EMAIL PROTECTED] The namespace for
> each virtual domain is distinct.
>
> With qmail, virtual domains are configured in the virtualdomains file,
> which consists of one or more entries of the form:
>
> user@domain:prepend
>
> qmail converts user@domain to prepend-user@domain and treats the result as
> if domain was local. The user@ part is optional. If it's omitted, the
> entry matches all @domain addresses.
>
> Returning to the example scenario above, if the example.net mail
> administrator wanted to create a virtual domain, virtual.example.com,
> under the administrative control of user john, the following entry in
> virtualdomains would accomplish that:
>
> virtual.example.com:john
>
> An incoming message to [EMAIL PROTECTED] would be rewritten as
> [EMAIL PROTECTED] and delivered locally. See the .qmail
> section, and the extension addresses subsection for more information about
> how john can manage his virtual domain.
>
> As with multiple host names, all virtual domains must be listed in
> rcpthosts so qmail-smtpd will know to accept messages addressed to them.
> However, unlike multiple host names, virtual domains must not be added to
> locals.
>
>
>
> --------------------------------------------------------------------------------
> Note: Domain name server (DNS) mail exchanger (MX) records must be set up
> to direct messages for virtual domains to the appropriate mail server.
> This is a job for the name server administrator and is beyond the scope of
> this guide.
>
>
>
>
>
>
> On Fri, 7 Sep 2001, Sach Jobb wrote:
>
> > Anyone running qmail out there?
> >
> > I'm trying to figure out how to run a @catchall, ala sendmail's
> > virtualusertable for a particular virtual domain running on one of our
> > mail servers.
> >
> > That is, all mail that goes to 'myhappydomain.com' get's forwarded to one
> > particular user.
> >
> >
> > Cheers,
> > sach
> >
> >
>
>
--
/*
Sach Jobb
[EMAIL PROTECTED]
%s/windows/linux/g
*/
"As far as i'm concerned the two biggest hassles in the world revolve
around DNS and girlfriends."
-- (name undisclosed to protect the innocent)