Update README.md

This commit is contained in:
lolcat 2025-07-17 01:48:36 +00:00
parent 2f966d5355
commit c16d7c2038
1 changed files with 1 additions and 22 deletions

View File

@ -180,28 +180,7 @@ test
```
# Additional configuration
`rspamd` is your spam filter. You can tweak it manually to instruct it to block specific E-Mails, depending of your situation. For example, this is what I currently use to block incessant phishing E-Mails:
File `/etc/rspamd/local.d/rules.local`
```cf
local_rules = {
from_mismatch = {
expression = "!(from:domain == smtp_from:domain)",
score = 5,
description = "From domain doesn't match SMTP envelope"
},
replyto_mismatch = {
expression = "replyto && !(replyto:domain == from:domain)",
score = 5,
description = "Reply-To domain doesn't match From domain"
},
forged_own_domain_fail_auth = {
expression = "(from:domain == 'lolcat.ca') && !(R_DKIM_ALLOW || R_SPF_ALLOW || DMARC_POLICY_ALLOW)",
score = 6.0,
description = "Email claims to be from our domain but is not properly authenticated"
}
}
```
`rspamd` is your spam filter. You can tweak it manually to instruct it to block specific E-Mails, depending of your situation.
# Screenshots
## Inbox