Difference between revisions of "How To Increase SMTP Debug Logging - MTA"

 
Line 13: Line 13:
  
 
'''1)''' You can obtain this by modifying the master.cf.in.   
 
'''1)''' You can obtain this by modifying the master.cf.in.   
:'''On ZCS v8.6 and Old:'''    Modify <code>"/opt/zimbra/postfix/conf/master.cf.in"</code>
+
:'''On ZCS v8.6 and Old:'''    Modify <code>"/opt/zimbra/postfix/conf/master.cf.in"</code>, go to the smtpd line and at the end of the line add -vv
:'''On ZCS v8.7.x and Above:'''    Modify <code>"/opt/zimbra/common/conf/master.cf.in"</code>
+
smtp      inet  n      -      n      -      -      smtpd -vv
 +
 
 +
 
 +
:'''On ZCS v8.7.x and Above:'''    Modify <code>"/opt/zimbra/common/conf/master.cf.in"</code>, go to the postscreen and smtpd lines and at the end of the line add -vv
 +
 
 +
smtp      inet  n      -      n      -      1      postscreen -vv
 +
...
 +
smtpd    pass  -      -      n      -      -      smtpd -vv
 +
...
 +
smtp      unix  -      -      n      -      -      smtp -vv
 +
...
 +
465      inet  n      -      n      -      -      smtpd -vv
 +
...
 +
submission inet n       -      n      -      -      smtpd -vv
  
'''2)''' Go to the smtpd line and at the end of the line add -vv
+
To diagnose mail delivery problems we can enable verbose logging for each delivery agent (cleanup, qmgr, lmtp, local, pipe, smtp, virtual, etc.).
smtp      inet  n      -      n      -      -      smtpd -vv
 
  
  
'''3)''' Restart the MTA service.   
+
'''2)''' Restart the MTA service.   
 
  zmmtactl restart  
 
  zmmtactl restart  
  
  
'''4)''' Check log file "/var/log/zimbra.log"  
+
'''3)''' Check log file "/var/log/zimbra.log"  
  
  
 
==Additional Content==
 
==Additional Content==
 
* No related content.
 
* No related content.
 +
  
  
 
{{Article Footer|Zimbra Collaboration 9.0, 8.8, 8.7, 8.6|04/26/2015}}
 
{{Article Footer|Zimbra Collaboration 9.0, 8.8, 8.7, 8.6|04/26/2015}}
 
{{NeedSME|SME1|SME2|Copyeditor}}
 
{{NeedSME|SME1|SME2|Copyeditor}}

Latest revision as of 06:44, 24 May 2021

How To Increase SMTP Debug Logging - MTA


   KB 21884        Last updated on 2021-05-24  




0.00
(0 votes)

Purpose

How To Increase SMTP Debug Logging - MTA

Resolution

1) You can obtain this by modifying the master.cf.in.

On ZCS v8.6 and Old: Modify "/opt/zimbra/postfix/conf/master.cf.in", go to the smtpd line and at the end of the line add -vv
smtp      inet  n       -       n       -       -       smtpd -vv 


On ZCS v8.7.x and Above: Modify "/opt/zimbra/common/conf/master.cf.in", go to the postscreen and smtpd lines and at the end of the line add -vv
smtp      	inet  n       -       n       -       1       postscreen -vv
...
smtpd     	pass  -       -       n       -       -       smtpd -vv
...
smtp      	unix  -       -       n       -       -       smtp -vv
...
465    	  	inet  n       -       n       -       -       smtpd -vv 
...
submission 	inet n	      -       n       -       -       smtpd -vv

To diagnose mail delivery problems we can enable verbose logging for each delivery agent (cleanup, qmgr, lmtp, local, pipe, smtp, virtual, etc.).


2) Restart the MTA service.

zmmtactl restart 


3) Check log file "/var/log/zimbra.log"


Additional Content

  • No related content.


Verified Against: Zimbra Collaboration 9.0, 8.8, 8.7, 8.6 Date Created: 04/26/2015
Article ID: https://wiki.zimbra.com/index.php?title=How_To_Increase_SMTP_Debug_Logging_-_MTA Date Modified: 2021-05-24



Try Zimbra

Try Zimbra Collaboration with a 60-day free trial.
Get it now »

Want to get involved?

You can contribute in the Community, Wiki, Code, or development of Zimlets.
Find out more. »

Looking for a Video?

Visit our YouTube channel to get the latest webinars, technology news, product overviews, and so much more.
Go to the YouTube channel »


Wiki/KB reviewed by SME1 SME2 Copyeditor Last edit by Heera Singh Koranga
Jump to: navigation, search