mireka icon indicating copy to clipboard operation
mireka copied to clipboard

Email post processing

Open ghost opened this issue 7 years ago • 0 comments

Hello. I am writing JRuby bindings for Mireka. I successfully implemented essential functionality. But now I need to add some email post-processing and I don't know how to approach it right way.

Post-processing Functionaluty

Right after email is delivered to maildrop directory the post-processing hook should receive email data and apply specified methods to it.

Issue

First thing I was looking into is Mireka's filters. Last filter in the chain is DestinationProcessorFilter, but it doesn't seem to work with mail drops directly. I need at least path to file to make it work. Maybe I was looking the wrong way.

I can work with filesystem directly, but hooking data from Mireka would be more effective. Is there a proper way to get email data right after it was saved?

ghost avatar Mar 21 '18 10:03 ghost