<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2802" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I am using Centos 4.2,&nbsp;MailScanner 4.50.14 and 
Sendmail 8.13.1</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I have relay.mydomain.com that is my MailScanner 
box and where the MX for mydomain.com points towards.</FONT></DIV>
<DIV><FONT face=Arial size=2>exchange.mydomain.com is where a want to relay all 
other emails</FONT></DIV>
<DIV><FONT face=Arial size=2>outside.mydomain.com is an external mail server and 
receives MX outside.mydomain.com</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I wish that some email accounts for instance <A 
href="mailto:hans@mydomain.com">hans@mydomain.com</A> is forwarded to <A 
href="mailto:hans@outside.mydomain.com">hans@outside.mydomain.com</A>,</FONT></DIV>
<DIV><FONT face=Arial size=2><A 
href="mailto:per@mydomain.com">per@mydomain.com</A> is forwarded to <A 
href="mailto:per@outside.mydomain.com">per@outside.mydomain.com</A>, 
etc</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>All other email that is not defined i wish to relay 
to my exchange.mydomain.com box</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Sendmail setup as of now:</FONT></DIV>
<DIV><FONT face=Arial size=2>/etc/mail/access</FONT></DIV>
<DIV><FONT face=Arial size=2>mydomain.com&nbsp;&nbsp;&nbsp; RELAY</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>/etc/mail/mailertable</FONT></DIV>
<DIV><FONT face=Arial 
size=2>mydomain.com&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
esmtp:[exchange.mydomain.com]</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>So the thinkable&nbsp;solution for me would be if 
it worked</FONT></DIV>
<DIV><FONT face=Arial size=2>add mydomain.com to local-host-names</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>in virtualusertable</FONT></DIV>
<DIV><FONT face=Arial size=2><A 
href="mailto:hans@mydomain.com">hans@mydomain.com</A>&nbsp;&nbsp;&nbsp; <A 
href="mailto:hans@outside.mydomain.com">hans@outside.mydomain.com</A></FONT></DIV>
<DIV><FONT face=Arial size=2><A 
href="mailto:per@mydomain.com">per@mydomain.com</A>&nbsp;&nbsp;&nbsp; <A 
href="mailto:per@outside.mydomain.com">per@outside.mydomain.com</A></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial 
size=2>@pbl.no&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
esmtp:[exchange.mydomain.com]</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>So is there something in Sendmail or MailScanner 
that&nbsp;can do this?</FONT></DIV>
<DIV><FONT face=Arial size=2>I know I can RELAY all email to the exchange box 
and then forward to&nbsp;<A 
href="mailto:per@outside.mydomain.com , but">per@outside.mydomain.com , but</A> 
that is my last resort.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Best Regards</FONT></DIV>
<DIV><FONT face=Arial size=2>Christian</FONT></DIV></BODY></HTML>