<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>Sendmail Config Question</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>HELO,</FONT>
</P>

<P><FONT SIZE=2>I need some Sendmail config help, and I am not finding the available docs all that useful, most likely due to inexperience on my part.</FONT></P>

<P><FONT SIZE=2>I want to change the configuration of a sendmail server that is the primary MX for haht.com and also provides some virtual hosting for a few other domains. Currently, the server relays mail using the "smart" relay host option in sendmail.cf thru a firewall into another SMTP server. I would like to change the configuration to do the following:</FONT></P>

<P><FONT SIZE=2>1) relay SMTP traffic for approved domains in relay-domains</FONT>
<BR><FONT SIZE=2>   (relay-domains currently includes haht.com, as well as the other approved domains)</FONT>
<BR><FONT SIZE=2>2) resolve aliases for a subset of @haht.com addresses </FONT>
<BR><FONT SIZE=2>   (i.e. jaimiel@haht.com to jlivingston@haht.com)</FONT>
<BR><FONT SIZE=2>3) relay/forward @haht.com messages to another SMTP server</FONT>
<BR><FONT SIZE=2>   (for anti-virus and anti-spam filtering)</FONT>
</P>

<P><FONT SIZE=2>The version of Sendmail being used is 8.12.9.</FONT>
</P>

<P><FONT SIZE=2>The current configuration does #1 and #3, but does not do #2. </FONT>
</P>

<P><FONT SIZE=2>I have experimented a little bit with the aliases file, the virtualuser file, and the Smart relay option in sendmail.cf, but I have not been successful getting all three requirements working. </FONT></P>

<P><FONT SIZE=2>#1 seems easy enough.</FONT>
<BR><FONT SIZE=2>#2 only works if I don't relay using the "Smart" relay host option in sendmail.cf. Unfortunately, messages to @haht.com addresses not found in the aliases file bounce.</FONT></P>

<P><FONT SIZE=2>#3 works if I relay using the "Smart" relay host option in sendmail.cf, but Sendmail won't resolve aliases for @haht.com addresses using either the aliases file or the virtualusertable.</FONT></P>

<P><FONT SIZE=2>I don't want to create user shell accounts on this server.</FONT>
</P>

<P><FONT SIZE=2>Can this be done?</FONT>
</P>

<P><FONT SIZE=2>Thanks in advance.</FONT>
</P>

<P><FONT SIZE=2>Jaimie</FONT>
</P>

<P><FONT SIZE=2>P.S. - While I generally appreciate alternatives (postfix, spamassassin, procmail, or <your_choice_here>), my options in this instance are constrained by outside factors. I have to use Sendmail, I have to use the av/as product that is in place, and I don't have the option to rebuild the system. I would appreciate it if evangelising could be kept to a minimum.</FONT></P>
<BR>
<BR>

</BODY>
</HTML>