LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 07-19-2010, 07:41 PM   #1
GeoKM
LQ Newbie
 
Registered: Jul 2010
Posts: 3

Rep: Reputation: 0
Question Postfix Configuration to split mail between Apps on same host


Hi, I am looking for a guide to Postfix configuration. I have an OpenSuse 11.2 system that is running 2 BBS systems independently, both of which are capable of receiving smtp mail on prot 25. What I would like to do is set up Postfix on the OpenSuse OS to receive all mail for both those domains and then send the relevant mail to the correct BBS. I would therefore have Postfix listening on Port 25 External and the 2 BBS applications listening on different ports on the localhost address. At least that is the plan.

Can anyone provide some pointers on how to do this. I want to do it and still make sure Postfix is secure and not accidentally open up any nasty relay holes etc etc.

Thanks.
 
Old 07-19-2010, 09:14 PM   #2
jcalzare
Member
 
Registered: Aug 2009
Location: Chicago
Distribution: CentOS
Posts: 114

Rep: Reputation: 34
I believe you can use postfix's transport maps to accomplish this.

example.com smtp:localhost:2025

Something like that is going to route mail destined for example.com to port 2025 on the local machine. Make sure you run postmap /etc/postfix/transport after making any changes to the transport tables.
 
1 members found this post helpful.
Old 07-27-2010, 11:37 PM   #3
GeoKM
LQ Newbie
 
Registered: Jul 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks, That worked a treat 8-)

I had to set the /etc/postfix/relays file as well. 8-)
 
  


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 configuration problem -> domain mx has moved but old mail host still local stardotstar Linux - Server 2 10-24-2009 11:49 PM
Postfix not sending mail, using google apps scsa20 Linux - Server 2 07-28-2009 05:29 PM
Postfix: How to configure postfix to process mail from another host m1ckey78 Linux - Server 3 10-15-2008 10:59 AM
Split postfix sender mail traffic gabsik Linux - Server 3 07-04-2008 06:07 PM
Postfix allow relay to a mail host within lan Niceman2005 Linux - Software 2 06-20-2007 01:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:38 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration