aboutsummaryrefslogtreecommitdiffstats
path: root/conf/modules.d
diff options
context:
space:
mode:
Diffstat (limited to 'conf/modules.d')
-rw-r--r--conf/modules.d/gpt.conf6
-rw-r--r--conf/modules.d/ratelimit.conf4
-rw-r--r--conf/modules.d/rbl.conf22
3 files changed, 25 insertions, 7 deletions
diff --git a/conf/modules.d/gpt.conf b/conf/modules.d/gpt.conf
index 7a2e11d40..c76a08c92 100644
--- a/conf/modules.d/gpt.conf
+++ b/conf/modules.d/gpt.conf
@@ -18,13 +18,11 @@ gpt {
# Your key to access the API (add this to enable this plugin)
#api_key = "xxx";
# Model name
- model = "gpt-3.5-turbo";
+ model = "gpt-4o-mini";
# Maximum tokens to generate
max_tokens = 1000;
# Temperature for sampling
- temperature = 0.7;
- # Top p for sampling
- top_p = 0.9;
+ temperature = 0.0;
# Timeout for requests
timeout = 10s;
# Prompt for the model (use default if not set)
diff --git a/conf/modules.d/ratelimit.conf b/conf/modules.d/ratelimit.conf
index d1a91d3d0..e5df5be68 100644
--- a/conf/modules.d/ratelimit.conf
+++ b/conf/modules.d/ratelimit.conf
@@ -18,7 +18,7 @@ ratelimit {
#to = {
# bucket = {
# burst = 100;
- # rate = 0.01666666666666666666; # leak 1 message per minute
+ # rate = 0.01666666666666666666; # 1 message per minute
# }
#}
# or define it with selector
@@ -26,7 +26,7 @@ ratelimit {
# selector = 'rcpts:addr.take_n(5)';
# bucket = {
# burst = 100;
- # rate = "1 / 1m"; # leak 1 message per minute
+ # rate = "1 / 1m"; # 1 message per minute
# }
#}
#}
diff --git a/conf/modules.d/rbl.conf b/conf/modules.d/rbl.conf
index c3594dbc9..d8db05ecc 100644
--- a/conf/modules.d/rbl.conf
+++ b/conf/modules.d/rbl.conf
@@ -79,9 +79,29 @@ rbl {
}
senderscore {
- symbol = "RBL_SENDERSCORE";
+ symbol = "RBL_SENDERSCORE_UNKNOWN";
checks = ['from'];
rbl = "bl.score.senderscore.com";
+ returncodes {
+ RBL_SENDERSCORE_BOT = "127.0.0.1";
+ RBL_SENDERSCORE_NA = "127.0.0.2";
+ RBL_SENDERSCORE_NA_BOT = "127.0.0.3";
+ RBL_SENDERSCORE_PRST = "127.0.0.4";
+ RBL_SENDERSCORE_PRST_BOT = "127.0.0.5";
+ RBL_SENDERSCORE_PRST_NA = "127.0.0.6";
+ RBL_SENDERSCORE_PRST_NA_BOT = "127.0.0.7";
+ RBL_SENDERSCORE_SUS_ATT = "127.0.0.8";
+ RBL_SENDERSCORE_SUS_ATT_NA = "127.0.0.10";
+ RBL_SENDERSCORE_SUS_ATT_NA_BOT = "127.0.0.11";
+ RBL_SENDERSCORE_SUS_ATT_PRST_NA = "127.0.0.14";
+ RBL_SENDERSCORE_SUS_ATT_PRST_NA_BOT = "127.0.0.15";
+ RBL_SENDERSCORE_SCORE = "127.0.0.16";
+ RBL_SENDERSCORE_SCORE_NA = "127.0.0.18";
+ RBL_SENDERSCORE_SCORE_PRST = "127.0.0.20";
+ RBL_SENDERSCORE_SCORE_PRST_NA = "127.0.0.22";
+ RBL_SENDERSCORE_SCORE_SUS_ATT_NA = "127.0.0.26";
+ RBL_SENDERSCORE_BLOCKED = "127.255.255.255";
+ }
}
sem {