Exim Custom Filter
Hi,
I have created a custom Exim filter as described in the below article:
https://support.cpanel.net/hc/en-us/articles/1500006376621-How-to-use-Exim-filters-to-limit-a-domain-so-that-it-cannot-send-to-or-receive-from-any-external-domains-Internal-Only-Mail
The filter is working fine as intended. However, it needs changes from time to time. And every time there is a change, it seems I need to go to WHM and save the Exim config. Is it possible to do it from command line or any other way? Even better, if I can just save the file and it should become active from the next message onwards. Is it possible?
Thank you!
-
Hey there! The changes you make for this customization are stored in /etc/exim.conf.local or /etc/exim.conf.localopts. Running this command would show the file on your system with the latest update:
ls -lah /etc/exim.conf.local*
You can edit that file directly if you are careful, and then run /scripts/restartsrv_exim to restart Exim, and this will effectively do the same thing without you needing to be in the WHM interface.
0
Please sign in to leave a comment.
Comments
1 comment