Fix NO_SPACE_IN_FROM spam tag detection logic (fixes #2372)
This commit is contained in:
@@ -132,6 +132,14 @@ expect NO_SPACE_IN_FROM FROM_EQ_ENV_FROM FROM_HAS_DN
|
||||
|
||||
From: "Hello"<hello@domain.org>
|
||||
|
||||
Test
|
||||
<!-- NEXT TEST -->
|
||||
envelope_from hello@domain.org
|
||||
expect FROM_EQ_ENV_FROM FROM_HAS_DN
|
||||
|
||||
From: "Hello"
|
||||
<hello@domain.org>
|
||||
|
||||
Test
|
||||
<!-- NEXT TEST -->
|
||||
envelope_from hello@domain.org
|
||||
|
||||
@@ -78,8 +78,9 @@ category = 0
|
||||
confidence = 1
|
||||
explanation = 2
|
||||
|
||||
[spam-filter.reputation]
|
||||
enable = true
|
||||
[spam-filter.classifier.samples]
|
||||
min-ham = 10
|
||||
min-spam = 10
|
||||
|
||||
[session.rcpt]
|
||||
relay = true
|
||||
|
||||
Reference in New Issue
Block a user