WHM V1 API - set_tweaksetting for X-Source Header
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:
[LIST]
CENTOS 6.7 i686 xenhvm " server1
[LIST]
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?
-
Hi Kenneth, Looks like that document was the missing link! Thankyou for that. I'll test the API with that, and get back in touch shortly. Regards, Jack 0 -
For everyone reading, the following JSON API call will enable this: URL: /json-api/set_tweaksetting?api.version=1&key=eximmailtrap&value=1 Thanks Kenneth for the support! 0
Please sign in to leave a comment.
Comments
3 comments