git://git.exim.org
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
693ff30
)
Bugzilla #502
author
Tom Kistner
<tom@duncanthrax.net>
Thu, 17 May 2007 19:55:10 +0000
(19:55 +0000)
committer
Tom Kistner
<tom@duncanthrax.net>
Thu, 17 May 2007 19:55:10 +0000
(19:55 +0000)
src/src/spf.c
patch
|
blob
|
history
diff --git
a/src/src/spf.c
b/src/src/spf.c
index 48150eb01ba0ccf880c0ab7172e72fffecab9661..0d2316e2e88064ce2f284dc532e4e5c3e7e29288 100644
(file)
--- a/
src/src/spf.c
+++ b/
src/src/spf.c
@@
-1,4
+1,4
@@
-/* $Cambridge: exim/src/src/spf.c,v 1.
6 2005/06/27 15:28:45
tom Exp $ */
+/* $Cambridge: exim/src/src/spf.c,v 1.
7 2007/05/17 19:55:10
tom Exp $ */
/*************************************************
* Exim - an Internet mail transport agent *
/*************************************************
* Exim - an Internet mail transport agent *
@@
-43,6
+43,12
@@
int spf_init(uschar *spf_helo_domain, uschar *spf_remote_addr) {
return 0;
}
return 0;
}
+ if (SPF_server_set_rec_dom(spf_server, primary_hostname)) {
+ debug_printf("spf: SPF_server_set_rec_dom() failed.\n");
+ spf_server = NULL;
+ return 0;
+ }
+
spf_request = SPF_request_new(spf_server);
if (SPF_request_set_ipv4_str(spf_request, spf_remote_addr)) {
spf_request = SPF_request_new(spf_server);
if (SPF_request_set_ipv4_str(spf_request, spf_remote_addr)) {