<div dir="ltr"><div>This may help:<br><br><a href="http://drjohnstechtalk.com/blog/2011/09/obscure-tips-for-sendmail-admins/">http://drjohnstechtalk.com/blog/2011/09/obscure-tips-for-sendmail-admins/</a><br><br></div>route by recipient is easy. You want the hard stuff! What is discussed in the article makes sense but I&#39;ve never had need to use it.<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, May 1, 2013 at 4:23 PM, Lightner, Jeff <span dir="ltr">&lt;<a href="mailto:JLightner@water.com" target="_blank">JLightner@water.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">







<div link="blue" vlink="purple" lang="EN-US">
<p></p>
<div>
<p class="MsoNormal">Note:  I am NOT asking about aliasing of INBOUND emails.  I am asking about emails being sent OUTBOUND.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">We have a need to send emails via different internal email relay servers based on the return sender associated with the email.   Previously I did this in HP-UX using sendmail’s “smarttable” facility.<u></u><u></u></p>

<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">We now need to replicate the setup on RHEL5 which also uses sendmail.   I haven’t really had a chance to look into it myself as I’m tasked with other priorities but the co-worker that tried to do this last year and the new one trying to
 do it now don’t seem to be getting anywhere in replicating this.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">The idea would be if I send an email and set the return sender as say
<a href="mailto:billybob@mydomain1.com" target="_blank">billybob@mydomain1.com</a> it would relay through our MS Exchange server.  On the other hand if I set the return sender as
<a href="mailto:billybob@otherdomain.com" target="_blank">billybob@otherdomain.com</a> it would relay through a separate Sendmail server I have for that purpose.    The difference here is that the Exchange server and Sendmail both send their email via different internet facing
 IPs.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Does anyone know how to do this in Linux Sendmail successfully?   Is there a better way to do it these days in sendmail?   I setup the UNIX stuff around 2006 and its been working ever since.   Maybe by use of a milter?<u></u><u></u></p>

<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Please don’t suggest we move to Postfix unless you know how to accomplish the task described above in Postfix. 
<u></u><u></u></p>
</div>
<p></p>
<p> </p>
<p> </p>
<p></p>
<p><font face="Arial"><font color="fuchsia"><font style="FONT-FAMILY:Arial;FONT-SIZE:10pt"></font></font></font> </p>
<p> </p>
<p><font face="Arial"><font color="fuchsia"><font style="FONT-FAMILY:Arial;FONT-SIZE:10pt">Athena<font size="1">®</font>, Created for the Cause</font><font size="1">™
</font></font></font></p>
<p><font face="Arial">Making a Difference in the Fight Against Breast Cancer</font></p>
<p><font face="Arial"></font> </p>
<p><font face="Arial"></font> </p>
<p><font face="Arial"><font><strong>How and Why I Should Support Bottled Water!<br>
</strong>Do not relinquish your right to choose bottled water as a healthy alternative to beverages that contain sugar, calories, etc. Your support of bottled water will make a difference! Your signatures count! Go to
<a href="http://www.bottledwatermatters.org/luv-bottledwater-iframe/dswaters" target="_blank">http://www.bottledwatermatters.org/luv-bottledwater-iframe/dswaters</a> and sign a petition to support your right to always choose bottled water. Help fight federal and state issues,
 such as bottle deposits (or taxes) and organizations that want to ban the sale of bottled water. Support community curbside recycling programs. Support bottled water as a healthy way to maintain proper hydration. Our goal is 50,000 signatures. Share this petition
 with your friends and family today!</font></font></p>
<p><font face="Arial"></font> </p>
<p><span style="FONT-FAMILY:Arial;FONT-SIZE:10pt">---------------------------------<br>
CONFIDENTIALITY NOTICE: This e-mail may contain privileged or confidential information and is for the sole use of the intended recipient(s). If you are not the intended recipient, any disclosure, copying, distribution, or use of the contents of this information
 is prohibited and may be unlawful. If you have received this electronic transmission in error, please reply immediately to the sender that you have received the message in error, and delete it. Thank you.<br>
----------------------------------</span><span style="FONT-FAMILY:&#39;Courier New&#39;;FONT-SIZE:9pt"><u></u><u></u></span></p>
<p> </p>
<p></p>
<p></p>
</div>

<br>_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>-- <br>James P. Kinney III<br><i><i><i><i><br></i></i></i></i>Every time you stop a school, you will have to build a jail. What you 
        gain at one end you lose at the other. It&#39;s like feeding a dog on his 
        own tail. It won&#39;t fatten the dog.<br>

        - Speech 11/23/1900 Mark Twain<br><i><i><i><i><br><a href="http://electjimkinney.org" target="_blank">http://electjimkinney.org</a><br><a href="http://heretothereideas.blogspot.com/" target="_blank">http://heretothereideas.blogspot.com/</a><br>
</i></i></i></i>
</div>