-
-
Notifications
You must be signed in to change notification settings - Fork 266
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve SPOOF_DISPLAY_NAME detection (fixes #982)
- Loading branch information
Showing
2 changed files
with
49 additions
and
12 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -178,3 +178,24 @@ expect FROMHOST_NORES_A_OR_MX FROM_EQ_ENVFROM FROM_NO_DN | |
From: [email protected] | ||
|
||
Test | ||
<!-- NEXT TEST --> | ||
envelope_from [email protected] | ||
expect SPOOF_DISPLAY_NAME FROM_HAS_DN FROM_EQ_ENVFROM | ||
|
||
From: "Foo ([email protected])" <[email protected]> | ||
|
||
Test | ||
<!-- NEXT TEST --> | ||
envelope_from [email protected] | ||
expect SPOOF_DISPLAY_NAME FROM_HAS_DN FROM_EQ_ENVFROM | ||
|
||
From: "Foo [email protected]" <[email protected]> | ||
|
||
Test | ||
<!-- NEXT TEST --> | ||
envelope_from [email protected] | ||
expect SPOOF_DISPLAY_NAME FROM_HAS_DN FROM_EQ_ENVFROM | ||
|
||
From: "Foo '[email protected]'" <[email protected]> | ||
|
||
Test |