tell postfix to forward emails
Hello Forum:
I am trying to find a way to tell postfix to forward all emails from dbsupport@thisdomain.com and helpdesk@thisdomain.com to be sent to admins@thatdomain.com, but it is not working. I am trying transport maps. The content of my transport file is: Quote:
Quote:
Both helpdesk@thisdomain.com and dbsupport@thisdomain.com are on box1 as an alias in the /etc/alias file like this: root: helpdesk@thisdomain.com root: dbsupport@thisdomain.com Can someone please guide me on how to get this working? Thanks. --Willie |
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 main.cf 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. |
All times are GMT -5. The time now is 08:57 PM. |