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

Re: [cobalt-users] email on parked domain



master wrote:

> Anybody can tell this newby how i can accapt email on parked domains,
> example:
> i have 4 domains pointing to a same virtual site.
> now i want that mail for domain1 will go in emailbox 1
> mail for domain 2 will go to emailxox 2 etc.
> 
> Is it possible, and if so how...

Simple <smile>...

Create mx records for the sites.

Create four users for the virtual site.

Add these lines manually to the bottom of /etc/mail/virtusertable:

@domain1.com <tab> user1@xxxxxxxxxxxxxxxx
@domain2.com <tab> user2@xxxxxxxxxxxxxxxx
@domain3.com <tab> user3@xxxxxxxxxxxxxxxx
@domain4.com <tab> user4@xxxxxxxxxxxxxxxx

(those are just tabs between the two fields)

Then:

# makemap hash /etc/mail/virtusertable < /etc/mail/virtusertable

Should work fine.

Jeff
-- 
Jeff Lasman <jblists@xxxxxxxxxxxxx>
Linux and Cobalt/Sun/RaQ Consulting
nobaloney.net, P. O. Box 52672, Riverside, CA  92517
voice: +1 909 778-9980  *  fax: +1 909 548-9484