LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Postfix to forward to Exchange if the user account does not exist (https://www.linuxquestions.org/questions/linux-server-73/postfix-to-forward-to-exchange-if-the-user-account-does-not-exist-605889/)

dafyre 12-10-2007 04:31 PM

Postfix to forward to Exchange if the user account does not exist
 
Hi All:

My College, unfortunately has purchased a product that requires a Microsoft Exchange server. What we're looking to do is set up our Postfix system to forward email that is going to accounts that don't exist over to our exchange server.

I have tried the luser_relay, and that does not work. I have also tried the smtp_fallback_relay, but haven't been able to get that to work either.

What were looking for is something like this...

email --> postfix box --> if there *is* an account, then deliver locally
email --> postfix box --> if there's no account, then forward to exchange

Make sense?

Anyhow, I've done some further research on it, and can't seem to get turned in the right direction. I'd appreciate any help or pointers to get me started. I can make the main.cf/master.cf available on request.

Thanks!
~Brant

Berhanie 12-10-2007 07:46 PM

Something like this should work:
Code:

fallback_transport = smtp:[x.x.x.x]
where x.x.x.x is the IP address of the exchange server.

dafyre 12-10-2007 09:00 PM

(SOLVED) Postfix to forward to Exchange if the user account does not exist
 
Quote:

Originally Posted by Berhanie (Post 2986611)
Something like this should work:
Code:

fallback_transport = smtp:[x.x.x.x]
where x.x.x.x is the IP address of the exchange server.

Hey Barhanie:

Thanks for the heads up! I was able to get it working after I set the local_recipient_maps = (blank)

That was it!!! Many thank yous!

:Pengy: Rock!

See Ya!
~Brant


All times are GMT -5. The time now is 07:18 PM.