Author Topic: Forwarding All Email for a Domain  (Read 839 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Forwarding All Email for a Domain
« on: February 27, 2019, 03:30:26 PM »
Hello everybody,

We are moving from using one domain name to another domain. 

Is there a way to create a domain level forwarder that will forward all new emails going to the old domain to the new one without having to create aliases for each user?

Example:
john@domain1 forward to john@domain2
jane@domain1 forward to jane@domain2
etc.

Offline
*
Re: Forwarding All Email for a Domain
« Reply #1 on: March 03, 2019, 09:21:45 PM »
i'm looking for something similar. in whm it is called "default email address", but i cant find a solution on cwp

Offline
***
Re: Forwarding All Email for a Domain
« Reply #2 on: March 03, 2019, 09:51:33 PM »
Access CWP, menu "Email" >> "Email Aliases/Forwarders" >> "Add New Alias", select the user of your domain, and fill in fields:
Email Address: *
Forward To: [The final E-mail Adress destiny here]

The order of aliases creation seems important.
In my case was important the order of alias creation.
Fisrt I created the "catch-all", after some other specific address. It was sending all mails to catch-all although created a specific other alias.

So, If you have another specific alias to coexist with you catch-all address, you must try to create it before the catch-all address.

Regards,
Netino

Offline
*
Re: Forwarding All Email for a Domain
« Reply #3 on: March 06, 2019, 08:02:55 PM »
If you have root access to the database server, you can manually add an entry in the postfix -> alias table as follows

address:   @current.domain
goto: @new.domain
domain: current.domain
created: now()
modified: now()
active: 1

It looks like it needs to be added as a feature update