-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
See associated `CHANGELOG.md` entry for details. --------- Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com>
- Loading branch information
1 parent
0889b0f
commit 9e81517
Showing
119 changed files
with
353 additions
and
453 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
9 changes: 1 addition & 8 deletions
9
...est-files/email-templates/amavis-spam.txt → test/files/emails/amavis/spam.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,6 @@ | ||
HELO mail.external.tld | ||
MAIL FROM: spam@external.tld | ||
RCPT TO: user1@localhost.localdomain | ||
DATA | ||
From: Docker Mail Server <dockermailserver@external.tld> | ||
To: Existing Local User <user1@localhost.localdomain> | ||
Date: Sat, 22 May 2010 07:43:25 -0400 | ||
Subject: Test Message amavis-spam.txt | ||
Subject: Test Message amavis/spam.txt | ||
This is a test mail. | ||
XJS*C4JDBQADN1.NSBN3*2IDNEN*GTUBE-STANDARD-ANTI-UBE-TEST-EMAIL*C.34X | ||
|
||
. | ||
QUIT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 0 additions & 9 deletions
9
...es/auth/added-smtp-auth-spoofed-alias.txt → ...ls/auth/added-smtp-auth-spoofed-alias.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,5 @@ | ||
EHLO mail | ||
AUTH LOGIN dXNlcjFAbG9jYWxob3N0LmxvY2FsZG9tYWlu | ||
bXlwYXNzd29yZA== | ||
MAIL FROM: alias1@localhost.localdomain | ||
RCPT TO: user1@localhost.localdomain | ||
DATA | ||
From: user1_alias <alias1@localhost.localdomain> | ||
To: Existing Local User <user1@localhost.localdomain> | ||
Date: Sat, 22 May 2010 07:43:25 -0400 | ||
Subject: Test Message | ||
This is a test mail. | ||
|
||
. | ||
QUIT |
9 changes: 0 additions & 9 deletions
9
...st-files/auth/added-smtp-auth-spoofed.txt → ...s/emails/auth/added-smtp-auth-spoofed.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,5 @@ | ||
EHLO mail | ||
AUTH LOGIN YWRkZWRAbG9jYWxob3N0LmxvY2FsZG9tYWlu | ||
bXlwYXNzd29yZA== | ||
MAIL FROM: user2@localhost.localdomain | ||
RCPT TO: user1@localhost.localdomain | ||
DATA | ||
From: Not_My_Business <user2@localhost.localdomain> | ||
To: Existing Local User <user1@localhost.localdomain> | ||
Date: Sat, 22 May 2010 07:43:25 -0400 | ||
Subject: Test Message | ||
This is a test mail. | ||
|
||
. | ||
QUIT |
10 changes: 0 additions & 10 deletions
10
...les/auth/ldap-smtp-auth-spoofed-alias.txt → ...ils/auth/ldap-smtp-auth-spoofed-alias.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,5 @@ | ||
EHLO mail | ||
AUTH LOGIN | ||
c29tZS51c2VyQGxvY2FsaG9zdC5sb2NhbGRvbWFpbg== | ||
c2VjcmV0 | ||
MAIL FROM: postmaster@localhost.localdomain | ||
RCPT TO: some.user@localhost.localdomain | ||
DATA | ||
From: alias_address <postmaster@localhost.localdomain> | ||
To: Existing Local User <some.user@localhost.localdomain> | ||
Date: Sat, 22 May 2010 07:43:25 -0400 | ||
Subject: Test Message | ||
This is a test mail from ldap-smtp-auth-spoofed-alias.txt | ||
|
||
. | ||
QUIT |
10 changes: 0 additions & 10 deletions
10
...-spoofed-sender-with-filter-exception.txt → ...-spoofed-sender-with-filter-exception.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,5 @@ | ||
EHLO mail | ||
AUTH LOGIN | ||
c29tZS51c2VyLmVtYWlsQGxvY2FsaG9zdC5sb2NhbGRvbWFpbgo= | ||
c2VjcmV0 | ||
MAIL FROM: randomspoofedaddress@localhost.localdomain | ||
RCPT TO: some.user@localhost.localdomain | ||
DATA | ||
From: spoofed_address <randomspoofedaddress@localhost.localdomain> | ||
To: Existing Local User <some.user@localhost.localdomain> | ||
Date: Sat, 22 May 2010 07:43:25 -0400 | ||
Subject: Test Message | ||
This is a test mail from ldap-smtp-auth-spoofed-sender-with-filter-exception.txt | ||
|
||
. | ||
QUIT |
10 changes: 0 additions & 10 deletions
10
...est-files/auth/ldap-smtp-auth-spoofed.txt → ...es/emails/auth/ldap-smtp-auth-spoofed.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,5 @@ | ||
EHLO mail | ||
AUTH LOGIN | ||
c29tZS51c2VyQGxvY2FsaG9zdC5sb2NhbGRvbWFpbg== | ||
c2VjcmV0 | ||
MAIL FROM: ldap@localhost.localdomain | ||
RCPT TO: user1@localhost.localdomain | ||
DATA | ||
From: forged_address <ldap@localhost.localdomain> | ||
To: Existing Local User <user1@localhost.localdomain> | ||
Date: Sat, 22 May 2010 07:43:25 -0400 | ||
Subject: Test Message | ||
This is a test mail. | ||
|
||
. | ||
QUIT |
7 changes: 0 additions & 7 deletions
7
...-files/email-templates/existing-added.txt → test/files/emails/existing/added.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,5 @@ | ||
HELO mail.external.tld | ||
MAIL FROM: user@external.tld | ||
RCPT TO: added@localhost.localdomain | ||
DATA | ||
From: Docker Mail Server <dockermailserver@external.tld> | ||
To: Existing Local User <added@localhost.localdomain> | ||
Date: Sat, 22 May 2010 07:43:25 -0400 | ||
Subject: Test Message existing-added.txt | ||
This is a test mail. | ||
|
||
. | ||
QUIT |
7 changes: 0 additions & 7 deletions
7
...ail-templates/existing-alias-external.txt → .../files/emails/existing/alias-external.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,5 @@ | ||
HELO mail.external.tld | ||
MAIL FROM: user@external.tld | ||
RCPT TO: alias1@localhost.localdomain | ||
DATA | ||
From: Docker Mail Server <dockermailserver@external.tld> | ||
To: Existing Local User <alias1@localhost.localdomain> | ||
Date: Sat, 22 May 2010 07:43:25 -0400 | ||
Subject: Test Message existing-alias-external.txt | ||
This is a test mail. | ||
|
||
. | ||
QUIT |
7 changes: 0 additions & 7 deletions
7
.../email-templates/existing-alias-local.txt → test/files/emails/existing/alias-local.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,5 @@ | ||
HELO mail.external.tld | ||
MAIL FROM: user@external.tld | ||
RCPT TO: alias2@localhost.localdomain | ||
DATA | ||
From: Docker Mail Server <dockermailserver@external.tld> | ||
To: Existing Local Alias <alias2@localhost.localdomain> | ||
Date: Sat, 22 May 2010 07:43:25 -0400 | ||
Subject: Test Message existing-alias-local.txt | ||
This is a test mail. | ||
|
||
. | ||
QUIT |
7 changes: 0 additions & 7 deletions
7
...es/existing-alias-recipient-delimiter.txt → ...ls/existing/alias-recipient-delimiter.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,5 @@ | ||
HELO mail.external.tld | ||
MAIL FROM: user@external.tld | ||
RCPT TO: alias1~test@localhost.localdomain | ||
DATA | ||
From: Docker Mail Server <dockermailserver@external.tld> | ||
To: Existing Local Alias With Delimiter <alias1+test@localhost.localdomain> | ||
Date: Sat, 22 May 2010 07:43:25 -0400 | ||
Subject: Test Message existing-alias-recipient-delimiter.txt | ||
This is a test mail. | ||
|
||
. | ||
QUIT |
7 changes: 0 additions & 7 deletions
7
...ail-templates/existing-catchall-local.txt → .../files/emails/existing/catchall-local.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,5 @@ | ||
HELO mail.external.tld | ||
MAIL FROM: user@external.tld | ||
RCPT TO: wildcard@localdomain2.com | ||
DATA | ||
From: Docker Mail Server <dockermailserver@external.tld> | ||
To: Existing Local User <wildcard@localdomain2.com> | ||
Date: Sat, 22 May 2010 07:43:25 -0400 | ||
Subject: Test Message existing-catchall-local.txt | ||
This is a test mail. | ||
|
||
. | ||
QUIT |
7 changes: 0 additions & 7 deletions
7
...plates/existing-regexp-alias-external.txt → ...emails/existing/regexp-alias-external.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,5 @@ | ||
HELO mail.external.tld | ||
MAIL FROM: user@external.tld | ||
RCPT TO: bounce-always@localhost.localdomain | ||
DATA | ||
From: Docker Mail Server <dockermailserver@external.tld> | ||
To: Existing Local User <bounce-always@localhost.localdomain> | ||
Date: Sat, 22 May 2010 07:43:25 -0400 | ||
Subject: Test Message existing-regexp-alias-external.txt | ||
This is a test mail. | ||
|
||
. | ||
QUIT |
7 changes: 0 additions & 7 deletions
7
...templates/existing-regexp-alias-local.txt → ...es/emails/existing/regexp-alias-local.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,5 @@ | ||
HELO mail.external.tld | ||
MAIL FROM: user@external.tld | ||
RCPT TO: test123@localhost.localdomain | ||
DATA | ||
From: Docker Mail Server <dockermailserver@external.tld> | ||
To: Existing Local User <test123@localhost.localdomain> | ||
Date: Sat, 22 May 2010 07:43:25 -0400 | ||
Subject: Test Message existing-regexp-alias-local.txt | ||
This is a test mail. | ||
|
||
. | ||
QUIT |
7 changes: 0 additions & 7 deletions
7
...ates/existing-user-and-cc-local-alias.txt → ...ails/existing/user-and-cc-local-alias.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,6 @@ | ||
HELO mail.external.tld | ||
MAIL FROM: user@external.tld | ||
RCPT TO: user1@localhost.localdomain | ||
DATA | ||
From: Docker Mail Server <dockermailserver@external.tld> | ||
To: Existing Local User <user1@localhost.localdomain> | ||
Cc: Existing Local Alias <alias2@localhost.localdomain> | ||
Date: Sat, 22 May 2010 07:43:25 -0400 | ||
Subject: Test Message existing-user-and-cc-local-alias.txt | ||
This is a test mail. | ||
|
||
. | ||
QUIT |
7 changes: 0 additions & 7 deletions
7
...-files/email-templates/existing-user1.txt → test/files/emails/existing/user1.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,5 @@ | ||
HELO mail.external.tld | ||
MAIL FROM: user@external.tld | ||
RCPT TO: user1@localhost.localdomain | ||
DATA | ||
From: Docker Mail Server <dockermailserver@external.tld> | ||
To: Existing Local User <user1@localhost.localdomain> | ||
Date: Sat, 22 May 2010 07:43:25 -0400 | ||
Subject: Test Message existing-user1.txt | ||
This is a test mail. | ||
|
||
. | ||
QUIT |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
7 changes: 0 additions & 7 deletions
7
...les/email-templates/non-existing-user.txt → test/files/emails/non-existing-user.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,5 @@ | ||
HELO mail.external.tld | ||
MAIL FROM: user@external.tld | ||
RCPT TO: nouser@localhost.localdomain | ||
DATA | ||
From: Docker Mail Server <dockermailserver@external.tld> | ||
To: Existing Local User <user1@localhost.localdomain> | ||
Date: Sat, 22 May 2010 07:43:25 -0400 | ||
Subject: Test Message non-existing-user.txt | ||
This is a test mail. | ||
|
||
. | ||
QUIT |
7 changes: 0 additions & 7 deletions
7
test/test-files/email-templates/postgrey.txt → test/files/emails/postgrey.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,5 @@ | ||
HELO mail.external.tld | ||
MAIL FROM: user@external.tld | ||
RCPT TO: user1@localhost.localdomain | ||
DATA | ||
From: Docker Mail Server <dockermailserver@external.tld> | ||
To: Existing Local User <user1@localhost.localdomain> | ||
Date: Sat, 22 May 2010 07:43:25 -0400 | ||
Subject: Postgrey Test Message | ||
This is a test mail. | ||
|
||
. | ||
QUIT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
From: Docker Mail Server <user@external.tld> | ||
To: Existing Local User <user1@localhost.localdomain> | ||
Date: Sat, 22 May 2010 07:43:25 -0400 | ||
Subject: Test Message postscreen.txt | ||
This is a test mail for postscreen. |
9 changes: 0 additions & 9 deletions
9
...es/email-templates/send-privacy-email.txt → test/files/emails/privacy.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,6 @@ | ||
EHLO mail | ||
AUTH LOGIN dXNlcjFAbG9jYWxob3N0LmxvY2FsZG9tYWlu | ||
bXlwYXNzd29yZA== | ||
mail from: <user1@localhost.localdomain> | ||
rcpt to: <user1@localhost.localdomain> | ||
data | ||
From: Some User <user1@localhost.localdomain> | ||
To: Some User <user1@localhost.localdomain> | ||
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) | ||
Gecko/20100101 Thunderbird/52.2.1 | ||
Subject: Test ESMTP Auth LOGIN and remove privacy | ||
This is a test mail. | ||
|
||
. | ||
QUIT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 1 addition & 8 deletions
9
...est-files/email-templates/rspamd-pass.txt → test/files/emails/rspamd/pass.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,5 @@ | ||
HELO mail.external.tld | ||
MAIL FROM: pass@example.test | ||
RCPT TO: user1@localhost.localdomain | ||
DATA | ||
From: Docker Mail Server <pass@example.test> | ||
To: Existing Local User <user1@localhost.localdomain> | ||
Date: Sat, 22 May 2010 07:43:25 -0400 | ||
Subject: Test Message rspamd-pass.txt | ||
Subject: Test Message rspamd/pass.txt | ||
This mail should pass and Rspamd should not mark it. | ||
|
||
. | ||
QUIT |
7 changes: 0 additions & 7 deletions
7
...es/email-templates/rspamd-spam-header.txt → test/files/emails/rspamd/spam-header.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,5 @@ | ||
HELO mail.example.test | ||
MAIL FROM: spam-header@example.test | ||
RCPT TO: user1@localhost.localdomain | ||
DATA | ||
From: Docker Mail Server <spam-header@example.test> | ||
To: Existing Local User <user1@localhost.localdomain> | ||
Date: Sat, 21 Jan 2023 11:11:11 +0000 | ||
Subject: Test Message rspamd-spam-header.txt | ||
YJS*C4JDBQADN1.NSBN3*2IDNEN*GTUBE-STANDARD-ANTI-UBE-TEST-EMAIL*C.34X | ||
|
||
. | ||
QUIT |
7 changes: 0 additions & 7 deletions
7
...est-files/email-templates/rspamd-spam.txt → test/files/emails/rspamd/spam.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,5 @@ | ||
HELO mail.example.test | ||
MAIL FROM: spam@example.test | ||
RCPT TO: user1@localhost.localdomain | ||
DATA | ||
From: Docker Mail Server <spam@example.test> | ||
To: Existing Local User <user1@localhost.localdomain> | ||
Date: Sat, 21 Jan 2023 11:11:11 +0000 | ||
Subject: Test Message rspamd-spam.txt | ||
XJS*C4JDBQADN1.NSBN3*2IDNEN*GTUBE-STANDARD-ANTI-UBE-TEST-EMAIL*C.34X | ||
|
||
. | ||
QUIT |
7 changes: 0 additions & 7 deletions
7
...st-files/email-templates/rspamd-virus.txt → test/files/emails/rspamd/virus.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,5 @@ | ||
HELO mail.example.test | ||
MAIL FROM: virus@example.test | ||
RCPT TO: user1@localhost.localdomain | ||
DATA | ||
From: Docker Mail Server <virus@example.test> | ||
To: Existing Local User <user1@localhost.localdomain> | ||
Date: Sat, 21 Jan 2023 11:11:11 +0000 | ||
Subject: Test Message rspamd-virus.txt | ||
X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H* | ||
|
||
. | ||
QUIT |
File renamed without changes.
Oops, something went wrong.