forked from trusteddomainproject/OpenDMARC
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Address reopened issue trusteddomainproject#158: Allow for quotes whe…
…n parsing Received-SPF.
- Loading branch information
Murray S. Kucherawy
committed
Apr 11, 2021
1 parent
4269fd5
commit d72e1ec
Showing
2 changed files
with
22 additions
and
10 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 |
---|---|---|
|
@@ -46,7 +46,7 @@ end | |
|
||
-- send headers | ||
-- mt.rcptto() is called implicitly | ||
if mt.header(conn, "Received-SPF", "pass identity=mailfrom; [email protected]") ~= nil then | ||
if mt.header(conn, "Received-SPF", "pass identity=mailfrom; envelope-from=\"[email protected]\"") ~= nil then | ||
error("mt.header(Received-SPF) failed") | ||
end | ||
if mt.getreply(conn) ~= SMFIR_CONTINUE then | ||
|