View Full Version : [ubuntu] Email Forwarding

April 14th, 2010, 07:20 AM
I have like 40 email accounts fro all 10 of my domains and i'd like to know how can i forward say like all the admin@mywebsite.com and like admin@site2.com to one email so i can read them from one email

April 14th, 2010, 01:13 PM
You should include some information on your current setup.

Sounds like you can use the alias directive.

April 14th, 2010, 02:55 PM
fetchmail and nullmailer?

April 14th, 2010, 04:12 PM
The setup i used is
How to set up a mail server on a GNU / Linux system (http://flurdy.com/docs/postfix/)

April 14th, 2010, 04:16 PM
So you can use the alias directive from the how to.


April 14th, 2010, 08:43 PM
I use postfix and cyrus imap and in /etc/postfix/main.cf I have this line for alias for the mail accounts in imap:

virtual_alias_maps = hash:/etc/postfix/virtual_aliasThe virtual alias file should look something like this:

info@example.com ruuden@example.com
postmaster@example.com ruuden@example.com
webmaster@example.com ruuden@example.com

info@example.net ruuden@example.net
postmaster@example.net ruuden@example.net
webadmin@example.net ruuden@example.net

April 14th, 2010, 11:18 PM
If you have several domains that need many aliases it might make sense to create one lookup table for each domain, you can just separate the tables with a comma like this in /etc/postfix/main.cf

virtual_alias_maps = hash:/etc/postfix/virtual_alias_example.net,hash:/etc/postfix/virtual_alias_example.com