Commit Briefs
Add support for the z mail header.
-z adds the mail headers used in the signature -Z adds all the mail headers
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
