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