diff options
author | korgoth1 <vladislav.stakhov@gmail.com> | 2019-10-01 19:10:21 +0300 |
---|---|---|
committer | korgoth1 <vladislav.stakhov@gmail.com> | 2019-10-01 19:10:21 +0300 |
commit | 7686cd892fb0d0ed8bbb8c0a83709af82779df8f (patch) | |
tree | d410ee3596b4a44f37e562a93c225ee0db7d4ad3 /test | |
parent | 671e0c51fd8f7b6e8ef7a6579fb4e03f9b165caf (diff) | |
parent | f17a1b6d74374bbf0ac0acc87a6dcdd63f1a551f (diff) | |
download | rspamd-7686cd892fb0d0ed8bbb8c0a83709af82779df8f.tar.gz rspamd-7686cd892fb0d0ed8bbb8c0a83709af82779df8f.zip |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'test')
-rw-r--r-- | test/lua/unit/received.lua | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/test/lua/unit/received.lua b/test/lua/unit/received.lua index fc1f24de8..908c1904e 100644 --- a/test/lua/unit/received.lua +++ b/test/lua/unit/received.lua @@ -121,7 +121,14 @@ context("Received headers parser", function() { by_hostname = 'example.com', }, - } + }, + {[[from 171-29.br (1-1-1-1.z.com.br [1.1.1.1]) by x.com.br (Postfix) with;ESMTP id 44QShF6xj4z1X for <y.br>; Thu, 21 Mar 2019 23:45:46 -0300 : <g @yi.br>]], + { + from_hostname = '171-29.br', + real_ip = '1.1.1.1', + by_hostname = 'x.com.br', + } + }, } local task = ffi.C.rspamd_task_new(nil, nil) |