artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a89c8ae
)
Add support for 'a:' and 'exists:' mechanisms.
author
okan
<okan@openbsd.org>
Mon, 22 Jan 2018 20:56:47 +0000
(20:56 +0000)
committer
okan
<okan@openbsd.org>
Mon, 22 Jan 2018 20:56:47 +0000
(20:56 +0000)
ok gilles@
usr.sbin/smtpd/spfwalk.c
patch
|
blob
|
history
diff --git
a/usr.sbin/smtpd/spfwalk.c
b/usr.sbin/smtpd/spfwalk.c
index
cab0530
..
1e3ff8f
100644
(file)
--- a/
usr.sbin/smtpd/spfwalk.c
+++ b/
usr.sbin/smtpd/spfwalk.c
@@
-186,6
+186,14
@@
dispatch_txt(struct dns_rr *rr)
printf("%s\n", *(ap) + 5);
continue;
}
+ if (strncasecmp("a:", *ap, 2) == 0) {
+ lookup_record(T_A, *(ap) + 2, dispatch_a);
+ continue;
+ }
+ if (strncasecmp("exists:", *ap, 7) == 0) {
+ lookup_record(T_A, *(ap) + 7, dispatch_a);
+ continue;
+ }
if (strncasecmp("include:", *ap, 8) == 0) {
lookup_record(T_TXT, *(ap) + 8, dispatch_txt);
continue;