# Mail Server Settings Mail / Mail Server Settings ## Repair Exim configuration file - [GET /exim_configuration_check](https://api.docs.cpanel.net/specifications/whm.openapi/mail-server-settings/exim_configuration_check.md): This function scans the Exim configuration file for errors, and if it finds errors attempts to repair them. ## Return server mail queue contents - [GET /fetch_mail_queue](https://api.docs.cpanel.net/specifications/whm.openapi/mail-server-settings/fetch_mail_queue.md): This function retrieves the contents of the server's mail queue. ## Create email account mobile profile configuration - [GET /generate_mobileconfig](https://api.docs.cpanel.net/specifications/whm.openapi/mail-server-settings/generate_mobileconfig.md): This function generates a mobile configuration profile for an email account. When you disable the role, the system this function. ## Return server SNI support status - [GET /is_sni_supported](https://api.docs.cpanel.net/specifications/whm.openapi/mail-server-settings/is_sni_supported.md): This function checks whether the server supports SNI (Server Name Indication). * Functions that enable Mail SNI succeed with a warning that Mail SNI is always enabled. * Functions that disable Mail SNI fail and make no changes. ## Return domain's SNI mail services status - [GET /mail_sni_status](https://api.docs.cpanel.net/specifications/whm.openapi/mail-server-settings/mail_sni_status.md): This function retrieves the status of the domain's SNI mail services. Functions that disable Mail SNI fail and make no changes. ## Repair misconfigured email settings - [GET /normalize_user_email_configuration](https://api.docs.cpanel.net/specifications/whm.openapi/mail-server-settings/normalize_user_email_configuration.md): This function fixes a user's misconfigured email settings. This includes any misconfigured email file and directory ownership and permissions. ## Rebuild mail SNI configuration files - [GET /rebuild_mail_sni_config](https://api.docs.cpanel.net/specifications/whm.openapi/mail-server-settings/rebuild_mail_sni_config.md): This function rebuilds the mail SNI configuration files. ## Remove Exim configuration files after failed update - [GET /remove_in_progress_exim_config_edit](https://api.docs.cpanel.net/specifications/whm.openapi/mail-server-settings/remove_in_progress_exim_config_edit.md): This function removes in-progress Exim configuration files after a failed update to Exim. When cPanel & WHM attempts to update an Exim configuration, the system creates dry run files to replace of the ordinary configuration files. * If the update fails, the system leaves these dry run files in place. Advanced EditorExim Configuration Manager* interface (_Home >> Service Configuration >> Exim Configuration Manager_), they access these dry run files instead of the actual configuration files. ## Validate Exim configuration - [GET /validate_current_installed_exim_config](https://api.docs.cpanel.net/specifications/whm.openapi/mail-server-settings/validate_current_installed_exim_config.md): This function validates the system's current Exim configuration. ## Validate Exim configure file syntax - [GET /validate_exim_configuration_syntax](https://api.docs.cpanel.net/specifications/whm.openapi/mail-server-settings/validate_exim_configuration_syntax.md): This function evaluates and validates an Exim configuration file's syntax. On servers that run CentOS 7, you may see a warning about the absence of SPF resource records on DNS. * This warning is not relevant on CentOS 7 servers, because RFC 7208 deprecated SPF records. CentOS 7 servers use TXT records instead of SPF records. * Red Hat 7.1 and CentOS 7.1 both contain , which is an updated version of BIND that complies with RFC 7208. To resolve this issue, update your operating system to a version that contains the updated version of BIND. For more information, read the Red Hat Bugzilla case about SPF record errors.