Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 12-03-2004, 12:24 PM   #1
Senior Member
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,623

Rep: Reputation: 50
howto setup following: Internet -> Postfix -> Exchange


I'd like to setup following:

Internet -> Postfix -> Exchange

Postfix gets ALL mails from Internet and sends to MS Exchange 5.5,
but Exchange sends ALL mails directly to the Internet (without postfix).

Old 12-03-2004, 12:46 PM   #2
Senior Member
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197

Rep: Reputation: 46
install postfix and read /path/to/postfix-config/transport or man transport. It's easier than you think I'd bet.
Old 12-03-2004, 01:02 PM   #3
Registered: Sep 2004
Location: Texas, USA
Distribution: Fedora
Posts: 620

Rep: Reputation: 31
Take a look at the postfix transport table. i.e. /etc/postfix/transport Thats what I do to relay all e-mails for my domains to my exchange server.

But be warned... Implementing this feature without first configuring postfix to check if the mailbox exists on exchange can lead to disaterous results. i.e. A spammer doing a dictionary attack on e-mail addresses within your domain. Postfix will relay the inbound e-mail to exchange. Exchange will then generate a non-deliverable DSN stating mailbox not found and start filing up its queues.

So before throwing the transport table switch on your postfix server, checkout the "relay_recipient_maps" option in /etc/postfix/main/cf. Implementing this feature in postfix causes postfix to first check if the mailbox exists on exchange before relaying. FWIW: I use LDAP queries against my exchange server to test the mailbox, but you can also create a static file of valid e-mail addresses.


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
I've had it with M$ Exchange and commercial spam filters - going Postfix KimVette General 4 10-23-2005 12:19 AM
Hi I am trying to setup a mailserver with internet connection! HOWTO? ankursaxena Linux - Software 8 03-04-2005 07:42 AM
Postfix as a frontend for Exchange, for Spamassassin jdavidow Linux - Networking 0 09-02-2004 06:48 AM
Postfix and Exchange dwpondscum Linux - Networking 0 07-16-2003 10:48 AM
POstfix not sending to a local exchange server hawkpaul Linux - Software 10 06-04-2003 08:54 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:58 PM.

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