How can make permanent changes in exim.conf?
Hello,
I followed the following instructions to remove the: X-Ham-Report from message header. Edit
and Find and comment out the following line shown below. Restart exim after save the file.
Such changes are temporary and will be reverted when UPCP or EximUP runs. How can order to make the changes permanent? If I am right
stores the changes made through Exim configuration editor. I want my changes will not lost during next Exim update. Can somebody describe what I need to do step by step?
/etc/exim.confand Find and comment out the following line shown below. Restart exim after save the file.
#add_header = X-Ham-Report: ${sg{$spam_report}{\N\n \n\N}{\n}}Such changes are temporary and will be reverted when UPCP or EximUP runs. How can order to make the changes permanent? If I am right
exim.conf.localstores the changes made through Exim configuration editor. I want my changes will not lost during next Exim update. Can somebody describe what I need to do step by step?
-
You can not make any changes directly to the exim configuration file. All customizations need to be made through exim.conf.local where they will be retained once exim is rebuilt. Which instructions are you following? 0 -
Which instructions are you following?
I followed the following instructions to remove the: X-Ham-Report from message header under WHM/CPanel but THIS DIDN'T WORK FOR ME. To complete this task you do need root access to your server by SSH to create the custom filter, and access to WHM to enable it. Here are the steps taken:- Login as root (or su root)
- Create a file in /usr/local/cpanel/etc/exim/sysfilter/options
- I named this file: remove_x_ham_report_header
- Edit (nano) this file to include the code shown below
- Save the file
- Login to WHM
- Under "Exim Configuration Manager" -> "Basic Editor" -> "Filters"
- Near the bottom you need to enable the newly created filter (it'll be disabled by default), it should be named "Custom Filter: remove_x_ham_report_header"
#HamRemoval if $header_to: is "Unsubscribe email address" then headers remove "X-Ham-Report" deliver "Unsubscribe email address" endif0
Please sign in to leave a comment.
Comments
2 comments