phalaaxx / milter

A golang library for milter support
BSD 2-Clause "Simplified" License
46 stars 22 forks source link

Add InsertHeader and ChangeFrom modifiers #11

Closed alteman closed 4 years ago

alteman commented 6 years ago

I tested them with my milter (not on Github) - works with Postfix. I had to add InsertHeader because Postfix ignores the first header in the message for some reason when calling ChangeHeader..

leucos commented 6 years ago

This would be great. Any chance to merge this @phalaaxx ?

phalaaxx commented 4 years ago

Took me a while, sorry. I merged your changes manually to be sure what's going in since I'm not particularly happy with some previous changes I had to fix (mostly variables/constants names) and wanted to be sure it properly fits in.