Mercurial > dnsbl
comparison src/context.cpp @ 330:b5b93a7e1e6d
ignore envelope-from based whitelisting if we have a dkim requirement for that domain
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Mon, 19 Dec 2016 12:05:06 -0800 |
parents | c9932c4d8053 |
children | 9800776436b9 |
comparison
equal
deleted
inserted
replaced
329:c9932c4d8053 | 330:b5b93a7e1e6d |
---|---|
1098 return dnswl_list; | 1098 return dnswl_list; |
1099 } | 1099 } |
1100 | 1100 |
1101 | 1101 |
1102 void CONTEXT::log(const char *queueid, const char *msg, const char *v) { | 1102 void CONTEXT::log(const char *queueid, const char *msg, const char *v) { |
1103 char buf[maxlen]; | 1103 if (debug_syslog > 1) { |
1104 snprintf(buf, maxlen, msg, v); | 1104 char buf[maxlen]; |
1105 my_syslog(queueid, buf); | 1105 snprintf(buf, maxlen, msg, v); |
1106 my_syslog(queueid, buf); | |
1107 } | |
1106 } | 1108 } |
1107 | 1109 |
1108 | 1110 |
1109 bool CONTEXT::acceptable_content(recorder &memory, int score, int bulk, const char *queueid, string_set &signers, const char *from, string& msg) { | 1111 bool CONTEXT::acceptable_content(recorder &memory, int score, int bulk, const char *queueid, string_set &signers, const char *from, string& msg) { |
1110 DKIMP dk = find_dkim_from(from); | 1112 DKIMP dk = find_dkim_from(from); |