Update README.md
This commit is contained in:
		
							
								
								
									
										23
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										23
									
								
								README.md
									
									
									
									
									
								
							| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user