Initial commit on Forgejo
Fresh repository history for elektrine/elektrine-haraka hosted at https://git.elektrine.com/elektrine/elektrine-haraka.
This commit is contained in:
commit
67c1d41a0c
82 changed files with 8713 additions and 0 deletions
36
config/karma.ini
Normal file
36
config/karma.ini
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
[redis]
|
||||
host=redis
|
||||
port=6379
|
||||
|
||||
[awards]
|
||||
# Award points for passing checks
|
||||
spf_pass=1
|
||||
dkim_pass=2
|
||||
fcrdns_pass=1
|
||||
asn_all_good=1
|
||||
|
||||
[penalties]
|
||||
# Penalize bad behavior
|
||||
spf_fail=-5
|
||||
dkim_fail=-3
|
||||
fcrdns_fail=-1
|
||||
# Heavy penalty for rapid connections
|
||||
tarpit=-1
|
||||
relaying=-10
|
||||
|
||||
[concurrency]
|
||||
# Limit concurrent connections per IP
|
||||
max=5
|
||||
|
||||
[disconnect]
|
||||
# Disconnect when karma score drops below threshold
|
||||
karma=-8
|
||||
|
||||
[limits]
|
||||
# Limit messages per connection
|
||||
message_max=10
|
||||
|
||||
[tarpit]
|
||||
# Delay in seconds for IPs with negative karma
|
||||
delay=5
|
||||
max=15
|
||||
Loading…
Add table
Add a link
Reference in a new issue