On Thu, 14 Dec 2000, Eric F Crist wrote:
> I am having a problem with virtual hosting with sendmail.  I can't get it to
> recognize my virtusertable files to map the second domain addresses to the
> correct local accounts.  Can someone help me?
> I am using sendmail 8.11.1

MC Entries:

FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable')dnl

/etc/mail/virtusertable:

name at domain1		user at yourdomain
name2 at domain1		user2 at yourdomain
@domain1		user3 at yourdomain

name at domain2		user4 at yourdomain
@domain2		user5 at yourdomain

..you either want to have the @domain route to a real user, or to a user
that will bounce the message. otherwise, it will default to local users on
your machine.

if you want to remap users of a domain to yours:

@example.com		%1 at yourdomain.net

so bob at example.com delivers to bob at yourdomain.net.

Hope it helps.

-- 
Nate Carlson <natecars at real-time.com>   | Phone : (952)943-8700
http://www.real-time.com                | Fax   : (952)943-8500