aboutsummaryrefslogtreecommitdiffstats
path: root/rules
Commit message (Collapse)AuthorAgeFilesLines
...
* [Rules] Another fix to HTTP_TO_HTTPS ruleVsevolod Stakhov2021-03-161-10/+10
|
* [Rules] Fix HTTP_TO_HTTPS ruleVsevolod Stakhov2021-03-131-10/+22
|
* [Rules] Reduce default weight for R_MISSING_CHARSETVsevolod Stakhov2021-03-121-1/+1
|
* [Minor] Fix OMOGRAPH_URL for the changes in the phished flagVsevolod Stakhov2021-03-091-1/+4
|
* [Minor] Properly use task:set_recipientsVsevolod Stakhov2021-03-081-1/+1
|
* [Fix] Fix Mozilla Message-ID detectionAlexander Moisseev2021-02-051-1/+1
| | | The left part of the Mozilla Message-ID is a hexadecimal timestamp. The regexp was mistakenly limited to 2021-01-14.
* [Fix] Avoid reinitialising neural settingsAndrew Lewis2021-02-051-2/+0
|
* [Minor] Add another bounce reVsevolod Stakhov2021-02-041-0/+1
|
* Fix typos in code commentsPavel Rochnyack2020-12-231-3/+3
|
* [Minor] Fix missing commaVsevolod Stakhov2020-12-221-1/+1
|
* Merge pull request #3582 from citrin/x-mailer-rulesVsevolod Stakhov2020-12-221-3/+18
|\ | | | | [Rules] X-Mailer rules update
| * [Minor] Add rule for forged X-Mailer: Internet Mail ServiceAnton Yuzhaninov2020-12-221-0/+15
| |
| * [Minor] Add {header} for header regexpsAnton Yuzhaninov2020-12-221-3/+3
| |
* | [Minor] Use task:has_header instead of task:get_headerAnton Yuzhaninov2020-12-223-18/+13
|/ | | | Use task:has_header() to check if header is exists.
* [Minor] Remove R_SAJDING and SUSPICIOUS_OPERA_10W_MSGIDAnton Yuzhaninov2020-12-211-22/+2
| | | | These rules are no longer relevant.
* [Minor] Add FORGED_X_MAILER rule for X-Mailer used by spambootsAnton Yuzhaninov2020-12-211-0/+20
|
* Merge pull request #3577 from fatalbanana/http_headers_pluginVsevolod Stakhov2020-12-192-182/+0
|\ | | | | [Minor] Move http_headers to plugin
| * [Minor] Move http_headers to pluginAndrew Lewis2020-12-172-182/+0
| | | | | | | | | | | | | | | | - Support multiple DKIM results - Insert DKIM trace symbols - Always disable callbacks if we got a header - Make the plugin default-disabled - Disable callbacks instead of virtual symbols
* | Merge pull request #3570 from fatalbanana/nn_trainingVsevolod Stakhov2020-12-172-2/+75
|\ \ | |/ |/| [Feature] Add controller endpoint for training neural
| * [Feature] Add controller endpoint for training neuralAndrew Lewis2020-12-172-2/+75
| | | | | | | | | | | | | | | | - Move neural functions to library - Parameterise spawn_train - neural plugin: Fix store_pool_only when autotrain is true - neural plugin: Use cache_set instead of mempool - Add test
* | [Minor] Update regexp for R_UNDISC_RCPTAnton Yuzhaninov2020-12-141-2/+10
| | | | | | | | | | Match more variations for undisclosed-recipients, but don't match when it is used as a lame real name.
* | [Minor] Add rule for old MUA versionAnton Yuzhaninov2020-12-141-0/+25
| | | | | | | | | | These versions are rarely used by real uses nowadays, but can be found in spam.
* | [Minor] Remove FAKE_REPLY_C and move FAKE_REPLY rule to regexp moduleAnton Yuzhaninov2020-12-122-37/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | FAKE_REPLY_C rule no longer works because MUA it used are no longer used (and ones which are used changed headers they add). In theory one can test all popular modern MUA and see which add only References, which only In-Reply-To and which add both headers. But it will be a lot of work to maintain such rule up to date. It still has a small number of hits, but mostly because some spammers use old X-Mailer headers. This should be addressed separately. While here re-create FAKE_REPLY as a regexp module rule - this way it should be more efficient.
* | [Minor] Remove AOL_SPAM ruleAnton Yuzhaninov2020-12-121-7/+0
|/ | | | | | Mail from AOL not longer have X-AOL-Global-Disposition header and this rule no longer works. AOL messages now have X-YMail-OSG header (like yahoo.com), but it is encrypted/obfuscated and cannot be used here.
* [Minor] Use rspamd_parsers directlyVsevolod Stakhov2020-11-111-3/+4
|
* [Rules] Remove broken ruleVsevolod Stakhov2020-10-141-10/+0
| | | | Pointed by: @citrin
* Merge pull request #3509 from lprat/mid.luaVsevolod Stakhov2020-10-081-1/+13
|\ | | | | [MID] check TLD hostname
| * fix util nameLionel2020-10-071-3/+3
| |
| * fix potential error if fdtld and mdtld == nilLionel2020-10-061-1/+1
| |
| * Add MID check TLD domainLionel2020-10-061-1/+13
| |
* | [Minor] Add option for DATE_IN_PAST/DATE_IN_FUTURE symbolsAnton Yuzhaninov2020-10-071-2/+2
| | | | | | | | | | Value for an option is the number of full hours the date of the message is in the past or future.
* | [Feature] Add INVALID_DATE ruleAnton Yuzhaninov2020-10-071-7/+21
| | | | | | | | | | The symbol indicates that a date in Date: header has invalid format and cannot be parsed by Rspamd.
* | [Minor] Combine Date checksAnton Yuzhaninov2020-10-061-32/+37
|/ | | | | Combine Date header checks into a single callback. No functional changes.
* [Minor] Improve maps query APIVsevolod Stakhov2020-09-161-32/+56
|
* [Fix] Fix FWD_GOOGLE rule (#1815)Andrew Lewis2020-08-221-1/+1
|
* [Feature] Add BOUNCE ruleAnton Yuzhaninov2020-08-102-1/+119
|
* [Minor] Forwarded: Fix initial conditionVsevolod Stakhov2020-08-041-1/+1
|
* [Minor] Slight regexp and capture improvementsVsevolod Stakhov2020-07-301-3/+3
|
* [Minor] Fix find invocationVsevolod Stakhov2020-07-301-1/+2
|
* [Project] Add implicit bitcoincash prefixVsevolod Stakhov2020-07-281-3/+8
|
* [Minor] Pet luacheckVsevolod Stakhov2020-07-281-13/+2
|
* [Project] Remove old codeVsevolod Stakhov2020-07-281-43/+0
|
* [Project] Implement bitcoin cash validation in a proper wayVsevolod Stakhov2020-07-281-45/+32
|
* [Project] Convert bitcoin rules to the new regexp conditions featureVsevolod Stakhov2020-07-281-4/+35
|
* [Project] Bitcoin: BTC cash addresses needs some checksum validationVsevolod Stakhov2020-07-241-28/+72
|
* [Minor] Add more sanity checksVsevolod Stakhov2020-07-021-2/+2
|
* [Minor] Pet luacheckVsevolod Stakhov2020-07-011-2/+3
|
* [Feature] Add query_specific endpointVsevolod Stakhov2020-07-011-10/+54
|
* [Feature] Add maps query methodVsevolod Stakhov2020-07-011-1/+16
|
* [Feature] Preliminary maps addon for controllerVsevolod Stakhov2020-07-012-1/+74
|