Commits


Strip away keys from paid Abusix and Spamhaus services. Problem pointed out by Renaud Allard (renaud <at> allard <dot> it) Minor manpage nit from jasper@


Remove getprogname from usage. Not needed and makes it easier to compile on ubuntu.


Fix multiple issues where a disconnect can occur without setting up a session. Also fix some queries after disconnects Noticed and fix tested by Mischa Peters


Wrap long lines


Use osmtpd_err instead of dnsbl_err


Don't use warn/err, since we already print the filter name


Only log not listed if we are verbose


Welcome filter-dnsbl into the libopensmtpd world


Remove log.[ch] now that we have stderr logging


Remove timeout code. It hinders more than it helps


Do not free session if not spam and not markspam. We still promised smtpd to filter the data.


Mark as resolved as we may pass through dnsbl_session_query_done more than once


Clean up our loggin a little bit. - Make sure we mention our reqid instead of ip-address. This makes grepping the log easier - Make line format a little more consistent - Drop ip-address from line: it's mentioned in the line before While here use data command to reappend the X-Spam header, since a single request can handle multiple messages.


debug doesn't require an argument


Add info messages about filtering


Switch from err.h to log.h


Reorder for logic reasons


More consistent messages


Add license header


Simplify code for selecting blacklists


Add -m flag, which only marks the mail as spam, but still passes it through


Implement an on disconnect. If the client disconnects before we resolve the blacklist, there's no need to await everything


Make the interface more to what a programmer would expect. Kill some useless code in the process


Add timeout support on dns queries.


Only allow a host if it is HOST_NOT_FOUND