logging in mail {} stanza and STARTTLS error

Jeremy Ardley jeremy at ardley.org
Thu Mar 17 02:39:39 UTC 2022


On 17/3/22 10:02 am, Sergey A. Osokin wrote:
> References:
>
> [1] https://mailman.nginx.org/pipermail/nginx/2018-January/055490.html
> [2] https://nginx.org/en/docs/debugging_log.html

Hello Sergey,

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.

I changed the authentication server request URL from :

auth_http   my.mail.server:808/mail/auth.php;

to

auth_http   https://my.mail.server:808/mail/auth.php;

With nginx -t I got an error of invalid port

I changed my authentication server to http and this URL worked :

auth_http   http://my.mail.server:808/mail/auth.php;

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?

-- 
Jeremy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20220317/bd47bc77/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 236 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20220317/bd47bc77/attachment.bin>


More information about the nginx mailing list