summaryrefslogtreecommitdiffstats
path: root/conf/lua
Commit message (Collapse)AuthorAgeFilesLines
* Rework HFILTER_URL_ONELINE.Vsevolod Stakhov2014-01-251-2/+17
|
* Fix hfilterAlexey2014-01-241-1/+1
|
* Remove HFILTER_URL_ONELINE rule.Vsevolod Stakhov2014-01-241-23/+19
| | | | | | | | | - Added functions: `rspamd_textpart:get_length` - get a full length of text part `rspamd_url:get_length` - get a full length of an URL object - Removed `HFILTER_URL_ONELINE` as it is broken by nature - Reworked hfilter to improve performance
* Use more permissive value for parts_differ.Vsevolod Stakhov2014-01-241-1/+1
|
* Improve hostname processing.Vsevolod Stakhov2014-01-221-8/+4
|
* Update HfilterAlexey2014-01-061-50/+31
| | | | - Optimize and fixes for hostname check - Some fixes for helo check
* Several fixes to hfilter module.Vsevolod Stakhov2013-12-271-3/+5
|
* Rework checks for Message-idAlexey2013-12-271-8/+17
| | | Del resolve host rules in Message-Id header
* Hfilter updateAlexey2013-12-261-115/+168
| | | | | | - add "MAIL FROM" host check. Postfix option "reject_unknown_recipient_domain" better to switch off; - add host check from header "Message-id:"; - rework resolve functions - Fix symbols
* Fix escape symbols in hfilter.Vsevolod Stakhov2013-12-261-2/+2
|
* Remove HELO_NOT_FQDN as it exists in hfilter.Vsevolod Stakhov2013-12-241-19/+0
| | | | Submitted by: AL
* Add hfilter - an advanced set of helo and hostname checks.Vsevolod Stakhov2013-12-242-0/+250
| | | | Submitted by: AL
* Add rule for HELO host FQDN checkAlexey2013-12-241-0/+18
|
* * Add meta-classification example.Vsevolod Stakhov2012-10-041-14/+100
| | | | | Many changes to advanced statistic and meta-classification logic. Add example of complex meta-classification.
* Another debian license fix.Vsevolod Stakhov2012-09-104-0/+68
| | | | | Add apache license for regexp that were delivered from SpamAssassin project. Fix debian/copyright for src/dns.c.
* Fix thunderbird message id for the modern thunderbird versions.Vsevolod Stakhov2012-08-141-1/+1
|
* Check received for not more than 5 recipients.Vsevolod Stakhov2012-05-281-2/+14
| | | | Install lua configuration by default (as user's one should be in rspamd.local.lua).
* * Avoid DoS while sending a message with a lot of recipients in 'To' header.Vsevolod Stakhov2012-05-281-17/+28
| | | | | Fix possible deadlock in lua_redis. Version is now 0.4.8 as there are enough changes.
* * Add classifiers pre-selection scriptVsevolod Stakhov2011-07-192-0/+52
|
* * Add rules for message's dateVsevolod Stakhov2011-04-251-0/+28
|
* Update rules.Vsevolod Stakhov2011-02-241-0/+22
| | | | Submitted by: Victor Ustugov
* Add rules.Vsevolod Stakhov2011-02-241-0/+92
| | | | Submitted by: Victor Ustugov
* Rules update.Vsevolod Stakhov2011-02-221-16/+16
| | | | Submitted by: Victor Ustugov
* New rules.Vsevolod Stakhov2011-02-211-0/+40
| | | | Submitted by: Victor Ustugov
* Reduce weight of NO_SPACE_IN_FROM.Vsevolod Stakhov2011-02-191-1/+33
| | | | | | | | Change default pid file location. Change MISSING_TO rule not to work when header exists but empty. Add rules for bad bondaries and message ids. Suggested by: Victor Ustugov.
* * Add ability to save symbols that are inside composites with '-' flag.Vsevolod Stakhov2011-02-191-1/+62
| | | | | | | Remove warnings from rspamc. Add new rules [1] Submitted by: Victor Ustugov [1]
* Add composites for outlook.Vsevolod Stakhov2011-02-191-2/+4
| | | | Submitted by: Victor Ustugov
* * Improve forged_recipients plugin [1]Vsevolod Stakhov2011-02-161-0/+14
| | | | | | Add loading of local rules to rspamd.lua [1] [1] Suggested by Victor Ustugov
* Polish sample config.Vsevolod Stakhov2011-02-092-9/+18
|
* * Introduce new system of configuration checks:Vsevolod Stakhov2010-12-201-1/+0
| | | | | | | | - now symbols inside metrics definition must be inside rules as well - symbols may be virtual (e.g. when module can insert several symbols inside callback) - symbols may be pure callbacks (when symbol's name is unknown and depends on conditions) * Module 'emails' is removed as it is not used in the current rspamd MANY fixes to sample config files
* * Write symbols weights to rspamc outputVsevolod Stakhov2010-07-311-1/+1
| | | | | | * Improve logic of selecting rspamc version * Do not try to parse broken DNS replies * Add 'raw' flag to FROM_EXCESS_BASE64 rule (requested by citrin)
* * Fix lua representing of invalid ip (nil, not 255.255.255.255)Vsevolod Stakhov2010-07-271-1/+1
| | | | | * Fix R_TO_SEEMS_AUTO rule (by citrin) * Add multimap lua plugin
* * Add rspamd_log variable to lua plugins to access logging functionsVsevolod Stakhov2010-07-251-2/+4
| | | | | | | | | * Each part in rspamd task now can have parent part * Check for parts distance only for multipart/alternative subparts * Do not check attachements even if they are text (but attached as file) * Do not die if write (2) returned ENOSPACE while doing logging, turn on throttling mode instead (1 write try in a second) * Add ability to turn on debug for specific symbols * Add ability to configure dns timeouts and dns retransmits in config file
* * Adopt foreach for cmake 2.6Vsevolod Stakhov2010-07-191-1/+1
|
* * Make DNS resolver workingVsevolod Stakhov2010-07-081-1/+1
| | | | | | * Many improvements to rspamd test suite: now it CAN be used for testing rspamd functionality * Write DNS resolver tests * Fix issues with memory_pool mutexes and with creating of statfiles
* * Fix awfull bug in classifying when first statfile has twice weight than ↵Vsevolod Stakhov2010-05-141-1/+1
| | | | | | second... * Fix undisclosed recipients detection
* * Bugfixes:Vsevolod Stakhov2010-04-205-146/+147
| | | | | | | | | | - handle '\' characters in lua strings correctly - fix lua initialization - avoid of using global lua state (global L) - fix listen sockets hash to allow multiply workers of same type but on different listen sockets - fix modules options inserting to allow multiply options of the same name - fix parsing of lua options - fix lua rules
* * Add lua config for most common rulesVsevolod Stakhov2010-04-135-0/+382
* Reset lua state while reloading