<html><head><style type='text/css'>body { font-family: 'Arial'; font-size: 12pt; color: #000000}</style></head><body><br>----- Original Message -----<br>From: "Paul Bernal" &lt;donpool@gmail.com&gt;<br>To: mailscanner@lists.mailscanner.info<br>Sent: Wednesday, October 31, 2007 1:51:29 PM (GMT+1000) Australia/Brisbane<br>Subject: Receive - scan and forward to other domain name<br><br>Hi everyone,<br><br>I readed this<br>http://wiki.mailscanner.info/doku.php?id=documentation:configuration:mta:sendmail:how_to:setup_a_gateway<br>setup a gateway explanation on how to receive - scan and forward an<br>email sent to some domain...<br><br>But what I need is:<br><br>* Receive an email to sameuser@onedomain.com on a MailScanner box<br>* MailScan this message<br>* Forward it to sameuser@otherdomain.com where otherdomain.com it's an<br>extra local-box expecting to receive emails to anyuser@otherdomain.com<br><br>There's a way to do this ?<br><br>Thank's in advance<br>don pool<br>-- <br>MailScanner mailing list<br>mailscanner@lists.mailscanner.info<br>http://lists.mailscanner.info/mailman/listinfo/mailscanner<br><br>Before posting, read http://wiki.mailscanner.info/posting<br><br>Support MailScanner development - buy the book off the website! <br><br>I'm not sure I understand why you would want to do this. I'm guessing
you have the MX records for the 'otherdomain.com' pointing at the same
server as 'onedomain.com' ? or do you only advertise 1 domain with an
MX record ? I'm not sure what value there is in having 2 domains to do
this as there is only really one in use ? Wouldn't you be better to
just have 1 advertised domain and reduce the complexity by only have
one final mail server for that domain ?<br><br>I must be missing something.<br><br><br>As
far as your question goes...........I dont think you can do this with
mailscanner, it is more of an MTA function. I use postfix and it can do
all sort of address rewriting (as I'm sure most decent MTAs can). I use
a transport map to direct any email destined for a certain domain to be
routed to that domains email server. Which MTA are you using ?<br><br><br>Cheers.<br>-- <br>This message has been scanned for viruses and<br>dangerous content by MailScanner, and is<br>believed to be clean.<br><br></body><br />-- 
<br />This message has been scanned for viruses and
<br />dangerous content by
<a href="http://www.mailscanner.info/"><b>MailScanner</b></a>, and is
<br />believed to be clean.
</html>