--- /dev/null
+# Test Description
+Test mime email keywords
+
+## PCAP
+From ../mime/mime-dec-parse-full-msg-test02/input.pcap
+
+## Redmine Ticket
+https://redmine.openinfosecfoundation.org/issues/7592
--- /dev/null
+alert smtp any any -> any any (msg:"Test mime email from"; email.from; content:"toto <toto@gmail.com>"; sid:1;)
+alert smtp any any -> any any (msg:"Test mime email from"; email.from; content:"toto"; startswith; content:"com>"; endswith; bsize:21; sid:2;)
\ No newline at end of file
--- /dev/null
+requires:
+ min-version: 8
+
+pcap: ../mime/mime-dec-parse-full-msg-test02/input.pcap
+
+args:
+ - -k none --set stream.inline=true
+
+checks:
+- filter:
+ count: 1
+ match:
+ event_type: alert
+ email.from: toto <toto@gmail.com>
+ pcap_cnt: 13
+ alert.signature_id: 1
+- filter:
+ count: 1
+ match:
+ event_type: alert
+ email.from: toto <toto@gmail.com>
+ pcap_cnt: 13
+ alert.signature_id: 2