[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] CGI executing on second domain for an account



> If I let a domain name point to subdirectory within another virtual site
> (with the method Manuel describes below), what happens with email sent to
> the domain pointer?
>
> Ie if domain2.com points to www.domain1.com/domain2web/
> This means, domain2.com's root is /home/sites/siteX/web/domain2web (where
X
> is the sitenumber for domain1.com). What happens if I send an email to
> www.domain2.com?

If you don't setup mail for the second domain: It will be bounced.

You have to edit /etc/virtusertable and add something like that (at the
bottom!!!, not top or middle):

    @domain2.com    %1@xxxxxxxxxxxxxxx
    @www.domain2.com    %1@xxxxxxxxxxxxxxx

This konverts all mail to something@xxxxxxxxxxx to something@xxxxxxxxxxx You
can also have specific email addresses go to another box, e.g.

    someuser@xxxxxxxxxxxxxxx    someotherpopbox

Place this line before the @www.domain2.com line.


Manuel