WHM V1 API - set_tweaksetting for X-Source Header

Jack Latrobe

Sep 18, 2015
Melbourne, Australia
cPanel Access Level
DataCenter Provider
Hey All,

First time poster, so I apologise if this goes to the wrong location.

I am wanting to use the WHM API V1 to roll out a change fleet wide. I want to use the API call "set_tweaksetting" to push out a change to the setting named "Track email origin via X-Source email headers" and turn it ON.

The servers are all pretty close to this setup:
  • CENTOS 6.7 i686 xenhvm – server1
  • WHM 11.50.0 (build 30)

The documentation for "set_tweaksetting" states "The keys and values for this function are located in the /var/cpanel/cpanel.config file."

When I list this file on the server, I get a whole lot of great stuff I can change, but nothing that seems related to the x-source headers.

Can anyone give me the name of the config item in /var/cpanel/cpanel.config, or can someone tell me how to find items if they are not in there? Worst case scenario, can someone please let me know if this cannot be done, so I can stop looking?
Last edited by a moderator: