Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-29-2010, 10:24 AM   #1
Registered: Jan 2008
Posts: 88

Rep: Reputation: 16
tell postfix to forward emails

Hello Forum:

I am trying to find a way to tell postfix to forward all emails from


be sent to, but it is not working.

I am trying transport maps. The content of my transport file is:


Both and are on box1 as an alias in the /etc/alias file like this:


Can someone please guide me on how to get this working?

Old 12-29-2010, 05:18 PM   #2
Senior Member
Registered: Jul 2007
Distribution: Gentoo
Posts: 2,125

Rep: Reputation: 780Reputation: 780Reputation: 780Reputation: 780Reputation: 780Reputation: 780Reputation: 780
I think what you are after is called "virtual alias" and you are on the right track when you said that these are alias in your /etc/alias file. The problem is that you need to have a directive in Postfix's to tell it to use an alias map. You first create the alias map which is just a left-hand right-hand email address list, run postmap against the list, and then restart postifx.

Here is a link that gives some examples of setting this up for various scenarios that I think will show you how to accomplish this.


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
Forward port 25 to another IP to send emails dEM0nsTAr Linux - Server 2 11-03-2009 05:02 PM
Forward Emails ccarminati Linux - Server 3 07-31-2008 10:29 AM
Exim: forward sent emails to Gmail mrtwice Linux - Software 0 09-08-2007 05:17 PM
Forward emails to several local users hypernetics Linux - Software 0 11-04-2004 06:25 AM
forward emails in sendmail turbo_acura Linux - Networking 1 10-06-2004 09:52 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:39 AM.

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