Commits


Import fixes made in filter-dkim


Import commit filter from dkim signer


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


Finally fix big memory leak


End va_copy


Plug a memory leak. Major leak still pending


Don't botter writing if we're pending EV_WRITE. While here, rename ev to stdoutev


Make sure we call event_init only once


Initialize event_init so we can use it during smtp_register*


This should be && and not ||


Add a custom printf function that's not susceptible to EAGAIN.


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.


Add support for filter-data


Rename dnsbl to filter-dnsbl


Make the linedup a little less calculation-intensive


Add a manpage


Replace getline with custom function. Getline doesn't play nice with nonblocking io


Logging an unmodified line works better


Move the debugging info, so we don't log every damn line in the body


Temporarily add extra debugging info


debug doesn't require an argument


Add info messages about filtering


Switch from err.h to log.h


Reorder for logic reasons