Question : how to configure sendmail for mail server host in virtual domain lan

In the past I have configured a dedicated linux host to act as a mail server in a LAN configuration. Now, I need to do something similar (dedicate mail host), but I have several hosts in the lan each hosting several virtual domains. I want the mail server to route incoming mail to the appropriate host. I can easily configure Network Solutions to send the various domain's email to this one host. I'm sure this is a pretty typical configuration for ISP setups, but it's new to me. I need lots of help!

In the code snippet below is a sendmail.mc file (sans-comments) I've used as a templae in the past. Perhaps this is a good starting point.

What do I need to do to make this work on my mail server given the configuration I've spacified.
Code Snippet:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
include(`../m4/cf.m4')
OSTYPE(`linux')dnl
define(`confTO_IDENT', `0')dnl
define(`confBAD_RCPT_THROTTLE',`1')dnl
define(`confCONNECTION_RATE_THROTTLE',`3')dnl
define(`confDEAD_LETTER_DROP',`/dev/null')dnl
define(`confDOUBLE_BOUNCE_ADDRESS',`nobody')dnl
define(`confDF_BUFFER_SIZE',`16384')dnl
define(`confXF_BUFFER_SIZE',`16384')dnl
FEATURE(`use_cw_file')dnl
FEATURE(`use_ct_file')dnl
FEATURE(`mailertable',`hash -o /etc/mail/mailertable.db')dnl
FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable.db')dnl
FEATURE(`access_db', `hash -T /etc/mail/access')dnl
FEATURE(`lookupdotdomain')dnl
FEATURE(`blacklist_recipients')dnl
FEATURE(`dnsbl')dnl
FEATURE(`dnsbl', `relays.ordb.org')dnl
FEATURE(`dnsbl', `dul.dnsbl.sorbs.net')dnl
FEATURE(`delay_checks',`friend',`n')dnl
FEATURE(`local_procmail',`',`procmail -t -Y -a $h -d $u')dnl
FEATURE(`always_add_domain')dnl
FEATURE(`redirect')dnl
MASQUERADE_AS(`novatec-inc.com')
FEATURE(`masquerade_envelope')
FEATURE(`masquerade_entire_domain')
dnl# FEATURE(`relay_entire_domain')dnl
EXPOSED_USER(`root')dnl
dnl# Also accept mail for localhost.localdomain:
LOCAL_DOMAIN(`localhost.localdomain')dnl
MAILER(local)dnl
MAILER(smtp)dnl
MAILER(procmail)dnl

Answer : how to configure sendmail for mail server host in virtual domain lan

And add in /etc/mail/access for mail.fluxrunner.com:

To:courtscan.com       RELAY

Once the MX record for this domain is visible via a dig, mail to this domain should work.
Random Solutions  
 
programming4us programming4us