gotthardp / rabbitmq-email

SMTP Gateway Plugin for RabbitMQ
Mozilla Public License 2.0
179 stars 20 forks source link

Get full email headers in rabbitmq #23

Closed samjadmooppan closed 8 years ago

samjadmooppan commented 8 years ago

I was able to pull the messages from the rabbitmq queue using nodejs. However it shows a very limited set of email headers. The operation is that the email is sent to email@github.com from me@myself.com and email@github.com is then forwarded to a third email github@app.mydomain.com. The email user github@app.mydomain.com is configured in Postfix + rabbitmq-email .

In this scenario, I am able to obtain only the from and to headers(From : me@myself.com and To :email@github.com ), while I also need the complete headers to decide what to do with the message received. In short , I badly need header line with the final email its reaching (github@app.mydomain.com).

gotthardp commented 8 years ago

The current implementation offers two possibilities:

samjadmooppan commented 8 years ago

thanks :) . Worked like a charm