How to retrieve the verbose MTA logs?

Description description

Environment

  • Campaign
  • Campaign Classic

Issues/Symptoms
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.

Resolution resolution

To enable verbose MTA logs, follow the steps below:

Step 1:
Open the config-<` instance-name`>.xml file, where < instance-name>`` is the name of your instance.

Step 2:
Look for the following line in the file:

<` mta autoStart="false" statServerAddress=""/`>

Step 3:
Replace the above line with the following line:

<` mta autoStart="false" statServerAddress="" args="-verbose -tracefilter:*"/`>

Step 4:
Save the changes you made to the file.

Step 5:
Run the following command to check the configuration for any errors:

nlserver monitor -missing

Step 6:
After verifying that there are no errors, reload the configuration using the following command:

> nlserver config -reload

Step 7:
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.

Step 8:
Start the MTA process using the following command:

nlserver start mta@instance_name

Note: Replace <` instance-name`> with the name of your instance.

Conclusion:
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.

recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f