<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">'cuz that's what I was told to do by my manager.&nbsp; If I were to design the system, that's *exactly* what I would do.&nbsp; Not my choice...&nbsp; I'm in the difficult position of trying to make something work that I know to be wrong to begin with.<br><br>Cheers!<br><br>Bob<br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: David J. Andruczyk &lt;djandruczyk@yahoo.com&gt;<br>To: nflug@nflug.org<br>Sent: Friday, August 17, 2007 9:48:12 AM<br>Subject: Re: [nflug] Email<br><br><div>Uhhm, why can't you just assign this "relay box" to be<br>the MX (mail exchanger) in DNS for all the other<br>domains,&nbsp;&nbsp;so INCOMING mail goes to it where
 it can be<br>filtered and relayed to those other boxes..<br><br>just let those other boxes send to the internet<br>DIRECTLY... <br><br>No need for weird source routing tricks, or<br>virtualization.<br><br>--- Robert Meyer &lt;meyer_rm@yahoo.com&gt; wrote:<br><br>&gt; OK, guys... I cannot redesign the environment.&nbsp;&nbsp;I am<br>&gt; required to follow the design.&nbsp;&nbsp;We're replacing an<br>&gt; Imail server that holds accounts and provides relay<br>&gt; functions.&nbsp;&nbsp;The Imail server will be moved to<br>&gt; another site and we need to reconstruct the relay<br>&gt; function.&nbsp;&nbsp;All incoming mail for our clients hits<br>&gt; the relay box and is routed to the appropriate<br>&gt; backend server.&nbsp;&nbsp;This gives us a troubleshooting<br>&gt; point and allows us to potentially do single point<br>&gt; spam and virus detection.&nbsp;&nbsp;All mail coming from the<br>&gt; backend servers hits the relay before going out. <br>&gt;
 Again, as a troubleshooting point and for the<br>&gt; potential for spam and virus filtering.&nbsp;&nbsp;I cannot<br>&gt; change the overall design.&nbsp;&nbsp;I have been requested to<br>&gt; find a way to make outgoing mail from different<br>&gt; clients originate from different IP addresses so<br>&gt; that if one of the clients gets put on a spam list,<br>&gt; it doesn't hurt all of our clients...&nbsp;&nbsp;Those are my<br>&gt; constraints.&nbsp;&nbsp;If I were to be designing this, those<br>&gt; of you that<br>&gt;&nbsp;&nbsp;know me, know that I would not have designed it<br>&gt; this way.<br>&gt; <br>&gt; So far, the only method that I know of to accomplish<br>&gt; this is with virtualization.&nbsp;&nbsp;I'm looking for ideas.<br>&gt; <br>&gt; Cheers!<br>&gt; <br>&gt; Bob<br>&gt; <br>&gt; ----- Original Message ----<br>&gt; From: Darin Perusich<br>&gt; &lt;Darin.Perusich@cognigencorp.com&gt;<br>&gt; To: nflug@nflug.org<br>&gt; Sent: Friday,
 August 17, 2007 9:18:09 AM<br>&gt; Subject: Re: [nflug] Email<br>&gt; <br>&gt; Your "extra elbow grease to set up and get familiar<br>&gt; with" comment sounds <br>&gt; like a good reason to me to use another MTA ;-). Why<br>&gt; not use Exim, <br>&gt; Qmail, or Exchange for that matter? Then again<br>&gt; everyone has their own <br>&gt; preference and in the end the same problem needs to<br>&gt; be resolved.<br>&gt; <br>&gt; Pete Cummings wrote:<br>&gt; &gt; Why not put sendmail in front of the whole mess ?<br>&gt; I know it takes some <br>&gt; &gt; extra elbow grease to set up and get familiar with<br>&gt; it, but I've never <br>&gt; &gt; been at a loss for features.<br>&gt; &gt; Pete<br>&gt; &gt; <br>&gt; &gt; eric wrote:<br>&gt; &gt;&gt; Starting new sub-thread..<br>&gt; &gt;&gt; Darin, can I ask, what are all the mail packages<br>&gt; you use postfix, etc..<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; I'd love an outline or rough draft?<br>&gt;
 &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; Darin Perusich wrote:<br>&gt; &gt;&gt;&gt; Will this machine be an MX server or will it be<br>&gt; behind your MX and <br>&gt; &gt;&gt;&gt; relaying from there? I'm also not understanding<br>&gt; your SPAM tagging <br>&gt; &gt;&gt;&gt; point. Are you concerned about your relay<br>&gt; marking mail from the <br>&gt; &gt;&gt;&gt; domains it's relaying for marking them as SPAM?<br>&gt; This is easily <br>&gt; &gt;&gt;&gt; remedied by setting the following spamassassin<br>&gt; rule and included ALL <br>&gt; &gt;&gt;&gt; of the relaying domains:<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt; header LOCAL_RCVD Received =~<br>&gt; /.*\(\S+\.cognigencorp\.com\s+\[.*\]\)/<br>&gt; &gt;&gt;&gt; describe LOCAL_RCVD Received from local machine<br>&gt; &gt;&gt;&gt; score LOCAL_RCVD -50<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt; The only way outgoing mail will be sent from a<br>&gt; different IP is using <br>&gt;
 &gt;&gt;&gt; some type of virtualization, and why doesn't<br>&gt; this even matter? It <br>&gt; &gt;&gt;&gt; sounds like over complicating the setup.<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt; You mentioned using Postfix for the MTA, a wise<br>&gt; move IMHO ;-). Are <br>&gt; &gt;&gt;&gt; you planning on using amavisd-new to filter, tag<br>&gt; spam, and virus <br>&gt; &gt;&gt;&gt; check? This is a very typical and efficient<br>&gt; setup for relaying for <br>&gt; &gt;&gt;&gt; multiple domains not to mention straightforward.<br>&gt; Your setup is a <br>&gt; &gt;&gt;&gt; little more complication then what I have setup<br>&gt; here but it's pretty <br>&gt; &gt;&gt;&gt; much the same. If you want more details let me<br>&gt; know.<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt; Robert Meyer wrote:<br>&gt; &gt;&gt;&gt;&gt; OK, before we get into this, remember that this<br>&gt; is NOT my design.&nbsp;&nbsp;<br>&gt; &gt;&gt;&gt;&gt; I'm trying to make the best of
 what I have<br>&gt; here...&nbsp;&nbsp;Having said that...<br>&gt; &gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt; We currently have several clients, all using an<br>&gt; Imail server <br>&gt; &gt;&gt;&gt;&gt; (remember, not my design) to handle Email.&nbsp;&nbsp;We<br>&gt; are also routing a <br>&gt; &gt;&gt;&gt;&gt; few Exchange servers through it.&nbsp;&nbsp;In essence,<br>&gt; all mail coming in for <br>&gt; &gt;&gt;&gt;&gt; these clients hits a single server that<br>&gt; separates the domain names <br>&gt; &gt;&gt;&gt;&gt; and routes the mail to the backend servers.&nbsp;&nbsp;We<br>&gt; also have some <br>&gt; &gt;&gt;&gt;&gt; clients that are actually storing their mail on<br>&gt; the Imail server.&nbsp;&nbsp;<br>&gt; &gt;&gt;&gt;&gt; These two functions are going to be separated<br>&gt; so that the relay <br>&gt; &gt;&gt;&gt;&gt; server and the POP/IMAP functions are on<br>&gt; different boxes.&nbsp;&nbsp;The mail <br>&gt; &gt;&gt;&gt;&gt; servers
 that I relay for also relay back<br>&gt; through the Imail server.&nbsp;&nbsp;<br>&gt; &gt;&gt;&gt;&gt; The problem is that if one client gets infected<br>&gt; with a spam virus or <br>&gt; &gt;&gt;&gt;&gt; otherwise gets the server tagged as a spam<br>&gt; host, it breaks all of <br>&gt; &gt;&gt;&gt;&gt; the clients that route through that server.&nbsp;&nbsp;We<br>&gt; (actually, they) <br>&gt; &gt;&gt;&gt;&gt; want to keep the single relay host, because<br>&gt; it's good for <br>&gt; &gt;&gt;&gt;&gt; troubleshooting.&nbsp;&nbsp;(remember, not my design)<br>&gt; &gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt; What I need to know is:&nbsp;&nbsp;Is there any way that<br>&gt; I can set up a system <br>&gt; &gt;&gt;&gt;&gt; that will relay mail from internal mail servers<br>&gt; but have the IP <br>&gt; &gt;&gt;&gt;&gt; address leaving the server be different for<br>&gt; each domain.&nbsp;&nbsp;<br>&gt; &gt;&gt;&gt;&gt; Essentially, I want it to look like each
 domain<br>&gt; is coming from a <br>&gt; &gt;&gt;&gt;&gt; different server.&nbsp;&nbsp;We are switching the relay<br>&gt; server to CentOS (RHEL <br>&gt; &gt;&gt;&gt;&gt; clone) and are going to use Postfix for the<br>&gt; relay functions.<br>&gt; &gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt; The only idea that comes to mind is to create<br>&gt; multiple virtual <br>&gt; &gt;&gt;&gt;&gt; servers with VMWare and route each client<br>&gt; through a different <br>&gt; &gt;&gt;&gt;&gt; virtual machine.&nbsp;&nbsp;I know I can create multiple<br>&gt; IP aliases on the <br>&gt; &gt;&gt;&gt;&gt; machine.&nbsp;&nbsp;Can I leverage that somehow to get<br>&gt; different source <br>&gt; &gt;&gt;&gt;&gt; addresses for different domains?<br>&gt; &gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt; Thanks...<br>&gt; &gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt; Cheers!<br>&gt; &gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt; Bob<br>&gt; &gt;&gt;&gt;&gt;<br>&gt;
 &gt;&gt;&gt;&gt;<br>&gt;<br>------------------------------------------------------------------------<br>&gt; <br>&gt; &gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt; Moody friends. Drama queens. Your life? Nope! -<br>&gt; their life, your story.<br>&gt; &gt;&gt;&gt;&gt; Play Sims Stories at Yahoo! Games. <br>&gt; &gt;&gt;&gt;&gt;<br>&gt;<br>&lt;<a target="_blank" href="http://us.rd.yahoo.com/evt=48224/*http://sims.yahoo.com/">http://us.rd.yahoo.com/evt=48224/*http://sims.yahoo.com/</a>&gt;<br>&gt; &gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt;<br>&gt;<br>------------------------------------------------------------------------<br>&gt; <br>&gt; &gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt; _______________________________________________<br>&gt; &gt;&gt;&gt;&gt; nflug mailing list<br>&gt; &gt;&gt;&gt;&gt; nflug@nflug.org<br>&gt; &gt;&gt;&gt;&gt; <a target="_blank"
 href="http://www.nflug.org/mailman/listinfo/nflug">http://www.nflug.org/mailman/listinfo/nflug</a><br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; _______________________________________________<br>&gt; &gt;&gt; nflug mailing list<br>&gt; &gt;&gt; nflug@nflug.org<br>&gt; &gt;&gt; <a target="_blank" href="http://www.nflug.org/mailman/listinfo/nflug">http://www.nflug.org/mailman/listinfo/nflug</a><br>&gt; &gt;&gt;<br>&gt; &gt; <br>&gt; &gt; _______________________________________________<br>&gt; &gt; nflug mailing list<br>&gt; &gt; nflug@nflug.org<br>&gt; &gt; <a target="_blank" href="http://www.nflug.org/mailman/listinfo/nflug">http://www.nflug.org/mailman/listinfo/nflug</a><br>&gt; <br>&gt; -- <br>&gt; Darin Perusich<br>&gt; Unix Systems Administrator<br>&gt; Cognigen Corporation<br>&gt; 395 Youngs Rd.<br>&gt; Williamsville, NY 14221<br>&gt; Phone: 716-633-3463<br>&gt; Email: darinper@cognigencorp.com<br>&gt;
 _______________________________________________<br>&gt; nflug mailing list<br>&gt; nflug@nflug.org<br>&gt; <a target="_blank" href="http://www.nflug.org/mailman/listinfo/nflug">http://www.nflug.org/mailman/listinfo/nflug</a><br>&gt; <br>&gt; <br>&gt; <br>&gt; <br>&gt; <br>&gt; <br>&gt; <br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>&gt;<br>____________________________________________________________________________________<br>&gt; Shape Yahoo! in your own image.&nbsp;&nbsp;Join our Network<br>&gt; Research Panel today!&nbsp;&nbsp;<br>&gt;<br><a target="_blank" href="http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7">http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7</a><br>&gt; <br>&gt; <br>&gt; &gt; _______________________________________________<br>&gt; nflug mailing list<br>&gt; nflug@nflug.org<br>&gt; <a target="_blank" href="http://www.nflug.org/mailman/listinfo/nflug">http://www.nflug.org/mailman/listinfo/nflug</a><br>&gt;
 <br><br><br>-- David J. Andruczyk<br><br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>____________________________________________________________________________________<br>Got a little couch potato? <br>Check out fun summer activities for kids.<br><a target="_blank" href="http://search.yahoo.com/search?fr=oni_on_mail&amp;p=summer+activities+for+kids&amp;cs=bz">http://search.yahoo.com/search?fr=oni_on_mail&amp;p=summer+activities+for+kids&amp;cs=bz</a> <br>_______________________________________________<br>nflug mailing list<br>nflug@nflug.org<br><a target="_blank" href="http://www.nflug.org/mailman/listinfo/nflug">http://www.nflug.org/mailman/listinfo/nflug</a><br></div></div><br></div></div><br>
      <hr size=1>Luggage? GPS? Comic books? <br>
Check out fitting <a href="http://us.rd.yahoo.com/evt=48249/*http://search.yahoo.com/search?fr=oni_on_mail&p=graduation+gifts&cs=bz"> gifts for grads</a> at Yahoo! Search.</body></html>