Thanks again,
I have "read" that section but I think I need to read it a little more
carefully.
Pat.
At 09:41 AM 8/26/2004, you wrote:
> I have a question about
> /var/qmail/control/virtualdomains.
Just found this, which might again shed some light:
http://www.lifewithqmail.org/lwq.html#virtual-domains
<snip>
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] should 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:
[EMAIL PROTECTED]:prepend
qmail converts [EMAIL PROTECTED] to [EMAIL PROTECTED] 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.
After modifying virtualdomains, send qmail-send a HUP (hangup) signal to
tell it to reread the file. If you have qmailctl, you can do:
qmailctl reload
Don't forget to add virtual domains to rcpthosts, too.
</snip>
HTH
Simon
_______________________________________________
Dbmail mailing list
Dbmail@dbmail.org
https://mailman.fastxs.nl/mailman/listinfo/dbmail