try changing these two lines from:
FEATURE(`mailertable',`hash -o /etc/mail/mailertable.db')dnl
FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable.db')dnl
to
FEATURE(virtusertable, `hash -o /etc/mail/virtusertable -T<TMPF>')dnl
FEATURE(access_db, `hash -o /etc/mail/access -T<TMPF>')dnl
You might want to thing about adding this line to prevent some spam from hitting your server:
FEATURE(dnsbl,`sbl.spamhaus.org',`"550 Spam blocked by use of list sbl.spamhaus.
org. See
http://www.abuse.net/sbl.phtml?IP="$&{client_addr}" for more informati
on."')dnl
For what it's worth my current sendmail.mc file is:
divert(-1)
include(`../m4/cf.m4')dnl
VERSIONID(`$Id: my MC file 5.x v2 2000/03/12 Exp $')dnl
OSTYPE(linux)dnl
define(`confMAX_HOP', `40')dnl
define(`confMAX_MESSAGE_SIZE', `5500000')dnl
define(`confPRIVACY_FLAGS', ``goaway'')dnl
define(`confCW_FILE',`/etc/mail/sendmail.cw')dnl
define(`confSMTP_LOGIN_MSG',`$j Sendmail $v/$Z; $b - NO UCE! - Use of these facilities for storage or transmission of unsolicited advertising e-mail (bulk or otherwise) is PROHIBITED!')dnl
FEATURE(`nouucp',`reject')dnl
FEATURE(always_add_domain)dnl
FEATURE(local_procmail,`/usr/bin/procmail')dnl
FEATURE(`use_cw_file')dnl
FEATURE(virtusertable, `hash -o /etc/mail/virtusertable -T<TMPF>')dnl
FEATURE(access_db, `hash -o /etc/mail/access -T<TMPF>')dnl
FEATURE(relay_hosts_only)dnl
FEATURE(dnsbl,`bl.spamcop.net',`"550 Spam blocked by use of list bl.spamcop.net. See
http://spamcop.net/w3m?action=checkblock&ip="$&{client_addr}" for more information."')dnl
FEATURE(dnsbl,`sbl.spamhaus.org',`"550 Spam blocked by use of list sbl.spamhaus.org. See
http://www.abuse.net/sbl.phtml?IP="$&{client_addr}" for more information."')dnl
FEATURE(`dnsbl', `relays.ordb.org', `"550 Spam blocked by use of list
www.ordb.org. See
http://www.ordb.org/lookup/?host="$&{client_addr}" information."')dnl
FEATURE(`delay_checks')dnl
MAILER(local)dnl
MAILER(smtp)dnl