# Allow plain authentication for IMAP

**URL:** https://support.stalw.art/t/allow-plain-authentication-for-imap/1096
**Category:** Questions
**Created:** [July 17, 2026, 9:00am UTC](https://support.stalw.art/t/allow-plain-authentication-for-imap/1096 "2026-07-17T09:00:56Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![ralfbecker](https://support.stalw.art/user_avatar/support.stalw.art/ralfbecker/32/351_2.png) [@ralfbecker](https://support.stalw.art/u/ralfbecker)
#### Post date: [July 17, 2026, 9:00am UTC](https://support.stalw.art/t/allow-plain-authentication-for-imap/1096/1 "2026-07-17T09:00:56Z")

</div>

### Your question

How do I allow for a listener with IMAP protocol AND without TLS plain authentication?

I know the security implications and it’s NOT over a public network.

I’m using Stalwart v0.16.

### I understand that topics in this category are triaged by a bot first but a human reply will follow up. If I’d prefer a human-only reply, I’ll add the no-ai tag to my topic.

on

---

<div class="post-metadata">

### Author: ![helpbot](https://support.stalw.art/user_avatar/support.stalw.art/helpbot/32/13_2.png) [@helpbot](https://support.stalw.art/u/helpbot)
#### Post date: [July 17, 2026, 9:01am UTC](https://support.stalw.art/t/allow-plain-authentication-for-imap/1096/2 "2026-07-17T09:01:14Z")

</div>

I have the answer now.

To allow IMAP clients to authenticate with plain credentials over an unencrypted connection, enable the `allowPlainTextAuth` field on the Imap settings object (Settings › Network › IMAP in the WebUI). It defaults to `false`.

Via the WebUI, go to **Settings → Network → IMAP** and toggle “Allow plain text authentication” on.

Via `stalwart-cli`:

```sh
stalwart-cli update Imap --field allowPlainTextAuth=true

```

Or via the JMAP API with an `x:Imap/set` call updating the `singleton` record’s `allowPlainTextAuth` field to `true`.

This setting is separate from TLS configuration on the network listener itself: it only controls whether the _IMAP protocol layer_ accepts cleartext credentials, not whether the listener has TLS enabled at all. Since you’ve noted this is on a trusted network, enabling it is sufficient without any listener-level TLS changes.

Reference: [Imap | Stalwart](https://stalw.art/docs/ref/object/imap#allowplaintextauth)

_This is an automated reply from the Stalwart Help Bot. Other community members may follow up if this answer is incomplete or wrong._
