head 1.12; access; symbols pkgsrc-2026Q1:1.12.0.8 pkgsrc-2026Q1-base:1.12 pkgsrc-2025Q4:1.12.0.6 pkgsrc-2025Q4-base:1.12 pkgsrc-2025Q3:1.12.0.4 pkgsrc-2025Q3-base:1.12 pkgsrc-2025Q2:1.12.0.2 pkgsrc-2025Q2-base:1.12 pkgsrc-2025Q1:1.11.0.14 pkgsrc-2025Q1-base:1.11 pkgsrc-2024Q4:1.11.0.12 pkgsrc-2024Q4-base:1.11 pkgsrc-2024Q3:1.11.0.10 pkgsrc-2024Q3-base:1.11 pkgsrc-2024Q2:1.11.0.8 pkgsrc-2024Q2-base:1.11 pkgsrc-2024Q1:1.11.0.6 pkgsrc-2024Q1-base:1.11 pkgsrc-2023Q4:1.11.0.4 pkgsrc-2023Q4-base:1.11 pkgsrc-2023Q3:1.11.0.2 pkgsrc-2023Q3-base:1.11 pkgsrc-2023Q2:1.9.0.4 pkgsrc-2023Q2-base:1.9 pkgsrc-2023Q1:1.9.0.2 pkgsrc-2023Q1-base:1.9 pkgsrc-2022Q4:1.8.0.2 pkgsrc-2022Q4-base:1.8 pkgsrc-2022Q3:1.7.0.8 pkgsrc-2022Q3-base:1.7 pkgsrc-2022Q2:1.7.0.6 pkgsrc-2022Q2-base:1.7 pkgsrc-2022Q1:1.7.0.4 pkgsrc-2022Q1-base:1.7 pkgsrc-2021Q4:1.7.0.2 pkgsrc-2021Q4-base:1.7 pkgsrc-2021Q3:1.6.0.8 pkgsrc-2021Q3-base:1.6 pkgsrc-2021Q2:1.6.0.6 pkgsrc-2021Q2-base:1.6 pkgsrc-2021Q1:1.6.0.4 pkgsrc-2021Q1-base:1.6 pkgsrc-2020Q4:1.6.0.2 pkgsrc-2020Q4-base:1.6 pkgsrc-2020Q3:1.5.0.8 pkgsrc-2020Q3-base:1.5 pkgsrc-2020Q2:1.5.0.6 pkgsrc-2020Q2-base:1.5 pkgsrc-2020Q1:1.5.0.2 pkgsrc-2020Q1-base:1.5 pkgsrc-2019Q4:1.5.0.4 pkgsrc-2019Q4-base:1.5 pkgsrc-2019Q3:1.4.0.22 pkgsrc-2019Q3-base:1.4 pkgsrc-2019Q2:1.4.0.20 pkgsrc-2019Q2-base:1.4 pkgsrc-2019Q1:1.4.0.18 pkgsrc-2019Q1-base:1.4 pkgsrc-2018Q4:1.4.0.16 pkgsrc-2018Q4-base:1.4 pkgsrc-2018Q3:1.4.0.14 pkgsrc-2018Q3-base:1.4 pkgsrc-2018Q2:1.4.0.12 pkgsrc-2018Q2-base:1.4 pkgsrc-2018Q1:1.4.0.10 pkgsrc-2018Q1-base:1.4 pkgsrc-2017Q4:1.4.0.8 pkgsrc-2017Q4-base:1.4 pkgsrc-2017Q3:1.4.0.6 pkgsrc-2017Q3-base:1.4 pkgsrc-2017Q2:1.4.0.2 pkgsrc-2017Q2-base:1.4 pkgsrc-2017Q1:1.3.0.2 pkgsrc-2017Q1-base:1.3 pkgsrc-2014Q4:1.1.0.6 pkgsrc-2014Q4-base:1.1 pkgsrc-2014Q3:1.1.0.4 pkgsrc-2014Q3-base:1.1 pkgsrc-2014Q2:1.1.0.2 pkgsrc-2014Q2-base:1.1; locks; strict; comment @# @; 1.12 date 2025.06.15.16.02.01; author taca; state Exp; branches; next 1.11; commitid RUKbF23EMLsOh0ZF; 1.11 date 2023.09.06.03.22.52; author schmonz; state Exp; branches; next 1.10; commitid 4ps8r6Pbrg6OUEDE; 1.10 date 2023.08.24.19.38.09; author wiz; state dead; branches; next 1.9; commitid oshiZlju2C8eJ4CE; 1.9 date 2023.03.13.11.41.57; author triaxx; state Exp; branches; next 1.8; commitid CIJ4ixRFpLyRlXgE; 1.8 date 2022.10.15.19.56.55; author triaxx; state Exp; branches; next 1.7; commitid wTFm9iBmpJavTQXD; 1.7 date 2021.12.21.15.00.41; author triaxx; state Exp; branches; next 1.6; commitid VEW5xNQMEyLRKwlD; 1.6 date 2020.10.07.00.04.40; author schmonz; state Exp; branches; next 1.5; commitid DKcpNwBsBBs51UqC; 1.5 date 2019.12.08.09.32.05; author triaxx; state Exp; branches; next 1.4; commitid yEEN6SJidjcoVSNB; 1.4 date 2017.06.23.13.47.06; author wiz; state Exp; branches; next 1.3; commitid KyCvtTajfoEAcvWz; 1.3 date 2017.02.17.15.01.52; author wiz; state Exp; branches; next 1.2; commitid t0wrCzO0B3UBFjGz; 1.2 date 2015.01.17.17.37.18; author wiedi; state dead; branches; next 1.1; commitid nRGsNQVCgMYt1p6y; 1.1 date 2014.05.14.16.07.06; author wiedi; state Exp; branches; next ; commitid bEHjBwA0rKRLuwAx; desc @@ 1.12 log @mail/rspamd: update to 3.12.0 3.12.0 (2025-06-11) What's Changed * [WebUI] Update Bootstrap, D3 and PrismJS libraries by @@moisseev in #5423 * [Minor] contextal: conditionally disable timer, minor changes by @@fatalbanana in #5426 * Add Sieve and cPanel forwarding symbols by @@dragoangel in #5407 * [Minor] Use module name when calling set_pre_result by @@fatalbanana in #5434 * Fix writing rules tutorial link by @@SuperSandro2000 in #5436 * Correct "file.conf" from dist config files by @@SuperSandro2000 in #5444 * [Minor] RPM: fix log directory attributes by @@fatalbanana in #5435 * Allow to use different servers for fuzzy operations by @@vstakhov in #5453 * [WebUI] Add Delete hash button by @@moisseev in #5454 * Added exclusion list for reputation by @@kevinzb56 in #5443 * Fix librdns maxname limit by @@dragoangel in #5455 * [Fix] libmime: doctest 2.4.12 compatibilty by @@xandris in #5458 * [WebUI] Add deletion of specific fuzzy hashes by @@moisseev in #5457 * Some improvements to the proxy by @@vstakhov in #5456 * Added --non-default Option to rspamadm configdump for Local Configuration by @@kevinzb56 in #5452 * gpt.lua: Remove "thinking" and fix errorlog by @@NameWeb in #5459 * [Minor] Update API docs RE: multiple HTTP headers by @@fatalbanana in #5468 * [Minor] Fix for docs of lua_redis.redis_make_request_taskless by @@left-try in #5470 * [Feature] Magic: Support HEIC files by @@vstakhov in #5471 * Add FREEMAIL_REPLYTO_NEQ_FROM rule by @@dragoangel in #5413 * Modify documentation for rspamc "-P" parameter by @@TwizzyDizzy in #5473 * fix(lua_redis): Improve Redis script loading by @@jendis in #5464 * [Minor] Fix Debian package build by @@fatalbanana in #5475 * [Rework] Replies: consider all recipients and use smtp ones by @@vstakhov in #5428 * [Minor] Print error on multimap invalid type by @@japc in #5477 * [Minor] Fix fuzzy lua callback when there are no shingles by @@fatalbanana in #5486 * [WebUI] Add file upload to Test selectors by @@moisseev in #5483 * [Minor] Log the token usage for OpenAI (compatible) plain conversion by @@lucasRolff in #5488 * Reputation Plugin: Fix comment to correspond the code above by @@heptalium in #5489 * Fix some issues with libucl by @@vstakhov in #5490 * [Minor] Correcting the index number for is_spam by @@kevinzb56 in #5495 * Logging improvements by @@vstakhov in #5492 * [Fix] Correct logic error in milter_headers.lua: skip_wanted() by @@drclau in #5496 * [WebUI] Update Bootstrap, D3 and PrismJS libraries by @@moisseev in #5423 * [Minor] contextal: conditionally disable timer, minor changes by @@fatalbanana in #5426 * Add Sieve and cPanel forwarding symbols by @@dragoangel in #5407 * [Minor] Use module name when calling set_pre_result by @@fatalbanana in #5434 * Fix writing rules tutorial link by @@SuperSandro2000 in #5436 * Correct "file.conf" from dist config files by @@SuperSandro2000 in #5444 * [Minor] RPM: fix log directory attributes by @@fatalbanana in #5435 * Allow to use different servers for fuzzy operations by @@vstakhov in #5453 * [WebUI] Add Delete hash button by @@moisseev in #5454 * Added exclusion list for reputation by @@kevinzb56 in #5443 * Fix librdns maxname limit by @@dragoangel in #5455 * [Fix] libmime: doctest 2.4.12 compatibilty by @@xandris in #5458 * [WebUI] Add deletion of specific fuzzy hashes by @@moisseev in #5457 * Some improvements to the proxy by @@vstakhov in #5456 * Added --non-default Option to rspamadm configdump for Local Configuration by @@kevinzb56 in #5452 * gpt.lua: Remove "thinking" and fix errorlog by @@NameWeb in #5459 * [Minor] Update API docs RE: multiple HTTP headers by @@fatalbanana in #5468 * [Minor] Fix for docs of lua_redis.redis_make_request_taskless by @@left-try in #5470 * [Feature] Magic: Support HEIC files by @@vstakhov in #5471 * Add FREEMAIL_REPLYTO_NEQ_FROM rule by @@dragoangel in #5413 * Modify documentation for rspamc "-P" parameter by @@TwizzyDizzy in #5473 * fix(lua_redis): Improve Redis script loading by @@jendis in #5464 * [Minor] Fix Debian package build by @@fatalbanana in #5475 * [Rework] Replies: consider all recipients and use smtp ones by @@vstakhov in #5428 * [Minor] Print error on multimap invalid type by @@japc in #5477 * [Minor] Fix fuzzy lua callback when there are no shingles by @@fatalbanana in #5486 * [WebUI] Add file upload to Test selectors by @@moisseev in #5483 * [Minor] Log the token usage for OpenAI (compatible) plain conversion by @@lucasRolff in #5488 * Reputation Plugin: Fix comment to correspond the code above by @@heptalium * in #5489 Fix some issues with libucl by @@vstakhov in #5490 [Minor] * Correcting the index number for is_spam by @@kevinzb56 in #5495 Logging * improvements by @@vstakhov in #5492 [Fix] Correct logic error in * milter_headers.lua: skip_wanted() by @@drclau in #5496 New Contributors * @@JensErat made their first contribution in #5385 * @@ertyu made their first contribution in #5391 * @@alex081512 made their first contribution in #5387 * @@williamdes made their first contribution in #5400 * @@KIMDONGYEON00 made their first contribution in #5422 * @@SuperSandro2000 made their first contribution in #5436 * @@kevinzb56 made their first contribution in #5443 * @@xandris made their first contribution in #5458 * @@NameWeb made their first contribution in #5459 * @@TwizzyDizzy made their first contribution in #5473 * @@heptalium made their first contribution in #5489 * @@drclau made their first contribution in #5496 @ text @$NetBSD: patch-CMakeLists.txt,v 1.11 2023/09/06 03:22:52 schmonz Exp $ Let pkg-config find pkgsrc-provided lua. --- CMakeLists.txt.orig 2025-06-09 10:11:16.000000000 +0000 +++ CMakeLists.txt @@@@ -175,7 +175,7 @@@@ else () "include/lua53" "include/lua" ROOT ${LUA_ROOT} - MODULES lua53 + MODULES lua-5.3 OPTIONAL) if (NOT WITH_LIBLUA) @@@@ -188,7 +188,7 @@@@ else () "include/lua54" "include/lua" ROOT ${LUA_ROOT} - MODULES lua54 + MODULES lua-5.4 OPTIONAL) if (NOT WITH_LIBLUA) ProcessPackage(LIBLUA LIBRARY "lua" @@@@ -200,7 +200,7 @@@@ else () "include/lua52" "include/lua" ROOT ${LUA_ROOT} - MODULES lua52 + MODULES lua-5.2 OPTIONAL) if (NOT WITH_LIBLUA) @@@@ -212,7 +212,7 @@@@ else () "include/lua51" "include/lua" ROOT ${LUA_ROOT} - MODULES lua51) + MODULES lua-5.1) endif () endif () endif () @ 1.11 log @rspamd: find lua, and fix PLIST for non-default PKG_SYSCONFDIR. @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 --- CMakeLists.txt.orig 2023-08-03 13:56:19.000000000 +0000 d7 1 a7 1 @@@@ -157,7 +157,7 @@@@ ELSE (ENABLE_LUAJIT MATCHES "ON") d15 2 a16 2 IF (NOT WITH_LIBLUA) @@@@ -170,7 +170,7 @@@@ ELSE (ENABLE_LUAJIT MATCHES "ON") d23 1 a23 1 IF (NOT WITH_LIBLUA) d25 1 a25 1 @@@@ -182,7 +182,7 @@@@ ELSE (ENABLE_LUAJIT MATCHES "ON") d33 2 a34 2 IF (NOT WITH_LIBLUA) @@@@ -194,7 +194,7 @@@@ ELSE (ENABLE_LUAJIT MATCHES "ON") d40 3 a42 3 ENDIF () ENDIF () ENDIF () @ 1.10 log @rspamd: update to 3.6. 3.6: 03 Aug 2023 * [Conf] Add `one_shot` to some specific multimap rules * [Conf] Add language detection configuration * [Conf] Add missing attributes for the language detection configuration * [Conf] Remove outdated composite rules * [Feature] Add `sentinel_password` option * [Feature] Add ability to deny specific fuzzy flags by default * [Feature] Add controller endpoint to get fuzzy hashes from messages * [Feature] Add extra symbol when URL redirector reaches nested limit * [Feature] Add function to transliterate utf8 to ascii with some normalisation * [Feature] Add html parsing limit * [Feature] Add order to urls structure * [Feature] Add some missing functions to `lua_rsa` library * [Feature] Allow fuzzy workers to exchange blocked information * [Feature] Allow to have weak flags in fuzzy storage * [Feature] Allow to read options from maps in the multimap plugin * [Feature] Allow to use other methods when fasttext detection is enabled * [Feature] Count stats per key per flag * [Feature] Finish all features of dkim_keygen in Lua * [Feature] Khash: Allow static initialisation * [Feature] Maps: Add on_load support * [Feature] Preliminary implementation of dynamic composites * [Feature] Process HTML parts before text ones * [Feature] Reorganise struct rspamd_url to be 64 bytes size * [Feature] Save fuzzy ratelimit buckets * [Feature] Use in-place deflation for strings * [Feature] external_relay: add ip_map strategy * [Fix] Avoid race between config new/free by using a counter * [Fix] Do not use `rspamadm.dkim_keygen` * [Fix] Feed fasttext language model with the pre-tokenized words * [Fix] Fix `rspamd_has_only_html_part` * [Fix] Fix an old issue with order of destruction race between redis pool and lua * [Fix] Fix format string usage * [Fix] Fix parsing due to old bug revealed * [Fix] Fix parsing of the mask values that are invalid * [Fix] Ignore non-unique stop words * [Fix] Include the last character when parsing the last header with no value * [Fix] More fixes to fuzzystat * [Fix] Set proper counter * [Fix] Try harder to clean pending bucket * [Fix] Try harder to remove bad hyperscan files * [Fix] Update stats before encryption... * [Fix] dmarc gramar - allow spaces before ";" * [Fix] rbl: fix dependency registration when symbols_prefixes is used * [Fix] remove obsolete rspamd-redirector files * [Fix] test external_relay: count should always be the last rule, as it have no matching condition * [Project] Allow to register multimap symbols dynamically * [Project] Implement fasttext language detection * [Rework] Default max shots must not influence options * [Rework] Write dkim keygen tool in lua * [Rules] Add thread hijacking composite rule @ text @d1 1 a1 1 $NetBSD: patch-CMakeLists.txt,v 1.9 2023/03/13 11:41:57 triaxx Exp $ d3 1 a3 2 For pkgsrc. Install config files to examples directory. Find lua more reliably. d5 1 a5 1 --- CMakeLists.txt.orig 2021-11-01 14:33:30.000000000 +0000 d7 7 a13 7 @@@@ -155,7 +155,7 @@@@ ELSE(ENABLE_LUAJIT MATCHES "ON") "include/lua53" "include/lua" ROOT ${LUA_ROOT} - MODULES lua53 + MODULES lua-5.3 OPTIONAL) d15 17 a31 17 IF (NOT WITH_LIBLUA) @@@@ -168,7 +168,7 @@@@ ELSE(ENABLE_LUAJIT MATCHES "ON") "include/lua54" "include/lua" ROOT ${LUA_ROOT} - MODULES lua54 + MODULES lua-5.4 OPTIONAL) IF (NOT WITH_LIBLUA) ProcessPackage(LIBLUA LIBRARY "lua" @@@@ -180,7 +180,7 @@@@ ELSE(ENABLE_LUAJIT MATCHES "ON") "include/lua52" "include/lua" ROOT ${LUA_ROOT} - MODULES lua52 + MODULES lua-5.2 OPTIONAL) d33 10 a42 22 IF (NOT WITH_LIBLUA) @@@@ -192,7 +192,7 @@@@ ELSE(ENABLE_LUAJIT MATCHES "ON") "include/lua51" "include/lua" ROOT ${LUA_ROOT} - MODULES lua51) + MODULES lua-5.1) ENDIF() ENDIF() ENDIF() @@@@ -685,9 +685,9 @@@@ FILE(GLOB_RECURSE CONF_FILES RELATIVE "$ "${CMAKE_SOURCE_DIR}/conf/*.inc" ) FOREACH(CONF_FILE ${CONF_FILES}) GET_FILENAME_COMPONENT(_rp ${CONF_FILE} PATH) - INSTALL(CODE "FILE(MAKE_DIRECTORY \$ENV{DESTDIR}${CONFDIR}/${_rp})") + INSTALL(CODE "FILE(MAKE_DIRECTORY \$ENV{DESTDIR}${EXAMPLESDIR}/${_rp})") INSTALL(FILES "${CMAKE_CURRENT_SOURCE_DIR}/conf/${CONF_FILE}" - DESTINATION ${CONFDIR}/${_rp}) + DESTINATION ${EXAMPLESDIR}/${_rp}) ENDFOREACH(CONF_FILE) # Lua plugins @ 1.9 log @rspamd: Update to 3.4 pkgsrc changes: --------------- * Remove LUA_VERSIONS_ACCEPTED since it is redundant with lang/lua/luaversion.mk. upstream changes: ----------------- 3.4: 01 Nov 2022 * [CritFix] Restore compatibility with the integrations and headers alterations * [Feature] Milter_headers: Add `x-rspamd-action` routine * [Feature] Share hyperscan database among processes * [Fix] Another corner case in url parsing * [Fix] Another fix for the enable password * [Fix] Another try to fix close method in lua_tcp * [Fix] Fix additional fields in the Redis schema * [Fix] Fix emoji joiner FP * [Fix] Fix favicon.ico Content-Type header * [Fix] Fix hang when close is used * [Fix] Lua_tcp: Sigh, another try to fix `close` invocation * [Fix] Mx_check: Cache the fact of a missing MX record * [Fix] Try to fix parsing of the unencoded `>` characters in html attributes * [Fix] Try to fix the case where password == enable_password * [Project] (Re)implement hyperscan caching * [Project] Rework cleanup * [Project] Synchronize hyperscan caches via the main process * [Rework] Convert multipattern to use hyperscan tools * [Rework] Make http normalize path function a generic function * [Rework] Split locked and unlocked files, as mmap does not need flock normally * [Rework] Start movement of the hyperscan related routines into a single unit * [Rework] Store the current worker, so other libraries could use this information * [Rework] Use blocking socket for IPC between main and workers * [Rework] Use more predictable size for commands buffers * [Rules] Do not insert ONCE_RECEIVED_STRICT on RDNS missing * [Rules] Reduce score of HTTP_TO_HTTPS - subject to remove completely @ text @d1 1 a1 1 $NetBSD: patch-CMakeLists.txt,v 1.8 2022/10/15 19:56:55 triaxx Exp $ @ 1.8 log @rspamd: Update to 3.3 upstream changes: ----------------- 3.3 o https://github.com/rspamd/rspamd/blob/3.3/ChangeLog @ text @d1 1 a1 1 $NetBSD: patch-CMakeLists.txt,v 1.7 2021/12/21 15:00:41 triaxx Exp $ d44 1 a44 1 @@@@ -679,9 +679,9 @@@@ FILE(GLOB_RECURSE CONF_FILES RELATIVE "$ @ 1.7 log @rspamd: Update to 3.1 pkgsrc changes: --------------- * Remove variables that are no more used by the project. * Remove options.mk since GD is no more parameterizable. * Accept the 4 versions of lua provided by pkgsrc since the package successfuly build against all of them. upstream changes: ----------------- 3.1: 01 Nov 2021 * [Feature] Add junk_threshold for autolearn * [Feature] Add neural test command * [Feature] Antivirus: Allow to set fake eicar patterns for testing AV engines * [Feature] Lua_cdb: Add cdb building interface * [Feature] Ratelimit: Add per bucket configurations * [Feature] S3: Allow to store structured data in messagepack * [Fix] Add concept of uncancellable events to prevent use-after-free * [Fix] Add temporary guard to prevent linked list exploitation * [Fix] Another rework of the ucl hashing * [Fix] Another try to fix references safety * [Fix] Another try to fix rspamd_text passing in the selectors * [Fix] Avoid copy for received structure as it has raw C pointers * [Fix] Avoid dangling reference * [Fix] Correctly check numeric URLs in URL DNS lists * [Fix] Delete the correct pointer type * [Fix] Dmarc: Always lowercase domain * [Fix] Fix compilation of the hyperscan databases with errors * [Fix] Fix hash table lookup * [Fix] Fix http message flag shift * [Fix] Fix parsing of the from_hostname when it is an IP address * [Fix] Fix parsing of the unquoted attributes in HTML * [Fix] Fix passing of rspamd_text in selectors pipelines * [Fix] Fix rubbish QP sequences decoding * [Fix] Fix some complicated case with the closing tags parsing * [Fix] Fix the case when l tag is too small * [Fix] Html: Fix the case where only bgcolor is explicitly set * [Fix] Libucl: Fix deletion from ucl objects * [Fix] Namespace and add metadata for OpenMetrics, fix interleaving * [Fix] Plug memory leak in http settings reload * [Fix] Preserve SPF top record in the mempool variable * [Fix] Remove aarch64 GC64 workaround * [Fix] Remove bogus G_LIKELY * [Fix] Spf: Do not parse non TXT DNS replies as TXT replies * [Fix] Try to use on_connect/on_disconnect callbacks to handle internal Redis failures * [Fix] buffer overflow in rspamc counters * [Fix] fix static building * [Fix] lua_scanners - message_min_words logic * [Fix] src/lua/lua_mimepart.c: fix null dereference * [Project] Add constant iterators * [Project] Add helper library to handle mime strings in a more safe matter * [Project] Add preliminary support of CDB bayes dump * [Project] Add trim operations * [Project] Allow mempool allocated mime strings * [Project] Cdb: Finish backend implementation * [Project] Cdb: Fix configuration load * [Project] Cdb: Use shared data between cdb statfiles * [Project] Cdb: continue statistics backend implementation * [Project] Finish received headers rework part * [Project] Move C++ specific declarations to C++ header * [Project] Rework received headers parsing to C++ * [Project] Start using of the new received structure * [Project] Start work on cdb backend * [Rework] Further rework of the redis pool * [Rework] Redis_pool: fix issues found * [Rework] Rework learn and add classify condition * [Rework] Save invisible content to a separate buffer * [Rework] Start rewriting of the redis pool logic * [Rules] Improve zero font rule 3.0: 19 Aug 2021 * [Conf] Align ARC scores with DKIM scores * [CritFix] Neural: Fix sorting application * [Feature] Add a simple dumper for bayes tokens * [Feature] Add lua_maps.fill_config_maps function * [Feature] Add preliminary exporter to AWS S3 * [Feature] Add preliminary restore bayes support * [Feature] Add race condition protection against hs_helper restarts * [Feature] Add rspamd_utf8_strcmp utility * [Feature] Add zstd streaming API * [Feature] Allow to log severity level explicitly * [Feature] Allow to save and show attachment name when inserting AV scan results * [Feature] Allow to sort urls for Lua * [Feature] Allow to specify different timeouts/retransmits for fuzzy rules * [Feature] Aws_s3: Allow to compress data stored * [Feature] CMakeLists.txt: Change check and run-test to use rspamd-test-cxx * fixes #3807 * [Feature] Dmarc_report: allow sending reports in batches * [Feature] Fuzzy_check: Allow to disable subject when making short text hash * [Feature] Lua_cryptobox: Add keyed ssl hash functions via HMAC * [Feature] Lua_task: Add get_urls_filtered method * [Feature] Make monitored checks less frequent * [Feature] Milter_headers: Add x-rspamd-pre-result header * [Feature] Neural: Allow to balance FP/FN for the network * [Feature] Ppopagate monitored errors from rbl module * [Feature] Pyzor calculate score dynamically Count - WL-Count of default_score in percent * [Feature] Rbl: Distinguish flattened and non-flattened selectors in RBL requests * [Feature] Re-add pyzor support * [Feature] Settings: add ip_map check and rework structure slightly * [Feature] Spamassassin: Allow to set the default priority for SA scores * [Feature] Strip smtp comments from message id * [Feature] add SYSTEM_ZSTD cmake option To use the system zstd instead on the bundled version * [Feature] external_relay plugin * [Feature] rspamadm clickhouse neural_train subcommand * [Fix] #3400 milter_headers: fix inverted logic for extended_headers_rcpt * [Fix] ASN: fix _FAIL symbol for when main symbol is disabled * [Fix] Add a special logic for text part with no text extraction * [Fix] Add diacritics flag for several eu languages * [Fix] Another FSM fix to accomodate possibility of multiple consequent ? * [Fix] Avoid curse of dynamic array referencing * [Fix] Avoid reinitialising neural settings * [Fix] Check remain before processing TXT records * [Fix] Enable error multiplier on http errors * [Fix] Finally rework parsing entities logic * [Fix] Fix '==' parsing in the content type attributes parser * [Fix] Fix IPv6 expansion for SPF macros * [Fix] Fix Mozilla Message-ID detection * [Fix] Fix an edge case in BITCOIN_ADDR rule * [Fix] Fix brain-damaged behaviour when http request has a custom Host header * [Fix] Fix check of limits in email address parsing * [Fix] Fix copy&paste error and rework * [Fix] Fix expressions logic for and/or and float values * [Fix] Fix fuzzy retransmits * [Fix] Fix http maps with no or invalid expires data * [Fix] Fix last quote character parsing in the content-type state machine * [Fix] Fix normalisation flags propagation * [Fix] Fix overflow when appending many broken tags * [Fix] Fix parsing of rfc2047 tokens with '?' inside * [Fix] Fix phishing flag set * [Fix] Fix rfc2047 embedded into rfc2231 pieces in special headers * [Fix] Fix round-robin rotation * [Fix] Fix searching for symbols * [Fix] Fix storing of the regexps inside variant * [Fix] Fix tokenization near exceptions * [Fix] Fix visibility calculations * [Fix] Html: Attach inline tags to the structure * [Fix] Html: Do not treat empty tags as block tags * [Fix] Ical: Do not extract urls from all flags using merely specific ones * [Fix] Initialise symcache even if it cannot be loaded properly * [Fix] Lua_fuzzy: Remove text parts check when checking image dimensions * [Fix] Lua_maps: Fix adjustments for the map type in the complex map definitions * [Fix] Lua_task: Fix deleted symbols in has_symbol/get_symbol * [Fix] Move metric and symcache link from validation to the init stage * [Fix] Oletools: Another try to fix table sorting * [Fix] One more default behaviour fix * [Fix] Phishing: Rework urls processing * [Fix] RBL: was missing some config schema * [Fix] Replies: Fix 'Reply-To' handling in task:get_reply_sender * [Fix] Rework metrics handling * [Fix] Save symcache on exit * [Fix] Selectors: Filter nil elements in lists * [Fix] Selectors: Properly fix implicit tostring for nils * [Fix] Try to fix some broken code in DMARC reporting plugin * [Fix] Urls: Fix processing of html urls when it comes to the flags * [Fix] Use proper buffer length * [Fix] Various visibility fixes * [Fix]: ASN: dns cb func should also return in case of an error * [Project] Add a simple css rule definition * [Project] Add css style skeleton * [Project] Add css syntax (adopted from ebnf) * [Project] Add css_selectors * [Project] Add doctest unit testing library * [Project] Add expected library * [Project] Add fmt library for simple string ops * [Project] Add fu2 library to better functions abstractions * [Project] Add hashing method * [Project] Add parsers skeleton * [Project] Add preliminary support of vcard parser * [Project] Add process exceptions for invisible text * [Project] Add some methods for css parser * [Project] Allow static libstdc++ * [Project] Another whitespace hack * [Project] CSS: Various fixes in the declarations and values parsing * [Project] Cpp: Add robin-hood hash map library * [Project] Css: Add AST debug * [Project] Css: Add colors conversion functions * [Project] Css: Add dimensions handling * [Project] Css: Add display value support * [Project] Css: Add frozen library from https://github.com/serge-sans-paille/frozen/ * [Project] Css: Add opacity support * [Project] Css: Add parser helpers to simplify debugging * [Project] Css: Add preliminary stylesheet support * [Project] Css: Add rules processing functions and tests * [Project] Css: Add simple selectors unit tests * [Project] Css: Add some c++ unit tests * [Project] Css: Add some debug methods * [Project] Css: Add some debug statements for the css parser * [Project] Css: Add some logical skeleton for declarations parser * [Project] Css: Add url/function tokens * [Project] Css: Allow at rules parsing * [Project] Css: Declarations parsing logic skeleton * [Project] Css: Enable conditional css parsing support from the HTML parser * [Project] Css: Finish generic lexer cases * [Project] Css: Fix HSL conversion * [Project] Css: Fix minus parsing * [Project] Css: Fix parser consumers nesting * [Project] Css: Fix parsing of the qualified rules * [Project] Css: Fix rules merging * [Project] Css: Further fixes to lexer * [Project] Css: Further steps to parse css colors + rework * [Project] Css: Further work on parser's methods * [Project] Css: Implement backlog of css tokens * [Project] Css: Implement numbers and ident parsers * [Project] Css: Implement simple css selectors lookup * [Project] Css: Implement styles merging * [Project] Css: Make debug strings json like to simplify tests * [Project] Css: Minor adjustments * [Project] Css: More meat to the lexer * [Project] Css: Move some of the tests to the doctest * [Project] Css: Projected a parser * [Project] Css: Properties attachment logic * [Project] Css: Remove ragel from build targets (maybe keep for reference) * [Project] Css: Rework css block structure * [Project] Css: Rework flags of css properties * [Project] Css: Rework tokens structure * [Project] Css: Several fixes + tests * [Project] Css: Simplify checks * [Project] Css: Simplify debug code * [Project] Css: Start css selectors parsing logic * [Project] Css: Start semantic parsing for rules * [Project] Css: Start stylesheet implementation * [Project] Css: Tidy up lambdas * [Project] Css: rework tokeniser * [Project] Dmarc: Add dmarc report tool (WIP) * [Project] Dmarc: Add munging configuration * [Project] Dmarc: Add preliminary munging logic * [Project] Dmarc: Fix header removal * [Project] Dmarc: Fix munging logic * [Project] Dmarc: Use full recipient address instead of a domain map * [Project] Dmarc: Use zlists for dmarc reports * [Project] Dmarc_report: Add message generation logic * [Project] Dmarc_report: Add preliminary sending support * [Project] Fix lua bindings * [Project] Fix xml/sgml tags processing * [Project] Handle new modification * [Project] Html/CSS: Add transform from a CSS rule to html block * [Project] Html/CSS: Link html and css styles * [Project] Html/CSS: Switch styles parsing to css parser * [Project] Html/Css: Fix some issues found * [Project] Html/Css: Implement visibility rules for a block * [Project] Html: Add more tests cases and fix some more corner issues * [Project] Html: Add rows display type support * [Project] Html: Allow decode entities function to normalise spaces + unit tests * [Project] Html: Another rework of the tags structure * [Project] Html: Another try to fix unbalanced cases * [Project] Html: Fix crossing spans * [Project] Html: Fix parent propagation * [Project] Html: Further rework of the html parsing stuff * [Project] Html: Implement logic for tags pairing * [Project] Html: Implement rawtext state machine * [Project] Html: Insert closing tags as well :( * [Project] Html: More fixes * [Project] Html: More fixes * [Project] Html: More spaces logic fixes * [Project] Html: One more attempt to write text content * [Project] Html: Replace \0 in html content * [Project] Html: Rework img/a tags handling * [Project] Html: Rework propagation method * [Project] Html: Rework tags placement * [Project] Html: Rework transparency logic * [Project] Html: Support 'hidden' attribute * [Project] Html: Try another approach to append tags content * [Project] Html: Try to deal with bad unknown tags properly * [Project] Lua_aws: Add canonicalisation utility * [Project] Lua_aws: Add function to produce AWS Authorisation header * [Project] Lua_aws: Implement request signing * [Project] Lua_mime: Add lua_mime.modify_headers routine * [Project] Lua_task: Add modify_header method * [Project] Lua_task: Allow to extract modified headers * [Project] Make unescape code public for unit testing * [Project] More fixes for closed tags * [Project] More fixes to calculations * [Project] Rework API for the modified headers * [Project] Rework html visibility rule * [Project] Skeleton of the css library * [Project] Start headers modification API structure * [Project] Start working on AWS Lua API * [Project] Use lua_mime to modify headers * [Project] Use modified headers on dkim signing * [Project] Use string_view to constexpr variant unpacking * [Rework] Add composites manager concept * [Rework] Add tags definitions * [Rework] Allow C code to be compiled with C++ compiler * [Rework] Clickhouse: Store url flags * [Rework] Composites: Rewrite the composites logic * [Rework] Composites: Start rework of the composites framework * [Rework] Dmarc: Move check policy function to the common utils * [Rework] Dmarc: Rework reports keys structure * [Rework] Further work to make html content private * [Rework] Html/CSS: Remove css C bindings as they are useless now * [Rework] Html/CSS: Rework Lua bindings * [Rework] Html/Css: Start rework of the html blocks * [Rework] Html: Add images processing logic * [Rework] Html: Add traverse function * [Rework] Html: Another steps to get rid of gnode * [Rework] Html: Convert to variant * [Rework] Html: Deal with the utf_content part * [Rework] Html: Final rework part for the html processing code * [Rework] Html: Fix Lua bindings * [Rework] Html: Forgot to add the internal include * [Rework] Html: Further html urls rework * [Rework] Html: Further rework of the tags content extraction * [Rework] Html: Make parameters as a vector again * [Rework] Html: Move blocks part * [Rework] Html: Move images processing stuff * [Rework] Html: Rework lua bindings * [Rework] Html: Start html text extraction rework * [Rework] Html: Start refactoring of the html tags handling * [Rework] Html: Start removing of GNode stuff * [Rework] Html: Start rework of the html content structure * [Rework] Lua_magic: Try to detect text parts with 8bit characters for non-utf8 encodings * [Rework] Move HTML url functions and rework them * [Rework] Move and adopt entities handling logic * [Rework] Move common and rarely used dmarc code to the library * [Rework] Move compression routines outside of rspamd_util library * [Rework] Move entities/tags handling * [Rework] Phishing: Split from redirectors usage * [Rework] Redesign html blocks propagation logic * [Rework] Remove tag name string * [Rework] Rename phished url to a linked url * [Rework] Reorganize dmarc plugin and remove unsupported reporting code * [Rework] Reputation: Use more flexible types in get/set functions * [Rework] Require proper C++ environment for Rspamd build * [Rework] Rework extended urls output * [Rework] Rework tags parsing machine * [Rework] Slightly improve old regexp API * [Rework] Start conversion of the redis pool code to c++ * [Rework] Try to resolve failed upstreams more agressively * [Rework] Use C++ utf8 library with unit tests to trim whitespaces * [Rework] Use C++ version for unicode normalisation * [Rework] Use C++ version of the lua threads pool * [Rules] Add raw addresses to MULTIPLE_FROM options * [Rules] Another fix to HTTP_TO_HTTPS rule * [Rules] Do not trigger HTML_SHORT_LINK_IMG on external images * [Rules] Extend FORGED_X_MAILER * [Rules] Extend OLD_X_MAILER * [Rules] Fix CTYPE_MIXED_BOGUS for text attachments * [Rules] Fix FPs for CTYPE_MIXED_BOGUS * [Rules] Fix HTTP_TO_HTTPS rule * [Rules] Fix HTTP_TO_HTTPS rule * [Rules] Fix zerofont rule (partially) * [Rules] Micro-optimize X_PHP_EVAL * [Rules] Reduce default weight for R_MISSING_CHARSET @ text @d1 1 a1 1 $NetBSD: patch-CMakeLists.txt,v 1.6 2020/10/07 00:04:40 schmonz Exp $ d44 1 a44 1 @@@@ -677,9 +677,9 @@@@ FILE(GLOB_RECURSE CONF_FILES RELATIVE "$ @ 1.6 log @Find lua more reliably. Fixes at least macOS, still works on NetBSD. @ text @d1 1 a1 1 $NetBSD: patch-CMakeLists.txt,v 1.5 2019/12/08 09:32:05 triaxx Exp $ d6 1 a6 1 --- CMakeLists.txt.orig 2020-09-30 19:27:23.000000000 +0000 d8 1 a8 1 @@@@ -146,8 +146,7 @@@@ ELSE(ENABLE_LUAJIT MATCHES "ON") d13 2 a14 2 - OPTIONAL) + MODULES lua-5.3) d17 29 a45 3 ProcessPackage(LIBLUA LIBRARY "lua" @@@@ -684,9 +683,9 @@@@ FILE(GLOB_RECURSE CONF_FILES RELATIVE "$ "${CMAKE_SOURCE_DIR}/conf/*" ) @ 1.5 log @rspamd: update to 2.2 upstream changes: ----------------- [Conf] Antivirus: Fix the default config [Feature] Add verdict library in lua [Feature] Allow exception when choosing upstream [Feature] Allow to disable symbols from the metric config [Feature] Allow to limit maps per specific worker [Feature] Always validate Rspamd protocol output [Feature] Antivirus: Add preliminary virustotal support [Feature] Clickhouse: Rework Clickhouse collection logic [Feature] Improve base64 usage [Feature] Shutdown timeout is now associated with task timeout [Fix] #3129 Multiple classifiers on redis working incorrectly [Fix] Allow real upstreams configuration [Fix] Another try to fix slow callbacks and timers [Fix] Check results of write message as SSL can bork them [Fix] Clickhouse: Avoid potential races in collection [Fix] Clickhouse: Fix periodic script [Fix] Fail DNS upstream on each retransmit attempt [Fix] Fix consistent hashing when upstreams are marked inactive [Fix] Fix issues found [Fix] Fix off-by-one in retries for the proxy [Fix] Fix termination [Fix] Fix upstreams exclusion logic [Fix] Fix utf8 validation for symbols options and empty strings [Fix] Oops, fix maps reload [Fix] Rbl: Allow utf8 lookups for IDN domains [Fix] Sigh, another try to fix brain-damaged openssl [Project] Add fast utf8 validation library [Project] Use own utf8 validation instead of glib [Rework] Another phase of finish actions rework [Rework] Further cmake system rework [Rework] Further isolation of the controller’s functions [Rework] Make cmake structure more modular [Rework] Move cmake modules to a dedicated path [Rework] Replace controller functions by any scanner worker if needed [Rework] Rework final scripts logic [Rework] Rewrite rspamd_str_make_utf_valid function @ text @d1 1 a1 1 $NetBSD: patch-CMakeLists.txt,v 1.4 2017/06/23 13:47:06 wiz Exp $ d4 1 d6 1 a6 1 --- CMakeLists.txt.orig 2019-11-19 17:31:43.000000000 +0000 d8 11 a18 1 @@@@ -641,9 +641,9 @@@@ FILE(GLOB_RECURSE CONF_FILES RELATIVE "$ @ 1.4 log @Updated rspamd to 1.6.1. 1.6.1: 14 Jun 2017 * [Fix] Allow to init resolver without rspamd_config * [Fix] Do not crash when resolver failed to initialize * [Fix] Fix abstract context layout * [Fix] Fix CGP helper reply parsing * [Fix] Fix crashes when socket write errors occur * [Fix] Fix parsing IPv6 nameservers in resolv.conf * [Fix] Milter: Don't defer on "greylist" action 1.6.0: 12 Jun 2017 * [Conf] Add rspamd_proxy to the default configuration set * [Conf] Add sample arc module config * [Conf] Do away with systemd specifics completely * [Conf] Increase min_bytes to avoid FP * [Conf] Remove ratelimits from default configuration * [CritFix] Fix accepting on IPv6 sockets * [CritFix] Fix corruption when multiple fuzzy are defined * [CritFix] Fix learn condition in fuzzy check * [CritFix] Fix memory leak in fuzzy check * [CritFix] Fix memory leak in maps scheduling * [CritFix] Paese the last character in DKIM signature correctly * [CritFix] Zero fill sockaddr_un * [Feature] Add ability to add doc strings by example * [Feature] Add API to verify DKIM (and ARC) signatures * [Feature] Add compression/decompression to proxy * [Feature] Add count to url structure * [Feature] Add initial support of the new protocol reply * [Feature] Add Lua plugin spamtrap * [Feature] Add `monitored_address` for rbls * [Feature] Add new schema for bayes tokens * [Feature] Add preliminary ARC support to dkim code * [Feature] Add preliminary support of ARC signing * [Feature] Add rules to detect bad 8bit characters in From and To * [Feature] Add scanning support for milter protocol * [Feature] Add support for bidirectional symbols in rspamd_stats * [Feature] Add support for static maps * [Feature] Add support of maps with multiple regexps matches * [Feature] Add `text_multiplier` param * [Feature] Add the preliminary ARC plugin * [Feature] Add top redirector targets rank * [Feature] Allow async events to be registered from LUA rules * [Feature] Allow storing bayes tokens in Redis * [Feature] Allow to exclude specific domains from mx check * [Feature] Allow to have a stack of watcher finalisers * [Feature] Allow to pass hostname to `-i` flag in Rspamc * [Feature] Allow to set custom user agent in url redirector * [Feature] Allow to use custom callback when parsing resolv.conf * [Feature] Allow to use domain from authenticated user * [Feature] Bayes expiry plugin * [Feature] Check dkim sign keys for modifications * [Feature] DKIM signing: sign_networks/local address specific use_domain settings * [Feature] DMARC: Support excluding domains from sampling * [Feature] Expire processing items for URL redirector aggressively * [Feature] Fix surbl monitored for IP lists, add `monitored_domain` option * [Feature] Implement caching for dkim body hashes * [Feature] Implement milter protocol scan reply * [Feature] Improve omograph phishing detection * [Feature] Initial support of self-scan in Rspamd proxy * [Feature] Keep track of headers in milter interface * [Feature] Milter headers: better controls for local/authenticated * [Feature] Multimap: email:domain:tld filter * [Feature] Preliminary DMARC reporting implementation * [Feature] Reuse stemmers in the cache * [Feature] Rework confighelp to load Lua plugins * [Feature] Rework hfilter to use hyperscan if possible * [Feature] Rework lua RSA API * [Feature] Rmilter_headers: approximate rmilter's extended_spam_headers * [Feature] Start integration of milter support in proxy * [Feature] Store average words length and short words count * [Feature] Store hash of headers order and names * [Feature] Support MTA name header * [Feature] Support multiple types of dkim signing in Lua * [Feature] Support numeric arguments for Redis requests * [Feature] Use headers hash in bayes metatokens * [Feature] Use normal resolv.conf rules of rotation in Rspamd * [Feature] Use version 2 proto for checking messages * [Fix] Allow to follow symlinks when safe * [Fix] Append MX name for authentication results as required * [Fix] Change default text multiplier from 0.5 to 2.0 * [Fix] Check min_bytes for images as well * [Fix] Deal with 7bit charsets properly * [Fix] Deal with 8bit characters in email addresses * [Fix] Deal with unpaired tags * [Fix] Detect confighelp in plugins initialisation * [Fix] Disable certain checks for utf spoof detection * [Fix] DKIM Signing: avoid nil index when From header is missing * [Fix] Do not add exact hashes from different parts * [Fix] Do not check DMARC if SPF or DKIM were not checked * [Fix] Do not check URLs that are resolved to be redirected * [Fix] Do not set bayes probability if we don't use it * [Fix] Do not stop on illegal unicode points - replace them * [Fix] Fix another race condition in arc checks * [Fix] Fix arc count logic * [Fix] Fix ARC signing * [Fix] Fix brain-damaged spamc protocol for now * [Fix] Fix calling for peak functions * [Fix] Fix couple of issues in FORWARDED rule * [Fix] Fix CTE propagation from parent containers to children parts * [Fix] Fix errors processing in the controller * [Fix] Fix format string in milter * [Fix] Fix issues in SPF macros parsing * [Fix] Fix logging format string * [Fix] Fix logic of cached passwords check * [Fix] Fix lowercasing of stemmed words * [Fix] Fix LRU elements removal * [Fix] Fix memory leak when accepting from unix sockets * [Fix] Fix milter connections persistence * [Fix] Fix objects merging in UCL * [Fix] Fix order of operations to avoid race condition * [Fix] Fix parsing of long regexp types * [Fix] Fix passing data to log helper when many symbols defined * [Fix] Fix pools management for milter session * [Fix] Fix processing of the watchers * [Fix] Fix queue id macro in milter * [Fix] Fix R_BAD_CTE_7BIT rule * [Fix] Fix Redis timeout set * [Fix] Fix REPLYTO_UNPARSEABLE rule * [Fix] Fix setting of email address * [Fix] Fix some more issues about duplicated fuzzy requests * [Fix] Fix spamc support in rspamd proxy * [Fix] Fix syntax error in spamtrap plugin * [Fix] Fix url counts for href urls * [Fix] Fix url handling in the protocol * [Fix] Multimap: Received IP filters with Redis * [Fix] Oops, fix d9d0fa5e86db2f4470d34395a233b450478b2f60 * [Fix] Parse rgb[a](x,x,x[,x]) css colors * [Fix] Phishing: strict_domains * [Fix] Reduce maps aggressiveness * [Fix] Reresolve upstreams even if there is a single server there * [Fix] Rspamadm grep: Disable Lua patterns in string search by default * [Fix] Skip text parts when checking binary parts in fuzzy check * [Fix] Support v2 checks in controller * [Fix] Treat empty address as valid * [Fix] Try harder to detect CTE * [Fix] Try to deal with v4 mapped to v6 addresses on accept * [Fix] Use dkim signing callback properly * [Fix] Use non-volatile memory for storing data * [Fix] Use static maps instead of ugly hack for radix_from_config * [Fix] Use the same pool for related sessions * [Rework] Continue modularisation for lua library * [Rework] Initial milter protocol support * [Rework] Make log pipes worker agnostic, add scanners API * [Rework] Move authentication results generation to a separate routine * [Rework] Move common DKIM functions to a separate lua module * [Rework] Move global functions to a separate directory * [Rework] Prepare dkim module for ARC checks * [Rework] Propagate ucl variables from the command line * [Rework] Remove multiple metrics support from Rspamd * [Rework] Stop using name 'rmilter' for the modern protocol * [Rework] Use LFU algorithm in LRU cache * [Rules] Fix received TLS rules * [Rules] Improve URL_COUNT_ODD rule * [WebUI] Fix add header filter in history * [WebUI] Use modern protocol for checking messages 1.5.9: * [Conf] Increase min_bytes to avoid FP * [Conf] Remove ratelimits from default configuration * [CritFix] Fix accepting on IPv6 sockets * [CritFix] Zero fill sockaddr_un * [Feature] Add `text_multiplier` param * [Fix] Check min_bytes for images as well * [Fix] Do not add exact hashes from different parts * [Fix] Fix memory leak when accepting from unix sockets * [Fix] Fix some more issues about duplicated fuzzy requests * [Fix] Phishing: strict_domains * [Fix] Skip text parts when checking binary parts in fuzzy check * [Minor] Add the same duplicates protection for all fuzzy hashes types * [Minor] Fix braces * [Minor] Fix test * [Minor] SPOOF_DISPLAY_NAME: Use all SMTP/MIME recipients * [Minor] Validate assumed spoofed display name domains to contain a dot 1.5.8: * [CritFix] Fix memory leak in fuzzy check * [CritFix] Fix memory leak in maps scheduling * [Feature] Multimap: email:domain:tld filter * [Fix] DKIM Signing: avoid nil index when From header is missing * [Fix] Do not set bayes probability if we don't use it * [Fix] Do not stop on illegal unicode points - replace them * [Fix] Fix brain-damaged spamc protocol for now * [Fix] Fix Redis timeout set * [Fix] Fix spamc support in rspamd proxy * [Fix] Multimap: Received IP filters with Redis * [Fix] Parse rgb[a](x,x,x[,x]) css colors * [Fix] Reresolve upstreams even if there is a single server there * [Fix] Treat empty address as valid * [Fix] Try harder to detect CTE * [Fix] Try to deal with v4 mapped to v6 addresses on accept * [Minor] Add `wsf` and `hta` bad archive extensions * [Minor] Fix configuration option * [Minor] Fix result parsing for SAVAPI * [Minor] Further logging improvements * [Minor] Improve logging of errors * [Minor] Prevent MID_CONTAINS_FROM from firing on empty address * [Minor] Reduce digit->number transmission penalty * [Minor] Relax CTYPE_MISSING_DISPOSITION rule 1.5.7: * [CritFix] Fix corruption when multiple fuzzy are defined * [CritFix] Fix learn condition in fuzzy check * [Feature] Add rules to detect bad 8bit characters in From and To * [Feature] DKIM signing: sign_networks/local address specific use_domain settings * [Feature] Support numeric arguments for Redis requests * [Fix] Deal with 8bit characters in email addresses * [Fix] Fix couple of issues in FORWARDED rule * [Fix] Fix passing data to log helper when many symbols defined * [Fix] Fix R_BAD_CTE_7BIT rule * [Fix] Fix REPLYTO_UNPARSEABLE rule * [Fix] Fix setting of email address * [Fix] Rspamadm grep: Disable Lua patterns in string search by default * [Minor] Add Lua 5.3 workaround * [Minor] Add lua methods to detect if a part has 8bit characters * [Minor] Allow session-less lua dns requests * [Minor] Allow to append greylist end time to message reported * [Minor] Avoid `nil` table * [Minor] Disable dkim_signing if redis is specified but not configured * [Minor] Fix build with pcre2 * [Minor] Fix rule * [Minor] Fix warnings * [Minor] Format floating point number * [Minor] Push email flags to the lua API * [Minor] Silence some warnings * [Minor] Silence warning * [Minor] Try all hostname regexps to find the most significant one * [WebUI] Fix add header filter in history @ text @d1 1 a1 1 $NetBSD: patch-CMakeLists.txt,v 1.3 2017/02/17 15:01:52 wiz Exp $ d5 1 a5 1 --- CMakeLists.txt.orig 2017-06-14 14:45:41.000000000 +0000 d7 2 a8 2 @@@@ -1289,16 +1289,16 @@@@ FILE(GLOB_RECURSE CONF_FILES RELATIVE "$ "${CMAKE_CURRENT_SOURCE_DIR}/conf/*" ) d18 1 a18 10 SET(MAIN_CONF "conf/rspamd.conf") IF(BUILD_PORT) - INSTALL_IF_NOT_EXISTS(${MAIN_CONF} ${CONFDIR} "rspamd.conf" ".sample") + INSTALL_IF_NOT_EXISTS(${MAIN_CONF} ${EXAMPLESDIR} "rspamd.conf" ".sample") ELSE(BUILD_PORT) - INSTALL_IF_NOT_EXISTS(${MAIN_CONF} ${CONFDIR} "rspamd.conf" "") + INSTALL_IF_NOT_EXISTS(${MAIN_CONF} ${EXAMPLESDIR} "rspamd.conf" "") ENDIF(BUILD_PORT) IF(INSTALL_EXAMPLES MATCHES "ON") INSTALL(FILES ${MAIN_CONF} DESTINATION ${EXAMPLESDIR}) @ 1.3 log @Add missing patch for 1.4.3 update. @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 --- CMakeLists.txt.orig 2016-09-01 11:42:54.000000000 +0000 d7 1 a7 1 @@@@ -1244,9 +1244,9 @@@@ FILE(GLOB_RECURSE CONF_FILES RELATIVE "$ d18 1 a18 4 # Main config is special due to systemd @@@@ -1256,13 +1256,13 @@@@ ELSE(WANT_SYSTEMD_UNITS MATCHES "ON") SET(MAIN_CONF "conf/rspamd.sysvinit.conf") ENDIF(WANT_SYSTEMD_UNITS MATCHES "ON") a25 5 # Debian is also special IF(DEBIAN_BUILD) - INSTALL_IF_NOT_EXISTS("conf/rspamd.sysvinit.conf" ${CONFDIR} "rspamd.sysvinit.conf" "") + INSTALL_IF_NOT_EXISTS("conf/rspamd.sysvinit.conf" ${EXAMPLESDIR} "rspamd.sysvinit.conf" "") ENDIF(DEBIAN_BUILD) @ 1.2 log @remove old patch @ text @d1 1 a1 2 $NetBSD: patch-CMakeLists.txt,v 1.1 2014/05/14 16:07:06 wiedi Exp $ Help CMake find Lua d3 3 a5 1 --- CMakeLists.txt.orig 2014-05-14 14:26:36.954076768 +0000 d7 29 a35 8 @@@@ -170,6 +170,7 @@@@ MACRO(FindLua _major _minor) $ENV{LUA_DIR} PATH_SUFFIXES "include/lua${_major}${_minor}" "include/lua${_major}.${_minor}" + "include/lua-${_major}.${_minor}" include/lua include PATHS /usr/local @ 1.1 log @Update to rspamd-0.6.9 Changes: * Fix serious bug in DNS random code. * Rename symbol HFILTER_HOSTNAME_NOPTR (@@AlexeySa) * Fix Hfilter for null text part (@@AlexeySa) * Fix rule MISSING_MIMEOLE for IPB forum (@@AlexeySa) * Tweak default RBL module config for brevity (@@fatalbanana) * Fix nameservers setup. * Fix overrides for a metric. (#33) * Fix memory leak in fuzzy_add command. * Debianization (by @@dottedmag). * Rework resolver library. * Rework LRU hash logic. * Fix users in debian package (by @@dottedmag). * Rework bloom hash library to use XXHash. * Remove judy and use glib hash tables from fuzzy_storage. @ text @d1 1 a1 1 $NetBSD$ @