@bobfrankston/mailx 1.0.103 → 1.0.104
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/packages/mailx-server/index.js +1 -1
- package/rebuild.cmd +3 -0
package/package.json
CHANGED
|
@@ -59,7 +59,7 @@ const db = new MailxDB(dbDir);
|
|
|
59
59
|
const imapManager = new ImapManager(db);
|
|
60
60
|
// Native IMAP client has connection leak — logout() doesn't reliably close sockets.
|
|
61
61
|
// Use legacy imapflow by default until fixed. --native-imap to test.
|
|
62
|
-
if (process.argv.includes("--native-imap") || process.argv.includes("-native-imap")) {
|
|
62
|
+
if (process.argv.includes("--native-imap") || process.argv.includes("-native-imap") || process.env.MAILX_NATIVE_IMAP) {
|
|
63
63
|
imapManager.useNativeClient = true;
|
|
64
64
|
console.log(" Using native IMAP client (transport-agnostic)");
|
|
65
65
|
}
|