]> git.ipfire.org Git - thirdparty/suricata.git/commit
smtp: log transaction even if no email present 6765/head
authorJason Ish <jason.ish@oisf.net>
Wed, 10 Nov 2021 22:38:35 +0000 (16:38 -0600)
committerShivani Bhardwaj <shivanib134@gmail.com>
Tue, 11 Jan 2022 15:43:04 +0000 (21:13 +0530)
commit6e9b21d0e617df40bcc2602f20526c683b0b135c
treebefa7c40e3f6654e47810ecc049ddbc5930ffc44
parent87f04475aaa75ee205b1b699e59fb2b5ba7ed59f
smtp: log transaction even if no email present

The SMTP transaction logger was not writing the log if the email
portion of the logger failed, such as in the case of STARTTLS
where this is no email decoded.

Ticket #4817

(cherry picked from commit 52b9c12f41d890cda340fe3b1c7e7e3e9d673d73)
src/output-json-smtp.c