Gitlab Community Edition Instance
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
Ispconfig3
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gregor Thiem
Ispconfig3
Commits
1157b9b2
Commit
1157b9b2
authored
4 years ago
by
Jesse Norell
Browse files
Options
Downloads
Patches
Plain Diff
rpsamd: use x-spam-status
parent
11d53c9a
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
install/tpl/rspamd_milter_headers.conf.master
+10
-2
10 additions, 2 deletions
install/tpl/rspamd_milter_headers.conf.master
server/conf/autoresponder.master
+1
-1
1 addition, 1 deletion
server/conf/autoresponder.master
server/conf/sieve_filter.master
+3
-3
3 additions, 3 deletions
server/conf/sieve_filter.master
with
14 additions
and
6 deletions
install/tpl/rspamd_milter_headers.conf.master
+
10
−
2
View file @
1157b9b2
use = ["x-spamd-bar", "x-spam-level", "authentication-results"];
authenticated_headers = ["authentication-results"];
\ No newline at end of file
use = ["x-spamd-bar", "x-spam-level", "x-spam-status", "authentication-results"];
authenticated_headers = ["authentication-results"];
routines {
remove-headers {
"X-Spam" = 0;
"X-Spamd-Bar" = 0;
"X-Spam-Level" = 0;
"X-Spam-Status" = 0;
}
}
This diff is collapsed.
Click to expand it.
server/conf/autoresponder.master
+
1
−
1
View file @
1157b9b2
...
...
@@ -4,7 +4,7 @@ if ($RETURNCODE==1)
{
if (!/^List-Unsubscribe:.*/:h )
{
if (!/^(X-Spam-Flag: YES|X-Spam: Yes)/:h )
if (!/^(X-Spam-Flag: YES|X-Spam:
Yes|X-Spam-Status:
Yes)/:h )
{
NOW=time
if ({start_date} lt $NOW && {end_date} gt $NOW)
...
...
This diff is collapsed.
Click to expand it.
server/conf/sieve_filter.master
+
3
−
3
View file @
1157b9b2
...
...
@@ -7,7 +7,7 @@ require ["fileinto", "mailbox", "regex", "date", "relational", "vacation", "imap
<tmpl_if name="move_junk" op="==" value="y">
# Move spam to spam folder
if anyof (header :contains "X-Spam-Flag" "YES", header :contains "X-Spam" "Yes") {
if anyof (header :contains "X-Spam-Flag" "YES", header :contains
[
"X-Spam"
, "X-Spam-Status"]
"Yes") {
fileinto :create "Junk";
# Stop here so that we do not reply on spams
stop;
...
...
@@ -33,7 +33,7 @@ require ["fileinto", "mailbox", "regex", "date", "relational", "vacation", "imap
<tmpl_if name="move_junk" op="==" value="a">
# Move spam to spam folder
if anyof (header :contains "X-Spam-Flag" "YES", header :contains "X-Spam" "Yes") {
if anyof (header :contains "X-Spam-Flag" "YES", header :contains
[
"X-Spam"
, "X-Spam-Status"]
"Yes") {
fileinto :create "Junk";
# Stop here so that we do not reply on spams
stop;
...
...
@@ -46,7 +46,7 @@ if anyof (header :contains "X-Spam-Flag" "YES", header :contains "X-Spam" "Yes")
#################################################################
# Move spam to spam folder
if anyof (header :contains "X-Spam-Flag" "YES", header :contains "X-Spam" "Yes") {
if anyof (header :contains "X-Spam-Flag" "YES", header :contains
[
"X-Spam"
, "X-Spam-Status"]
"Yes") {
# Stop here so that we do not reply on spams
stop;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment