comparison src/dnsbl.cpp @ 329:c9932c4d8053

allow multiple dkim signers in authentication results
author Carl Byington <carl@five-ten-sg.com>
date Mon, 19 Dec 2016 08:29:16 -0800
parents b4f766947202
children b5b93a7e1e6d
comparison
equal deleted inserted replaced
328:b4f766947202 329:c9932c4d8053
1601 } 1601 }
1602 1602
1603 for (context_map::iterator i=priv.env_to.begin(); i!=priv.env_to.end(); i++) { 1603 for (context_map::iterator i=priv.env_to.begin(); i!=priv.env_to.end(); i++) {
1604 const char *rcpt = (*i).first; 1604 const char *rcpt = (*i).first;
1605 CONTEXT &con = *((*i).second); 1605 CONTEXT &con = *((*i).second);
1606 if (!con.acceptable_content(*priv.memory, score, bulk, priv.dkim_signers, priv.fromaddr, msg)) { 1606 if (!con.acceptable_content(*priv.memory, score, bulk, priv.queueid, priv.dkim_signers, priv.fromaddr, msg)) {
1607 // bad html tags or excessive hosts or 1607 // bad html tags or excessive hosts or
1608 // high spam assassin score or dcc bulk threshold exceedeed 1608 // high spam assassin score or dcc bulk threshold exceedeed
1609 // or signed by a dkim signer that we don't like 1609 // or signed by a dkim signer that we don't like
1610 // or header from requires dkim signer that is missing 1610 // or header from requires dkim signer that is missing
1611 smfi_delrcpt(ctx, (char*)rcpt); 1611 smfi_delrcpt(ctx, (char*)rcpt);