--- /dev/null
+# Test Description
+Test mime email.to keyword
+
+## PCAP
+From ../mime/mime-dec-parse-full-msg-test02/input.pcap
+
+## Redmine Ticket
+https://redmine.openinfosecfoundation.org/issues/7596
--- /dev/null
+alert smtp any any -> any any (msg:"Test mime email to"; email.to; content:"172.16.92.2@linuxbox"; startswith; endswith; bsize:20; sid:1;)
--- /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.to[0]: 172.16.92.2@linuxbox
+ pcap_cnt: 13
+ alert.signature_id: 1