Commit Briefs
Add support for multiple -d flags.
Needs a lot more testing.
Fix couple off by 1s.
Found and fix tested by Mikolaj Kucharski mikolaj <at> kucharski <dot> name
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
