diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-04-25 11:01:39 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-04-25 11:01:39 +0100 |
commit | eedb359726e0d99265969451261fdb8494e462f2 (patch) | |
tree | 37a7bf1387bb6b686ca0e73781dde9eb5f8f76ee /test/lua | |
parent | bb2d73b4d4e0729d0e637ccffd9ee8f2d41c3b4d (diff) | |
download | rspamd-eedb359726e0d99265969451261fdb8494e462f2.tar.gz rspamd-eedb359726e0d99265969451261fdb8494e462f2.zip |
[Feature] Add support of address with at-domain list
Diffstat (limited to 'test/lua')
-rw-r--r-- | test/lua/unit/smtp_addr.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/lua/unit/smtp_addr.lua b/test/lua/unit/smtp_addr.lua index 32b67afe1..efd6cda8f 100644 --- a/test/lua/unit/smtp_addr.lua +++ b/test/lua/unit/smtp_addr.lua @@ -35,6 +35,8 @@ context("SMTP address check functions", function() {'<"<>"@example.com>', {user = '<>', domain = 'example.com', addr = '<>@example.com'}}, {'"\\""@example.com', {user = '"', domain = 'example.com', addr = '"@example.com'}}, {'"\\"abc"@example.com', {user = '"abc', domain = 'example.com', addr = '"abc@example.com'}}, + {'<@domain1,@domain2,@domain3:abc@example.com>', + {user = 'abc', domain = 'example.com', addr = 'abc@example.com'}}, } |