<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p><br>
</p>
<div class="moz-cite-prefix">On 17/3/22 10:02 am, Sergey A. Osokin
wrote:<br>
</div>
<blockquote type="cite" cite="mid:YjKWzxHam8fYTWiF@FreeBSD.org.ru">
<pre class="moz-quote-pre" wrap="">References:
[1] <a class="moz-txt-link-freetext" href="https://mailman.nginx.org/pipermail/nginx/2018-January/055490.html">https://mailman.nginx.org/pipermail/nginx/2018-January/055490.html</a>
[2] <a class="moz-txt-link-freetext" href="https://nginx.org/en/docs/debugging_log.html">https://nginx.org/en/docs/debugging_log.html</a>
</pre>
</blockquote>
<pre>Hello Sergey,</pre>
<pre>Coincidentally I have made a small progress on resolving the problems and discovered at least a part of the problem was my authentication server uses https.</pre>
<pre>I changed the authentication server request URL from :
</pre>
<pre>auth_http my.mail.server:808/mail/auth.php;</pre>
<pre>to
</pre>
<pre>auth_http <a class="moz-txt-link-freetext" href="https://my.mail.server:808/mail/auth.php">https://my.mail.server:808/mail/auth.php</a>;</pre>
<pre>With nginx -t I got an error of invalid port
</pre>
<pre>I changed my authentication server to http and this URL worked :
</pre>
<pre>auth_http <a class="moz-txt-link-freetext" href="http://my.mail.server:808/mail/auth.php">http://my.mail.server:808/mail/auth.php</a>;</pre>
<pre>It's still not working but at least I have traffic to the authorisation server that gets to execute the php script.
At least one new issue is that authorisation using PLAIN needs https, but it seems that is not supported right now by nginx mail?
</pre>
<blockquote type="cite" cite="mid:YjKWzxHam8fYTWiF@FreeBSD.org.ru">
<pre class="moz-quote-pre" wrap="">
</pre>
</blockquote>
<div class="moz-signature">-- <br>
<font size="4" color="DarkSlateGray">Jeremy</font><br>
</div>
</body>
</html>