Mercurial > dnsbl
comparison src/context.h @ 473:5209e92b4885
opendkim headers changed, pass smtp verify 4xy codes back to sender
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Sat, 20 Feb 2021 09:46:29 -0800 |
parents | 428de28b34b7 |
children |
comparison
equal
deleted
inserted
replaced
472:86a61ed64baf | 473:5209e92b4885 |
---|---|
1 /* | 1 /* |
2 | 2 |
3 Copyright (c) 2007 Carl Byington - 510 Software Group, released under | 3 Copyright (c) 2007, 2021 Carl Byington - 510 Software Group, released under |
4 the GPL version 3 or any later version at your choice available at | 4 the GPL version 3 or any later version at your choice available at |
5 http://www.gnu.org/licenses/gpl-3.0.txt | 5 http://www.gnu.org/licenses/gpl-3.0.txt |
6 | 6 |
7 */ | 7 */ |
8 | 8 |
106 VERIFY(const char *h); | 106 VERIFY(const char *h); |
107 void log(const char *m, const char *q, const char *v); | 107 void log(const char *m, const char *q, const char *v); |
108 void closer(); // if the oldest socket is ancient, close it | 108 void closer(); // if the oldest socket is ancient, close it |
109 SMTP *get_connection(const char *queueid); | 109 SMTP *get_connection(const char *queueid); |
110 void put_connection(SMTP *conn); | 110 void put_connection(SMTP *conn); |
111 bool ok(const char *queueid, const char *from, const char *to); | 111 int ok(const char *queueid, const char *from, const char *to); |
112 }; | 112 }; |
113 | 113 |
114 class WHITELISTER { | 114 class WHITELISTER { |
115 const char *fn; // file to use | 115 const char *fn; // file to use |
116 int days; // how long do we keep entries | 116 int days; // how long do we keep entries |