Alias Email
Question
Is there a way to have alias email instead of multiple email account? Like auto-forwarding email to the main email without creating other email accounts? And email accounts from a different domain? We're running the standalone version.
Answer
Standalone only.
Create /home/crossbox/app/config/exim/virtual_domains file that contains a list of domains you want to forward from:
domain-one.com
domain-two.net
domain-three.org
Next, go to /home/crossbox/app/config/exim/virtual and for each domain create a separate file with the domain name as file name, for example:
/home/crossbox/app/config/exim/virtual/domain-one.com
/home/crossbox/app/config/exim/virtual/domain-two.net
/home/crossbox/app/config/exim/virtual/domain-three.org
Within those files, define from what e-mail address(es) you want to forward and to where. For example:
* : *@domain-four.com
The example above will forward all e-mail sent to *@domain-one.com, *@domain-two.net, *@domain-three.org, to the same e-mail address at @domain-four.com
Instead of using a wildcard to match any email address, you can also be more specific like:
* : email@domain-four.com
When you're done, you'll need to run:
crossbox config reload && crossbox restart exim