Welcome! Log In Create A New Profile

Advanced

Re: logging in mail {} stanza and STARTTLS error

Sergey A. Osokin
March 16, 2022 10:08PM
Hi Jeremy,

hope you're doing well these days.

On Wed, Mar 16, 2022 at 03:36:03PM +0800, Jeremy Ardley wrote:
> Hi,
>
> I'm attempting to implement an IMAP proxy using ngx_mail module.
>
> How do I enable logging inside a mail {} stanza, or indeed anywhere
> other than an http {} stanza which doesn't seem to log any mail {}
> related traffic.

Here's the answer [1].

> Secondly, the reason I want to log activity is because the mail module
> returns an error "BAD  invalid command" when my IMAP client issues a
> STARTTLS. Any suggestions?

If [1] can't help, you'd probably need to start with a debugging log [2].

References:

[1] https://mailman.nginx.org/pipermail/nginx/2018-January/055490.html
[2] https://nginx.org/en/docs/debugging_log.html

--
Sergey A. Osokin
_______________________________________________
nginx mailing list -- nginx@nginx.org
To unsubscribe send an email to nginx-leave@nginx.org
Subject Author Posted

logging in mail {} stanza and STARTTLS error

Jeremy Ardley March 16, 2022 03:40AM

Re: logging in mail {} stanza and STARTTLS error

Sergey A. Osokin March 16, 2022 10:08PM

Re: logging in mail {} stanza and STARTTLS error

Jeremy Ardley March 16, 2022 10:44PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 99
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready