[ale] Relaying email OUT based on return sender domain

Jim Kinney jim.kinney at gmail.com
Wed May 1 16:35:18 EDT 2013


This may help:

http://drjohnstechtalk.com/blog/2011/09/obscure-tips-for-sendmail-admins/

route by recipient is easy. You want the hard stuff! What is discussed in
the article makes sense but I've never had need to use it.


On Wed, May 1, 2013 at 4:23 PM, Lightner, Jeff <JLightner at water.com> wrote:

>   Note:  I am NOT asking about aliasing of INBOUND emails.  I am asking
> about emails being sent OUTBOUND.****
>
> ** **
>
> 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.****
>
> ** **
>
> 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.****
>
> ** **
>
> The idea would be if I send an email and set the return sender as say
> billybob at mydomain1.com it would relay through our MS Exchange server.  On
> the other hand if I set the return sender as billybob at otherdomain.com 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.****
>
> ** **
>
> 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?**
> **
>
> ** **
>
> Please don’t suggest we move to Postfix unless you know how to accomplish
> the task described above in Postfix.  ****
>
>
>
>
>
>
>
>
>
> Athena®, Created for the Cause™
>
> Making a Difference in the Fight Against Breast Cancer
>
>
>
>
>
> *How and Why I Should Support Bottled Water!
> *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
> http://www.bottledwatermatters.org/luv-bottledwater-iframe/dswaters 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!
>
>
>
> ---------------------------------
> 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.
> ----------------------------------****
>
>
>
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
>
>


-- 
-- 
James P. Kinney III
*
*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's like feeding a dog on his own tail.
It won't fatten the dog.
- Speech 11/23/1900 Mark Twain
*
http://electjimkinney.org
http://heretothereideas.blogspot.com/
*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ale.org/pipermail/ale/attachments/20130501/1db8a899/attachment.html>


More information about the Ale mailing list