Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Helmo
ISPConfig 3
Commits
3fe4e0c9
Commit
3fe4e0c9
authored
Feb 24, 2021
by
Florian Schaal
Browse files
Merge branch 'develop' of git.ispconfig.org:ispconfig/ispconfig3 into develop
parents
a7382a30
d0d54151
Changes
3
Hide whitespace changes
Inline
Side-by-side
install/tpl/rspamd_milter_headers.conf.master
View file @
3fe4e0c9
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;
}
}
server/conf/autoresponder.master
View file @
3fe4e0c9
...
...
@@ -4,7 +4,7 @@ if ($RETURNCODE==1)
{
if (!/^List-Unsubscribe:.*/:h )
{
if (!/^(X-Spam-Flag: YES|X-Spam: Yes|
Subject: \*\*\*\s*SPAM\s*\*\*\*.*
)/: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)
...
...
@@ -20,4 +20,4 @@ if ($RETURNCODE==1)
}
}
}
}
\ No newline at end of file
}
server/conf/sieve_filter.master
View file @
3fe4e0c9
...
...
@@ -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", header :contains "subject" "*** SPAM ***", header :contains "subject" "***SPAM***
") {
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", header :contains "subject" "*** SPAM ***", header :contains "subject" "***SPAM***
") {
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", header :contains "subject" "*** SPAM ***", header :contains "subject" "***SPAM***
") {
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;
}
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment