LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 12-10-2007, 04:31 PM   #1
dafyre
LQ Newbie
 
Registered: Jan 2003
Location: Dublin, GA
Distribution: Mandrake 9 @ the moment.
Posts: 4

Rep: Reputation: 0
Question 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
 
Old 12-10-2007, 07:46 PM   #2
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
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.
 
Old 12-10-2007, 09:00 PM   #3
dafyre
LQ Newbie
 
Registered: Jan 2003
Location: Dublin, GA
Distribution: Mandrake 9 @ the moment.
Posts: 4

Original Poster
Rep: Reputation: 0
Talking (SOLVED) Postfix to forward to Exchange if the user account does not exist

Quote:
Originally Posted by Berhanie View Post
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!

Rock!

See Ya!
~Brant
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
samba - add user script - User account does not exist itzamecwp Linux - Server 2 01-18-2007 10:52 PM
how to forward mail to postfix virtual user justkeny2k Linux - Networking 7 12-22-2006 12:43 AM
How To Forward Mail & Account Question? carlosinfl Linux - Enterprise 6 12-04-2006 04:00 PM
is it legitimate and allowed and can be done to make another user account set uid and gid to null 0 to make another root account with different name and possibly not damage the debian system creating and using that new account BenJoBoy Linux - Newbie 12 01-29-2006 10:02 AM
Postfix: Need to deliver all local mail to 1 account, then forward OneBinary Linux - Software 3 01-05-2006 04:49 PM


All times are GMT -5. The time now is 02:35 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration