Mail Proxy

Ive been fiddeling with nginx’s mail proxy features. I would like to
know if
its possible for nginx to proxy mail from non-authenticated senders
(incoming mail - MX records)?

Hello!

On Mon, Apr 18, 2011 at 10:20:11AM +1000, SplitIce wrote:

Ive been fiddeling with nginx’s mail proxy features. I would like to know if
its possible for nginx to proxy mail from non-authenticated senders
(incoming mail - MX records)?

Yes, in 0.7.22+. You’ll need

smtp_auth none;

and appropriate authorizer script which will check
Auth-SMTP-Helo/Auth-SMTP-From/Auth-SMTP-To headers instead of
normally checked Auth-User/Auth-Pass.

Maxim D.

Is there any example script for this (preferably in php)? If there isnt,
is
there any documentation (Ive read the mail core but it doesnt document
these
headers) and ill make a simple PHP script example if I can.

Im guessing Auth-SMTP-To is the backend SMTP server
as for the other two im not sure their role.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs