end
-- See if Reply-To matches From in some way
- local from = task:get_from(2)
+ local from = task:get_from{'mime', 'orig'}
local from_h = get_raw_header(task, 'From')
if not (from and from[1]) then
return false
Scan File ${TESTDIR}/messages/phish_sender6.eml
Expect Symbol FROM_INVALID
+REPLYTO_ADDR_EQ_FROM
+ Scan File ${TESTDIR}/messages/replyto_addr_eq_from.eml
+ Expect Symbol REPLYTO_ADDR_EQ_FROM
*** Keywords ***
--- /dev/null
+From: "OMG" <kewl.example.20210428@gmail.com>
+Reply-To: "GMO" <kewl.example.20210428@gmail.com>
+Content-type: text/plain
+
+hi