I have a rather complicated postfix setup that I'm needing some thoughts/input 
on how to accomplish.. (and what minimum version of Postfix I might need to use 
to get it done).

History / Existing infrastructure.

So, we are selling Spam filtering / archiving email services through an 
external service called Reflexion.

Basically their setup requires you to set them as the MX of your domain, and 
then have all originating mail go out through their sending server.  This does 
two things.. First it allows them to archive the email (if we have that feature 
turned on for that customer) AND it removes the "control panel" that gets 
appended to incoming emails (e.g. spam control etc..) when an email is 
forwarded.    As external users are not supposed to see that at all

The current server uses sender_dependent_relayhost_maps to setup domain-based 
map of domains that use Reflexion to ensure originating mail gets sent out.. 
However that doesn't handle internal mail. (e.g. between users of the same 
domain or between users of two separate hosted domains). 

The current setup (CentOS 5 based-server) running postfix 2.3.3


The problem / new infrastructure.

The problem of course is I need to find someway to get the internal mail 
forwarded out to Reflexion before coming back in.  This further gets 
complicated as not all domains on the (existing) server use reflexion.

The new server is a CentOS 6 64bit server.. Thus,  postfix 2.6.6. (I can 
upgrade if needed)

My initial thinking was to do something to the submission port (thus requiring 
all users to use SMTP submission to send email and NOT use port 25).  To have 
it somehow use the auth to determine who should have their mail ran through 
reflexion instead.  (auth is full emailaddress).  Having "some" domains using 
reflexion and some not. can be removed a as a requirement if need be. Although 
it can complicate things if a customer adds the service as we now have to move 
them from one server to another.

So, any thoughts on how to get Postfix configured to do this without creating 
loops.  And hopefully handling all the internal mail complexities.. (e.g. 
hosted non-reflexion domain email -> hosted reflexion domain email,   
reflex->reflex domain and reflex->non-reflex domain)..  

And let me know what extra clarification is needed?


Edward Rudd
OutOfOrder.cc
Skype: outoforder_cc
317-674-3296

Reply via email to