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

Re: [cobalt-users] Email for two domains through one admin



"Greg Hewitt-Long" <greg@xxxxxxxxxxxxxxxxxxx> wrote:
> How do you setup multiple domains for a client onto
> the one IP/virtual site - on a RAQ3 - so that domain to
> fred@xxxxxxxxxxx and fred@xxxxxxxxxxx get treated
> the same - ie, they are equal and allow, and follow the
> same mail forwarding rules.

Open virtusertable and find the section beginning "# accept-email-at-domain
routes".  Below it, look for the lines for your domain2.com.  Change it to:

# accept-email-at-domain routes
@domain2.com       %1@xxxxxxxxxxxxxxx

Save your changes.

Type "makemap hash /etc/virtusertable.db < /etc/virtusertable".  Now email
coming into LHS@xxxxxxxxxxx will be translated to LHS@xxxxxxxxxxxxxxx and
sendmail will look for the next matching record and handle it accordingly.


--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/