Forwarding All Email for a Domain

Started by deleonbe, February 27, 2019, 03:30:26 PM

Previous topic - Next topic

deleonbe

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.

pandroso

i'm looking for something similar. in whm it is called "default email address", but i cant find a solution on cwp

Netino

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

deleonbe

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