Share your knowledge at the LQ Wiki.
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 05-25-2010, 04:51 PM   #1
LQ Newbie
Registered: May 2010
Posts: 1

Rep: Reputation: 0
Postfix to deliver local the relay.

I have one domain
Some mail coming to my postfix server will need to be delivered local and the rest to an internal mail server.

For example... is in the alias file to go to root
bob: root is not in the alias file and needs to be relayed to the internal server.

The internal mail server is where there is no but there is a

Is it possible to configure postfix to do this?
Old 05-25-2010, 07:42 PM   #2
Senior Member
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
There are probably several ways you can do this. One is to use fallback_transport.
You need to add the remote recipients to local_recipient_maps as shown here. Even though it's not convenient to list all recipients explicitly (and there are ways around it), it's best practice not to accept mail unless you know it will be delivered ultimately.


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
How do I get Postfix to deliver valid emails to maildir and relay remaining? Fredde87 Linux - Server 3 01-22-2010 07:37 AM
Postfix - relay and store local copy uno Linux - Server 0 08-14-2009 03:32 AM
Postfix Relay Getting Spammed Bad -- But no open relay... ihod2008 Linux - Server 1 07-26-2008 08:24 PM
Can't deliver mail (postfix) to local user wheel Linux - General 1 04-05-2006 07:45 AM
Postfix: Need to deliver all local mail to 1 account, then forward OneBinary Linux - Software 3 01-05-2006 04:49 PM > Forums > Linux Forums > Linux - Server

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