SMTP proxy and insert header

Maxim Dounin mdounin at
Wed Apr 24 16:42:20 UTC 2013


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 

Maxim Dounin

More information about the nginx mailing list