Browse Source

Minor nonsense

tags/0.9.0
Andrew Lewis 9 years ago
parent
commit
b0ed876d0a
4 changed files with 4 additions and 5 deletions
  1. 0
    1
      conf/lua/hfilter.lua
  2. 1
    1
      conf/lua/rspamd.lua
  3. 2
    2
      conf/metrics.conf
  4. 1
    1
      src/plugins/lua/rbl.lua

+ 0
- 1
conf/lua/hfilter.lua View File

--[[ --[[
Copyright (c) 2011-2015, Vsevolod Stakhov <vsevolod@highsecure.ru> Copyright (c) 2011-2015, Vsevolod Stakhov <vsevolod@highsecure.ru>
Copyright (c) 2013-2015, Alexey Savelyev <info@homeweb.ru> Copyright (c) 2013-2015, Alexey Savelyev <info@homeweb.ru>
Copyright (c) 2015, Andrew Lewis
All rights reserved. All rights reserved.


Redistribution and use in source and binary forms, with or without Redistribution and use in source and binary forms, with or without

+ 1
- 1
conf/lua/rspamd.lua View File

end end


-- Date issues -- Date issues
rspamd_config.DATE_NOT_EXISTS = function(task)
rspamd_config.MISSING_DATE = function(task)
if rspamd_config:get_api_version() >= 5 then if rspamd_config:get_api_version() >= 5 then
if not task:get_header_raw('Date') then if not task:get_header_raw('Date') then
return true return true

+ 2
- 2
conf/metrics.conf View File

} }
symbol { symbol {
weight = 1.0; weight = 1.0;
description = "Message date is not exists";
name = "DATE_NOT_EXISTS";
description = "Message date is missing";
name = "MISSING_DATE";
} }
# hfilter symbols # hfilter symbols
symbol { weight = 4.00; name = "HFILTER_HELO_BAREIP"; description = "Helo host is bare ip"; } symbol { weight = 4.00; name = "HFILTER_HELO_BAREIP"; description = "Helo host is bare ip"; }

+ 1
- 1
src/plugins/lua/rbl.lua View File

--[[ --[[
Copyright (c) 2011-2015, Vsevolod Stakhov <vsevolod@highsecure.ru> Copyright (c) 2011-2015, Vsevolod Stakhov <vsevolod@highsecure.ru>
Copyright (c) 2014-2015, Andrew Lewis
Copyright (c) 2013-2015, Andrew Lewis <nerf@judo.za.org>
All rights reserved. All rights reserved.


Redistribution and use in source and binary forms, with or without Redistribution and use in source and binary forms, with or without

Loading…
Cancel
Save