Commits


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


Add support for the z mail header. -z adds the mail headers used in the signature -Z adds all the mail headers


Add -x flag


Add support for the t header


Move signing component to own function for clearer reading


Delay smtp_filter_disconnect until commit phase to prevent unintentional shutdown


Fix accidental whitespace


Remove custom custom mkstemp/fdopen dance with tmpfile. Requires fattr, but can hopefully be removed in the future


Revert previous. Seems to be an issue with smtpd, not fully confirmed upstream


Remove trailing \r characters. These come in before filtering, but don't survive upon delivery


Fix line-counting by skipping over \r on the end of the line. Also fix wrong signature length check while here


Don't do event_pending check before trying to write. If we can flush multiple mails at once this can result in major contingency on the output buffer before we hit the output check


Canonicalize line before applying test rules to it This makes 100% from 12200 mails succeed


No need to add the \r the origf buffer


If we're doing a FWS just after a header name separator, also remove the leading space from the value


Don't do fieldname parsing on a continuation line


Correct for dot escape on smtp-layer


Only parse ':' if we're still parsing the fieldname


A pointer change should be accounted for


Fix horrendous miscalculation


Remove accidental commited debug printfs


More OBO


Fix another off by one


Free session after commit


Fix off by one