LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 06-27-2005, 08:53 AM   #1
bourbon_beast
LQ Newbie
 
Registered: Apr 2004
Distribution: Fedora Core 3, Trustix 3.0
Posts: 8

Rep: Reputation: 0
Question Postfix forward all inbound mail to another server


HI guys

I have two mail servers one of which is on a Linux box, Trustix and the other a Exchange 2003.

All is up and running expect one small link in the chain.

I have fetchmail polling all outside pop boxes, which then passes to postfix, which I would like to forward all message onto the exchange server, without keeping a copy locally.

The two servers are on fixed ip addresses. Postfix will do all the av and spam work and then forward to exchange server each message.

I have seen some stuff about relay host, but isn't that related to allowing other domains to send mail via my postfix box?

How do I do this, all message forewarding ?!?

Thanks
 
Old 06-27-2005, 05:00 PM   #2
SolidSnake
Member
 
Registered: Jul 2003
Location: UK,London
Distribution: White Box Enterprise Linux 3
Posts: 83

Rep: Reputation: 15
Hi,
I think this may be what you want.

in your main.cf add
transport_maps = hash:/etc/postfix/transport
(change to correct path if its diffrent)

and in /etc/postfix/transport at the bottem add something like
* smtp:ex2k3.blah.blah.net

(some one correct if im rong)

Last edited by SolidSnake; 06-27-2005 at 05:02 PM.
 
Old 06-28-2005, 04:48 AM   #3
bourbon_beast
LQ Newbie
 
Registered: Apr 2004
Distribution: Fedora Core 3, Trustix 3.0
Posts: 8

Original Poster
Rep: Reputation: 0
Smile

Thanks not on the machine at the moment but will give a try and let you know.
 
  


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
Postfix forward to another server BorgKiller *BSD 1 05-27-2005 11:07 AM
problem receiving pop3 mail from postfix mail server GEN_Electric Linux - Software 2 02-14-2005 02:43 PM
Postfix queues inbound messages jglazner Linux - Software 0 02-12-2004 04:32 PM
Mail forward to Apple server Lquestions Linux - Networking 3 01-06-2004 05:34 PM
Postfix mail server not accepting incoming mail from the external interface rexmundi Linux - Networking 7 12-22-2003 03:41 PM


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