-
-
Notifications
You must be signed in to change notification settings - Fork 2k
tests: Use swaks instead of nc for sending mail
#3732
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
ff39e74
rename test/test-files -> test/files
georglauterbach 7a17b0b
rename nc_templates -> nc
georglauterbach 7474be8
create structure for emails
georglauterbach 9c76307
use swaks now instead of nc
georglauterbach 9c9b2f2
move e-mails and adjust contents slightly
georglauterbach f55de24
adjust tests to use new functions
georglauterbach 9e29a54
fixed serial tests and openssl invocations
georglauterbach 394eace
appyl PR feedback
georglauterbach 09d623f
fixup linters and smaller address errors
georglauterbach abdbd6c
Apply suggestions from code review
georglauterbach 1a65775
avoid `.txt` suffix for `_nc_wrapper`
georglauterbach 74b7d9d
add `--data <FILE>` instead of implictly using last argument
georglauterbach 070152b
switch to EHLO from HELO
georglauterbach 5212bd4
revert useless changes
georglauterbach aa0a16b
added additional asserts
georglauterbach aa6d0c5
adjust F2B test
georglauterbach 2a477bf
remove superflous auth files & shorten IMAP tests
georglauterbach 59d09ab
minor fixups & converions (_send_mail -> _nc_wrapper)
georglauterbach 6012176
final conversions for LDAP tests
georglauterbach 5b6954a
last fixups & praise be linters
georglauterbach addcbdd
tests(fix): `PERMIT_DOCKER=container` required for sending mail
polarathene f7d3def
simplify F2B test for mutiple failed logins
georglauterbach f2c4c01
remove superflous files that are easy to remove
georglauterbach 2414ee7
update CHANGELOG
georglauterbach c86c3dd
final adjustments
georglauterbach 0eecd29
Apply suggestions from code review
polarathene c1f7991
Merge branch 'master' into tests/swaks
polarathene File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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: [email protected] | ||
| RCPT TO: [email protected] | ||
| DATA | ||
| From: Docker Mail Server <[email protected]> | ||
| To: Existing Local User <[email protected]> | ||
| 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 hidden or 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,11 +1,7 @@ | ||
| HELO mail.external.tld | ||
| MAIL FROM: [email protected] | ||
|
georglauterbach marked this conversation as resolved.
|
||
| RCPT TO: [email protected] | ||
| DATA | ||
| From: Docker Mail Server <[email protected]> | ||
| To: Existing Local User <[email protected]> | ||
| Date: Sat, 22 May 2010 07:43:25 -0400 | ||
| Subject: Test Message amavis-virus.txt | ||
| Subject: Test Message amavis/virus.txt | ||
|
|
||
| Content-type: multipart/mixed; boundary="emailboundary" | ||
| MIME-version: 1.0 | ||
|
|
@@ -27,6 +23,3 @@ ACAA/4EAAAAAZWljYXIuY29tUEsFBgAAAAABAAEANwAAAGsAAAAAAA== | |
|
|
||
|
|
||
| --emailboundary-- | ||
|
|
||
| . | ||
| QUIT | ||
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 hidden or 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 | ||
|
georglauterbach marked this conversation as resolved.
|
||
| AUTH LOGIN dXNlcjFAbG9jYWxob3N0LmxvY2FsZG9tYWlu | ||
| bXlwYXNzd29yZA== | ||
| MAIL FROM: [email protected] | ||
| RCPT TO: [email protected] | ||
| DATA | ||
| From: user1_alias <[email protected]> | ||
| To: Existing Local User <[email protected]> | ||
| 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 hidden or 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: [email protected] | ||
| RCPT TO: [email protected] | ||
| DATA | ||
| From: Not_My_Business <[email protected]> | ||
| To: Existing Local User <[email protected]> | ||
| 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 hidden or 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: [email protected] | ||
| RCPT TO: [email protected] | ||
| DATA | ||
| From: alias_address <[email protected]> | ||
| To: Existing Local User <[email protected]> | ||
| 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 hidden or 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: [email protected] | ||
| RCPT TO: [email protected] | ||
| DATA | ||
| From: spoofed_address <[email protected]> | ||
| To: Existing Local User <[email protected]> | ||
| 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 hidden or 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: [email protected] | ||
| RCPT TO: [email protected] | ||
| DATA | ||
| From: forged_address <[email protected]> | ||
| To: Existing Local User <[email protected]> | ||
| 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 hidden or 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: [email protected] | ||
| RCPT TO: [email protected] | ||
| DATA | ||
| From: Docker Mail Server <[email protected]> | ||
| To: Existing Local User <[email protected]> | ||
| 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 hidden or 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: [email protected] | ||
| RCPT TO: [email protected] | ||
| DATA | ||
| From: Docker Mail Server <[email protected]> | ||
| To: Existing Local User <[email protected]> | ||
| 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 hidden or 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: [email protected] | ||
| RCPT TO: [email protected] | ||
| DATA | ||
| From: Docker Mail Server <[email protected]> | ||
| To: Existing Local Alias <[email protected]> | ||
| 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 hidden or 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: [email protected] | ||
| RCPT TO: [email protected] | ||
| DATA | ||
| From: Docker Mail Server <[email protected]> | ||
| To: Existing Local Alias With Delimiter <[email protected]> | ||
| 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 hidden or 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: [email protected] | ||
| RCPT TO: [email protected] | ||
| DATA | ||
| From: Docker Mail Server <[email protected]> | ||
| To: Existing Local User <[email protected]> | ||
| 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 hidden or 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: [email protected] | ||
| RCPT TO: [email protected] | ||
| DATA | ||
| From: Docker Mail Server <[email protected]> | ||
| To: Existing Local User <[email protected]> | ||
| 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 hidden or 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: [email protected] | ||
| RCPT TO: [email protected] | ||
| DATA | ||
| From: Docker Mail Server <[email protected]> | ||
| To: Existing Local User <[email protected]> | ||
| 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 hidden or 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: [email protected] | ||
| RCPT TO: [email protected] | ||
| DATA | ||
| From: Docker Mail Server <[email protected]> | ||
| To: Existing Local User <[email protected]> | ||
| Cc: Existing Local Alias <[email protected]> | ||
| 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 hidden or 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: [email protected] | ||
| RCPT TO: [email protected] | ||
| DATA | ||
| From: Docker Mail Server <[email protected]> | ||
| To: Existing Local User <[email protected]> | ||
| 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 hidden or 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: [email protected] | ||
| RCPT TO: [email protected] | ||
| DATA | ||
| From: Docker Mail Server <[email protected]> | ||
| To: Existing Local User <[email protected]> | ||
| 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 hidden or 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: [email protected] | ||
| RCPT TO: [email protected] | ||
| DATA | ||
| From: Docker Mail Server <[email protected]> | ||
| To: Existing Local User <[email protected]> | ||
| Date: Sat, 22 May 2010 07:43:25 -0400 | ||
| Subject: Postgrey Test Message | ||
| This is a test mail. | ||
|
georglauterbach marked this conversation as resolved.
|
||
|
|
||
| . | ||
| QUIT | ||
This file contains hidden or 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 <[email protected]> | ||
| To: Existing Local User <[email protected]> | ||
| 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 hidden or 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: <[email protected]> | ||
| rcpt to: <[email protected]> | ||
| data | ||
| From: Some User <[email protected]> | ||
| To: Some User <[email protected]> | ||
| 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 hidden or 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,7 +1,3 @@ | ||
| HELO mail.external.tld | ||
| MAIL FROM: [email protected] | ||
| RCPT TO: [email protected] | ||
| DATA | ||
| From: Docker Mail Server <[email protected]> | ||
| To: Existing Local User <[email protected]> | ||
| Date: Sat, 22 May 2010 07:43:25 -0400 | ||
|
|
@@ -20,6 +16,3 @@ Et voluptatum nobis ut odio voluptatem et quibusdam fugit ut libero sapiente vel | |
| Sit sint obcaecati et reiciendis tenetur aut dolorum culpa. Ab veritatis maxime qui necessitatibus facilis eum voluptate asperiores non totam omnis. Nam modi officia in reiciendis odit sit rerum laudantium est rerum voluptatem ut fugit cupiditate! Sit atque sint aut delectus omnis ut asperiores enim quo reprehenderit quae! In quasi nemo ut error totam ut quia harum ut commodi tenetur? Non quod dolorum eum explicabo labore vel asperiores quas est perferendis nulla eum nemo tenetur. Ut libero blanditiis ex voluptatibus repudiandae ab reiciendis nemo id debitis impedit hic quia incidunt sed quam excepturi ut magnam odit. Qui dolor deleniti aut sunt voluptas aut blanditiis distinctio nam omnis deleniti hic omnis rerum eum magni voluptatem. Nam labore facere eum molestiae dolorum ea consectetur praesentium ut cupiditate iste ad magnam aut neque maiores! Et excepturi ducimus ut nemo voluptas eum voluptas nihil hic perferendis quos vel quasi nesciunt est praesentium dolore hic quia quis. Et maxime ducimus ea cupiditate voluptatem ad quia dolores! | ||
|
|
||
| Sed quos quaerat vel aperiam minus non sapiente quia ut ratione dolore eum officiis rerum. Non dolor vitae qui facilis dignissimos aut voluptate odit et ullam consequuntur. Et laudantium perspiciatis sit nisi temporibus a temporibus itaque ut iure dolor a voluptatum mollitia eos officia nobis et quibusdam voluptas. Amet eligendi eos nulla corporis et blanditiis nihil vel eveniet veritatis et sunt perferendis id molestiae eius! Quo harum quod aut nemo autem ut adipisci sint sed quia sunt. Aut voluptas error ut quae perferendis eos adipisci internos. Nam rerum fugiat aut minima nostrum quo repellendus quas exercitationem tenetur. Et molestiae architecto id quibusdam reprehenderit et magnam aliquam! Quo tempora veritatis At dolorem sint ex nulla blanditiis At voluptas laudantium est molestiae exercitationem et sequi voluptates aut ipsa atque. Et animi ipsum aut atque recusandae ea nemo ullam non quisquam quos sit libero sint vel libero delectus. Eos labore quidem a velit obcaecati nam explicabo consequatur eos maxime blanditiis? Et ipsam molestiae non quia explicabo ex galisum repudiandae et tempora veniam. Sed optio repellendus ut consequatur temporibus et harum quas hic ipsa officia? Aut dolores ipsum sit nulla dignissimos id quia perferendis aut dolores dolor et quibusdam porro aut Quis consequatur. | ||
|
|
||
| . | ||
| QUIT | ||
9 changes: 1 addition & 8 deletions
9
...est-files/email-templates/rspamd-pass.txt → test/files/emails/rspamd/pass.txt
This file contains hidden or 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: [email protected] | ||
| RCPT TO: [email protected] | ||
| DATA | ||
| From: Docker Mail Server <[email protected]> | ||
| To: Existing Local User <[email protected]> | ||
| 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 hidden or 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: [email protected] | ||
| RCPT TO: [email protected] | ||
| DATA | ||
| From: Docker Mail Server <[email protected]> | ||
| To: Existing Local User <[email protected]> | ||
| 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 hidden or 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: [email protected] | ||
| RCPT TO: [email protected] | ||
| DATA | ||
| From: Docker Mail Server <[email protected]> | ||
| To: Existing Local User <[email protected]> | ||
| 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 hidden or 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: [email protected] | ||
| RCPT TO: [email protected] | ||
| DATA | ||
| From: Docker Mail Server <[email protected]> | ||
| To: Existing Local User <[email protected]> | ||
| 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.