Bill Parker <[EMAIL PROTECTED]> wrote:

>       Running qmail v1.03, vpopmail, chkpasswd, tcpserver, etc...mail works
>well for the primary domain (smtpd/pop3d)...now what I am trying to is
>is accept mail for a domain foo.com, so if someone sends a mail to
>[EMAIL PROTECTED], it goes to an actual user in the primary domain.

Depends upon whether or not foobar is an actual user in the primary
domain, and if that's the intended recipient. Based on:

>At the moment all I get for the foo.com domain if someone sends a msg
>to [EMAIL PROTECTED] is: No Mailbox here by this name...

I suspect that's not the case. If it's not, you need to add an entry
to control/virtualdomains like:

    foo.com:foocom

which will redirect [EMAIL PROTECTED] to foocom-foobar. User foocom (the
virtual domain administrator) can create a .qmail-foobar file to
redirect the messages to the intended recipient.

Or, if [EMAIL PROTECTED] is the only foo.com address you want to
intercept, you can do:

    [EMAIL PROTECTED]:alias-foobar

And redirect the mail via ~alias/.qmail-foobar-default.

>I know this can
>be done, but it eludes me from reading the docs...(Where is that pesky
>qmail book with lots and lots of examples) :-)

Well, "Life with qmail" is a qmail book with some examples, but I
wouldn't call it "pesky" or say it had "lots and lots" of
examples. Donations of examples are welcome. :-)

See:

    http://Web.InfoAve.Net/~dsill/lwq.html
    http://Web.InfoAve.Net/~dsill/lwq.html#multiple-hostnames
    http://Web.InfoAve.Net/~dsill/lwq.html#virtual-domains

-Dave

Reply via email to