What a fool, !
Appologies for the incorrect previous explanation and many thanks for the reply 
pointing out my mistake :)

point 4 previous should have referenced Postfix1

My goal is if possible I'd like to have an independant server (the gateway) 
wash all mail whether internal or external before any final delivery takes 
place.

The mail flow should read as follows:
- external mail recieved into MX @ VSgate1
  - hits VSgate1, and is washed for spam and virus
  - washed mail is sent to Postfix1 for delivery processing

- Internal senders
  any mail sent by an internal user should first be sent to host VSgate1 to be 
washed and then returned via VSgate1 to Postfix1 for delivery.

Therefore internal and external mail is hopefully washed by the gateway server 
before any internal or external delivery.

Thanks for any advice you can give - Andy


Le 31/05/2011 01:00, an...@melted-ice.co.uk a écrit :
> Hi,
> I have a problem trying to work out a postfix solution.
> I have 2 smtp servers:
>    Mail gateway "VSgate1" for MX, Spam, Virus
>    Mail server "Postfix1" for general mail processing and storage.
> 
> my aim is to achieve the following
> 1. receive all mail through gateway mail server "VSgate1".
> 2. "VSgate1" delivers all successful mail to postfix server "Postfix1" and 
process internally.
> 3. from postfix server "Postfix1" send ALL mail to "VSgate1" for washing
> 4. "VSgate1" delivers internal as per 2.
> 5. "VSgate1" delivers external mail to internet
> 
> My question is can anyone point me in the right direction to solve the 
traffic flow with out causing a mail loop between the 2 servers.

part of your aim is that mail received by vsgate1 goes to postfix1 which
sends it to vsgate1. so the loop is part of your goal. no help is possible.

so the big question is: what is the REAL goal? what REAL problem are you
trying to solve? there is no point making mail flow along random paths
just for the love of it. a single postfix can deliver mail internally
and can relay mail to outside. in short, what "postfix1" is for?

please notice: if you can't explain your problem clearly, we can't help
you.

> 
> I already can do item 1. but cannot work out the rest.
>

Reply via email to