- Crash/Hang/Data loss
- WebUI/Usability
- Serious bug
- Other bug
- Feature
- Enhancement
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
grep redis_pool /var/log/mail/mail.log | |
Nov 19 03:11:05 mx rspamd[2533]: <208c66>; redis_pool; rspamd_redis_pool_on_disconnect: inactive connection terminated: Connection reset by peer | |
Nov 19 03:11:05 mx rspamd[2533]: <084f0d>; redis_pool; rspamd_redis_pool_on_disconnect: inactive connection terminated: Connection reset by peer | |
Nov 19 03:11:43 mx rspamd[2777]: <3e6970>; redis_pool; rspamd_redis_pool_on_disconnect: inactive connection terminated: Connection reset by peer | |
Nov 19 03:11:54 mx rspamd[2538]: <a56223>; redis_pool; rspamd_redis_pool_on_disconnect: inactive connection terminated: Connection reset by peer | |
Nov 19 03:11:54 mx rspamd[2536]: <7196cc>; redis_pool; rspamd_redis_pool_on_disconnect: inactive connection terminated: Connection reset by peer | |
Nov 19 03:11:54 mx rspamd[2539]: <b9dc48>; redis_pool; rspamd_redis_pool_on_disconnect: inactive connection terminated: Server closed the connection | |
Nov 19 03:11:55 mx rspamd[2536]: <f09f59>; redis_pool; rspamd_redis_pool_on_disconnect: inactive connection ter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Nov 19 11:29:32 mx rspamd[18671]: <bmr7it>; lua; [string "l...]:77: using default redis server for module ratelimit | |
Nov 19 11:29:32 mx rspamd[18671]: <bmr7it>; lua; [string "l...]:77: using default redis server for module mx_check | |
Nov 19 11:29:32 mx rspamd[18671]: <bmr7it>; lua; [string "l...]:77: using default redis server for module multimap | |
Nov 19 11:29:32 mx rspamd[18671]: <bmr7it>; lua; [string "l...]:77: using default redis server for module ip_score | |
Nov 19 11:29:32 mx rspamd[18671]: <bmr7it>; lua; [string "l...]:77: using default redis server for module fann_redis | |
Nov 19 11:29:32 mx rspamd[18671]: <bmr7it>; cfg; rspamd_init_lua_filters: init lua module fann_redis | |
Nov 19 11:29:32 mx rspamd[18671]: <bmr7it>; lua; [string "l...]:77: using default redis server for module dmarc | |
Nov 19 11:29:32 mx rspamd[18671]: <bmr7it>; lua; [string "l...]:77: using default redis server for module asn | |
Nov 19 11:29:32 mx rspamd[18671]: <bmr7it>; lua; [string "l...]:77: using default redis server for module antivirus | |
Nov 19 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@mx (master) /etc/rspamd/local.d # cat statistic.conf | |
classifier "bayes" { | |
tokenizer { | |
name = "osb"; | |
} | |
min_tokens = 11; | |
backend = "redis"; | |
languages_enabled = true; | |
min_learns = 200; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Redis statistics | |
---------------- | |
From version 1.1, it is also possible to specify Redis as a backend for | |
statistics and cache of learned messages. Redis is recommended for clustered | |
configurations as it allows simultaneous learn and checks and, besides, is | |
very fast. To setup Redis, you could use redis backend for a classifier | |
(cache is set to the same servers accordingly). | |
The following configuration is a full featured example of how you can set up |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
emerge rspamd | |
Calculating dependencies... done! | |
>>> Verifying ebuild manifests | |
>>> Emerging (1 of 1) mail-filter/rspamd-9999::gentoo | |
>>> Unpacking source... | |
Initialized empty Git repository in /misc/portage/distfiles/git3-src/vstakhov_rspamd.git/ | |
* Fetching https://github.com/vstakhov/rspamd.git ... | |
git fetch https://github.com/vstakhov/rspamd.git +HEAD:refs/git-r3/HEAD |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Performing C SOURCE FILE Test SUPPORT_WNULL_DEREFERENCE failed with the following output: | |
Change Dir: /var/tmp/portage/mail-filter/rspamd-9999/work/rspamd-9999_build/CMakeFiles/CMakeTmp | |
Run Build Command:"/usr/bin/gmake" "cmTC_f460b/fast" | |
/usr/bin/gmake -f CMakeFiles/cmTC_f460b.dir/build.make CMakeFiles/cmTC_f460b.dir/build | |
gmake[1]: Entering directory '/var/tmp/portage/mail-filter/rspamd-9999/work/rspamd-9999_build/CMakeFiles/CMakeTmp' | |
Building C object CMakeFiles/cmTC_f460b.dir/src.c.o | |
/usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -O2 -pipe -ggdb -ggdb -ggdb -ggdb -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -pthread -pthread -pthread -DSUPPORT_WNULL_DEREFERENCE -Wnull-dereference -o CMakeFiles/cmTC_f460b.dir/src.c.o -c /var/tmp/portage/mail-filter/rspamd-9999/work/rspamd-9999_build/CMakeFiles/CMakeTmp/src.c | |
x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-Wnull-dereference' | |
CMakeFiles/cmTC_f460b.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_f460b.dir/src.c.o' failed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Scan statistics: | |
Total messages scanned: 196 100% | |
------------------------------------------------------------------------------ | |
No action: 174 88.78% | |
Greylist: 0 0.00% | |
Add header: 8 4.08% | |
Subject: 0 0.00% | |
Soft reject: 9 4.59% | |
Reject: 5 2.55% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Rspamd WebUI | |
rewrite ^(/save.+)$ /rspamd$1 last; | |
location /rspamd/ { | |
add_header Strict-Transport-Security "max-age=31536000; includeSubdomains"; | |
add_header X-Content-Type-Options nosniff; | |
add_header X-Frame-Options SAMEORIGIN; | |
add_header X-XSS-Protection "1; mode=block"; | |
proxy_pass http://rspamd.controller.ip:11334/; | |
proxy_redirect http://rspamd.controller.ip:11334/ default; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Classification: | |
--------------- | |
[x] Crash/Hang/Data loss | |
[ ] UI/Usability | |
[ ] Serious bug | |
[ ] Other bug | |
[ ] Feature | |
[ ] Enhancement |
OlderNewer