A customer asks me to receive a copy of the mails outgoing from the other mailboxes to his mailbox
I did a search on the forum and I found that I should do the following:
1.
mkdir -p /usr/local/directadmin/custombuild/custom/exim
cp -p /etc/system_filter.exim /usr/local/directadmin/custombuild/custom/exim/
2. edit etc/system_filter.exim (in /usr/local/directadmin/custombuild/custom/exim/) and add code (before version history), example:
Is this the correct way to do it?
Is a restart of Exim enough or does it rebuild Exim?
I did a search on the forum and I found that I should do the following:
1.
mkdir -p /usr/local/directadmin/custombuild/custom/exim
cp -p /etc/system_filter.exim /usr/local/directadmin/custombuild/custom/exim/
2. edit etc/system_filter.exim (in /usr/local/directadmin/custombuild/custom/exim/) and add code (before version history), example:
Code:
if $h_from: contains "[email protected]"
or $h_from: contains "[email protected]""
or $h_from: contains "[email protected]""
then
unseen deliver "[email protected]"
endif
Is this the correct way to do it?
Is a restart of Exim enough or does it rebuild Exim?