I finally finished my first C++14 written milter called „sigh“, which signs outgoing mails with S/MIME. As it uses the libmilter library, you can use the software for MTAs like Postfix or sendmail.
Project information can be found here: https://signing-milter.org
The code is hosted on Github: https://github.com/croessner/sigh