How to Forward All Outgoing Email to an Email Account. (Directadmin Way)
If customer request for all outgoing email forwarding, we do allow and only allow to forward to non-free email account.
Incoming forwarding can use the Directadmin -> Email forwarding function
vi /etc/system_filter.exim
Scroll to bottom before version history and add the code below
if $sender_address_domain is userdomain.com
then
unseen deliver user@example.com
endif
Replace userdomain.com with new domain and user@example.com with a new email user.
For other example using the above method, please refer to the Direct Admin forum.
Incoming forwarding can use the Directadmin -> Email forwarding function
vi /etc/system_filter.exim
Scroll to bottom before version history and add the code below
if $sender_address_domain is userdomain.com
then
unseen deliver user@example.com
endif
Replace userdomain.com with new domain and user@example.com with a new email user.
For other example using the above method, please refer to the Direct Admin forum.
Updated on: 07/01/2023
Thank you!