LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 12-03-2004, 11:24 AM   #1
cccc
Senior Member
 
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,608

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


hi

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).

regards
cccc
 
Old 12-03-2004, 11:46 AM   #2
sigsegv
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, 12:02 PM   #3
scowles
Member
 
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.
 
  


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


All times are GMT -5. The time now is 02:11 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