Hi,
i've got a Zimbra 8.0.7_GA_6021.FOSS running on Ubuntu server 12.04 LTS, and I would like to trace the whole handshake communication between my Zimbra and the remote SMTP server.

I have tried in various ways to change SMTP log level, but I could not able to get what I want.
Before I was using MDaemon, and I had SMTP logs as follows.
Is it possible get something like this?


Tue 2014-06-10 11:54:24: ----------
Tue 2014-06-10 11:54:24: Session 771247; child 0001
Tue 2014-06-10 11:54:24: Parsing message <c:\mdaemon\remoteq\pd50000140065.msg>
Tue 2014-06-10 11:54:24: * From: user@mydomain.com
Tue 2014-06-10 11:54:24: * To: receiver@gmail.com
Tue 2014-06-10 11:54:24: * Subject: Test mail
Tue 2014-06-10 11:54:24: * Size (bytes): 142078
Tue 2014-06-10 11:54:24: * Message-ID: <008001cf8491$f4577390$dd065ab0$@mail>
Tue 2014-06-10 11:54:24: Attempting SMTP connection to [host.domain.com]
Tue 2014-06-10 11:54:24: Resolving MX records for [host.domain.com] (DNS Server: x.x.x.x)...
Tue 2014-06-10 11:54:24: * Il server non possiede record validi del tipo richiesto per quel dominio
Tue 2014-06-10 11:54:24: Attempting to send message to smart host
Tue 2014-06-10 11:54:24: Attempting SMTP connection to [host.domain.com:25]
Tue 2014-06-10 11:54:24: * Cache hit on host.domain.com; IP = 10.0.0.5
Tue 2014-06-10 11:54:24: Waiting for socket connection...
Tue 2014-06-10 11:54:24: * Connection established (x.x.x.x:62916 -> x.x.x.x:25)
Tue 2014-06-10 11:54:24: Waiting for protocol to start...
Tue 2014-06-10 11:54:24: <-- 220 host.domain.com ESMTP Postfix
Tue 2014-06-10 11:54:24: --> EHLO domain.com
Tue 2014-06-10 11:54:24: <-- 250-host.domain.com
Tue 2014-06-10 11:54:24: <-- 250-PIPELINING
Tue 2014-06-10 11:54:24: <-- 250-SIZE 18628608
Tue 2014-06-10 11:54:24: <-- 250-VRFY
Tue 2014-06-10 11:54:24: <-- 250-ETRN
Tue 2014-06-10 11:54:24: <-- 250-STARTTLS
Tue 2014-06-10 11:54:24: <-- 250-ENHANCEDSTATUSCODES
Tue 2014-06-10 11:54:24: <-- 250-8BITMIME
Tue 2014-06-10 11:54:24: <-- 250 DSN
Tue 2014-06-10 11:54:24: --> STARTTLS
Tue 2014-06-10 11:54:24: <-- 220 2.0.0 Ready to start TLS
Tue 2014-06-10 11:54:24: SSL negotiation successful (TLS 1.0, 1024 bit key exchange, 128 bit AES encryption)
Tue 2014-06-10 11:54:24: --> EHLO mydomain.com
Tue 2014-06-10 11:54:24: <-- 250-host.domain.com
Tue 2014-06-10 11:54:24: <-- 250-PIPELINING
Tue 2014-06-10 11:54:24: <-- 250-SIZE 18628608
Tue 2014-06-10 11:54:24: <-- 250-VRFY
Tue 2014-06-10 11:54:24: <-- 250-ETRN
Tue 2014-06-10 11:54:24: <-- 250-AUTH PLAIN LOGIN
Tue 2014-06-10 11:54:24: <-- 250-AUTH=PLAIN LOGIN
Tue 2014-06-10 11:54:24: <-- 250-ENHANCEDSTATUSCODES
Tue 2014-06-10 11:54:24: <-- 250-8BITMIME
Tue 2014-06-10 11:54:24: <-- 250 DSN
Tue 2014-06-10 11:54:24: --> MAIL From:<user@mydomain.com> SIZE=142078
Tue 2014-06-10 11:54:24: <-- 250 2.1.0 Ok
Tue 2014-06-10 11:54:24: --> RCPT To:<receiver@gmail.com>
Tue 2014-06-10 11:54:24: <-- 250 2.1.5 Ok
Tue 2014-06-10 11:54:24: --> DATA
Tue 2014-06-10 11:54:24: <-- 354 End data with <CR><LF>.<CR><LF>
Tue 2014-06-10 11:54:24: Sending <c:\mdaemon\remoteq\pd50000140065.msg> to [10.0.0.5]
Tue 2014-06-10 11:54:24: Transfer Complete
Tue 2014-06-10 11:54:24: <-- 250 2.0.0 Ok: queued as 37B663C061E
Tue 2014-06-10 11:54:24: --> QUIT
Tue 2014-06-10 11:54:24: <-- 221 2.0.0 Bye
Tue 2014-06-10 11:54:24: SMTP session successful (Bytes in/out: 509/143685)
Tue 2014-06-10 11:54:24: ----------