X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/f73eb7e30a8a55c3934a2e5e0d0d30cf8bf44c09..53ef3d8498e76615b531f2f61604334e9884ba03:/src/src/lookups/spf.c diff --git a/src/src/lookups/spf.c b/src/src/lookups/spf.c index ef0c791cc..c84b6bbce 100644 --- a/src/src/lookups/spf.c +++ b/src/src/lookups/spf.c @@ -2,19 +2,18 @@ * Exim - an Internet mail transport agent * *************************************************/ -/* - * Exim - SPF lookup module using libspf2 - * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - * - * Copyright (c) 2005 Chris Webb, Arachsys Internet Services Ltd - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * - * Copyright (c) The Exim Maintainers 2016 - */ +/* Exim - SPF lookup module using libspf2 + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Copyright (c) 2005 Chris Webb, Arachsys Internet Services Ltd + +This program is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License +as published by the Free Software Foundation; either version 2 +of the License, or (at your option) any later version. + +Copyright (c) The Exim Maintainers 2020 +*/ #include "../exim.h" @@ -111,6 +110,9 @@ if (SPF_request_set_env_from(spf_request, CS keystring)) SPF_request_query_mailfrom(spf_request, &spf_response); *result = string_copy(US SPF_strresult(SPF_response_result(spf_response))); + +DEBUG(D_lookup) spf_response_debug(spf_response); + SPF_response_free(spf_response); SPF_request_free(spf_request); return OK;