I want to create a custom haraka plugin which will enable the mail server to consume from rabbitmq instead of accepting an smtp request and then processsing it.
I created a plugin that will consume from rabbitmq, but I'm stuck at the point where I need to put this consumed message to rest of the haraka flow.
Is there any way that haraka provides this integration , I know that we need to customize "connection.transaction" object but I need to that how I can do it properly.
It's possible to generate outbound email in Haraka itself, so you could potentially add something like this into your rabbitmq consumer plugin:
There's a docs section called Creating a mail internally for outbound delivery with more details