I have 2 mx records. The primary is Exchanges edge server that has it's own internal spam filtering. The secondary is poxtfix server relaying mail to the edge server as a backup mx record. Are you saying the postfix server should be behind the Exchange edge server?
Kevin On Thu, Feb 14, 2013 at 1:36 PM, Reindl Harald <h.rei...@thelounge.net>wrote: > > > Am 14.02.2013 20:31, schrieb Kevin Blackwell: > > I'm using postfix to relay email to our exchange server. > > > > The problem I'm running into is the spam filtering on the exchange > filter is being bypassed because the relayed > > email shows a from address of the email relay server and not the > originating ip address. > > > > Is there a was to configure postfix to relay male but retain the > received from IP address when it was received by > > postfix? > > wrong setup > > the spamfilter has to be on the MX directly in front of > both machines and especially in front of exchange > > what do you imagine happens if spam would be caught > on the exchange? well, it jectes while postfix in front > of it has received it > > now you have two choices and btoh are completly wrong: > * get a backscatter > * drop messages which you accepted with 250 silently > which is not permitted per law > > -- Kevin Blackwell