Update README.md
This commit is contained in:
parent
2f966d5355
commit
c16d7c2038
23
README.md
23
README.md
|
@ -180,28 +180,7 @@ test
|
||||||
```
|
```
|
||||||
|
|
||||||
# Additional configuration
|
# 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:
|
`rspamd` is your spam filter. You can tweak it manually to instruct it to block specific E-Mails, depending of your situation.
|
||||||
|
|
||||||
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"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
# Screenshots
|
# Screenshots
|
||||||
## Inbox
|
## Inbox
|
||||||
|
|
Loading…
Reference in New Issue