diff options
author | Anton Yuzhaninov <citrin+git@citrin.ru> | 2021-04-27 16:50:04 +0100 |
---|---|---|
committer | Anton Yuzhaninov <citrin+git@citrin.ru> | 2021-04-27 16:53:41 +0100 |
commit | 8a5448883ef9eb62ce169acdd2729f5b4ff6ad2d (patch) | |
tree | 8e5fc5bc78b65d99e0ae77b4ed2248499b9f683a /test | |
parent | b3d5173446073c34730db64360ca7454f42810a3 (diff) | |
download | rspamd-8a5448883ef9eb62ce169acdd2729f5b4ff6ad2d.tar.gz rspamd-8a5448883ef9eb62ce169acdd2729f5b4ff6ad2d.zip |
[Rules] Add raw addresses to MULTIPLE_FROM options
It is confusing to have MULTIPLE_FROM with a single address in options,
which happens if one of addresses is empty - usually because of
misplaces <>. While here simplify condition.
Diffstat (limited to 'test')
-rw-r--r-- | test/functional/cases/280_rules.robot | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/cases/280_rules.robot b/test/functional/cases/280_rules.robot index 3d99db84d..5bab11016 100644 --- a/test/functional/cases/280_rules.robot +++ b/test/functional/cases/280_rules.robot @@ -86,7 +86,7 @@ FROM_NEQ_ENVFROM PHISH_SENDER_A Scan File ${TESTDIR}/messages/phish_sender.eml - Expect Symbol With Score And Exact Options MULTIPLE_FROM 9.0 any@attack.com,admin@legitimate.com + Expect Symbol With Score And Exact Options MULTIPLE_FROM 9.0 <any@attack.com> <admin@legitimate.com> Expect Symbol With Score And Exact Options MULTIPLE_UNIQUE_HEADERS 7.0 From PHISH_SENDER_B |