SMTP proxy and insert header

Hello.
I’d like to configure nginx as a SMTP proxy and to insert a custom SMTP
header (e.g. “X-My-Script: bla”) in the message before sending it to
backend.

Is there any way to configure nginx to insert a custom header in an
email
message?

Jader H. Silva

Hello!

On Wed, Apr 24, 2013 at 12:37:28PM -0300, Jader H. Silva wrote:

Hello.
I’d like to configure nginx as a SMTP proxy and to insert a custom SMTP
header (e.g. “X-My-Script: bla”) in the message before sending it to
backend.

Is there any way to configure nginx to insert a custom header in an email
message?

No. Messages aren’t processed by nginx smtp proxy, it instead
authenticates a user and passed the connection to a backend
server.


Maxim D.
http://nginx.org/en/donation.html