fix: normalize domain casing

Fix domain casing normalization for configured domains and inbound recipient domains.
This commit is contained in:
Hging
2026-05-16 18:35:39 +08:00
committed by GitHub
parent 8324b133fb
commit add0124cfd
26 changed files with 641 additions and 86 deletions
+4 -2
View File
@@ -132,8 +132,10 @@ test.describe('IMAP Proxy', () => {
try {
const results = await client.search({ all: true });
expect(results.length).toBeGreaterThan(0);
const msg = await client.fetchOne(String(results[0]), { uid: true, flags: true }, { uid: true });
expect(msg.uid).toBe(results[0]);
const seqMsg = await client.fetchOne(String(results[0]), { uid: true, flags: true });
expect(seqMsg.uid).toBeGreaterThan(0);
const uidMsg = await client.fetchOne(String(seqMsg.uid), { uid: true, flags: true }, { uid: true });
expect(uidMsg.uid).toBe(seqMsg.uid);
} finally {
lock.release();
}