Add spamtrap for redxen domain
This commit is contained in:
parent
f85cb9dad2
commit
915b65e72a
@ -5,8 +5,8 @@ _configpath="/etc/rspamd/redxen"
|
||||
|
||||
. ../APKBUILD-config.common
|
||||
|
||||
pkgver=2021.03.09
|
||||
pkgrel=0
|
||||
pkgver=2021.03.17
|
||||
pkgrel=1
|
||||
_baseconf="
|
||||
rspamd.conf
|
||||
composites.conf
|
||||
@ -14,6 +14,7 @@ _baseconf="
|
||||
logging.conf
|
||||
statistic.conf
|
||||
workers.conf
|
||||
spamtrap.map
|
||||
"
|
||||
source="$_baseconf"
|
||||
depends="rspamd-fuzzy"
|
||||
@ -30,6 +31,7 @@ _modules="
|
||||
ratelimit
|
||||
rbl
|
||||
redis
|
||||
spamtrap
|
||||
spf
|
||||
"
|
||||
|
||||
@ -50,6 +52,7 @@ _module() {
|
||||
}
|
||||
|
||||
sha512sums="99985993e5d7c525280020e7dc30106b3efbaa8ae2830a5069ad4270a8336d33efca74ed26103e1d2f5f341a0cffc4e0f77a2757fdeab27e3b492aa99ae7f977 spf.conf
|
||||
96bb78e91c29a9d0e120e18b00ffe2a4d4b613b24e7da02f43994b1d150da00875339feda963f6e87c16002a6fc44e99462bde0070fec3026a2e2c7079be8ccc spamtrap.conf
|
||||
d42a74d17771497960477878eedda2a00a434cbc1e994b015c21b4f631e24836cb6a7b14a24a2cb42ed15425b7758dc307a6cf602a770cfb0cc20b6f90064af9 redis.conf
|
||||
a3849ae55a68c90afd913ed18f6b210803f5dbaa2beab5abf23a84b9b4bcb48e617023123724222c1f74a005bf03e1c94e3fa1ded5a6f252d9c2ac317dabc1a2 rbl.conf
|
||||
a753d136a21206cdc28a1554a38f51ad55e2eec842a31dbe1d151198bb8d9bb090e0f49b6b50cbc44e5011efb2ebeb2d2657a54df2f1a0c89ce3134fbd55220c ratelimit.conf
|
||||
@ -67,4 +70,5 @@ dcec5c53bd29c345ed5c47727af9a8d11328cc8f69ae61064ba3b053ee306baa79b747067097b235
|
||||
5f193596d1d9827b194a2ea4a9b06b729450ca7e77e8049ad9c53be99b5e28fc95fd69a2c4b639691bacd6aef099f8c69ee364f1ecd902f256f64c25ad9d3374 groups.conf
|
||||
78df39cbc6e09cdc5e01d27e123d82aa677a70a6f5d59ba0be8d0ce6af012c5311e4a2527e4fbc586f9cdd8da033e9f05e2371970fa23db60eaa8c16c8e85f05 logging.conf
|
||||
da374e2af4c413e911ab4dbcaa516c491dd8d0785435736c6f577a0900e3dd83e8a28f8ef3f16230808ab64c0d6dea883e737352a556ecc91daaf5ab3ac5901e statistic.conf
|
||||
d2b081a91d14eab3bb60544a802e4778c4f977ee2db3b9cd0e475f74d7d7860960e17fdaea0ceb962a8bb84785e73b47db36b490a8f8400fa6cff287d4a0b588 workers.conf"
|
||||
d2b081a91d14eab3bb60544a802e4778c4f977ee2db3b9cd0e475f74d7d7860960e17fdaea0ceb962a8bb84785e73b47db36b490a8f8400fa6cff287d4a0b588 workers.conf
|
||||
2adbbed7442b2efad0c78aa735e562da68c992114b8b1b12258d39234cda66d198dddeaa5246f0b897b6174fc7b52430fada1bd1cd5870142b72d935c4f6e12f spamtrap.map"
|
||||
|
13
config/rspamd/modules/spamtrap.conf
Normal file
13
config/rspamd/modules/spamtrap.conf
Normal file
@ -0,0 +1,13 @@
|
||||
spamtrap {
|
||||
enabled = true;
|
||||
action = "reject";
|
||||
map = file://$CONFDIR/redxen/spamtrap.map;
|
||||
symbol = "SPAMTRAP";
|
||||
score = 1.0;
|
||||
learn_fuzzy = true;
|
||||
learn_spam = true;
|
||||
fuzzy_flag = 1;
|
||||
fuzzy_weight = 10.0;
|
||||
check_authed = false;
|
||||
check_local = false;
|
||||
}
|
1
config/rspamd/spamtrap.map
Normal file
1
config/rspamd/spamtrap.map
Normal file
@ -0,0 +1 @@
|
||||
/^honeypot@redxen\.eu$/
|
Loading…
Reference in New Issue
Block a user