diff options
author | Andrew Lewis <nerf@judo.za.org> | 2018-03-13 12:42:37 +0200 |
---|---|---|
committer | Andrew Lewis <nerf@judo.za.org> | 2018-03-13 12:42:37 +0200 |
commit | 491548856632c22c179aa47c90df7afd44c75cd2 (patch) | |
tree | 3d60196edd9f9f5cccf8bfb7996047f3119a421f /src/plugins/lua/greylist.lua | |
parent | 6b68e89410bf70ca4de74aad125d16bcecf99f62 (diff) | |
download | rspamd-491548856632c22c179aa47c90df7afd44c75cd2.tar.gz rspamd-491548856632c22c179aa47c90df7afd44c75cd2.zip |
[Fix] Fix various modules in case of empty message
Diffstat (limited to 'src/plugins/lua/greylist.lua')
-rw-r--r-- | src/plugins/lua/greylist.lua | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/plugins/lua/greylist.lua b/src/plugins/lua/greylist.lua index 91e6185f3..a555fcfc8 100644 --- a/src/plugins/lua/greylist.lua +++ b/src/plugins/lua/greylist.lua @@ -424,13 +424,15 @@ if opts then name = 'GREYLIST_SAVE', type = 'postfilter', callback = greylist_set, - priority = 6 + priority = 6, + flags = 'empty', }) rspamd_config:register_symbol({ name = 'GREYLIST_CHECK', type = 'prefilter', callback = greylist_check, - priority = 6 + priority = 6, + flags = 'empty', }) end end |