cPanel WHM icon

cPanel WHM

Full cPanel WHM API — all 622 operations across Accounts, DNS, Mail, SSL, Backups, Databases and more

Actions262

Mail → Validate Exim configure file syntax

AI-generated

Summary

Validate the syntax of an Exim configuration file or a specific section of it by analyzing provided raw configuration text or the current Exim configuration on the server.

Inputs

  • Cfg Text — The raw text of the Exim configuration file to validate. If omitted, the current Exim configuration on the server is analyzed.
  • Section — A specific section of the Exim configuration file to validate. When used, pass only this section's text as the Cfg Text value.

Output shape

a JSON object with the validation result indicating whether the syntax is correct or if errors were found

If 'Cfg Text' is not provided, the operation validates the server's current Exim configuration by default. The 'Section' input limits validation to a specific part of the configuration when used. The node returns detailed syntax validation responses from the WHM API.

Links

Discussion