Skip to content

Commit

Permalink
Return SMFIS_TEMPFAIL when SPF evaluation has an error
Browse files Browse the repository at this point in the history
  • Loading branch information
José Borges Ferreira committed Nov 4, 2017
1 parent ba30aa5 commit df9f6f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion smf-spf.c
Original file line number Diff line number Diff line change
Expand Up @@ -801,7 +801,7 @@ static sfsistat smf_envfrom(SMFICTX *ctx, char **args) {
if (spf_request) SPF_request_free(spf_request);
if (spf_server) SPF_server_free(spf_server);
smfi_setreply(ctx, "451" , "4.4.3", reject);
return SMFIS_REJECT;
return SMFIS_TEMPFAIL;
}
if (status == SPF_RESULT_FAIL && conf.refuse_fail && !conf.tos) {
char reject[2 * MAXLINE];
Expand Down

0 comments on commit df9f6f1

Please sign in to comment.