-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
smtp: Fix bugs and add tests for a couple edge conditions.
Additional tests added: * test_smtp_msa: Ensure malformed From header is rejected. * mod_mailscript: Add RELAY test. Bug fixes, respectively: * utils.c: Reject email addresses with extraneous trailing '>' characters. * mod_mailscript: Fix bug in processing nested IF blocks and improve EXTRA_DEBUG logs. * net_smtp: Fix file descriptor leak for RELAY followed by DISCARD.
- Loading branch information
1 parent
b7d9683
commit 8ac2399
Showing
7 changed files
with
102 additions
and
14 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
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,7 @@ | ||
RULE | ||
MATCH DIRECTION OUT | ||
MATCH HEADER Subject EQUALS Relayed Message | ||
ACTION RELAY smtp://[email protected]:P@[email protected]:587 | ||
ACTION DISCARD | ||
ACTION EXIT # Stop processing all rules | ||
ENDRULE |
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