debug SMTP commands sent/received to/from the submission service

Victor Sudakov vas at
Fri Apr 9 10:13:41 EEST 2021

Dear Colleagues,

I'm trying to debug SMTP commands clients send to the submission

I've tried 

protocol submission {
  rawlog_dir = /var/tmp/dovecot

but /var/tmp/dovecot remains empty. What am I missing? I'd use Wireshark
but the communication between SMTP clients and Dovecot is encrypted
after STARTTLS, so Wireshark is pretty useless here.

Can you please point me to the right direction to log all SMTP commands?
All is happening on Debian/buster, Dovecot

Victor Sudakov VAS4-RIPE
2:5005/49 at fidonet
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: not available
URL: <>

More information about the dovecot mailing list