Hi Wietse, Could you please give me more details about option 2 (SMTP-level splitter) ?
Thanks in advance. BR, Em ter, 11 de jun de 2019 às 12:37, Wietse Venema <wie...@porcupine.org> escreveu: > > Rafael Azevedo: > > I need the full SMTP transaction, commands such as EHLO, MAIL FROM:, > > RCPT TO:, and DATA... > > Postfix can log SMTP commands and responses, but not the message > content because that would consume huge amounts of resources. > > If you need the entire SMTP session, your options are > > - A network-level sniffer (tcpdump -s 0 -w /file/name ...). > > - An SMTP-level splitter (configured using Postfix's smtpd_proxy_filter) > that sends one copy of the SMTP stream to an archival server, and > one copy to Postfix itself. > > Either way, no turn-key solution. > > Wietse