Commit Briefs

27541da87a Martijn van Duren

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


c826412d86 Martijn van Duren

Add support for the z mail header.

-z adds the mail headers used in the signature -Z adds all the mail headers


e974922c65 Martijn van Duren

Add -x flag


e7076cef86 Martijn van Duren

Add support for the t header


365862b1ac Martijn van Duren

Move signing component to own function for clearer reading



7ecf4491df Martijn van Duren

Fix accidental whitespace


0f26145c08 Martijn van Duren

Remove custom custom mkstemp/fdopen dance with tmpfile.

Requires fattr, but can hopefully be removed in the future


daf3253b98 Martijn van Duren

Revert previous.

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


aba1824d46 Martijn van Duren

Remove trailing \r characters.

These come in before filtering, but don't survive upon delivery


ffa37923f2 Martijn van Duren

Fix line-counting by skipping over \r on the end of the line.

Also fix wrong signature length check while here


b79a019c1e Martijn van Duren

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


1308710c42 Martijn van Duren

Canonicalize line before applying test rules to it

This makes 100% from 12200 mails succeed


a883a4eb6e Martijn van Duren

No need to add the \r the origf buffer



b6e37a5eea Martijn van Duren

Don't do fieldname parsing on a continuation line


f5286ea3aa Martijn van Duren

Correct for dot escape on smtp-layer


5d06ccade4 Martijn van Duren

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


8a3a2cefab Martijn van Duren

A pointer change should be accounted for


503597cced Martijn van Duren

Fix horrendous miscalculation


6e04c3ca39 Martijn van Duren

Remove accidental commited debug printfs


226e5da88b Martijn van Duren

More OBO


a53d74c47d Martijn van Duren

Fix another off by one


e768e91ab5 Martijn van Duren

Free session after commit


a27b5ff7b0 Martijn van Duren

Fix off by one