Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 07-19-2010, 08:41 PM   #1
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.

Old 07-19-2010, 10:14 PM   #2
Registered: Aug 2009
Location: Chicago
Distribution: CentOS
Posts: 114

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

Something like that is going to route mail destined for 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-28-2010, 12:37 AM   #3
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-)


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-25-2009 12:49 AM
Postfix not sending mail, using google apps scsa20 Linux - Server 2 07-28-2009 06:29 PM
Postfix: How to configure postfix to process mail from another host m1ckey78 Linux - Server 3 10-15-2008 11:59 AM
Split postfix sender mail traffic gabsik Linux - Server 3 07-04-2008 07:07 PM
Postfix allow relay to a mail host within lan Niceman2005 Linux - Software 2 06-20-2007 02:43 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:53 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
Open Source Consulting | Domain Registration