How To Increase SMTP Debug Logging - MTA: Difference between revisions

m (Protected "How To Increase SMTP Debug Logging - MTA" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
No edit summary
(One intermediate revision by the same user not shown)
Line 3: Line 3:
<div class="col-md-12 ibox-content">
<div class="col-md-12 ibox-content">
=How To Increase SMTP Debug Logging - MTA=
=How To Increase SMTP Debug Logging - MTA=
{{KB|{{ZC}}|{{ZCS 8.6}}|{{ZCS 8.5}}|{{ZCS 8.0}}|}}
<hr>
{{KB|{{ZC}}|{{ZCS 9.0}}|{{ZCS 8.8}}|{{ZCS 8.7}}|{{ZCS 8.6}}|}}
{{WIP}}
{{WIP}}
<hr>
==Purpose==
==Purpose==
How To Increase SMTP Debug Logging - MTA
How To Increase SMTP Debug Logging - MTA


==Resolution==
==Resolution==
You can obtain this by modifying the master.cf.in which is located at /opt/zimbra/postfix/conf . 
Go to the smtpd line and at the end of the line add -vv


<pre> smtp      inet  n      -      n      -      -      smtpd -vv</pre>
'''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>, go to the smtpd line and at the end of the line add -vv
smtp      inet  n      -      n      -      -      smtpd -vv  


restart the mta by running the following


<pre> zmmtactl restart</pre>
:'''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
 
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"
 


Logging goes to /var/log/zimbra.log
==Additional Content==
==Additional Content==
* No related content.
* No related content.




{{Article Footer|Zimbra Collaboration 8.6, 8.5, 8.0|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}}
[[Category: Author:Ajcody]]

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