For on-premises instances facing deliverability issues, sometimes we ask the customer for verbose MTA (Mail Transfer Agent) logs for examination to find the root cause of the problem. In such cases, the customer can ask for instructions to enable verbose logging.
To enable verbose MTA logs, follow the steps below:
Open the config-
<` instance-name`>.xml file, where
instance-name>`` is the name of your instance.
Look for the following line in the file:
<` mta autoStart="false" statServerAddress=""/`>
Replace the above line with the following line:
<` mta autoStart="false" statServerAddress="" args="-verbose -tracefilter:*"/`>
Save the changes you made to the file.
Run the following command to check the configuration for any errors:
nlserver monitor -missing
After verifying that there are no errors, reload the configuration using the following command:
nlserver config -reload
Stop all the mtachilds by running the following command:
nlserver stop mta*@instance_name
Note: The * in the command ensures that all the mtachilds are stopped.
Start the MTA process using the following command:
nlserver start mta@instance_name
<` instance-name`> with the name of your instance.
By following these steps, you can enable verbose MTA logs for your on-premises instance. If you face any issues during this process, please do not hesitate to contact the writer of this article.