Transparent mail filter

2009-03-30 Thread Serge Fonville
Hi,
I am in the process of setting up a t ransparent
mail
filter<http://www.linuxquestions.org/questions/linux-server-73/transparent-mail-filter-distribution-714608/#post3488536>
 .

Postfix seems the best I could find for this.

I already have the following 'idea' about how it should be

NAT router 172.16.0.254
Existing MS Exchange Server 172.16.0.2

In between I intend to place a transparent host (through a bridged
interface) that redirects all traffic destined for 172.16.0.2 on port 25 to
a local postfix instance.
The postfix instance relays the mail to the exchange server after processed
by Spamassasin.
The source and destination domains are unkown.
This seems to mean a couple of things I think (after reading the docs)

mynetworks should be 0.0.0.0/0 (which seems really odd to me)
I am not sure what I need to set relaydomains to, since these are unkown...
relayhost should be 172.16.0.2

Any help is greatly appreciated

Thanks a lot.

Regards,

Serge Fonville


Re: Transparent mail filter

2009-03-30 Thread Noel Jones

Serge Fonville wrote:

Hi,

I am in the process of setting up a t ransparent 
mail filter 
<http://www.linuxquestions.org/questions/linux-server-73/transparent-mail-filter-distribution-714608/#post3488536> .


Postfix seems the best I could find for this.


Please don't post HTML to the list.

Postfix is not a transparent proxy and can not be made to 
behave like one.


Postfix can be used as an MX gateway in front of exchange, 
here's a general example:

http://www.postfix.org/STANDARD_CONFIGURATION_README.html#firewall

If you want a transparent proxy, you might look at ASSP.

  -- Noel Jones


Re: Transparent mail filter

2009-03-30 Thread Serge Fonville
> Please don't post HTML to the list.

Sorry about the HTML.

> Postfix is not a transparent proxy and can not be made to behave like one.
> Postfix can be used as an MX gateway in front of exchange, here's a general
> If you want a transparent proxy, you might look at ASSP.

Thanks for the answer, I will look into that then

Regards,

Serge Fonville


Re: Transparent mail filter

2009-03-30 Thread Victor Duchovni
On Mon, Mar 30, 2009 at 11:44:48PM +0200, Serge Fonville wrote:

> > Postfix is not a transparent proxy and can not be made to behave like one.
> > Postfix can be used as an MX gateway in front of exchange, here's a general
> > If you want a transparent proxy, you might look at ASSP.
> 
> Thanks for the answer, I will look into that then

Perhaps, but why do you believe you need a transparent proxy between the
Internet and your Exchange server? Generally, this is not a good idea...

You got the right answer to something that is likely the wrong question.
What problem are you *really* trying to solve?

-- 
Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:


If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.