==> Updating pacman database cache :: Synchronizing package databases... core downloading... extra downloading... ==> Building protonmail-bridge -> repo: extra-staging -> arch: aarch64 -> worker: ben-5 ==> Building protonmail-bridge for [extra-staging] (aarch64) :: Synchronizing package databases... core-staging downloading... core-testing downloading... core downloading... extra-staging downloading... extra-testing downloading... aur downloading... extra downloading... :: Starting full system upgrade... there is nothing to do ==> Building in chroot for [extra-staging] (aarch64)... ==> Synchronizing chroot copy [/var/lib/archbuild/extra-staging-aarch64/root] -> [ben-5]...done ==> Making package: protonmail-bridge 3.26.0-4 (Thu Sep 17 02:42:52 2026) ==> Retrieving sources... -> Cloning proton-bridge git repo... Cloning into bare repository '/home/ben/alpb/build/protonmail-bridge/proton-bridge'... remote: Enumerating objects: 37961, done. remote: Counting objects: 0% (1/5336) remote: Counting objects: 1% (54/5336) remote: Counting objects: 2% (107/5336) remote: Counting objects: 3% (161/5336) remote: Counting objects: 4% (214/5336) remote: Counting objects: 5% (267/5336) remote: Counting objects: 6% (321/5336) remote: Counting objects: 7% (374/5336) remote: Counting objects: 8% (427/5336) remote: Counting objects: 9% (481/5336) remote: Counting objects: 10% (534/5336) remote: Counting objects: 11% (587/5336) remote: Counting objects: 12% (641/5336) remote: Counting objects: 13% (694/5336) remote: Counting objects: 14% (748/5336) remote: Counting objects: 15% (801/5336) remote: Counting objects: 16% (854/5336) remote: Counting objects: 17% (908/5336) remote: Counting objects: 18% (961/5336) remote: Counting objects: 19% (1014/5336) remote: Counting objects: 20% (1068/5336) remote: Counting objects: 21% (1121/5336) remote: Counting objects: 22% (1174/5336) remote: Counting objects: 23% (1228/5336) remote: Counting objects: 24% (1281/5336) remote: Counting objects: 25% (1334/5336) remote: Counting objects: 26% (1388/5336) remote: Counting objects: 27% (1441/5336) remote: Counting objects: 28% (1495/5336) remote: Counting objects: 29% (1548/5336) remote: Counting objects: 30% (1601/5336) remote: Counting objects: 31% (1655/5336) remote: Counting objects: 32% (1708/5336) remote: Counting objects: 33% (1761/5336) remote: Counting objects: 34% (1815/5336) remote: Counting objects: 35% (1868/5336) remote: Counting objects: 36% (1921/5336) remote: Counting objects: 37% (1975/5336) remote: Counting objects: 38% (2028/5336) remote: Counting objects: 39% (2082/5336) remote: Counting objects: 40% (2135/5336) remote: Counting objects: 41% (2188/5336) remote: Counting objects: 42% (2242/5336) remote: Counting objects: 43% (2295/5336) remote: Counting objects: 44% (2348/5336) remote: Counting objects: 45% (2402/5336) remote: Counting objects: 46% (2455/5336) remote: Counting objects: 47% (2508/5336) remote: Counting objects: 48% (2562/5336) remote: Counting objects: 49% (2615/5336) remote: Counting objects: 50% (2668/5336) remote: Counting objects: 51% (2722/5336) remote: Counting objects: 52% (2775/5336) remote: Counting objects: 53% (2829/5336) remote: Counting objects: 54% (2882/5336) remote: Counting objects: 55% (2935/5336) remote: Counting objects: 56% (2989/5336) remote: Counting objects: 57% (3042/5336) remote: Counting objects: 58% (3095/5336) remote: Counting objects: 59% (3149/5336) remote: Counting objects: 60% (3202/5336) remote: Counting objects: 61% (3255/5336) remote: Counting objects: 62% (3309/5336) remote: Counting objects: 63% (3362/5336) remote: Counting objects: 64% (3416/5336) remote: Counting objects: 65% (3469/5336) remote: Counting objects: 66% (3522/5336) remote: Counting objects: 67% (3576/5336) remote: Counting objects: 68% (3629/5336) remote: Counting objects: 69% (3682/5336) remote: Counting objects: 70% (3736/5336) remote: Counting objects: 71% (3789/5336) remote: Counting objects: 72% (3842/5336) remote: Counting objects: 73% (3896/5336) remote: Counting objects: 74% (3949/5336) remote: Counting objects: 75% (4002/5336) remote: Counting objects: 76% (4056/5336) remote: Counting objects: 77% (4109/5336) remote: Counting objects: 78% (4163/5336) remote: Counting objects: 79% (4216/5336) remote: Counting objects: 80% (4269/5336) remote: Counting objects: 81% (4323/5336) remote: Counting objects: 82% (4376/5336) remote: Counting objects: 83% (4429/5336) remote: Counting objects: 84% (4483/5336) remote: Counting objects: 85% (4536/5336) remote: Counting objects: 86% (4589/5336) remote: Counting objects: 87% (4643/5336) remote: Counting objects: 88% (4696/5336) remote: Counting objects: 89% (4750/5336) remote: Counting objects: 90% (4803/5336) remote: Counting objects: 91% (4856/5336) remote: Counting objects: 92% (4910/5336) remote: Counting objects: 93% (4963/5336) remote: Counting objects: 94% (5016/5336) remote: Counting objects: 95% (5070/5336) remote: Counting objects: 96% (5123/5336) remote: Counting objects: 97% (5176/5336) remote: Counting objects: 98% (5230/5336) remote: Counting objects: 99% (5283/5336) remote: Counting objects: 100% (5336/5336) remote: Counting objects: 100% (5336/5336), done. remote: Compressing objects: 0% (1/618) remote: Compressing objects: 1% (7/618) remote: Compressing objects: 2% (13/618) remote: Compressing objects: 3% (19/618) remote: Compressing objects: 4% (25/618) remote: Compressing objects: 5% (31/618) remote: Compressing objects: 6% (38/618) remote: Compressing objects: 7% (44/618) remote: Compressing objects: 8% (50/618) remote: Compressing objects: 9% (56/618) remote: Compressing objects: 10% (62/618) remote: Compressing objects: 11% (68/618) remote: Compressing objects: 12% (75/618) remote: Compressing objects: 13% (81/618) remote: Compressing objects: 14% (87/618) remote: Compressing objects: 15% (93/618) remote: Compressing objects: 16% (99/618) remote: Compressing objects: 17% (106/618) remote: Compressing objects: 18% (112/618) remote: Compressing objects: 19% (118/618) remote: Compressing objects: 20% (124/618) remote: Compressing objects: 21% (130/618) remote: Compressing objects: 22% (136/618) remote: Compressing objects: 23% (143/618) remote: Compressing objects: 24% (149/618) remote: Compressing objects: 25% (155/618) remote: Compressing objects: 26% (161/618) remote: Compressing objects: 27% (167/618) remote: Compressing objects: 28% (174/618) remote: Compressing objects: 29% (180/618) remote: Compressing objects: 30% (186/618) remote: Compressing objects: 31% (192/618) remote: Compressing objects: 32% (198/618) remote: Compressing objects: 33% (204/618) remote: Compressing objects: 34% (211/618) remote: Compressing objects: 35% (217/618) remote: Compressing objects: 36% (223/618) remote: Compressing objects: 37% (229/618) remote: Compressing objects: 38% (235/618) remote: Compressing objects: 39% (242/618) remote: Compressing objects: 40% (248/618) remote: Compressing objects: 41% (254/618) remote: Compressing objects: 42% (260/618) remote: Compressing objects: 43% (266/618) remote: Compressing objects: 44% (272/618) remote: Compressing objects: 45% (279/618) remote: Compressing objects: 46% (285/618) remote: Compressing objects: 47% (291/618) remote: Compressing objects: 48% (297/618) remote: Compressing objects: 49% (303/618) remote: Compressing objects: 50% (309/618) remote: Compressing objects: 51% (316/618) remote: Compressing objects: 52% (322/618) remote: Compressing objects: 53% (328/618) remote: Compressing objects: 54% (334/618) remote: Compressing objects: 55% (340/618) remote: Compressing objects: 56% (347/618) remote: Compressing objects: 57% (353/618) remote: Compressing objects: 58% (359/618) remote: Compressing objects: 59% (365/618) remote: Compressing objects: 60% (371/618) remote: Compressing objects: 61% (377/618) remote: Compressing objects: 62% (384/618) remote: Compressing objects: 63% (390/618) remote: Compressing objects: 64% (396/618) remote: Compressing objects: 65% (402/618) remote: Compressing objects: 66% (408/618) remote: Compressing objects: 67% (415/618) remote: Compressing objects: 68% (421/618) remote: Compressing objects: 69% (427/618) remote: Compressing objects: 70% (433/618) remote: Compressing objects: 71% (439/618) remote: Compressing objects: 72% (445/618) remote: Compressing objects: 73% (452/618) remote: Compressing objects: 74% (458/618) remote: Compressing objects: 75% (464/618) remote: Compressing objects: 76% (470/618) remote: Compressing objects: 77% (476/618) remote: Compressing objects: 78% (483/618) remote: Compressing objects: 79% (489/618) remote: Compressing objects: 80% (495/618) remote: Compressing objects: 81% (501/618) remote: Compressing objects: 82% (507/618) remote: Compressing objects: 83% (513/618) remote: Compressing objects: 84% (520/618) remote: Compressing objects: 85% (526/618) remote: Compressing objects: 86% (532/618) remote: Compressing objects: 87% (538/618) remote: Compressing objects: 88% (544/618) remote: Compressing objects: 89% (551/618) remote: Compressing objects: 90% (557/618) remote: Compressing objects: 91% (563/618) remote: Compressing objects: 92% (569/618) remote: Compressing objects: 93% (575/618) remote: Compressing objects: 94% (581/618) remote: Compressing objects: 95% (588/618) remote: Compressing objects: 96% (594/618) remote: Compressing objects: 97% (600/618) remote: Compressing objects: 98% (606/618) remote: Compressing objects: 99% (612/618) remote: Compressing objects: 100% (618/618) remote: Compressing objects: 100% (618/618), done. Receiving objects: 0% (1/37961) Receiving objects: 1% (380/37961) Receiving objects: 2% (760/37961) Receiving objects: 3% (1139/37961) Receiving objects: 4% (1519/37961) Receiving objects: 5% (1899/37961) Receiving objects: 6% (2278/37961) Receiving objects: 7% (2658/37961) Receiving objects: 8% (3037/37961) Receiving objects: 9% (3417/37961) Receiving objects: 10% (3797/37961) Receiving objects: 11% (4176/37961) Receiving objects: 12% (4556/37961) Receiving objects: 13% (4935/37961) Receiving objects: 14% (5315/37961) Receiving objects: 15% (5695/37961) Receiving objects: 16% (6074/37961) Receiving objects: 17% (6454/37961) Receiving objects: 18% (6833/37961) Receiving objects: 19% (7213/37961) Receiving objects: 20% (7593/37961) Receiving objects: 21% (7972/37961) Receiving objects: 22% (8352/37961) Receiving objects: 23% (8732/37961) Receiving objects: 24% (9111/37961) Receiving objects: 25% (9491/37961) Receiving objects: 26% (9870/37961) Receiving objects: 27% (10250/37961) Receiving objects: 28% (10630/37961) Receiving objects: 29% (11009/37961) Receiving objects: 30% (11389/37961) Receiving objects: 31% (11768/37961) Receiving objects: 32% (12148/37961) Receiving objects: 33% (12528/37961) Receiving objects: 34% (12907/37961) Receiving objects: 35% (13287/37961) Receiving objects: 36% (13666/37961) Receiving objects: 37% (14046/37961) Receiving objects: 38% (14426/37961) Receiving objects: 39% (14805/37961) Receiving objects: 40% (15185/37961) Receiving objects: 41% (15565/37961) Receiving objects: 42% (15944/37961) Receiving objects: 43% (16324/37961) Receiving objects: 44% (16703/37961) Receiving objects: 45% (17083/37961) Receiving objects: 46% (17463/37961) Receiving objects: 47% (17842/37961) Receiving objects: 48% (18222/37961) Receiving objects: 49% (18601/37961) Receiving objects: 50% (18981/37961) Receiving objects: 51% (19361/37961) Receiving objects: 52% (19740/37961) Receiving objects: 53% (20120/37961) Receiving objects: 54% (20499/37961) Receiving objects: 55% (20879/37961) Receiving objects: 56% (21259/37961) Receiving objects: 57% (21638/37961) Receiving objects: 58% (22018/37961) Receiving objects: 59% (22397/37961) Receiving objects: 60% (22777/37961) Receiving objects: 61% (23157/37961) Receiving objects: 62% (23536/37961) Receiving objects: 63% (23916/37961) Receiving objects: 64% (24296/37961) Receiving objects: 65% (24675/37961) Receiving objects: 66% (25055/37961) Receiving objects: 67% (25434/37961) Receiving objects: 68% (25814/37961) Receiving objects: 69% (26194/37961) Receiving objects: 70% (26573/37961) Receiving objects: 71% (26953/37961) Receiving objects: 72% (27332/37961) Receiving objects: 73% (27712/37961) Receiving objects: 74% (28092/37961), 16.77 MiB | 33.47 MiB/s Receiving objects: 75% (28471/37961), 16.77 MiB | 33.47 MiB/s Receiving objects: 76% (28851/37961), 16.77 MiB | 33.47 MiB/s Receiving objects: 77% (29230/37961), 16.77 MiB | 33.47 MiB/s Receiving objects: 78% (29610/37961), 16.77 MiB | 33.47 MiB/s Receiving objects: 79% (29990/37961), 16.77 MiB | 33.47 MiB/s Receiving objects: 80% (30369/37961), 16.77 MiB | 33.47 MiB/s Receiving objects: 81% (30749/37961), 16.77 MiB | 33.47 MiB/s Receiving objects: 82% (31129/37961), 16.77 MiB | 33.47 MiB/s Receiving objects: 83% (31508/37961), 16.77 MiB | 33.47 MiB/s Receiving objects: 84% (31888/37961), 16.77 MiB | 33.47 MiB/s Receiving objects: 85% (32267/37961), 16.77 MiB | 33.47 MiB/s Receiving objects: 86% (32647/37961), 16.77 MiB | 33.47 MiB/s Receiving objects: 87% (33027/37961), 16.77 MiB | 33.47 MiB/s Receiving objects: 88% (33406/37961), 16.77 MiB | 33.47 MiB/s Receiving objects: 89% (33786/37961), 16.77 MiB | 33.47 MiB/s Receiving objects: 90% (34165/37961), 16.77 MiB | 33.47 MiB/s Receiving objects: 91% (34545/37961), 16.77 MiB | 33.47 MiB/s Receiving objects: 92% (34925/37961), 16.77 MiB | 33.47 MiB/s Receiving objects: 93% (35304/37961), 16.77 MiB | 33.47 MiB/s Receiving objects: 94% (35684/37961), 16.77 MiB | 33.47 MiB/s Receiving objects: 95% (36063/37961), 16.77 MiB | 33.47 MiB/s Receiving objects: 96% (36443/37961), 16.77 MiB | 33.47 MiB/s Receiving objects: 97% (36823/37961), 16.77 MiB | 33.47 MiB/s Receiving objects: 98% (37202/37961), 16.77 MiB | 33.47 MiB/s Receiving objects: 99% (37582/37961), 16.77 MiB | 33.47 MiB/s remote: Total 37961 (delta 4978), reused 4722 (delta 4718), pack-reused 32625 (from 1) Receiving objects: 100% (37961/37961), 16.77 MiB | 33.47 MiB/s Receiving objects: 100% (37961/37961), 19.09 MiB | 32.57 MiB/s, done. Resolving deltas: 0% (0/30500) Resolving deltas: 1% (305/30500) Resolving deltas: 2% (610/30500) Resolving deltas: 3% (915/30500) Resolving deltas: 4% (1220/30500) Resolving deltas: 5% (1525/30500) Resolving deltas: 6% (1830/30500) Resolving deltas: 7% (2135/30500) Resolving deltas: 8% (2440/30500) Resolving deltas: 9% (2745/30500) Resolving deltas: 10% (3050/30500) Resolving deltas: 11% (3355/30500) Resolving deltas: 12% (3660/30500) Resolving deltas: 13% (3965/30500) Resolving deltas: 14% (4270/30500) Resolving deltas: 15% (4575/30500) Resolving deltas: 16% (4880/30500) Resolving deltas: 17% (5185/30500) Resolving deltas: 18% (5491/30500) Resolving deltas: 19% (5795/30500) Resolving deltas: 20% (6100/30500) Resolving deltas: 21% (6406/30500) Resolving deltas: 22% (6710/30500) Resolving deltas: 23% (7015/30500) Resolving deltas: 24% (7320/30500) Resolving deltas: 25% (7625/30500) Resolving deltas: 26% (7930/30500) Resolving deltas: 27% (8235/30500) Resolving deltas: 28% (8540/30500) Resolving deltas: 29% (8845/30500) Resolving deltas: 30% (9150/30500) Resolving deltas: 31% (9455/30500) Resolving deltas: 32% (9760/30500) Resolving deltas: 33% (10065/30500) Resolving deltas: 34% (10370/30500) Resolving deltas: 35% (10675/30500) Resolving deltas: 36% (10981/30500) Resolving deltas: 37% (11285/30500) Resolving deltas: 38% (11590/30500) Resolving deltas: 39% (11895/30500) Resolving deltas: 40% (12200/30500) Resolving deltas: 41% (12505/30500) Resolving deltas: 42% (12810/30500) Resolving deltas: 43% (13115/30500) Resolving deltas: 44% (13420/30500) Resolving deltas: 45% (13725/30500) Resolving deltas: 46% (14030/30500) Resolving deltas: 47% (14335/30500) Resolving deltas: 48% (14640/30500) Resolving deltas: 49% (14945/30500) Resolving deltas: 50% (15250/30500) Resolving deltas: 51% (15555/30500) Resolving deltas: 52% (15861/30500) Resolving deltas: 53% (16165/30500) Resolving deltas: 54% (16470/30500) Resolving deltas: 55% (16775/30500) Resolving deltas: 56% (17080/30500) Resolving deltas: 57% (17385/30500) Resolving deltas: 58% (17690/30500) Resolving deltas: 59% (17995/30500) Resolving deltas: 60% (18300/30500) Resolving deltas: 61% (18605/30500) Resolving deltas: 62% (18910/30500) Resolving deltas: 63% (19215/30500) Resolving deltas: 64% (19521/30500) Resolving deltas: 65% (19825/30500) Resolving deltas: 66% (20130/30500) Resolving deltas: 67% (20436/30500) Resolving deltas: 68% (20740/30500) Resolving deltas: 69% (21045/30500) Resolving deltas: 70% (21351/30500) Resolving deltas: 71% (21655/30500) Resolving deltas: 72% (21961/30500) Resolving deltas: 73% (22265/30500) Resolving deltas: 74% (22570/30500) Resolving deltas: 75% (22875/30500) Resolving deltas: 76% (23180/30500) Resolving deltas: 77% (23485/30500) Resolving deltas: 78% (23790/30500) Resolving deltas: 79% (24095/30500) Resolving deltas: 80% (24400/30500) Resolving deltas: 81% (24705/30500) Resolving deltas: 82% (25010/30500) Resolving deltas: 83% (25315/30500) Resolving deltas: 84% (25620/30500) Resolving deltas: 85% (25925/30500) Resolving deltas: 86% (26230/30500) Resolving deltas: 87% (26535/30500) Resolving deltas: 88% (26840/30500) Resolving deltas: 89% (27145/30500) Resolving deltas: 90% (27450/30500) Resolving deltas: 91% (27755/30500) Resolving deltas: 92% (28060/30500) Resolving deltas: 93% (28365/30500) Resolving deltas: 94% (28670/30500) Resolving deltas: 95% (28975/30500) Resolving deltas: 96% (29280/30500) Resolving deltas: 97% (29585/30500) Resolving deltas: 98% (29890/30500) Resolving deltas: 99% (30195/30500) Resolving deltas: 100% (30500/30500) Resolving deltas: 100% (30500/30500), done. -> Found protonmail-bridge.service -> Found remove-vcpkg-dependency.patch -> Found fix-wayland-icon.patch ==> Validating source files with sha256sums... proton-bridge ... Passed protonmail-bridge.service ... Passed remove-vcpkg-dependency.patch ... Passed fix-wayland-icon.patch ... Passed ==> Making package: protonmail-bridge 3.26.0-4 (Thu Sep 17 09:43:02 2026) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Installing missing dependencies... dependencies... :: There are 2 providers available for libgl: :: Repository extra-testing 1) libglvnd :: Repository extra 2) libglvnd Enter a number (): looking for conflicting packages... Package (80) New Version Net Change extra-testing/avahi 1:0.9rc5-1 2.68 MiB extra-testing/c-ares 1.34.8-1 0.67 MiB extra-testing/cppdap 1.58.0-3 1.64 MiB extra-testing/default-cursors 3-1 0.00 MiB extra-testing/double-conversion 3.4.0-1 0.23 MiB extra-testing/duktape 2.7.0-7 0.95 MiB extra-testing/fontconfig 2:2.18.3-2 1.86 MiB extra-testing/freetype2 2.14.3-1 1.60 MiB extra-testing/graphite 1:1.3.15-1 0.24 MiB extra-testing/gtest 1.18.0-1 1.80 MiB extra-testing/harfbuzz 14.4.0-1 4.82 MiB extra-testing/hicolor-icon-theme 0.18-1 0.05 MiB extra-testing/hidapi 0.15.0-1 0.20 MiB extra-testing/jsoncpp 1.9.8-1 0.95 MiB extra-testing/libb2 0.98.1-3 0.08 MiB extra-testing/libcbor 0.14.0-1 0.24 MiB extra-testing/libcups 2:2.4.19-1 0.88 MiB extra-testing/libdaemon 0.14-6 0.09 MiB extra-testing/libdrm 2.4.134-1 1.71 MiB core/libedit 20260512_3.1-1 0.30 MiB extra-testing/libevdev 1.13.7-1 0.42 MiB extra-testing/libglvnd 1.7.0-3 4.90 MiB extra-testing/libgudev 238-3 0.40 MiB extra-testing/libice 1.1.2-1 0.38 MiB extra-testing/libinput 1.31.3-1 0.94 MiB extra-testing/libjpeg-turbo 3.2.0-2 2.49 MiB extra-testing/libpciaccess 0.19-1 0.08 MiB extra-testing/libpng 1.6.58-2 0.76 MiB extra-testing/libproxy 0.5.12-1 0.21 MiB extra-testing/libsm 1.2.6-1 0.29 MiB extra-testing/liburing 2.15-1 0.52 MiB extra-testing/libuv 1.52.1-2 0.67 MiB extra-testing/libwacom 2.20.0-1 1.77 MiB extra-testing/libx11 1.8.13-1 9.91 MiB extra-testing/libxau 1.0.12-1 0.07 MiB extra-testing/libxcb 1.17.0-1 4.90 MiB extra-testing/libxdmcp 1.1.5-2 0.17 MiB extra-testing/libxext 1.3.7-1 0.36 MiB extra-testing/libxkbcommon 1.13.2-1 1.56 MiB extra-testing/libxkbcommon-x11 1.13.2-1 0.22 MiB extra-testing/libxshmfence 1.3.3-1 0.07 MiB extra-testing/libxxf86vm 1.1.7-1 0.08 MiB extra-testing/llvm-libs 22.1.8-2 159.60 MiB extra-testing/lm_sensors 1:3.6.2-1 0.51 MiB extra-testing/lua54 5.4.9-1 1.66 MiB extra-testing/md4c 0.5.3-1 0.34 MiB extra-testing/mesa 1:26.2.2-1 52.16 MiB extra-testing/mtdev 1.1.7-1 0.14 MiB extra-testing/perl-error 0.17030-3 0.04 MiB extra-testing/perl-mailtools 2.22-3 0.10 MiB extra-testing/perl-timedate 2.35-1 0.15 MiB extra-testing/qt6-translations 6.11.2-1 15.42 MiB extra-testing/re2 2:2025.11.05-6 0.62 MiB extra-testing/rhash 1.4.6-1 0.40 MiB extra-testing/shared-mime-info 2.5.1-2 5.87 MiB extra-testing/spirv-tools 1:1.4.357.0-1 8.14 MiB extra-testing/tslib 1.24-1 1.79 MiB extra-testing/wayland 1.26.0-1 1.02 MiB extra-testing/xcb-proto 1.17.0-4 1.03 MiB extra-testing/xcb-util 0.4.1-2 0.08 MiB extra-testing/xcb-util-cursor 0.1.6-1 0.07 MiB extra-testing/xcb-util-image 0.4.1-3 0.10 MiB extra-testing/xcb-util-keysyms 0.4.1-5 0.07 MiB extra-testing/xcb-util-renderutil 0.3.10-2 0.07 MiB extra-testing/xcb-util-wm 0.4.2-2 0.27 MiB extra-testing/xdg-utils 1.2.1-2 0.30 MiB extra-testing/xkeyboard-config 2.48-1 10.24 MiB extra-testing/xorgproto 2025.1-1 1.47 MiB extra-testing/zlib-ng 2.3.3-1 0.25 MiB extra-testing/abseil-cpp 20260817.0-2 11.78 MiB extra-testing/cmake 4.4.3-2 92.60 MiB extra-testing/git 2.55.0-1 30.97 MiB extra-testing/go 2:1.27.1-1 221.15 MiB extra-testing/grpc 1.84.0-1 28.91 MiB extra-testing/libfido2 1.17.0-1 0.58 MiB extra-testing/protobuf 36.1-1 18.76 MiB extra-testing/qt6-base 6.11.2-3 69.36 MiB extra-testing/qt6-declarative 6.11.2-2 130.25 MiB extra-testing/qt6-svg 6.11.2-1 1.14 MiB extra-testing/sentry-native 0.16.6-1 1.74 MiB Total Installed Size: 921.31 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... go-2:1.27.1-1-aarch64 downloading... llvm-libs-22.1.8-2-aarch64 downloading... qt6-declarative-6.11.2-2-aarch64 downloading... qt6-base-6.11.2-3-aarch64 downloading... cmake-4.4.3-2-aarch64 downloading... mesa-1:26.2.2-1-aarch64 downloading... git-2.55.0-1-aarch64 downloading... grpc-1.84.0-1-aarch64 downloading... protobuf-36.1-1-aarch64 downloading... libx11-1.8.13-1-aarch64 downloading... spirv-tools-1:1.4.357.0-1-aarch64 downloading... abseil-cpp-20260817.0-2-aarch64 downloading... harfbuzz-14.4.0-1-aarch64 downloading... libxcb-1.17.0-1-aarch64 downloading... shared-mime-info-2.5.1-2-aarch64 downloading... libjpeg-turbo-3.2.0-2-aarch64 downloading... freetype2-2.14.3-1-aarch64 downloading... avahi-1:0.9rc5-1-aarch64 downloading... sentry-native-0.16.6-1-aarch64 downloading... libglvnd-1.7.0-3-aarch64 downloading... libdrm-2.4.134-1-aarch64 downloading... fontconfig-2:2.18.3-2-aarch64 downloading... gtest-1.18.0-1-aarch64 downloading... cppdap-1.58.0-3-aarch64 downloading... lua54-5.4.9-1-aarch64 downloading... libxkbcommon-1.13.2-1-aarch64 downloading... libcups-2:2.4.19-1-aarch64 downloading... qt6-svg-6.11.2-1-aarch64 downloading... libpng-1.6.58-2-aarch64 downloading... liburing-2.15-1-aarch64 downloading... libuv-1.52.1-2-aarch64 downloading... libinput-1.31.3-1-aarch64 downloading... c-ares-1.34.8-1-aarch64 downloading... libfido2-1.17.0-1-aarch64 downloading... duktape-2.7.0-7-aarch64 downloading... re2-2:2025.11.05-6-aarch64 downloading... rhash-1.4.6-1-aarch64 downloading... libwacom-2.20.0-1-aarch64 downloading... jsoncpp-1.9.8-1-aarch64 downloading... wayland-1.26.0-1-aarch64 downloading... lm_sensors-1:3.6.2-1-aarch64 downloading... libedit-20260512_3.1-1-aarch64 downloading... tslib-1.24-1-aarch64 downloading... libxext-1.3.7-1-aarch64 downloading... zlib-ng-2.3.3-1-aarch64 downloading... libice-1.1.2-1-aarch64 downloading... md4c-0.5.3-1-aarch64 downloading... graphite-1:1.3.15-1-aarch64 downloading... double-conversion-3.4.0-1-aarch64 downloading... libevdev-1.13.7-1-aarch64 downloading... libcbor-0.14.0-1-aarch64 downloading... libsm-1.2.6-1-aarch64 downloading... libgudev-238-3-aarch64 downloading... hidapi-0.15.0-1-aarch64 downloading... xcb-util-wm-0.4.2-2-aarch64 downloading... libxkbcommon-x11-1.13.2-1-aarch64 downloading... libproxy-0.5.12-1-aarch64 downloading... libxdmcp-1.1.5-2-aarch64 downloading... libpciaccess-0.19-1-aarch64 downloading... libb2-0.98.1-3-aarch64 downloading... libdaemon-0.14-6-aarch64 downloading... xcb-util-image-0.4.1-3-aarch64 downloading... mtdev-1.1.7-1-aarch64 downloading... libxxf86vm-1.1.7-1-aarch64 downloading... xcb-util-0.4.1-2-aarch64 downloading... xcb-util-cursor-0.1.6-1-aarch64 downloading... libxau-1.0.12-1-aarch64 downloading... xcb-util-renderutil-0.3.10-2-aarch64 downloading... xcb-util-keysyms-0.4.1-5-aarch64 downloading... libxshmfence-1.3.3-1-aarch64 downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing gtest... Optional dependencies for gtest python: gmock generator [installed] installing abseil-cpp... installing cppdap... installing hicolor-icon-theme... installing jsoncpp... Optional dependencies for jsoncpp jsoncpp-doc: documentation installing libuv... installing rhash... installing cmake... Optional dependencies for cmake make: for unix Makefile generator [installed] ninja: for ninja generator qt6-base: cmake-gui [pending] installing perl-error... installing perl-timedate... installing perl-mailtools... installing zlib-ng... installing git... Optional dependencies for git git-zsh-completion: upstream zsh completion tk: gitk and git gui openssh: ssh transport and crypto man: show help with `git command --help` perl-libwww: git svn perl-term-readkey: git svn and interactive.singlekey setting perl-io-socket-ssl: git send-email TLS support perl-authen-sasl: git send-email TLS support perl-cgi: gitweb (web interface) support python: git svn & git p4 [installed] subversion: git svn org.freedesktop.secrets: keyring credential helper libsecret: libsecret credential helper [installed] less: the default pager for git installing go... installing c-ares... installing protobuf... installing re2... installing grpc... installing libcbor... installing hidapi... Optional dependencies for hidapi libusb: for hidapi-libusb [installed] installing libfido2... installing double-conversion... installing libpng... installing freetype2... Optional dependencies for freetype2 harfbuzz: Improved autohinting [pending] installing fontconfig... Creating fontconfig configuration... Rebuilding fontconfig cache... installing graphite... Optional dependencies for graphite graphite-docs: Documentation installing harfbuzz... Optional dependencies for harfbuzz harfbuzz-utils: utilities installing libb2... installing libdaemon... installing avahi... Optional dependencies for avahi gtk3: avahi-discover, avahi-discover-standalone, bshell, bssh, bvnc libevent: libevent bindings [installed] nss-mdns: NSS support for mDNS python-dbus: avahi-bookmarks, avahi-discover python-gobject: avahi-bookmarks, avahi-discover python-twisted: avahi-bookmarks installing libcups... installing libpciaccess... installing libdrm... Optional dependencies for libdrm cairo: needed for modetest tool installing xcb-proto... installing xorgproto... installing libxdmcp... installing libxau... installing libxcb... installing libx11... installing libxext... installing libxshmfence... installing libxxf86vm... installing libedit... installing llvm-libs... installing lm_sensors... Optional dependencies for lm_sensors rrdtool: for logging with sensord perl: for sensor detection and configuration convert [installed] installing spirv-tools... installing default-cursors... Optional dependencies for default-cursors adwaita-cursors: default cursor theme installing wayland... installing mesa... Optional dependencies for mesa opengl-man-pages: for the OpenGL API man pages installing libglvnd... installing libice... installing libevdev... installing libgudev... installing libwacom... Optional dependencies for libwacom python-libevdev: for libwacom-show-stylus python-pyudev: for libwacom-show-stylus installing lua54... installing mtdev... installing libinput... Optional dependencies for libinput libinput-tools: debug utilities installing libjpeg-turbo... installing duktape... installing libproxy... installing libsm... installing liburing... installing xkeyboard-config... installing libxkbcommon... Optional dependencies for libxkbcommon libxkbcommon-x11: xkbcli interactive-x11 [pending] wayland: xkbcli interactive-wayland [installed] installing libxkbcommon-x11... installing md4c... installing shared-mime-info... installing tslib... installing xcb-util-renderutil... installing xcb-util... installing xcb-util-image... installing xcb-util-cursor... installing xcb-util-keysyms... installing xcb-util-wm... installing xdg-utils... Optional dependencies for xdg-utils kde-cli-tools: for KDE Plasma5 support in xdg-open exo: for Xfce support in xdg-open pcmanfm: for LXDE support in xdg-open perl-file-mimeinfo: for generic support in xdg-open perl-net-dbus: Perl extension to dbus used in xdg-screensaver perl-x11-protocol: Perl X11 protocol used in xdg-screensaver xorg-xset: for X11 support in xdg-screensaver xorg-xprop: for X11 support in xdg-screensaver installing qt6-translations... installing qt6-base... Optional dependencies for qt6-base freetds: MS SQL driver gdk-pixbuf2: GTK platform plugin gtk3: GTK platform plugin libfbclient: Firebird/iBase driver mariadb-libs: MariaDB driver pango: GTK platform plugin perl: for syncqt [installed] postgresql-libs: PostgreSQL driver unixodbc: ODBC driver installing qt6-declarative... Optional dependencies for qt6-declarative qt6-svg: for QtQuickVectorImage and svgtoqml [pending] installing qt6-svg... installing sentry-native... :: Running post-transaction hooks... (1/9) Creating system user accounts... Creating group 'avahi' with GID 969. Creating user 'avahi' (Avahi mDNS/DNS-SD daemon) with UID 969 and GID 969. Creating group 'git' with GID 968. Creating user 'git' (git daemon user) with UID 968 and GID 968. (2/9) Updating udev hardware database... (3/9) Reloading system manager configuration... Skipped: Current root is not booted. (4/9) Updating the MIME type database... (5/9) Reloading device manager configuration... Skipped: Current root is not booted. (6/9) Arming ConditionNeedsUpdate... (7/9) Updating fontconfig configuration... (8/9) Reloading system bus configuration... Skipped: Current root is not booted. (9/9) Updating fontconfig cache... ==> Retrieving sources... -> Found protonmail-bridge.service -> Found remove-vcpkg-dependency.patch -> Found fix-wayland-icon.patch ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Creating working copy of proton-bridge git repo... Cloning into 'proton-bridge'... done. Switched to a new branch 'makepkg' ==> Starting prepare()... patching file internal/frontend/bridge-gui/BridgeSetup.cmake patching file internal/frontend/bridge-gui/bridge-gui/main.cpp Hunk #1 succeeded at 89 (offset 1 line). go: downloading golang.org/x/sys v0.46.0 go: downloading github.com/sirupsen/logrus v1.9.4 go: downloading github.com/stretchr/testify v1.11.1 go: downloading go.uber.org/mock v0.6.0 go: downloading github.com/Masterminds/semver/v3 v3.4.0 go: downloading github.com/ProtonMail/gluon v0.17.1-0.20260804145626-5e16fef13166 go: downloading github.com/ProtonMail/go-proton-api v0.4.1-0.20260805144911-aa74ef400fcd go: downloading google.golang.org/grpc v1.82.1 go: downloading google.golang.org/protobuf v1.36.11 go: downloading github.com/ProtonMail/go-autostart v0.0.0-20260210134425-40a9013f5ef4 go: downloading github.com/ProtonMail/gopenpgp/v2 v2.10.0-proton go: downloading github.com/allan-simon/go-singleinstance v0.0.0-20210120080615-d0997106ab37 go: downloading github.com/elastic/go-sysinfo v1.15.4 go: downloading github.com/pkg/errors v0.9.1 go: downloading github.com/hashicorp/go-multierror v1.1.1 go: downloading github.com/pkg/profile v1.7.0 go: downloading github.com/urfave/cli/v2 v2.27.7 go: downloading github.com/0xAX/notificator v0.0.0-20220220101646-ee9b8921e557 go: downloading github.com/abiosoft/ishell v2.0.0+incompatible go: downloading github.com/fatih/color v1.18.0 go: downloading github.com/ProtonMail/resty/v2 v2.0.0-20250929142426-e3dc6308c80b go: downloading howett.net/plist v1.0.1 go: downloading github.com/bradenaw/juniper v0.15.3 go: downloading github.com/getsentry/sentry-go v0.15.0 go: downloading github.com/jeandeaual/go-locale v0.0.0-20250612000132-0ef82f21eade go: downloading github.com/google/go-cmp v0.7.0 go: downloading github.com/miekg/dns v1.1.72 go: downloading golang.org/x/net v0.56.0 go: downloading github.com/google/uuid v1.6.0 go: downloading github.com/ProtonMail/go-libfido2 v0.0.0-20250916110427-df894d6d07a1 go: downloading github.com/fxamacker/cbor/v2 v2.9.0 go: downloading github.com/go-ctap/ctaphid v0.8.3 go: downloading github.com/ProtonMail/go-smtp v0.0.0-20231109081432-2b3d50599865 go: downloading github.com/ProtonMail/winhello v0.0.0-20260223131736-d2c4f2d06287 go: downloading github.com/pbnjay/memory v0.0.0-20210728143218-7b4eea64cf58 go: downloading github.com/ProtonMail/go-message v0.13.1-0.20240919135104-3bc88e6a9423 go: downloading github.com/emersion/go-sasl v0.0.0-20220912192320-0145f2c60ead go: downloading go.uber.org/goleak v1.3.0 go: downloading github.com/PuerkitoBio/goquery v1.12.0 go: downloading github.com/cucumber/godog v0.12.5 go: downloading google.golang.org/api v0.275.0 go: downloading golang.org/x/text v0.39.0 go: downloading github.com/jaytaylor/html2text v0.0.0-20260303211410-1a4bdc82ecec go: downloading golang.org/x/oauth2 v0.36.0 go: downloading github.com/docker/docker-credential-helpers v0.9.5 go: downloading github.com/godbus/dbus v4.1.0+incompatible go: downloading github.com/vmihailenco/msgpack/v5 v5.4.1 go: downloading github.com/ProtonMail/go-keychain v0.0.0-20250929142014-ea8548dff768 go: downloading github.com/emersion/go-imap v1.2.1 go: downloading github.com/emersion/go-imap-id v0.0.0-20190926060100-f94a56b9ecde go: downloading github.com/cucumber/messages-go/v16 v16.0.1 go: downloading github.com/emersion/go-vcard v0.0.0-20230331202150-f3d26859ccd3 go: downloading github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc go: downloading github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 go: downloading github.com/hashicorp/errwrap v1.1.0 go: downloading github.com/felixge/fgprof v0.9.5 go: downloading github.com/mattn/go-colorable v0.1.14 go: downloading github.com/mattn/go-isatty v0.0.20 go: downloading github.com/ProtonMail/go-crypto v1.4.1-proton go: downloading github.com/ProtonMail/go-mime v0.0.0-20230322103455-7d82a3887f2f go: downloading github.com/ProtonMail/go-srp v0.0.7 go: downloading gitlab.com/c0b/go-ordered-json v0.0.0-20201030195603-febf46534d5a go: downloading github.com/abiosoft/readline v0.0.0-20180607040430-155bce2042db go: downloading github.com/flynn-archive/go-shlex v0.0.0-20150515145356-3f9db97f8568 go: downloading github.com/cpuguy83/go-md2man/v2 v2.0.7 go: downloading github.com/xrash/smetrics v0.0.0-20250705151800-55b8f293f342 go: downloading github.com/gin-gonic/gin v1.12.0 go: downloading golang.org/x/tools v0.47.0 go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20260414002931-afd174a4e478 go: downloading golang.org/x/sync v0.21.0 go: downloading github.com/x448/float16 v0.8.4 go: downloading github.com/mattn/go-sqlite3 v1.14.42 go: downloading github.com/pierrec/lz4/v4 v4.1.26 go: downloading github.com/stretchr/objx v0.5.2 go: downloading github.com/andybalholm/cascadia v1.3.3 go: downloading github.com/ldclabs/cose v1.3.4 go: downloading github.com/olekukonko/tablewriter v1.1.4 go: downloading github.com/ssor/bom v0.0.0-20170718123548-6386211fdfcf go: downloading cloud.google.com/go/compute/metadata v0.9.0 go: downloading github.com/emersion/go-textwrapper v0.0.0-20200911093747-65d896831594 go: downloading github.com/danieljoos/wincred v1.2.3 go: downloading github.com/vmihailenco/tagparser/v2 v2.0.0 go: downloading github.com/gofrs/uuid v4.4.0+incompatible go: downloading gopkg.in/yaml.v3 v3.0.1 go: downloading github.com/prometheus/procfs v0.20.1 go: downloading github.com/elastic/go-windows v1.0.2 go: downloading github.com/google/pprof v0.0.0-20260302011040-a15ffb7f9dcc go: downloading github.com/spf13/pflag v1.0.10 go: downloading golang.org/x/crypto v0.53.0 go: downloading github.com/cloudflare/circl v1.6.3 go: downloading github.com/russross/blackfriday/v2 v2.1.0 go: downloading github.com/gin-contrib/sse v1.1.0 go: downloading github.com/quic-go/quic-go v0.59.0 go: downloading golang.org/x/exp v0.0.0-20260312153236-7ab1446f8b90 go: downloading github.com/mattn/go-runewidth v0.0.21 go: downloading github.com/olekukonko/errors v1.2.0 go: downloading github.com/olekukonko/ll v0.1.7 go: downloading github.com/cucumber/gherkin-go/v19 v19.0.3 go: downloading github.com/hashicorp/go-memdb v1.3.5 go: downloading github.com/go-playground/validator/v10 v10.30.1 go: downloading github.com/goccy/go-yaml v1.19.2 go: downloading github.com/pelletier/go-toml/v2 v2.2.4 go: downloading github.com/ugorji/go/codec v1.3.1 go: downloading go.mongodb.org/mongo-driver/v2 v2.5.0 go: downloading github.com/bytedance/sonic v1.15.0 go: downloading github.com/goccy/go-json v0.10.6 go: downloading github.com/json-iterator/go v1.1.12 go: downloading github.com/quic-go/qpack v0.6.0 go: downloading github.com/clipperhouse/uax29/v2 v2.7.0 go: downloading github.com/olekukonko/cat v0.0.0-20250911104152-50322a0618f6 go: downloading github.com/cespare/xxhash/v2 v2.3.0 go: downloading github.com/clipperhouse/displaywidth v0.11.0 go: downloading github.com/hashicorp/go-immutable-radix v1.3.1 go: downloading golang.org/x/mod v0.37.0 go: downloading github.com/gabriel-vasile/mimetype v1.4.12 go: downloading github.com/go-playground/universal-translator v0.18.1 go: downloading github.com/leodido/go-urn v1.4.0 go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd go: downloading github.com/modern-go/reflect2 v1.0.2 go: downloading github.com/hashicorp/golang-lru v1.0.2 go: downloading github.com/go-playground/locales v0.14.1 go: downloading github.com/bytedance/gopkg v0.1.3 go: downloading github.com/cloudwego/base64x v0.1.6 go: downloading golang.org/x/arch v0.22.0 go: downloading github.com/ProtonMail/bcrypt v0.0.0-20211005172633-e235017c1baf go: downloading github.com/cronokirby/saferith v0.33.0 go: downloading github.com/klauspost/cpuid/v2 v2.3.0 go: downloading github.com/bytedance/sonic/loader v0.5.0 go: downloading github.com/twitchyliquid64/golang-asm v0.15.1 go: downloading cloud.google.com/go/auth v0.20.0 go: downloading cloud.google.com/go/auth/oauth2adapt v0.2.8 go: downloading github.com/googleapis/gax-go/v2 v2.21.0 go: downloading go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.67.0 go: downloading github.com/google/s2a-go v0.1.9 go: downloading github.com/googleapis/enterprise-certificate-proxy v0.3.14 go: downloading go.opentelemetry.io/otel v1.43.0 go: downloading go.opentelemetry.io/otel/metric v1.43.0 go: downloading go.opentelemetry.io/otel/trace v1.43.0 go: downloading github.com/felixge/httpsnoop v1.0.4 go: downloading go.opentelemetry.io/auto/sdk v1.2.1 go: downloading github.com/go-logr/logr v1.4.3 go: downloading github.com/go-logr/stdr v1.2.2 # cloud.google.com/go/auth v0.20.0 ## explicit; go 1.25.0 cloud.google.com/go/auth cloud.google.com/go/auth/credentials cloud.google.com/go/auth/credentials/internal/externalaccount cloud.google.com/go/auth/credentials/internal/externalaccountuser cloud.google.com/go/auth/credentials/internal/gdch cloud.google.com/go/auth/credentials/internal/impersonate cloud.google.com/go/auth/credentials/internal/stsexchange cloud.google.com/go/auth/httptransport cloud.google.com/go/auth/internal cloud.google.com/go/auth/internal/credsfile cloud.google.com/go/auth/internal/jwt cloud.google.com/go/auth/internal/retry cloud.google.com/go/auth/internal/transport cloud.google.com/go/auth/internal/transport/cert cloud.google.com/go/auth/internal/transport/headers cloud.google.com/go/auth/internal/trustboundary # cloud.google.com/go/auth/oauth2adapt v0.2.8 ## explicit; go 1.23.0 cloud.google.com/go/auth/oauth2adapt # cloud.google.com/go/compute/metadata v0.9.0 ## explicit; go 1.24.0 cloud.google.com/go/compute/metadata # github.com/0xAX/notificator v0.0.0-20220220101646-ee9b8921e557 ## explicit; go 1.16 github.com/0xAX/notificator # github.com/Masterminds/semver/v3 v3.4.0 ## explicit; go 1.21 github.com/Masterminds/semver/v3 # github.com/ProtonMail/bcrypt v0.0.0-20211005172633-e235017c1baf ## explicit; go 1.17 github.com/ProtonMail/bcrypt # github.com/ProtonMail/gluon v0.17.1-0.20260804145626-5e16fef13166 ## explicit; go 1.26.1 github.com/ProtonMail/gluon github.com/ProtonMail/gluon/async github.com/ProtonMail/gluon/connector github.com/ProtonMail/gluon/constants github.com/ProtonMail/gluon/db github.com/ProtonMail/gluon/events github.com/ProtonMail/gluon/imap github.com/ProtonMail/gluon/imap/command github.com/ProtonMail/gluon/imap/connectioncounter github.com/ProtonMail/gluon/imap/connectionlimiter github.com/ProtonMail/gluon/internal/backend github.com/ProtonMail/gluon/internal/contexts github.com/ProtonMail/gluon/internal/db_impl/sqlite3 github.com/ProtonMail/gluon/internal/db_impl/sqlite3/utils github.com/ProtonMail/gluon/internal/db_impl/sqlite3/v0 github.com/ProtonMail/gluon/internal/db_impl/sqlite3/v1 github.com/ProtonMail/gluon/internal/db_impl/sqlite3/v2 github.com/ProtonMail/gluon/internal/db_impl/sqlite3/v3 github.com/ProtonMail/gluon/internal/hash github.com/ProtonMail/gluon/internal/ids github.com/ProtonMail/gluon/internal/response github.com/ProtonMail/gluon/internal/session github.com/ProtonMail/gluon/internal/session/cmdwatcher github.com/ProtonMail/gluon/internal/state github.com/ProtonMail/gluon/internal/ticker github.com/ProtonMail/gluon/internal/unleash github.com/ProtonMail/gluon/internal/unleash/featureflags github.com/ProtonMail/gluon/internal/utils github.com/ProtonMail/gluon/limits github.com/ProtonMail/gluon/liner github.com/ProtonMail/gluon/logging github.com/ProtonMail/gluon/observability github.com/ProtonMail/gluon/observability/metrics github.com/ProtonMail/gluon/pkg/utils github.com/ProtonMail/gluon/profiling github.com/ProtonMail/gluon/reporter github.com/ProtonMail/gluon/rfc5322 github.com/ProtonMail/gluon/rfc822 github.com/ProtonMail/gluon/rfcparser github.com/ProtonMail/gluon/rfcvalidation github.com/ProtonMail/gluon/store github.com/ProtonMail/gluon/store/fallback_v0 github.com/ProtonMail/gluon/version github.com/ProtonMail/gluon/watcher # github.com/ProtonMail/go-autostart v0.0.0-20260210134425-40a9013f5ef4 ## explicit github.com/ProtonMail/go-autostart # github.com/ProtonMail/go-crypto v1.4.1-proton ## explicit; go 1.23.0 github.com/ProtonMail/go-crypto/bitcurves github.com/ProtonMail/go-crypto/brainpool github.com/ProtonMail/go-crypto/eax github.com/ProtonMail/go-crypto/internal/byteutil github.com/ProtonMail/go-crypto/ocb github.com/ProtonMail/go-crypto/openpgp github.com/ProtonMail/go-crypto/openpgp/aes/keywrap github.com/ProtonMail/go-crypto/openpgp/armor github.com/ProtonMail/go-crypto/openpgp/clearsign github.com/ProtonMail/go-crypto/openpgp/ecdh github.com/ProtonMail/go-crypto/openpgp/ecdsa github.com/ProtonMail/go-crypto/openpgp/ed25519 github.com/ProtonMail/go-crypto/openpgp/ed448 github.com/ProtonMail/go-crypto/openpgp/eddsa github.com/ProtonMail/go-crypto/openpgp/elgamal github.com/ProtonMail/go-crypto/openpgp/errors github.com/ProtonMail/go-crypto/openpgp/internal/algorithm github.com/ProtonMail/go-crypto/openpgp/internal/ecc github.com/ProtonMail/go-crypto/openpgp/internal/ecc/curve25519 github.com/ProtonMail/go-crypto/openpgp/internal/ecc/curve25519/field github.com/ProtonMail/go-crypto/openpgp/internal/encoding github.com/ProtonMail/go-crypto/openpgp/mldsa_eddsa github.com/ProtonMail/go-crypto/openpgp/mlkem_ecdh github.com/ProtonMail/go-crypto/openpgp/packet github.com/ProtonMail/go-crypto/openpgp/s2k github.com/ProtonMail/go-crypto/openpgp/symmetric github.com/ProtonMail/go-crypto/openpgp/x25519 github.com/ProtonMail/go-crypto/openpgp/x448 # github.com/ProtonMail/go-mime v0.0.0-20230322103455-7d82a3887f2f ## explicit; go 1.12 github.com/ProtonMail/go-mime # github.com/ProtonMail/go-proton-api v0.4.1-0.20260805144911-aa74ef400fcd ## explicit; go 1.26.1 github.com/ProtonMail/go-proton-api github.com/ProtonMail/go-proton-api/pkg/utils github.com/ProtonMail/go-proton-api/server github.com/ProtonMail/go-proton-api/server/backend # github.com/ProtonMail/go-srp v0.0.7 ## explicit; go 1.12 github.com/ProtonMail/go-srp # github.com/ProtonMail/gopenpgp/v2 v2.10.0-proton ## explicit; go 1.23.0 github.com/ProtonMail/gopenpgp/v2/armor github.com/ProtonMail/gopenpgp/v2/constants github.com/ProtonMail/gopenpgp/v2/crypto github.com/ProtonMail/gopenpgp/v2/helper github.com/ProtonMail/gopenpgp/v2/internal # github.com/PuerkitoBio/goquery v1.12.0 ## explicit; go 1.25.0 github.com/PuerkitoBio/goquery # github.com/abiosoft/ishell v2.0.0+incompatible ## explicit github.com/abiosoft/ishell # github.com/abiosoft/readline v0.0.0-20180607040430-155bce2042db ## explicit github.com/abiosoft/readline # github.com/allan-simon/go-singleinstance v0.0.0-20210120080615-d0997106ab37 ## explicit; go 1.15 github.com/allan-simon/go-singleinstance # github.com/andybalholm/cascadia v1.3.3 ## explicit; go 1.16 github.com/andybalholm/cascadia # github.com/bradenaw/juniper v0.15.3 ## explicit; go 1.18 github.com/bradenaw/juniper/container/xheap github.com/bradenaw/juniper/internal/heap github.com/bradenaw/juniper/iterator github.com/bradenaw/juniper/parallel github.com/bradenaw/juniper/stream github.com/bradenaw/juniper/xerrors github.com/bradenaw/juniper/xmaps github.com/bradenaw/juniper/xmath github.com/bradenaw/juniper/xslices github.com/bradenaw/juniper/xsort # github.com/bytedance/gopkg v0.1.3 ## explicit; go 1.18 github.com/bytedance/gopkg/lang/dirtmake # github.com/bytedance/sonic v1.15.0 ## explicit; go 1.18 github.com/bytedance/sonic github.com/bytedance/sonic/ast github.com/bytedance/sonic/decoder github.com/bytedance/sonic/encoder github.com/bytedance/sonic/internal/caching github.com/bytedance/sonic/internal/compat github.com/bytedance/sonic/internal/cpu github.com/bytedance/sonic/internal/decoder/api github.com/bytedance/sonic/internal/decoder/consts github.com/bytedance/sonic/internal/decoder/errors github.com/bytedance/sonic/internal/decoder/jitdec github.com/bytedance/sonic/internal/decoder/optdec github.com/bytedance/sonic/internal/encoder github.com/bytedance/sonic/internal/encoder/alg github.com/bytedance/sonic/internal/encoder/ir github.com/bytedance/sonic/internal/encoder/prim github.com/bytedance/sonic/internal/encoder/vars github.com/bytedance/sonic/internal/encoder/vm github.com/bytedance/sonic/internal/encoder/x86 github.com/bytedance/sonic/internal/envs github.com/bytedance/sonic/internal/jit github.com/bytedance/sonic/internal/native github.com/bytedance/sonic/internal/native/avx2 github.com/bytedance/sonic/internal/native/neon github.com/bytedance/sonic/internal/native/sse github.com/bytedance/sonic/internal/native/types github.com/bytedance/sonic/internal/optcaching github.com/bytedance/sonic/internal/resolver github.com/bytedance/sonic/internal/rt github.com/bytedance/sonic/internal/utils github.com/bytedance/sonic/option github.com/bytedance/sonic/unquote github.com/bytedance/sonic/utf8 # github.com/bytedance/sonic/loader v0.5.0 ## explicit; go 1.16 github.com/bytedance/sonic/loader github.com/bytedance/sonic/loader/internal/abi github.com/bytedance/sonic/loader/internal/iasm/expr github.com/bytedance/sonic/loader/internal/iasm/x86_64 github.com/bytedance/sonic/loader/internal/rt # github.com/cespare/xxhash/v2 v2.3.0 ## explicit; go 1.11 github.com/cespare/xxhash/v2 # github.com/clipperhouse/displaywidth v0.11.0 ## explicit; go 1.18 github.com/clipperhouse/displaywidth # github.com/clipperhouse/uax29/v2 v2.7.0 ## explicit; go 1.18 github.com/clipperhouse/uax29/v2/graphemes # github.com/cloudflare/circl v1.6.3 ## explicit; go 1.22.0 github.com/cloudflare/circl/dh/x25519 github.com/cloudflare/circl/dh/x448 github.com/cloudflare/circl/ecc/goldilocks github.com/cloudflare/circl/internal/conv github.com/cloudflare/circl/internal/sha3 github.com/cloudflare/circl/kem github.com/cloudflare/circl/kem/mlkem/mlkem1024 github.com/cloudflare/circl/kem/mlkem/mlkem768 github.com/cloudflare/circl/math github.com/cloudflare/circl/math/fp25519 github.com/cloudflare/circl/math/fp448 github.com/cloudflare/circl/math/mlsbset github.com/cloudflare/circl/pke/kyber/internal/common github.com/cloudflare/circl/pke/kyber/internal/common/params github.com/cloudflare/circl/pke/kyber/kyber1024 github.com/cloudflare/circl/pke/kyber/kyber1024/internal github.com/cloudflare/circl/pke/kyber/kyber768 github.com/cloudflare/circl/pke/kyber/kyber768/internal github.com/cloudflare/circl/sign github.com/cloudflare/circl/sign/ed25519 github.com/cloudflare/circl/sign/ed448 github.com/cloudflare/circl/sign/internal/dilithium github.com/cloudflare/circl/sign/internal/dilithium/params github.com/cloudflare/circl/sign/mldsa/mldsa65 github.com/cloudflare/circl/sign/mldsa/mldsa65/internal github.com/cloudflare/circl/sign/mldsa/mldsa87 github.com/cloudflare/circl/sign/mldsa/mldsa87/internal github.com/cloudflare/circl/simd/keccakf1600 # github.com/cloudwego/base64x v0.1.6 ## explicit; go 1.17 github.com/cloudwego/base64x github.com/cloudwego/base64x/internal/native github.com/cloudwego/base64x/internal/native/avx2 github.com/cloudwego/base64x/internal/native/sse github.com/cloudwego/base64x/internal/rt # github.com/cpuguy83/go-md2man/v2 v2.0.7 ## explicit; go 1.12 github.com/cpuguy83/go-md2man/v2/md2man # github.com/cronokirby/saferith v0.33.0 ## explicit; go 1.15 github.com/cronokirby/saferith # github.com/cucumber/gherkin-go/v19 v19.0.3 ## explicit; go 1.13 github.com/cucumber/gherkin-go/v19 # github.com/cucumber/godog v0.12.5 ## explicit; go 1.13 github.com/cucumber/godog github.com/cucumber/godog/colors github.com/cucumber/godog/formatters github.com/cucumber/godog/internal/builder github.com/cucumber/godog/internal/flags github.com/cucumber/godog/internal/formatters github.com/cucumber/godog/internal/models github.com/cucumber/godog/internal/parser github.com/cucumber/godog/internal/storage github.com/cucumber/godog/internal/tags github.com/cucumber/godog/internal/utils # github.com/cucumber/messages-go/v16 v16.0.1 ## explicit; go 1.13 github.com/cucumber/messages-go/v16 # github.com/danieljoos/wincred v1.2.3 ## explicit; go 1.18 github.com/danieljoos/wincred # github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc ## explicit github.com/davecgh/go-spew/spew # github.com/docker/docker-credential-helpers v0.9.5 ## explicit; go 1.21 github.com/docker/docker-credential-helpers/credentials github.com/docker/docker-credential-helpers/pass github.com/docker/docker-credential-helpers/registryurl github.com/docker/docker-credential-helpers/secretservice github.com/docker/docker-credential-helpers/wincred # github.com/elastic/go-sysinfo v1.15.4 ## explicit; go 1.23.0 github.com/elastic/go-sysinfo github.com/elastic/go-sysinfo/internal/registry github.com/elastic/go-sysinfo/providers/aix github.com/elastic/go-sysinfo/providers/darwin github.com/elastic/go-sysinfo/providers/linux github.com/elastic/go-sysinfo/providers/shared github.com/elastic/go-sysinfo/providers/windows github.com/elastic/go-sysinfo/types # github.com/elastic/go-windows v1.0.2 ## explicit; go 1.18 github.com/elastic/go-windows # github.com/emersion/go-imap v1.2.1 ## explicit; go 1.13 github.com/emersion/go-imap github.com/emersion/go-imap/backend github.com/emersion/go-imap/client github.com/emersion/go-imap/commands github.com/emersion/go-imap/responses github.com/emersion/go-imap/server github.com/emersion/go-imap/utf7 # github.com/emersion/go-imap-id v0.0.0-20190926060100-f94a56b9ecde ## explicit github.com/emersion/go-imap-id # github.com/emersion/go-message v0.16.0 => github.com/ProtonMail/go-message v0.13.1-0.20240919135104-3bc88e6a9423 ## explicit; go 1.14 github.com/emersion/go-message github.com/emersion/go-message/textproto # github.com/emersion/go-sasl v0.0.0-20220912192320-0145f2c60ead ## explicit; go 1.12 github.com/emersion/go-sasl # github.com/emersion/go-smtp v0.15.1-0.20221021114529-49b17434419d => github.com/ProtonMail/go-smtp v0.0.0-20231109081432-2b3d50599865 ## explicit; go 1.13 github.com/emersion/go-smtp # github.com/emersion/go-textwrapper v0.0.0-20200911093747-65d896831594 ## explicit github.com/emersion/go-textwrapper # github.com/emersion/go-vcard v0.0.0-20230331202150-f3d26859ccd3 ## explicit; go 1.13 github.com/emersion/go-vcard # github.com/fatih/color v1.18.0 ## explicit; go 1.17 github.com/fatih/color # github.com/felixge/fgprof v0.9.5 ## explicit; go 1.14 github.com/felixge/fgprof # github.com/felixge/httpsnoop v1.0.4 ## explicit; go 1.13 github.com/felixge/httpsnoop # github.com/flynn-archive/go-shlex v0.0.0-20150515145356-3f9db97f8568 ## explicit github.com/flynn-archive/go-shlex # github.com/fxamacker/cbor/v2 v2.9.0 ## explicit; go 1.20 github.com/fxamacker/cbor/v2 # github.com/gabriel-vasile/mimetype v1.4.12 ## explicit; go 1.21 github.com/gabriel-vasile/mimetype github.com/gabriel-vasile/mimetype/internal/charset github.com/gabriel-vasile/mimetype/internal/csv github.com/gabriel-vasile/mimetype/internal/json github.com/gabriel-vasile/mimetype/internal/magic github.com/gabriel-vasile/mimetype/internal/markup github.com/gabriel-vasile/mimetype/internal/scan # github.com/getsentry/sentry-go v0.15.0 ## explicit; go 1.19 github.com/getsentry/sentry-go github.com/getsentry/sentry-go/internal/crypto/randutil github.com/getsentry/sentry-go/internal/debug github.com/getsentry/sentry-go/internal/ratelimit # github.com/gin-contrib/sse v1.1.0 ## explicit; go 1.23 github.com/gin-contrib/sse # github.com/gin-gonic/gin v1.12.0 ## explicit; go 1.25.0 github.com/gin-gonic/gin github.com/gin-gonic/gin/binding github.com/gin-gonic/gin/codec/json github.com/gin-gonic/gin/internal/bytesconv github.com/gin-gonic/gin/internal/fs github.com/gin-gonic/gin/render # github.com/go-ctap/ctaphid v0.8.3 ## explicit; go 1.24.0 github.com/go-ctap/ctaphid/pkg/ctaptypes github.com/go-ctap/ctaphid/pkg/webauthntypes # github.com/go-ctap/winhello v0.1.0 => github.com/ProtonMail/winhello v0.0.0-20260223131736-d2c4f2d06287 ## explicit; go 1.24.4 github.com/go-ctap/winhello github.com/go-ctap/winhello/window # github.com/go-logr/logr v1.4.3 ## explicit; go 1.18 github.com/go-logr/logr github.com/go-logr/logr/funcr # github.com/go-logr/stdr v1.2.2 ## explicit; go 1.16 github.com/go-logr/stdr # github.com/go-playground/locales v0.14.1 ## explicit; go 1.17 github.com/go-playground/locales github.com/go-playground/locales/currency # github.com/go-playground/universal-translator v0.18.1 ## explicit; go 1.18 github.com/go-playground/universal-translator # github.com/go-playground/validator/v10 v10.30.1 ## explicit; go 1.24.0 github.com/go-playground/validator/v10 # github.com/go-resty/resty/v2 v2.17.2 => github.com/ProtonMail/resty/v2 v2.0.0-20250929142426-e3dc6308c80b ## explicit; go 1.16 github.com/go-resty/resty/v2 # github.com/goccy/go-json v0.10.6 ## explicit; go 1.19 github.com/goccy/go-json github.com/goccy/go-json/internal/decoder github.com/goccy/go-json/internal/encoder github.com/goccy/go-json/internal/encoder/vm github.com/goccy/go-json/internal/encoder/vm_color github.com/goccy/go-json/internal/encoder/vm_color_indent github.com/goccy/go-json/internal/encoder/vm_indent github.com/goccy/go-json/internal/errors github.com/goccy/go-json/internal/runtime # github.com/goccy/go-yaml v1.19.2 ## explicit; go 1.21.0 github.com/goccy/go-yaml github.com/goccy/go-yaml/ast github.com/goccy/go-yaml/internal/errors github.com/goccy/go-yaml/internal/format github.com/goccy/go-yaml/lexer github.com/goccy/go-yaml/parser github.com/goccy/go-yaml/printer github.com/goccy/go-yaml/scanner github.com/goccy/go-yaml/token # github.com/godbus/dbus v4.1.0+incompatible ## explicit github.com/godbus/dbus # github.com/gofrs/uuid v4.4.0+incompatible ## explicit github.com/gofrs/uuid # github.com/google/go-cmp v0.7.0 ## explicit; go 1.21 github.com/google/go-cmp/cmp github.com/google/go-cmp/cmp/internal/diff github.com/google/go-cmp/cmp/internal/flags github.com/google/go-cmp/cmp/internal/function github.com/google/go-cmp/cmp/internal/value # github.com/google/pprof v0.0.0-20260302011040-a15ffb7f9dcc ## explicit; go 1.24.0 github.com/google/pprof/profile # github.com/google/s2a-go v0.1.9 ## explicit; go 1.20 github.com/google/s2a-go github.com/google/s2a-go/fallback github.com/google/s2a-go/internal/authinfo github.com/google/s2a-go/internal/handshaker github.com/google/s2a-go/internal/handshaker/service github.com/google/s2a-go/internal/proto/common_go_proto github.com/google/s2a-go/internal/proto/s2a_context_go_proto github.com/google/s2a-go/internal/proto/s2a_go_proto github.com/google/s2a-go/internal/proto/v2/common_go_proto github.com/google/s2a-go/internal/proto/v2/s2a_context_go_proto github.com/google/s2a-go/internal/proto/v2/s2a_go_proto github.com/google/s2a-go/internal/record github.com/google/s2a-go/internal/record/internal/aeadcrypter github.com/google/s2a-go/internal/record/internal/halfconn github.com/google/s2a-go/internal/tokenmanager github.com/google/s2a-go/internal/v2 github.com/google/s2a-go/internal/v2/certverifier github.com/google/s2a-go/internal/v2/remotesigner github.com/google/s2a-go/internal/v2/tlsconfigstore github.com/google/s2a-go/retry github.com/google/s2a-go/stream # github.com/google/uuid v1.6.0 ## explicit github.com/google/uuid # github.com/googleapis/enterprise-certificate-proxy v0.3.14 ## explicit; go 1.24.11 github.com/googleapis/enterprise-certificate-proxy/client github.com/googleapis/enterprise-certificate-proxy/client/util # github.com/googleapis/gax-go/v2 v2.21.0 ## explicit; go 1.25.0 github.com/googleapis/gax-go/v2 github.com/googleapis/gax-go/v2/apierror github.com/googleapis/gax-go/v2/apierror/internal/proto github.com/googleapis/gax-go/v2/callctx github.com/googleapis/gax-go/v2/internal github.com/googleapis/gax-go/v2/internallog github.com/googleapis/gax-go/v2/internallog/internal # github.com/hashicorp/errwrap v1.1.0 ## explicit github.com/hashicorp/errwrap # github.com/hashicorp/go-immutable-radix v1.3.1 ## explicit github.com/hashicorp/go-immutable-radix # github.com/hashicorp/go-memdb v1.3.5 ## explicit; go 1.13 github.com/hashicorp/go-memdb # github.com/hashicorp/go-multierror v1.1.1 ## explicit; go 1.13 github.com/hashicorp/go-multierror # github.com/hashicorp/golang-lru v1.0.2 ## explicit; go 1.12 github.com/hashicorp/golang-lru/simplelru # github.com/jaytaylor/html2text v0.0.0-20260303211410-1a4bdc82ecec ## explicit github.com/jaytaylor/html2text # github.com/jeandeaual/go-locale v0.0.0-20250612000132-0ef82f21eade ## explicit; go 1.18 github.com/jeandeaual/go-locale # github.com/json-iterator/go v1.1.12 ## explicit; go 1.12 github.com/json-iterator/go # github.com/keybase/go-keychain v0.0.1 => github.com/ProtonMail/go-keychain v0.0.0-20250929142014-ea8548dff768 ## explicit; go 1.17 github.com/keybase/go-keychain github.com/keybase/go-keychain/secretservice # github.com/keys-pub/go-libfido2 v1.5.4-0.20250104233141-2534349bd685 => github.com/ProtonMail/go-libfido2 v0.0.0-20250916110427-df894d6d07a1 ## explicit; go 1.13 github.com/keys-pub/go-libfido2 # github.com/klauspost/cpuid/v2 v2.3.0 ## explicit; go 1.22 github.com/klauspost/cpuid/v2 # github.com/ldclabs/cose v1.3.4 ## explicit; go 1.25.0 github.com/ldclabs/cose/iana github.com/ldclabs/cose/key # github.com/leodido/go-urn v1.4.0 ## explicit; go 1.18 github.com/leodido/go-urn github.com/leodido/go-urn/scim/schema # github.com/mattn/go-colorable v0.1.14 ## explicit; go 1.18 github.com/mattn/go-colorable # github.com/mattn/go-isatty v0.0.20 ## explicit; go 1.15 github.com/mattn/go-isatty # github.com/mattn/go-runewidth v0.0.21 ## explicit; go 1.20 github.com/mattn/go-runewidth # github.com/mattn/go-sqlite3 v1.14.42 ## explicit; go 1.21 github.com/mattn/go-sqlite3 # github.com/miekg/dns v1.1.72 ## explicit; go 1.24.0 github.com/miekg/dns # github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd ## explicit github.com/modern-go/concurrent # github.com/modern-go/reflect2 v1.0.2 ## explicit; go 1.12 github.com/modern-go/reflect2 # github.com/olekukonko/cat v0.0.0-20250911104152-50322a0618f6 ## explicit; go 1.21 github.com/olekukonko/cat # github.com/olekukonko/errors v1.2.0 ## explicit; go 1.21 github.com/olekukonko/errors # github.com/olekukonko/ll v0.1.7 ## explicit; go 1.21 github.com/olekukonko/ll github.com/olekukonko/ll/lh github.com/olekukonko/ll/lx # github.com/olekukonko/tablewriter v1.1.4 ## explicit; go 1.21 github.com/olekukonko/tablewriter github.com/olekukonko/tablewriter/pkg/twcache github.com/olekukonko/tablewriter/pkg/twwarp github.com/olekukonko/tablewriter/pkg/twwidth github.com/olekukonko/tablewriter/renderer github.com/olekukonko/tablewriter/tw # github.com/pbnjay/memory v0.0.0-20210728143218-7b4eea64cf58 ## explicit; go 1.16 github.com/pbnjay/memory # github.com/pelletier/go-toml/v2 v2.2.4 ## explicit; go 1.21.0 github.com/pelletier/go-toml/v2 github.com/pelletier/go-toml/v2/internal/characters github.com/pelletier/go-toml/v2/internal/danger github.com/pelletier/go-toml/v2/internal/tracker github.com/pelletier/go-toml/v2/unstable # github.com/pierrec/lz4/v4 v4.1.26 ## explicit; go 1.17 github.com/pierrec/lz4/v4 github.com/pierrec/lz4/v4/internal/lz4block github.com/pierrec/lz4/v4/internal/lz4errors github.com/pierrec/lz4/v4/internal/lz4stream github.com/pierrec/lz4/v4/internal/xxh32 # github.com/pkg/errors v0.9.1 ## explicit github.com/pkg/errors # github.com/pkg/profile v1.7.0 ## explicit; go 1.13 github.com/pkg/profile # github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 ## explicit github.com/pmezard/go-difflib/difflib # github.com/prometheus/procfs v0.20.1 ## explicit; go 1.25.0 github.com/prometheus/procfs github.com/prometheus/procfs/internal/fs github.com/prometheus/procfs/internal/util # github.com/quic-go/qpack v0.6.0 ## explicit; go 1.24 github.com/quic-go/qpack # github.com/quic-go/quic-go v0.59.0 ## explicit; go 1.24 github.com/quic-go/quic-go github.com/quic-go/quic-go/http3 github.com/quic-go/quic-go/http3/qlog github.com/quic-go/quic-go/internal/ackhandler github.com/quic-go/quic-go/internal/congestion github.com/quic-go/quic-go/internal/flowcontrol github.com/quic-go/quic-go/internal/handshake github.com/quic-go/quic-go/internal/monotime github.com/quic-go/quic-go/internal/protocol github.com/quic-go/quic-go/internal/qerr github.com/quic-go/quic-go/internal/utils github.com/quic-go/quic-go/internal/utils/linkedlist github.com/quic-go/quic-go/internal/utils/ringbuffer github.com/quic-go/quic-go/internal/wire github.com/quic-go/quic-go/qlog github.com/quic-go/quic-go/qlogwriter github.com/quic-go/quic-go/qlogwriter/jsontext github.com/quic-go/quic-go/quicvarint # github.com/russross/blackfriday/v2 v2.1.0 ## explicit github.com/russross/blackfriday/v2 # github.com/sirupsen/logrus v1.9.4 ## explicit; go 1.17 github.com/sirupsen/logrus # github.com/spf13/pflag v1.0.10 ## explicit; go 1.12 github.com/spf13/pflag # github.com/ssor/bom v0.0.0-20170718123548-6386211fdfcf ## explicit github.com/ssor/bom # github.com/stretchr/objx v0.5.2 ## explicit; go 1.20 github.com/stretchr/objx # github.com/stretchr/testify v1.11.1 ## explicit; go 1.17 github.com/stretchr/testify/assert github.com/stretchr/testify/assert/yaml github.com/stretchr/testify/mock github.com/stretchr/testify/require # github.com/twitchyliquid64/golang-asm v0.15.1 ## explicit; go 1.13 github.com/twitchyliquid64/golang-asm/asm/arch github.com/twitchyliquid64/golang-asm/bio github.com/twitchyliquid64/golang-asm/dwarf github.com/twitchyliquid64/golang-asm/goobj github.com/twitchyliquid64/golang-asm/obj github.com/twitchyliquid64/golang-asm/obj/arm github.com/twitchyliquid64/golang-asm/obj/arm64 github.com/twitchyliquid64/golang-asm/obj/mips github.com/twitchyliquid64/golang-asm/obj/ppc64 github.com/twitchyliquid64/golang-asm/obj/riscv github.com/twitchyliquid64/golang-asm/obj/s390x github.com/twitchyliquid64/golang-asm/obj/wasm github.com/twitchyliquid64/golang-asm/obj/x86 github.com/twitchyliquid64/golang-asm/objabi github.com/twitchyliquid64/golang-asm/src github.com/twitchyliquid64/golang-asm/sys github.com/twitchyliquid64/golang-asm/unsafeheader # github.com/ugorji/go/codec v1.3.1 ## explicit; go 1.21 github.com/ugorji/go/codec # github.com/urfave/cli/v2 v2.27.7 ## explicit; go 1.18 github.com/urfave/cli/v2 # github.com/vmihailenco/msgpack/v5 v5.4.1 ## explicit; go 1.19 github.com/vmihailenco/msgpack/v5 github.com/vmihailenco/msgpack/v5/msgpcode # github.com/vmihailenco/tagparser/v2 v2.0.0 ## explicit; go 1.15 github.com/vmihailenco/tagparser/v2 github.com/vmihailenco/tagparser/v2/internal github.com/vmihailenco/tagparser/v2/internal/parser # github.com/x448/float16 v0.8.4 ## explicit; go 1.11 github.com/x448/float16 # github.com/xrash/smetrics v0.0.0-20250705151800-55b8f293f342 ## explicit; go 1.15 github.com/xrash/smetrics # gitlab.com/c0b/go-ordered-json v0.0.0-20201030195603-febf46534d5a ## explicit gitlab.com/c0b/go-ordered-json # go.mongodb.org/mongo-driver/v2 v2.5.0 ## explicit; go 1.19 go.mongodb.org/mongo-driver/v2/bson go.mongodb.org/mongo-driver/v2/internal/binaryutil go.mongodb.org/mongo-driver/v2/internal/bsoncoreutil go.mongodb.org/mongo-driver/v2/internal/decimal128 go.mongodb.org/mongo-driver/v2/x/bsonx/bsoncore # go.opentelemetry.io/auto/sdk v1.2.1 ## explicit; go 1.24.0 go.opentelemetry.io/auto/sdk go.opentelemetry.io/auto/sdk/internal/telemetry # go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.67.0 ## explicit; go 1.25.0 go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/internal/request go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/internal/semconv # go.opentelemetry.io/otel v1.43.0 ## explicit; go 1.25.0 go.opentelemetry.io/otel go.opentelemetry.io/otel/attribute go.opentelemetry.io/otel/attribute/internal go.opentelemetry.io/otel/attribute/internal/xxhash go.opentelemetry.io/otel/baggage go.opentelemetry.io/otel/codes go.opentelemetry.io/otel/internal/baggage go.opentelemetry.io/otel/internal/errorhandler go.opentelemetry.io/otel/internal/global go.opentelemetry.io/otel/propagation go.opentelemetry.io/otel/semconv/v1.37.0 go.opentelemetry.io/otel/semconv/v1.40.0 go.opentelemetry.io/otel/semconv/v1.40.0/httpconv # go.opentelemetry.io/otel/metric v1.43.0 ## explicit; go 1.25.0 go.opentelemetry.io/otel/metric go.opentelemetry.io/otel/metric/embedded go.opentelemetry.io/otel/metric/noop # go.opentelemetry.io/otel/trace v1.43.0 ## explicit; go 1.25.0 go.opentelemetry.io/otel/trace go.opentelemetry.io/otel/trace/embedded go.opentelemetry.io/otel/trace/internal/telemetry go.opentelemetry.io/otel/trace/noop # go.uber.org/goleak v1.3.0 ## explicit; go 1.20 go.uber.org/goleak go.uber.org/goleak/internal/stack # go.uber.org/mock v0.6.0 ## explicit; go 1.23.0 go.uber.org/mock/gomock # golang.org/x/arch v0.22.0 ## explicit; go 1.24.0 golang.org/x/arch/x86/x86asm # golang.org/x/crypto v0.53.0 ## explicit; go 1.25.0 golang.org/x/crypto/argon2 golang.org/x/crypto/blake2b golang.org/x/crypto/cast5 golang.org/x/crypto/chacha20 golang.org/x/crypto/chacha20poly1305 golang.org/x/crypto/cryptobyte golang.org/x/crypto/cryptobyte/asn1 golang.org/x/crypto/curve25519 golang.org/x/crypto/hkdf golang.org/x/crypto/internal/alias golang.org/x/crypto/internal/poly1305 golang.org/x/crypto/sha3 # golang.org/x/exp v0.0.0-20260312153236-7ab1446f8b90 ## explicit; go 1.25.0 golang.org/x/exp/constraints # golang.org/x/mod v0.37.0 ## explicit; go 1.25.0 golang.org/x/mod/semver # golang.org/x/net v0.56.0 ## explicit; go 1.25.0 golang.org/x/net/bpf golang.org/x/net/html golang.org/x/net/html/atom golang.org/x/net/html/charset golang.org/x/net/http/httpguts golang.org/x/net/http/httpproxy golang.org/x/net/http2 golang.org/x/net/http2/h2c golang.org/x/net/http2/hpack golang.org/x/net/idna golang.org/x/net/internal/httpcommon golang.org/x/net/internal/httpsfv golang.org/x/net/internal/iana golang.org/x/net/internal/socket golang.org/x/net/internal/timeseries golang.org/x/net/ipv4 golang.org/x/net/ipv6 golang.org/x/net/publicsuffix golang.org/x/net/trace # golang.org/x/oauth2 v0.36.0 ## explicit; go 1.25.0 golang.org/x/oauth2 golang.org/x/oauth2/authhandler golang.org/x/oauth2/google golang.org/x/oauth2/google/externalaccount golang.org/x/oauth2/google/internal/externalaccountauthorizeduser golang.org/x/oauth2/google/internal/impersonate golang.org/x/oauth2/google/internal/stsexchange golang.org/x/oauth2/internal golang.org/x/oauth2/jws golang.org/x/oauth2/jwt # golang.org/x/sync v0.21.0 ## explicit; go 1.25.0 golang.org/x/sync/errgroup # golang.org/x/sys v0.46.0 ## explicit; go 1.25.0 golang.org/x/sys/cpu golang.org/x/sys/execabs golang.org/x/sys/unix golang.org/x/sys/windows golang.org/x/sys/windows/registry # golang.org/x/text v0.39.0 ## explicit; go 1.25.0 golang.org/x/text/cases golang.org/x/text/encoding golang.org/x/text/encoding/charmap golang.org/x/text/encoding/htmlindex golang.org/x/text/encoding/ianaindex golang.org/x/text/encoding/internal golang.org/x/text/encoding/internal/identifier golang.org/x/text/encoding/japanese golang.org/x/text/encoding/korean golang.org/x/text/encoding/simplifiedchinese golang.org/x/text/encoding/traditionalchinese golang.org/x/text/encoding/unicode golang.org/x/text/internal golang.org/x/text/internal/language golang.org/x/text/internal/language/compact golang.org/x/text/internal/tag golang.org/x/text/internal/utf8internal golang.org/x/text/language golang.org/x/text/runes golang.org/x/text/secure/bidirule golang.org/x/text/transform golang.org/x/text/unicode/bidi golang.org/x/text/unicode/norm # golang.org/x/tools v0.47.0 ## explicit; go 1.25.0 golang.org/x/tools/go/ast/edge golang.org/x/tools/go/ast/inspector golang.org/x/tools/go/gcexportdata golang.org/x/tools/go/packages golang.org/x/tools/go/types/objectpath golang.org/x/tools/go/types/typeutil golang.org/x/tools/internal/aliases golang.org/x/tools/internal/event golang.org/x/tools/internal/event/core golang.org/x/tools/internal/event/keys golang.org/x/tools/internal/event/label golang.org/x/tools/internal/gcimporter golang.org/x/tools/internal/gocommand golang.org/x/tools/internal/packagesinternal golang.org/x/tools/internal/pkgbits golang.org/x/tools/internal/stdlib golang.org/x/tools/internal/typeparams golang.org/x/tools/internal/typesinternal golang.org/x/tools/internal/versions # google.golang.org/api v0.275.0 ## explicit; go 1.25.0 google.golang.org/api/gmail/v1 google.golang.org/api/googleapi google.golang.org/api/googleapi/transport google.golang.org/api/internal google.golang.org/api/internal/cert google.golang.org/api/internal/credentialstype google.golang.org/api/internal/gensupport google.golang.org/api/internal/impersonate google.golang.org/api/internal/third_party/uritemplates google.golang.org/api/option google.golang.org/api/option/internaloption google.golang.org/api/transport/http # google.golang.org/genproto/googleapis/rpc v0.0.0-20260414002931-afd174a4e478 ## explicit; go 1.25.0 google.golang.org/genproto/googleapis/rpc/code google.golang.org/genproto/googleapis/rpc/errdetails google.golang.org/genproto/googleapis/rpc/status # google.golang.org/grpc v1.82.1 ## explicit; go 1.25.0 google.golang.org/grpc google.golang.org/grpc/attributes google.golang.org/grpc/backoff google.golang.org/grpc/balancer google.golang.org/grpc/balancer/base google.golang.org/grpc/balancer/endpointsharding google.golang.org/grpc/balancer/grpclb/state google.golang.org/grpc/balancer/pickfirst google.golang.org/grpc/balancer/pickfirst/internal google.golang.org/grpc/balancer/roundrobin google.golang.org/grpc/binarylog/grpc_binarylog_v1 google.golang.org/grpc/channelz google.golang.org/grpc/codes google.golang.org/grpc/connectivity google.golang.org/grpc/credentials google.golang.org/grpc/credentials/insecure google.golang.org/grpc/encoding google.golang.org/grpc/encoding/internal google.golang.org/grpc/encoding/proto google.golang.org/grpc/experimental/balancer/weight google.golang.org/grpc/experimental/stats google.golang.org/grpc/grpclog google.golang.org/grpc/grpclog/internal google.golang.org/grpc/internal google.golang.org/grpc/internal/backoff google.golang.org/grpc/internal/balancer/gracefulswitch google.golang.org/grpc/internal/balancerload google.golang.org/grpc/internal/binarylog google.golang.org/grpc/internal/buffer google.golang.org/grpc/internal/channelz google.golang.org/grpc/internal/credentials google.golang.org/grpc/internal/envconfig google.golang.org/grpc/internal/grpclog google.golang.org/grpc/internal/grpcsync google.golang.org/grpc/internal/grpcutil google.golang.org/grpc/internal/idle google.golang.org/grpc/internal/mem google.golang.org/grpc/internal/metadata google.golang.org/grpc/internal/pretty google.golang.org/grpc/internal/proxyattributes google.golang.org/grpc/internal/resolver google.golang.org/grpc/internal/resolver/delegatingresolver google.golang.org/grpc/internal/resolver/dns google.golang.org/grpc/internal/resolver/dns/internal google.golang.org/grpc/internal/resolver/passthrough google.golang.org/grpc/internal/resolver/unix google.golang.org/grpc/internal/serviceconfig google.golang.org/grpc/internal/stats google.golang.org/grpc/internal/status google.golang.org/grpc/internal/syscall google.golang.org/grpc/internal/transport google.golang.org/grpc/internal/transport/internal google.golang.org/grpc/internal/transport/networktype google.golang.org/grpc/internal/transport/readyreader google.golang.org/grpc/keepalive google.golang.org/grpc/mem google.golang.org/grpc/metadata google.golang.org/grpc/peer google.golang.org/grpc/resolver google.golang.org/grpc/resolver/dns google.golang.org/grpc/serviceconfig google.golang.org/grpc/stats google.golang.org/grpc/status google.golang.org/grpc/tap # google.golang.org/protobuf v1.36.11 ## explicit; go 1.23 google.golang.org/protobuf/encoding/protojson google.golang.org/protobuf/encoding/prototext google.golang.org/protobuf/encoding/protowire google.golang.org/protobuf/internal/descfmt google.golang.org/protobuf/internal/descopts google.golang.org/protobuf/internal/detrand google.golang.org/protobuf/internal/editiondefaults google.golang.org/protobuf/internal/encoding/defval google.golang.org/protobuf/internal/encoding/json google.golang.org/protobuf/internal/encoding/messageset google.golang.org/protobuf/internal/encoding/tag google.golang.org/protobuf/internal/encoding/text google.golang.org/protobuf/internal/errors google.golang.org/protobuf/internal/filedesc google.golang.org/protobuf/internal/filetype google.golang.org/protobuf/internal/flags google.golang.org/protobuf/internal/genid google.golang.org/protobuf/internal/impl google.golang.org/protobuf/internal/order google.golang.org/protobuf/internal/pragma google.golang.org/protobuf/internal/protolazy google.golang.org/protobuf/internal/set google.golang.org/protobuf/internal/strs google.golang.org/protobuf/internal/version google.golang.org/protobuf/proto google.golang.org/protobuf/protoadapt google.golang.org/protobuf/reflect/protoreflect google.golang.org/protobuf/reflect/protoregistry google.golang.org/protobuf/runtime/protoiface google.golang.org/protobuf/runtime/protoimpl google.golang.org/protobuf/types/known/anypb google.golang.org/protobuf/types/known/durationpb google.golang.org/protobuf/types/known/emptypb google.golang.org/protobuf/types/known/timestamppb google.golang.org/protobuf/types/known/wrapperspb # gopkg.in/yaml.v3 v3.0.1 ## explicit gopkg.in/yaml.v3 # howett.net/plist v1.0.1 ## explicit; go 1.12 howett.net/plist # github.com/emersion/go-message => github.com/ProtonMail/go-message v0.13.1-0.20240919135104-3bc88e6a9423 # github.com/emersion/go-smtp => github.com/ProtonMail/go-smtp v0.0.0-20231109081432-2b3d50599865 # github.com/go-ctap/winhello => github.com/ProtonMail/winhello v0.0.0-20260223131736-d2c4f2d06287 # github.com/go-resty/resty/v2 => github.com/ProtonMail/resty/v2 v2.0.0-20250929142426-e3dc6308c80b # github.com/keybase/go-keychain => github.com/ProtonMail/go-keychain v0.0.0-20250929142014-ea8548dff768 # github.com/keys-pub/go-libfido2 => github.com/ProtonMail/go-libfido2 v0.0.0-20250916110427-df894d6d07a1 ==> Starting build()... ~/protonmail-bridge/src/proton-bridge/utils ~/protonmail-bridge/src/proton-bridge egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E ~/protonmail-bridge/src/proton-bridge internal/goarch internal/unsafeheader internal/coverage/rtcov internal/byteorder internal/godebugs internal/goos math/bits internal/profilerecord internal/msan internal/trace/tracev2 unicode/utf8 internal/goexperiment internal/runtime/pprof/label internal/asan internal/cpu sync/atomic internal/runtime/syscall/linux internal/abi internal/runtime/gc internal/runtime/math unicode crypto/internal/fips140/alias crypto/internal/constanttime crypto/internal/fips140deps/time cmp crypto/internal/boring/sig crypto/internal/fips140deps/byteorder encoding unicode/utf16 internal/strconv database/sql/internal math log/internal internal/nettrace github.com/ProtonMail/go-crypto/internal/byteutil vendor/golang.org/x/crypto/cryptobyte/asn1 golang.org/x/crypto/cryptobyte/asn1 crypto/internal/fips140/subtle github.com/cloudflare/circl/sign/internal/dilithium/params github.com/cloudflare/circl/pke/kyber/internal/common/params image/color golang.org/x/text/encoding/internal/identifier golang.org/x/text/internal/utf8internal github.com/cloudflare/circl/sign/internal/dilithium container/list vendor/golang.org/x/crypto/internal/alias github.com/ProtonMail/gopenpgp/v2/constants golang.org/x/net/html/atom github.com/bradenaw/juniper/iterator github.com/bradenaw/juniper/xmath github.com/ProtonMail/proton-bridge/v3/internal/platform internal/bytealg internal/chacha8rand crypto/internal/fips140deps/cpu internal/runtime/sys internal/runtime/atomic github.com/elastic/go-sysinfo/providers/aix github.com/elastic/go-sysinfo/providers/darwin github.com/elastic/go-sysinfo/providers/windows internal/goversion internal/platform internal/syslist github.com/vmihailenco/msgpack/v5/msgpcode github.com/vmihailenco/tagparser/v2/internal google.golang.org/protobuf/internal/flags google.golang.org/grpc/serviceconfig google.golang.org/protobuf/internal/set google.golang.org/grpc/encoding/internal google.golang.org/grpc/internal/transport/internal internal/runtime/gc/scan crypto/subtle internal/stringslite github.com/ProtonMail/proton-bridge/v3/internal/identifier github.com/ProtonMail/gluon/constants github.com/pierrec/lz4/v4/internal/lz4errors github.com/ProtonMail/gluon/internal/unleash/featureflags internal/runtime/exithook log/slog/internal github.com/google/go-cmp/cmp/internal/flags golang.org/x/net/internal/iana internal/runtime/cgroup internal/race internal/synctest internal/sync internal/runtime/maps runtime internal/reflectlite weak iter sync github.com/ProtonMail/proton-bridge/v3/internal/frontend/theme maps slices github.com/ProtonMail/gluon/pkg/utils github.com/ProtonMail/go-proton-api/pkg/utils github.com/bradenaw/juniper/xslices github.com/ProtonMail/proton-bridge/v3/pkg/utils errors sort internal/bisect internal/testlog google.golang.org/protobuf/internal/pragma crypto/internal/fips140cache internal/singleflight unique github.com/olekukonko/tablewriter/pkg/twcache log/slog/internal/buffer github.com/ProtonMail/proton-bridge/v3/internal/safe io strconv crypto/internal/entropy/v1.0.0 github.com/bradenaw/juniper/internal/heap internal/oserror encoding/json/internal golang.org/x/crypto/cast5 github.com/cloudflare/circl/kem path math/rand/v2 vendor/golang.org/x/net/dns/dnsmessage syscall internal/godebug hash encoding/json/internal/jsonflags crypto/internal/randutil crypto encoding/base64 strings encoding/base32 bytes reflect hash/crc32 encoding/json/internal/jsonopts internal/saferio net/netip crypto/internal/fips140deps/godebug math/rand github.com/cloudflare/circl/sign hash/adler32 golang.org/x/text/internal/tag github.com/bradenaw/juniper/xsort github.com/emersion/go-textwrapper hash/fnv google.golang.org/grpc/internal/buffer github.com/x448/float16 github.com/bradenaw/juniper/container/xheap crypto/internal/impl crypto/internal/fips140 encoding/json/internal/jsonwire regexp/syntax bufio golang.org/x/text/transform encoding/pem vendor/golang.org/x/text/transform net/http/internal/ascii github.com/ProtonMail/proton-bridge/v3/internal/plan crypto/internal/fips140/sha256 crypto/internal/fips140/sha3 crypto/internal/fips140/sha512 go/build/constraint github.com/vmihailenco/tagparser/v2/internal/parser html runtime/cgo golang.org/x/text/encoding golang.org/x/text/runes github.com/vmihailenco/tagparser/v2 github.com/bradenaw/juniper/xerrors encoding/json/jsontext github.com/ProtonMail/proton-bridge/v3/pkg/sanitizer golang.org/x/text/encoding/internal github.com/emersion/go-imap/utf7 crypto/internal/fips140/hmac crypto/sha3 compress/bzip2 image github.com/clipperhouse/uax29/v2/graphemes golang.org/x/text/encoding/charmap golang.org/x/text/encoding/korean golang.org/x/text/encoding/japanese golang.org/x/text/encoding/simplifiedchinese golang.org/x/text/encoding/traditionalchinese golang.org/x/text/encoding/unicode crypto/internal/fips140/check crypto/internal/fips140hash crypto/internal/fips140/aes crypto/fips140 internal/syscall/unix time internal/syscall/execenv crypto/internal/fips140/bigmod regexp crypto/internal/fips140/nistec/fiat crypto/internal/fips140/edwards25519/field crypto/internal/fips140/hkdf crypto/internal/fips140/tls12 crypto/internal/fips140/tls13 crypto/tls/internal/fips140tls image/internal/imageutil github.com/clipperhouse/displaywidth github.com/pbnjay/memory crypto/internal/fips140/edwards25519 image/jpeg io/fs net/http/internal/httpsfv internal/poll github.com/emersion/go-vcard github.com/ProtonMail/gluon/observability/metrics google.golang.org/grpc/backoff google.golang.org/grpc/internal/idle golang.org/x/net/internal/httpsfv google.golang.org/grpc/balancer/pickfirst/internal google.golang.org/grpc/keepalive github.com/ProtonMail/gluon/internal/ticker context github.com/google/go-cmp/cmp/internal/diff golang.org/x/text/encoding/ianaindex crypto/internal/fips140/nistec internal/filepathlite embed github.com/bradenaw/juniper/stream github.com/ProtonMail/proton-bridge/v3/pkg/cpc google.golang.org/grpc/internal/grpcsync github.com/ProtonMail/gluon/internal/contexts github.com/ProtonMail/gluon/observability github.com/elastic/go-sysinfo/types github.com/ProtonMail/gluon/profiling google.golang.org/grpc/internal/backoff github.com/ProtonMail/proton-bridge/v3/internal/frontend/grpc/fido google.golang.org/protobuf/internal/editiondefaults internal/fmtsort github.com/hashicorp/errwrap encoding/binary github.com/goccy/go-json/internal/runtime github.com/google/go-cmp/cmp/internal/function os github.com/ProtonMail/go-crypto/openpgp/internal/ecc/curve25519/field github.com/cloudflare/circl/internal/sha3 github.com/pierrec/lz4/v4/internal/xxh32 golang.org/x/crypto/blake2b vendor/golang.org/x/crypto/internal/poly1305 github.com/cespare/xxhash/v2 golang.org/x/sys/unix golang.org/x/crypto/argon2 crypto/internal/sysrand path/filepath fmt internal/lazyregexp io/ioutil google.golang.org/protobuf/internal/detrand github.com/jeandeaual/go-locale github.com/prometheus/procfs/internal/util os/signal internal/sysinfo github.com/mattn/go-runewidth golang.org/x/sys/cpu google.golang.org/grpc/internal/envconfig crypto/internal/fips140/drbg github.com/ssor/bom github.com/allan-simon/go-singleinstance golang.org/x/crypto/sha3 github.com/cloudflare/circl/simd/keccakf1600 os/exec github.com/olekukonko/tablewriter/pkg/twwidth crypto/internal/fips140only crypto/internal/fips140/ecdh crypto/internal/fips140/rsa crypto/internal/fips140/aes/gcm crypto/internal/fips140/ecdsa crypto/internal/fips140/ed25519 crypto/internal/fips140/mldsa crypto/internal/fips140/mlkem crypto/md5 crypto/hkdf crypto/rc4 github.com/cloudflare/circl/pke/kyber/internal/common github.com/cloudflare/circl/pke/kyber/kyber768/internal github.com/cloudflare/circl/pke/kyber/kyber1024/internal crypto/cipher crypto/mlkem internal/goroot github.com/olekukonko/tablewriter/pkg/twwarp crypto/mldsa crypto/internal/boring github.com/ProtonMail/go-crypto/eax crypto/des vendor/golang.org/x/crypto/chacha20 encoding/hex text/tabwriter compress/flate encoding/gob log mime/quotedprintable math/big mime github.com/ProtonMail/gluon/rfcparser github.com/ProtonMail/gluon/version crypto/sha256 crypto/internal/rand crypto/sha1 net/url text/template/parse crypto/sha512 encoding/json/v2 github.com/ProtonMail/go-crypto/openpgp/errors crypto/aes github.com/ProtonMail/go-crypto/ocb crypto/ecdh crypto/hmac golang.org/x/text/internal/language vendor/golang.org/x/crypto/chacha20poly1305 github.com/ProtonMail/go-crypto/openpgp/aes/keywrap github.com/ProtonMail/go-crypto/openpgp/armor golang.org/x/crypto/hkdf vendor/golang.org/x/text/unicode/bidi github.com/ProtonMail/go-crypto/openpgp/internal/algorithm vendor/golang.org/x/text/unicode/norm net/http/internal vendor/golang.org/x/net/http2/hpack crypto/hpke github.com/ProtonMail/go-crypto/openpgp/s2k github.com/ProtonMail/go-crypto/openpgp/symmetric github.com/pkg/errors runtime/debug text/template golang.org/x/crypto/curve25519 golang.org/x/net/html net golang.org/x/sync/errgroup encoding/xml github.com/ProtonMail/proton-bridge/v3/internal github.com/ProtonMail/gopenpgp/v2/internal github.com/hashicorp/go-multierror github.com/ProtonMail/gluon/internal/hash vendor/golang.org/x/text/secure/bidirule compress/gzip compress/zlib github.com/bradenaw/juniper/parallel golang.org/x/text/internal/language/compact github.com/ProtonMail/gopenpgp/v2/armor archive/zip github.com/ProtonMail/proton-bridge/v3/internal/constants github.com/0xAX/notificator github.com/ProtonMail/proton-bridge/v3/pkg/algo runtime/pprof golang.org/x/sys/execabs github.com/elastic/go-sysinfo/internal/registry github.com/ProtonMail/proton-bridge/v3/pkg/files github.com/prometheus/procfs/internal/fs golang.org/x/text/unicode/norm go/token go/doc/comment golang.org/x/text/language internal/buildcfg vendor/golang.org/x/net/idna crypto/rand uuid crypto/dsa crypto/internal/boring/bbig database/sql/driver crypto/elliptic crypto/rsa encoding/asn1 github.com/ProtonMail/go-crypto/openpgp/internal/encoding github.com/ProtonMail/go-autostart crypto/ed25519 github.com/cloudflare/circl/math github.com/cloudflare/circl/sign/mldsa/mldsa65/internal github.com/ProtonMail/gluon/logging github.com/cloudflare/circl/sign/mldsa/mldsa87/internal github.com/ProtonMail/go-crypto/bitcurves github.com/ProtonMail/go-crypto/brainpool github.com/ProtonMail/go-crypto/openpgp/elgamal github.com/ProtonMail/gluon/async github.com/cloudflare/circl/pke/kyber/kyber1024 github.com/cloudflare/circl/pke/kyber/kyber768 golang.org/x/text/encoding/htmlindex github.com/ProtonMail/bcrypt github.com/cronokirby/saferith github.com/getsentry/sentry-go/internal/crypto/randutil github.com/cloudflare/circl/kem/mlkem/mlkem1024 github.com/cloudflare/circl/kem/mlkem/mlkem768 golang.org/x/text/internal go/scanner github.com/ProtonMail/gluon/watcher github.com/ProtonMail/proton-bridge/v3/internal/services/orderedtasks github.com/andybalholm/cascadia github.com/bradenaw/juniper/xmaps github.com/vmihailenco/msgpack/v5 go.uber.org/mock/gomock golang.org/x/net/internal/timeseries google.golang.org/grpc/attributes google.golang.org/protobuf/internal/errors google.golang.org/protobuf/internal/version google.golang.org/grpc/internal/mem golang.org/x/text/unicode/bidi golang.org/x/net/http2/hpack golang.org/x/text/cases vendor/golang.org/x/crypto/cryptobyte golang.org/x/crypto/cryptobyte github.com/cloudflare/circl/sign/mldsa/mldsa65 github.com/cloudflare/circl/sign/mldsa/mldsa87 crypto/x509/pkix go/ast google.golang.org/protobuf/encoding/protowire encoding/json github.com/ProtonMail/gluon/imap/command github.com/pierrec/lz4/v4/internal/lz4block database/sql google.golang.org/protobuf/reflect/protoreflect golang.org/x/net/html/charset github.com/pierrec/lz4/v4/internal/lz4stream encoding/csv github.com/olekukonko/cat crypto/ecdsa github.com/cloudflare/circl/internal/conv github.com/goccy/go-json/internal/errors github.com/olekukonko/ll/lx golang.org/x/text/secure/bidirule github.com/cloudflare/circl/math/fp25519 github.com/cloudflare/circl/math/mlsbset github.com/cloudflare/circl/math/fp448 os/user github.com/pierrec/lz4/v4 golang.org/x/net/idna github.com/sirupsen/logrus github.com/Masterminds/semver/v3 gitlab.com/c0b/go-ordered-json github.com/cloudflare/circl/dh/x25519 github.com/cloudflare/circl/dh/x448 github.com/cloudflare/circl/sign/ed25519 github.com/cloudflare/circl/ecc/goldilocks github.com/ProtonMail/proton-bridge/v3/internal/service github.com/ProtonMail/go-crypto/openpgp/x448 github.com/ProtonMail/go-crypto/openpgp/internal/ecc/curve25519 github.com/ProtonMail/go-crypto/openpgp/x25519 github.com/ProtonMail/gluon/reporter github.com/ProtonMail/go-crypto/openpgp/ed25519 github.com/ProtonMail/proton-bridge/v3/internal/locations github.com/ProtonMail/proton-bridge/v3/pkg/restarter github.com/ProtonMail/proton-bridge/v3/internal/updater/versioncompare github.com/ProtonMail/proton-bridge/v3/pkg/sum archive/tar github.com/ProtonMail/proton-bridge/v3/internal/useragent github.com/ProtonMail/proton-bridge/v3/internal/vault/storage github.com/docker/docker-credential-helpers/credentials go/doc go/parser html/template google.golang.org/grpc/grpclog/internal google.golang.org/protobuf/internal/encoding/messageset google.golang.org/protobuf/internal/genid google.golang.org/protobuf/internal/order google.golang.org/protobuf/internal/strs google.golang.org/protobuf/runtime/protoiface github.com/docker/docker-credential-helpers/pass google.golang.org/grpc/grpclog google.golang.org/protobuf/reflect/protoregistry net/textproto vendor/golang.org/x/net/http/httpproxy crypto/x509 github.com/elastic/go-sysinfo/providers/shared github.com/google/uuid github.com/cloudflare/circl/sign/ed448 github.com/prometheus/procfs github.com/ProtonMail/proton-bridge/v3/pkg/ports github.com/godbus/dbus google.golang.org/protobuf/internal/encoding/json google.golang.org/grpc/connectivity google.golang.org/grpc/internal/grpclog google.golang.org/protobuf/internal/descfmt github.com/ProtonMail/go-crypto/openpgp/internal/ecc github.com/ProtonMail/go-crypto/openpgp/ed448 google.golang.org/protobuf/proto google.golang.org/grpc/internal net/mail mime/multipart vendor/golang.org/x/net/http/httpguts github.com/emersion/go-message/textproto github.com/ProtonMail/proton-bridge/v3/pkg/mobileconfig github.com/ProtonMail/go-crypto/openpgp/ecdh github.com/ProtonMail/go-crypto/openpgp/ecdsa github.com/ProtonMail/go-crypto/openpgp/eddsa github.com/ProtonMail/go-crypto/openpgp/mldsa_eddsa github.com/ProtonMail/go-crypto/openpgp/mlkem_ecdh google.golang.org/grpc/metadata github.com/ProtonMail/proton-bridge/v3/internal/clientconfig github.com/ProtonMail/gluon/rfc5322 google.golang.org/protobuf/internal/descopts google.golang.org/protobuf/internal/encoding/text google.golang.org/protobuf/internal/protolazy go/build github.com/emersion/go-message google.golang.org/grpc/codes google.golang.org/grpc/mem golang.org/x/net/http/httpguts google.golang.org/grpc/stats github.com/ProtonMail/go-crypto/openpgp/packet google.golang.org/grpc/internal/grpcutil google.golang.org/grpc/internal/balancerload google.golang.org/grpc/internal/syscall google.golang.org/grpc/tap github.com/ProtonMail/proton-bridge/v3/pkg/tar google.golang.org/grpc/internal/resolver/dns/internal github.com/ProtonMail/proton-bridge/v3/internal/kb google.golang.org/grpc/encoding google.golang.org/grpc/internal/transport/readyreader google.golang.org/grpc/experimental/stats github.com/ProtonMail/gluon/imap/connectioncounter log/slog github.com/goccy/go-json/internal/decoder github.com/goccy/go-json/internal/encoder google.golang.org/protobuf/internal/encoding/defval google.golang.org/protobuf/encoding/prototext github.com/ProtonMail/gluon/rfc822 github.com/mattn/go-isatty google.golang.org/grpc/internal/stats github.com/ProtonMail/proton-bridge/v3/internal/files google.golang.org/protobuf/internal/filedesc github.com/mattn/go-colorable github.com/ProtonMail/proton-bridge/v3/pkg/errmapper github.com/emersion/go-sasl github.com/fatih/color github.com/ProtonMail/proton-bridge/v3/internal/try flag runtime/trace github.com/ProtonMail/gluon/imap github.com/ProtonMail/gluon/rfcvalidation github.com/ProtonMail/proton-bridge/v3/internal/services/sendrecorder github.com/google/go-cmp/cmp/internal/value golang.org/x/net/bpf golang.org/x/net/internal/socket github.com/olekukonko/errors github.com/fxamacker/cbor/v2 github.com/google/go-cmp/cmp crypto/tls testing github.com/keybase/go-keychain/secretservice github.com/abiosoft/readline google.golang.org/protobuf/internal/encoding/tag google.golang.org/protobuf/encoding/protojson github.com/goccy/go-json/internal/encoder/vm_color_indent github.com/ProtonMail/gluon/events github.com/ProtonMail/gluon/db github.com/elastic/go-sysinfo/providers/linux google.golang.org/protobuf/internal/impl github.com/ProtonMail/gluon/connector github.com/ProtonMail/go-crypto/openpgp github.com/ProtonMail/gluon/imap/connectionlimiter github.com/ProtonMail/gluon/internal/ids github.com/ProtonMail/gluon/internal/response github.com/ProtonMail/gluon/internal/utils github.com/ProtonMail/gluon/limits github.com/ProtonMail/gluon/store github.com/ProtonMail/gluon/internal/unleash golang.org/x/net/ipv4 github.com/ProtonMail/gluon/internal/session/cmdwatcher golang.org/x/net/ipv6 github.com/flynn-archive/go-shlex github.com/ProtonMail/proton-bridge/v3/internal/legacy/credentials github.com/elastic/go-sysinfo github.com/ProtonMail/go-crypto/openpgp/clearsign github.com/ProtonMail/gluon/internal/state github.com/ProtonMail/gluon/store/fallback_v0 github.com/google/pprof/profile github.com/russross/blackfriday/v2 github.com/xrash/smetrics github.com/ProtonMail/go-srp github.com/abiosoft/ishell github.com/cpuguy83/go-md2man/v2/md2man github.com/urfave/cli/v2 github.com/ProtonMail/gluon/internal/backend net/http/httptrace github.com/ProtonMail/proton-bridge/v3/internal/certs github.com/docker/docker-credential-helpers/secretservice google.golang.org/grpc/internal/credentials github.com/emersion/go-smtp github.com/emersion/go-imap github.com/miekg/dns net/http/internal/httpcommon golang.org/x/net/internal/httpcommon google.golang.org/grpc/credentials github.com/ProtonMail/gluon/internal/session google.golang.org/grpc/internal/channelz google.golang.org/grpc/resolver google.golang.org/grpc/credentials/insecure google.golang.org/grpc/peer net/http/internal/http2 google.golang.org/grpc/experimental/balancer/weight google.golang.org/grpc/internal/metadata google.golang.org/grpc/internal/transport/networktype google.golang.org/grpc/internal/resolver/passthrough google.golang.org/grpc/balancer/grpclb/state google.golang.org/grpc/internal/proxyattributes google.golang.org/grpc/internal/resolver/unix google.golang.org/grpc/internal/resolver/dns github.com/mattn/go-sqlite3 google.golang.org/grpc/channelz google.golang.org/grpc/resolver/dns google.golang.org/grpc/balancer google.golang.org/protobuf/internal/filetype google.golang.org/grpc/balancer/base google.golang.org/grpc/internal/serviceconfig github.com/emersion/go-imap/responses github.com/emersion/go-imap/commands google.golang.org/grpc/internal/resolver google.golang.org/protobuf/runtime/protoimpl google.golang.org/grpc/balancer/endpointsharding google.golang.org/grpc/internal/balancer/gracefulswitch github.com/emersion/go-imap/client google.golang.org/protobuf/protoadapt google.golang.org/protobuf/types/known/durationpb google.golang.org/protobuf/types/known/wrapperspb google.golang.org/protobuf/types/known/emptypb google.golang.org/protobuf/types/known/timestamppb google.golang.org/protobuf/types/known/anypb google.golang.org/grpc/internal/pretty google.golang.org/grpc/encoding/proto google.golang.org/genproto/googleapis/rpc/status google.golang.org/grpc/binarylog/grpc_binarylog_v1 google.golang.org/grpc/balancer/pickfirst google.golang.org/grpc/internal/status google.golang.org/grpc/status google.golang.org/grpc/balancer/roundrobin google.golang.org/grpc/internal/binarylog github.com/ProtonMail/gluon/internal/db_impl/sqlite3/utils net/http github.com/ProtonMail/gluon/internal/db_impl/sqlite3/v0 github.com/ProtonMail/gluon/internal/db_impl/sqlite3/v2 github.com/ProtonMail/gluon/internal/db_impl/sqlite3/v1 github.com/goccy/go-json/internal/encoder/vm_color github.com/ProtonMail/gluon/internal/db_impl/sqlite3/v3 github.com/ProtonMail/gluon/internal/db_impl/sqlite3 github.com/ProtonMail/gluon github.com/ProtonMail/go-mime github.com/PuerkitoBio/goquery github.com/getsentry/sentry-go/internal/ratelimit golang.org/x/net/trace net/http/cookiejar net/http/httputil github.com/ProtonMail/proton-bridge/v3/internal/cookies github.com/felixge/fgprof golang.org/x/net/http2 github.com/pkg/profile golang.org/x/net/publicsuffix github.com/go-resty/resty/v2 github.com/ProtonMail/gopenpgp/v2/crypto github.com/getsentry/sentry-go/internal/debug github.com/getsentry/sentry-go github.com/ProtonMail/proton-bridge/v3/internal/versioner google.golang.org/grpc/internal/transport github.com/ProtonMail/proton-bridge/v3/internal/updater github.com/ProtonMail/proton-bridge/v3/internal/dialer github.com/ProtonMail/go-proton-api github.com/ProtonMail/proton-bridge/v3/internal/telemetry github.com/ProtonMail/proton-bridge/v3/internal/sentry github.com/ProtonMail/proton-bridge/v3/internal/crash github.com/ProtonMail/proton-bridge/v3/internal/logging google.golang.org/grpc/internal/resolver/delegatingresolver google.golang.org/grpc github.com/ProtonMail/proton-bridge/v3/internal/services/observability/gluonmetrics github.com/ProtonMail/proton-bridge/v3/internal/network github.com/ProtonMail/proton-bridge/v3/internal/unleash github.com/ProtonMail/proton-bridge/v3/internal/hv github.com/ProtonMail/proton-bridge/v3/internal/services/imapservice/observabilitymetrics/evtloopmsgevents github.com/ProtonMail/proton-bridge/v3/internal/services/imapservice/observabilitymetrics/syncmsgevents github.com/ProtonMail/proton-bridge/v3/internal/services/syncservice/observabilitymetrics github.com/ProtonMail/proton-bridge/v3/pkg/mime github.com/ProtonMail/proton-bridge/v3/internal/vault/observabilitymetrics github.com/goccy/go-json/internal/encoder/vm_indent github.com/ProtonMail/proton-bridge/v3/pkg/message/parser github.com/ProtonMail/proton-bridge/v3/pkg/keychain github.com/ProtonMail/proton-bridge/v3/internal/focus/proto github.com/ProtonMail/proton-bridge/v3/internal/vault github.com/ProtonMail/proton-bridge/v3/internal/focus github.com/ProtonMail/proton-bridge/v3/internal/events github.com/ProtonMail/proton-bridge/v3/internal/usertypes github.com/ProtonMail/proton-bridge/v3/internal/services/userevents github.com/ProtonMail/proton-bridge/v3/internal/services/telemetry github.com/ProtonMail/proton-bridge/v3/internal/services/useridentity github.com/ProtonMail/proton-bridge/v3/internal/services/observability github.com/ProtonMail/proton-bridge/v3/internal/bridge/mocks github.com/ProtonMail/proton-bridge/v3/internal/services/smtp/observabilitymetrics github.com/ProtonMail/proton-bridge/v3/internal/services/notifications github.com/goccy/go-json/internal/encoder/vm github.com/keys-pub/go-libfido2 github.com/ProtonMail/proton-bridge/v3/internal/fido github.com/goccy/go-json github.com/olekukonko/ll/lh github.com/olekukonko/ll github.com/olekukonko/tablewriter/tw github.com/olekukonko/tablewriter/renderer github.com/olekukonko/tablewriter github.com/jaytaylor/html2text github.com/ProtonMail/proton-bridge/v3/pkg/message github.com/ProtonMail/proton-bridge/v3/internal/services/syncservice github.com/ProtonMail/proton-bridge/v3/internal/services/smtp github.com/ProtonMail/proton-bridge/v3/internal/services/imapservice github.com/ProtonMail/proton-bridge/v3/internal/services/imapsmtpserver github.com/ProtonMail/proton-bridge/v3/internal/user github.com/ProtonMail/proton-bridge/v3/internal/bridge github.com/ProtonMail/proton-bridge/v3/internal/frontend/cli github.com/ProtonMail/proton-bridge/v3/internal/frontend/grpc github.com/ProtonMail/proton-bridge/v3/internal/app github.com/ProtonMail/proton-bridge/v3/cmd/Desktop-Bridge The no-dev option is deprecated. Use -Wno-author instead. -- BRIDGE_REPO_ROOT is /build/protonmail-bridge/src/proton-bridge/internal/frontend/bridge-gui/bridge-gui/../../../.. -- The CXX compiler identification is GNU 16.2.1 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- App name is Proton Mail Bridge -- App vendor is Proton AG -- Bridge version is 3.26.0 -- Found qmake at /usr/bin/qmake6 -- Using Default install path (/usr), export BRIDGE_INSTALL_PATH to change it. -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Performing Test HAVE_STDATOMIC -- Performing Test HAVE_STDATOMIC - Success -- Found WrapAtomic: TRUE -- Found OpenGL: /usr/lib/libOpenGL.so -- Found WrapOpenGL: TRUE -- Could NOT find WrapVulkanHeaders (missing: Vulkan_INCLUDE_DIR) -- Could NOT find WrapVulkanHeaders (missing: Vulkan_INCLUDE_DIR) -- Using Qt 6.11.2 -- Bridge version is 3.26.0 -- Found qmake at /usr/bin/qmake6 -- Found ZLIB: /usr/lib/libz.so (found version "1.3.2") -- Using protobuf 36.1.0 -- Found OpenSSL: /usr/lib/libcrypto.so (found version "3.6.4") -- Found c-ares: /usr/lib/cmake/c-ares/c-ares-config.cmake (found version "1.34.8") -- Found RE2 via CMake. -- Using gRPC 1.84.0 -- protoc found /usr/bin/protoc -- grpc_cpp_plugin -- grpc_cpp_plugin found at /usr/bin/grpc_cpp_plugin -- The C compiler identification is GNU 16.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Found Python: /usr/bin/python3.14 (found version "3.14.7") found components: Interpreter -- Configuring done (2.8s) -- Generating done (0.1s) -- Build files have been written to: /build/protonmail-bridge/src/proton-bridge/build [ 0%] Built target gtest_autogen_timestamp_deps [ 3%] Generating focus gPRC/Protobuf Focus service C++ code [ 3%] Generating Bridge gPRC/Protobuf C++ code [ 4%] Automatic MOC and UIC for target gtest [ 4%] Built target gtest_autogen [ 7%] Building CXX object _deps/googletest-build/googletest/CMakeFiles/gtest.dir/gtest_autogen/mocs_compilation.cpp.o [ 7%] Building CXX object _deps/googletest-build/googletest/CMakeFiles/gtest.dir/src/gtest-all.cc.o [ 7%] Built target bridgepp_autogen_timestamp_deps [ 9%] Automatic MOC and UIC for target bridgepp [ 9%] Built target bridgepp_autogen [ 10%] Building CXX object bridgepp/CMakeFiles/bridgepp.dir/cmake_pch.hxx.gch [ 15%] Building CXX object bridgepp/CMakeFiles/bridgepp.dir/bridgepp/BridgeUtils.cpp.o [ 15%] Building CXX object bridgepp/CMakeFiles/bridgepp.dir/bridgepp/Exception/Exception.cpp.o [ 15%] Building CXX object bridgepp/CMakeFiles/bridgepp.dir/bridgepp/CLI/CLIUtils.cpp.o [ 16%] Building CXX object bridgepp/CMakeFiles/bridgepp.dir/bridgepp_autogen/mocs_compilation.cpp.o [ 20%] Building CXX object bridgepp/CMakeFiles/bridgepp.dir/bridgepp/GRPC/GRPCUtils.cpp.o [ 20%] Building CXX object bridgepp/CMakeFiles/bridgepp.dir/bridgepp/GRPC/GRPCClient.cpp.o [ 21%] Building CXX object bridgepp/CMakeFiles/bridgepp.dir/bridgepp/BugReportFlow/BugReportFlow.cpp.o [ 23%] Building CXX object bridgepp/CMakeFiles/bridgepp.dir/bridgepp/GRPC/GRPCErrors.cpp.o [ 24%] Building CXX object bridgepp/CMakeFiles/bridgepp.dir/bridgepp/GRPC/bridge.pb.cc.o [ 26%] Building CXX object bridgepp/CMakeFiles/bridgepp.dir/bridgepp/GRPC/bridge.grpc.pb.cc.o [ 29%] Building CXX object bridgepp/CMakeFiles/bridgepp.dir/bridgepp/GRPC/GRPCConfig.cpp.o [ 29%] Building CXX object bridgepp/CMakeFiles/bridgepp.dir/bridgepp/GRPC/EventFactory.cpp.o [ 32%] Building CXX object bridgepp/CMakeFiles/bridgepp.dir/bridgepp/FocusGRPC/FocusGRPCClient.cpp.o [ 32%] Building CXX object bridgepp/CMakeFiles/bridgepp.dir/bridgepp/FocusGRPC/focus.pb.cc.o [ 33%] Building CXX object bridgepp/CMakeFiles/bridgepp.dir/bridgepp/FocusGRPC/focus.grpc.pb.cc.o [ 35%] Building CXX object bridgepp/CMakeFiles/bridgepp.dir/bridgepp/Log/Log.cpp.o [ 36%] Building CXX object bridgepp/CMakeFiles/bridgepp.dir/bridgepp/Log/LogUtils.cpp.o [ 38%] Building CXX object bridgepp/CMakeFiles/bridgepp.dir/bridgepp/ProcessMonitor.cpp.o [ 40%] Building CXX object bridgepp/CMakeFiles/bridgepp.dir/bridgepp/SessionID/SessionID.cpp.o [ 41%] Building CXX object bridgepp/CMakeFiles/bridgepp.dir/bridgepp/User/User.cpp.o [ 43%] Linking CXX static library ../../../lib/libgtest.a [ 44%] Building CXX object bridgepp/CMakeFiles/bridgepp.dir/bridgepp/Worker/Overseer.cpp.o [ 46%] Built target gtest [ 46%] Built target gmock_autogen_timestamp_deps [ 46%] Built target gtest_main_autogen_timestamp_deps [ 49%] Automatic MOC and UIC for target gtest_main [ 49%] Automatic MOC and UIC for target gmock [ 49%] Built target gmock_autogen [ 49%] Built target gtest_main_autogen [ 52%] Building CXX object _deps/googletest-build/googletest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o [ 52%] Building CXX object _deps/googletest-build/googlemock/CMakeFiles/gmock.dir/gmock_autogen/mocs_compilation.cpp.o [ 53%] Building CXX object _deps/googletest-build/googletest/CMakeFiles/gtest_main.dir/gtest_main_autogen/mocs_compilation.cpp.o [ 55%] Building CXX object _deps/googletest-build/googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o [ 56%] Linking CXX static library ../../../lib/libgtest_main.a [ 58%] Built target gtest_main [ 60%] Linking CXX static library ../../../lib/libgmock.a [ 61%] Built target gmock [ 61%] Built target gmock_main_autogen_timestamp_deps [ 63%] Automatic MOC and UIC for target gmock_main [ 63%] Built target gmock_main_autogen [ 64%] Building CXX object _deps/googletest-build/googlemock/CMakeFiles/gmock_main.dir/gmock_main_autogen/mocs_compilation.cpp.o [ 66%] Building CXX object _deps/googletest-build/googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o [ 67%] Linking CXX static library ../../../lib/libgmock_main.a [ 69%] Built target gmock_main [ 70%] Linking CXX static library libbridgepp.a [ 70%] Built target bridgepp [ 70%] Built target bridge-gui_autogen_timestamp_deps [ 72%] Automatic MOC and UIC for target bridge-gui [ 72%] Built target bridge-gui_autogen [ 73%] Automatic RCC for Resources.qrc [ 75%] Building CXX object CMakeFiles/bridge-gui.dir/cmake_pch.hxx.gch [ 76%] Building CXX object CMakeFiles/bridge-gui.dir/AppController.cpp.o [ 78%] Building CXX object CMakeFiles/bridge-gui.dir/CommandLine.cpp.o [ 81%] Building CXX object CMakeFiles/bridge-gui.dir/main.cpp.o [ 81%] Building CXX object CMakeFiles/bridge-gui.dir/bridge-gui_autogen/mocs_compilation.cpp.o [ 84%] Building CXX object CMakeFiles/bridge-gui.dir/TrayIcon.cpp.o [ 84%] Building CXX object CMakeFiles/bridge-gui.dir/LogUtils.cpp.o [ 89%] Building CXX object CMakeFiles/bridge-gui.dir/MacOS/DockIcon.cpp.o [ 89%] Building CXX object CMakeFiles/bridge-gui.dir/Settings.cpp.o [ 90%] Building CXX object CMakeFiles/bridge-gui.dir/EventStreamWorker.cpp.o [ 93%] Building CXX object CMakeFiles/bridge-gui.dir/SentryUtils.cpp.o [ 93%] Building CXX object CMakeFiles/bridge-gui.dir/BridgeApp.cpp.o [ 95%] Building CXX object CMakeFiles/bridge-gui.dir/UserList.cpp.o [ 89%] Building CXX object CMakeFiles/bridge-gui.dir/QMLBackend.cpp.o [ 96%] Building CXX object CMakeFiles/bridge-gui.dir/ClipboardProxy.cpp.o [ 98%] Building CXX object CMakeFiles/bridge-gui.dir/bridge-gui_autogen/EWIEGA46WW/qrc_Resources.cpp.o /build/protonmail-bridge/src/proton-bridge/internal/frontend/bridge-gui/bridge-gui/main.cpp: In function ‘QUrl getApiUrl()’: /build/protonmail-bridge/src/proton-bridge/internal/frontend/bridge-gui/bridge-gui/main.cpp:166:22: warning: ignoring return value of ‘virtual bool QFile::open(QIODeviceBase::OpenMode)’, declared with attribute ‘nodiscard’ [-Wunused-result] 166 | prefFile.open(QIODevice::ReadOnly | QIODevice::Text); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt6/QtCore/qdir.h:11, from /usr/include/qt6/QtCore/QtCore:92, from /build/protonmail-bridge/src/proton-bridge/internal/frontend/bridge-gui/bridge-gui/Pch.h:23, from /build/protonmail-bridge/src/proton-bridge/build/CMakeFiles/bridge-gui.dir/cmake_pch.hxx:5, from : /usr/include/qt6/QtCore/qfile.h:264:32: note: declared here 264 | QFILE_MAYBE_NODISCARD bool open(OpenMode flags) override; | ^~~~ [100%] Linking CXX executable bridge-gui [100%] Built target bridge-gui ==> Starting check()... ok github.com/ProtonMail/proton-bridge/v3/cmd/Desktop-Bridge 0.063s ok github.com/ProtonMail/proton-bridge/v3/cmd/launcher 0.015s ? github.com/ProtonMail/proton-bridge/v3/internal [no test files] ok github.com/ProtonMail/proton-bridge/v3/internal/app 0.485s ok github.com/ProtonMail/proton-bridge/v3/internal/certs 1.221s ? github.com/ProtonMail/proton-bridge/v3/internal/clientconfig [no test files] ok github.com/ProtonMail/proton-bridge/v3/internal/constants 0.024s ok github.com/ProtonMail/proton-bridge/v3/internal/cookies 2.028s ok github.com/ProtonMail/proton-bridge/v3/internal/crash 0.020s ? github.com/ProtonMail/proton-bridge/v3/internal/events [no test files] ? github.com/ProtonMail/proton-bridge/v3/internal/events/mocks [no test files] ? github.com/ProtonMail/proton-bridge/v3/internal/fido [no test files] ok github.com/ProtonMail/proton-bridge/v3/internal/files 0.011s ok github.com/ProtonMail/proton-bridge/v3/internal/focus 0.027s ? github.com/ProtonMail/proton-bridge/v3/internal/focus/proto [no test files] ? github.com/ProtonMail/proton-bridge/v3/internal/frontend/cli [no test files] ok github.com/ProtonMail/proton-bridge/v3/internal/frontend/grpc 0.049s ? github.com/ProtonMail/proton-bridge/v3/internal/frontend/grpc/fido [no test files] ok github.com/ProtonMail/proton-bridge/v3/internal/frontend/theme 0.021s ok github.com/ProtonMail/proton-bridge/v3/internal/hv 0.026s ? github.com/ProtonMail/proton-bridge/v3/internal/identifier [no test files] ok github.com/ProtonMail/proton-bridge/v3/internal/kb 0.440s ok github.com/ProtonMail/proton-bridge/v3/internal/legacy/credentials 0.049s ok github.com/ProtonMail/proton-bridge/v3/internal/locations 0.023s ok github.com/ProtonMail/proton-bridge/v3/internal/logging 0.112s ? github.com/ProtonMail/proton-bridge/v3/internal/network [no test files] ? github.com/ProtonMail/proton-bridge/v3/internal/plan [no test files] ? github.com/ProtonMail/proton-bridge/v3/internal/platform [no test files] ? github.com/ProtonMail/proton-bridge/v3/internal/safe [no test files] ok github.com/ProtonMail/proton-bridge/v3/internal/sentry 0.017s ok github.com/ProtonMail/proton-bridge/v3/internal/service 0.022s ok github.com/ProtonMail/proton-bridge/v3/internal/services/imapservice 0.040s ? github.com/ProtonMail/proton-bridge/v3/internal/services/imapservice/mocks [no test files] ? github.com/ProtonMail/proton-bridge/v3/internal/services/imapservice/observabilitymetrics/evtloopmsgevents [no test files] ? github.com/ProtonMail/proton-bridge/v3/internal/services/imapservice/observabilitymetrics/syncmsgevents [no test files] ? github.com/ProtonMail/proton-bridge/v3/internal/services/imapsmtpserver [no test files] ok github.com/ProtonMail/proton-bridge/v3/internal/services/notifications 1.229s ok github.com/ProtonMail/proton-bridge/v3/internal/services/observability 0.031s ? github.com/ProtonMail/proton-bridge/v3/internal/services/observability/gluonmetrics [no test files] ? github.com/ProtonMail/proton-bridge/v3/internal/services/orderedtasks [no test files] ok github.com/ProtonMail/proton-bridge/v3/internal/services/sendrecorder 7.036s ok github.com/ProtonMail/proton-bridge/v3/internal/services/smtp 7.960s ? github.com/ProtonMail/proton-bridge/v3/internal/services/smtp/observabilitymetrics [no test files] ok github.com/ProtonMail/proton-bridge/v3/internal/services/syncservice 0.094s ? github.com/ProtonMail/proton-bridge/v3/internal/services/syncservice/observabilitymetrics [no test files] ok github.com/ProtonMail/proton-bridge/v3/internal/services/telemetry 0.021s ok github.com/ProtonMail/proton-bridge/v3/internal/services/userevents 0.547s ? github.com/ProtonMail/proton-bridge/v3/internal/services/userevents/mocks [no test files] ok github.com/ProtonMail/proton-bridge/v3/internal/services/useridentity 0.027s ? github.com/ProtonMail/proton-bridge/v3/internal/services/useridentity/mocks [no test files] ok github.com/ProtonMail/proton-bridge/v3/internal/telemetry 0.010s ? github.com/ProtonMail/proton-bridge/v3/internal/telemetry/mocks [no test files] ok github.com/ProtonMail/proton-bridge/v3/internal/try 0.011s ok github.com/ProtonMail/proton-bridge/v3/internal/unleash 0.392s ok github.com/ProtonMail/proton-bridge/v3/internal/updater 0.035s ? github.com/ProtonMail/proton-bridge/v3/internal/updater/mocks [no test files] ? github.com/ProtonMail/proton-bridge/v3/internal/updater/versioncompare [no test files] ok github.com/ProtonMail/proton-bridge/v3/internal/user 1.712s ok github.com/ProtonMail/proton-bridge/v3/internal/useragent 0.045s ok github.com/ProtonMail/proton-bridge/v3/internal/usertypes 0.067s ok github.com/ProtonMail/proton-bridge/v3/internal/vault 7.357s ? github.com/ProtonMail/proton-bridge/v3/internal/vault/observabilitymetrics [no test files] ? github.com/ProtonMail/proton-bridge/v3/internal/vault/storage [no test files] ok github.com/ProtonMail/proton-bridge/v3/internal/versioner 2.777s ok github.com/ProtonMail/proton-bridge/v3/pkg/algo 0.013s ok github.com/ProtonMail/proton-bridge/v3/pkg/cpc 0.032s ? github.com/ProtonMail/proton-bridge/v3/pkg/dialer [no test files] ok github.com/ProtonMail/proton-bridge/v3/pkg/errmapper 0.033s ok github.com/ProtonMail/proton-bridge/v3/pkg/files 0.034s ok github.com/ProtonMail/proton-bridge/v3/pkg/keychain 1.113s ok github.com/ProtonMail/proton-bridge/v3/pkg/message 28.659s ok github.com/ProtonMail/proton-bridge/v3/pkg/message/parser 0.065s ok github.com/ProtonMail/proton-bridge/v3/pkg/mime 0.068s ? github.com/ProtonMail/proton-bridge/v3/pkg/mobileconfig [no test files] ok github.com/ProtonMail/proton-bridge/v3/pkg/ports 0.041s ok github.com/ProtonMail/proton-bridge/v3/pkg/restarter 0.058s ok github.com/ProtonMail/proton-bridge/v3/pkg/sanitizer 0.044s ok github.com/ProtonMail/proton-bridge/v3/pkg/sum 0.036s ? github.com/ProtonMail/proton-bridge/v3/pkg/tar [no test files] ok github.com/ProtonMail/proton-bridge/v3/pkg/utils 0.032s Feature: Bridge picks default ports wisely time="2026-09-17T09:45:12Z" msg="Starting bridge" time="2026-09-17T09:45:12Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/001/config3545728943/grpcFocusServerConfig.json /service time="2026-09-17T09:45:12Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/001/cache1356693703/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:45:12Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/001/cache1356693703/notifications/notification_cache: no such file or directory" time="2026-09-17T09:45:12Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/001/data3478377220/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/001/data3478377220/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:45:12Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:45:12Z" msg="Starting IMAP server" time="2026-09-17T09:45:12Z" msg="Starting SMTP server" time="2026-09-17T09:45:12Z" msg="Starting service" time="2026-09-17T09:45:12Z" msg="Starting service" time="2026-09-17T09:45:12Z" msg="Starting poll service" time="2026-09-17T09:45:12Z" msg="Starting receiver service" time="2026-09-17T09:45:12Z" msg="Starting frontend service" time="2026-09-17T09:45:12Z" msg="Loading users" /user time="2026-09-17T09:45:12Z" msg="Finished loading users" /user time="2026-09-17T09:45:12Z" msg="Checking for updates" time="2026-09-17T09:45:12Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/001/config3545728943/grpcServerConfig.json time="2026-09-17T09:45:12Z" msg="gRPC server listening on /tmp/bridge3230" time="2026-09-17T09:45:12Z" msg="Frontend service started" time="2026-09-17T09:45:12Z" msg="Starting frontend client" time="2026-09-17T09:45:12Z" msg="Not monitoring parent PID" time="2026-09-17T09:45:12Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:45:12Z" msg="Frontend client started" Scenario: bridge picks ports for IMAP and SMTP using default values. # features/bridge/default_ports.feature:3 When bridge starts # :1 -> *scenario Then bridge IMAP port is 1143 # :1 -> *scenario time="2026-09-17T09:45:12Z" msg="Frontend service stopped" time="2026-09-17T09:45:12Z" msg="Frontend client stopped" time="2026-09-17T09:45:12Z" msg="Closing bridge" time="2026-09-17T09:45:12Z" msg="Stopping service" time="2026-09-17T09:45:12Z" msg="Closing IMAP Listener" time="2026-09-17T09:45:12Z" msg="Closing IMAP server" time="2026-09-17T09:45:12Z" msg="Closing SMTP Listener" time="2026-09-17T09:45:12Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:45:12Z" msg="Closing SMTP server" time="2026-09-17T09:45:12Z" msg="Closing service" Then bridge SMTP port is 1025 # :1 -> *scenario Scenario: bridge picks ports for IMAP wisely when default port is busy. # features/bridge/default_ports.feature:8 When the network port 1143 is busy # :1 -> *scenario time="2026-09-17T09:45:12Z" msg="Starting bridge" time="2026-09-17T09:45:12Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/002/config597990824/grpcFocusServerConfig.json /service time="2026-09-17T09:45:12Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/002/cache1007307676/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:45:12Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/002/cache1007307676/notifications/notification_cache: no such file or directory" time="2026-09-17T09:45:12Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/002/data3557392156/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/002/data3557392156/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:45:12Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:45:12Z" msg="Starting IMAP server" time="2026-09-17T09:45:12Z" msg="Starting SMTP server" time="2026-09-17T09:45:12Z" msg="Starting service" time="2026-09-17T09:45:12Z" msg="Starting service" time="2026-09-17T09:45:12Z" msg="Starting frontend service" time="2026-09-17T09:45:12Z" msg="Starting poll service" time="2026-09-17T09:45:12Z" msg="Starting receiver service" time="2026-09-17T09:45:12Z" msg="Checking for updates" time="2026-09-17T09:45:12Z" msg="Loading users" /user time="2026-09-17T09:45:12Z" msg="Finished loading users" /user time="2026-09-17T09:45:12Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/002/config597990824/grpcServerConfig.json time="2026-09-17T09:45:12Z" msg="gRPC server listening on /tmp/bridge3515" time="2026-09-17T09:45:12Z" msg="Frontend service started" time="2026-09-17T09:45:12Z" msg="Starting frontend client" time="2026-09-17T09:45:12Z" msg="Not monitoring parent PID" time="2026-09-17T09:45:12Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:45:12Z" msg="Frontend client started" And bridge starts # :1 -> *scenario Then bridge IMAP port is 1144 # :1 -> *scenario time="2026-09-17T09:45:12Z" msg="200 OK: GET https://127.0.0.1:40821/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:45:12Z" msg="Frontend service stopped" time="2026-09-17T09:45:12Z" msg="Frontend client stopped" time="2026-09-17T09:45:12Z" msg="Closing bridge" time="2026-09-17T09:45:12Z" msg="Stopping service" time="2026-09-17T09:45:12Z" msg="Closing IMAP Listener" time="2026-09-17T09:45:12Z" msg="Closing IMAP server" time="2026-09-17T09:45:12Z" msg="Closing SMTP Listener" time="2026-09-17T09:45:12Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:45:12Z" msg="Closing SMTP server" time="2026-09-17T09:45:12Z" msg="Closing service" Then bridge SMTP port is 1025 # :1 -> *scenario Scenario: bridge picks ports for SMTP wisely when default port is busy. # features/bridge/default_ports.feature:14 When the network port range 1025-1030 is busy # :1 -> *scenario time="2026-09-17T09:45:12Z" msg="Starting bridge" time="2026-09-17T09:45:12Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/003/config3592747007/grpcFocusServerConfig.json /service time="2026-09-17T09:45:12Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/003/cache2598812811/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:45:12Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/003/cache2598812811/notifications/notification_cache: no such file or directory" time="2026-09-17T09:45:12Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/003/data1330980217/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/003/data1330980217/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:45:12Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:45:12Z" msg="Starting IMAP server" time="2026-09-17T09:45:12Z" msg="Starting SMTP server" time="2026-09-17T09:45:12Z" msg="Starting service" time="2026-09-17T09:45:12Z" msg="Starting service" time="2026-09-17T09:45:12Z" msg="Starting frontend service" time="2026-09-17T09:45:12Z" msg="Starting poll service" time="2026-09-17T09:45:12Z" msg="Loading users" /user time="2026-09-17T09:45:12Z" msg="Checking for updates" time="2026-09-17T09:45:12Z" msg="Starting receiver service" time="2026-09-17T09:45:12Z" msg="Finished loading users" /user time="2026-09-17T09:45:12Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/003/config3592747007/grpcServerConfig.json time="2026-09-17T09:45:12Z" msg="gRPC server listening on /tmp/bridge8828" time="2026-09-17T09:45:12Z" msg="Frontend service started" time="2026-09-17T09:45:12Z" msg="Starting frontend client" time="2026-09-17T09:45:12Z" msg="Not monitoring parent PID" time="2026-09-17T09:45:12Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:45:12Z" msg="200 OK: GET https://127.0.0.1:38267/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:45:12Z" msg="Frontend client started" And bridge starts # :1 -> *scenario Then bridge IMAP port is 1143 # :1 -> *scenario time="2026-09-17T09:45:12Z" msg="Frontend service stopped" time="2026-09-17T09:45:12Z" msg="Frontend client stopped" time="2026-09-17T09:45:12Z" msg="Closing bridge" time="2026-09-17T09:45:12Z" msg="Stopping service" time="2026-09-17T09:45:12Z" msg="Closing IMAP Listener" time="2026-09-17T09:45:12Z" msg="Closing IMAP server" time="2026-09-17T09:45:12Z" msg="Closing SMTP Listener" time="2026-09-17T09:45:12Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1031: use of closed network connection" time="2026-09-17T09:45:12Z" msg="Closing SMTP server" time="2026-09-17T09:45:12Z" msg="Closing service" Then bridge SMTP port is 1031 # :1 -> *scenario Scenario: bridge picks ports for IMAP SMTP wisely when default ports are busy. # features/bridge/default_ports.feature:20 When the network port range 1025-1200 is busy # :1 -> *scenario time="2026-09-17T09:45:12Z" msg="Starting bridge" time="2026-09-17T09:45:12Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/004/config358774237/grpcFocusServerConfig.json /service time="2026-09-17T09:45:12Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/004/cache2021876038/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:45:12Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/004/cache2021876038/notifications/notification_cache: no such file or directory" time="2026-09-17T09:45:12Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/004/data1133585907/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/004/data1133585907/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:45:12Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:45:12Z" msg="Starting IMAP server" time="2026-09-17T09:45:12Z" msg="Starting SMTP server" time="2026-09-17T09:45:12Z" msg="Starting service" time="2026-09-17T09:45:12Z" msg="Starting service" time="2026-09-17T09:45:12Z" msg="Starting receiver service" time="2026-09-17T09:45:12Z" msg="Starting frontend service" time="2026-09-17T09:45:12Z" msg="Starting poll service" time="2026-09-17T09:45:12Z" msg="Checking for updates" time="2026-09-17T09:45:12Z" msg="Loading users" /user time="2026-09-17T09:45:12Z" msg="Finished loading users" /user time="2026-09-17T09:45:12Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/004/config358774237/grpcServerConfig.json time="2026-09-17T09:45:12Z" msg="gRPC server listening on /tmp/bridge2396" time="2026-09-17T09:45:12Z" msg="Frontend service started" time="2026-09-17T09:45:12Z" msg="Starting frontend client" time="2026-09-17T09:45:12Z" msg="Not monitoring parent PID" time="2026-09-17T09:45:12Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:45:12Z" msg="200 OK: GET https://127.0.0.1:44563/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:45:12Z" msg="Frontend client started" And bridge starts # :1 -> *scenario Then bridge IMAP port is 1201 # :1 -> *scenario time="2026-09-17T09:45:12Z" msg="Frontend service stopped" time="2026-09-17T09:45:12Z" msg="Frontend client stopped" time="2026-09-17T09:45:12Z" msg="Closing bridge" time="2026-09-17T09:45:12Z" msg="Stopping service" time="2026-09-17T09:45:12Z" msg="Closing IMAP Listener" time="2026-09-17T09:45:12Z" msg="Closing IMAP server" time="2026-09-17T09:45:12Z" msg="Closing SMTP Listener" time="2026-09-17T09:45:12Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1202: use of closed network connection" time="2026-09-17T09:45:12Z" msg="Closing SMTP server" time="2026-09-17T09:45:12Z" msg="Closing service" Then bridge SMTP port is 1202 # :1 -> *scenario Feature: Send Telemetry Heartbeat time="2026-09-17T09:45:12Z" msg="User 'bc2878b8-70cc-455a-abc9-5ef74a28b344' created with " /server/backend Background: Given there exists an account with username "bc2878b8-70cc-455a-abc9-5ef74a28b344" and password "password" # :1 -> *scenario time="2026-09-17T09:45:13Z" msg="User '7c46297d-0eff-4657-9be3-42876b53d307' created with " /server/backend And there exists an account with username "7c46297d-0eff-4657-9be3-42876b53d307" and password "password" # :1 -> *scenario time="2026-09-17T09:45:13Z" msg="User '906b9051-36a9-4b27-935d-ebb1002dbccc' created with " /server/backend And there exists an account with username "906b9051-36a9-4b27-935d-ebb1002dbccc" and password "password" # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:45:14Z" msg="Starting bridge" time="2026-09-17T09:45:14Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/005/config1074929531/grpcFocusServerConfig.json /service time="2026-09-17T09:45:14Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/005/cache1778932849/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:45:14Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/005/cache1778932849/notifications/notification_cache: no such file or directory" time="2026-09-17T09:45:14Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/005/data444516360/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/005/data444516360/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:45:14Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:45:14Z" msg="Starting IMAP server" time="2026-09-17T09:45:14Z" msg="Starting SMTP server" time="2026-09-17T09:45:14Z" msg="Starting service" time="2026-09-17T09:45:14Z" msg="Starting service" time="2026-09-17T09:45:14Z" msg="Starting frontend service" time="2026-09-17T09:45:14Z" msg="Starting receiver service" time="2026-09-17T09:45:14Z" msg="Starting poll service" time="2026-09-17T09:45:14Z" msg="Checking for updates" time="2026-09-17T09:45:14Z" msg="Loading users" /user time="2026-09-17T09:45:14Z" msg="Finished loading users" /user time="2026-09-17T09:45:14Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/005/config1074929531/grpcServerConfig.json time="2026-09-17T09:45:14Z" msg="gRPC server listening on /tmp/bridge0920" time="2026-09-17T09:45:14Z" msg="Frontend service started" time="2026-09-17T09:45:14Z" msg="Starting frontend client" time="2026-09-17T09:45:14Z" msg="Not monitoring parent PID" time="2026-09-17T09:45:14Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:45:14Z" msg="Frontend client started" When bridge starts # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:45:14Z" msg="200 OK: GET https://127.0.0.1:45325/feature/v2/frontend?bridgeStickyK" /manager Scenario: Send at first start - one user default settings # features/bridge/heartbeat.feature:11 Then bridge telemetry feature is enabled # :1 -> *scenario And bridge needs to send heartbeat # :1 -> *scenario time="2026-09-17T09:45:14Z" msg="Performing full user login" /user username="******** (e9c06ef6)" time="2026-09-17T09:45:14Z" msg="Authorizing user for login" /user username="******** (e9c06ef6)" time="2026-09-17T09:45:14Z" msg="200 OK: POST https://127.0.0.1:45325/auth/v4/info" /manager time="2026-09-17T09:45:14Z" msg="200 OK: POST https://127.0.0.1:45325/auth/v4" /manager time="2026-09-17T09:45:14Z" msg="Logging in authorized user" /user userID=cd65eac3-c9d3-47c9-8fbf-ec2fd1b7266e time="2026-09-17T09:45:14Z" msg="Adding vault user" userID=cd65eac3-c9d3-47c9-8fbf-ec2fd1b7266e time="2026-09-17T09:45:14Z" msg="Creating new user" userID=cd65eac3-c9d3-47c9-8fbf-ec2fd1b7266e time="2026-09-17T09:45:14Z" msg="404 GET https://127.0.0.1:45325/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:45:14Z" msg="404 GET https://127.0.0.1:45325/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:45:14Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:45325/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:45:14Z" msg="Creating user object" authUID=0b62e92c-d64e-43ad-b7ef-3ee46db1b813 numA numL userID=cd65eac3-c9d3-47c9-8fbf-ec2fd1b7266e time="2026-09-17T09:45:14Z" msg="200 OK: GET https://127.0.0.1:45325/core/v4/events/latest" /client userID=cd65eac3-c9d3-47c9-8fbf-ec2fd1b7266e time="2026-09-17T09:45:14Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:45:14Z" msg="200 OK: GET https://127.0.0.1:45325/core/v4/settings" /client userID=cd65eac3-c9d3-47c9-8fbf-ec2fd1b7266e time="2026-09-17T09:45:14Z" msg="Registering user client, ID:cd65eac3-c9d3-47c9-8fbf-ec2fd1b7266e" time="2026-09-17T09:45:14Z" msg="Starting service main loop" time="2026-09-17T09:45:14Z" msg="Starting user identity service" numA time="2026-09-17T09:45:14Z" msg="Starting service main loop" time="2026-09-17T09:45:14Z" msg="Starting service main loop" time="2026-09-17T09:45:14Z" msg="200 OK: GET https://127.0.0.1:45325/core/v4/labels?T" /client userID=cd65eac3-c9d3-47c9-8fbf-ec2fd1b7266e time="2026-09-17T09:45:14Z" msg="200 OK: GET https://127.0.0.1:45325/core/v4/labels?T" /client userID=cd65eac3-c9d3-47c9-8fbf-ec2fd1b7266e time="2026-09-17T09:45:14Z" msg="200 OK: GET https://127.0.0.1:45325/core/v4/labels?T" /client userID=cd65eac3-c9d3-47c9-8fbf-ec2fd1b7266e time="2026-09-17T09:45:14Z" msg="Setting labels" labelIDs="[10 0 2 3 6 7 8 9 12 1 4 5]" time="2026-09-17T09:45:14Z" msg="Adding user to imap server" addrID=363b9eec-7dc9-4ec8-8692-65efd15e92c3 time="2026-09-17T09:45:14Z" msg="Creating new IMAP user" addrID=363b9eec-7dc9-4ec8-8692-65efd15e92c3 time="2026-09-17T09:45:14Z" msg="Setting gluon ID" addrID=363b9eec-7dc9-4ec8-8692-65efd15e92c3 gluonID=3304dd72-fb75-4dc5-aa69-1f9e7a888454 userID=cd65eac3-c9d3-47c9-8fbf-ec2fd1b7266e time="2026-09-17T09:45:14Z" msg="Received mailbox message count" gluonID=3304dd72-fb75-4dc5-aa69-1f9e7a888454 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:45:14Z" msg="Created new IMAP user" addrID=363b9eec-7dc9-4ec8-8692-65efd15e92c3 gluonID=3304dd72-fb75-4dc5-aa69-1f9e7a888454 time="2026-09-17T09:45:14Z" msg="Validating Listener State" time="2026-09-17T09:45:14Z" time="2026-09-17T09:45:14Z" msg="Starting IMAP Service" time="2026-09-17T09:45:14Z" msg="Checking whether logged in user should re-sync. UserID:cd65eac3-c9d3-47c9-8fbf-ec2fd1b7266e" userID=cd65eac3-c9d3-47c9-8fbf-ec2fd1b7266e time="2026-09-17T09:45:14Z" msg="Sync triggered" When the user logs in with username "bc2878b8-70cc-455a-abc9-5ef74a28b344" and password "password" # :1 -> *scenario time="2026-09-17T09:45:14Z" msg="Beginning user sync" start="2026-09-17 09:45:14.625048554 +0000 UTC m=+3.117350890" time="2026-09-17T09:45:14Z" msg="Syncing labels" time="2026-09-17T09:45:14Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=3304dd72-fb75-4dc5-aa69-1f9e7a888454 time="2026-09-17T09:45:14Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=3304dd72-fb75-4dc5-aa69-1f9e7a888454 time="2026-09-17T09:45:14Z" msg="Mailbox created" /user remoteMailboxID=0 userID=3304dd72-fb75-4dc5-aa69-1f9e7a888454 time="2026-09-17T09:45:14Z" msg="Mailbox created" /user remoteMailboxID=6 userID=3304dd72-fb75-4dc5-aa69-1f9e7a888454 time="2026-09-17T09:45:14Z" msg="Mailbox created" /user remoteMailboxID=8 userID=3304dd72-fb75-4dc5-aa69-1f9e7a888454 time="2026-09-17T09:45:14Z" msg="Mailbox created" /user remoteMailboxID=12 userID=3304dd72-fb75-4dc5-aa69-1f9e7a888454 time="2026-09-17T09:45:14Z" msg="Mailbox created" /user remoteMailboxID=4 userID=3304dd72-fb75-4dc5-aa69-1f9e7a888454 time="2026-09-17T09:45:14Z" msg="Mailbox created" /user remoteMailboxID=3 userID=3304dd72-fb75-4dc5-aa69-1f9e7a888454 time="2026-09-17T09:45:14Z" msg="Mailbox created" /user remoteMailboxID=7 userID=3304dd72-fb75-4dc5-aa69-1f9e7a888454 time="2026-09-17T09:45:14Z" msg="Mailbox created" /user remoteMailboxID=5 userID=3304dd72-fb75-4dc5-aa69-1f9e7a888454 time="2026-09-17T09:45:14Z" msg="Mailbox created" /user remoteMailboxID=10 userID=3304dd72-fb75-4dc5-aa69-1f9e7a888454 time="2026-09-17T09:45:14Z" msg="Synced labels" time="2026-09-17T09:45:14Z" msg="200 OK: GET https://127.0.0.1:45325/mail/v4/messages/count" /client userID=cd65eac3-c9d3-47c9-8fbf-ec2fd1b7266e time="2026-09-17T09:45:14Z" msg="Syncing messages" time="2026-09-17T09:45:14Z" msg="Job started" time="2026-09-17T09:45:14Z" msg="200 OK: POST https://127.0.0.1:45325/mail/v4/messages" /client userID=cd65eac3-c9d3-47c9-8fbf-ec2fd1b7266e time="2026-09-17T09:45:14Z" msg="Job finished" time="2026-09-17T09:45:14Z" msg="All child jobs completed" sync- time="2026-09-17T09:45:14Z" msg="Synced messages" time="2026-09-17T09:45:14Z" msg="Finished user sync" .735158ms time="2026-09-17T09:45:14Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:45:14Z" msg="Event loop reset" eventID="AA==" And user "bc2878b8-70cc-455a-abc9-5ef74a28b344" finishes syncing # :1 -> *scenario time="2026-09-17T09:45:14Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 8} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" Then bridge eventually sends the following heartbeat: # :1 -> *scenario """ { "MeasurementGroup": "bridge.any.heartbeat", "Event": "bridge_heartbeat_new", "Values": { "NumberConnectedAccounts": 1, "rolloutPercentage": 1 }, "Dimensions": { "isAutoUpdateEnabled": "true", "isAutoStartEnabled": "true", "isBetaEnabled": "false", "isDohEnabled": "false", "usesSplitMode": "false", "useAllMail": "true", "useDefaultImapPort": "true", "useDefaultSmtpPort": "true", "useDefaultCacheLocation": "true", "useDefaultKeychain": "true", "isContactedByAppleNotes": "false", "imapConnectionMode": "starttls", "smtpConnectionMode": "starttls", "prevVersion": "0.0.0", "bridgePlanGroup": "unknown" } } """ time="2026-09-17T09:45:14Z" msg="Frontend service stopped" time="2026-09-17T09:45:14Z" msg="Frontend client stopped" time="2026-09-17T09:45:14Z" msg="Closing bridge" time="2026-09-17T09:45:14Z" msg="Stopping service" time="2026-09-17T09:45:14Z" msg="Closing user" userID=cd65eac3-c9d3-47c9-8fbf-ec2fd1b7266e time="2026-09-17T09:45:14Z" msg="De-registering user client, ID:cd65eac3-c9d3-47c9-8fbf-ec2fd1b7266e" time="2026-09-17T09:45:14Z" msg="Exiting IMAP Service" time="2026-09-17T09:45:14Z" msg="Exiting service main loop" time="2026-09-17T09:45:14Z" msg="Exiting service main loop" time="2026-09-17T09:45:14Z" msg="Exiting Service" time="2026-09-17T09:45:14Z" msg="Exiting service main loop" time="2026-09-17T09:45:14Z" msg="Exiting service" time="2026-09-17T09:45:14Z" msg="Closing IMAP Listener" time="2026-09-17T09:45:14Z" msg="Closing IMAP server" time="2026-09-17T09:45:14Z" msg="Closing SMTP Listener" time="2026-09-17T09:45:14Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:45:14Z" msg="Closing SMTP server" time="2026-09-17T09:45:14Z" msg="Closing service" And bridge do not need to send heartbeat # :1 -> *scenario time="2026-09-17T09:45:15Z" msg="User '721592e9-86d5-4ad4-b28a-17572ba17e15' created with " /server/backend time="2026-09-17T09:45:15Z" msg="User 'c5edc780-3a92-43f3-8a12-bbc7060a7c7d' created with " /server/backend time="2026-09-17T09:45:16Z" msg="User '65d29a55-d90d-4fd9-b55b-18cc3af344ca' created with " /server/backend time="2026-09-17T09:45:16Z" msg="Starting bridge" time="2026-09-17T09:45:16Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/006/config2950662278/grpcFocusServerConfig.json /service time="2026-09-17T09:45:16Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/006/cache77074293/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:45:16Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/006/cache77074293/notifications/notification_cache: no such file or directory" time="2026-09-17T09:45:16Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/006/data2660365558/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/006/data2660365558/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:45:16Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:45:16Z" msg="Starting IMAP server" time="2026-09-17T09:45:16Z" msg="Starting SMTP server" time="2026-09-17T09:45:16Z" msg="Starting service" time="2026-09-17T09:45:16Z" msg="Starting service" time="2026-09-17T09:45:16Z" msg="Starting receiver service" time="2026-09-17T09:45:16Z" msg="Starting frontend service" time="2026-09-17T09:45:16Z" msg="Loading users" /user time="2026-09-17T09:45:16Z" msg="Checking for updates" time="2026-09-17T09:45:16Z" msg="Starting poll service" time="2026-09-17T09:45:16Z" msg="Finished loading users" /user time="2026-09-17T09:45:16Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/006/config2950662278/grpcServerConfig.json time="2026-09-17T09:45:16Z" msg="gRPC server listening on /tmp/bridge2655" time="2026-09-17T09:45:16Z" msg="Frontend service started" time="2026-09-17T09:45:16Z" msg="Starting frontend client" time="2026-09-17T09:45:16Z" msg="Not monitoring parent PID" time="2026-09-17T09:45:16Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:45:16Z" msg="200 OK: GET https://127.0.0.1:41345/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:45:16Z" msg="Frontend client started" Scenario: Send at first start - one user modified settings # features/bridge/heartbeat.feature:47 Then bridge telemetry feature is enabled # :1 -> *scenario And bridge needs to send heartbeat # :1 -> *scenario When the user has disabled automatic updates # :1 -> *scenario time="2026-09-17T09:45:16Z" msg="Checking for updates" And the user has disabled automatic start # :1 -> *scenario And the user has enabled alternative routing # :1 -> *scenario And the user hides All Mail # :1 -> *scenario time="2026-09-17T09:45:16Z" msg="Restarting IMAP server" time="2026-09-17T09:45:16Z" msg="Starting IMAP server" And the user set IMAP mode to SSL # :1 -> *scenario time="2026-09-17T09:45:16Z" msg="Restarting SMTP server" time="2026-09-17T09:45:16Z" msg="Closing SMTP Listener" time="2026-09-17T09:45:16Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:45:16Z" msg="Closing SMTP server" time="2026-09-17T09:45:16Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:45:16Z" msg="Starting SMTP server" And the user set SMTP mode to SSL # :1 -> *scenario time="2026-09-17T09:45:16Z" msg="Restarting IMAP server" time="2026-09-17T09:45:16Z" msg="Starting IMAP server" And the user changes the IMAP port to 42695 # :1 -> *scenario time="2026-09-17T09:45:16Z" msg="Restarting SMTP server" time="2026-09-17T09:45:16Z" msg="Closing SMTP Listener" time="2026-09-17T09:45:16Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:45:16Z" msg="Closing SMTP server" time="2026-09-17T09:45:16Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:45:16Z" msg="Starting SMTP server" And the user changes the SMTP port to 56942 # :1 -> *scenario time="2026-09-17T09:45:16Z" msg="Pausing user event loops for gluon dir change" time="2026-09-17T09:45:16Z" msg="Waiting on user event loop completion" time="2026-09-17T09:45:16Z" msg="Changing gluon directory" time="2026-09-17T09:45:16Z" msg="Closing IMAP Listener" time="2026-09-17T09:45:16Z" msg="Closing IMAP server" time="2026-09-17T09:45:16Z" msg="gluon cache moving from /tmp/TestFeatures608333626/006/data2660365558/gluon to /tmp/TestFeatures608333626/006/gluon2949311517/gluon" /imap time="2026-09-17T09:45:16Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/006/data2660365558/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/006/gluon2949311517/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:45:16Z" msg="Starting IMAP server" time="2026-09-17T09:45:16Z" msg="Restarting user event loops" And the user changes the gluon path # :1 -> *scenario And the user changes the default keychain application # :1 -> *scenario time="2026-09-17T09:45:16Z" msg="Performing full user login" /user username="******** (f8d4101f)" time="2026-09-17T09:45:16Z" msg="Authorizing user for login" /user username="******** (f8d4101f)" time="2026-09-17T09:45:16Z" msg="200 OK: POST https://127.0.0.1:41345/auth/v4/info" /manager time="2026-09-17T09:45:17Z" msg="200 OK: POST https://127.0.0.1:41345/auth/v4" /manager time="2026-09-17T09:45:17Z" msg="Logging in authorized user" /user userID=5e76ba8c-a1d6-4b2a-8007-c890e6cb2150 time="2026-09-17T09:45:17Z" msg="Adding vault user" userID=5e76ba8c-a1d6-4b2a-8007-c890e6cb2150 time="2026-09-17T09:45:17Z" msg="Creating new user" userID=5e76ba8c-a1d6-4b2a-8007-c890e6cb2150 time="2026-09-17T09:45:17Z" msg="404 GET https://127.0.0.1:41345/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:45:17Z" msg="404 GET https://127.0.0.1:41345/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:45:17Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:41345/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:45:17Z" msg="Creating user object" authUID=f82390b8-decd-4ebf-b0e9-3dfa8e7d52a9 numA numL userID=5e76ba8c-a1d6-4b2a-8007-c890e6cb2150 time="2026-09-17T09:45:17Z" msg="200 OK: GET https://127.0.0.1:41345/core/v4/events/latest" /client userID=5e76ba8c-a1d6-4b2a-8007-c890e6cb2150 time="2026-09-17T09:45:17Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:45:17Z" msg="200 OK: GET https://127.0.0.1:41345/core/v4/settings" /client userID=5e76ba8c-a1d6-4b2a-8007-c890e6cb2150 time="2026-09-17T09:45:17Z" msg="Registering user client, ID:5e76ba8c-a1d6-4b2a-8007-c890e6cb2150" time="2026-09-17T09:45:17Z" msg="Starting user identity service" numA time="2026-09-17T09:45:17Z" msg="Starting service main loop" time="2026-09-17T09:45:17Z" msg="Starting service main loop" time="2026-09-17T09:45:17Z" msg="Starting service main loop" time="2026-09-17T09:45:17Z" msg="200 OK: GET https://127.0.0.1:41345/core/v4/labels?T" /client userID=5e76ba8c-a1d6-4b2a-8007-c890e6cb2150 time="2026-09-17T09:45:17Z" msg="200 OK: GET https://127.0.0.1:41345/core/v4/labels?T" /client userID=5e76ba8c-a1d6-4b2a-8007-c890e6cb2150 time="2026-09-17T09:45:17Z" msg="200 OK: GET https://127.0.0.1:41345/core/v4/labels?T" /client userID=5e76ba8c-a1d6-4b2a-8007-c890e6cb2150 time="2026-09-17T09:45:17Z" msg="Setting labels" labelIDs="[0 1 3 7 10 12 2 4 5 6 8 9]" time="2026-09-17T09:45:17Z" msg="Adding user to imap server" addrID=7c79e131-3c2b-4bd7-9f5f-41e65617f8f1 time="2026-09-17T09:45:17Z" msg="Creating new IMAP user" addrID=7c79e131-3c2b-4bd7-9f5f-41e65617f8f1 time="2026-09-17T09:45:17Z" msg="Setting gluon ID" addrID=7c79e131-3c2b-4bd7-9f5f-41e65617f8f1 gluonID=ca57592e-6b6d-49f0-b056-00559d71ef08 userID=5e76ba8c-a1d6-4b2a-8007-c890e6cb2150 time="2026-09-17T09:45:17Z" msg="Received mailbox message count" gluonID=ca57592e-6b6d-49f0-b056-00559d71ef08 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:45:17Z" msg="Created new IMAP user" addrID=7c79e131-3c2b-4bd7-9f5f-41e65617f8f1 gluonID=ca57592e-6b6d-49f0-b056-00559d71ef08 time="2026-09-17T09:45:17Z" msg="Validating Listener State" time="2026-09-17T09:45:17Z" time="2026-09-17T09:45:17Z" msg="Checking whether logged in user should re-sync. UserID:5e76ba8c-a1d6-4b2a-8007-c890e6cb2150" userID=5e76ba8c-a1d6-4b2a-8007-c890e6cb2150 When the user logs in with username "721592e9-86d5-4ad4-b28a-17572ba17e15" and password "password" # :1 -> *scenario time="2026-09-17T09:45:17Z" msg="Starting IMAP Service" time="2026-09-17T09:45:17Z" msg="Sync triggered" time="2026-09-17T09:45:17Z" msg="Beginning user sync" start="2026-09-17 09:45:17.257778382 +0000 UTC m=+5.750080838" time="2026-09-17T09:45:17Z" msg="Syncing labels" time="2026-09-17T09:45:17Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=ca57592e-6b6d-49f0-b056-00559d71ef08 time="2026-09-17T09:45:17Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=ca57592e-6b6d-49f0-b056-00559d71ef08 time="2026-09-17T09:45:17Z" msg="Mailbox created" /user remoteMailboxID=0 userID=ca57592e-6b6d-49f0-b056-00559d71ef08 time="2026-09-17T09:45:17Z" msg="Mailbox created" /user remoteMailboxID=3 userID=ca57592e-6b6d-49f0-b056-00559d71ef08 time="2026-09-17T09:45:17Z" msg="Mailbox created" /user remoteMailboxID=10 userID=ca57592e-6b6d-49f0-b056-00559d71ef08 time="2026-09-17T09:45:17Z" msg="Mailbox created" /user remoteMailboxID=4 userID=ca57592e-6b6d-49f0-b056-00559d71ef08 time="2026-09-17T09:45:17Z" msg="Mailbox created" /user remoteMailboxID=5 userID=ca57592e-6b6d-49f0-b056-00559d71ef08 time="2026-09-17T09:45:17Z" msg="Mailbox created" /user remoteMailboxID=8 userID=ca57592e-6b6d-49f0-b056-00559d71ef08 time="2026-09-17T09:45:17Z" msg="Mailbox created" /user remoteMailboxID=7 userID=ca57592e-6b6d-49f0-b056-00559d71ef08 time="2026-09-17T09:45:17Z" msg="Mailbox created" /user remoteMailboxID=12 userID=ca57592e-6b6d-49f0-b056-00559d71ef08 time="2026-09-17T09:45:17Z" msg="Mailbox created" /user remoteMailboxID=6 userID=ca57592e-6b6d-49f0-b056-00559d71ef08 time="2026-09-17T09:45:17Z" msg="Synced labels" time="2026-09-17T09:45:17Z" msg="200 OK: GET https://127.0.0.1:41345/mail/v4/messages/count" /client userID=5e76ba8c-a1d6-4b2a-8007-c890e6cb2150 time="2026-09-17T09:45:17Z" msg="Syncing messages" time="2026-09-17T09:45:17Z" msg="Job started" time="2026-09-17T09:45:17Z" msg="200 OK: POST https://127.0.0.1:41345/mail/v4/messages" /client userID=5e76ba8c-a1d6-4b2a-8007-c890e6cb2150 time="2026-09-17T09:45:17Z" msg="Job finished" time="2026-09-17T09:45:17Z" msg="All child jobs completed" sync- time="2026-09-17T09:45:17Z" msg="Synced messages" time="2026-09-17T09:45:17Z" msg="Finished user sync" .408832ms time="2026-09-17T09:45:17Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:45:17Z" msg="Event loop reset" eventID="AA==" And user "721592e9-86d5-4ad4-b28a-17572ba17e15" finishes syncing # :1 -> *scenario time="2026-09-17T09:45:17Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 3} {false false false true false false false false false false false 0.0.0 ssl ssl unknown}}" Then bridge eventually sends the following heartbeat: # :1 -> *scenario """ { "MeasurementGroup": "bridge.any.heartbeat", "Event": "bridge_heartbeat_new", "Values": { "NumberConnectedAccounts": 1, "rolloutPercentage": 1 }, "Dimensions": { "isAutoUpdateEnabled": "false", "isAutoStartEnabled": "false", "isBetaEnabled": "false", "isDohEnabled": "true", "usesSplitMode": "false", "useAllMail": "false", "useDefaultImapPort": "false", "useDefaultSmtpPort": "false", "useDefaultCacheLocation": "false", "useDefaultKeychain": "false", "isContactedByAppleNotes": "false", "imapConnectionMode": "ssl", "smtpConnectionMode": "ssl", "prevVersion": "0.0.0", "bridgePlanGroup": "unknown" } } """ time="2026-09-17T09:45:17Z" msg="Frontend service stopped" time="2026-09-17T09:45:17Z" msg="Frontend client stopped" time="2026-09-17T09:45:17Z" msg="Closing bridge" time="2026-09-17T09:45:17Z" msg="Stopping service" time="2026-09-17T09:45:17Z" msg="Closing user" userID=5e76ba8c-a1d6-4b2a-8007-c890e6cb2150 time="2026-09-17T09:45:17Z" msg="De-registering user client, ID:5e76ba8c-a1d6-4b2a-8007-c890e6cb2150" time="2026-09-17T09:45:17Z" msg="Exiting IMAP Service" time="2026-09-17T09:45:17Z" msg="Exiting service main loop" time="2026-09-17T09:45:17Z" msg="Exiting service main loop" time="2026-09-17T09:45:17Z" msg="Exiting Service" time="2026-09-17T09:45:17Z" msg="Exiting service main loop" time="2026-09-17T09:45:17Z" msg="Exiting service" time="2026-09-17T09:45:17Z" msg="Closing IMAP Listener" time="2026-09-17T09:45:17Z" msg="Closing IMAP server" time="2026-09-17T09:45:17Z" msg="Closing SMTP Listener" time="2026-09-17T09:45:17Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:56942: use of closed network connection" time="2026-09-17T09:45:17Z" msg="Closing SMTP server" time="2026-09-17T09:45:17Z" msg="Closing service" And bridge do not need to send heartbeat # :1 -> *scenario time="2026-09-17T09:45:17Z" msg="User '8c4867ad-001a-4268-ab97-26746414677b' created with " /server/backend time="2026-09-17T09:45:18Z" msg="User '512fa6ce-3db8-49f4-a778-48358ebc1f2a' created with " /server/backend time="2026-09-17T09:45:18Z" msg="User 'b8f3f606-550a-4313-8143-367adf840653' created with " /server/backend time="2026-09-17T09:45:19Z" msg="Starting bridge" time="2026-09-17T09:45:19Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/007/config1736369186/grpcFocusServerConfig.json /service time="2026-09-17T09:45:19Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/007/cache3403165008/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:45:19Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/007/cache3403165008/notifications/notification_cache: no such file or directory" time="2026-09-17T09:45:19Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/007/data2981613232/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/007/data2981613232/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:45:19Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:45:19Z" msg="Starting IMAP server" time="2026-09-17T09:45:19Z" msg="Starting SMTP server" time="2026-09-17T09:45:19Z" msg="Starting service" time="2026-09-17T09:45:19Z" msg="Starting service" time="2026-09-17T09:45:19Z" msg="Starting frontend service" time="2026-09-17T09:45:19Z" msg="Starting receiver service" time="2026-09-17T09:45:19Z" msg="Starting poll service" time="2026-09-17T09:45:19Z" msg="Checking for updates" time="2026-09-17T09:45:19Z" msg="Loading users" /user time="2026-09-17T09:45:19Z" msg="Finished loading users" /user time="2026-09-17T09:45:19Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/007/config1736369186/grpcServerConfig.json time="2026-09-17T09:45:19Z" msg="gRPC server listening on /tmp/bridge7519" time="2026-09-17T09:45:19Z" msg="Frontend service started" time="2026-09-17T09:45:19Z" msg="Starting frontend client" time="2026-09-17T09:45:19Z" msg="Not monitoring parent PID" time="2026-09-17T09:45:19Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:45:19Z" msg="200 OK: GET https://127.0.0.1:46253/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:45:19Z" msg="Frontend client started" Scenario: Send at first start - one user telemetry disabled # features/bridge/heartbeat.feature:93 Then bridge telemetry feature is enabled # :1 -> *scenario And bridge needs to send heartbeat # :1 -> *scenario When the user disables telemetry in bridge settings # :1 -> *scenario time="2026-09-17T09:45:19Z" msg="Performing full user login" /user username="******** (be84e1b2)" time="2026-09-17T09:45:19Z" msg="Authorizing user for login" /user username="******** (be84e1b2)" time="2026-09-17T09:45:19Z" msg="200 OK: POST https://127.0.0.1:46253/auth/v4/info" /manager time="2026-09-17T09:45:19Z" msg="200 OK: POST https://127.0.0.1:46253/auth/v4" /manager time="2026-09-17T09:45:19Z" msg="Logging in authorized user" /user userID=3e19a743-2ec2-4c07-a085-3f5690163bcb time="2026-09-17T09:45:19Z" msg="Adding vault user" userID=3e19a743-2ec2-4c07-a085-3f5690163bcb time="2026-09-17T09:45:19Z" msg="Creating new user" userID=3e19a743-2ec2-4c07-a085-3f5690163bcb time="2026-09-17T09:45:19Z" msg="404 GET https://127.0.0.1:46253/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:45:19Z" msg="404 GET https://127.0.0.1:46253/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:45:19Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:46253/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:45:19Z" msg="Creating user object" authUID=bc80e22f-733d-420a-a142-066c220343fd numA numL userID=3e19a743-2ec2-4c07-a085-3f5690163bcb time="2026-09-17T09:45:19Z" msg="200 OK: GET https://127.0.0.1:46253/core/v4/events/latest" /client userID=3e19a743-2ec2-4c07-a085-3f5690163bcb time="2026-09-17T09:45:19Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:45:19Z" msg="200 OK: GET https://127.0.0.1:46253/core/v4/settings" /client userID=3e19a743-2ec2-4c07-a085-3f5690163bcb time="2026-09-17T09:45:19Z" msg="Registering user client, ID:3e19a743-2ec2-4c07-a085-3f5690163bcb" time="2026-09-17T09:45:19Z" msg="Starting service main loop" time="2026-09-17T09:45:19Z" msg="Starting user identity service" numA time="2026-09-17T09:45:19Z" msg="Starting service main loop" time="2026-09-17T09:45:19Z" msg="Starting service main loop" time="2026-09-17T09:45:19Z" msg="200 OK: GET https://127.0.0.1:46253/core/v4/labels?T" /client userID=3e19a743-2ec2-4c07-a085-3f5690163bcb time="2026-09-17T09:45:19Z" msg="200 OK: GET https://127.0.0.1:46253/core/v4/labels?T" /client userID=3e19a743-2ec2-4c07-a085-3f5690163bcb time="2026-09-17T09:45:19Z" msg="200 OK: GET https://127.0.0.1:46253/core/v4/labels?T" /client userID=3e19a743-2ec2-4c07-a085-3f5690163bcb time="2026-09-17T09:45:19Z" msg="Setting labels" labelIDs="[8 9 2 3 10 12 0 1 4 5 6 7]" time="2026-09-17T09:45:19Z" msg="Adding user to imap server" addrID=3d6cf595-795b-4908-ab7a-eb1f5c1290f6 time="2026-09-17T09:45:19Z" msg="Creating new IMAP user" addrID=3d6cf595-795b-4908-ab7a-eb1f5c1290f6 time="2026-09-17T09:45:19Z" msg="Setting gluon ID" addrID=3d6cf595-795b-4908-ab7a-eb1f5c1290f6 gluonID=c4a9e1c3-da07-48cf-824a-1e5a60fef8f9 userID=3e19a743-2ec2-4c07-a085-3f5690163bcb time="2026-09-17T09:45:19Z" msg="Received mailbox message count" gluonID=c4a9e1c3-da07-48cf-824a-1e5a60fef8f9 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:45:19Z" msg="Created new IMAP user" addrID=3d6cf595-795b-4908-ab7a-eb1f5c1290f6 gluonID=c4a9e1c3-da07-48cf-824a-1e5a60fef8f9 time="2026-09-17T09:45:19Z" msg="Validating Listener State" time="2026-09-17T09:45:19Z" time="2026-09-17T09:45:19Z" msg="Starting IMAP Service" time="2026-09-17T09:45:19Z" msg="Checking whether logged in user should re-sync. UserID:3e19a743-2ec2-4c07-a085-3f5690163bcb" userID=3e19a743-2ec2-4c07-a085-3f5690163bcb And the user logs in with username "8c4867ad-001a-4268-ab97-26746414677b" and password "password" # :1 -> *scenario time="2026-09-17T09:45:19Z" msg="Sync triggered" time="2026-09-17T09:45:19Z" msg="Beginning user sync" start="2026-09-17 09:45:19.900449897 +0000 UTC m=+8.392752233" time="2026-09-17T09:45:19Z" msg="Syncing labels" time="2026-09-17T09:45:19Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=c4a9e1c3-da07-48cf-824a-1e5a60fef8f9 time="2026-09-17T09:45:19Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=c4a9e1c3-da07-48cf-824a-1e5a60fef8f9 time="2026-09-17T09:45:19Z" msg="Mailbox created" /user remoteMailboxID=0 userID=c4a9e1c3-da07-48cf-824a-1e5a60fef8f9 time="2026-09-17T09:45:19Z" msg="Mailbox created" /user remoteMailboxID=4 userID=c4a9e1c3-da07-48cf-824a-1e5a60fef8f9 time="2026-09-17T09:45:19Z" msg="Mailbox created" /user remoteMailboxID=3 userID=c4a9e1c3-da07-48cf-824a-1e5a60fef8f9 time="2026-09-17T09:45:19Z" msg="Mailbox created" /user remoteMailboxID=12 userID=c4a9e1c3-da07-48cf-824a-1e5a60fef8f9 time="2026-09-17T09:45:19Z" msg="Mailbox created" /user remoteMailboxID=5 userID=c4a9e1c3-da07-48cf-824a-1e5a60fef8f9 time="2026-09-17T09:45:19Z" msg="Mailbox created" /user remoteMailboxID=6 userID=c4a9e1c3-da07-48cf-824a-1e5a60fef8f9 time="2026-09-17T09:45:19Z" msg="Mailbox created" /user remoteMailboxID=7 userID=c4a9e1c3-da07-48cf-824a-1e5a60fef8f9 time="2026-09-17T09:45:19Z" msg="Mailbox created" /user remoteMailboxID=8 userID=c4a9e1c3-da07-48cf-824a-1e5a60fef8f9 time="2026-09-17T09:45:19Z" msg="Mailbox created" /user remoteMailboxID=10 userID=c4a9e1c3-da07-48cf-824a-1e5a60fef8f9 time="2026-09-17T09:45:19Z" msg="Synced labels" time="2026-09-17T09:45:19Z" msg="200 OK: GET https://127.0.0.1:46253/mail/v4/messages/count" /client userID=3e19a743-2ec2-4c07-a085-3f5690163bcb time="2026-09-17T09:45:19Z" msg="Syncing messages" time="2026-09-17T09:45:19Z" msg="Job started" time="2026-09-17T09:45:19Z" msg="200 OK: POST https://127.0.0.1:46253/mail/v4/messages" /client userID=3e19a743-2ec2-4c07-a085-3f5690163bcb time="2026-09-17T09:45:19Z" msg="Job finished" time="2026-09-17T09:45:19Z" msg="All child jobs completed" sync- time="2026-09-17T09:45:19Z" msg="Synced messages" time="2026-09-17T09:45:19Z" msg="Finished user sync" .246608ms time="2026-09-17T09:45:19Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:45:19Z" msg="Event loop reset" eventID="AA==" And user "8c4867ad-001a-4268-ab97-26746414677b" finishes syncing # :1 -> *scenario And bridge needs to send heartbeat # :1 -> *scenario time="2026-09-17T09:45:19Z" msg="Setting address mode" /user userID=3e19a743-2ec2-4c07-a085-3f5690163bcb time="2026-09-17T09:45:19Z" msg="Setting address mode" userID=3e19a743-2ec2-4c07-a085-3f5690163bcb time="2026-09-17T09:45:19Z" msg="Setting Split Address Mode" time="2026-09-17T09:45:19Z" msg="Removing gluon ID" addrID=3d6cf595-795b-4908-ab7a-eb1f5c1290f6 gluonID=c4a9e1c3-da07-48cf-824a-1e5a60fef8f9 userID=3e19a743-2ec2-4c07-a085-3f5690163bcb time="2026-09-17T09:45:19Z" msg="Validating Listener State" time="2026-09-17T09:45:19Z" msg="Adding user to imap server" addrID=3d6cf595-795b-4908-ab7a-eb1f5c1290f6 time="2026-09-17T09:45:19Z" msg="Creating new IMAP user" addrID=3d6cf595-795b-4908-ab7a-eb1f5c1290f6 time="2026-09-17T09:45:19Z" msg="Setting gluon ID" addrID=3d6cf595-795b-4908-ab7a-eb1f5c1290f6 gluonID=a034bd05-d9a0-4ec4-803d-a15daa3c5e87 userID=3e19a743-2ec2-4c07-a085-3f5690163bcb time="2026-09-17T09:45:19Z" msg="Received mailbox message count" gluonID=a034bd05-d9a0-4ec4-803d-a15daa3c5e87 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:45:19Z" msg="Created new IMAP user" addrID=3d6cf595-795b-4908-ab7a-eb1f5c1290f6 gluonID=a034bd05-d9a0-4ec4-803d-a15daa3c5e87 time="2026-09-17T09:45:19Z" msg="Validating Listener State" time="2026-09-17T09:45:19Z" msg="Sync triggered" time="2026-09-17T09:45:19Z" msg="Beginning user sync" start="2026-09-17 09:45:19.921556508 +0000 UTC m=+8.413858844" Then the user sets the address mode of user "8c4867ad-001a-4268-ab97-26746414677b" to "split" # :1 -> *scenario And the user enables telemetry in bridge settings # :1 -> *scenario time="2026-09-17T09:45:19Z" msg="Syncing labels" time="2026-09-17T09:45:19Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=a034bd05-d9a0-4ec4-803d-a15daa3c5e87 time="2026-09-17T09:45:19Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=a034bd05-d9a0-4ec4-803d-a15daa3c5e87 time="2026-09-17T09:45:19Z" msg="Mailbox created" /user remoteMailboxID=6 userID=a034bd05-d9a0-4ec4-803d-a15daa3c5e87 time="2026-09-17T09:45:19Z" msg="Mailbox created" /user remoteMailboxID=7 userID=a034bd05-d9a0-4ec4-803d-a15daa3c5e87 time="2026-09-17T09:45:19Z" msg="Mailbox created" /user remoteMailboxID=8 userID=a034bd05-d9a0-4ec4-803d-a15daa3c5e87 time="2026-09-17T09:45:19Z" msg="Mailbox created" /user remoteMailboxID=10 userID=a034bd05-d9a0-4ec4-803d-a15daa3c5e87 time="2026-09-17T09:45:19Z" msg="Mailbox created" /user remoteMailboxID=0 userID=a034bd05-d9a0-4ec4-803d-a15daa3c5e87 time="2026-09-17T09:45:19Z" msg="Mailbox created" /user remoteMailboxID=4 userID=a034bd05-d9a0-4ec4-803d-a15daa3c5e87 time="2026-09-17T09:45:19Z" msg="Mailbox created" /user remoteMailboxID=3 userID=a034bd05-d9a0-4ec4-803d-a15daa3c5e87 time="2026-09-17T09:45:19Z" msg="Mailbox created" /user remoteMailboxID=12 userID=a034bd05-d9a0-4ec4-803d-a15daa3c5e87 time="2026-09-17T09:45:19Z" msg="Mailbox created" /user remoteMailboxID=5 userID=a034bd05-d9a0-4ec4-803d-a15daa3c5e87 time="2026-09-17T09:45:19Z" msg="Synced labels" time="2026-09-17T09:45:19Z" msg="200 OK: GET https://127.0.0.1:46253/mail/v4/messages/count" /client userID=3e19a743-2ec2-4c07-a085-3f5690163bcb time="2026-09-17T09:45:19Z" msg="Syncing messages" time="2026-09-17T09:45:19Z" msg="Job started" time="2026-09-17T09:45:19Z" msg="200 OK: POST https://127.0.0.1:46253/mail/v4/messages" /client userID=3e19a743-2ec2-4c07-a085-3f5690163bcb time="2026-09-17T09:45:19Z" msg="Job finished" time="2026-09-17T09:45:19Z" msg="All child jobs completed" sync- time="2026-09-17T09:45:19Z" msg="Synced messages" time="2026-09-17T09:45:19Z" msg="Finished user sync" .741736ms time="2026-09-17T09:45:19Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:45:19Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:45:20Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 5} {true true false false true true true true true true false 0.0.0 starttls starttls unknown}}" Then bridge eventually sends the following heartbeat: # :1 -> *scenario """ { "MeasurementGroup": "bridge.any.heartbeat", "Event": "bridge_heartbeat_new", "Values": { "NumberConnectedAccounts": 1, "rolloutPercentage": 1 }, "Dimensions": { "isAutoUpdateEnabled": "true", "isAutoStartEnabled": "true", "isBetaEnabled": "false", "isDohEnabled": "false", "usesSplitMode": "true", "useAllMail": "true", "useDefaultImapPort": "true", "useDefaultSmtpPort": "true", "useDefaultCacheLocation": "true", "useDefaultKeychain": "true", "isContactedByAppleNotes": "false", "imapConnectionMode": "starttls", "smtpConnectionMode": "starttls", "prevVersion": "0.0.0", "bridgePlanGroup": "unknown" } } """ time="2026-09-17T09:45:20Z" msg="Frontend service stopped" time="2026-09-17T09:45:20Z" msg="Frontend client stopped" time="2026-09-17T09:45:20Z" msg="Closing bridge" time="2026-09-17T09:45:20Z" msg="Stopping service" time="2026-09-17T09:45:20Z" msg="Closing user" userID=3e19a743-2ec2-4c07-a085-3f5690163bcb time="2026-09-17T09:45:20Z" msg="De-registering user client, ID:3e19a743-2ec2-4c07-a085-3f5690163bcb" time="2026-09-17T09:45:20Z" msg="Exiting IMAP Service" time="2026-09-17T09:45:20Z" msg="Exiting service main loop" time="2026-09-17T09:45:20Z" msg="Exiting service main loop" time="2026-09-17T09:45:20Z" msg="Exiting Service" time="2026-09-17T09:45:20Z" msg="Exiting service main loop" time="2026-09-17T09:45:20Z" msg="Exiting service" time="2026-09-17T09:45:20Z" msg="Closing IMAP Listener" time="2026-09-17T09:45:20Z" msg="Closing IMAP server" time="2026-09-17T09:45:20Z" msg="Closing SMTP Listener" time="2026-09-17T09:45:20Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:45:20Z" msg="Closing SMTP server" time="2026-09-17T09:45:20Z" msg="Closing service" And bridge do not need to send heartbeat # :1 -> *scenario time="2026-09-17T09:45:20Z" msg="User '57ef56d3-032a-4c33-82d0-c0d026ab35b1' created with " /server/backend time="2026-09-17T09:45:20Z" msg="User '629e7072-6bb2-4e65-985d-deb69be1e8d6' created with " /server/backend time="2026-09-17T09:45:21Z" msg="User 'ba162278-c1f6-4e3b-aa62-b77d7a753c8e' created with " /server/backend time="2026-09-17T09:45:21Z" msg="Starting bridge" time="2026-09-17T09:45:21Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/008/config4088735495/grpcFocusServerConfig.json /service time="2026-09-17T09:45:21Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/008/cache1607514799/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:45:21Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/008/cache1607514799/notifications/notification_cache: no such file or directory" time="2026-09-17T09:45:21Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/008/data2000961396/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/008/data2000961396/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:45:21Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:45:21Z" msg="Starting IMAP server" time="2026-09-17T09:45:21Z" msg="Starting SMTP server" time="2026-09-17T09:45:21Z" msg="Starting service" time="2026-09-17T09:45:21Z" msg="Starting service" time="2026-09-17T09:45:21Z" msg="Starting receiver service" time="2026-09-17T09:45:21Z" msg="Starting poll service" time="2026-09-17T09:45:21Z" msg="Checking for updates" time="2026-09-17T09:45:21Z" msg="Starting frontend service" time="2026-09-17T09:45:21Z" msg="Loading users" /user time="2026-09-17T09:45:21Z" msg="Finished loading users" /user time="2026-09-17T09:45:21Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/008/config4088735495/grpcServerConfig.json time="2026-09-17T09:45:21Z" msg="gRPC server listening on /tmp/bridge8986" time="2026-09-17T09:45:21Z" msg="Frontend service started" time="2026-09-17T09:45:21Z" msg="Starting frontend client" time="2026-09-17T09:45:21Z" msg="Not monitoring parent PID" time="2026-09-17T09:45:21Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:45:21Z" msg="200 OK: GET https://127.0.0.1:38527/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:45:21Z" msg="Frontend client started" Scenario: Multiple-users on Bridge reported correctly # features/bridge/heartbeat.feature:133 Then bridge telemetry feature is enabled # :1 -> *scenario time="2026-09-17T09:45:22Z" msg="Performing full user login" /user username="******** (fc2c98be)" time="2026-09-17T09:45:22Z" msg="Authorizing user for login" /user username="******** (fc2c98be)" time="2026-09-17T09:45:22Z" msg="200 OK: POST https://127.0.0.1:38527/auth/v4/info" /manager time="2026-09-17T09:45:22Z" msg="200 OK: POST https://127.0.0.1:38527/auth/v4" /manager time="2026-09-17T09:45:22Z" msg="Logging in authorized user" /user userID=5f32ffe5-2967-45ac-b522-bde8dcd1e0de time="2026-09-17T09:45:22Z" msg="Adding vault user" userID=5f32ffe5-2967-45ac-b522-bde8dcd1e0de time="2026-09-17T09:45:22Z" msg="Creating new user" userID=5f32ffe5-2967-45ac-b522-bde8dcd1e0de time="2026-09-17T09:45:22Z" msg="404 GET https://127.0.0.1:38527/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:45:22Z" msg="404 GET https://127.0.0.1:38527/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:45:22Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:38527/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:45:22Z" msg="Creating user object" authUID=1709b1a9-377b-4b1f-ba3e-a3f73877151d numA numL userID=5f32ffe5-2967-45ac-b522-bde8dcd1e0de time="2026-09-17T09:45:22Z" msg="200 OK: GET https://127.0.0.1:38527/core/v4/events/latest" /client userID=5f32ffe5-2967-45ac-b522-bde8dcd1e0de time="2026-09-17T09:45:22Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:45:22Z" msg="200 OK: GET https://127.0.0.1:38527/core/v4/settings" /client userID=5f32ffe5-2967-45ac-b522-bde8dcd1e0de time="2026-09-17T09:45:22Z" msg="Registering user client, ID:5f32ffe5-2967-45ac-b522-bde8dcd1e0de" time="2026-09-17T09:45:22Z" msg="Starting service main loop" time="2026-09-17T09:45:22Z" msg="Starting user identity service" numA time="2026-09-17T09:45:22Z" msg="Starting service main loop" time="2026-09-17T09:45:22Z" msg="Starting service main loop" time="2026-09-17T09:45:22Z" msg="200 OK: GET https://127.0.0.1:38527/core/v4/labels?T" /client userID=5f32ffe5-2967-45ac-b522-bde8dcd1e0de time="2026-09-17T09:45:22Z" msg="200 OK: GET https://127.0.0.1:38527/core/v4/labels?T" /client userID=5f32ffe5-2967-45ac-b522-bde8dcd1e0de time="2026-09-17T09:45:22Z" msg="200 OK: GET https://127.0.0.1:38527/core/v4/labels?T" /client userID=5f32ffe5-2967-45ac-b522-bde8dcd1e0de time="2026-09-17T09:45:22Z" msg="Setting labels" labelIDs="[0 1 2 3 4 6 10 5 7 8 9 12]" time="2026-09-17T09:45:22Z" msg="Adding user to imap server" addrID=3284be49-3a32-43e7-80e1-54f05196ddb1 time="2026-09-17T09:45:22Z" msg="Creating new IMAP user" addrID=3284be49-3a32-43e7-80e1-54f05196ddb1 time="2026-09-17T09:45:22Z" msg="Setting gluon ID" addrID=3284be49-3a32-43e7-80e1-54f05196ddb1 gluonID=5d0ea6ca-7656-430f-8799-f66e5b0e55e2 userID=5f32ffe5-2967-45ac-b522-bde8dcd1e0de time="2026-09-17T09:45:22Z" msg="Created new IMAP user" addrID=3284be49-3a32-43e7-80e1-54f05196ddb1 gluonID=5d0ea6ca-7656-430f-8799-f66e5b0e55e2 time="2026-09-17T09:45:22Z" msg="Validating Listener State" time="2026-09-17T09:45:22Z" When the user logs in with username "57ef56d3-032a-4c33-82d0-c0d026ab35b1" and password "password" # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:45:22Z" msg="Performing full user login" /user username="******** (c80c0bc7)" time="2026-09-17T09:45:22Z" msg="Authorizing user for login" /user username="******** (c80c0bc7)" time="2026-09-17T09:45:22Z" msg="Received mailbox message count" gluonID=5d0ea6ca-7656-430f-8799-f66e5b0e55e2 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:45:22Z" msg="Checking whether logged in user should re-sync. UserID:5f32ffe5-2967-45ac-b522-bde8dcd1e0de" userID=5f32ffe5-2967-45ac-b522-bde8dcd1e0de time="2026-09-17T09:45:22Z" msg="Starting IMAP Service" time="2026-09-17T09:45:22Z" msg="Sync triggered" time="2026-09-17T09:45:22Z" msg="Beginning user sync" start="2026-09-17 09:45:22.530858121 +0000 UTC m=+11.023160417" time="2026-09-17T09:45:22Z" msg="Syncing labels" time="2026-09-17T09:45:22Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=5d0ea6ca-7656-430f-8799-f66e5b0e55e2 time="2026-09-17T09:45:22Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=5d0ea6ca-7656-430f-8799-f66e5b0e55e2 time="2026-09-17T09:45:22Z" msg="Mailbox created" /user remoteMailboxID=5 userID=5d0ea6ca-7656-430f-8799-f66e5b0e55e2 time="2026-09-17T09:45:22Z" msg="Mailbox created" /user remoteMailboxID=7 userID=5d0ea6ca-7656-430f-8799-f66e5b0e55e2 time="2026-09-17T09:45:22Z" msg="Mailbox created" /user remoteMailboxID=8 userID=5d0ea6ca-7656-430f-8799-f66e5b0e55e2 time="2026-09-17T09:45:22Z" msg="Mailbox created" /user remoteMailboxID=0 userID=5d0ea6ca-7656-430f-8799-f66e5b0e55e2 time="2026-09-17T09:45:22Z" msg="Mailbox created" /user remoteMailboxID=12 userID=5d0ea6ca-7656-430f-8799-f66e5b0e55e2 time="2026-09-17T09:45:22Z" msg="Mailbox created" /user remoteMailboxID=3 userID=5d0ea6ca-7656-430f-8799-f66e5b0e55e2 time="2026-09-17T09:45:22Z" msg="Mailbox created" /user remoteMailboxID=4 userID=5d0ea6ca-7656-430f-8799-f66e5b0e55e2 time="2026-09-17T09:45:22Z" msg="Mailbox created" /user remoteMailboxID=6 userID=5d0ea6ca-7656-430f-8799-f66e5b0e55e2 time="2026-09-17T09:45:22Z" msg="Mailbox created" /user remoteMailboxID=10 userID=5d0ea6ca-7656-430f-8799-f66e5b0e55e2 time="2026-09-17T09:45:22Z" msg="Synced labels" time="2026-09-17T09:45:22Z" msg="200 OK: GET https://127.0.0.1:38527/mail/v4/messages/count" /client userID=5f32ffe5-2967-45ac-b522-bde8dcd1e0de time="2026-09-17T09:45:22Z" msg="200 OK: POST https://127.0.0.1:38527/auth/v4/info" /manager time="2026-09-17T09:45:22Z" msg="Syncing messages" time="2026-09-17T09:45:22Z" msg="Job started" time="2026-09-17T09:45:22Z" msg="200 OK: POST https://127.0.0.1:38527/mail/v4/messages" /client userID=5f32ffe5-2967-45ac-b522-bde8dcd1e0de time="2026-09-17T09:45:22Z" msg="Job finished" time="2026-09-17T09:45:22Z" msg="All child jobs completed" sync- time="2026-09-17T09:45:22Z" msg="Synced messages" time="2026-09-17T09:45:22Z" msg="Finished user sync" .670708ms time="2026-09-17T09:45:22Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:45:22Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:45:22Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 3} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:45:22Z" msg="200 OK: POST https://127.0.0.1:38527/auth/v4" /manager time="2026-09-17T09:45:22Z" msg="Logging in authorized user" /user userID=3efa0c6a-cbbb-4c48-b547-0c69a33d6925 time="2026-09-17T09:45:22Z" msg="Adding vault user" userID=3efa0c6a-cbbb-4c48-b547-0c69a33d6925 time="2026-09-17T09:45:22Z" msg="Creating new user" userID=3efa0c6a-cbbb-4c48-b547-0c69a33d6925 time="2026-09-17T09:45:22Z" msg="404 GET https://127.0.0.1:38527/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:45:22Z" msg="404 GET https://127.0.0.1:38527/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:45:22Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:38527/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:45:22Z" msg="Creating user object" authUID=47a2edaf-4126-4786-8e58-c2dc636636f1 numA numL userID=3efa0c6a-cbbb-4c48-b547-0c69a33d6925 time="2026-09-17T09:45:22Z" msg="200 OK: GET https://127.0.0.1:38527/core/v4/events/latest" /client userID=3efa0c6a-cbbb-4c48-b547-0c69a33d6925 time="2026-09-17T09:45:22Z" msg="Starting service Last EventID=AQ==" time="2026-09-17T09:45:22Z" msg="200 OK: GET https://127.0.0.1:38527/core/v4/settings" /client userID=3efa0c6a-cbbb-4c48-b547-0c69a33d6925 time="2026-09-17T09:45:22Z" msg="Registering user client, ID:3efa0c6a-cbbb-4c48-b547-0c69a33d6925" time="2026-09-17T09:45:22Z" msg="Starting service main loop" time="2026-09-17T09:45:22Z" msg="Starting user identity service" numA time="2026-09-17T09:45:22Z" msg="Starting service main loop" time="2026-09-17T09:45:22Z" msg="Starting service main loop" time="2026-09-17T09:45:22Z" msg="200 OK: GET https://127.0.0.1:38527/core/v4/labels?T" /client userID=3efa0c6a-cbbb-4c48-b547-0c69a33d6925 time="2026-09-17T09:45:22Z" msg="200 OK: GET https://127.0.0.1:38527/core/v4/labels?T" /client userID=3efa0c6a-cbbb-4c48-b547-0c69a33d6925 time="2026-09-17T09:45:22Z" msg="200 OK: GET https://127.0.0.1:38527/core/v4/labels?T" /client userID=3efa0c6a-cbbb-4c48-b547-0c69a33d6925 time="2026-09-17T09:45:22Z" msg="Setting labels" labelIDs="[3 4 7 8 12 0 1 5 6 9 10 2]" time="2026-09-17T09:45:22Z" msg="Adding user to imap server" addrID=6a181407-0e6f-44b1-98c6-8e51cde51dd6 time="2026-09-17T09:45:22Z" msg="Creating new IMAP user" addrID=6a181407-0e6f-44b1-98c6-8e51cde51dd6 time="2026-09-17T09:45:22Z" msg="Setting gluon ID" addrID=6a181407-0e6f-44b1-98c6-8e51cde51dd6 gluonID=76db98a0-a45b-4058-938f-1214c16300cd userID=3efa0c6a-cbbb-4c48-b547-0c69a33d6925 time="2026-09-17T09:45:22Z" msg="Received mailbox message count" gluonID=76db98a0-a45b-4058-938f-1214c16300cd labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:45:22Z" msg="Created new IMAP user" addrID=6a181407-0e6f-44b1-98c6-8e51cde51dd6 gluonID=76db98a0-a45b-4058-938f-1214c16300cd time="2026-09-17T09:45:22Z" msg="Validating Listener State" time="2026-09-17T09:45:22Z" time="2026-09-17T09:45:22Z" msg="Starting IMAP Service" When the user logs in with username "629e7072-6bb2-4e65-985d-deb69be1e8d6" and password "password" # :1 -> *scenario time="2026-09-17T09:45:22Z" msg="Checking whether logged in user should re-sync. UserID:3efa0c6a-cbbb-4c48-b547-0c69a33d6925" userID=3efa0c6a-cbbb-4c48-b547-0c69a33d6925 time="2026-09-17T09:45:22Z" msg="Sync triggered" Then it succeeds # :1 -> *scenario time="2026-09-17T09:45:22Z" msg="Beginning user sync" start="2026-09-17 09:45:22.967249856 +0000 UTC m=+11.459552152" time="2026-09-17T09:45:22Z" msg="Performing full user login" /user username="******** (9e1a16bd)" time="2026-09-17T09:45:22Z" msg="Authorizing user for login" /user username="******** (9e1a16bd)" time="2026-09-17T09:45:22Z" msg="Syncing labels" time="2026-09-17T09:45:22Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=76db98a0-a45b-4058-938f-1214c16300cd time="2026-09-17T09:45:22Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=76db98a0-a45b-4058-938f-1214c16300cd time="2026-09-17T09:45:22Z" msg="Mailbox created" /user remoteMailboxID=3 userID=76db98a0-a45b-4058-938f-1214c16300cd time="2026-09-17T09:45:22Z" msg="Mailbox created" /user remoteMailboxID=7 userID=76db98a0-a45b-4058-938f-1214c16300cd time="2026-09-17T09:45:22Z" msg="Mailbox created" /user remoteMailboxID=10 userID=76db98a0-a45b-4058-938f-1214c16300cd time="2026-09-17T09:45:22Z" msg="Mailbox created" /user remoteMailboxID=4 userID=76db98a0-a45b-4058-938f-1214c16300cd time="2026-09-17T09:45:22Z" msg="Mailbox created" /user remoteMailboxID=8 userID=76db98a0-a45b-4058-938f-1214c16300cd time="2026-09-17T09:45:22Z" msg="Mailbox created" /user remoteMailboxID=12 userID=76db98a0-a45b-4058-938f-1214c16300cd time="2026-09-17T09:45:22Z" msg="Mailbox created" /user remoteMailboxID=0 userID=76db98a0-a45b-4058-938f-1214c16300cd time="2026-09-17T09:45:22Z" msg="Mailbox created" /user remoteMailboxID=5 userID=76db98a0-a45b-4058-938f-1214c16300cd time="2026-09-17T09:45:22Z" msg="Mailbox created" /user remoteMailboxID=6 userID=76db98a0-a45b-4058-938f-1214c16300cd time="2026-09-17T09:45:22Z" msg="Synced labels" time="2026-09-17T09:45:22Z" msg="200 OK: POST https://127.0.0.1:38527/auth/v4/info" /manager time="2026-09-17T09:45:22Z" msg="200 OK: GET https://127.0.0.1:38527/mail/v4/messages/count" /client userID=3efa0c6a-cbbb-4c48-b547-0c69a33d6925 time="2026-09-17T09:45:22Z" msg="Syncing messages" time="2026-09-17T09:45:22Z" msg="Job started" time="2026-09-17T09:45:22Z" msg="200 OK: POST https://127.0.0.1:38527/mail/v4/messages" /client userID=3efa0c6a-cbbb-4c48-b547-0c69a33d6925 time="2026-09-17T09:45:22Z" msg="Job finished" time="2026-09-17T09:45:22Z" msg="All child jobs completed" sync- time="2026-09-17T09:45:22Z" msg="Synced messages" time="2026-09-17T09:45:22Z" msg="Finished user sync" .320115ms time="2026-09-17T09:45:22Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:45:22Z" msg="Event loop reset" eventID="AQ==" time="2026-09-17T09:45:23Z" msg="200 OK: POST https://127.0.0.1:38527/auth/v4" /manager time="2026-09-17T09:45:23Z" msg="Logging in authorized user" /user userID=7c776d3b-7428-4d0a-af3b-ea3d63c5af4d time="2026-09-17T09:45:23Z" msg="Adding vault user" userID=7c776d3b-7428-4d0a-af3b-ea3d63c5af4d time="2026-09-17T09:45:23Z" msg="Creating new user" userID=7c776d3b-7428-4d0a-af3b-ea3d63c5af4d time="2026-09-17T09:45:23Z" msg="404 GET https://127.0.0.1:38527/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:45:23Z" msg="404 GET https://127.0.0.1:38527/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:45:23Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:38527/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:45:23Z" msg="Creating user object" authUID=c454d1d2-be46-48d7-be51-9d410f672c12 numA numL userID=7c776d3b-7428-4d0a-af3b-ea3d63c5af4d time="2026-09-17T09:45:23Z" msg="200 OK: GET https://127.0.0.1:38527/core/v4/events/latest" /client userID=7c776d3b-7428-4d0a-af3b-ea3d63c5af4d time="2026-09-17T09:45:23Z" msg="Starting service Last EventID=Ag==" time="2026-09-17T09:45:23Z" msg="200 OK: GET https://127.0.0.1:38527/core/v4/settings" /client userID=7c776d3b-7428-4d0a-af3b-ea3d63c5af4d time="2026-09-17T09:45:23Z" msg="Registering user client, ID:7c776d3b-7428-4d0a-af3b-ea3d63c5af4d" time="2026-09-17T09:45:23Z" msg="Starting user identity service" numA time="2026-09-17T09:45:23Z" msg="Starting service main loop" time="2026-09-17T09:45:23Z" msg="Starting service main loop" time="2026-09-17T09:45:23Z" msg="Starting service main loop" time="2026-09-17T09:45:23Z" msg="200 OK: GET https://127.0.0.1:38527/core/v4/labels?T" /client userID=7c776d3b-7428-4d0a-af3b-ea3d63c5af4d time="2026-09-17T09:45:23Z" msg="200 OK: GET https://127.0.0.1:38527/core/v4/labels?T" /client userID=7c776d3b-7428-4d0a-af3b-ea3d63c5af4d time="2026-09-17T09:45:23Z" msg="200 OK: GET https://127.0.0.1:38527/core/v4/labels?T" /client userID=7c776d3b-7428-4d0a-af3b-ea3d63c5af4d time="2026-09-17T09:45:23Z" msg="Setting labels" labelIDs="[7 8 9 10 0 1 2 3 6 12 4 5]" time="2026-09-17T09:45:23Z" msg="Adding user to imap server" addrID=ed12c2da-3de1-49b3-97ac-6cd1c95686a1 time="2026-09-17T09:45:23Z" msg="Creating new IMAP user" addrID=ed12c2da-3de1-49b3-97ac-6cd1c95686a1 time="2026-09-17T09:45:23Z" msg="Setting gluon ID" addrID=ed12c2da-3de1-49b3-97ac-6cd1c95686a1 gluonID=6bb3f830-10a5-469c-a6d0-33193878a542 userID=7c776d3b-7428-4d0a-af3b-ea3d63c5af4d time="2026-09-17T09:45:23Z" msg="Received mailbox message count" gluonID=6bb3f830-10a5-469c-a6d0-33193878a542 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:45:23Z" msg="Created new IMAP user" addrID=ed12c2da-3de1-49b3-97ac-6cd1c95686a1 gluonID=6bb3f830-10a5-469c-a6d0-33193878a542 time="2026-09-17T09:45:23Z" msg="Validating Listener State" time="2026-09-17T09:45:23Z" time="2026-09-17T09:45:23Z" msg="Checking whether logged in user should re-sync. UserID:7c776d3b-7428-4d0a-af3b-ea3d63c5af4d" userID=7c776d3b-7428-4d0a-af3b-ea3d63c5af4d time="2026-09-17T09:45:23Z" msg="Starting IMAP Service" When the user logs in with username "ba162278-c1f6-4e3b-aa62-b77d7a753c8e" and password "password" # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:45:23Z" msg="Sync triggered" time="2026-09-17T09:45:23Z" msg="Beginning user sync" start="2026-09-17 09:45:23.403758232 +0000 UTC m=+11.896060568" When bridge needs to explicitly send heartbeat # :1 -> *scenario time="2026-09-17T09:45:23Z" msg="Syncing labels" time="2026-09-17T09:45:23Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=6bb3f830-10a5-469c-a6d0-33193878a542 time="2026-09-17T09:45:23Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=6bb3f830-10a5-469c-a6d0-33193878a542 time="2026-09-17T09:45:23Z" msg="Mailbox created" /user remoteMailboxID=10 userID=6bb3f830-10a5-469c-a6d0-33193878a542 time="2026-09-17T09:45:23Z" msg="Mailbox created" /user remoteMailboxID=3 userID=6bb3f830-10a5-469c-a6d0-33193878a542 time="2026-09-17T09:45:23Z" msg="Mailbox created" /user remoteMailboxID=6 userID=6bb3f830-10a5-469c-a6d0-33193878a542 time="2026-09-17T09:45:23Z" msg="Mailbox created" /user remoteMailboxID=0 userID=6bb3f830-10a5-469c-a6d0-33193878a542 time="2026-09-17T09:45:23Z" msg="Mailbox created" /user remoteMailboxID=12 userID=6bb3f830-10a5-469c-a6d0-33193878a542 time="2026-09-17T09:45:23Z" msg="Mailbox created" /user remoteMailboxID=4 userID=6bb3f830-10a5-469c-a6d0-33193878a542 time="2026-09-17T09:45:23Z" msg="Mailbox created" /user remoteMailboxID=5 userID=6bb3f830-10a5-469c-a6d0-33193878a542 time="2026-09-17T09:45:23Z" msg="Mailbox created" /user remoteMailboxID=7 userID=6bb3f830-10a5-469c-a6d0-33193878a542 time="2026-09-17T09:45:23Z" msg="Mailbox created" /user remoteMailboxID=8 userID=6bb3f830-10a5-469c-a6d0-33193878a542 time="2026-09-17T09:45:23Z" msg="Synced labels" time="2026-09-17T09:45:23Z" msg="200 OK: GET https://127.0.0.1:38527/mail/v4/messages/count" /client userID=7c776d3b-7428-4d0a-af3b-ea3d63c5af4d time="2026-09-17T09:45:23Z" msg="Syncing messages" time="2026-09-17T09:45:23Z" msg="Job started" time="2026-09-17T09:45:23Z" msg="200 OK: POST https://127.0.0.1:38527/mail/v4/messages" /client userID=7c776d3b-7428-4d0a-af3b-ea3d63c5af4d time="2026-09-17T09:45:23Z" msg="Job finished" time="2026-09-17T09:45:23Z" msg="All child jobs completed" sync- time="2026-09-17T09:45:23Z" msg="Synced messages" time="2026-09-17T09:45:23Z" msg="Finished user sync" .595299ms time="2026-09-17T09:45:23Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:45:23Z" msg="Event loop reset" eventID="Ag==" time="2026-09-17T09:45:23Z" msg="200 OK: GET https://127.0.0.1:38527/core/v4/events/AA==" /client userID=5f32ffe5-2967-45ac-b522-bde8dcd1e0de time="2026-09-17T09:45:23Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {3 3} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" Then bridge eventually sends the following heartbeat: # :1 -> *scenario """ { "MeasurementGroup": "bridge.any.heartbeat", "Event": "bridge_heartbeat_new", "Values": { "NumberConnectedAccounts": 3, "rolloutPercentage": 1 }, "Dimensions": { "isAutoUpdateEnabled": "true", "isAutoStartEnabled": "true", "isBetaEnabled": "false", "isDohEnabled": "false", "usesSplitMode": "false", "useAllMail": "true", "useDefaultImapPort": "true", "useDefaultSmtpPort": "true", "useDefaultCacheLocation": "true", "useDefaultKeychain": "true", "isContactedByAppleNotes": "false", "imapConnectionMode": "starttls", "smtpConnectionMode": "starttls", "prevVersion": "0.0.0", "bridgePlanGroup": "unknown" } } """ time="2026-09-17T09:45:23Z" msg="Frontend service stopped" time="2026-09-17T09:45:23Z" msg="Frontend client stopped" time="2026-09-17T09:45:23Z" msg="Closing bridge" time="2026-09-17T09:45:23Z" msg="Stopping service" time="2026-09-17T09:45:23Z" msg="Closing user" userID=5f32ffe5-2967-45ac-b522-bde8dcd1e0de time="2026-09-17T09:45:23Z" msg="De-registering user client, ID:5f32ffe5-2967-45ac-b522-bde8dcd1e0de" time="2026-09-17T09:45:23Z" msg="Exiting IMAP Service" time="2026-09-17T09:45:23Z" msg="Exiting service main loop" time="2026-09-17T09:45:23Z" msg="Exiting service main loop" time="2026-09-17T09:45:23Z" msg="Exiting Service" time="2026-09-17T09:45:23Z" msg="Exiting service main loop" time="2026-09-17T09:45:23Z" msg="Exiting service" time="2026-09-17T09:45:23Z" msg="Closing user" userID=3efa0c6a-cbbb-4c48-b547-0c69a33d6925 time="2026-09-17T09:45:23Z" msg="De-registering user client, ID:3efa0c6a-cbbb-4c48-b547-0c69a33d6925" time="2026-09-17T09:45:23Z" msg="Exiting IMAP Service" time="2026-09-17T09:45:23Z" msg="Exiting service main loop" time="2026-09-17T09:45:23Z" msg="Exiting service main loop" time="2026-09-17T09:45:23Z" msg="Exiting Service" time="2026-09-17T09:45:23Z" msg="Exiting service main loop" time="2026-09-17T09:45:23Z" msg="Exiting service" time="2026-09-17T09:45:23Z" msg="Closing user" userID=7c776d3b-7428-4d0a-af3b-ea3d63c5af4d time="2026-09-17T09:45:23Z" msg="De-registering user client, ID:7c776d3b-7428-4d0a-af3b-ea3d63c5af4d" time="2026-09-17T09:45:23Z" msg="Exiting IMAP Service" time="2026-09-17T09:45:23Z" msg="Exiting service main loop" time="2026-09-17T09:45:23Z" msg="Exiting service main loop" time="2026-09-17T09:45:23Z" msg="Exiting Service" time="2026-09-17T09:45:23Z" msg="Exiting service main loop" time="2026-09-17T09:45:23Z" msg="Exiting service" time="2026-09-17T09:45:23Z" msg="Closing IMAP Listener" time="2026-09-17T09:45:23Z" msg="Closing IMAP server" time="2026-09-17T09:45:23Z" msg="Closing SMTP Listener" time="2026-09-17T09:45:23Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:45:23Z" msg="Closing SMTP server" time="2026-09-17T09:45:23Z" msg="Closing service" And bridge do not need to send heartbeat # :1 -> *scenario time="2026-09-17T09:45:23Z" msg="User 'a58e872e-9ae6-4054-b4c2-4f4aae6d3f0c' created with " /server/backend time="2026-09-17T09:45:24Z" msg="User '89523ef1-2111-4e50-97e6-6e558c33e1df' created with " /server/backend time="2026-09-17T09:45:25Z" msg="User 'e1a38200-05fb-42c3-8180-6b1ccc60bfd2' created with " /server/backend time="2026-09-17T09:45:25Z" msg="Starting bridge" time="2026-09-17T09:45:25Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/009/config2417370374/grpcFocusServerConfig.json /service time="2026-09-17T09:45:25Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/009/cache277745702/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:45:25Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/009/cache277745702/notifications/notification_cache: no such file or directory" time="2026-09-17T09:45:25Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/009/data472261406/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/009/data472261406/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:45:25Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:45:25Z" msg="Starting IMAP server" time="2026-09-17T09:45:25Z" msg="Starting SMTP server" time="2026-09-17T09:45:25Z" msg="Starting service" time="2026-09-17T09:45:25Z" msg="Starting service" time="2026-09-17T09:45:25Z" msg="Starting poll service" time="2026-09-17T09:45:25Z" msg="Starting frontend service" time="2026-09-17T09:45:25Z" msg="Starting receiver service" time="2026-09-17T09:45:25Z" msg="Checking for updates" time="2026-09-17T09:45:25Z" msg="Loading users" /user time="2026-09-17T09:45:25Z" msg="Finished loading users" /user time="2026-09-17T09:45:25Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/009/config2417370374/grpcServerConfig.json time="2026-09-17T09:45:25Z" msg="gRPC server listening on /tmp/bridge2742" time="2026-09-17T09:45:25Z" msg="Frontend service started" time="2026-09-17T09:45:25Z" msg="Starting frontend client" time="2026-09-17T09:45:25Z" msg="Not monitoring parent PID" time="2026-09-17T09:45:25Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:45:25Z" msg="200 OK: GET https://127.0.0.1:40429/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:45:25Z" msg="Frontend client started" Scenario: Send heartbeat explicitly - apple notes tried to connect # features/bridge/heartbeat.feature:173 Then bridge telemetry feature is enabled # :1 -> *scenario time="2026-09-17T09:45:25Z" msg="Performing full user login" /user username="******** (11af732f)" time="2026-09-17T09:45:25Z" msg="Authorizing user for login" /user username="******** (11af732f)" time="2026-09-17T09:45:25Z" msg="200 OK: POST https://127.0.0.1:40429/auth/v4/info" /manager time="2026-09-17T09:45:25Z" msg="200 OK: POST https://127.0.0.1:40429/auth/v4" /manager time="2026-09-17T09:45:25Z" msg="Logging in authorized user" /user userID=9bb3da5d-7f24-4fc7-8c7d-03b175fda4e6 time="2026-09-17T09:45:26Z" msg="Adding vault user" userID=9bb3da5d-7f24-4fc7-8c7d-03b175fda4e6 time="2026-09-17T09:45:26Z" msg="Creating new user" userID=9bb3da5d-7f24-4fc7-8c7d-03b175fda4e6 time="2026-09-17T09:45:26Z" msg="404 GET https://127.0.0.1:40429/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:45:26Z" msg="404 GET https://127.0.0.1:40429/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:45:26Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:40429/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:45:26Z" msg="Creating user object" authUID=d7081ae5-ab01-4628-a4d2-c6f0622b4f61 numA numL userID=9bb3da5d-7f24-4fc7-8c7d-03b175fda4e6 time="2026-09-17T09:45:26Z" msg="200 OK: GET https://127.0.0.1:40429/core/v4/events/latest" /client userID=9bb3da5d-7f24-4fc7-8c7d-03b175fda4e6 time="2026-09-17T09:45:26Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:45:26Z" msg="200 OK: GET https://127.0.0.1:40429/core/v4/settings" /client userID=9bb3da5d-7f24-4fc7-8c7d-03b175fda4e6 time="2026-09-17T09:45:26Z" msg="Registering user client, ID:9bb3da5d-7f24-4fc7-8c7d-03b175fda4e6" time="2026-09-17T09:45:26Z" msg="Starting user identity service" numA time="2026-09-17T09:45:26Z" msg="Starting service main loop" time="2026-09-17T09:45:26Z" msg="Starting service main loop" time="2026-09-17T09:45:26Z" msg="Starting service main loop" time="2026-09-17T09:45:26Z" msg="200 OK: GET https://127.0.0.1:40429/core/v4/labels?T" /client userID=9bb3da5d-7f24-4fc7-8c7d-03b175fda4e6 time="2026-09-17T09:45:26Z" msg="200 OK: GET https://127.0.0.1:40429/core/v4/labels?T" /client userID=9bb3da5d-7f24-4fc7-8c7d-03b175fda4e6 time="2026-09-17T09:45:26Z" msg="200 OK: GET https://127.0.0.1:40429/core/v4/labels?T" /client userID=9bb3da5d-7f24-4fc7-8c7d-03b175fda4e6 time="2026-09-17T09:45:26Z" msg="Setting labels" labelIDs="[7 12 2 3 4 8 9 10 0 1 5 6]" time="2026-09-17T09:45:26Z" msg="Adding user to imap server" addrID=54af5319-1d94-43a6-8a70-f7a6b6223bd5 time="2026-09-17T09:45:26Z" msg="Creating new IMAP user" addrID=54af5319-1d94-43a6-8a70-f7a6b6223bd5 time="2026-09-17T09:45:26Z" msg="Setting gluon ID" addrID=54af5319-1d94-43a6-8a70-f7a6b6223bd5 gluonID=d71713cf-a233-470e-87a7-ecb975fa0954 userID=9bb3da5d-7f24-4fc7-8c7d-03b175fda4e6 time="2026-09-17T09:45:26Z" msg="Received mailbox message count" gluonID=d71713cf-a233-470e-87a7-ecb975fa0954 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:45:26Z" msg="Created new IMAP user" addrID=54af5319-1d94-43a6-8a70-f7a6b6223bd5 gluonID=d71713cf-a233-470e-87a7-ecb975fa0954 time="2026-09-17T09:45:26Z" msg="Validating Listener State" time="2026-09-17T09:45:26Z" time="2026-09-17T09:45:26Z" msg="Starting IMAP Service" time="2026-09-17T09:45:26Z" msg="Checking whether logged in user should re-sync. UserID:9bb3da5d-7f24-4fc7-8c7d-03b175fda4e6" userID=9bb3da5d-7f24-4fc7-8c7d-03b175fda4e6 When the user logs in with username "a58e872e-9ae6-4054-b4c2-4f4aae6d3f0c" and password "password" # :1 -> *scenario time="2026-09-17T09:45:26Z" msg="Sync triggered" Then it succeeds # :1 -> *scenario time="2026-09-17T09:45:26Z" msg="Beginning user sync" start="2026-09-17 09:45:26.044600945 +0000 UTC m=+14.536903281" When user "a58e872e-9ae6-4054-b4c2-4f4aae6d3f0c" connects IMAP client "1" # :1 -> *scenario time="2026-09-17T09:45:26Z" msg="Received IMAP ID" name="Mac OS X Notes" /event/imap sessionID=1 .5 And IMAP client "1" announces its ID with name "Mac OS X Notes" and version "14.5" # :1 -> *scenario When bridge needs to explicitly send heartbeat # :1 -> *scenario time="2026-09-17T09:45:26Z" msg="Syncing labels" time="2026-09-17T09:45:26Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=d71713cf-a233-470e-87a7-ecb975fa0954 time="2026-09-17T09:45:26Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=d71713cf-a233-470e-87a7-ecb975fa0954 time="2026-09-17T09:45:26Z" msg="Mailbox created" /user remoteMailboxID=7 userID=d71713cf-a233-470e-87a7-ecb975fa0954 time="2026-09-17T09:45:26Z" msg="Mailbox created" /user remoteMailboxID=3 userID=d71713cf-a233-470e-87a7-ecb975fa0954 time="2026-09-17T09:45:26Z" msg="Mailbox created" /user remoteMailboxID=4 userID=d71713cf-a233-470e-87a7-ecb975fa0954 time="2026-09-17T09:45:26Z" msg="Mailbox created" /user remoteMailboxID=10 userID=d71713cf-a233-470e-87a7-ecb975fa0954 time="2026-09-17T09:45:26Z" msg="Mailbox created" /user remoteMailboxID=0 userID=d71713cf-a233-470e-87a7-ecb975fa0954 time="2026-09-17T09:45:26Z" msg="Mailbox created" /user remoteMailboxID=6 userID=d71713cf-a233-470e-87a7-ecb975fa0954 time="2026-09-17T09:45:26Z" msg="Mailbox created" /user remoteMailboxID=12 userID=d71713cf-a233-470e-87a7-ecb975fa0954 time="2026-09-17T09:45:26Z" msg="Mailbox created" /user remoteMailboxID=8 userID=d71713cf-a233-470e-87a7-ecb975fa0954 time="2026-09-17T09:45:26Z" msg="Mailbox created" /user remoteMailboxID=5 userID=d71713cf-a233-470e-87a7-ecb975fa0954 time="2026-09-17T09:45:26Z" msg="Synced labels" time="2026-09-17T09:45:26Z" msg="200 OK: GET https://127.0.0.1:40429/mail/v4/messages/count" /client userID=9bb3da5d-7f24-4fc7-8c7d-03b175fda4e6 time="2026-09-17T09:45:26Z" msg="Syncing messages" time="2026-09-17T09:45:26Z" msg="Job started" time="2026-09-17T09:45:26Z" msg="200 OK: POST https://127.0.0.1:40429/mail/v4/messages" /client userID=9bb3da5d-7f24-4fc7-8c7d-03b175fda4e6 time="2026-09-17T09:45:26Z" msg="Job finished" time="2026-09-17T09:45:26Z" msg="All child jobs completed" sync- time="2026-09-17T09:45:26Z" msg="Synced messages" time="2026-09-17T09:45:26Z" msg="Finished user sync" .124204ms time="2026-09-17T09:45:26Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:45:26Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:45:26Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 5} {true true false false false true true true true true true 0.0.0 starttls starttls unknown}}" Then bridge eventually sends the following heartbeat: # :1 -> *scenario """ { "MeasurementGroup": "bridge.any.heartbeat", "Event": "bridge_heartbeat_new", "Values": { "NumberConnectedAccounts": 1, "rolloutPercentage": 1 }, "Dimensions": { "isAutoUpdateEnabled": "true", "isAutoStartEnabled": "true", "isBetaEnabled": "false", "isDohEnabled": "false", "usesSplitMode": "false", "useAllMail": "true", "useDefaultImapPort": "true", "useDefaultSmtpPort": "true", "useDefaultCacheLocation": "true", "useDefaultKeychain": "true", "isContactedByAppleNotes": "true", "imapConnectionMode": "starttls", "smtpConnectionMode": "starttls", "prevVersion": "0.0.0", "bridgePlanGroup": "unknown" } } """ time="2026-09-17T09:45:26Z" msg="Frontend service stopped" time="2026-09-17T09:45:26Z" msg="Frontend client stopped" time="2026-09-17T09:45:26Z" msg="Closing bridge" time="2026-09-17T09:45:26Z" msg="Stopping service" time="2026-09-17T09:45:26Z" msg="Closing user" userID=9bb3da5d-7f24-4fc7-8c7d-03b175fda4e6 time="2026-09-17T09:45:26Z" msg="De-registering user client, ID:9bb3da5d-7f24-4fc7-8c7d-03b175fda4e6" time="2026-09-17T09:45:26Z" msg="Exiting IMAP Service" time="2026-09-17T09:45:26Z" msg="Exiting service main loop" time="2026-09-17T09:45:26Z" msg="Exiting service main loop" time="2026-09-17T09:45:26Z" msg="Exiting Service" time="2026-09-17T09:45:26Z" msg="Exiting service main loop" time="2026-09-17T09:45:26Z" msg="Exiting service" time="2026-09-17T09:45:26Z" msg="Closing IMAP Listener" time="2026-09-17T09:45:26Z" msg="Closing IMAP server" time="2026-09-17T09:45:26Z" msg="Closing SMTP Listener" time="2026-09-17T09:45:26Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:45:26Z" msg="Closing SMTP server" time="2026-09-17T09:45:26Z" msg="Closing service" And bridge do not need to send heartbeat # :1 -> *scenario time="2026-09-17T09:45:26Z" msg="User '2928acd1-03e2-44af-8f14-ddff30c12ab0' created with " /server/backend time="2026-09-17T09:45:27Z" msg="User '5e7c517a-96de-4831-81f3-b27b7b45edca' created with " /server/backend time="2026-09-17T09:45:27Z" msg="User '70a3ab0c-28a6-4327-ab75-6bf4f7909d19' created with " /server/backend time="2026-09-17T09:45:28Z" msg="Starting bridge" time="2026-09-17T09:45:28Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/010/config4172306584/grpcFocusServerConfig.json /service time="2026-09-17T09:45:28Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/010/cache2853422063/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:45:28Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/010/cache2853422063/notifications/notification_cache: no such file or directory" time="2026-09-17T09:45:28Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/010/data4049729437/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/010/data4049729437/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:45:28Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:45:28Z" msg="Starting IMAP server" time="2026-09-17T09:45:28Z" msg="Starting SMTP server" time="2026-09-17T09:45:28Z" msg="Starting service" time="2026-09-17T09:45:28Z" msg="Starting service" time="2026-09-17T09:45:28Z" msg="Starting poll service" time="2026-09-17T09:45:28Z" msg="Starting frontend service" time="2026-09-17T09:45:28Z" msg="Checking for updates" time="2026-09-17T09:45:28Z" msg="Starting receiver service" time="2026-09-17T09:45:28Z" msg="Loading users" /user time="2026-09-17T09:45:28Z" msg="Finished loading users" /user time="2026-09-17T09:45:28Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/010/config4172306584/grpcServerConfig.json time="2026-09-17T09:45:28Z" msg="gRPC server listening on /tmp/bridge5598" time="2026-09-17T09:45:28Z" msg="Frontend service started" time="2026-09-17T09:45:28Z" msg="Starting frontend client" time="2026-09-17T09:45:28Z" msg="Not monitoring parent PID" time="2026-09-17T09:45:28Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:45:28Z" msg="Frontend client started" Scenario: GroupMeasurement rejected by API # features/bridge/heartbeat.feature:211 Given heartbeat is not whitelisted # :1 -> *scenario time="2026-09-17T09:45:28Z" msg="200 OK: GET https://127.0.0.1:40391/feature/v2/frontend?bridgeStickyK" /manager Then bridge telemetry feature is enabled # :1 -> *scenario And bridge needs to send heartbeat # :1 -> *scenario time="2026-09-17T09:45:28Z" msg="Performing full user login" /user username="******** (9cc98a84)" time="2026-09-17T09:45:28Z" msg="Authorizing user for login" /user username="******** (9cc98a84)" time="2026-09-17T09:45:28Z" msg="200 OK: POST https://127.0.0.1:40391/auth/v4/info" /manager time="2026-09-17T09:45:28Z" msg="200 OK: POST https://127.0.0.1:40391/auth/v4" /manager time="2026-09-17T09:45:28Z" msg="Logging in authorized user" /user userID=f0e6a0a0-2ab2-40e1-bc26-596edc9b15d7 time="2026-09-17T09:45:28Z" msg="Adding vault user" userID=f0e6a0a0-2ab2-40e1-bc26-596edc9b15d7 time="2026-09-17T09:45:28Z" msg="Creating new user" userID=f0e6a0a0-2ab2-40e1-bc26-596edc9b15d7 time="2026-09-17T09:45:28Z" msg="404 GET https://127.0.0.1:40391/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:45:28Z" msg="404 GET https://127.0.0.1:40391/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:45:28Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:40391/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:45:28Z" msg="Creating user object" authUID=4e120ee8-f2c9-4fee-bdec-d8324b930850 numA numL userID=f0e6a0a0-2ab2-40e1-bc26-596edc9b15d7 time="2026-09-17T09:45:28Z" msg="200 OK: GET https://127.0.0.1:40391/core/v4/events/latest" /client userID=f0e6a0a0-2ab2-40e1-bc26-596edc9b15d7 time="2026-09-17T09:45:28Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:45:28Z" msg="200 OK: GET https://127.0.0.1:40391/core/v4/settings" /client userID=f0e6a0a0-2ab2-40e1-bc26-596edc9b15d7 time="2026-09-17T09:45:28Z" msg="Registering user client, ID:f0e6a0a0-2ab2-40e1-bc26-596edc9b15d7" time="2026-09-17T09:45:28Z" msg="Starting user identity service" numA time="2026-09-17T09:45:28Z" msg="Starting service main loop" time="2026-09-17T09:45:28Z" msg="Starting service main loop" time="2026-09-17T09:45:28Z" msg="Starting service main loop" time="2026-09-17T09:45:28Z" msg="200 OK: GET https://127.0.0.1:40391/core/v4/labels?T" /client userID=f0e6a0a0-2ab2-40e1-bc26-596edc9b15d7 time="2026-09-17T09:45:28Z" msg="200 OK: GET https://127.0.0.1:40391/core/v4/labels?T" /client userID=f0e6a0a0-2ab2-40e1-bc26-596edc9b15d7 time="2026-09-17T09:45:28Z" msg="200 OK: GET https://127.0.0.1:40391/core/v4/labels?T" /client userID=f0e6a0a0-2ab2-40e1-bc26-596edc9b15d7 time="2026-09-17T09:45:28Z" msg="Setting labels" labelIDs="[0 1 2 3 4 6 8 10 5 7 9 12]" time="2026-09-17T09:45:28Z" msg="Adding user to imap server" addrID=5df4f791-7df0-407e-99e2-955f688115ec time="2026-09-17T09:45:28Z" msg="Creating new IMAP user" addrID=5df4f791-7df0-407e-99e2-955f688115ec time="2026-09-17T09:45:28Z" msg="Setting gluon ID" addrID=5df4f791-7df0-407e-99e2-955f688115ec gluonID=4a8f935c-547d-4e52-956a-20823392cbb6 userID=f0e6a0a0-2ab2-40e1-bc26-596edc9b15d7 time="2026-09-17T09:45:28Z" msg="Received mailbox message count" gluonID=4a8f935c-547d-4e52-956a-20823392cbb6 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:45:28Z" msg="Created new IMAP user" addrID=5df4f791-7df0-407e-99e2-955f688115ec gluonID=4a8f935c-547d-4e52-956a-20823392cbb6 time="2026-09-17T09:45:28Z" msg="Validating Listener State" time="2026-09-17T09:45:28Z" time="2026-09-17T09:45:28Z" msg="Starting IMAP Service" time="2026-09-17T09:45:28Z" msg="Checking whether logged in user should re-sync. UserID:f0e6a0a0-2ab2-40e1-bc26-596edc9b15d7" userID=f0e6a0a0-2ab2-40e1-bc26-596edc9b15d7 time="2026-09-17T09:45:28Z" msg="Sync triggered" When the user logs in with username "2928acd1-03e2-44af-8f14-ddff30c12ab0" and password "password" # :1 -> *scenario time="2026-09-17T09:45:28Z" msg="Beginning user sync" start="2026-09-17 09:45:28.676572182 +0000 UTC m=+17.168874478" time="2026-09-17T09:45:28Z" msg="Syncing labels" time="2026-09-17T09:45:28Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=4a8f935c-547d-4e52-956a-20823392cbb6 time="2026-09-17T09:45:28Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=4a8f935c-547d-4e52-956a-20823392cbb6 time="2026-09-17T09:45:28Z" msg="Mailbox created" /user remoteMailboxID=0 userID=4a8f935c-547d-4e52-956a-20823392cbb6 time="2026-09-17T09:45:28Z" msg="Mailbox created" /user remoteMailboxID=3 userID=4a8f935c-547d-4e52-956a-20823392cbb6 time="2026-09-17T09:45:28Z" msg="Mailbox created" /user remoteMailboxID=6 userID=4a8f935c-547d-4e52-956a-20823392cbb6 time="2026-09-17T09:45:28Z" msg="Mailbox created" /user remoteMailboxID=8 userID=4a8f935c-547d-4e52-956a-20823392cbb6 time="2026-09-17T09:45:28Z" msg="Mailbox created" /user remoteMailboxID=10 userID=4a8f935c-547d-4e52-956a-20823392cbb6 time="2026-09-17T09:45:28Z" msg="Mailbox created" /user remoteMailboxID=5 userID=4a8f935c-547d-4e52-956a-20823392cbb6 time="2026-09-17T09:45:28Z" msg="Mailbox created" /user remoteMailboxID=7 userID=4a8f935c-547d-4e52-956a-20823392cbb6 time="2026-09-17T09:45:28Z" msg="Mailbox created" /user remoteMailboxID=4 userID=4a8f935c-547d-4e52-956a-20823392cbb6 time="2026-09-17T09:45:28Z" msg="Mailbox created" /user remoteMailboxID=12 userID=4a8f935c-547d-4e52-956a-20823392cbb6 time="2026-09-17T09:45:28Z" msg="Synced labels" time="2026-09-17T09:45:28Z" msg="200 OK: GET https://127.0.0.1:40391/mail/v4/messages/count" /client userID=f0e6a0a0-2ab2-40e1-bc26-596edc9b15d7 time="2026-09-17T09:45:28Z" msg="Syncing messages" time="2026-09-17T09:45:28Z" msg="Job started" time="2026-09-17T09:45:28Z" msg="200 OK: POST https://127.0.0.1:40391/mail/v4/messages" /client userID=f0e6a0a0-2ab2-40e1-bc26-596edc9b15d7 time="2026-09-17T09:45:28Z" msg="Job finished" time="2026-09-17T09:45:28Z" msg="All child jobs completed" sync- time="2026-09-17T09:45:28Z" msg="Synced messages" time="2026-09-17T09:45:28Z" msg="Finished user sync" .22264ms time="2026-09-17T09:45:28Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:45:28Z" msg="Event loop reset" eventID="AA==" And user "2928acd1-03e2-44af-8f14-ddff30c12ab0" finishes syncing # :1 -> *scenario time="2026-09-17T09:45:28Z" msg="Frontend service stopped" time="2026-09-17T09:45:28Z" msg="Frontend client stopped" time="2026-09-17T09:45:28Z" msg="Closing bridge" time="2026-09-17T09:45:28Z" msg="Stopping service" time="2026-09-17T09:45:28Z" msg="Closing user" userID=f0e6a0a0-2ab2-40e1-bc26-596edc9b15d7 time="2026-09-17T09:45:28Z" msg="De-registering user client, ID:f0e6a0a0-2ab2-40e1-bc26-596edc9b15d7" time="2026-09-17T09:45:28Z" msg="Exiting IMAP Service" time="2026-09-17T09:45:28Z" msg="Exiting service main loop" time="2026-09-17T09:45:28Z" msg="Exiting service main loop" time="2026-09-17T09:45:28Z" msg="Exiting Service" time="2026-09-17T09:45:28Z" msg="Exiting service main loop" time="2026-09-17T09:45:28Z" msg="Exiting service" time="2026-09-17T09:45:28Z" msg="Closing IMAP Listener" time="2026-09-17T09:45:28Z" msg="Closing IMAP server" time="2026-09-17T09:45:28Z" msg="Closing SMTP Listener" time="2026-09-17T09:45:28Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:45:28Z" msg="Closing SMTP server" time="2026-09-17T09:45:28Z" msg="Closing service" Then bridge needs to send heartbeat # :1 -> *scenario Feature: Frontend events Scenario: Frontend starts and stops # features/frontend/frontend.feature:2 Given bridge is version "2.3.0" and the latest available version is "2.3.0" reachable from "2.3.0" # :1 -> *scenario time="2026-09-17T09:45:28Z" msg="Starting bridge" time="2026-09-17T09:45:28Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/011/config1606776984/grpcFocusServerConfig.json /service time="2026-09-17T09:45:28Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/011/cache1660682751/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:45:28Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/011/cache1660682751/notifications/notification_cache: no such file or directory" time="2026-09-17T09:45:28Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/011/data2357361993/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/011/data2357361993/gluon/backend/store logC logS /imap .3.0 time="2026-09-17T09:45:28Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:45:28Z" msg="Starting IMAP server" time="2026-09-17T09:45:28Z" msg="Starting SMTP server" time="2026-09-17T09:45:28Z" msg="Starting service" time="2026-09-17T09:45:28Z" msg="Starting service" time="2026-09-17T09:45:28Z" msg="Starting receiver service" time="2026-09-17T09:45:28Z" msg="Starting frontend service" time="2026-09-17T09:45:28Z" msg="Checking for updates" time="2026-09-17T09:45:28Z" msg="Loading users" /user time="2026-09-17T09:45:28Z" msg="Starting poll service" time="2026-09-17T09:45:28Z" msg="Finished loading users" /user time="2026-09-17T09:45:28Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/011/config1606776984/grpcServerConfig.json time="2026-09-17T09:45:28Z" msg="gRPC server listening on /tmp/bridge1981" time="2026-09-17T09:45:28Z" msg="Frontend service started" time="2026-09-17T09:45:28Z" msg="Starting frontend client" time="2026-09-17T09:45:28Z" msg="Not monitoring parent PID" time="2026-09-17T09:45:28Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:45:28Z" msg="200 OK: GET https://127.0.0.1:46167/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:45:28Z" msg="Frontend client started" When bridge starts # :1 -> *scenario time="2026-09-17T09:45:28Z" msg="Frontend service stopped" time="2026-09-17T09:45:28Z" msg="Frontend client stopped" time="2026-09-17T09:45:28Z" msg="Closing bridge" time="2026-09-17T09:45:28Z" msg="Stopping service" time="2026-09-17T09:45:28Z" msg="Closing IMAP Listener" time="2026-09-17T09:45:28Z" msg="Closing IMAP server" time="2026-09-17T09:45:28Z" msg="Closing SMTP Listener" time="2026-09-17T09:45:28Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:45:28Z" msg="Closing SMTP server" time="2026-09-17T09:45:28Z" msg="Closing service" Then frontend sees that bridge is version "2.3.0" # :1 -> *scenario Feature: IMAP client authentication with address modes time="2026-09-17T09:45:28Z" msg="User '8f85279e-11f3-4dce-b56b-4791cf5f7217' created with " /server/backend Background: Given there exists an account with username "8f85279e-11f3-4dce-b56b-4791cf5f7217" and password "password" # :1 -> *scenario And the account "8f85279e-11f3-4dce-b56b-4791cf5f7217" has additional address "c70dc341-cc63-470d-88a0-7f31e9f44bed@proton.local" # :1 -> *scenario And it succeeds # :1 -> *scenario time="2026-09-17T09:45:29Z" msg="Starting bridge" time="2026-09-17T09:45:29Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/012/config1552786991/grpcFocusServerConfig.json /service time="2026-09-17T09:45:29Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/012/cache3752067308/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:45:29Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/012/cache3752067308/notifications/notification_cache: no such file or directory" time="2026-09-17T09:45:29Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/012/data4139697343/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/012/data4139697343/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:45:29Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:45:29Z" msg="Starting IMAP server" time="2026-09-17T09:45:29Z" msg="Starting SMTP server" time="2026-09-17T09:45:29Z" msg="Starting service" time="2026-09-17T09:45:29Z" msg="Starting service" time="2026-09-17T09:45:29Z" msg="Starting poll service" time="2026-09-17T09:45:29Z" msg="Starting receiver service" time="2026-09-17T09:45:29Z" msg="Checking for updates" time="2026-09-17T09:45:29Z" msg="Starting frontend service" time="2026-09-17T09:45:29Z" msg="Loading users" /user time="2026-09-17T09:45:29Z" msg="Finished loading users" /user time="2026-09-17T09:45:29Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/012/config1552786991/grpcServerConfig.json time="2026-09-17T09:45:29Z" msg="gRPC server listening on /tmp/bridge6756" time="2026-09-17T09:45:29Z" msg="Frontend service started" time="2026-09-17T09:45:29Z" msg="Starting frontend client" time="2026-09-17T09:45:29Z" msg="Not monitoring parent PID" time="2026-09-17T09:45:29Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:45:29Z" msg="200 OK: GET https://127.0.0.1:35913/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:45:29Z" msg="Frontend client started" Scenario: IMAP client can authenticate successfully with secondary address in combine mode # features/imap/addressmode.feature:7 Given bridge starts # :1 -> *scenario time="2026-09-17T09:45:29Z" msg="Performing full user login" /user username="******** (403f1ebd)" time="2026-09-17T09:45:29Z" msg="Authorizing user for login" /user username="******** (403f1ebd)" time="2026-09-17T09:45:29Z" msg="200 OK: POST https://127.0.0.1:35913/auth/v4/info" /manager time="2026-09-17T09:45:30Z" msg="200 OK: POST https://127.0.0.1:35913/auth/v4" /manager time="2026-09-17T09:45:30Z" msg="Logging in authorized user" /user userID=c9a2f5aa-8e73-49b1-ae70-7080e5d3f619 time="2026-09-17T09:45:30Z" msg="Adding vault user" userID=c9a2f5aa-8e73-49b1-ae70-7080e5d3f619 time="2026-09-17T09:45:30Z" msg="Creating new user" userID=c9a2f5aa-8e73-49b1-ae70-7080e5d3f619 time="2026-09-17T09:45:30Z" msg="404 GET https://127.0.0.1:35913/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:45:30Z" msg="404 GET https://127.0.0.1:35913/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:45:30Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:35913/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:45:30Z" msg="Creating user object" authUID=7be73d86-8978-4621-b987-cbe4120cad0d numA numL userID=c9a2f5aa-8e73-49b1-ae70-7080e5d3f619 time="2026-09-17T09:45:30Z" msg="200 OK: GET https://127.0.0.1:35913/core/v4/events/latest" /client userID=c9a2f5aa-8e73-49b1-ae70-7080e5d3f619 time="2026-09-17T09:45:30Z" msg="Starting service Last EventID=AQ==" time="2026-09-17T09:45:30Z" msg="200 OK: GET https://127.0.0.1:35913/core/v4/settings" /client userID=c9a2f5aa-8e73-49b1-ae70-7080e5d3f619 time="2026-09-17T09:45:30Z" msg="Registering user client, ID:c9a2f5aa-8e73-49b1-ae70-7080e5d3f619" time="2026-09-17T09:45:30Z" msg="Starting user identity service" numA time="2026-09-17T09:45:30Z" msg="Starting service main loop" time="2026-09-17T09:45:30Z" msg="Starting service main loop" time="2026-09-17T09:45:30Z" msg="Starting service main loop" time="2026-09-17T09:45:30Z" msg="200 OK: GET https://127.0.0.1:35913/core/v4/labels?T" /client userID=c9a2f5aa-8e73-49b1-ae70-7080e5d3f619 time="2026-09-17T09:45:30Z" msg="200 OK: GET https://127.0.0.1:35913/core/v4/labels?T" /client userID=c9a2f5aa-8e73-49b1-ae70-7080e5d3f619 time="2026-09-17T09:45:30Z" msg="200 OK: GET https://127.0.0.1:35913/core/v4/labels?T" /client userID=c9a2f5aa-8e73-49b1-ae70-7080e5d3f619 time="2026-09-17T09:45:30Z" msg="Setting labels" labelIDs="[7 9 0 1 2 6 8 10 12 3 4 5]" time="2026-09-17T09:45:30Z" msg="Adding user to imap server" addrID=2c4739da-117f-4f84-b716-095ffe0a8e73 time="2026-09-17T09:45:30Z" msg="Creating new IMAP user" addrID=2c4739da-117f-4f84-b716-095ffe0a8e73 time="2026-09-17T09:45:30Z" msg="Setting gluon ID" addrID=2c4739da-117f-4f84-b716-095ffe0a8e73 gluonID=47918efd-7e77-4a85-8464-63a54a0fd885 userID=c9a2f5aa-8e73-49b1-ae70-7080e5d3f619 time="2026-09-17T09:45:30Z" msg="Received mailbox message count" gluonID=47918efd-7e77-4a85-8464-63a54a0fd885 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:45:30Z" msg="Created new IMAP user" addrID=2c4739da-117f-4f84-b716-095ffe0a8e73 gluonID=47918efd-7e77-4a85-8464-63a54a0fd885 time="2026-09-17T09:45:30Z" msg="Validating Listener State" time="2026-09-17T09:45:30Z" time="2026-09-17T09:45:30Z" msg="Starting IMAP Service" time="2026-09-17T09:45:30Z" msg="Checking whether logged in user should re-sync. UserID:c9a2f5aa-8e73-49b1-ae70-7080e5d3f619" userID=c9a2f5aa-8e73-49b1-ae70-7080e5d3f619 time="2026-09-17T09:45:30Z" msg="Sync triggered" And the user logs in with username "8f85279e-11f3-4dce-b56b-4791cf5f7217" and password "password" # :1 -> *scenario time="2026-09-17T09:45:30Z" msg="Beginning user sync" start="2026-09-17 09:45:30.241527464 +0000 UTC m=+18.733829840" time="2026-09-17T09:45:30Z" msg="Syncing labels" time="2026-09-17T09:45:30Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=47918efd-7e77-4a85-8464-63a54a0fd885 time="2026-09-17T09:45:30Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=47918efd-7e77-4a85-8464-63a54a0fd885 time="2026-09-17T09:45:30Z" msg="Mailbox created" /user remoteMailboxID=0 userID=47918efd-7e77-4a85-8464-63a54a0fd885 time="2026-09-17T09:45:30Z" msg="Mailbox created" /user remoteMailboxID=6 userID=47918efd-7e77-4a85-8464-63a54a0fd885 time="2026-09-17T09:45:30Z" msg="Mailbox created" /user remoteMailboxID=12 userID=47918efd-7e77-4a85-8464-63a54a0fd885 time="2026-09-17T09:45:30Z" msg="Mailbox created" /user remoteMailboxID=8 userID=47918efd-7e77-4a85-8464-63a54a0fd885 time="2026-09-17T09:45:30Z" msg="Mailbox created" /user remoteMailboxID=10 userID=47918efd-7e77-4a85-8464-63a54a0fd885 time="2026-09-17T09:45:30Z" msg="Mailbox created" /user remoteMailboxID=3 userID=47918efd-7e77-4a85-8464-63a54a0fd885 time="2026-09-17T09:45:30Z" msg="Mailbox created" /user remoteMailboxID=4 userID=47918efd-7e77-4a85-8464-63a54a0fd885 time="2026-09-17T09:45:30Z" msg="Mailbox created" /user remoteMailboxID=5 userID=47918efd-7e77-4a85-8464-63a54a0fd885 time="2026-09-17T09:45:30Z" msg="Mailbox created" /user remoteMailboxID=7 userID=47918efd-7e77-4a85-8464-63a54a0fd885 time="2026-09-17T09:45:30Z" msg="Synced labels" time="2026-09-17T09:45:30Z" msg="200 OK: GET https://127.0.0.1:35913/mail/v4/messages/count" /client userID=c9a2f5aa-8e73-49b1-ae70-7080e5d3f619 time="2026-09-17T09:45:30Z" msg="Syncing messages" time="2026-09-17T09:45:30Z" msg="Job started" time="2026-09-17T09:45:30Z" msg="200 OK: POST https://127.0.0.1:35913/mail/v4/messages" /client userID=c9a2f5aa-8e73-49b1-ae70-7080e5d3f619 time="2026-09-17T09:45:30Z" msg="Job finished" time="2026-09-17T09:45:30Z" msg="All child jobs completed" sync- time="2026-09-17T09:45:30Z" msg="Synced messages" time="2026-09-17T09:45:30Z" msg="Finished user sync" .969532ms time="2026-09-17T09:45:30Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:45:30Z" msg="Event loop reset" eventID="AQ==" And user "8f85279e-11f3-4dce-b56b-4791cf5f7217" finishes syncing # :1 -> *scenario time="2026-09-17T09:45:30Z" msg="Frontend service stopped" time="2026-09-17T09:45:30Z" msg="Frontend client stopped" time="2026-09-17T09:45:30Z" msg="Closing bridge" time="2026-09-17T09:45:30Z" msg="Stopping service" time="2026-09-17T09:45:30Z" msg="Closing user" userID=c9a2f5aa-8e73-49b1-ae70-7080e5d3f619 time="2026-09-17T09:45:30Z" msg="De-registering user client, ID:c9a2f5aa-8e73-49b1-ae70-7080e5d3f619" time="2026-09-17T09:45:30Z" msg="Exiting IMAP Service" time="2026-09-17T09:45:30Z" msg="Exiting service main loop" time="2026-09-17T09:45:30Z" msg="Exiting service main loop" time="2026-09-17T09:45:30Z" msg="Exiting Service" time="2026-09-17T09:45:30Z" msg="Exiting service main loop" time="2026-09-17T09:45:30Z" msg="Exiting service" time="2026-09-17T09:45:30Z" msg="Closing IMAP Listener" time="2026-09-17T09:45:30Z" msg="Closing IMAP server" time="2026-09-17T09:45:30Z" msg="Closing SMTP Listener" time="2026-09-17T09:45:30Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:45:30Z" msg="Closing SMTP server" time="2026-09-17T09:45:30Z" msg="Closing service" Then user "8f85279e-11f3-4dce-b56b-4791cf5f7217" connects and authenticates IMAP client "1" with address "c70dc341-cc63-470d-88a0-7f31e9f44bed@proton.local" # :1 -> *scenario time="2026-09-17T09:45:30Z" msg="User '3c37f619-6b16-4570-bed2-392a55930e2b' created with " /server/backend time="2026-09-17T09:45:31Z" msg="Starting bridge" time="2026-09-17T09:45:31Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/013/config2821374146/grpcFocusServerConfig.json /service time="2026-09-17T09:45:31Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/013/cache3986533246/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:45:31Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/013/cache3986533246/notifications/notification_cache: no such file or directory" time="2026-09-17T09:45:31Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/013/data2063598460/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/013/data2063598460/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:45:31Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:45:31Z" msg="Starting IMAP server" time="2026-09-17T09:45:31Z" msg="Starting SMTP server" time="2026-09-17T09:45:31Z" msg="Starting service" time="2026-09-17T09:45:31Z" msg="Starting service" time="2026-09-17T09:45:31Z" msg="Starting poll service" time="2026-09-17T09:45:31Z" msg="Checking for updates" time="2026-09-17T09:45:31Z" msg="Loading users" /user time="2026-09-17T09:45:31Z" msg="Starting frontend service" time="2026-09-17T09:45:31Z" msg="Finished loading users" /user time="2026-09-17T09:45:31Z" msg="Starting receiver service" time="2026-09-17T09:45:31Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/013/config2821374146/grpcServerConfig.json time="2026-09-17T09:45:31Z" msg="gRPC server listening on /tmp/bridge0831" time="2026-09-17T09:45:31Z" msg="Frontend service started" time="2026-09-17T09:45:31Z" msg="Starting frontend client" time="2026-09-17T09:45:31Z" msg="Not monitoring parent PID" time="2026-09-17T09:45:31Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:45:31Z" msg="200 OK: GET https://127.0.0.1:41717/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:45:31Z" msg="Frontend client started" Scenario: IMAP client can authenticate successfully with secondary address in split mode # features/imap/addressmode.feature:13 Given bridge starts # :1 -> *scenario time="2026-09-17T09:45:31Z" msg="Performing full user login" /user username="******** (60db479a)" time="2026-09-17T09:45:31Z" msg="Authorizing user for login" /user username="******** (60db479a)" time="2026-09-17T09:45:31Z" msg="200 OK: POST https://127.0.0.1:41717/auth/v4/info" /manager time="2026-09-17T09:45:31Z" msg="200 OK: POST https://127.0.0.1:41717/auth/v4" /manager time="2026-09-17T09:45:31Z" msg="Logging in authorized user" /user userID=a5d6f047-b2b9-4597-99d8-1f2a867490f8 time="2026-09-17T09:45:31Z" msg="Adding vault user" userID=a5d6f047-b2b9-4597-99d8-1f2a867490f8 time="2026-09-17T09:45:31Z" msg="Creating new user" userID=a5d6f047-b2b9-4597-99d8-1f2a867490f8 time="2026-09-17T09:45:31Z" msg="404 GET https://127.0.0.1:41717/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:45:31Z" msg="404 GET https://127.0.0.1:41717/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:45:31Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:41717/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:45:31Z" msg="Creating user object" authUID=c736027b-42c2-4e9b-a618-dc2f513fab37 numA numL userID=a5d6f047-b2b9-4597-99d8-1f2a867490f8 time="2026-09-17T09:45:31Z" msg="200 OK: GET https://127.0.0.1:41717/core/v4/events/latest" /client userID=a5d6f047-b2b9-4597-99d8-1f2a867490f8 time="2026-09-17T09:45:31Z" msg="Starting service Last EventID=AQ==" time="2026-09-17T09:45:31Z" msg="200 OK: GET https://127.0.0.1:41717/core/v4/settings" /client userID=a5d6f047-b2b9-4597-99d8-1f2a867490f8 time="2026-09-17T09:45:31Z" msg="Registering user client, ID:a5d6f047-b2b9-4597-99d8-1f2a867490f8" time="2026-09-17T09:45:31Z" msg="Starting service main loop" time="2026-09-17T09:45:31Z" msg="Starting user identity service" numA time="2026-09-17T09:45:31Z" msg="Starting service main loop" time="2026-09-17T09:45:31Z" msg="Starting service main loop" time="2026-09-17T09:45:31Z" msg="200 OK: GET https://127.0.0.1:41717/core/v4/labels?T" /client userID=a5d6f047-b2b9-4597-99d8-1f2a867490f8 time="2026-09-17T09:45:31Z" msg="200 OK: GET https://127.0.0.1:41717/core/v4/labels?T" /client userID=a5d6f047-b2b9-4597-99d8-1f2a867490f8 time="2026-09-17T09:45:31Z" msg="200 OK: GET https://127.0.0.1:41717/core/v4/labels?T" /client userID=a5d6f047-b2b9-4597-99d8-1f2a867490f8 time="2026-09-17T09:45:31Z" msg="Setting labels" labelIDs="[6 7 9 10 2 4 5 8 12 0 1 3]" time="2026-09-17T09:45:31Z" msg="Adding user to imap server" addrID=ba63c239-c45d-42bb-b54e-80ed4a6205df time="2026-09-17T09:45:31Z" msg="Creating new IMAP user" addrID=ba63c239-c45d-42bb-b54e-80ed4a6205df time="2026-09-17T09:45:31Z" msg="Setting gluon ID" addrID=ba63c239-c45d-42bb-b54e-80ed4a6205df gluonID=4ce7a2ee-e29d-4a5d-9cc6-d51ccd363406 userID=a5d6f047-b2b9-4597-99d8-1f2a867490f8 time="2026-09-17T09:45:31Z" msg="Received mailbox message count" gluonID=4ce7a2ee-e29d-4a5d-9cc6-d51ccd363406 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:45:31Z" msg="Created new IMAP user" addrID=ba63c239-c45d-42bb-b54e-80ed4a6205df gluonID=4ce7a2ee-e29d-4a5d-9cc6-d51ccd363406 time="2026-09-17T09:45:31Z" msg="Validating Listener State" time="2026-09-17T09:45:31Z" time="2026-09-17T09:45:31Z" msg="Checking whether logged in user should re-sync. UserID:a5d6f047-b2b9-4597-99d8-1f2a867490f8" userID=a5d6f047-b2b9-4597-99d8-1f2a867490f8 time="2026-09-17T09:45:31Z" msg="Starting IMAP Service" And the user logs in with username "3c37f619-6b16-4570-bed2-392a55930e2b" and password "password" # :1 -> *scenario time="2026-09-17T09:45:31Z" msg="Setting address mode" /user userID=a5d6f047-b2b9-4597-99d8-1f2a867490f8 time="2026-09-17T09:45:31Z" msg="Setting address mode" userID=a5d6f047-b2b9-4597-99d8-1f2a867490f8 time="2026-09-17T09:45:31Z" msg="Sync triggered" time="2026-09-17T09:45:31Z" msg="Beginning user sync" start="2026-09-17 09:45:31.781144196 +0000 UTC m=+20.273446532" time="2026-09-17T09:45:31Z" msg="Setting Split Address Mode" time="2026-09-17T09:45:31Z" msg="Failed to check and report label conflicts" error="context canceled" time="2026-09-17T09:45:31Z" msg="Sync aborted" error="context canceled" time="2026-09-17T09:45:31Z" msg="Finished user sync" duration="249.202µs" time="2026-09-17T09:45:31Z" msg="Removing gluon ID" addrID=ba63c239-c45d-42bb-b54e-80ed4a6205df gluonID=4ce7a2ee-e29d-4a5d-9cc6-d51ccd363406 userID=a5d6f047-b2b9-4597-99d8-1f2a867490f8 time="2026-09-17T09:45:31Z" msg="Validating Listener State" time="2026-09-17T09:45:31Z" msg="Adding user to imap server" addrID=ba63c239-c45d-42bb-b54e-80ed4a6205df time="2026-09-17T09:45:31Z" msg="Creating new IMAP user" addrID=ba63c239-c45d-42bb-b54e-80ed4a6205df time="2026-09-17T09:45:31Z" msg="Setting gluon ID" addrID=ba63c239-c45d-42bb-b54e-80ed4a6205df gluonID=2c701cb8-14d1-4c2e-8688-8b0dce5e88e7 userID=a5d6f047-b2b9-4597-99d8-1f2a867490f8 time="2026-09-17T09:45:31Z" msg="Received mailbox message count" gluonID=2c701cb8-14d1-4c2e-8688-8b0dce5e88e7 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:45:31Z" msg="Created new IMAP user" addrID=ba63c239-c45d-42bb-b54e-80ed4a6205df gluonID=2c701cb8-14d1-4c2e-8688-8b0dce5e88e7 time="2026-09-17T09:45:31Z" msg="Validating Listener State" time="2026-09-17T09:45:31Z" msg="Adding user to imap server" addrID=840c2009-7bd8-4af9-93e2-0fb02d7d6fc5 time="2026-09-17T09:45:31Z" msg="Creating new IMAP user" addrID=840c2009-7bd8-4af9-93e2-0fb02d7d6fc5 time="2026-09-17T09:45:31Z" msg="Setting gluon ID" addrID=840c2009-7bd8-4af9-93e2-0fb02d7d6fc5 gluonID=91e7e112-b36b-484f-a982-73970f639090 userID=a5d6f047-b2b9-4597-99d8-1f2a867490f8 time="2026-09-17T09:45:31Z" msg="Received mailbox message count" gluonID=91e7e112-b36b-484f-a982-73970f639090 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:45:31Z" msg="Created new IMAP user" addrID=840c2009-7bd8-4af9-93e2-0fb02d7d6fc5 gluonID=91e7e112-b36b-484f-a982-73970f639090 time="2026-09-17T09:45:31Z" msg="Validating Listener State" time="2026-09-17T09:45:31Z" msg="Sync triggered" time="2026-09-17T09:45:31Z" msg="Beginning user sync" start="2026-09-17 09:45:31.79813555 +0000 UTC m=+20.290437886" And the user sets the address mode of user "3c37f619-6b16-4570-bed2-392a55930e2b" to "split" # :1 -> *scenario time="2026-09-17T09:45:31Z" msg="Syncing labels" time="2026-09-17T09:45:31Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=2c701cb8-14d1-4c2e-8688-8b0dce5e88e7 time="2026-09-17T09:45:31Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=91e7e112-b36b-484f-a982-73970f639090 time="2026-09-17T09:45:31Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=2c701cb8-14d1-4c2e-8688-8b0dce5e88e7 time="2026-09-17T09:45:31Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=91e7e112-b36b-484f-a982-73970f639090 time="2026-09-17T09:45:31Z" msg="Mailbox created" /user remoteMailboxID=3 userID=2c701cb8-14d1-4c2e-8688-8b0dce5e88e7 time="2026-09-17T09:45:31Z" msg="Mailbox created" /user remoteMailboxID=6 userID=2c701cb8-14d1-4c2e-8688-8b0dce5e88e7 time="2026-09-17T09:45:31Z" msg="Mailbox created" /user remoteMailboxID=3 userID=91e7e112-b36b-484f-a982-73970f639090 time="2026-09-17T09:45:31Z" msg="Mailbox created" /user remoteMailboxID=7 userID=2c701cb8-14d1-4c2e-8688-8b0dce5e88e7 time="2026-09-17T09:45:31Z" msg="Mailbox created" /user remoteMailboxID=6 userID=91e7e112-b36b-484f-a982-73970f639090 time="2026-09-17T09:45:31Z" msg="Mailbox created" /user remoteMailboxID=10 userID=2c701cb8-14d1-4c2e-8688-8b0dce5e88e7 time="2026-09-17T09:45:31Z" msg="Mailbox created" /user remoteMailboxID=4 userID=2c701cb8-14d1-4c2e-8688-8b0dce5e88e7 time="2026-09-17T09:45:31Z" msg="Mailbox created" /user remoteMailboxID=7 userID=91e7e112-b36b-484f-a982-73970f639090 time="2026-09-17T09:45:31Z" msg="Mailbox created" /user remoteMailboxID=12 userID=2c701cb8-14d1-4c2e-8688-8b0dce5e88e7 time="2026-09-17T09:45:31Z" msg="Mailbox created" /user remoteMailboxID=5 userID=2c701cb8-14d1-4c2e-8688-8b0dce5e88e7 time="2026-09-17T09:45:31Z" msg="Mailbox created" /user remoteMailboxID=10 userID=91e7e112-b36b-484f-a982-73970f639090 time="2026-09-17T09:45:31Z" msg="Mailbox created" /user remoteMailboxID=8 userID=2c701cb8-14d1-4c2e-8688-8b0dce5e88e7 time="2026-09-17T09:45:31Z" msg="Mailbox created" /user remoteMailboxID=4 userID=91e7e112-b36b-484f-a982-73970f639090 time="2026-09-17T09:45:31Z" msg="Mailbox created" /user remoteMailboxID=0 userID=2c701cb8-14d1-4c2e-8688-8b0dce5e88e7 time="2026-09-17T09:45:31Z" msg="Mailbox created" /user remoteMailboxID=12 userID=91e7e112-b36b-484f-a982-73970f639090 time="2026-09-17T09:45:31Z" msg="Mailbox created" /user remoteMailboxID=5 userID=91e7e112-b36b-484f-a982-73970f639090 time="2026-09-17T09:45:31Z" msg="Mailbox created" /user remoteMailboxID=8 userID=91e7e112-b36b-484f-a982-73970f639090 time="2026-09-17T09:45:31Z" msg="Mailbox created" /user remoteMailboxID=0 userID=91e7e112-b36b-484f-a982-73970f639090 time="2026-09-17T09:45:31Z" msg="Synced labels" time="2026-09-17T09:45:31Z" msg="200 OK: GET https://127.0.0.1:41717/mail/v4/messages/count" /client userID=a5d6f047-b2b9-4597-99d8-1f2a867490f8 time="2026-09-17T09:45:31Z" msg="Syncing messages" time="2026-09-17T09:45:31Z" msg="Job started" time="2026-09-17T09:45:31Z" msg="200 OK: POST https://127.0.0.1:41717/mail/v4/messages" /client userID=a5d6f047-b2b9-4597-99d8-1f2a867490f8 time="2026-09-17T09:45:31Z" msg="Job finished" time="2026-09-17T09:45:31Z" msg="All child jobs completed" sync- time="2026-09-17T09:45:31Z" msg="Synced messages" time="2026-09-17T09:45:31Z" msg="Finished user sync" .48997ms time="2026-09-17T09:45:31Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:45:31Z" msg="Event loop reset" eventID="AQ==" And user "3c37f619-6b16-4570-bed2-392a55930e2b" finishes syncing # :1 -> *scenario time="2026-09-17T09:45:31Z" msg="Frontend service stopped" time="2026-09-17T09:45:31Z" msg="Frontend client stopped" time="2026-09-17T09:45:31Z" msg="Closing bridge" time="2026-09-17T09:45:31Z" msg="Stopping service" time="2026-09-17T09:45:31Z" msg="Closing user" userID=a5d6f047-b2b9-4597-99d8-1f2a867490f8 time="2026-09-17T09:45:31Z" msg="De-registering user client, ID:a5d6f047-b2b9-4597-99d8-1f2a867490f8" time="2026-09-17T09:45:31Z" msg="Exiting IMAP Service" time="2026-09-17T09:45:31Z" msg="Exiting service main loop" time="2026-09-17T09:45:31Z" msg="Exiting service main loop" time="2026-09-17T09:45:31Z" msg="Exiting Service" time="2026-09-17T09:45:31Z" msg="Exiting service main loop" time="2026-09-17T09:45:31Z" msg="Exiting service" time="2026-09-17T09:45:31Z" msg="Closing IMAP Listener" time="2026-09-17T09:45:31Z" msg="Closing IMAP server" time="2026-09-17T09:45:31Z" msg="Closing SMTP Listener" time="2026-09-17T09:45:31Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:45:31Z" msg="Closing SMTP server" time="2026-09-17T09:45:31Z" msg="Closing service" Then user "3c37f619-6b16-4570-bed2-392a55930e2b" connects and authenticates IMAP client "1" with address "c6edcbad-6a52-4e58-8152-9d60d1af5a3f@proton.local" # :1 -> *scenario time="2026-09-17T09:45:32Z" msg="User 'd5a78c93-5564-4c39-a1f4-eec06f5a4b10' created with " /server/backend Scenario: IMAP client cannot authenticate successfully with disabled alias in combine mode # features/imap/addressmode.feature:22 Given the account "d5a78c93-5564-4c39-a1f4-eec06f5a4b10" has additional disabled address "a07464ba-5c02-4fcb-b141-d1e9f50e96bd@proton.local" # :1 -> *scenario And it succeeds # :1 -> *scenario time="2026-09-17T09:45:33Z" msg="Starting bridge" time="2026-09-17T09:45:33Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/014/config1256709521/grpcFocusServerConfig.json /service time="2026-09-17T09:45:33Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/014/cache2973206589/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:45:33Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/014/cache2973206589/notifications/notification_cache: no such file or directory" time="2026-09-17T09:45:33Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/014/data922916177/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/014/data922916177/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:45:33Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:45:33Z" msg="Starting IMAP server" time="2026-09-17T09:45:33Z" msg="Starting SMTP server" time="2026-09-17T09:45:33Z" msg="Starting service" time="2026-09-17T09:45:33Z" msg="Starting service" time="2026-09-17T09:45:33Z" msg="Starting poll service" time="2026-09-17T09:45:33Z" msg="Loading users" /user time="2026-09-17T09:45:33Z" msg="Finished loading users" /user time="2026-09-17T09:45:33Z" msg="Starting frontend service" time="2026-09-17T09:45:33Z" msg="Checking for updates" time="2026-09-17T09:45:33Z" msg="Starting receiver service" time="2026-09-17T09:45:33Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/014/config1256709521/grpcServerConfig.json time="2026-09-17T09:45:33Z" msg="gRPC server listening on /tmp/bridge0662" time="2026-09-17T09:45:33Z" msg="Frontend service started" time="2026-09-17T09:45:33Z" msg="Starting frontend client" time="2026-09-17T09:45:33Z" msg="Not monitoring parent PID" time="2026-09-17T09:45:33Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:45:33Z" msg="Frontend client started" Given bridge starts # :1 -> *scenario time="2026-09-17T09:45:33Z" msg="Performing full user login" /user username="******** (9c0ae24c)" time="2026-09-17T09:45:33Z" msg="Authorizing user for login" /user username="******** (9c0ae24c)" time="2026-09-17T09:45:33Z" msg="200 OK: GET https://127.0.0.1:40865/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:45:33Z" msg="200 OK: POST https://127.0.0.1:40865/auth/v4/info" /manager time="2026-09-17T09:45:33Z" msg="200 OK: POST https://127.0.0.1:40865/auth/v4" /manager time="2026-09-17T09:45:33Z" msg="Logging in authorized user" /user userID=474681f1-4d86-4daa-9b32-0d9a6133a1d3 time="2026-09-17T09:45:33Z" msg="Adding vault user" userID=474681f1-4d86-4daa-9b32-0d9a6133a1d3 time="2026-09-17T09:45:33Z" msg="Creating new user" userID=474681f1-4d86-4daa-9b32-0d9a6133a1d3 time="2026-09-17T09:45:33Z" msg="404 GET https://127.0.0.1:40865/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:45:33Z" msg="404 GET https://127.0.0.1:40865/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:45:33Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:40865/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:45:33Z" msg="Creating user object" authUID=625f2cbd-2e40-4961-bd97-5e726e3a722b numA numL userID=474681f1-4d86-4daa-9b32-0d9a6133a1d3 time="2026-09-17T09:45:33Z" msg="200 OK: GET https://127.0.0.1:40865/core/v4/events/latest" /client userID=474681f1-4d86-4daa-9b32-0d9a6133a1d3 time="2026-09-17T09:45:33Z" msg="Starting service Last EventID=Ag==" time="2026-09-17T09:45:33Z" msg="200 OK: GET https://127.0.0.1:40865/core/v4/settings" /client userID=474681f1-4d86-4daa-9b32-0d9a6133a1d3 time="2026-09-17T09:45:33Z" msg="Registering user client, ID:474681f1-4d86-4daa-9b32-0d9a6133a1d3" time="2026-09-17T09:45:33Z" msg="Starting service main loop" time="2026-09-17T09:45:33Z" msg="Starting user identity service" numA time="2026-09-17T09:45:33Z" msg="Starting service main loop" time="2026-09-17T09:45:33Z" msg="Starting service main loop" time="2026-09-17T09:45:33Z" msg="200 OK: GET https://127.0.0.1:40865/core/v4/labels?T" /client userID=474681f1-4d86-4daa-9b32-0d9a6133a1d3 time="2026-09-17T09:45:33Z" msg="200 OK: GET https://127.0.0.1:40865/core/v4/labels?T" /client userID=474681f1-4d86-4daa-9b32-0d9a6133a1d3 time="2026-09-17T09:45:33Z" msg="200 OK: GET https://127.0.0.1:40865/core/v4/labels?T" /client userID=474681f1-4d86-4daa-9b32-0d9a6133a1d3 time="2026-09-17T09:45:33Z" msg="Setting labels" labelIDs="[2 3 7 9 12 1 4 5 6 8 10 0]" time="2026-09-17T09:45:33Z" msg="Adding user to imap server" addrID=6da2e398-b27e-464e-af66-d836275ded85 time="2026-09-17T09:45:33Z" msg="Creating new IMAP user" addrID=6da2e398-b27e-464e-af66-d836275ded85 time="2026-09-17T09:45:33Z" msg="Setting gluon ID" addrID=6da2e398-b27e-464e-af66-d836275ded85 gluonID=4f0a629d-4cd2-465d-9f9a-e26bb9497078 userID=474681f1-4d86-4daa-9b32-0d9a6133a1d3 time="2026-09-17T09:45:33Z" msg="Received mailbox message count" gluonID=4f0a629d-4cd2-465d-9f9a-e26bb9497078 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:45:33Z" msg="Created new IMAP user" addrID=6da2e398-b27e-464e-af66-d836275ded85 gluonID=4f0a629d-4cd2-465d-9f9a-e26bb9497078 time="2026-09-17T09:45:33Z" msg="Validating Listener State" time="2026-09-17T09:45:33Z" time="2026-09-17T09:45:33Z" msg="Starting IMAP Service" time="2026-09-17T09:45:33Z" msg="Checking whether logged in user should re-sync. UserID:474681f1-4d86-4daa-9b32-0d9a6133a1d3" userID=474681f1-4d86-4daa-9b32-0d9a6133a1d3 And the user logs in with username "d5a78c93-5564-4c39-a1f4-eec06f5a4b10" and password "password" # :1 -> *scenario time="2026-09-17T09:45:33Z" msg="Sync triggered" time="2026-09-17T09:45:33Z" msg="Beginning user sync" start="2026-09-17 09:45:33.788628084 +0000 UTC m=+22.280930420" time="2026-09-17T09:45:33Z" msg="Syncing labels" time="2026-09-17T09:45:33Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=4f0a629d-4cd2-465d-9f9a-e26bb9497078 time="2026-09-17T09:45:33Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=4f0a629d-4cd2-465d-9f9a-e26bb9497078 time="2026-09-17T09:45:33Z" msg="Mailbox created" /user remoteMailboxID=4 userID=4f0a629d-4cd2-465d-9f9a-e26bb9497078 time="2026-09-17T09:45:33Z" msg="Mailbox created" /user remoteMailboxID=0 userID=4f0a629d-4cd2-465d-9f9a-e26bb9497078 time="2026-09-17T09:45:33Z" msg="Mailbox created" /user remoteMailboxID=3 userID=4f0a629d-4cd2-465d-9f9a-e26bb9497078 time="2026-09-17T09:45:33Z" msg="Mailbox created" /user remoteMailboxID=7 userID=4f0a629d-4cd2-465d-9f9a-e26bb9497078 time="2026-09-17T09:45:33Z" msg="Mailbox created" /user remoteMailboxID=12 userID=4f0a629d-4cd2-465d-9f9a-e26bb9497078 time="2026-09-17T09:45:33Z" msg="Mailbox created" /user remoteMailboxID=5 userID=4f0a629d-4cd2-465d-9f9a-e26bb9497078 time="2026-09-17T09:45:33Z" msg="Mailbox created" /user remoteMailboxID=6 userID=4f0a629d-4cd2-465d-9f9a-e26bb9497078 time="2026-09-17T09:45:33Z" msg="Mailbox created" /user remoteMailboxID=8 userID=4f0a629d-4cd2-465d-9f9a-e26bb9497078 time="2026-09-17T09:45:33Z" msg="Mailbox created" /user remoteMailboxID=10 userID=4f0a629d-4cd2-465d-9f9a-e26bb9497078 time="2026-09-17T09:45:33Z" msg="Synced labels" time="2026-09-17T09:45:33Z" msg="200 OK: GET https://127.0.0.1:40865/mail/v4/messages/count" /client userID=474681f1-4d86-4daa-9b32-0d9a6133a1d3 time="2026-09-17T09:45:33Z" msg="Syncing messages" time="2026-09-17T09:45:33Z" msg="Job started" time="2026-09-17T09:45:33Z" msg="200 OK: POST https://127.0.0.1:40865/mail/v4/messages" /client userID=474681f1-4d86-4daa-9b32-0d9a6133a1d3 time="2026-09-17T09:45:33Z" msg="Job finished" time="2026-09-17T09:45:33Z" msg="All child jobs completed" sync- time="2026-09-17T09:45:33Z" msg="Synced messages" time="2026-09-17T09:45:33Z" msg="Finished user sync" .318196ms time="2026-09-17T09:45:33Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:45:33Z" msg="Event loop reset" eventID="Ag==" And user "d5a78c93-5564-4c39-a1f4-eec06f5a4b10" finishes syncing # :1 -> *scenario time="2026-09-17T09:45:33Z" msg="Command failed" cmd="LOGIN 'vQjDgId5E8bz6Ksf1mUCavZW5tI955zxKSj2pvQAj38=' " error="no such user" /session time="2026-09-17T09:45:33Z" msg="Incorrect login credentials." sessionID=1 @proton.local time="2026-09-17T09:45:33Z" msg="Frontend service stopped" time="2026-09-17T09:45:33Z" msg="Frontend client stopped" time="2026-09-17T09:45:33Z" msg="Closing bridge" time="2026-09-17T09:45:33Z" msg="Stopping service" time="2026-09-17T09:45:33Z" msg="Closing user" userID=474681f1-4d86-4daa-9b32-0d9a6133a1d3 time="2026-09-17T09:45:33Z" msg="De-registering user client, ID:474681f1-4d86-4daa-9b32-0d9a6133a1d3" time="2026-09-17T09:45:33Z" msg="Exiting IMAP Service" time="2026-09-17T09:45:33Z" msg="Exiting service main loop" time="2026-09-17T09:45:33Z" msg="Exiting service main loop" time="2026-09-17T09:45:33Z" msg="Exiting Service" time="2026-09-17T09:45:33Z" msg="Exiting service main loop" time="2026-09-17T09:45:33Z" msg="Exiting service" time="2026-09-17T09:45:33Z" msg="Closing IMAP Listener" time="2026-09-17T09:45:33Z" msg="Closing IMAP server" time="2026-09-17T09:45:33Z" msg="Closing SMTP Listener" time="2026-09-17T09:45:33Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:45:33Z" msg="Closing SMTP server" time="2026-09-17T09:45:33Z" msg="Closing service" When user "d5a78c93-5564-4c39-a1f4-eec06f5a4b10" connects and can not authenticate IMAP client "1" with address "a07464ba-5c02-4fcb-b141-d1e9f50e96bd@proton.local" # :1 -> *scenario time="2026-09-17T09:45:34Z" msg="User '39c2b2c0-d1cc-4aac-8e4e-bb2608081489' created with " /server/backend Scenario: IMAP client cannot authenticate successfully with disabled alias in split mode # features/imap/addressmode.feature:33 Given the account "39c2b2c0-d1cc-4aac-8e4e-bb2608081489" has additional disabled address "2f4591c6-79b0-4b10-9cc8-8f7910acb9b8@proton.local" # :1 -> *scenario And it succeeds # :1 -> *scenario time="2026-09-17T09:45:35Z" msg="Starting bridge" time="2026-09-17T09:45:35Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/015/config1122722613/grpcFocusServerConfig.json /service time="2026-09-17T09:45:35Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/015/cache2761793535/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:45:35Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/015/cache2761793535/notifications/notification_cache: no such file or directory" time="2026-09-17T09:45:35Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/015/data962238444/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/015/data962238444/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:45:35Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:45:35Z" msg="Starting IMAP server" time="2026-09-17T09:45:35Z" msg="Starting SMTP server" time="2026-09-17T09:45:35Z" msg="Starting service" time="2026-09-17T09:45:35Z" msg="Starting service" time="2026-09-17T09:45:35Z" msg="Starting receiver service" time="2026-09-17T09:45:35Z" msg="Starting frontend service" time="2026-09-17T09:45:35Z" msg="Checking for updates" time="2026-09-17T09:45:35Z" msg="Loading users" /user time="2026-09-17T09:45:35Z" msg="Finished loading users" /user time="2026-09-17T09:45:35Z" msg="Starting poll service" time="2026-09-17T09:45:35Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/015/config1122722613/grpcServerConfig.json time="2026-09-17T09:45:35Z" msg="gRPC server listening on /tmp/bridge4291" time="2026-09-17T09:45:35Z" msg="Frontend service started" time="2026-09-17T09:45:35Z" msg="Starting frontend client" time="2026-09-17T09:45:35Z" msg="Not monitoring parent PID" time="2026-09-17T09:45:35Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:45:35Z" msg="Frontend client started" time="2026-09-17T09:45:35Z" msg="200 OK: GET https://127.0.0.1:35145/feature/v2/frontend?bridgeStickyK" /manager Given bridge starts # :1 -> *scenario time="2026-09-17T09:45:35Z" msg="Performing full user login" /user username="******** (c853eba1)" time="2026-09-17T09:45:35Z" msg="Authorizing user for login" /user username="******** (c853eba1)" time="2026-09-17T09:45:35Z" msg="200 OK: POST https://127.0.0.1:35145/auth/v4/info" /manager time="2026-09-17T09:45:35Z" msg="200 OK: POST https://127.0.0.1:35145/auth/v4" /manager time="2026-09-17T09:45:35Z" msg="Logging in authorized user" /user userID=9961600e-1b69-4a99-990c-d1d32772b559 time="2026-09-17T09:45:35Z" msg="Adding vault user" userID=9961600e-1b69-4a99-990c-d1d32772b559 time="2026-09-17T09:45:35Z" msg="Creating new user" userID=9961600e-1b69-4a99-990c-d1d32772b559 time="2026-09-17T09:45:35Z" msg="404 GET https://127.0.0.1:35145/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:45:35Z" msg="404 GET https://127.0.0.1:35145/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:45:35Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:35145/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:45:35Z" msg="Creating user object" authUID=faad6848-c64e-4526-9abe-8a556bce0515 numA numL userID=9961600e-1b69-4a99-990c-d1d32772b559 time="2026-09-17T09:45:35Z" msg="200 OK: GET https://127.0.0.1:35145/core/v4/events/latest" /client userID=9961600e-1b69-4a99-990c-d1d32772b559 time="2026-09-17T09:45:35Z" msg="Starting service Last EventID=Ag==" time="2026-09-17T09:45:35Z" msg="200 OK: GET https://127.0.0.1:35145/core/v4/settings" /client userID=9961600e-1b69-4a99-990c-d1d32772b559 time="2026-09-17T09:45:35Z" msg="Registering user client, ID:9961600e-1b69-4a99-990c-d1d32772b559" time="2026-09-17T09:45:35Z" msg="Starting user identity service" numA time="2026-09-17T09:45:35Z" msg="Starting service main loop" time="2026-09-17T09:45:35Z" msg="Starting service main loop" time="2026-09-17T09:45:35Z" msg="Starting service main loop" time="2026-09-17T09:45:35Z" msg="200 OK: GET https://127.0.0.1:35145/core/v4/labels?T" /client userID=9961600e-1b69-4a99-990c-d1d32772b559 time="2026-09-17T09:45:35Z" msg="200 OK: GET https://127.0.0.1:35145/core/v4/labels?T" /client userID=9961600e-1b69-4a99-990c-d1d32772b559 time="2026-09-17T09:45:35Z" msg="200 OK: GET https://127.0.0.1:35145/core/v4/labels?T" /client userID=9961600e-1b69-4a99-990c-d1d32772b559 time="2026-09-17T09:45:35Z" msg="Setting labels" labelIDs="[2 3 4 7 12 0 5 6 8 9 10 1]" time="2026-09-17T09:45:35Z" msg="Adding user to imap server" addrID=81f69f46-92e3-4be9-9350-ba19c43b52e1 time="2026-09-17T09:45:35Z" msg="Creating new IMAP user" addrID=81f69f46-92e3-4be9-9350-ba19c43b52e1 time="2026-09-17T09:45:35Z" msg="Setting gluon ID" addrID=81f69f46-92e3-4be9-9350-ba19c43b52e1 gluonID=741125db-83bb-4ea2-b8dc-ad65f700baaf userID=9961600e-1b69-4a99-990c-d1d32772b559 time="2026-09-17T09:45:35Z" msg="Received mailbox message count" gluonID=741125db-83bb-4ea2-b8dc-ad65f700baaf labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:45:35Z" msg="Created new IMAP user" addrID=81f69f46-92e3-4be9-9350-ba19c43b52e1 gluonID=741125db-83bb-4ea2-b8dc-ad65f700baaf time="2026-09-17T09:45:35Z" msg="Validating Listener State" time="2026-09-17T09:45:35Z" time="2026-09-17T09:45:35Z" msg="Starting IMAP Service" time="2026-09-17T09:45:35Z" msg="Checking whether logged in user should re-sync. UserID:9961600e-1b69-4a99-990c-d1d32772b559" userID=9961600e-1b69-4a99-990c-d1d32772b559 And the user logs in with username "39c2b2c0-d1cc-4aac-8e4e-bb2608081489" and password "password" # :1 -> *scenario time="2026-09-17T09:45:35Z" msg="Sync triggered" time="2026-09-17T09:45:35Z" msg="Beginning user sync" start="2026-09-17 09:45:35.785865169 +0000 UTC m=+24.278167545" time="2026-09-17T09:45:35Z" msg="Setting address mode" /user userID=9961600e-1b69-4a99-990c-d1d32772b559 time="2026-09-17T09:45:35Z" msg="Setting address mode" userID=9961600e-1b69-4a99-990c-d1d32772b559 time="2026-09-17T09:45:35Z" msg="Setting Split Address Mode" time="2026-09-17T09:45:35Z" msg="Failed to check and report label conflicts" error="context canceled" time="2026-09-17T09:45:35Z" msg="Sync aborted" error="context canceled" time="2026-09-17T09:45:35Z" msg="Finished user sync" duration="496.522µs" time="2026-09-17T09:45:35Z" msg="Removing gluon ID" addrID=81f69f46-92e3-4be9-9350-ba19c43b52e1 gluonID=741125db-83bb-4ea2-b8dc-ad65f700baaf userID=9961600e-1b69-4a99-990c-d1d32772b559 time="2026-09-17T09:45:35Z" msg="Validating Listener State" time="2026-09-17T09:45:35Z" msg="Adding user to imap server" addrID=81f69f46-92e3-4be9-9350-ba19c43b52e1 time="2026-09-17T09:45:35Z" msg="Creating new IMAP user" addrID=81f69f46-92e3-4be9-9350-ba19c43b52e1 time="2026-09-17T09:45:35Z" msg="Setting gluon ID" addrID=81f69f46-92e3-4be9-9350-ba19c43b52e1 gluonID=fde53184-689b-466b-b1cd-d54d6667fb67 userID=9961600e-1b69-4a99-990c-d1d32772b559 time="2026-09-17T09:45:35Z" msg="Created new IMAP user" addrID=81f69f46-92e3-4be9-9350-ba19c43b52e1 gluonID=fde53184-689b-466b-b1cd-d54d6667fb67 time="2026-09-17T09:45:35Z" msg="Validating Listener State" time="2026-09-17T09:45:35Z" msg="Adding user to imap server" addrID=dc4652da-ee11-4b7c-b442-484dd1fc1aa3 time="2026-09-17T09:45:35Z" msg="Creating new IMAP user" addrID=dc4652da-ee11-4b7c-b442-484dd1fc1aa3 time="2026-09-17T09:45:35Z" msg="Received mailbox message count" gluonID=fde53184-689b-466b-b1cd-d54d6667fb67 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:45:35Z" msg="Setting gluon ID" addrID=dc4652da-ee11-4b7c-b442-484dd1fc1aa3 gluonID=758381c7-2977-444a-946e-0d3ea22a42be userID=9961600e-1b69-4a99-990c-d1d32772b559 time="2026-09-17T09:45:35Z" msg="Received mailbox message count" gluonID=758381c7-2977-444a-946e-0d3ea22a42be labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:45:35Z" msg="Created new IMAP user" addrID=dc4652da-ee11-4b7c-b442-484dd1fc1aa3 gluonID=758381c7-2977-444a-946e-0d3ea22a42be time="2026-09-17T09:45:35Z" msg="Validating Listener State" time="2026-09-17T09:45:35Z" msg="Adding user to imap server" addrID=e9c5cbe5-6d78-49e7-9f9e-78c64571bcff time="2026-09-17T09:45:35Z" msg="Creating new IMAP user" addrID=e9c5cbe5-6d78-49e7-9f9e-78c64571bcff time="2026-09-17T09:45:35Z" msg="Setting gluon ID" addrID=e9c5cbe5-6d78-49e7-9f9e-78c64571bcff gluonID=1f877ac5-023f-46e5-86ad-27e71e6904ec userID=9961600e-1b69-4a99-990c-d1d32772b559 time="2026-09-17T09:45:35Z" msg="Received mailbox message count" gluonID=1f877ac5-023f-46e5-86ad-27e71e6904ec labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:45:35Z" msg="Created new IMAP user" addrID=e9c5cbe5-6d78-49e7-9f9e-78c64571bcff gluonID=1f877ac5-023f-46e5-86ad-27e71e6904ec time="2026-09-17T09:45:35Z" msg="Validating Listener State" time="2026-09-17T09:45:35Z" msg="Sync triggered" time="2026-09-17T09:45:35Z" msg="Beginning user sync" start="2026-09-17 09:45:35.810535316 +0000 UTC m=+24.302837652" And the user sets the address mode of user "39c2b2c0-d1cc-4aac-8e4e-bb2608081489" to "split" # :1 -> *scenario time="2026-09-17T09:45:35Z" msg="Syncing labels" time="2026-09-17T09:45:35Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=1f877ac5-023f-46e5-86ad-27e71e6904ec time="2026-09-17T09:45:35Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=fde53184-689b-466b-b1cd-d54d6667fb67 time="2026-09-17T09:45:35Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=758381c7-2977-444a-946e-0d3ea22a42be time="2026-09-17T09:45:35Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=1f877ac5-023f-46e5-86ad-27e71e6904ec time="2026-09-17T09:45:35Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=fde53184-689b-466b-b1cd-d54d6667fb67 time="2026-09-17T09:45:35Z" msg="Mailbox created" /user remoteMailboxID=3 userID=1f877ac5-023f-46e5-86ad-27e71e6904ec time="2026-09-17T09:45:35Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=758381c7-2977-444a-946e-0d3ea22a42be time="2026-09-17T09:45:35Z" msg="Mailbox created" /user remoteMailboxID=0 userID=1f877ac5-023f-46e5-86ad-27e71e6904ec time="2026-09-17T09:45:35Z" msg="Mailbox created" /user remoteMailboxID=3 userID=fde53184-689b-466b-b1cd-d54d6667fb67 time="2026-09-17T09:45:35Z" msg="Mailbox created" /user remoteMailboxID=10 userID=1f877ac5-023f-46e5-86ad-27e71e6904ec time="2026-09-17T09:45:35Z" msg="Mailbox created" /user remoteMailboxID=3 userID=758381c7-2977-444a-946e-0d3ea22a42be time="2026-09-17T09:45:35Z" msg="Mailbox created" /user remoteMailboxID=0 userID=fde53184-689b-466b-b1cd-d54d6667fb67 time="2026-09-17T09:45:35Z" msg="Mailbox created" /user remoteMailboxID=4 userID=1f877ac5-023f-46e5-86ad-27e71e6904ec time="2026-09-17T09:45:35Z" msg="Mailbox created" /user remoteMailboxID=0 userID=758381c7-2977-444a-946e-0d3ea22a42be time="2026-09-17T09:45:35Z" msg="Mailbox created" /user remoteMailboxID=10 userID=fde53184-689b-466b-b1cd-d54d6667fb67 time="2026-09-17T09:45:35Z" msg="Mailbox created" /user remoteMailboxID=7 userID=1f877ac5-023f-46e5-86ad-27e71e6904ec time="2026-09-17T09:45:35Z" msg="Mailbox created" /user remoteMailboxID=10 userID=758381c7-2977-444a-946e-0d3ea22a42be time="2026-09-17T09:45:35Z" msg="Mailbox created" /user remoteMailboxID=4 userID=fde53184-689b-466b-b1cd-d54d6667fb67 time="2026-09-17T09:45:35Z" msg="Mailbox created" /user remoteMailboxID=12 userID=1f877ac5-023f-46e5-86ad-27e71e6904ec time="2026-09-17T09:45:35Z" msg="Mailbox created" /user remoteMailboxID=4 userID=758381c7-2977-444a-946e-0d3ea22a42be time="2026-09-17T09:45:35Z" msg="Mailbox created" /user remoteMailboxID=7 userID=fde53184-689b-466b-b1cd-d54d6667fb67 time="2026-09-17T09:45:35Z" msg="Mailbox created" /user remoteMailboxID=5 userID=1f877ac5-023f-46e5-86ad-27e71e6904ec time="2026-09-17T09:45:35Z" msg="Mailbox created" /user remoteMailboxID=7 userID=758381c7-2977-444a-946e-0d3ea22a42be time="2026-09-17T09:45:35Z" msg="Mailbox created" /user remoteMailboxID=12 userID=fde53184-689b-466b-b1cd-d54d6667fb67 time="2026-09-17T09:45:35Z" msg="Mailbox created" /user remoteMailboxID=12 userID=758381c7-2977-444a-946e-0d3ea22a42be time="2026-09-17T09:45:35Z" msg="Mailbox created" /user remoteMailboxID=6 userID=1f877ac5-023f-46e5-86ad-27e71e6904ec time="2026-09-17T09:45:35Z" msg="Mailbox created" /user remoteMailboxID=5 userID=fde53184-689b-466b-b1cd-d54d6667fb67 time="2026-09-17T09:45:35Z" msg="Mailbox created" /user remoteMailboxID=5 userID=758381c7-2977-444a-946e-0d3ea22a42be time="2026-09-17T09:45:35Z" msg="Mailbox created" /user remoteMailboxID=8 userID=1f877ac5-023f-46e5-86ad-27e71e6904ec time="2026-09-17T09:45:35Z" msg="Mailbox created" /user remoteMailboxID=6 userID=fde53184-689b-466b-b1cd-d54d6667fb67 time="2026-09-17T09:45:35Z" msg="Mailbox created" /user remoteMailboxID=6 userID=758381c7-2977-444a-946e-0d3ea22a42be time="2026-09-17T09:45:35Z" msg="Mailbox created" /user remoteMailboxID=8 userID=758381c7-2977-444a-946e-0d3ea22a42be time="2026-09-17T09:45:35Z" msg="Mailbox created" /user remoteMailboxID=8 userID=fde53184-689b-466b-b1cd-d54d6667fb67 time="2026-09-17T09:45:35Z" msg="Synced labels" time="2026-09-17T09:45:35Z" msg="200 OK: GET https://127.0.0.1:35145/mail/v4/messages/count" /client userID=9961600e-1b69-4a99-990c-d1d32772b559 time="2026-09-17T09:45:35Z" msg="Syncing messages" time="2026-09-17T09:45:35Z" msg="Job started" time="2026-09-17T09:45:35Z" msg="200 OK: POST https://127.0.0.1:35145/mail/v4/messages" /client userID=9961600e-1b69-4a99-990c-d1d32772b559 time="2026-09-17T09:45:35Z" msg="Job finished" time="2026-09-17T09:45:35Z" msg="All child jobs completed" sync- time="2026-09-17T09:45:35Z" msg="Synced messages" time="2026-09-17T09:45:35Z" msg="Finished user sync" .056168ms time="2026-09-17T09:45:35Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:45:35Z" msg="Event loop reset" eventID="Ag==" And user "39c2b2c0-d1cc-4aac-8e4e-bb2608081489" finishes syncing # :1 -> *scenario time="2026-09-17T09:45:35Z" msg="Command failed" cmd="LOGIN '/SZzs87mqx4txRo2hVNIB/KVFuJNR60CKJnhUHckwtc=' " error="no such user" /session time="2026-09-17T09:45:35Z" msg="Incorrect login credentials." sessionID=1 @proton.local time="2026-09-17T09:45:35Z" msg="Frontend service stopped" time="2026-09-17T09:45:35Z" msg="Frontend client stopped" time="2026-09-17T09:45:35Z" msg="Closing bridge" time="2026-09-17T09:45:35Z" msg="Stopping service" time="2026-09-17T09:45:35Z" msg="Closing user" userID=9961600e-1b69-4a99-990c-d1d32772b559 time="2026-09-17T09:45:35Z" msg="De-registering user client, ID:9961600e-1b69-4a99-990c-d1d32772b559" time="2026-09-17T09:45:35Z" msg="Exiting IMAP Service" time="2026-09-17T09:45:35Z" msg="Exiting service main loop" time="2026-09-17T09:45:35Z" msg="Exiting service main loop" time="2026-09-17T09:45:35Z" msg="Exiting Service" time="2026-09-17T09:45:35Z" msg="Exiting service main loop" time="2026-09-17T09:45:35Z" msg="Exiting service" time="2026-09-17T09:45:35Z" msg="Closing IMAP Listener" time="2026-09-17T09:45:35Z" msg="Closing IMAP server" time="2026-09-17T09:45:35Z" msg="Closing SMTP Listener" time="2026-09-17T09:45:35Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:45:35Z" msg="Closing SMTP server" time="2026-09-17T09:45:35Z" msg="Closing service" When user "39c2b2c0-d1cc-4aac-8e4e-bb2608081489" connects and can not authenticate IMAP client "1" with address "2f4591c6-79b0-4b10-9cc8-8f7910acb9b8@proton.local" # :1 -> *scenario Feature: A user can authenticate an IMAP client time="2026-09-17T09:45:36Z" msg="User 'c3b5ba75-e7d6-458b-bf4f-797685f9aeab' created with " /server/backend Background: Given there exists an account with username "c3b5ba75-e7d6-458b-bf4f-797685f9aeab" and password "password" # :1 -> *scenario time="2026-09-17T09:45:36Z" msg="User '611c02f2-7d66-41f9-a6b8-9ebdc0d8c5e0' created with " /server/backend And there exists an account with username "611c02f2-7d66-41f9-a6b8-9ebdc0d8c5e0" and password "password2" # :1 -> *scenario And the account "c3b5ba75-e7d6-458b-bf4f-797685f9aeab" has additional address "81982876-c340-4bec-8984-cefe7a4e774b@proton.local" # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:45:37Z" msg="Starting bridge" time="2026-09-17T09:45:37Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/016/config121585040/grpcFocusServerConfig.json /service time="2026-09-17T09:45:37Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/016/cache1378849963/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:45:37Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/016/cache1378849963/notifications/notification_cache: no such file or directory" time="2026-09-17T09:45:37Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/016/data3625182473/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/016/data3625182473/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:45:37Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:45:37Z" msg="Starting IMAP server" time="2026-09-17T09:45:37Z" msg="Starting SMTP server" time="2026-09-17T09:45:37Z" msg="Starting service" time="2026-09-17T09:45:37Z" msg="Starting service" time="2026-09-17T09:45:37Z" msg="Starting receiver service" time="2026-09-17T09:45:37Z" msg="Starting poll service" time="2026-09-17T09:45:37Z" msg="Starting frontend service" time="2026-09-17T09:45:37Z" msg="Loading users" /user time="2026-09-17T09:45:37Z" msg="Checking for updates" time="2026-09-17T09:45:37Z" msg="Finished loading users" /user time="2026-09-17T09:45:37Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/016/config121585040/grpcServerConfig.json time="2026-09-17T09:45:37Z" msg="gRPC server listening on /tmp/bridge4617" time="2026-09-17T09:45:37Z" msg="Frontend service started" time="2026-09-17T09:45:37Z" msg="Starting frontend client" time="2026-09-17T09:45:37Z" msg="Not monitoring parent PID" time="2026-09-17T09:45:37Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:45:37Z" msg="Frontend client started" When bridge starts # :1 -> *scenario time="2026-09-17T09:45:37Z" msg="Performing full user login" /user username="******** (6824e99c)" time="2026-09-17T09:45:37Z" msg="Authorizing user for login" /user username="******** (6824e99c)" time="2026-09-17T09:45:37Z" msg="200 OK: GET https://127.0.0.1:36955/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:45:37Z" msg="200 OK: POST https://127.0.0.1:36955/auth/v4/info" /manager time="2026-09-17T09:45:37Z" msg="200 OK: POST https://127.0.0.1:36955/auth/v4" /manager time="2026-09-17T09:45:37Z" msg="Logging in authorized user" /user userID=3844c20f-cdd4-4e21-8a1d-a64a2bda8e0e time="2026-09-17T09:45:37Z" msg="Adding vault user" userID=3844c20f-cdd4-4e21-8a1d-a64a2bda8e0e time="2026-09-17T09:45:37Z" msg="Creating new user" userID=3844c20f-cdd4-4e21-8a1d-a64a2bda8e0e time="2026-09-17T09:45:37Z" msg="404 GET https://127.0.0.1:36955/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:45:37Z" msg="404 GET https://127.0.0.1:36955/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:45:37Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:36955/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:45:37Z" msg="Creating user object" authUID=5f454cfd-38b0-4669-97e2-3c296f425025 numA numL userID=3844c20f-cdd4-4e21-8a1d-a64a2bda8e0e time="2026-09-17T09:45:37Z" msg="200 OK: GET https://127.0.0.1:36955/core/v4/events/latest" /client userID=3844c20f-cdd4-4e21-8a1d-a64a2bda8e0e time="2026-09-17T09:45:37Z" msg="Starting service Last EventID=Ag==" time="2026-09-17T09:45:37Z" msg="200 OK: GET https://127.0.0.1:36955/core/v4/settings" /client userID=3844c20f-cdd4-4e21-8a1d-a64a2bda8e0e time="2026-09-17T09:45:37Z" msg="Registering user client, ID:3844c20f-cdd4-4e21-8a1d-a64a2bda8e0e" time="2026-09-17T09:45:37Z" msg="Starting user identity service" numA time="2026-09-17T09:45:37Z" msg="Starting service main loop" time="2026-09-17T09:45:37Z" msg="Starting service main loop" time="2026-09-17T09:45:37Z" msg="Starting service main loop" time="2026-09-17T09:45:37Z" msg="200 OK: GET https://127.0.0.1:36955/core/v4/labels?T" /client userID=3844c20f-cdd4-4e21-8a1d-a64a2bda8e0e time="2026-09-17T09:45:37Z" msg="200 OK: GET https://127.0.0.1:36955/core/v4/labels?T" /client userID=3844c20f-cdd4-4e21-8a1d-a64a2bda8e0e time="2026-09-17T09:45:37Z" msg="200 OK: GET https://127.0.0.1:36955/core/v4/labels?T" /client userID=3844c20f-cdd4-4e21-8a1d-a64a2bda8e0e time="2026-09-17T09:45:37Z" msg="Setting labels" labelIDs="[4 5 6 8 9 2 7 10 12 0 1 3]" time="2026-09-17T09:45:37Z" msg="Adding user to imap server" addrID=8b4aef4f-9235-459c-86ad-1ddc853a964d time="2026-09-17T09:45:37Z" msg="Creating new IMAP user" addrID=8b4aef4f-9235-459c-86ad-1ddc853a964d time="2026-09-17T09:45:37Z" msg="Setting gluon ID" addrID=8b4aef4f-9235-459c-86ad-1ddc853a964d gluonID=c3c8d739-771c-42bf-b8a4-e27650552132 userID=3844c20f-cdd4-4e21-8a1d-a64a2bda8e0e time="2026-09-17T09:45:37Z" msg="Received mailbox message count" gluonID=c3c8d739-771c-42bf-b8a4-e27650552132 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:45:37Z" msg="Created new IMAP user" addrID=8b4aef4f-9235-459c-86ad-1ddc853a964d gluonID=c3c8d739-771c-42bf-b8a4-e27650552132 time="2026-09-17T09:45:37Z" msg="Validating Listener State" time="2026-09-17T09:45:37Z" time="2026-09-17T09:45:37Z" msg="Starting IMAP Service" And the user logs in with username "c3b5ba75-e7d6-458b-bf4f-797685f9aeab" and password "password" # :1 -> *scenario time="2026-09-17T09:45:37Z" msg="Checking whether logged in user should re-sync. UserID:3844c20f-cdd4-4e21-8a1d-a64a2bda8e0e" userID=3844c20f-cdd4-4e21-8a1d-a64a2bda8e0e time="2026-09-17T09:45:37Z" msg="Sync triggered" time="2026-09-17T09:45:37Z" msg="Performing full user login" /user username="******** (c409bc07)" time="2026-09-17T09:45:37Z" msg="Authorizing user for login" /user username="******** (c409bc07)" time="2026-09-17T09:45:37Z" msg="Beginning user sync" start="2026-09-17 09:45:37.984877013 +0000 UTC m=+26.477179349" time="2026-09-17T09:45:37Z" msg="Syncing labels" time="2026-09-17T09:45:37Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=c3c8d739-771c-42bf-b8a4-e27650552132 time="2026-09-17T09:45:37Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=c3c8d739-771c-42bf-b8a4-e27650552132 time="2026-09-17T09:45:37Z" msg="Mailbox created" /user remoteMailboxID=6 userID=c3c8d739-771c-42bf-b8a4-e27650552132 time="2026-09-17T09:45:37Z" msg="Mailbox created" /user remoteMailboxID=8 userID=c3c8d739-771c-42bf-b8a4-e27650552132 time="2026-09-17T09:45:37Z" msg="Mailbox created" /user remoteMailboxID=10 userID=c3c8d739-771c-42bf-b8a4-e27650552132 time="2026-09-17T09:45:37Z" msg="Mailbox created" /user remoteMailboxID=0 userID=c3c8d739-771c-42bf-b8a4-e27650552132 time="2026-09-17T09:45:37Z" msg="Mailbox created" /user remoteMailboxID=3 userID=c3c8d739-771c-42bf-b8a4-e27650552132 time="2026-09-17T09:45:37Z" msg="Mailbox created" /user remoteMailboxID=4 userID=c3c8d739-771c-42bf-b8a4-e27650552132 time="2026-09-17T09:45:37Z" msg="Mailbox created" /user remoteMailboxID=5 userID=c3c8d739-771c-42bf-b8a4-e27650552132 time="2026-09-17T09:45:37Z" msg="Mailbox created" /user remoteMailboxID=7 userID=c3c8d739-771c-42bf-b8a4-e27650552132 time="2026-09-17T09:45:37Z" msg="Mailbox created" /user remoteMailboxID=12 userID=c3c8d739-771c-42bf-b8a4-e27650552132 time="2026-09-17T09:45:37Z" msg="Synced labels" time="2026-09-17T09:45:38Z" msg="200 OK: POST https://127.0.0.1:36955/auth/v4/info" /manager time="2026-09-17T09:45:38Z" msg="200 OK: GET https://127.0.0.1:36955/mail/v4/messages/count" /client userID=3844c20f-cdd4-4e21-8a1d-a64a2bda8e0e time="2026-09-17T09:45:38Z" msg="Syncing messages" time="2026-09-17T09:45:38Z" msg="Job started" time="2026-09-17T09:45:38Z" msg="200 OK: POST https://127.0.0.1:36955/mail/v4/messages" /client userID=3844c20f-cdd4-4e21-8a1d-a64a2bda8e0e time="2026-09-17T09:45:38Z" msg="Job finished" time="2026-09-17T09:45:38Z" msg="All child jobs completed" sync- time="2026-09-17T09:45:38Z" msg="Synced messages" time="2026-09-17T09:45:38Z" msg="Finished user sync" .942838ms time="2026-09-17T09:45:38Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:45:38Z" msg="Event loop reset" eventID="Ag==" time="2026-09-17T09:45:38Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 6} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:45:38Z" msg="200 OK: POST https://127.0.0.1:36955/auth/v4" /manager time="2026-09-17T09:45:38Z" msg="Logging in authorized user" /user userID=6281af58-8e2b-4df3-adb2-f27c9218d89a time="2026-09-17T09:45:38Z" msg="Adding vault user" userID=6281af58-8e2b-4df3-adb2-f27c9218d89a time="2026-09-17T09:45:38Z" msg="Creating new user" userID=6281af58-8e2b-4df3-adb2-f27c9218d89a time="2026-09-17T09:45:38Z" msg="404 GET https://127.0.0.1:36955/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:45:38Z" msg="404 GET https://127.0.0.1:36955/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:45:38Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:36955/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:45:38Z" msg="Creating user object" authUID=50434b72-ee59-4405-bc80-14123f9e9ce9 numA numL userID=6281af58-8e2b-4df3-adb2-f27c9218d89a time="2026-09-17T09:45:38Z" msg="200 OK: GET https://127.0.0.1:36955/core/v4/events/latest" /client userID=6281af58-8e2b-4df3-adb2-f27c9218d89a time="2026-09-17T09:45:38Z" msg="Starting service Last EventID=AQ==" time="2026-09-17T09:45:38Z" msg="200 OK: GET https://127.0.0.1:36955/core/v4/settings" /client userID=6281af58-8e2b-4df3-adb2-f27c9218d89a time="2026-09-17T09:45:38Z" msg="Registering user client, ID:6281af58-8e2b-4df3-adb2-f27c9218d89a" time="2026-09-17T09:45:38Z" msg="Starting user identity service" numA time="2026-09-17T09:45:38Z" msg="Starting service main loop" time="2026-09-17T09:45:38Z" msg="Starting service main loop" time="2026-09-17T09:45:38Z" msg="Starting service main loop" time="2026-09-17T09:45:38Z" msg="200 OK: GET https://127.0.0.1:36955/core/v4/labels?T" /client userID=6281af58-8e2b-4df3-adb2-f27c9218d89a time="2026-09-17T09:45:38Z" msg="200 OK: GET https://127.0.0.1:36955/core/v4/labels?T" /client userID=6281af58-8e2b-4df3-adb2-f27c9218d89a time="2026-09-17T09:45:38Z" msg="200 OK: GET https://127.0.0.1:36955/core/v4/labels?T" /client userID=6281af58-8e2b-4df3-adb2-f27c9218d89a time="2026-09-17T09:45:38Z" msg="Setting labels" labelIDs="[10 0 3 4 8 9 12 1 2 5 6 7]" time="2026-09-17T09:45:38Z" msg="Adding user to imap server" addrID=c0b33193-9e8e-4759-9b8c-3ffb4419faaf time="2026-09-17T09:45:38Z" msg="Creating new IMAP user" addrID=c0b33193-9e8e-4759-9b8c-3ffb4419faaf time="2026-09-17T09:45:38Z" msg="Setting gluon ID" addrID=c0b33193-9e8e-4759-9b8c-3ffb4419faaf gluonID=78e5a9ef-2297-4c78-afdf-0fcc26492e87 userID=6281af58-8e2b-4df3-adb2-f27c9218d89a time="2026-09-17T09:45:38Z" msg="Received mailbox message count" gluonID=78e5a9ef-2297-4c78-afdf-0fcc26492e87 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:45:38Z" msg="Created new IMAP user" addrID=c0b33193-9e8e-4759-9b8c-3ffb4419faaf gluonID=78e5a9ef-2297-4c78-afdf-0fcc26492e87 time="2026-09-17T09:45:38Z" msg="Validating Listener State" time="2026-09-17T09:45:38Z" time="2026-09-17T09:45:38Z" msg="Starting IMAP Service" And the user logs in with username "611c02f2-7d66-41f9-a6b8-9ebdc0d8c5e0" and password "password2" # :1 -> *scenario time="2026-09-17T09:45:38Z" msg="Checking whether logged in user should re-sync. UserID:6281af58-8e2b-4df3-adb2-f27c9218d89a" userID=6281af58-8e2b-4df3-adb2-f27c9218d89a Then it succeeds # :1 -> *scenario time="2026-09-17T09:45:38Z" msg="Sync triggered" time="2026-09-17T09:45:38Z" msg="Beginning user sync" start="2026-09-17 09:45:38.415998728 +0000 UTC m=+26.908301064" Scenario: IMAP client can authenticate successfully # features/imap/auth.feature:12 When user "c3b5ba75-e7d6-458b-bf4f-797685f9aeab" connects IMAP client "1" # :1 -> *scenario time="2026-09-17T09:45:38Z" msg="Frontend service stopped" time="2026-09-17T09:45:38Z" msg="Syncing labels" time="2026-09-17T09:45:38Z" msg="Frontend client stopped" time="2026-09-17T09:45:38Z" msg="Closing bridge" time="2026-09-17T09:45:38Z" msg="Stopping service" time="2026-09-17T09:45:38Z" msg="Closing user" userID=6281af58-8e2b-4df3-adb2-f27c9218d89a time="2026-09-17T09:45:38Z" msg="De-registering user client, ID:6281af58-8e2b-4df3-adb2-f27c9218d89a" time="2026-09-17T09:45:38Z" msg="Failed to sync, will retry later" error="failed to sync labels: context canceled" time="2026-09-17T09:45:38Z" msg="Sync aborted" error="context canceled" time="2026-09-17T09:45:38Z" msg="Finished user sync" .708852ms time="2026-09-17T09:45:38Z" msg="Exiting IMAP Service" time="2026-09-17T09:45:38Z" msg="Exiting service main loop" time="2026-09-17T09:45:38Z" msg="Exiting service main loop" time="2026-09-17T09:45:38Z" msg="Exiting Service" time="2026-09-17T09:45:38Z" msg="Exiting service main loop" time="2026-09-17T09:45:38Z" msg="Exiting service" time="2026-09-17T09:45:38Z" msg="Closing user" userID=3844c20f-cdd4-4e21-8a1d-a64a2bda8e0e time="2026-09-17T09:45:38Z" msg="De-registering user client, ID:3844c20f-cdd4-4e21-8a1d-a64a2bda8e0e" time="2026-09-17T09:45:38Z" msg="Exiting IMAP Service" time="2026-09-17T09:45:38Z" msg="Exiting service main loop" time="2026-09-17T09:45:38Z" msg="Exiting service main loop" time="2026-09-17T09:45:38Z" msg="Exiting Service" time="2026-09-17T09:45:38Z" msg="Exiting service main loop" time="2026-09-17T09:45:38Z" msg="Exiting service" time="2026-09-17T09:45:38Z" msg="Closing IMAP Listener" time="2026-09-17T09:45:38Z" msg="Closing IMAP server" time="2026-09-17T09:45:38Z" msg="Closing SMTP Listener" time="2026-09-17T09:45:38Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:45:38Z" msg="Closing SMTP server" time="2026-09-17T09:45:38Z" msg="Closing service" Then IMAP client "1" can authenticate # :1 -> *scenario time="2026-09-17T09:45:38Z" msg="User '899859d9-e6d4-4fc5-a5dc-a5caef813085' created with " /server/backend time="2026-09-17T09:45:39Z" msg="User '1daf4f2c-f59e-46b7-ac0b-76f0d42c10c7' created with " /server/backend time="2026-09-17T09:45:40Z" msg="Starting bridge" time="2026-09-17T09:45:40Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/017/config4092676928/grpcFocusServerConfig.json /service time="2026-09-17T09:45:40Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/017/cache2974441687/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:45:40Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/017/cache2974441687/notifications/notification_cache: no such file or directory" time="2026-09-17T09:45:40Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/017/data3899984595/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/017/data3899984595/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:45:40Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:45:40Z" msg="Starting IMAP server" time="2026-09-17T09:45:40Z" msg="Starting SMTP server" time="2026-09-17T09:45:40Z" msg="Starting service" time="2026-09-17T09:45:40Z" msg="Starting service" time="2026-09-17T09:45:40Z" msg="Starting poll service" time="2026-09-17T09:45:40Z" msg="Loading users" /user time="2026-09-17T09:45:40Z" msg="Finished loading users" /user time="2026-09-17T09:45:40Z" msg="Starting frontend service" time="2026-09-17T09:45:40Z" msg="Starting receiver service" time="2026-09-17T09:45:40Z" msg="Checking for updates" time="2026-09-17T09:45:40Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/017/config4092676928/grpcServerConfig.json time="2026-09-17T09:45:40Z" msg="gRPC server listening on /tmp/bridge5293" time="2026-09-17T09:45:40Z" msg="Frontend service started" time="2026-09-17T09:45:40Z" msg="Starting frontend client" time="2026-09-17T09:45:40Z" msg="Not monitoring parent PID" time="2026-09-17T09:45:40Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:45:40Z" msg="Frontend client started" time="2026-09-17T09:45:40Z" msg="Performing full user login" /user username="******** (0fae5543)" time="2026-09-17T09:45:40Z" msg="Authorizing user for login" /user username="******** (0fae5543)" time="2026-09-17T09:45:40Z" msg="200 OK: GET https://127.0.0.1:39981/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:45:40Z" msg="200 OK: POST https://127.0.0.1:39981/auth/v4/info" /manager time="2026-09-17T09:45:40Z" msg="200 OK: POST https://127.0.0.1:39981/auth/v4" /manager time="2026-09-17T09:45:40Z" msg="Logging in authorized user" /user userID=e64adf43-6f34-45b2-8d66-0d2679b98b4c time="2026-09-17T09:45:40Z" msg="Adding vault user" userID=e64adf43-6f34-45b2-8d66-0d2679b98b4c time="2026-09-17T09:45:40Z" msg="Creating new user" userID=e64adf43-6f34-45b2-8d66-0d2679b98b4c time="2026-09-17T09:45:40Z" msg="404 GET https://127.0.0.1:39981/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:45:40Z" msg="404 GET https://127.0.0.1:39981/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:45:40Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:39981/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:45:40Z" msg="Creating user object" authUID=34ba02a7-047b-420f-ad9c-1afb56fc97bc numA numL userID=e64adf43-6f34-45b2-8d66-0d2679b98b4c time="2026-09-17T09:45:40Z" msg="200 OK: GET https://127.0.0.1:39981/core/v4/events/latest" /client userID=e64adf43-6f34-45b2-8d66-0d2679b98b4c time="2026-09-17T09:45:40Z" msg="Starting service Last EventID=Ag==" time="2026-09-17T09:45:40Z" msg="200 OK: GET https://127.0.0.1:39981/core/v4/settings" /client userID=e64adf43-6f34-45b2-8d66-0d2679b98b4c time="2026-09-17T09:45:40Z" msg="Registering user client, ID:e64adf43-6f34-45b2-8d66-0d2679b98b4c" time="2026-09-17T09:45:40Z" msg="Starting service main loop" time="2026-09-17T09:45:40Z" msg="Starting user identity service" numA time="2026-09-17T09:45:40Z" msg="Starting service main loop" time="2026-09-17T09:45:40Z" msg="Starting service main loop" time="2026-09-17T09:45:40Z" msg="200 OK: GET https://127.0.0.1:39981/core/v4/labels?T" /client userID=e64adf43-6f34-45b2-8d66-0d2679b98b4c time="2026-09-17T09:45:40Z" msg="200 OK: GET https://127.0.0.1:39981/core/v4/labels?T" /client userID=e64adf43-6f34-45b2-8d66-0d2679b98b4c time="2026-09-17T09:45:40Z" msg="200 OK: GET https://127.0.0.1:39981/core/v4/labels?T" /client userID=e64adf43-6f34-45b2-8d66-0d2679b98b4c time="2026-09-17T09:45:40Z" msg="Setting labels" labelIDs="[5 6 10 0 2 3 4 7 8 9 12 1]" time="2026-09-17T09:45:40Z" msg="Adding user to imap server" addrID=5287b7a6-4ca3-4944-b57b-d35df7d43aea time="2026-09-17T09:45:40Z" msg="Creating new IMAP user" addrID=5287b7a6-4ca3-4944-b57b-d35df7d43aea time="2026-09-17T09:45:40Z" msg="Setting gluon ID" addrID=5287b7a6-4ca3-4944-b57b-d35df7d43aea gluonID=43cbe27f-4838-4e9e-a66b-c56d45e51de8 userID=e64adf43-6f34-45b2-8d66-0d2679b98b4c time="2026-09-17T09:45:40Z" msg="Created new IMAP user" addrID=5287b7a6-4ca3-4944-b57b-d35df7d43aea gluonID=43cbe27f-4838-4e9e-a66b-c56d45e51de8 time="2026-09-17T09:45:40Z" msg="Validating Listener State" time="2026-09-17T09:45:40Z" msg="Received mailbox message count" gluonID=43cbe27f-4838-4e9e-a66b-c56d45e51de8 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:45:40Z" time="2026-09-17T09:45:40Z" msg="Starting IMAP Service" time="2026-09-17T09:45:40Z" msg="Checking whether logged in user should re-sync. UserID:e64adf43-6f34-45b2-8d66-0d2679b98b4c" userID=e64adf43-6f34-45b2-8d66-0d2679b98b4c time="2026-09-17T09:45:40Z" msg="Sync triggered" time="2026-09-17T09:45:40Z" msg="Beginning user sync" start="2026-09-17 09:45:40.566256962 +0000 UTC m=+29.058559258" time="2026-09-17T09:45:40Z" msg="Performing full user login" /user username="******** (f2bd1536)" time="2026-09-17T09:45:40Z" msg="Authorizing user for login" /user username="******** (f2bd1536)" time="2026-09-17T09:45:40Z" msg="Syncing labels" time="2026-09-17T09:45:40Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=43cbe27f-4838-4e9e-a66b-c56d45e51de8 time="2026-09-17T09:45:40Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=43cbe27f-4838-4e9e-a66b-c56d45e51de8 time="2026-09-17T09:45:40Z" msg="Mailbox created" /user remoteMailboxID=12 userID=43cbe27f-4838-4e9e-a66b-c56d45e51de8 time="2026-09-17T09:45:40Z" msg="Mailbox created" /user remoteMailboxID=0 userID=43cbe27f-4838-4e9e-a66b-c56d45e51de8 time="2026-09-17T09:45:40Z" msg="Mailbox created" /user remoteMailboxID=3 userID=43cbe27f-4838-4e9e-a66b-c56d45e51de8 time="2026-09-17T09:45:40Z" msg="Mailbox created" /user remoteMailboxID=4 userID=43cbe27f-4838-4e9e-a66b-c56d45e51de8 time="2026-09-17T09:45:40Z" msg="Mailbox created" /user remoteMailboxID=8 userID=43cbe27f-4838-4e9e-a66b-c56d45e51de8 time="2026-09-17T09:45:40Z" msg="Mailbox created" /user remoteMailboxID=5 userID=43cbe27f-4838-4e9e-a66b-c56d45e51de8 time="2026-09-17T09:45:40Z" msg="Mailbox created" /user remoteMailboxID=6 userID=43cbe27f-4838-4e9e-a66b-c56d45e51de8 time="2026-09-17T09:45:40Z" msg="Mailbox created" /user remoteMailboxID=10 userID=43cbe27f-4838-4e9e-a66b-c56d45e51de8 time="2026-09-17T09:45:40Z" msg="Mailbox created" /user remoteMailboxID=7 userID=43cbe27f-4838-4e9e-a66b-c56d45e51de8 time="2026-09-17T09:45:40Z" msg="Synced labels" time="2026-09-17T09:45:40Z" msg="200 OK: POST https://127.0.0.1:39981/auth/v4/info" /manager time="2026-09-17T09:45:40Z" msg="200 OK: GET https://127.0.0.1:39981/mail/v4/messages/count" /client userID=e64adf43-6f34-45b2-8d66-0d2679b98b4c time="2026-09-17T09:45:40Z" msg="Syncing messages" time="2026-09-17T09:45:40Z" msg="Job started" time="2026-09-17T09:45:40Z" msg="200 OK: POST https://127.0.0.1:39981/mail/v4/messages" /client userID=e64adf43-6f34-45b2-8d66-0d2679b98b4c time="2026-09-17T09:45:40Z" msg="Job finished" time="2026-09-17T09:45:40Z" msg="All child jobs completed" sync- time="2026-09-17T09:45:40Z" msg="Synced messages" time="2026-09-17T09:45:40Z" msg="Finished user sync" .145759ms time="2026-09-17T09:45:40Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:45:40Z" msg="Event loop reset" eventID="Ag==" time="2026-09-17T09:45:40Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 4} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:45:40Z" msg="200 OK: POST https://127.0.0.1:39981/auth/v4" /manager time="2026-09-17T09:45:40Z" msg="Logging in authorized user" /user userID=1b2bedb1-1d5f-4bb6-a367-a3d5816ae86c time="2026-09-17T09:45:40Z" msg="Adding vault user" userID=1b2bedb1-1d5f-4bb6-a367-a3d5816ae86c time="2026-09-17T09:45:40Z" msg="Creating new user" userID=1b2bedb1-1d5f-4bb6-a367-a3d5816ae86c time="2026-09-17T09:45:40Z" msg="404 GET https://127.0.0.1:39981/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:45:40Z" msg="404 GET https://127.0.0.1:39981/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:45:40Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:39981/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:45:40Z" msg="Creating user object" authUID=98abd744-03e2-4d93-a875-2bd910f51ade numA numL userID=1b2bedb1-1d5f-4bb6-a367-a3d5816ae86c time="2026-09-17T09:45:40Z" msg="200 OK: GET https://127.0.0.1:39981/core/v4/events/latest" /client userID=1b2bedb1-1d5f-4bb6-a367-a3d5816ae86c time="2026-09-17T09:45:40Z" msg="Starting service Last EventID=AQ==" time="2026-09-17T09:45:40Z" msg="200 OK: GET https://127.0.0.1:39981/core/v4/settings" /client userID=1b2bedb1-1d5f-4bb6-a367-a3d5816ae86c time="2026-09-17T09:45:40Z" msg="Registering user client, ID:1b2bedb1-1d5f-4bb6-a367-a3d5816ae86c" time="2026-09-17T09:45:40Z" msg="Starting service main loop" time="2026-09-17T09:45:40Z" msg="Starting user identity service" numA time="2026-09-17T09:45:40Z" msg="Starting service main loop" time="2026-09-17T09:45:40Z" msg="Starting service main loop" time="2026-09-17T09:45:40Z" msg="200 OK: GET https://127.0.0.1:39981/core/v4/labels?T" /client userID=1b2bedb1-1d5f-4bb6-a367-a3d5816ae86c time="2026-09-17T09:45:40Z" msg="200 OK: GET https://127.0.0.1:39981/core/v4/labels?T" /client userID=1b2bedb1-1d5f-4bb6-a367-a3d5816ae86c time="2026-09-17T09:45:40Z" msg="200 OK: GET https://127.0.0.1:39981/core/v4/labels?T" /client userID=1b2bedb1-1d5f-4bb6-a367-a3d5816ae86c time="2026-09-17T09:45:40Z" msg="Setting labels" labelIDs="[0 1 2 4 6 9 3 5 7 8 10 12]" time="2026-09-17T09:45:40Z" msg="Adding user to imap server" addrID=f55337fe-b93d-4bed-aa67-e6f5729aea0b time="2026-09-17T09:45:40Z" msg="Creating new IMAP user" addrID=f55337fe-b93d-4bed-aa67-e6f5729aea0b time="2026-09-17T09:45:41Z" msg="Setting gluon ID" addrID=f55337fe-b93d-4bed-aa67-e6f5729aea0b gluonID=2b80974f-01aa-4af1-84b4-805b0594db0b userID=1b2bedb1-1d5f-4bb6-a367-a3d5816ae86c time="2026-09-17T09:45:41Z" msg="Received mailbox message count" gluonID=2b80974f-01aa-4af1-84b4-805b0594db0b labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:45:41Z" msg="Created new IMAP user" addrID=f55337fe-b93d-4bed-aa67-e6f5729aea0b gluonID=2b80974f-01aa-4af1-84b4-805b0594db0b time="2026-09-17T09:45:41Z" msg="Validating Listener State" time="2026-09-17T09:45:41Z" time="2026-09-17T09:45:41Z" msg="Starting IMAP Service" time="2026-09-17T09:45:41Z" msg="Checking whether logged in user should re-sync. UserID:1b2bedb1-1d5f-4bb6-a367-a3d5816ae86c" userID=1b2bedb1-1d5f-4bb6-a367-a3d5816ae86c time="2026-09-17T09:45:41Z" msg="Sync triggered" time="2026-09-17T09:45:41Z" msg="Beginning user sync" start="2026-09-17 09:45:41.002103618 +0000 UTC m=+29.494405954" Scenario: IMAP client can authenticate successfully using IMAP AUTHENTICATE # features/imap/auth.feature:16 When user "899859d9-e6d4-4fc5-a5dc-a5caef813085" connects IMAP client "1" # :1 -> *scenario time="2026-09-17T09:45:41Z" msg="Frontend service stopped" time="2026-09-17T09:45:41Z" msg="Frontend client stopped" time="2026-09-17T09:45:41Z" msg="Closing bridge" time="2026-09-17T09:45:41Z" msg="Stopping service" time="2026-09-17T09:45:41Z" msg="Closing user" userID=e64adf43-6f34-45b2-8d66-0d2679b98b4c time="2026-09-17T09:45:41Z" msg="De-registering user client, ID:e64adf43-6f34-45b2-8d66-0d2679b98b4c" time="2026-09-17T09:45:41Z" msg="Exiting IMAP Service" time="2026-09-17T09:45:41Z" msg="Exiting service main loop" time="2026-09-17T09:45:41Z" msg="Syncing labels" time="2026-09-17T09:45:41Z" msg="Exiting service main loop" time="2026-09-17T09:45:41Z" msg="Exiting Service" time="2026-09-17T09:45:41Z" msg="Exiting service main loop" time="2026-09-17T09:45:41Z" msg="Exiting service" time="2026-09-17T09:45:41Z" msg="Closing user" userID=1b2bedb1-1d5f-4bb6-a367-a3d5816ae86c time="2026-09-17T09:45:41Z" msg="De-registering user client, ID:1b2bedb1-1d5f-4bb6-a367-a3d5816ae86c" time="2026-09-17T09:45:41Z" msg="Failed to sync, will retry later" error="failed to sync labels: context canceled" time="2026-09-17T09:45:41Z" msg="Sync aborted" error="context canceled" time="2026-09-17T09:45:41Z" msg="Finished user sync" .646772ms time="2026-09-17T09:45:41Z" msg="Exiting IMAP Service" time="2026-09-17T09:45:41Z" msg="Exiting service main loop" time="2026-09-17T09:45:41Z" msg="Exiting service main loop" time="2026-09-17T09:45:41Z" msg="Exiting Service" time="2026-09-17T09:45:41Z" msg="Exiting service main loop" time="2026-09-17T09:45:41Z" msg="Exiting service" time="2026-09-17T09:45:41Z" msg="Closing IMAP Listener" time="2026-09-17T09:45:41Z" msg="Closing IMAP server" time="2026-09-17T09:45:41Z" msg="Closing SMTP Listener" time="2026-09-17T09:45:41Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:45:41Z" msg="Closing SMTP server" time="2026-09-17T09:45:41Z" msg="Closing service" Then IMAP client "1" can authenticate using IMAP AUTHENTICATE # :1 -> *scenario time="2026-09-17T09:45:41Z" msg="User '90c2b469-defc-4fe7-9343-d7ad52fd376a' created with " /server/backend time="2026-09-17T09:45:41Z" msg="User 'c8e0ec60-5eca-4c26-b988-bdf2ab77a9ec' created with " /server/backend time="2026-09-17T09:45:42Z" msg="Starting bridge" time="2026-09-17T09:45:42Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/018/config424297294/grpcFocusServerConfig.json /service time="2026-09-17T09:45:42Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/018/cache3970035431/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:45:42Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/018/cache3970035431/notifications/notification_cache: no such file or directory" time="2026-09-17T09:45:42Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/018/data1981809078/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/018/data1981809078/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:45:42Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:45:42Z" msg="Starting IMAP server" time="2026-09-17T09:45:42Z" msg="Starting SMTP server" time="2026-09-17T09:45:42Z" msg="Starting service" time="2026-09-17T09:45:42Z" msg="Starting service" time="2026-09-17T09:45:42Z" msg="Starting poll service" time="2026-09-17T09:45:42Z" msg="Checking for updates" time="2026-09-17T09:45:42Z" msg="Starting receiver service" time="2026-09-17T09:45:42Z" msg="Loading users" /user time="2026-09-17T09:45:42Z" msg="Starting frontend service" time="2026-09-17T09:45:42Z" msg="Finished loading users" /user time="2026-09-17T09:45:42Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/018/config424297294/grpcServerConfig.json time="2026-09-17T09:45:42Z" msg="gRPC server listening on /tmp/bridge6536" time="2026-09-17T09:45:42Z" msg="Frontend service started" time="2026-09-17T09:45:42Z" msg="Starting frontend client" time="2026-09-17T09:45:42Z" msg="Not monitoring parent PID" time="2026-09-17T09:45:42Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:45:42Z" msg="Frontend client started" time="2026-09-17T09:45:42Z" msg="Performing full user login" /user username="******** (7a7fb88c)" time="2026-09-17T09:45:42Z" msg="Authorizing user for login" /user username="******** (7a7fb88c)" time="2026-09-17T09:45:42Z" msg="200 OK: GET https://127.0.0.1:40533/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:45:42Z" msg="200 OK: POST https://127.0.0.1:40533/auth/v4/info" /manager time="2026-09-17T09:45:43Z" msg="200 OK: POST https://127.0.0.1:40533/auth/v4" /manager time="2026-09-17T09:45:43Z" msg="Logging in authorized user" /user userID=a7b69fdb-c5b3-4617-9c58-fc6b67c92fd7 time="2026-09-17T09:45:43Z" msg="Adding vault user" userID=a7b69fdb-c5b3-4617-9c58-fc6b67c92fd7 time="2026-09-17T09:45:43Z" msg="Creating new user" userID=a7b69fdb-c5b3-4617-9c58-fc6b67c92fd7 time="2026-09-17T09:45:43Z" msg="404 GET https://127.0.0.1:40533/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:45:43Z" msg="404 GET https://127.0.0.1:40533/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:45:43Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:40533/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:45:43Z" msg="Creating user object" authUID=b1dc193a-144c-4d17-82ad-fa541779c2d4 numA numL userID=a7b69fdb-c5b3-4617-9c58-fc6b67c92fd7 time="2026-09-17T09:45:43Z" msg="200 OK: GET https://127.0.0.1:40533/core/v4/events/latest" /client userID=a7b69fdb-c5b3-4617-9c58-fc6b67c92fd7 time="2026-09-17T09:45:43Z" msg="Starting service Last EventID=Ag==" time="2026-09-17T09:45:43Z" msg="200 OK: GET https://127.0.0.1:40533/core/v4/settings" /client userID=a7b69fdb-c5b3-4617-9c58-fc6b67c92fd7 time="2026-09-17T09:45:43Z" msg="Registering user client, ID:a7b69fdb-c5b3-4617-9c58-fc6b67c92fd7" time="2026-09-17T09:45:43Z" msg="Starting service main loop" time="2026-09-17T09:45:43Z" msg="Starting user identity service" numA time="2026-09-17T09:45:43Z" msg="Starting service main loop" time="2026-09-17T09:45:43Z" msg="Starting service main loop" time="2026-09-17T09:45:43Z" msg="200 OK: GET https://127.0.0.1:40533/core/v4/labels?T" /client userID=a7b69fdb-c5b3-4617-9c58-fc6b67c92fd7 time="2026-09-17T09:45:43Z" msg="200 OK: GET https://127.0.0.1:40533/core/v4/labels?T" /client userID=a7b69fdb-c5b3-4617-9c58-fc6b67c92fd7 time="2026-09-17T09:45:43Z" msg="200 OK: GET https://127.0.0.1:40533/core/v4/labels?T" /client userID=a7b69fdb-c5b3-4617-9c58-fc6b67c92fd7 time="2026-09-17T09:45:43Z" msg="Setting labels" labelIDs="[8 9 4 6 10 12 0 1 2 3 5 7]" time="2026-09-17T09:45:43Z" msg="Adding user to imap server" addrID=bbf385e8-c739-4abe-bc7b-b0ff0676e5a7 time="2026-09-17T09:45:43Z" msg="Creating new IMAP user" addrID=bbf385e8-c739-4abe-bc7b-b0ff0676e5a7 time="2026-09-17T09:45:43Z" msg="Setting gluon ID" addrID=bbf385e8-c739-4abe-bc7b-b0ff0676e5a7 gluonID=70c8d125-57c2-44a4-8d88-4dfa745b6e52 userID=a7b69fdb-c5b3-4617-9c58-fc6b67c92fd7 time="2026-09-17T09:45:43Z" msg="Received mailbox message count" gluonID=70c8d125-57c2-44a4-8d88-4dfa745b6e52 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:45:43Z" msg="Created new IMAP user" addrID=bbf385e8-c739-4abe-bc7b-b0ff0676e5a7 gluonID=70c8d125-57c2-44a4-8d88-4dfa745b6e52 time="2026-09-17T09:45:43Z" msg="Validating Listener State" time="2026-09-17T09:45:43Z" time="2026-09-17T09:45:43Z" msg="Starting IMAP Service" time="2026-09-17T09:45:43Z" msg="Checking whether logged in user should re-sync. UserID:a7b69fdb-c5b3-4617-9c58-fc6b67c92fd7" userID=a7b69fdb-c5b3-4617-9c58-fc6b67c92fd7 time="2026-09-17T09:45:43Z" msg="Sync triggered" time="2026-09-17T09:45:43Z" msg="Beginning user sync" start="2026-09-17 09:45:43.167088919 +0000 UTC m=+31.659391215" time="2026-09-17T09:45:43Z" msg="Performing full user login" /user username="******** (cc8bd798)" time="2026-09-17T09:45:43Z" msg="Authorizing user for login" /user username="******** (cc8bd798)" time="2026-09-17T09:45:43Z" msg="Syncing labels" time="2026-09-17T09:45:43Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=70c8d125-57c2-44a4-8d88-4dfa745b6e52 time="2026-09-17T09:45:43Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=70c8d125-57c2-44a4-8d88-4dfa745b6e52 time="2026-09-17T09:45:43Z" msg="Mailbox created" /user remoteMailboxID=4 userID=70c8d125-57c2-44a4-8d88-4dfa745b6e52 time="2026-09-17T09:45:43Z" msg="Mailbox created" /user remoteMailboxID=6 userID=70c8d125-57c2-44a4-8d88-4dfa745b6e52 time="2026-09-17T09:45:43Z" msg="Mailbox created" /user remoteMailboxID=10 userID=70c8d125-57c2-44a4-8d88-4dfa745b6e52 time="2026-09-17T09:45:43Z" msg="Mailbox created" /user remoteMailboxID=0 userID=70c8d125-57c2-44a4-8d88-4dfa745b6e52 time="2026-09-17T09:45:43Z" msg="Mailbox created" /user remoteMailboxID=3 userID=70c8d125-57c2-44a4-8d88-4dfa745b6e52 time="2026-09-17T09:45:43Z" msg="Mailbox created" /user remoteMailboxID=8 userID=70c8d125-57c2-44a4-8d88-4dfa745b6e52 time="2026-09-17T09:45:43Z" msg="Mailbox created" /user remoteMailboxID=12 userID=70c8d125-57c2-44a4-8d88-4dfa745b6e52 time="2026-09-17T09:45:43Z" msg="Mailbox created" /user remoteMailboxID=5 userID=70c8d125-57c2-44a4-8d88-4dfa745b6e52 time="2026-09-17T09:45:43Z" msg="Mailbox created" /user remoteMailboxID=7 userID=70c8d125-57c2-44a4-8d88-4dfa745b6e52 time="2026-09-17T09:45:43Z" msg="Synced labels" time="2026-09-17T09:45:43Z" msg="200 OK: POST https://127.0.0.1:40533/auth/v4/info" /manager time="2026-09-17T09:45:43Z" msg="200 OK: GET https://127.0.0.1:40533/mail/v4/messages/count" /client userID=a7b69fdb-c5b3-4617-9c58-fc6b67c92fd7 time="2026-09-17T09:45:43Z" msg="Syncing messages" time="2026-09-17T09:45:43Z" msg="Job started" time="2026-09-17T09:45:43Z" msg="200 OK: POST https://127.0.0.1:40533/mail/v4/messages" /client userID=a7b69fdb-c5b3-4617-9c58-fc6b67c92fd7 time="2026-09-17T09:45:43Z" msg="Job finished" time="2026-09-17T09:45:43Z" msg="All child jobs completed" sync- time="2026-09-17T09:45:43Z" msg="Synced messages" time="2026-09-17T09:45:43Z" msg="Finished user sync" .273963ms time="2026-09-17T09:45:43Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:45:43Z" msg="Event loop reset" eventID="Ag==" time="2026-09-17T09:45:43Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 4} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:45:43Z" msg="200 OK: POST https://127.0.0.1:40533/auth/v4" /manager time="2026-09-17T09:45:43Z" msg="Logging in authorized user" /user userID=4ad95025-826a-4622-9454-175eba5c50ac time="2026-09-17T09:45:43Z" msg="Adding vault user" userID=4ad95025-826a-4622-9454-175eba5c50ac time="2026-09-17T09:45:43Z" msg="Creating new user" userID=4ad95025-826a-4622-9454-175eba5c50ac time="2026-09-17T09:45:43Z" msg="404 GET https://127.0.0.1:40533/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:45:43Z" msg="404 GET https://127.0.0.1:40533/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:45:43Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:40533/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:45:43Z" msg="Creating user object" authUID=97c9b167-8ef8-40f3-84b0-da5f206689fa numA numL userID=4ad95025-826a-4622-9454-175eba5c50ac time="2026-09-17T09:45:43Z" msg="200 OK: GET https://127.0.0.1:40533/core/v4/events/latest" /client userID=4ad95025-826a-4622-9454-175eba5c50ac time="2026-09-17T09:45:43Z" msg="Starting service Last EventID=AQ==" time="2026-09-17T09:45:43Z" msg="200 OK: GET https://127.0.0.1:40533/core/v4/settings" /client userID=4ad95025-826a-4622-9454-175eba5c50ac time="2026-09-17T09:45:43Z" msg="Registering user client, ID:4ad95025-826a-4622-9454-175eba5c50ac" time="2026-09-17T09:45:43Z" msg="Starting service main loop" time="2026-09-17T09:45:43Z" msg="Starting user identity service" numA time="2026-09-17T09:45:43Z" msg="Starting service main loop" time="2026-09-17T09:45:43Z" msg="Starting service main loop" time="2026-09-17T09:45:43Z" msg="200 OK: GET https://127.0.0.1:40533/core/v4/labels?T" /client userID=4ad95025-826a-4622-9454-175eba5c50ac time="2026-09-17T09:45:43Z" msg="200 OK: GET https://127.0.0.1:40533/core/v4/labels?T" /client userID=4ad95025-826a-4622-9454-175eba5c50ac time="2026-09-17T09:45:43Z" msg="200 OK: GET https://127.0.0.1:40533/core/v4/labels?T" /client userID=4ad95025-826a-4622-9454-175eba5c50ac time="2026-09-17T09:45:43Z" msg="Setting labels" labelIDs="[12 0 1 3 4 5 6 9 10 2 7 8]" time="2026-09-17T09:45:43Z" msg="Adding user to imap server" addrID=a0b8d527-dd67-447f-968a-a8af19d94a2c time="2026-09-17T09:45:43Z" msg="Creating new IMAP user" addrID=a0b8d527-dd67-447f-968a-a8af19d94a2c time="2026-09-17T09:45:43Z" msg="Setting gluon ID" addrID=a0b8d527-dd67-447f-968a-a8af19d94a2c gluonID=1adcb737-ac73-4934-8551-85d92bea6714 userID=4ad95025-826a-4622-9454-175eba5c50ac time="2026-09-17T09:45:43Z" msg="Received mailbox message count" gluonID=1adcb737-ac73-4934-8551-85d92bea6714 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:45:43Z" msg="Created new IMAP user" addrID=a0b8d527-dd67-447f-968a-a8af19d94a2c gluonID=1adcb737-ac73-4934-8551-85d92bea6714 time="2026-09-17T09:45:43Z" msg="Validating Listener State" time="2026-09-17T09:45:43Z" time="2026-09-17T09:45:43Z" msg="Starting IMAP Service" time="2026-09-17T09:45:43Z" msg="Checking whether logged in user should re-sync. UserID:4ad95025-826a-4622-9454-175eba5c50ac" userID=4ad95025-826a-4622-9454-175eba5c50ac time="2026-09-17T09:45:43Z" msg="Sync triggered" time="2026-09-17T09:45:43Z" msg="Beginning user sync" start="2026-09-17 09:45:43.60392478 +0000 UTC m=+32.096227076" time="2026-09-17T09:45:43Z" msg="Syncing labels" time="2026-09-17T09:45:43Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=1adcb737-ac73-4934-8551-85d92bea6714 Scenario: IMAP client can authenticate successfully with different case # features/imap/auth.feature:20 When user "90c2b469-defc-4fe7-9343-d7ad52fd376a" connects IMAP client "1" # :1 -> *scenario time="2026-09-17T09:45:43Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=1adcb737-ac73-4934-8551-85d92bea6714 time="2026-09-17T09:45:43Z" msg="Mailbox created" /user remoteMailboxID=10 userID=1adcb737-ac73-4934-8551-85d92bea6714 time="2026-09-17T09:45:43Z" msg="Mailbox created" /user remoteMailboxID=7 userID=1adcb737-ac73-4934-8551-85d92bea6714 time="2026-09-17T09:45:43Z" msg="Frontend service stopped" time="2026-09-17T09:45:43Z" msg="Frontend client stopped" time="2026-09-17T09:45:43Z" msg="Closing bridge" time="2026-09-17T09:45:43Z" msg="Stopping service" time="2026-09-17T09:45:43Z" msg="Closing user" userID=a7b69fdb-c5b3-4617-9c58-fc6b67c92fd7 time="2026-09-17T09:45:43Z" msg="De-registering user client, ID:a7b69fdb-c5b3-4617-9c58-fc6b67c92fd7" time="2026-09-17T09:45:43Z" msg="Exiting IMAP Service" time="2026-09-17T09:45:43Z" msg="Exiting service main loop" time="2026-09-17T09:45:43Z" msg="Mailbox created" /user remoteMailboxID=8 userID=1adcb737-ac73-4934-8551-85d92bea6714 time="2026-09-17T09:45:43Z" msg="Exiting service main loop" time="2026-09-17T09:45:43Z" msg="Exiting Service" time="2026-09-17T09:45:43Z" msg="Exiting service main loop" time="2026-09-17T09:45:43Z" msg="Exiting service" time="2026-09-17T09:45:43Z" msg="Closing user" userID=4ad95025-826a-4622-9454-175eba5c50ac time="2026-09-17T09:45:43Z" msg="De-registering user client, ID:4ad95025-826a-4622-9454-175eba5c50ac" time="2026-09-17T09:45:43Z" msg="Synced labels" time="2026-09-17T09:45:43Z" msg="Get \"https://127.0.0.1:40533/mail/v4/messages/count\": context canceled, Attempt 1" /client time="2026-09-17T09:45:43Z" msg="Get \"https://127.0.0.1:40533/mail/v4/messages/count\": context canceled" /client time="2026-09-17T09:45:43Z" msg="Failed to sync, will retry later" error="failed to retrieve message ids: received no response from API: Get \"https://127.0.0.1:40533/mail/v4/messages/count\": context canceled" time="2026-09-17T09:45:43Z" msg="Sync aborted" error="context canceled" time="2026-09-17T09:45:43Z" msg="Finished user sync" .809696ms time="2026-09-17T09:45:43Z" msg="Exiting IMAP Service" time="2026-09-17T09:45:43Z" msg="Exiting service main loop" time="2026-09-17T09:45:43Z" msg="Exiting service main loop" time="2026-09-17T09:45:43Z" msg="Exiting Service" time="2026-09-17T09:45:43Z" msg="Mailbox created" /user remoteMailboxID=12 userID=1adcb737-ac73-4934-8551-85d92bea6714 time="2026-09-17T09:45:43Z" msg="Exiting service main loop" time="2026-09-17T09:45:43Z" msg="Exiting service" time="2026-09-17T09:45:43Z" msg="Closing IMAP Listener" time="2026-09-17T09:45:43Z" msg="Closing IMAP server" time="2026-09-17T09:45:43Z" msg="Mailbox created" /user remoteMailboxID=3 userID=1adcb737-ac73-4934-8551-85d92bea6714 time="2026-09-17T09:45:43Z" msg="Closing SMTP Listener" time="2026-09-17T09:45:43Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:45:43Z" msg="Closing SMTP server" time="2026-09-17T09:45:43Z" msg="Closing service" Then IMAP client "1" can authenticate with address "90C2B469-DEFC-4FE7-9343-D7AD52FD376A@PROTON.LOCAL" # :1 -> *scenario time="2026-09-17T09:45:43Z" msg="User '558855e3-3ad2-48a7-b478-eb2606f8c786' created with " /server/backend time="2026-09-17T09:45:44Z" msg="User '9070916d-0314-41e3-83ab-688ff3ad962e' created with " /server/backend time="2026-09-17T09:45:45Z" msg="Starting bridge" time="2026-09-17T09:45:45Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/019/config1654623043/grpcFocusServerConfig.json /service time="2026-09-17T09:45:45Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/019/cache2337092622/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:45:45Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/019/cache2337092622/notifications/notification_cache: no such file or directory" time="2026-09-17T09:45:45Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/019/data623618485/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/019/data623618485/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:45:45Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:45:45Z" msg="Starting IMAP server" time="2026-09-17T09:45:45Z" msg="Starting SMTP server" time="2026-09-17T09:45:45Z" msg="Starting service" time="2026-09-17T09:45:45Z" msg="Starting service" time="2026-09-17T09:45:45Z" msg="Starting frontend service" time="2026-09-17T09:45:45Z" msg="Starting receiver service" time="2026-09-17T09:45:45Z" msg="Checking for updates" time="2026-09-17T09:45:45Z" msg="Starting poll service" time="2026-09-17T09:45:45Z" msg="Loading users" /user time="2026-09-17T09:45:45Z" msg="Finished loading users" /user time="2026-09-17T09:45:45Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/019/config1654623043/grpcServerConfig.json time="2026-09-17T09:45:45Z" msg="gRPC server listening on /tmp/bridge7666" time="2026-09-17T09:45:45Z" msg="Frontend service started" time="2026-09-17T09:45:45Z" msg="Starting frontend client" time="2026-09-17T09:45:45Z" msg="Not monitoring parent PID" time="2026-09-17T09:45:45Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:45:45Z" msg="200 OK: GET https://127.0.0.1:36175/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:45:45Z" msg="Frontend client started" time="2026-09-17T09:45:45Z" msg="Performing full user login" /user username="******** (0e05b96a)" time="2026-09-17T09:45:45Z" msg="Authorizing user for login" /user username="******** (0e05b96a)" time="2026-09-17T09:45:45Z" msg="200 OK: POST https://127.0.0.1:36175/auth/v4/info" /manager time="2026-09-17T09:45:45Z" msg="200 OK: POST https://127.0.0.1:36175/auth/v4" /manager time="2026-09-17T09:45:45Z" msg="Logging in authorized user" /user userID=c6c2847a-a43a-4f18-9084-b2d7eb5bdf64 time="2026-09-17T09:45:45Z" msg="Adding vault user" userID=c6c2847a-a43a-4f18-9084-b2d7eb5bdf64 time="2026-09-17T09:45:45Z" msg="Creating new user" userID=c6c2847a-a43a-4f18-9084-b2d7eb5bdf64 time="2026-09-17T09:45:45Z" msg="404 GET https://127.0.0.1:36175/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:45:45Z" msg="404 GET https://127.0.0.1:36175/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:45:45Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:36175/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:45:45Z" msg="Creating user object" authUID=7b40b95c-a248-4966-a6dc-aab69589f517 numA numL userID=c6c2847a-a43a-4f18-9084-b2d7eb5bdf64 time="2026-09-17T09:45:45Z" msg="200 OK: GET https://127.0.0.1:36175/core/v4/events/latest" /client userID=c6c2847a-a43a-4f18-9084-b2d7eb5bdf64 time="2026-09-17T09:45:45Z" msg="Starting service Last EventID=Ag==" time="2026-09-17T09:45:45Z" msg="200 OK: GET https://127.0.0.1:36175/core/v4/settings" /client userID=c6c2847a-a43a-4f18-9084-b2d7eb5bdf64 time="2026-09-17T09:45:45Z" msg="Registering user client, ID:c6c2847a-a43a-4f18-9084-b2d7eb5bdf64" time="2026-09-17T09:45:45Z" msg="Starting user identity service" numA time="2026-09-17T09:45:45Z" msg="Starting service main loop" time="2026-09-17T09:45:45Z" msg="Starting service main loop" time="2026-09-17T09:45:45Z" msg="Starting service main loop" time="2026-09-17T09:45:45Z" msg="200 OK: GET https://127.0.0.1:36175/core/v4/labels?T" /client userID=c6c2847a-a43a-4f18-9084-b2d7eb5bdf64 time="2026-09-17T09:45:45Z" msg="200 OK: GET https://127.0.0.1:36175/core/v4/labels?T" /client userID=c6c2847a-a43a-4f18-9084-b2d7eb5bdf64 time="2026-09-17T09:45:45Z" msg="200 OK: GET https://127.0.0.1:36175/core/v4/labels?T" /client userID=c6c2847a-a43a-4f18-9084-b2d7eb5bdf64 time="2026-09-17T09:45:45Z" msg="Setting labels" labelIDs="[3 5 7 8 9 1 4 6 10 12 0 2]" time="2026-09-17T09:45:45Z" msg="Adding user to imap server" addrID=b09c47e4-1948-4e3e-aa0c-ed428f9bc4c8 time="2026-09-17T09:45:45Z" msg="Creating new IMAP user" addrID=b09c47e4-1948-4e3e-aa0c-ed428f9bc4c8 time="2026-09-17T09:45:45Z" msg="Setting gluon ID" addrID=b09c47e4-1948-4e3e-aa0c-ed428f9bc4c8 gluonID=f5ad8f44-6beb-4550-a8a0-50a452883ff8 userID=c6c2847a-a43a-4f18-9084-b2d7eb5bdf64 time="2026-09-17T09:45:45Z" msg="Received mailbox message count" gluonID=f5ad8f44-6beb-4550-a8a0-50a452883ff8 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:45:45Z" msg="Created new IMAP user" addrID=b09c47e4-1948-4e3e-aa0c-ed428f9bc4c8 gluonID=f5ad8f44-6beb-4550-a8a0-50a452883ff8 time="2026-09-17T09:45:45Z" msg="Validating Listener State" time="2026-09-17T09:45:45Z" time="2026-09-17T09:45:45Z" msg="Starting IMAP Service" time="2026-09-17T09:45:45Z" msg="Checking whether logged in user should re-sync. UserID:c6c2847a-a43a-4f18-9084-b2d7eb5bdf64" userID=c6c2847a-a43a-4f18-9084-b2d7eb5bdf64 time="2026-09-17T09:45:45Z" msg="Performing full user login" /user username="******** (19e7f7bf)" time="2026-09-17T09:45:45Z" msg="Authorizing user for login" /user username="******** (19e7f7bf)" time="2026-09-17T09:45:45Z" msg="Sync triggered" time="2026-09-17T09:45:45Z" msg="Beginning user sync" start="2026-09-17 09:45:45.76612631 +0000 UTC m=+34.258428646" time="2026-09-17T09:45:45Z" msg="Syncing labels" time="2026-09-17T09:45:45Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=f5ad8f44-6beb-4550-a8a0-50a452883ff8 time="2026-09-17T09:45:45Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=f5ad8f44-6beb-4550-a8a0-50a452883ff8 time="2026-09-17T09:45:45Z" msg="Mailbox created" /user remoteMailboxID=5 userID=f5ad8f44-6beb-4550-a8a0-50a452883ff8 time="2026-09-17T09:45:45Z" msg="Mailbox created" /user remoteMailboxID=4 userID=f5ad8f44-6beb-4550-a8a0-50a452883ff8 time="2026-09-17T09:45:45Z" msg="Mailbox created" /user remoteMailboxID=10 userID=f5ad8f44-6beb-4550-a8a0-50a452883ff8 time="2026-09-17T09:45:45Z" msg="Mailbox created" /user remoteMailboxID=0 userID=f5ad8f44-6beb-4550-a8a0-50a452883ff8 time="2026-09-17T09:45:45Z" msg="Mailbox created" /user remoteMailboxID=3 userID=f5ad8f44-6beb-4550-a8a0-50a452883ff8 time="2026-09-17T09:45:45Z" msg="Mailbox created" /user remoteMailboxID=7 userID=f5ad8f44-6beb-4550-a8a0-50a452883ff8 time="2026-09-17T09:45:45Z" msg="Mailbox created" /user remoteMailboxID=8 userID=f5ad8f44-6beb-4550-a8a0-50a452883ff8 time="2026-09-17T09:45:45Z" msg="Mailbox created" /user remoteMailboxID=6 userID=f5ad8f44-6beb-4550-a8a0-50a452883ff8 time="2026-09-17T09:45:45Z" msg="Mailbox created" /user remoteMailboxID=12 userID=f5ad8f44-6beb-4550-a8a0-50a452883ff8 time="2026-09-17T09:45:45Z" msg="Synced labels" time="2026-09-17T09:45:45Z" msg="200 OK: POST https://127.0.0.1:36175/auth/v4/info" /manager time="2026-09-17T09:45:45Z" msg="200 OK: GET https://127.0.0.1:36175/mail/v4/messages/count" /client userID=c6c2847a-a43a-4f18-9084-b2d7eb5bdf64 time="2026-09-17T09:45:45Z" msg="Syncing messages" time="2026-09-17T09:45:45Z" msg="Job started" time="2026-09-17T09:45:45Z" msg="200 OK: POST https://127.0.0.1:36175/mail/v4/messages" /client userID=c6c2847a-a43a-4f18-9084-b2d7eb5bdf64 time="2026-09-17T09:45:45Z" msg="Job finished" time="2026-09-17T09:45:45Z" msg="All child jobs completed" sync- time="2026-09-17T09:45:45Z" msg="Synced messages" time="2026-09-17T09:45:45Z" msg="Finished user sync" .972838ms time="2026-09-17T09:45:45Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:45:45Z" msg="Event loop reset" eventID="Ag==" time="2026-09-17T09:45:45Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 5} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:45:46Z" msg="200 OK: POST https://127.0.0.1:36175/auth/v4" /manager time="2026-09-17T09:45:46Z" msg="Logging in authorized user" /user userID=c0b61d2b-6ba3-46f6-8141-9ed9d627b347 time="2026-09-17T09:45:46Z" msg="Adding vault user" userID=c0b61d2b-6ba3-46f6-8141-9ed9d627b347 time="2026-09-17T09:45:46Z" msg="Creating new user" userID=c0b61d2b-6ba3-46f6-8141-9ed9d627b347 time="2026-09-17T09:45:46Z" msg="404 GET https://127.0.0.1:36175/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:45:46Z" msg="404 GET https://127.0.0.1:36175/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:45:46Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:36175/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:45:46Z" msg="Creating user object" authUID=984f9052-d477-47d4-b837-cc6572864b3b numA numL userID=c0b61d2b-6ba3-46f6-8141-9ed9d627b347 time="2026-09-17T09:45:46Z" msg="200 OK: GET https://127.0.0.1:36175/core/v4/events/latest" /client userID=c0b61d2b-6ba3-46f6-8141-9ed9d627b347 time="2026-09-17T09:45:46Z" msg="Starting service Last EventID=AQ==" time="2026-09-17T09:45:46Z" msg="200 OK: GET https://127.0.0.1:36175/core/v4/settings" /client userID=c0b61d2b-6ba3-46f6-8141-9ed9d627b347 time="2026-09-17T09:45:46Z" msg="Registering user client, ID:c0b61d2b-6ba3-46f6-8141-9ed9d627b347" time="2026-09-17T09:45:46Z" msg="Starting service main loop" time="2026-09-17T09:45:46Z" msg="Starting service main loop" time="2026-09-17T09:45:46Z" msg="Starting user identity service" numA time="2026-09-17T09:45:46Z" msg="Starting service main loop" time="2026-09-17T09:45:46Z" msg="200 OK: GET https://127.0.0.1:36175/core/v4/labels?T" /client userID=c0b61d2b-6ba3-46f6-8141-9ed9d627b347 time="2026-09-17T09:45:46Z" msg="200 OK: GET https://127.0.0.1:36175/core/v4/labels?T" /client userID=c0b61d2b-6ba3-46f6-8141-9ed9d627b347 time="2026-09-17T09:45:46Z" msg="200 OK: GET https://127.0.0.1:36175/core/v4/labels?T" /client userID=c0b61d2b-6ba3-46f6-8141-9ed9d627b347 time="2026-09-17T09:45:46Z" msg="Setting labels" labelIDs="[0 2 3 5 7 9 1 4 6 8 10 12]" time="2026-09-17T09:45:46Z" msg="Adding user to imap server" addrID=3eb8f5c2-2d2d-4cfa-bdeb-29c5bd468169 time="2026-09-17T09:45:46Z" msg="Creating new IMAP user" addrID=3eb8f5c2-2d2d-4cfa-bdeb-29c5bd468169 time="2026-09-17T09:45:46Z" msg="Setting gluon ID" addrID=3eb8f5c2-2d2d-4cfa-bdeb-29c5bd468169 gluonID=af5430eb-73d6-4068-9c04-aa3d72abeb4e userID=c0b61d2b-6ba3-46f6-8141-9ed9d627b347 time="2026-09-17T09:45:46Z" msg="Received mailbox message count" gluonID=af5430eb-73d6-4068-9c04-aa3d72abeb4e labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:45:46Z" msg="Created new IMAP user" addrID=3eb8f5c2-2d2d-4cfa-bdeb-29c5bd468169 gluonID=af5430eb-73d6-4068-9c04-aa3d72abeb4e time="2026-09-17T09:45:46Z" msg="Validating Listener State" time="2026-09-17T09:45:46Z" time="2026-09-17T09:45:46Z" msg="Starting IMAP Service" time="2026-09-17T09:45:46Z" msg="Checking whether logged in user should re-sync. UserID:c0b61d2b-6ba3-46f6-8141-9ed9d627b347" userID=c0b61d2b-6ba3-46f6-8141-9ed9d627b347 time="2026-09-17T09:45:46Z" msg="Sync triggered" time="2026-09-17T09:45:46Z" msg="Beginning user sync" start="2026-09-17 09:45:46.211235767 +0000 UTC m=+34.703538103" Scenario: IMAP client can authenticate successfully with different case using IMAP AUTHENTICATE # features/imap/auth.feature:24 When user "558855e3-3ad2-48a7-b478-eb2606f8c786" connects IMAP client "1" # :1 -> *scenario time="2026-09-17T09:45:46Z" msg="Syncing labels" time="2026-09-17T09:45:46Z" msg="Frontend service stopped" time="2026-09-17T09:45:46Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=af5430eb-73d6-4068-9c04-aa3d72abeb4e time="2026-09-17T09:45:46Z" msg="Frontend client stopped" time="2026-09-17T09:45:46Z" msg="Closing bridge" time="2026-09-17T09:45:46Z" msg="Stopping service" time="2026-09-17T09:45:46Z" msg="Closing user" userID=c6c2847a-a43a-4f18-9084-b2d7eb5bdf64 time="2026-09-17T09:45:46Z" msg="De-registering user client, ID:c6c2847a-a43a-4f18-9084-b2d7eb5bdf64" time="2026-09-17T09:45:46Z" msg="Exiting IMAP Service" time="2026-09-17T09:45:46Z" msg="Exiting service main loop" time="2026-09-17T09:45:46Z" msg="Exiting service main loop" time="2026-09-17T09:45:46Z" msg="Exiting Service" time="2026-09-17T09:45:46Z" msg="Exiting service main loop" time="2026-09-17T09:45:46Z" msg="Exiting service" time="2026-09-17T09:45:46Z" msg="Closing user" userID=c0b61d2b-6ba3-46f6-8141-9ed9d627b347 time="2026-09-17T09:45:46Z" msg="De-registering user client, ID:c0b61d2b-6ba3-46f6-8141-9ed9d627b347" time="2026-09-17T09:45:46Z" msg="Synced labels" time="2026-09-17T09:45:46Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=af5430eb-73d6-4068-9c04-aa3d72abeb4e time="2026-09-17T09:45:46Z" msg="Get \"https://127.0.0.1:36175/mail/v4/messages/count\": context canceled, Attempt 1" /client time="2026-09-17T09:45:46Z" msg="Get \"https://127.0.0.1:36175/mail/v4/messages/count\": context canceled" /client time="2026-09-17T09:45:46Z" msg="Failed to sync, will retry later" error="failed to retrieve message ids: received no response from API: Get \"https://127.0.0.1:36175/mail/v4/messages/count\": context canceled" time="2026-09-17T09:45:46Z" msg="Sync aborted" error="context canceled" time="2026-09-17T09:45:46Z" msg="Finished user sync" .212694ms time="2026-09-17T09:45:46Z" msg="Exiting IMAP Service" time="2026-09-17T09:45:46Z" msg="Exiting service main loop" time="2026-09-17T09:45:46Z" msg="Exiting service main loop" time="2026-09-17T09:45:46Z" msg="Exiting Service" time="2026-09-17T09:45:46Z" msg="Exiting service main loop" time="2026-09-17T09:45:46Z" msg="Exiting service" time="2026-09-17T09:45:46Z" msg="Closing IMAP Listener" time="2026-09-17T09:45:46Z" msg="Closing IMAP server" time="2026-09-17T09:45:46Z" msg="Mailbox created" /user remoteMailboxID=5 userID=af5430eb-73d6-4068-9c04-aa3d72abeb4e time="2026-09-17T09:45:46Z" msg="Mailbox created" /user remoteMailboxID=7 userID=af5430eb-73d6-4068-9c04-aa3d72abeb4e time="2026-09-17T09:45:46Z" msg="Closing SMTP Listener" time="2026-09-17T09:45:46Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:45:46Z" msg="Closing SMTP server" time="2026-09-17T09:45:46Z" msg="Closing service" Then IMAP client "1" can authenticate with address "558855E3-3AD2-48A7-B478-EB2606F8C786@PROTON.LOCAL" using IMAP AUTHENTICATE # :1 -> *scenario time="2026-09-17T09:45:46Z" msg="User '4a2d82d6-ad9b-4cbe-9cff-cbe8292fcab1' created with " /server/backend time="2026-09-17T09:45:47Z" msg="User '519189dc-b68e-4048-a22e-e1e5bedc6b1d' created with " /server/backend time="2026-09-17T09:45:47Z" msg="Starting bridge" time="2026-09-17T09:45:47Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/020/config226417207/grpcFocusServerConfig.json /service time="2026-09-17T09:45:47Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/020/cache4025543506/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:45:47Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/020/cache4025543506/notifications/notification_cache: no such file or directory" time="2026-09-17T09:45:47Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/020/data3885979473/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/020/data3885979473/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:45:47Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:45:47Z" msg="Starting IMAP server" time="2026-09-17T09:45:47Z" msg="Starting SMTP server" time="2026-09-17T09:45:47Z" msg="Starting service" time="2026-09-17T09:45:47Z" msg="Starting service" time="2026-09-17T09:45:47Z" msg="Starting poll service" time="2026-09-17T09:45:47Z" msg="Checking for updates" time="2026-09-17T09:45:47Z" msg="Loading users" /user time="2026-09-17T09:45:47Z" msg="Finished loading users" /user time="2026-09-17T09:45:47Z" msg="Starting frontend service" time="2026-09-17T09:45:47Z" msg="Starting receiver service" time="2026-09-17T09:45:47Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/020/config226417207/grpcServerConfig.json time="2026-09-17T09:45:47Z" msg="gRPC server listening on /tmp/bridge8677" time="2026-09-17T09:45:47Z" msg="Frontend service started" time="2026-09-17T09:45:47Z" msg="Starting frontend client" time="2026-09-17T09:45:47Z" msg="Not monitoring parent PID" time="2026-09-17T09:45:47Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:45:47Z" msg="Frontend client started" time="2026-09-17T09:45:47Z" msg="Performing full user login" /user username="******** (bd6ee642)" time="2026-09-17T09:45:47Z" msg="Authorizing user for login" /user username="******** (bd6ee642)" time="2026-09-17T09:45:47Z" msg="200 OK: GET https://127.0.0.1:37383/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:45:47Z" msg="200 OK: POST https://127.0.0.1:37383/auth/v4/info" /manager time="2026-09-17T09:45:48Z" msg="200 OK: POST https://127.0.0.1:37383/auth/v4" /manager time="2026-09-17T09:45:48Z" msg="Logging in authorized user" /user userID=115120b1-7ac1-4599-bfb9-de71806fb5eb time="2026-09-17T09:45:48Z" msg="Adding vault user" userID=115120b1-7ac1-4599-bfb9-de71806fb5eb time="2026-09-17T09:45:48Z" msg="Creating new user" userID=115120b1-7ac1-4599-bfb9-de71806fb5eb time="2026-09-17T09:45:48Z" msg="404 GET https://127.0.0.1:37383/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:45:48Z" msg="404 GET https://127.0.0.1:37383/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:45:48Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:37383/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:45:48Z" msg="Creating user object" authUID=328eabe6-32ba-43ea-9b08-547f2e7df3a0 numA numL userID=115120b1-7ac1-4599-bfb9-de71806fb5eb time="2026-09-17T09:45:48Z" msg="200 OK: GET https://127.0.0.1:37383/core/v4/events/latest" /client userID=115120b1-7ac1-4599-bfb9-de71806fb5eb time="2026-09-17T09:45:48Z" msg="Starting service Last EventID=Ag==" time="2026-09-17T09:45:48Z" msg="200 OK: GET https://127.0.0.1:37383/core/v4/settings" /client userID=115120b1-7ac1-4599-bfb9-de71806fb5eb time="2026-09-17T09:45:48Z" msg="Registering user client, ID:115120b1-7ac1-4599-bfb9-de71806fb5eb" time="2026-09-17T09:45:48Z" msg="Starting service main loop" time="2026-09-17T09:45:48Z" msg="Starting service main loop" time="2026-09-17T09:45:48Z" msg="Starting user identity service" numA time="2026-09-17T09:45:48Z" msg="Starting service main loop" time="2026-09-17T09:45:48Z" msg="200 OK: GET https://127.0.0.1:37383/core/v4/labels?T" /client userID=115120b1-7ac1-4599-bfb9-de71806fb5eb time="2026-09-17T09:45:48Z" msg="200 OK: GET https://127.0.0.1:37383/core/v4/labels?T" /client userID=115120b1-7ac1-4599-bfb9-de71806fb5eb time="2026-09-17T09:45:48Z" msg="200 OK: GET https://127.0.0.1:37383/core/v4/labels?T" /client userID=115120b1-7ac1-4599-bfb9-de71806fb5eb time="2026-09-17T09:45:48Z" msg="Setting labels" labelIDs="[0 2 4 5 6 9 10 12 1 3 7 8]" time="2026-09-17T09:45:48Z" msg="Adding user to imap server" addrID=54414fec-5452-4d4d-809a-5133b7674c92 time="2026-09-17T09:45:48Z" msg="Creating new IMAP user" addrID=54414fec-5452-4d4d-809a-5133b7674c92 time="2026-09-17T09:45:48Z" msg="Setting gluon ID" addrID=54414fec-5452-4d4d-809a-5133b7674c92 gluonID=bf87df05-73a8-45c0-a1ce-0bdaab7c6112 userID=115120b1-7ac1-4599-bfb9-de71806fb5eb time="2026-09-17T09:45:48Z" msg="Received mailbox message count" gluonID=bf87df05-73a8-45c0-a1ce-0bdaab7c6112 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:45:48Z" msg="Created new IMAP user" addrID=54414fec-5452-4d4d-809a-5133b7674c92 gluonID=bf87df05-73a8-45c0-a1ce-0bdaab7c6112 time="2026-09-17T09:45:48Z" msg="Validating Listener State" time="2026-09-17T09:45:48Z" time="2026-09-17T09:45:48Z" msg="Checking whether logged in user should re-sync. UserID:115120b1-7ac1-4599-bfb9-de71806fb5eb" userID=115120b1-7ac1-4599-bfb9-de71806fb5eb time="2026-09-17T09:45:48Z" msg="Starting IMAP Service" time="2026-09-17T09:45:48Z" msg="Performing full user login" /user username="******** (40ef0c70)" time="2026-09-17T09:45:48Z" msg="Authorizing user for login" /user username="******** (40ef0c70)" time="2026-09-17T09:45:48Z" msg="Sync triggered" time="2026-09-17T09:45:48Z" msg="Beginning user sync" start="2026-09-17 09:45:48.366801111 +0000 UTC m=+36.859103447" time="2026-09-17T09:45:48Z" msg="Syncing labels" time="2026-09-17T09:45:48Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=bf87df05-73a8-45c0-a1ce-0bdaab7c6112 time="2026-09-17T09:45:48Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=bf87df05-73a8-45c0-a1ce-0bdaab7c6112 time="2026-09-17T09:45:48Z" msg="Mailbox created" /user remoteMailboxID=4 userID=bf87df05-73a8-45c0-a1ce-0bdaab7c6112 time="2026-09-17T09:45:48Z" msg="Mailbox created" /user remoteMailboxID=5 userID=bf87df05-73a8-45c0-a1ce-0bdaab7c6112 time="2026-09-17T09:45:48Z" msg="Mailbox created" /user remoteMailboxID=6 userID=bf87df05-73a8-45c0-a1ce-0bdaab7c6112 time="2026-09-17T09:45:48Z" msg="Mailbox created" /user remoteMailboxID=12 userID=bf87df05-73a8-45c0-a1ce-0bdaab7c6112 time="2026-09-17T09:45:48Z" msg="Mailbox created" /user remoteMailboxID=10 userID=bf87df05-73a8-45c0-a1ce-0bdaab7c6112 time="2026-09-17T09:45:48Z" msg="Mailbox created" /user remoteMailboxID=3 userID=bf87df05-73a8-45c0-a1ce-0bdaab7c6112 time="2026-09-17T09:45:48Z" msg="Mailbox created" /user remoteMailboxID=7 userID=bf87df05-73a8-45c0-a1ce-0bdaab7c6112 time="2026-09-17T09:45:48Z" msg="Mailbox created" /user remoteMailboxID=8 userID=bf87df05-73a8-45c0-a1ce-0bdaab7c6112 time="2026-09-17T09:45:48Z" msg="Mailbox created" /user remoteMailboxID=0 userID=bf87df05-73a8-45c0-a1ce-0bdaab7c6112 time="2026-09-17T09:45:48Z" msg="Synced labels" time="2026-09-17T09:45:48Z" msg="200 OK: POST https://127.0.0.1:37383/auth/v4/info" /manager time="2026-09-17T09:45:48Z" msg="200 OK: GET https://127.0.0.1:37383/mail/v4/messages/count" /client userID=115120b1-7ac1-4599-bfb9-de71806fb5eb time="2026-09-17T09:45:48Z" msg="Syncing messages" time="2026-09-17T09:45:48Z" msg="Job started" time="2026-09-17T09:45:48Z" msg="200 OK: POST https://127.0.0.1:37383/mail/v4/messages" /client userID=115120b1-7ac1-4599-bfb9-de71806fb5eb time="2026-09-17T09:45:48Z" msg="Job finished" time="2026-09-17T09:45:48Z" msg="All child jobs completed" sync- time="2026-09-17T09:45:48Z" msg="Synced messages" time="2026-09-17T09:45:48Z" msg="Finished user sync" .858073ms time="2026-09-17T09:45:48Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:45:48Z" msg="Event loop reset" eventID="Ag==" time="2026-09-17T09:45:48Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 1} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:45:48Z" msg="200 OK: POST https://127.0.0.1:37383/auth/v4" /manager time="2026-09-17T09:45:48Z" msg="Logging in authorized user" /user userID=17b5408a-999a-4202-8992-be775ca6a9cd time="2026-09-17T09:45:48Z" msg="Adding vault user" userID=17b5408a-999a-4202-8992-be775ca6a9cd time="2026-09-17T09:45:48Z" msg="Creating new user" userID=17b5408a-999a-4202-8992-be775ca6a9cd time="2026-09-17T09:45:48Z" msg="404 GET https://127.0.0.1:37383/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:45:48Z" msg="404 GET https://127.0.0.1:37383/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:45:48Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:37383/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:45:48Z" msg="Creating user object" authUID=2c3f7976-c288-4c50-a9c8-9c13c1e02596 numA numL userID=17b5408a-999a-4202-8992-be775ca6a9cd time="2026-09-17T09:45:48Z" msg="200 OK: GET https://127.0.0.1:37383/core/v4/events/latest" /client userID=17b5408a-999a-4202-8992-be775ca6a9cd time="2026-09-17T09:45:48Z" msg="Starting service Last EventID=AQ==" time="2026-09-17T09:45:48Z" msg="200 OK: GET https://127.0.0.1:37383/core/v4/settings" /client userID=17b5408a-999a-4202-8992-be775ca6a9cd time="2026-09-17T09:45:48Z" msg="Registering user client, ID:17b5408a-999a-4202-8992-be775ca6a9cd" time="2026-09-17T09:45:48Z" msg="Starting user identity service" numA time="2026-09-17T09:45:48Z" msg="Starting service main loop" time="2026-09-17T09:45:48Z" msg="Starting service main loop" time="2026-09-17T09:45:48Z" msg="Starting service main loop" time="2026-09-17T09:45:48Z" msg="200 OK: GET https://127.0.0.1:37383/core/v4/labels?T" /client userID=17b5408a-999a-4202-8992-be775ca6a9cd time="2026-09-17T09:45:48Z" msg="200 OK: GET https://127.0.0.1:37383/core/v4/labels?T" /client userID=17b5408a-999a-4202-8992-be775ca6a9cd time="2026-09-17T09:45:48Z" msg="200 OK: GET https://127.0.0.1:37383/core/v4/labels?T" /client userID=17b5408a-999a-4202-8992-be775ca6a9cd time="2026-09-17T09:45:48Z" msg="Setting labels" labelIDs="[3 4 6 12 1 2 5 7 8 9 10 0]" time="2026-09-17T09:45:48Z" msg="Adding user to imap server" addrID=24df923e-bdab-43ce-919d-9fb601d7b456 time="2026-09-17T09:45:48Z" msg="Creating new IMAP user" addrID=24df923e-bdab-43ce-919d-9fb601d7b456 time="2026-09-17T09:45:48Z" msg="Setting gluon ID" addrID=24df923e-bdab-43ce-919d-9fb601d7b456 gluonID=4341e527-7628-4ba7-9606-246cf589bbcf userID=17b5408a-999a-4202-8992-be775ca6a9cd time="2026-09-17T09:45:48Z" msg="Received mailbox message count" gluonID=4341e527-7628-4ba7-9606-246cf589bbcf labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:45:48Z" msg="Created new IMAP user" addrID=24df923e-bdab-43ce-919d-9fb601d7b456 gluonID=4341e527-7628-4ba7-9606-246cf589bbcf time="2026-09-17T09:45:48Z" msg="Validating Listener State" time="2026-09-17T09:45:48Z" time="2026-09-17T09:45:48Z" msg="Checking whether logged in user should re-sync. UserID:17b5408a-999a-4202-8992-be775ca6a9cd" userID=17b5408a-999a-4202-8992-be775ca6a9cd time="2026-09-17T09:45:48Z" msg="Starting IMAP Service" time="2026-09-17T09:45:48Z" msg="Sync triggered" time="2026-09-17T09:45:48Z" msg="Beginning user sync" start="2026-09-17 09:45:48.80538354 +0000 UTC m=+37.297685876" time="2026-09-17T09:45:48Z" msg="Syncing labels" time="2026-09-17T09:45:48Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=4341e527-7628-4ba7-9606-246cf589bbcf time="2026-09-17T09:45:48Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=4341e527-7628-4ba7-9606-246cf589bbcf time="2026-09-17T09:45:48Z" msg="Frontend service stopped" time="2026-09-17T09:45:48Z" msg="Mailbox created" /user remoteMailboxID=6 userID=4341e527-7628-4ba7-9606-246cf589bbcf time="2026-09-17T09:45:48Z" msg="Frontend client stopped" time="2026-09-17T09:45:48Z" msg="Closing bridge" time="2026-09-17T09:45:48Z" msg="Stopping service" time="2026-09-17T09:45:48Z" msg="Closing user" userID=115120b1-7ac1-4599-bfb9-de71806fb5eb time="2026-09-17T09:45:48Z" msg="De-registering user client, ID:115120b1-7ac1-4599-bfb9-de71806fb5eb" time="2026-09-17T09:45:48Z" msg="Exiting IMAP Service" time="2026-09-17T09:45:48Z" msg="Exiting service main loop" time="2026-09-17T09:45:48Z" msg="Exiting service main loop" time="2026-09-17T09:45:48Z" msg="Exiting Service" time="2026-09-17T09:45:48Z" msg="Mailbox created" /user remoteMailboxID=12 userID=4341e527-7628-4ba7-9606-246cf589bbcf time="2026-09-17T09:45:48Z" msg="Exiting service main loop" time="2026-09-17T09:45:48Z" msg="Exiting service" time="2026-09-17T09:45:48Z" msg="Closing user" userID=17b5408a-999a-4202-8992-be775ca6a9cd time="2026-09-17T09:45:48Z" msg="De-registering user client, ID:17b5408a-999a-4202-8992-be775ca6a9cd" time="2026-09-17T09:45:48Z" msg="Synced labels" time="2026-09-17T09:45:48Z" msg="Get \"https://127.0.0.1:37383/mail/v4/messages/count\": context canceled, Attempt 1" /client time="2026-09-17T09:45:48Z" msg="Get \"https://127.0.0.1:37383/mail/v4/messages/count\": context canceled" /client time="2026-09-17T09:45:48Z" msg="Failed to sync, will retry later" error="failed to retrieve message ids: received no response from API: Get \"https://127.0.0.1:37383/mail/v4/messages/count\": context canceled" time="2026-09-17T09:45:48Z" msg="Sync aborted" error="context canceled" time="2026-09-17T09:45:48Z" msg="Finished user sync" .214934ms time="2026-09-17T09:45:48Z" msg="Exiting IMAP Service" time="2026-09-17T09:45:48Z" msg="Exiting service main loop" time="2026-09-17T09:45:48Z" msg="Exiting service main loop" time="2026-09-17T09:45:48Z" msg="Exiting Service" time="2026-09-17T09:45:48Z" msg="Exiting service main loop" time="2026-09-17T09:45:48Z" msg="Exiting service" time="2026-09-17T09:45:48Z" msg="Closing IMAP Listener" time="2026-09-17T09:45:48Z" msg="Mailbox created" /user remoteMailboxID=5 userID=4341e527-7628-4ba7-9606-246cf589bbcf time="2026-09-17T09:45:48Z" msg="Closing IMAP server" time="2026-09-17T09:45:48Z" msg="Mailbox created" /user remoteMailboxID=7 userID=4341e527-7628-4ba7-9606-246cf589bbcf time="2026-09-17T09:45:48Z" msg="Closing SMTP Listener" time="2026-09-17T09:45:48Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:45:48Z" msg="Closing SMTP server" time="2026-09-17T09:45:48Z" msg="Closing service" Scenario: IMAP client can authenticate successfully with secondary address # features/imap/auth.feature:28 Given user "4a2d82d6-ad9b-4cbe-9cff-cbe8292fcab1" connects and authenticates IMAP client "1" with address "fd9b91e3-68f0-4100-89b4-763f1c13954b@proton.local" # :1 -> *scenario time="2026-09-17T09:45:49Z" msg="User 'd60e7c24-282a-4fc1-8946-b689e9c1b31f' created with " /server/backend time="2026-09-17T09:45:49Z" msg="User '09ac561e-38f8-4a9c-9fa4-2d5c1d1b0ef3' created with " /server/backend time="2026-09-17T09:45:50Z" msg="Starting bridge" time="2026-09-17T09:45:50Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/021/config2374594893/grpcFocusServerConfig.json /service time="2026-09-17T09:45:50Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/021/cache1926125584/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:45:50Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/021/cache1926125584/notifications/notification_cache: no such file or directory" time="2026-09-17T09:45:50Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/021/data925455495/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/021/data925455495/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:45:50Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:45:50Z" msg="Starting IMAP server" time="2026-09-17T09:45:50Z" msg="Starting SMTP server" time="2026-09-17T09:45:50Z" msg="Starting service" time="2026-09-17T09:45:50Z" msg="Starting service" time="2026-09-17T09:45:50Z" msg="Starting receiver service" time="2026-09-17T09:45:50Z" msg="Starting frontend service" time="2026-09-17T09:45:50Z" msg="Checking for updates" time="2026-09-17T09:45:50Z" msg="Loading users" /user time="2026-09-17T09:45:50Z" msg="Starting poll service" time="2026-09-17T09:45:50Z" msg="Finished loading users" /user time="2026-09-17T09:45:50Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/021/config2374594893/grpcServerConfig.json time="2026-09-17T09:45:50Z" msg="gRPC server listening on /tmp/bridge1907" time="2026-09-17T09:45:50Z" msg="Frontend service started" time="2026-09-17T09:45:50Z" msg="Starting frontend client" time="2026-09-17T09:45:50Z" msg="Not monitoring parent PID" time="2026-09-17T09:45:50Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:45:50Z" msg="200 OK: GET https://127.0.0.1:38543/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:45:50Z" msg="Frontend client started" time="2026-09-17T09:45:50Z" msg="Performing full user login" /user username="******** (556d3b15)" time="2026-09-17T09:45:50Z" msg="Authorizing user for login" /user username="******** (556d3b15)" time="2026-09-17T09:45:50Z" msg="200 OK: POST https://127.0.0.1:38543/auth/v4/info" /manager time="2026-09-17T09:45:50Z" msg="200 OK: POST https://127.0.0.1:38543/auth/v4" /manager time="2026-09-17T09:45:50Z" msg="Logging in authorized user" /user userID=76494754-d792-457b-be83-a944cee5aef2 time="2026-09-17T09:45:50Z" msg="Adding vault user" userID=76494754-d792-457b-be83-a944cee5aef2 time="2026-09-17T09:45:50Z" msg="Creating new user" userID=76494754-d792-457b-be83-a944cee5aef2 time="2026-09-17T09:45:50Z" msg="404 GET https://127.0.0.1:38543/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:45:50Z" msg="404 GET https://127.0.0.1:38543/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:45:50Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:38543/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:45:50Z" msg="Creating user object" authUID=4eb97fca-79f1-4f8f-a55c-76a7bb71fbd4 numA numL userID=76494754-d792-457b-be83-a944cee5aef2 time="2026-09-17T09:45:50Z" msg="200 OK: GET https://127.0.0.1:38543/core/v4/events/latest" /client userID=76494754-d792-457b-be83-a944cee5aef2 time="2026-09-17T09:45:50Z" msg="Starting service Last EventID=Ag==" time="2026-09-17T09:45:50Z" msg="200 OK: GET https://127.0.0.1:38543/core/v4/settings" /client userID=76494754-d792-457b-be83-a944cee5aef2 time="2026-09-17T09:45:50Z" msg="Registering user client, ID:76494754-d792-457b-be83-a944cee5aef2" time="2026-09-17T09:45:50Z" msg="Starting user identity service" numA time="2026-09-17T09:45:50Z" msg="Starting service main loop" time="2026-09-17T09:45:50Z" msg="Starting service main loop" time="2026-09-17T09:45:50Z" msg="Starting service main loop" time="2026-09-17T09:45:50Z" msg="200 OK: GET https://127.0.0.1:38543/core/v4/labels?T" /client userID=76494754-d792-457b-be83-a944cee5aef2 time="2026-09-17T09:45:50Z" msg="200 OK: GET https://127.0.0.1:38543/core/v4/labels?T" /client userID=76494754-d792-457b-be83-a944cee5aef2 time="2026-09-17T09:45:50Z" msg="200 OK: GET https://127.0.0.1:38543/core/v4/labels?T" /client userID=76494754-d792-457b-be83-a944cee5aef2 time="2026-09-17T09:45:50Z" msg="Setting labels" labelIDs="[6 9 10 12 0 1 2 3 4 5 7 8]" time="2026-09-17T09:45:50Z" msg="Adding user to imap server" addrID=4052a11e-5d24-4159-8865-fd0de7312f28 time="2026-09-17T09:45:50Z" msg="Creating new IMAP user" addrID=4052a11e-5d24-4159-8865-fd0de7312f28 time="2026-09-17T09:45:50Z" msg="Setting gluon ID" addrID=4052a11e-5d24-4159-8865-fd0de7312f28 gluonID=11f33db3-19e3-461f-b2b0-a1b5944dbe2c userID=76494754-d792-457b-be83-a944cee5aef2 time="2026-09-17T09:45:50Z" msg="Received mailbox message count" gluonID=11f33db3-19e3-461f-b2b0-a1b5944dbe2c labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:45:50Z" msg="Created new IMAP user" addrID=4052a11e-5d24-4159-8865-fd0de7312f28 gluonID=11f33db3-19e3-461f-b2b0-a1b5944dbe2c time="2026-09-17T09:45:50Z" msg="Validating Listener State" time="2026-09-17T09:45:50Z" time="2026-09-17T09:45:50Z" msg="Starting IMAP Service" time="2026-09-17T09:45:50Z" msg="Checking whether logged in user should re-sync. UserID:76494754-d792-457b-be83-a944cee5aef2" userID=76494754-d792-457b-be83-a944cee5aef2 time="2026-09-17T09:45:50Z" msg="Sync triggered" time="2026-09-17T09:45:50Z" msg="Performing full user login" /user username="******** (14b845e1)" time="2026-09-17T09:45:50Z" msg="Authorizing user for login" /user username="******** (14b845e1)" time="2026-09-17T09:45:50Z" msg="Beginning user sync" start="2026-09-17 09:45:50.965365985 +0000 UTC m=+39.457668321" time="2026-09-17T09:45:50Z" msg="Syncing labels" time="2026-09-17T09:45:50Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=11f33db3-19e3-461f-b2b0-a1b5944dbe2c time="2026-09-17T09:45:50Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=11f33db3-19e3-461f-b2b0-a1b5944dbe2c time="2026-09-17T09:45:50Z" msg="Mailbox created" /user remoteMailboxID=6 userID=11f33db3-19e3-461f-b2b0-a1b5944dbe2c time="2026-09-17T09:45:50Z" msg="Mailbox created" /user remoteMailboxID=12 userID=11f33db3-19e3-461f-b2b0-a1b5944dbe2c time="2026-09-17T09:45:50Z" msg="Mailbox created" /user remoteMailboxID=0 userID=11f33db3-19e3-461f-b2b0-a1b5944dbe2c time="2026-09-17T09:45:50Z" msg="Mailbox created" /user remoteMailboxID=3 userID=11f33db3-19e3-461f-b2b0-a1b5944dbe2c time="2026-09-17T09:45:50Z" msg="Mailbox created" /user remoteMailboxID=10 userID=11f33db3-19e3-461f-b2b0-a1b5944dbe2c time="2026-09-17T09:45:50Z" msg="Mailbox created" /user remoteMailboxID=4 userID=11f33db3-19e3-461f-b2b0-a1b5944dbe2c time="2026-09-17T09:45:50Z" msg="Mailbox created" /user remoteMailboxID=5 userID=11f33db3-19e3-461f-b2b0-a1b5944dbe2c time="2026-09-17T09:45:50Z" msg="Mailbox created" /user remoteMailboxID=7 userID=11f33db3-19e3-461f-b2b0-a1b5944dbe2c time="2026-09-17T09:45:50Z" msg="Mailbox created" /user remoteMailboxID=8 userID=11f33db3-19e3-461f-b2b0-a1b5944dbe2c time="2026-09-17T09:45:50Z" msg="Synced labels" time="2026-09-17T09:45:50Z" msg="200 OK: POST https://127.0.0.1:38543/auth/v4/info" /manager time="2026-09-17T09:45:50Z" msg="200 OK: GET https://127.0.0.1:38543/mail/v4/messages/count" /client userID=76494754-d792-457b-be83-a944cee5aef2 time="2026-09-17T09:45:50Z" msg="Syncing messages" time="2026-09-17T09:45:50Z" msg="Job started" time="2026-09-17T09:45:50Z" msg="200 OK: POST https://127.0.0.1:38543/mail/v4/messages" /client userID=76494754-d792-457b-be83-a944cee5aef2 time="2026-09-17T09:45:50Z" msg="Job finished" time="2026-09-17T09:45:50Z" msg="All child jobs completed" sync- time="2026-09-17T09:45:50Z" msg="Synced messages" time="2026-09-17T09:45:50Z" msg="Finished user sync" .422089ms time="2026-09-17T09:45:50Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:45:50Z" msg="Event loop reset" eventID="Ag==" time="2026-09-17T09:45:51Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 3} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:45:51Z" msg="200 OK: POST https://127.0.0.1:38543/auth/v4" /manager time="2026-09-17T09:45:51Z" msg="Logging in authorized user" /user userID=b6dfa385-bdb5-4b87-9630-a1df818c2a82 time="2026-09-17T09:45:51Z" msg="Adding vault user" userID=b6dfa385-bdb5-4b87-9630-a1df818c2a82 time="2026-09-17T09:45:51Z" msg="Creating new user" userID=b6dfa385-bdb5-4b87-9630-a1df818c2a82 time="2026-09-17T09:45:51Z" msg="404 GET https://127.0.0.1:38543/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:45:51Z" msg="404 GET https://127.0.0.1:38543/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:45:51Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:38543/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:45:51Z" msg="Creating user object" authUID=677621b3-1fc7-40db-b11e-dc4a7dafb555 numA numL userID=b6dfa385-bdb5-4b87-9630-a1df818c2a82 time="2026-09-17T09:45:51Z" msg="200 OK: GET https://127.0.0.1:38543/core/v4/events/latest" /client userID=b6dfa385-bdb5-4b87-9630-a1df818c2a82 time="2026-09-17T09:45:51Z" msg="Starting service Last EventID=AQ==" time="2026-09-17T09:45:51Z" msg="200 OK: GET https://127.0.0.1:38543/core/v4/settings" /client userID=b6dfa385-bdb5-4b87-9630-a1df818c2a82 time="2026-09-17T09:45:51Z" msg="Registering user client, ID:b6dfa385-bdb5-4b87-9630-a1df818c2a82" time="2026-09-17T09:45:51Z" msg="Starting user identity service" numA time="2026-09-17T09:45:51Z" msg="Starting service main loop" time="2026-09-17T09:45:51Z" msg="Starting service main loop" time="2026-09-17T09:45:51Z" msg="Starting service main loop" time="2026-09-17T09:45:51Z" msg="200 OK: GET https://127.0.0.1:38543/core/v4/labels?T" /client userID=b6dfa385-bdb5-4b87-9630-a1df818c2a82 time="2026-09-17T09:45:51Z" msg="200 OK: GET https://127.0.0.1:38543/core/v4/labels?T" /client userID=b6dfa385-bdb5-4b87-9630-a1df818c2a82 time="2026-09-17T09:45:51Z" msg="200 OK: GET https://127.0.0.1:38543/core/v4/labels?T" /client userID=b6dfa385-bdb5-4b87-9630-a1df818c2a82 time="2026-09-17T09:45:51Z" msg="Setting labels" labelIDs="[0 2 4 6 8 12 1 3 5 7 9 10]" time="2026-09-17T09:45:51Z" msg="Adding user to imap server" addrID=f87d77a1-9efd-4bf8-87b8-ddc18ab4ca5e time="2026-09-17T09:45:51Z" msg="Creating new IMAP user" addrID=f87d77a1-9efd-4bf8-87b8-ddc18ab4ca5e time="2026-09-17T09:45:51Z" msg="Setting gluon ID" addrID=f87d77a1-9efd-4bf8-87b8-ddc18ab4ca5e gluonID=04c0e195-4408-4e4f-a08d-94c3f5a6eb24 userID=b6dfa385-bdb5-4b87-9630-a1df818c2a82 time="2026-09-17T09:45:51Z" msg="Received mailbox message count" gluonID=04c0e195-4408-4e4f-a08d-94c3f5a6eb24 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:45:51Z" msg="Created new IMAP user" addrID=f87d77a1-9efd-4bf8-87b8-ddc18ab4ca5e gluonID=04c0e195-4408-4e4f-a08d-94c3f5a6eb24 time="2026-09-17T09:45:51Z" msg="Validating Listener State" time="2026-09-17T09:45:51Z" time="2026-09-17T09:45:51Z" msg="Starting IMAP Service" time="2026-09-17T09:45:51Z" msg="Checking whether logged in user should re-sync. UserID:b6dfa385-bdb5-4b87-9630-a1df818c2a82" userID=b6dfa385-bdb5-4b87-9630-a1df818c2a82 time="2026-09-17T09:45:51Z" msg="Sync triggered" time="2026-09-17T09:45:51Z" msg="Beginning user sync" start="2026-09-17 09:45:51.402508009 +0000 UTC m=+39.894810305" time="2026-09-17T09:45:51Z" msg="Syncing labels" time="2026-09-17T09:45:51Z" msg="Frontend service stopped" time="2026-09-17T09:45:51Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=04c0e195-4408-4e4f-a08d-94c3f5a6eb24 time="2026-09-17T09:45:51Z" msg="Frontend client stopped" time="2026-09-17T09:45:51Z" msg="Closing bridge" time="2026-09-17T09:45:51Z" msg="Stopping service" time="2026-09-17T09:45:51Z" msg="Closing user" userID=76494754-d792-457b-be83-a944cee5aef2 time="2026-09-17T09:45:51Z" msg="De-registering user client, ID:76494754-d792-457b-be83-a944cee5aef2" time="2026-09-17T09:45:51Z" msg="Exiting IMAP Service" time="2026-09-17T09:45:51Z" msg="Exiting service main loop" time="2026-09-17T09:45:51Z" msg="Exiting service main loop" time="2026-09-17T09:45:51Z" msg="Exiting Service" time="2026-09-17T09:45:51Z" msg="Exiting service main loop" time="2026-09-17T09:45:51Z" msg="Exiting service" time="2026-09-17T09:45:51Z" msg="Closing user" userID=b6dfa385-bdb5-4b87-9630-a1df818c2a82 time="2026-09-17T09:45:51Z" msg="De-registering user client, ID:b6dfa385-bdb5-4b87-9630-a1df818c2a82" time="2026-09-17T09:45:51Z" msg="Synced labels" time="2026-09-17T09:45:51Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=04c0e195-4408-4e4f-a08d-94c3f5a6eb24 time="2026-09-17T09:45:51Z" msg="Get \"https://127.0.0.1:38543/mail/v4/messages/count\": context canceled, Attempt 1" /client time="2026-09-17T09:45:51Z" msg="Get \"https://127.0.0.1:38543/mail/v4/messages/count\": context canceled" /client time="2026-09-17T09:45:51Z" msg="Failed to sync, will retry later" error="failed to retrieve message ids: received no response from API: Get \"https://127.0.0.1:38543/mail/v4/messages/count\": context canceled" time="2026-09-17T09:45:51Z" msg="Sync aborted" error="context canceled" time="2026-09-17T09:45:51Z" msg="Finished user sync" .34041ms time="2026-09-17T09:45:51Z" msg="Exiting IMAP Service" time="2026-09-17T09:45:51Z" msg="Exiting service main loop" time="2026-09-17T09:45:51Z" msg="Exiting service main loop" time="2026-09-17T09:45:51Z" msg="Exiting Service" time="2026-09-17T09:45:51Z" msg="Exiting service main loop" time="2026-09-17T09:45:51Z" msg="Exiting service" time="2026-09-17T09:45:51Z" msg="Closing IMAP Listener" time="2026-09-17T09:45:51Z" msg="Closing IMAP server" time="2026-09-17T09:45:51Z" msg="Mailbox created" /user remoteMailboxID=6 userID=04c0e195-4408-4e4f-a08d-94c3f5a6eb24 time="2026-09-17T09:45:51Z" msg="Mailbox created" /user remoteMailboxID=12 userID=04c0e195-4408-4e4f-a08d-94c3f5a6eb24 time="2026-09-17T09:45:51Z" msg="Closing SMTP Listener" time="2026-09-17T09:45:51Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:45:51Z" msg="Closing SMTP server" time="2026-09-17T09:45:51Z" msg="Closing service" Scenario: IMAP client can authenticate successfully with secondary address using IMAP AUTHENTICATE # features/imap/auth.feature:31 Given user "d60e7c24-282a-4fc1-8946-b689e9c1b31f" connects and authenticates IMAP client "1" with address "a966ff02-d298-44ef-86b3-b5ba7dcec68d@proton.local" using IMAP AUTHENTICATE # :1 -> *scenario time="2026-09-17T09:45:51Z" msg="User '25bf8954-f8a7-49c1-8fe1-fc3706b96cd9' created with " /server/backend time="2026-09-17T09:45:52Z" msg="User 'dae9051f-a1c1-440c-a6e4-ddbbe01bf42e' created with " /server/backend time="2026-09-17T09:45:53Z" msg="Starting bridge" time="2026-09-17T09:45:53Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/022/config504446138/grpcFocusServerConfig.json /service time="2026-09-17T09:45:53Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/022/cache2312402917/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:45:53Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/022/cache2312402917/notifications/notification_cache: no such file or directory" time="2026-09-17T09:45:53Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/022/data2234307713/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/022/data2234307713/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:45:53Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:45:53Z" msg="Starting IMAP server" time="2026-09-17T09:45:53Z" msg="Starting SMTP server" time="2026-09-17T09:45:53Z" msg="Starting service" time="2026-09-17T09:45:53Z" msg="Starting service" time="2026-09-17T09:45:53Z" msg="Starting receiver service" time="2026-09-17T09:45:53Z" msg="Starting frontend service" time="2026-09-17T09:45:53Z" msg="Checking for updates" time="2026-09-17T09:45:53Z" msg="Starting poll service" time="2026-09-17T09:45:53Z" msg="Loading users" /user time="2026-09-17T09:45:53Z" msg="Finished loading users" /user time="2026-09-17T09:45:53Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/022/config504446138/grpcServerConfig.json time="2026-09-17T09:45:53Z" msg="gRPC server listening on /tmp/bridge3587" time="2026-09-17T09:45:53Z" msg="Frontend service started" time="2026-09-17T09:45:53Z" msg="Starting frontend client" time="2026-09-17T09:45:53Z" msg="Not monitoring parent PID" time="2026-09-17T09:45:53Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:45:53Z" msg="200 OK: GET https://127.0.0.1:39105/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:45:53Z" msg="Frontend client started" time="2026-09-17T09:45:53Z" msg="Performing full user login" /user username="******** (2a7d579e)" time="2026-09-17T09:45:53Z" msg="Authorizing user for login" /user username="******** (2a7d579e)" time="2026-09-17T09:45:53Z" msg="200 OK: POST https://127.0.0.1:39105/auth/v4/info" /manager time="2026-09-17T09:45:53Z" msg="200 OK: POST https://127.0.0.1:39105/auth/v4" /manager time="2026-09-17T09:45:53Z" msg="Logging in authorized user" /user userID=80021516-c044-484d-be29-1a4fdbdb37b0 time="2026-09-17T09:45:53Z" msg="Adding vault user" userID=80021516-c044-484d-be29-1a4fdbdb37b0 time="2026-09-17T09:45:53Z" msg="Creating new user" userID=80021516-c044-484d-be29-1a4fdbdb37b0 time="2026-09-17T09:45:53Z" msg="404 GET https://127.0.0.1:39105/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:45:53Z" msg="404 GET https://127.0.0.1:39105/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:45:53Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:39105/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:45:53Z" msg="Creating user object" authUID=8c14dbc8-0997-496b-922e-ee18c92fd697 numA numL userID=80021516-c044-484d-be29-1a4fdbdb37b0 time="2026-09-17T09:45:53Z" msg="200 OK: GET https://127.0.0.1:39105/core/v4/events/latest" /client userID=80021516-c044-484d-be29-1a4fdbdb37b0 time="2026-09-17T09:45:53Z" msg="Starting service Last EventID=Ag==" time="2026-09-17T09:45:53Z" msg="200 OK: GET https://127.0.0.1:39105/core/v4/settings" /client userID=80021516-c044-484d-be29-1a4fdbdb37b0 time="2026-09-17T09:45:53Z" msg="Registering user client, ID:80021516-c044-484d-be29-1a4fdbdb37b0" time="2026-09-17T09:45:53Z" msg="Starting service main loop" time="2026-09-17T09:45:53Z" msg="Starting user identity service" numA time="2026-09-17T09:45:53Z" msg="Starting service main loop" time="2026-09-17T09:45:53Z" msg="Starting service main loop" time="2026-09-17T09:45:53Z" msg="200 OK: GET https://127.0.0.1:39105/core/v4/labels?T" /client userID=80021516-c044-484d-be29-1a4fdbdb37b0 time="2026-09-17T09:45:53Z" msg="200 OK: GET https://127.0.0.1:39105/core/v4/labels?T" /client userID=80021516-c044-484d-be29-1a4fdbdb37b0 time="2026-09-17T09:45:53Z" msg="200 OK: GET https://127.0.0.1:39105/core/v4/labels?T" /client userID=80021516-c044-484d-be29-1a4fdbdb37b0 time="2026-09-17T09:45:53Z" msg="Setting labels" labelIDs="[4 6 8 0 1 5 7 9 10 12 2 3]" time="2026-09-17T09:45:53Z" msg="Adding user to imap server" addrID=d257d3d9-2145-42e0-8dc0-a2d5768fe91e time="2026-09-17T09:45:53Z" msg="Creating new IMAP user" addrID=d257d3d9-2145-42e0-8dc0-a2d5768fe91e time="2026-09-17T09:45:53Z" msg="Setting gluon ID" addrID=d257d3d9-2145-42e0-8dc0-a2d5768fe91e gluonID=0f4b4b3c-e654-4fe4-ace5-4cbb1d5ec7b2 userID=80021516-c044-484d-be29-1a4fdbdb37b0 time="2026-09-17T09:45:53Z" msg="Received mailbox message count" gluonID=0f4b4b3c-e654-4fe4-ace5-4cbb1d5ec7b2 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:45:53Z" msg="Created new IMAP user" addrID=d257d3d9-2145-42e0-8dc0-a2d5768fe91e gluonID=0f4b4b3c-e654-4fe4-ace5-4cbb1d5ec7b2 time="2026-09-17T09:45:53Z" msg="Validating Listener State" time="2026-09-17T09:45:53Z" time="2026-09-17T09:45:53Z" msg="Starting IMAP Service" time="2026-09-17T09:45:53Z" msg="Checking whether logged in user should re-sync. UserID:80021516-c044-484d-be29-1a4fdbdb37b0" userID=80021516-c044-484d-be29-1a4fdbdb37b0 time="2026-09-17T09:45:53Z" msg="Sync triggered" time="2026-09-17T09:45:53Z" msg="Performing full user login" /user username="******** (50ffc94e)" time="2026-09-17T09:45:53Z" msg="Authorizing user for login" /user username="******** (50ffc94e)" time="2026-09-17T09:45:53Z" msg="Beginning user sync" start="2026-09-17 09:45:53.554144459 +0000 UTC m=+42.046446755" time="2026-09-17T09:45:53Z" msg="Syncing labels" time="2026-09-17T09:45:53Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=0f4b4b3c-e654-4fe4-ace5-4cbb1d5ec7b2 time="2026-09-17T09:45:53Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=0f4b4b3c-e654-4fe4-ace5-4cbb1d5ec7b2 time="2026-09-17T09:45:53Z" msg="Mailbox created" /user remoteMailboxID=6 userID=0f4b4b3c-e654-4fe4-ace5-4cbb1d5ec7b2 time="2026-09-17T09:45:53Z" msg="Mailbox created" /user remoteMailboxID=0 userID=0f4b4b3c-e654-4fe4-ace5-4cbb1d5ec7b2 time="2026-09-17T09:45:53Z" msg="Mailbox created" /user remoteMailboxID=10 userID=0f4b4b3c-e654-4fe4-ace5-4cbb1d5ec7b2 time="2026-09-17T09:45:53Z" msg="Mailbox created" /user remoteMailboxID=12 userID=0f4b4b3c-e654-4fe4-ace5-4cbb1d5ec7b2 time="2026-09-17T09:45:53Z" msg="Mailbox created" /user remoteMailboxID=4 userID=0f4b4b3c-e654-4fe4-ace5-4cbb1d5ec7b2 time="2026-09-17T09:45:53Z" msg="Mailbox created" /user remoteMailboxID=8 userID=0f4b4b3c-e654-4fe4-ace5-4cbb1d5ec7b2 time="2026-09-17T09:45:53Z" msg="Mailbox created" /user remoteMailboxID=5 userID=0f4b4b3c-e654-4fe4-ace5-4cbb1d5ec7b2 time="2026-09-17T09:45:53Z" msg="Mailbox created" /user remoteMailboxID=7 userID=0f4b4b3c-e654-4fe4-ace5-4cbb1d5ec7b2 time="2026-09-17T09:45:53Z" msg="Mailbox created" /user remoteMailboxID=3 userID=0f4b4b3c-e654-4fe4-ace5-4cbb1d5ec7b2 time="2026-09-17T09:45:53Z" msg="Synced labels" time="2026-09-17T09:45:53Z" msg="200 OK: GET https://127.0.0.1:39105/mail/v4/messages/count" /client userID=80021516-c044-484d-be29-1a4fdbdb37b0 time="2026-09-17T09:45:53Z" msg="200 OK: POST https://127.0.0.1:39105/auth/v4/info" /manager time="2026-09-17T09:45:53Z" msg="Syncing messages" time="2026-09-17T09:45:53Z" msg="Job started" time="2026-09-17T09:45:53Z" msg="200 OK: POST https://127.0.0.1:39105/mail/v4/messages" /client userID=80021516-c044-484d-be29-1a4fdbdb37b0 time="2026-09-17T09:45:53Z" msg="Job finished" time="2026-09-17T09:45:53Z" msg="All child jobs completed" sync- time="2026-09-17T09:45:53Z" msg="Synced messages" time="2026-09-17T09:45:53Z" msg="Finished user sync" .491116ms time="2026-09-17T09:45:53Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:45:53Z" msg="Event loop reset" eventID="Ag==" time="2026-09-17T09:45:53Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 3} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:45:53Z" msg="200 OK: POST https://127.0.0.1:39105/auth/v4" /manager time="2026-09-17T09:45:53Z" msg="Logging in authorized user" /user userID=a95e7979-7b23-4d2d-b22d-bfa852f80fcd time="2026-09-17T09:45:53Z" msg="Adding vault user" userID=a95e7979-7b23-4d2d-b22d-bfa852f80fcd time="2026-09-17T09:45:53Z" msg="Creating new user" userID=a95e7979-7b23-4d2d-b22d-bfa852f80fcd time="2026-09-17T09:45:53Z" msg="404 GET https://127.0.0.1:39105/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:45:53Z" msg="404 GET https://127.0.0.1:39105/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:45:53Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:39105/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:45:53Z" msg="Creating user object" authUID=99e45791-2349-47c1-972c-395e50a79ffa numA numL userID=a95e7979-7b23-4d2d-b22d-bfa852f80fcd time="2026-09-17T09:45:53Z" msg="200 OK: GET https://127.0.0.1:39105/core/v4/events/latest" /client userID=a95e7979-7b23-4d2d-b22d-bfa852f80fcd time="2026-09-17T09:45:53Z" msg="Starting service Last EventID=AQ==" time="2026-09-17T09:45:53Z" msg="200 OK: GET https://127.0.0.1:39105/core/v4/settings" /client userID=a95e7979-7b23-4d2d-b22d-bfa852f80fcd time="2026-09-17T09:45:53Z" msg="Registering user client, ID:a95e7979-7b23-4d2d-b22d-bfa852f80fcd" time="2026-09-17T09:45:53Z" msg="Starting user identity service" numA time="2026-09-17T09:45:53Z" msg="Starting service main loop" time="2026-09-17T09:45:53Z" msg="Starting service main loop" time="2026-09-17T09:45:53Z" msg="Starting service main loop" time="2026-09-17T09:45:53Z" msg="200 OK: GET https://127.0.0.1:39105/core/v4/labels?T" /client userID=a95e7979-7b23-4d2d-b22d-bfa852f80fcd time="2026-09-17T09:45:53Z" msg="200 OK: GET https://127.0.0.1:39105/core/v4/labels?T" /client userID=a95e7979-7b23-4d2d-b22d-bfa852f80fcd time="2026-09-17T09:45:53Z" msg="200 OK: GET https://127.0.0.1:39105/core/v4/labels?T" /client userID=a95e7979-7b23-4d2d-b22d-bfa852f80fcd time="2026-09-17T09:45:53Z" msg="Setting labels" labelIDs="[2 3 5 7 8 9 10 1 4 6 12 0]" time="2026-09-17T09:45:53Z" msg="Adding user to imap server" addrID=ec779d30-b5d8-45d7-9984-b62ab7dc25db time="2026-09-17T09:45:53Z" msg="Creating new IMAP user" addrID=ec779d30-b5d8-45d7-9984-b62ab7dc25db time="2026-09-17T09:45:53Z" msg="Setting gluon ID" addrID=ec779d30-b5d8-45d7-9984-b62ab7dc25db gluonID=e9e618c6-c6c7-452c-a333-f1ea2cabc60c userID=a95e7979-7b23-4d2d-b22d-bfa852f80fcd time="2026-09-17T09:45:53Z" msg="Received mailbox message count" gluonID=e9e618c6-c6c7-452c-a333-f1ea2cabc60c labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:45:53Z" msg="Created new IMAP user" addrID=ec779d30-b5d8-45d7-9984-b62ab7dc25db gluonID=e9e618c6-c6c7-452c-a333-f1ea2cabc60c time="2026-09-17T09:45:53Z" msg="Validating Listener State" time="2026-09-17T09:45:53Z" time="2026-09-17T09:45:53Z" msg="Starting IMAP Service" time="2026-09-17T09:45:53Z" msg="Checking whether logged in user should re-sync. UserID:a95e7979-7b23-4d2d-b22d-bfa852f80fcd" userID=a95e7979-7b23-4d2d-b22d-bfa852f80fcd time="2026-09-17T09:45:53Z" msg="Sync triggered" time="2026-09-17T09:45:53Z" msg="Beginning user sync" start="2026-09-17 09:45:53.99060236 +0000 UTC m=+42.482904696" Scenario: IMAP client cannot authenticate with bad username # features/imap/auth.feature:34 When user "25bf8954-f8a7-49c1-8fe1-fc3706b96cd9" connects IMAP client "1" # :1 -> *scenario time="2026-09-17T09:45:53Z" msg="Command failed" cmd="LOGIN 'FQX9f5QtWOMi/g+8kluGIXsbznSjulRELQGnpdEqb1k=' " error="no such user" /session time="2026-09-17T09:45:53Z" msg="Incorrect login credentials." sessionID=1 @proton.localbad time="2026-09-17T09:45:53Z" msg="Syncing labels" time="2026-09-17T09:45:53Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=e9e618c6-c6c7-452c-a333-f1ea2cabc60c time="2026-09-17T09:45:53Z" msg="Frontend service stopped" time="2026-09-17T09:45:53Z" msg="Frontend client stopped" time="2026-09-17T09:45:53Z" msg="Closing bridge" time="2026-09-17T09:45:53Z" msg="Stopping service" time="2026-09-17T09:45:53Z" msg="Closing user" userID=80021516-c044-484d-be29-1a4fdbdb37b0 time="2026-09-17T09:45:53Z" msg="De-registering user client, ID:80021516-c044-484d-be29-1a4fdbdb37b0" time="2026-09-17T09:45:53Z" msg="Exiting IMAP Service" time="2026-09-17T09:45:53Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=e9e618c6-c6c7-452c-a333-f1ea2cabc60c time="2026-09-17T09:45:53Z" msg="Exiting service main loop" time="2026-09-17T09:45:53Z" msg="Exiting service main loop" time="2026-09-17T09:45:53Z" msg="Exiting Service" time="2026-09-17T09:45:53Z" msg="Exiting service main loop" time="2026-09-17T09:45:53Z" msg="Exiting service" time="2026-09-17T09:45:53Z" msg="Closing user" userID=a95e7979-7b23-4d2d-b22d-bfa852f80fcd time="2026-09-17T09:45:53Z" msg="De-registering user client, ID:a95e7979-7b23-4d2d-b22d-bfa852f80fcd" time="2026-09-17T09:45:53Z" msg="Mailbox created" /user remoteMailboxID=4 userID=e9e618c6-c6c7-452c-a333-f1ea2cabc60c time="2026-09-17T09:45:53Z" msg="Synced labels" time="2026-09-17T09:45:53Z" msg="Get \"https://127.0.0.1:39105/mail/v4/messages/count\": context canceled, Attempt 1" /client time="2026-09-17T09:45:53Z" msg="Get \"https://127.0.0.1:39105/mail/v4/messages/count\": context canceled" /client time="2026-09-17T09:45:53Z" msg="Failed to sync, will retry later" error="failed to retrieve message ids: received no response from API: Get \"https://127.0.0.1:39105/mail/v4/messages/count\": context canceled" time="2026-09-17T09:45:53Z" msg="Sync aborted" error="context canceled" time="2026-09-17T09:45:53Z" msg="Finished user sync" .252174ms time="2026-09-17T09:45:53Z" msg="Exiting IMAP Service" time="2026-09-17T09:45:53Z" msg="Mailbox created" /user remoteMailboxID=6 userID=e9e618c6-c6c7-452c-a333-f1ea2cabc60c time="2026-09-17T09:45:53Z" msg="Exiting service main loop" time="2026-09-17T09:45:53Z" msg="Exiting service main loop" time="2026-09-17T09:45:53Z" msg="Exiting Service" time="2026-09-17T09:45:53Z" msg="Exiting service main loop" time="2026-09-17T09:45:53Z" msg="Exiting service" time="2026-09-17T09:45:53Z" msg="Closing IMAP Listener" time="2026-09-17T09:45:53Z" msg="Closing IMAP server" time="2026-09-17T09:45:53Z" msg="Mailbox created" /user remoteMailboxID=12 userID=e9e618c6-c6c7-452c-a333-f1ea2cabc60c time="2026-09-17T09:45:53Z" msg="Mailbox created" /user remoteMailboxID=0 userID=e9e618c6-c6c7-452c-a333-f1ea2cabc60c time="2026-09-17T09:45:53Z" msg="Closing SMTP Listener" time="2026-09-17T09:45:53Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:45:53Z" msg="Closing SMTP server" time="2026-09-17T09:45:53Z" msg="Closing service" Then IMAP client "1" cannot authenticate with incorrect username # :1 -> *scenario time="2026-09-17T09:45:54Z" msg="User 'a9a74455-5110-44a4-a208-3f8313dc9d40' created with " /server/backend time="2026-09-17T09:45:54Z" msg="User '5549fa2c-3d72-406b-9d60-7ec2488294ac' created with " /server/backend time="2026-09-17T09:45:55Z" msg="Starting bridge" time="2026-09-17T09:45:55Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/023/config937338639/grpcFocusServerConfig.json /service time="2026-09-17T09:45:55Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/023/cache3945359604/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:45:55Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/023/cache3945359604/notifications/notification_cache: no such file or directory" time="2026-09-17T09:45:55Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/023/data346567053/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/023/data346567053/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:45:55Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:45:55Z" msg="Starting IMAP server" time="2026-09-17T09:45:55Z" msg="Starting SMTP server" time="2026-09-17T09:45:55Z" msg="Starting service" time="2026-09-17T09:45:55Z" msg="Starting service" time="2026-09-17T09:45:55Z" msg="Starting poll service" time="2026-09-17T09:45:55Z" msg="Starting frontend service" time="2026-09-17T09:45:55Z" msg="Checking for updates" time="2026-09-17T09:45:55Z" msg="Loading users" /user time="2026-09-17T09:45:55Z" msg="Starting receiver service" time="2026-09-17T09:45:55Z" msg="Finished loading users" /user time="2026-09-17T09:45:55Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/023/config937338639/grpcServerConfig.json time="2026-09-17T09:45:55Z" msg="gRPC server listening on /tmp/bridge2958" time="2026-09-17T09:45:55Z" msg="Frontend service started" time="2026-09-17T09:45:55Z" msg="Starting frontend client" time="2026-09-17T09:45:55Z" msg="Not monitoring parent PID" time="2026-09-17T09:45:55Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:45:55Z" msg="Frontend client started" time="2026-09-17T09:45:55Z" msg="Performing full user login" /user username="******** (a71a9f2b)" time="2026-09-17T09:45:55Z" msg="Authorizing user for login" /user username="******** (a71a9f2b)" time="2026-09-17T09:45:55Z" msg="200 OK: GET https://127.0.0.1:36229/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:45:55Z" msg="200 OK: POST https://127.0.0.1:36229/auth/v4/info" /manager time="2026-09-17T09:45:56Z" msg="200 OK: POST https://127.0.0.1:36229/auth/v4" /manager time="2026-09-17T09:45:56Z" msg="Logging in authorized user" /user userID=77e073d7-cf9c-41a4-b393-2d7c2e4b4967 time="2026-09-17T09:45:56Z" msg="Adding vault user" userID=77e073d7-cf9c-41a4-b393-2d7c2e4b4967 time="2026-09-17T09:45:56Z" msg="Creating new user" userID=77e073d7-cf9c-41a4-b393-2d7c2e4b4967 time="2026-09-17T09:45:56Z" msg="404 GET https://127.0.0.1:36229/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:45:56Z" msg="404 GET https://127.0.0.1:36229/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:45:56Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:36229/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:45:56Z" msg="Creating user object" authUID=731129eb-0907-45c9-86a4-2d7458dc1a30 numA numL userID=77e073d7-cf9c-41a4-b393-2d7c2e4b4967 time="2026-09-17T09:45:56Z" msg="200 OK: GET https://127.0.0.1:36229/core/v4/events/latest" /client userID=77e073d7-cf9c-41a4-b393-2d7c2e4b4967 time="2026-09-17T09:45:56Z" msg="Starting service Last EventID=Ag==" time="2026-09-17T09:45:56Z" msg="200 OK: GET https://127.0.0.1:36229/core/v4/settings" /client userID=77e073d7-cf9c-41a4-b393-2d7c2e4b4967 time="2026-09-17T09:45:56Z" msg="Registering user client, ID:77e073d7-cf9c-41a4-b393-2d7c2e4b4967" time="2026-09-17T09:45:56Z" msg="Starting service main loop" time="2026-09-17T09:45:56Z" msg="Starting user identity service" numA time="2026-09-17T09:45:56Z" msg="Starting service main loop" time="2026-09-17T09:45:56Z" msg="Starting service main loop" time="2026-09-17T09:45:56Z" msg="200 OK: GET https://127.0.0.1:36229/core/v4/labels?T" /client userID=77e073d7-cf9c-41a4-b393-2d7c2e4b4967 time="2026-09-17T09:45:56Z" msg="200 OK: GET https://127.0.0.1:36229/core/v4/labels?T" /client userID=77e073d7-cf9c-41a4-b393-2d7c2e4b4967 time="2026-09-17T09:45:56Z" msg="200 OK: GET https://127.0.0.1:36229/core/v4/labels?T" /client userID=77e073d7-cf9c-41a4-b393-2d7c2e4b4967 time="2026-09-17T09:45:56Z" msg="Setting labels" labelIDs="[0 4 5 6 8 9 12 1 2 3 7 10]" time="2026-09-17T09:45:56Z" msg="Adding user to imap server" addrID=ffa0a128-abc6-4acf-b57a-1e6eb01c10fc time="2026-09-17T09:45:56Z" msg="Creating new IMAP user" addrID=ffa0a128-abc6-4acf-b57a-1e6eb01c10fc time="2026-09-17T09:45:56Z" msg="Setting gluon ID" addrID=ffa0a128-abc6-4acf-b57a-1e6eb01c10fc gluonID=4f556d60-be8b-4fac-b1bb-8abdf44f79b0 userID=77e073d7-cf9c-41a4-b393-2d7c2e4b4967 time="2026-09-17T09:45:56Z" msg="Received mailbox message count" gluonID=4f556d60-be8b-4fac-b1bb-8abdf44f79b0 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:45:56Z" msg="Created new IMAP user" addrID=ffa0a128-abc6-4acf-b57a-1e6eb01c10fc gluonID=4f556d60-be8b-4fac-b1bb-8abdf44f79b0 time="2026-09-17T09:45:56Z" msg="Validating Listener State" time="2026-09-17T09:45:56Z" time="2026-09-17T09:45:56Z" msg="Checking whether logged in user should re-sync. UserID:77e073d7-cf9c-41a4-b393-2d7c2e4b4967" userID=77e073d7-cf9c-41a4-b393-2d7c2e4b4967 time="2026-09-17T09:45:56Z" msg="Performing full user login" /user username="******** (3b793394)" time="2026-09-17T09:45:56Z" msg="Authorizing user for login" /user username="******** (3b793394)" time="2026-09-17T09:45:56Z" msg="Starting IMAP Service" time="2026-09-17T09:45:56Z" msg="Sync triggered" time="2026-09-17T09:45:56Z" msg="Beginning user sync" start="2026-09-17 09:45:56.157797441 +0000 UTC m=+44.650099857" time="2026-09-17T09:45:56Z" msg="Syncing labels" time="2026-09-17T09:45:56Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=4f556d60-be8b-4fac-b1bb-8abdf44f79b0 time="2026-09-17T09:45:56Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=4f556d60-be8b-4fac-b1bb-8abdf44f79b0 time="2026-09-17T09:45:56Z" msg="Mailbox created" /user remoteMailboxID=0 userID=4f556d60-be8b-4fac-b1bb-8abdf44f79b0 time="2026-09-17T09:45:56Z" msg="Mailbox created" /user remoteMailboxID=4 userID=4f556d60-be8b-4fac-b1bb-8abdf44f79b0 time="2026-09-17T09:45:56Z" msg="Mailbox created" /user remoteMailboxID=5 userID=4f556d60-be8b-4fac-b1bb-8abdf44f79b0 time="2026-09-17T09:45:56Z" msg="Mailbox created" /user remoteMailboxID=8 userID=4f556d60-be8b-4fac-b1bb-8abdf44f79b0 time="2026-09-17T09:45:56Z" msg="Mailbox created" /user remoteMailboxID=12 userID=4f556d60-be8b-4fac-b1bb-8abdf44f79b0 time="2026-09-17T09:45:56Z" msg="Mailbox created" /user remoteMailboxID=3 userID=4f556d60-be8b-4fac-b1bb-8abdf44f79b0 time="2026-09-17T09:45:56Z" msg="Mailbox created" /user remoteMailboxID=6 userID=4f556d60-be8b-4fac-b1bb-8abdf44f79b0 time="2026-09-17T09:45:56Z" msg="Mailbox created" /user remoteMailboxID=7 userID=4f556d60-be8b-4fac-b1bb-8abdf44f79b0 time="2026-09-17T09:45:56Z" msg="Mailbox created" /user remoteMailboxID=10 userID=4f556d60-be8b-4fac-b1bb-8abdf44f79b0 time="2026-09-17T09:45:56Z" msg="Synced labels" time="2026-09-17T09:45:56Z" msg="200 OK: POST https://127.0.0.1:36229/auth/v4/info" /manager time="2026-09-17T09:45:56Z" msg="200 OK: GET https://127.0.0.1:36229/mail/v4/messages/count" /client userID=77e073d7-cf9c-41a4-b393-2d7c2e4b4967 time="2026-09-17T09:45:56Z" msg="Syncing messages" time="2026-09-17T09:45:56Z" msg="Job started" time="2026-09-17T09:45:56Z" msg="200 OK: POST https://127.0.0.1:36229/mail/v4/messages" /client userID=77e073d7-cf9c-41a4-b393-2d7c2e4b4967 time="2026-09-17T09:45:56Z" msg="Job finished" time="2026-09-17T09:45:56Z" msg="All child jobs completed" sync- time="2026-09-17T09:45:56Z" msg="Synced messages" time="2026-09-17T09:45:56Z" msg="Finished user sync" .327404ms time="2026-09-17T09:45:56Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:45:56Z" msg="Event loop reset" eventID="Ag==" time="2026-09-17T09:45:56Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 5} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:45:56Z" msg="200 OK: POST https://127.0.0.1:36229/auth/v4" /manager time="2026-09-17T09:45:56Z" msg="Logging in authorized user" /user userID=ac9bf6f6-cbd8-4d8c-8833-d57af20bdbac time="2026-09-17T09:45:56Z" msg="Adding vault user" userID=ac9bf6f6-cbd8-4d8c-8833-d57af20bdbac time="2026-09-17T09:45:56Z" msg="Creating new user" userID=ac9bf6f6-cbd8-4d8c-8833-d57af20bdbac time="2026-09-17T09:45:56Z" msg="404 GET https://127.0.0.1:36229/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:45:56Z" msg="404 GET https://127.0.0.1:36229/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:45:56Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:36229/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:45:56Z" msg="Creating user object" authUID=c382edb0-cc8c-45d4-84fa-5fe3a50c5417 numA numL userID=ac9bf6f6-cbd8-4d8c-8833-d57af20bdbac time="2026-09-17T09:45:56Z" msg="200 OK: GET https://127.0.0.1:36229/core/v4/events/latest" /client userID=ac9bf6f6-cbd8-4d8c-8833-d57af20bdbac time="2026-09-17T09:45:56Z" msg="Starting service Last EventID=AQ==" time="2026-09-17T09:45:56Z" msg="200 OK: GET https://127.0.0.1:36229/core/v4/settings" /client userID=ac9bf6f6-cbd8-4d8c-8833-d57af20bdbac time="2026-09-17T09:45:56Z" msg="Registering user client, ID:ac9bf6f6-cbd8-4d8c-8833-d57af20bdbac" time="2026-09-17T09:45:56Z" msg="Starting service main loop" time="2026-09-17T09:45:56Z" msg="Starting service main loop" time="2026-09-17T09:45:56Z" msg="Starting user identity service" numA time="2026-09-17T09:45:56Z" msg="Starting service main loop" time="2026-09-17T09:45:56Z" msg="200 OK: GET https://127.0.0.1:36229/core/v4/labels?T" /client userID=ac9bf6f6-cbd8-4d8c-8833-d57af20bdbac time="2026-09-17T09:45:56Z" msg="200 OK: GET https://127.0.0.1:36229/core/v4/labels?T" /client userID=ac9bf6f6-cbd8-4d8c-8833-d57af20bdbac time="2026-09-17T09:45:56Z" msg="200 OK: GET https://127.0.0.1:36229/core/v4/labels?T" /client userID=ac9bf6f6-cbd8-4d8c-8833-d57af20bdbac time="2026-09-17T09:45:56Z" msg="Setting labels" labelIDs="[7 9 10 1 6 8 12 0 2 3 4 5]" time="2026-09-17T09:45:56Z" msg="Adding user to imap server" addrID=340c6981-6548-4a9f-915f-0fc6da845ec1 time="2026-09-17T09:45:56Z" msg="Creating new IMAP user" addrID=340c6981-6548-4a9f-915f-0fc6da845ec1 time="2026-09-17T09:45:56Z" msg="Setting gluon ID" addrID=340c6981-6548-4a9f-915f-0fc6da845ec1 gluonID=bed1799a-2beb-42ff-a8cd-54ddb1e321fc userID=ac9bf6f6-cbd8-4d8c-8833-d57af20bdbac time="2026-09-17T09:45:56Z" msg="Received mailbox message count" gluonID=bed1799a-2beb-42ff-a8cd-54ddb1e321fc labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:45:56Z" msg="Created new IMAP user" addrID=340c6981-6548-4a9f-915f-0fc6da845ec1 gluonID=bed1799a-2beb-42ff-a8cd-54ddb1e321fc time="2026-09-17T09:45:56Z" msg="Validating Listener State" time="2026-09-17T09:45:56Z" time="2026-09-17T09:45:56Z" msg="Checking whether logged in user should re-sync. UserID:ac9bf6f6-cbd8-4d8c-8833-d57af20bdbac" userID=ac9bf6f6-cbd8-4d8c-8833-d57af20bdbac time="2026-09-17T09:45:56Z" msg="Starting IMAP Service" time="2026-09-17T09:45:56Z" msg="Sync triggered" time="2026-09-17T09:45:56Z" msg="Beginning user sync" start="2026-09-17 09:45:56.592688415 +0000 UTC m=+45.084990751" Scenario: IMAP client cannot authenticate with bad username using IMAP AUTHENTICATE # features/imap/auth.feature:38 When user "a9a74455-5110-44a4-a208-3f8313dc9d40" connects IMAP client "1" # :1 -> *scenario time="2026-09-17T09:45:56Z" msg="Command failed" cmd="AUTHENTICATE " error="no such user" /session time="2026-09-17T09:45:56Z" msg="Incorrect login credentials." sessionID=1 @proton.localbad time="2026-09-17T09:45:56Z" msg="Syncing labels" time="2026-09-17T09:45:56Z" msg="Frontend service stopped" time="2026-09-17T09:45:56Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=bed1799a-2beb-42ff-a8cd-54ddb1e321fc time="2026-09-17T09:45:56Z" msg="Frontend client stopped" time="2026-09-17T09:45:56Z" msg="Closing bridge" time="2026-09-17T09:45:56Z" msg="Stopping service" time="2026-09-17T09:45:56Z" msg="Closing user" userID=77e073d7-cf9c-41a4-b393-2d7c2e4b4967 time="2026-09-17T09:45:56Z" msg="De-registering user client, ID:77e073d7-cf9c-41a4-b393-2d7c2e4b4967" time="2026-09-17T09:45:56Z" msg="Exiting IMAP Service" time="2026-09-17T09:45:56Z" msg="Exiting service main loop" time="2026-09-17T09:45:56Z" msg="Exiting service main loop" time="2026-09-17T09:45:56Z" msg="Exiting Service" time="2026-09-17T09:45:56Z" msg="Exiting service main loop" time="2026-09-17T09:45:56Z" msg="Exiting service" time="2026-09-17T09:45:56Z" msg="Closing user" userID=ac9bf6f6-cbd8-4d8c-8833-d57af20bdbac time="2026-09-17T09:45:56Z" msg="De-registering user client, ID:ac9bf6f6-cbd8-4d8c-8833-d57af20bdbac" time="2026-09-17T09:45:56Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=bed1799a-2beb-42ff-a8cd-54ddb1e321fc time="2026-09-17T09:45:56Z" msg="Synced labels" time="2026-09-17T09:45:56Z" msg="Get \"https://127.0.0.1:36229/mail/v4/messages/count\": context canceled, Attempt 1" /client time="2026-09-17T09:45:56Z" msg="Get \"https://127.0.0.1:36229/mail/v4/messages/count\": context canceled" /client time="2026-09-17T09:45:56Z" msg="Failed to sync, will retry later" error="failed to retrieve message ids: received no response from API: Get \"https://127.0.0.1:36229/mail/v4/messages/count\": context canceled" time="2026-09-17T09:45:56Z" msg="Sync aborted" error="context canceled" time="2026-09-17T09:45:56Z" msg="Finished user sync" .771732ms time="2026-09-17T09:45:56Z" msg="Exiting IMAP Service" time="2026-09-17T09:45:56Z" msg="Exiting service main loop" time="2026-09-17T09:45:56Z" msg="Exiting service main loop" time="2026-09-17T09:45:56Z" msg="Exiting Service" time="2026-09-17T09:45:56Z" msg="Exiting service main loop" time="2026-09-17T09:45:56Z" msg="Exiting service" time="2026-09-17T09:45:56Z" msg="Closing IMAP Listener" time="2026-09-17T09:45:56Z" msg="Closing IMAP server" time="2026-09-17T09:45:56Z" msg="Mailbox created" /user remoteMailboxID=8 userID=bed1799a-2beb-42ff-a8cd-54ddb1e321fc time="2026-09-17T09:45:56Z" msg="Mailbox created" /user remoteMailboxID=0 userID=bed1799a-2beb-42ff-a8cd-54ddb1e321fc time="2026-09-17T09:45:56Z" msg="Closing SMTP Listener" time="2026-09-17T09:45:56Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:45:56Z" msg="Closing SMTP server" time="2026-09-17T09:45:56Z" msg="Closing service" Then IMAP client "1" cannot authenticate with incorrect username using IMAP AUTHENTICATE # :1 -> *scenario time="2026-09-17T09:45:56Z" msg="User 'c4ef3574-f6ae-44a6-b797-0bbffb0d5912' created with " /server/backend time="2026-09-17T09:45:57Z" msg="User 'e4358fa1-a752-48a7-bd55-6838041c9e3d' created with " /server/backend time="2026-09-17T09:45:58Z" msg="Starting bridge" time="2026-09-17T09:45:58Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/024/config1896217590/grpcFocusServerConfig.json /service time="2026-09-17T09:45:58Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/024/cache77694861/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:45:58Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/024/cache77694861/notifications/notification_cache: no such file or directory" time="2026-09-17T09:45:58Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/024/data1733861287/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/024/data1733861287/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:45:58Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:45:58Z" msg="Starting IMAP server" time="2026-09-17T09:45:58Z" msg="Starting SMTP server" time="2026-09-17T09:45:58Z" msg="Starting service" time="2026-09-17T09:45:58Z" msg="Starting service" time="2026-09-17T09:45:58Z" msg="Starting poll service" time="2026-09-17T09:45:58Z" msg="Starting frontend service" time="2026-09-17T09:45:58Z" msg="Checking for updates" time="2026-09-17T09:45:58Z" msg="Loading users" /user time="2026-09-17T09:45:58Z" msg="Starting receiver service" time="2026-09-17T09:45:58Z" msg="Finished loading users" /user time="2026-09-17T09:45:58Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/024/config1896217590/grpcServerConfig.json time="2026-09-17T09:45:58Z" msg="gRPC server listening on /tmp/bridge0436" time="2026-09-17T09:45:58Z" msg="Frontend service started" time="2026-09-17T09:45:58Z" msg="Starting frontend client" time="2026-09-17T09:45:58Z" msg="Not monitoring parent PID" time="2026-09-17T09:45:58Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:45:58Z" msg="Frontend client started" time="2026-09-17T09:45:58Z" msg="Performing full user login" /user username="******** (7fcf8592)" time="2026-09-17T09:45:58Z" msg="Authorizing user for login" /user username="******** (7fcf8592)" time="2026-09-17T09:45:58Z" msg="200 OK: GET https://127.0.0.1:46171/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:45:58Z" msg="200 OK: POST https://127.0.0.1:46171/auth/v4/info" /manager time="2026-09-17T09:45:58Z" msg="200 OK: POST https://127.0.0.1:46171/auth/v4" /manager time="2026-09-17T09:45:58Z" msg="Logging in authorized user" /user userID=edf6c7ef-70e2-4ed6-aeef-9a5cb8e8816f time="2026-09-17T09:45:58Z" msg="Adding vault user" userID=edf6c7ef-70e2-4ed6-aeef-9a5cb8e8816f time="2026-09-17T09:45:58Z" msg="Creating new user" userID=edf6c7ef-70e2-4ed6-aeef-9a5cb8e8816f time="2026-09-17T09:45:58Z" msg="404 GET https://127.0.0.1:46171/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:45:58Z" msg="404 GET https://127.0.0.1:46171/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:45:58Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:46171/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:45:58Z" msg="Creating user object" authUID=22f871d3-3337-49b9-bae8-d14d85411808 numA numL userID=edf6c7ef-70e2-4ed6-aeef-9a5cb8e8816f time="2026-09-17T09:45:58Z" msg="200 OK: GET https://127.0.0.1:46171/core/v4/events/latest" /client userID=edf6c7ef-70e2-4ed6-aeef-9a5cb8e8816f time="2026-09-17T09:45:58Z" msg="Starting service Last EventID=Ag==" time="2026-09-17T09:45:58Z" msg="200 OK: GET https://127.0.0.1:46171/core/v4/settings" /client userID=edf6c7ef-70e2-4ed6-aeef-9a5cb8e8816f time="2026-09-17T09:45:58Z" msg="Registering user client, ID:edf6c7ef-70e2-4ed6-aeef-9a5cb8e8816f" time="2026-09-17T09:45:58Z" msg="Starting service main loop" time="2026-09-17T09:45:58Z" msg="Starting user identity service" numA time="2026-09-17T09:45:58Z" msg="Starting service main loop" time="2026-09-17T09:45:58Z" msg="Starting service main loop" time="2026-09-17T09:45:58Z" msg="200 OK: GET https://127.0.0.1:46171/core/v4/labels?T" /client userID=edf6c7ef-70e2-4ed6-aeef-9a5cb8e8816f time="2026-09-17T09:45:58Z" msg="200 OK: GET https://127.0.0.1:46171/core/v4/labels?T" /client userID=edf6c7ef-70e2-4ed6-aeef-9a5cb8e8816f time="2026-09-17T09:45:58Z" msg="200 OK: GET https://127.0.0.1:46171/core/v4/labels?T" /client userID=edf6c7ef-70e2-4ed6-aeef-9a5cb8e8816f time="2026-09-17T09:45:58Z" msg="Setting labels" labelIDs="[2 4 7 9 10 12 0 1 3 5 6 8]" time="2026-09-17T09:45:58Z" msg="Adding user to imap server" addrID=a3c7ad04-ceb0-4159-b4b3-5f1daaf3fc35 time="2026-09-17T09:45:58Z" msg="Creating new IMAP user" addrID=a3c7ad04-ceb0-4159-b4b3-5f1daaf3fc35 time="2026-09-17T09:45:58Z" msg="Setting gluon ID" addrID=a3c7ad04-ceb0-4159-b4b3-5f1daaf3fc35 gluonID=3a155a91-0f5e-4962-a082-49ec7b45dad2 userID=edf6c7ef-70e2-4ed6-aeef-9a5cb8e8816f time="2026-09-17T09:45:58Z" msg="Received mailbox message count" gluonID=3a155a91-0f5e-4962-a082-49ec7b45dad2 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:45:58Z" msg="Created new IMAP user" addrID=a3c7ad04-ceb0-4159-b4b3-5f1daaf3fc35 gluonID=3a155a91-0f5e-4962-a082-49ec7b45dad2 time="2026-09-17T09:45:58Z" msg="Validating Listener State" time="2026-09-17T09:45:58Z" time="2026-09-17T09:45:58Z" msg="Starting IMAP Service" time="2026-09-17T09:45:58Z" msg="Checking whether logged in user should re-sync. UserID:edf6c7ef-70e2-4ed6-aeef-9a5cb8e8816f" userID=edf6c7ef-70e2-4ed6-aeef-9a5cb8e8816f time="2026-09-17T09:45:58Z" msg="Sync triggered" time="2026-09-17T09:45:58Z" msg="Beginning user sync" start="2026-09-17 09:45:58.751958823 +0000 UTC m=+47.244261119" time="2026-09-17T09:45:58Z" msg="Performing full user login" /user username="******** (3b7cd8eb)" time="2026-09-17T09:45:58Z" msg="Authorizing user for login" /user username="******** (3b7cd8eb)" time="2026-09-17T09:45:58Z" msg="Syncing labels" time="2026-09-17T09:45:58Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=3a155a91-0f5e-4962-a082-49ec7b45dad2 time="2026-09-17T09:45:58Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=3a155a91-0f5e-4962-a082-49ec7b45dad2 time="2026-09-17T09:45:58Z" msg="Mailbox created" /user remoteMailboxID=12 userID=3a155a91-0f5e-4962-a082-49ec7b45dad2 time="2026-09-17T09:45:58Z" msg="Mailbox created" /user remoteMailboxID=0 userID=3a155a91-0f5e-4962-a082-49ec7b45dad2 time="2026-09-17T09:45:58Z" msg="Mailbox created" /user remoteMailboxID=5 userID=3a155a91-0f5e-4962-a082-49ec7b45dad2 time="2026-09-17T09:45:58Z" msg="Mailbox created" /user remoteMailboxID=10 userID=3a155a91-0f5e-4962-a082-49ec7b45dad2 time="2026-09-17T09:45:58Z" msg="Mailbox created" /user remoteMailboxID=3 userID=3a155a91-0f5e-4962-a082-49ec7b45dad2 time="2026-09-17T09:45:58Z" msg="Mailbox created" /user remoteMailboxID=6 userID=3a155a91-0f5e-4962-a082-49ec7b45dad2 time="2026-09-17T09:45:58Z" msg="Mailbox created" /user remoteMailboxID=8 userID=3a155a91-0f5e-4962-a082-49ec7b45dad2 time="2026-09-17T09:45:58Z" msg="Mailbox created" /user remoteMailboxID=4 userID=3a155a91-0f5e-4962-a082-49ec7b45dad2 time="2026-09-17T09:45:58Z" msg="Mailbox created" /user remoteMailboxID=7 userID=3a155a91-0f5e-4962-a082-49ec7b45dad2 time="2026-09-17T09:45:58Z" msg="Synced labels" time="2026-09-17T09:45:58Z" msg="200 OK: POST https://127.0.0.1:46171/auth/v4/info" /manager time="2026-09-17T09:45:58Z" msg="200 OK: GET https://127.0.0.1:46171/mail/v4/messages/count" /client userID=edf6c7ef-70e2-4ed6-aeef-9a5cb8e8816f time="2026-09-17T09:45:58Z" msg="Syncing messages" time="2026-09-17T09:45:58Z" msg="Job started" time="2026-09-17T09:45:58Z" msg="200 OK: POST https://127.0.0.1:46171/mail/v4/messages" /client userID=edf6c7ef-70e2-4ed6-aeef-9a5cb8e8816f time="2026-09-17T09:45:58Z" msg="Job finished" time="2026-09-17T09:45:58Z" msg="All child jobs completed" sync- time="2026-09-17T09:45:58Z" msg="Synced messages" time="2026-09-17T09:45:58Z" msg="Finished user sync" .510001ms time="2026-09-17T09:45:58Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:45:58Z" msg="Event loop reset" eventID="Ag==" time="2026-09-17T09:45:58Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 0} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:45:59Z" msg="200 OK: POST https://127.0.0.1:46171/auth/v4" /manager time="2026-09-17T09:45:59Z" msg="Logging in authorized user" /user userID=97ca2ca3-98a9-4a9c-bccb-75450e493f11 time="2026-09-17T09:45:59Z" msg="Adding vault user" userID=97ca2ca3-98a9-4a9c-bccb-75450e493f11 time="2026-09-17T09:45:59Z" msg="Creating new user" userID=97ca2ca3-98a9-4a9c-bccb-75450e493f11 time="2026-09-17T09:45:59Z" msg="404 GET https://127.0.0.1:46171/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:45:59Z" msg="404 GET https://127.0.0.1:46171/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:45:59Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:46171/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:45:59Z" msg="Creating user object" authUID=5db4609f-deb2-4d0e-95f3-dbde4f9b8417 numA numL userID=97ca2ca3-98a9-4a9c-bccb-75450e493f11 time="2026-09-17T09:45:59Z" msg="200 OK: GET https://127.0.0.1:46171/core/v4/events/latest" /client userID=97ca2ca3-98a9-4a9c-bccb-75450e493f11 time="2026-09-17T09:45:59Z" msg="Starting service Last EventID=AQ==" time="2026-09-17T09:45:59Z" msg="200 OK: GET https://127.0.0.1:46171/core/v4/settings" /client userID=97ca2ca3-98a9-4a9c-bccb-75450e493f11 time="2026-09-17T09:45:59Z" msg="Registering user client, ID:97ca2ca3-98a9-4a9c-bccb-75450e493f11" time="2026-09-17T09:45:59Z" msg="Starting user identity service" numA time="2026-09-17T09:45:59Z" msg="Starting service main loop" time="2026-09-17T09:45:59Z" msg="Starting service main loop" time="2026-09-17T09:45:59Z" msg="Starting service main loop" time="2026-09-17T09:45:59Z" msg="200 OK: GET https://127.0.0.1:46171/core/v4/labels?T" /client userID=97ca2ca3-98a9-4a9c-bccb-75450e493f11 time="2026-09-17T09:45:59Z" msg="200 OK: GET https://127.0.0.1:46171/core/v4/labels?T" /client userID=97ca2ca3-98a9-4a9c-bccb-75450e493f11 time="2026-09-17T09:45:59Z" msg="200 OK: GET https://127.0.0.1:46171/core/v4/labels?T" /client userID=97ca2ca3-98a9-4a9c-bccb-75450e493f11 time="2026-09-17T09:45:59Z" msg="Setting labels" labelIDs="[0 1 3 5 6 8 9 10 2 4 7 12]" time="2026-09-17T09:45:59Z" msg="Adding user to imap server" addrID=99f5b04f-e276-4144-9bf0-79d5a37bf951 time="2026-09-17T09:45:59Z" msg="Creating new IMAP user" addrID=99f5b04f-e276-4144-9bf0-79d5a37bf951 time="2026-09-17T09:45:59Z" msg="Setting gluon ID" addrID=99f5b04f-e276-4144-9bf0-79d5a37bf951 gluonID=0fb322c7-0d71-46c6-a1e2-dbd9caedb0ad userID=97ca2ca3-98a9-4a9c-bccb-75450e493f11 time="2026-09-17T09:45:59Z" msg="Received mailbox message count" gluonID=0fb322c7-0d71-46c6-a1e2-dbd9caedb0ad labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:45:59Z" msg="Created new IMAP user" addrID=99f5b04f-e276-4144-9bf0-79d5a37bf951 gluonID=0fb322c7-0d71-46c6-a1e2-dbd9caedb0ad time="2026-09-17T09:45:59Z" msg="Validating Listener State" time="2026-09-17T09:45:59Z" time="2026-09-17T09:45:59Z" msg="Starting IMAP Service" time="2026-09-17T09:45:59Z" msg="Checking whether logged in user should re-sync. UserID:97ca2ca3-98a9-4a9c-bccb-75450e493f11" userID=97ca2ca3-98a9-4a9c-bccb-75450e493f11 time="2026-09-17T09:45:59Z" msg="Sync triggered" time="2026-09-17T09:45:59Z" msg="Beginning user sync" start="2026-09-17 09:45:59.189179409 +0000 UTC m=+47.681481785" Scenario: IMAP client cannot authenticate with bad password # features/imap/auth.feature:42 When user "c4ef3574-f6ae-44a6-b797-0bbffb0d5912" connects IMAP client "1" # :1 -> *scenario time="2026-09-17T09:45:59Z" msg="Command failed" cmd="LOGIN '/qphWrKDodTw4JsCfLYIsobPz8jBN0HGoYasW+um3iM=' " error="no such user" /session time="2026-09-17T09:45:59Z" msg="Incorrect login credentials." sessionID=1 @proton.local time="2026-09-17T09:45:59Z" msg="Syncing labels" time="2026-09-17T09:45:59Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=0fb322c7-0d71-46c6-a1e2-dbd9caedb0ad time="2026-09-17T09:45:59Z" msg="Frontend service stopped" time="2026-09-17T09:45:59Z" msg="Frontend client stopped" time="2026-09-17T09:45:59Z" msg="Closing bridge" time="2026-09-17T09:45:59Z" msg="Stopping service" time="2026-09-17T09:45:59Z" msg="Closing user" userID=edf6c7ef-70e2-4ed6-aeef-9a5cb8e8816f time="2026-09-17T09:45:59Z" msg="De-registering user client, ID:edf6c7ef-70e2-4ed6-aeef-9a5cb8e8816f" time="2026-09-17T09:45:59Z" msg="Exiting IMAP Service" time="2026-09-17T09:45:59Z" msg="Exiting service main loop" time="2026-09-17T09:45:59Z" msg="Exiting service main loop" time="2026-09-17T09:45:59Z" msg="Exiting Service" time="2026-09-17T09:45:59Z" msg="Exiting service main loop" time="2026-09-17T09:45:59Z" msg="Exiting service" time="2026-09-17T09:45:59Z" msg="Closing user" userID=97ca2ca3-98a9-4a9c-bccb-75450e493f11 time="2026-09-17T09:45:59Z" msg="De-registering user client, ID:97ca2ca3-98a9-4a9c-bccb-75450e493f11" time="2026-09-17T09:45:59Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=0fb322c7-0d71-46c6-a1e2-dbd9caedb0ad time="2026-09-17T09:45:59Z" msg="Synced labels" time="2026-09-17T09:45:59Z" msg="Get \"https://127.0.0.1:46171/mail/v4/messages/count\": context canceled, Attempt 1" /client time="2026-09-17T09:45:59Z" msg="Get \"https://127.0.0.1:46171/mail/v4/messages/count\": context canceled" /client time="2026-09-17T09:45:59Z" msg="Failed to sync, will retry later" error="failed to retrieve message ids: received no response from API: Get \"https://127.0.0.1:46171/mail/v4/messages/count\": context canceled" time="2026-09-17T09:45:59Z" msg="Sync aborted" error="context canceled" time="2026-09-17T09:45:59Z" msg="Finished user sync" .581935ms time="2026-09-17T09:45:59Z" msg="Exiting IMAP Service" time="2026-09-17T09:45:59Z" msg="Exiting service main loop" time="2026-09-17T09:45:59Z" msg="Exiting service main loop" time="2026-09-17T09:45:59Z" msg="Exiting Service" time="2026-09-17T09:45:59Z" msg="Exiting service main loop" time="2026-09-17T09:45:59Z" msg="Exiting service" time="2026-09-17T09:45:59Z" msg="Closing IMAP Listener" time="2026-09-17T09:45:59Z" msg="Closing IMAP server" time="2026-09-17T09:45:59Z" msg="Mailbox created" /user remoteMailboxID=3 userID=0fb322c7-0d71-46c6-a1e2-dbd9caedb0ad time="2026-09-17T09:45:59Z" msg="Mailbox created" /user remoteMailboxID=5 userID=0fb322c7-0d71-46c6-a1e2-dbd9caedb0ad time="2026-09-17T09:45:59Z" msg="Closing SMTP Listener" time="2026-09-17T09:45:59Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:45:59Z" msg="Closing SMTP server" time="2026-09-17T09:45:59Z" msg="Closing service" Then IMAP client "1" cannot authenticate with incorrect password # :1 -> *scenario time="2026-09-17T09:45:59Z" msg="User 'ad2682e5-455b-480b-9bce-e82769b4d4d8' created with " /server/backend time="2026-09-17T09:46:00Z" msg="User 'f561da05-f0fa-40d6-8161-c91c2f9fb0c9' created with " /server/backend time="2026-09-17T09:46:00Z" msg="Starting bridge" time="2026-09-17T09:46:00Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/025/config2082055801/grpcFocusServerConfig.json /service time="2026-09-17T09:46:00Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/025/cache2645634221/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:46:00Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/025/cache2645634221/notifications/notification_cache: no such file or directory" time="2026-09-17T09:46:00Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/025/data2242400925/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/025/data2242400925/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:46:00Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:46:00Z" msg="Starting IMAP server" time="2026-09-17T09:46:00Z" msg="Starting SMTP server" time="2026-09-17T09:46:00Z" msg="Starting service" time="2026-09-17T09:46:00Z" msg="Starting service" time="2026-09-17T09:46:00Z" msg="Starting poll service" time="2026-09-17T09:46:00Z" msg="Loading users" /user time="2026-09-17T09:46:00Z" msg="Finished loading users" /user time="2026-09-17T09:46:00Z" msg="Starting frontend service" time="2026-09-17T09:46:00Z" msg="Checking for updates" time="2026-09-17T09:46:00Z" msg="Starting receiver service" time="2026-09-17T09:46:00Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/025/config2082055801/grpcServerConfig.json time="2026-09-17T09:46:00Z" msg="gRPC server listening on /tmp/bridge4343" time="2026-09-17T09:46:00Z" msg="Frontend service started" time="2026-09-17T09:46:00Z" msg="Starting frontend client" time="2026-09-17T09:46:00Z" msg="Not monitoring parent PID" time="2026-09-17T09:46:00Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:46:00Z" msg="200 OK: GET https://127.0.0.1:44025/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:46:00Z" msg="Frontend client started" time="2026-09-17T09:46:00Z" msg="Performing full user login" /user username="******** (0f77a156)" time="2026-09-17T09:46:00Z" msg="Authorizing user for login" /user username="******** (0f77a156)" time="2026-09-17T09:46:00Z" msg="200 OK: POST https://127.0.0.1:44025/auth/v4/info" /manager time="2026-09-17T09:46:01Z" msg="200 OK: POST https://127.0.0.1:44025/auth/v4" /manager time="2026-09-17T09:46:01Z" msg="Logging in authorized user" /user userID=9929eda6-da76-4908-8ef5-1440c2a7ca40 time="2026-09-17T09:46:01Z" msg="Adding vault user" userID=9929eda6-da76-4908-8ef5-1440c2a7ca40 time="2026-09-17T09:46:01Z" msg="Creating new user" userID=9929eda6-da76-4908-8ef5-1440c2a7ca40 time="2026-09-17T09:46:01Z" msg="404 GET https://127.0.0.1:44025/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:46:01Z" msg="404 GET https://127.0.0.1:44025/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:46:01Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:44025/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:46:01Z" msg="Creating user object" authUID=e1ff3378-9fcf-41ce-b068-c1b596a18633 numA numL userID=9929eda6-da76-4908-8ef5-1440c2a7ca40 time="2026-09-17T09:46:01Z" msg="200 OK: GET https://127.0.0.1:44025/core/v4/events/latest" /client userID=9929eda6-da76-4908-8ef5-1440c2a7ca40 time="2026-09-17T09:46:01Z" msg="Starting service Last EventID=Ag==" time="2026-09-17T09:46:01Z" msg="200 OK: GET https://127.0.0.1:44025/core/v4/settings" /client userID=9929eda6-da76-4908-8ef5-1440c2a7ca40 time="2026-09-17T09:46:01Z" msg="Registering user client, ID:9929eda6-da76-4908-8ef5-1440c2a7ca40" time="2026-09-17T09:46:01Z" msg="Starting user identity service" numA time="2026-09-17T09:46:01Z" msg="Starting service main loop" time="2026-09-17T09:46:01Z" msg="Starting service main loop" time="2026-09-17T09:46:01Z" msg="Starting service main loop" time="2026-09-17T09:46:01Z" msg="200 OK: GET https://127.0.0.1:44025/core/v4/labels?T" /client userID=9929eda6-da76-4908-8ef5-1440c2a7ca40 time="2026-09-17T09:46:01Z" msg="200 OK: GET https://127.0.0.1:44025/core/v4/labels?T" /client userID=9929eda6-da76-4908-8ef5-1440c2a7ca40 time="2026-09-17T09:46:01Z" msg="200 OK: GET https://127.0.0.1:44025/core/v4/labels?T" /client userID=9929eda6-da76-4908-8ef5-1440c2a7ca40 time="2026-09-17T09:46:01Z" msg="Setting labels" labelIDs="[6 8 10 0 1 3 4 7 9 12 2 5]" time="2026-09-17T09:46:01Z" msg="Adding user to imap server" addrID=be54db9c-9a60-41fa-bfcd-320ac3c29d90 time="2026-09-17T09:46:01Z" msg="Creating new IMAP user" addrID=be54db9c-9a60-41fa-bfcd-320ac3c29d90 time="2026-09-17T09:46:01Z" msg="Setting gluon ID" addrID=be54db9c-9a60-41fa-bfcd-320ac3c29d90 gluonID=99298597-eff7-41b3-a562-1f64bdb0c5c5 userID=9929eda6-da76-4908-8ef5-1440c2a7ca40 time="2026-09-17T09:46:01Z" msg="Received mailbox message count" gluonID=99298597-eff7-41b3-a562-1f64bdb0c5c5 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:46:01Z" msg="Created new IMAP user" addrID=be54db9c-9a60-41fa-bfcd-320ac3c29d90 gluonID=99298597-eff7-41b3-a562-1f64bdb0c5c5 time="2026-09-17T09:46:01Z" msg="Validating Listener State" time="2026-09-17T09:46:01Z" time="2026-09-17T09:46:01Z" msg="Starting IMAP Service" time="2026-09-17T09:46:01Z" msg="Checking whether logged in user should re-sync. UserID:9929eda6-da76-4908-8ef5-1440c2a7ca40" userID=9929eda6-da76-4908-8ef5-1440c2a7ca40 time="2026-09-17T09:46:01Z" msg="Sync triggered" time="2026-09-17T09:46:01Z" msg="Beginning user sync" start="2026-09-17 09:46:01.357474938 +0000 UTC m=+49.849777234" time="2026-09-17T09:46:01Z" msg="Performing full user login" /user username="******** (e5b9efbb)" time="2026-09-17T09:46:01Z" msg="Authorizing user for login" /user username="******** (e5b9efbb)" time="2026-09-17T09:46:01Z" msg="Syncing labels" time="2026-09-17T09:46:01Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=99298597-eff7-41b3-a562-1f64bdb0c5c5 time="2026-09-17T09:46:01Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=99298597-eff7-41b3-a562-1f64bdb0c5c5 time="2026-09-17T09:46:01Z" msg="Mailbox created" /user remoteMailboxID=6 userID=99298597-eff7-41b3-a562-1f64bdb0c5c5 time="2026-09-17T09:46:01Z" msg="Mailbox created" /user remoteMailboxID=8 userID=99298597-eff7-41b3-a562-1f64bdb0c5c5 time="2026-09-17T09:46:01Z" msg="Mailbox created" /user remoteMailboxID=10 userID=99298597-eff7-41b3-a562-1f64bdb0c5c5 time="2026-09-17T09:46:01Z" msg="Mailbox created" /user remoteMailboxID=0 userID=99298597-eff7-41b3-a562-1f64bdb0c5c5 time="2026-09-17T09:46:01Z" msg="Mailbox created" /user remoteMailboxID=3 userID=99298597-eff7-41b3-a562-1f64bdb0c5c5 time="2026-09-17T09:46:01Z" msg="Mailbox created" /user remoteMailboxID=4 userID=99298597-eff7-41b3-a562-1f64bdb0c5c5 time="2026-09-17T09:46:01Z" msg="Mailbox created" /user remoteMailboxID=12 userID=99298597-eff7-41b3-a562-1f64bdb0c5c5 time="2026-09-17T09:46:01Z" msg="Mailbox created" /user remoteMailboxID=7 userID=99298597-eff7-41b3-a562-1f64bdb0c5c5 time="2026-09-17T09:46:01Z" msg="Mailbox created" /user remoteMailboxID=5 userID=99298597-eff7-41b3-a562-1f64bdb0c5c5 time="2026-09-17T09:46:01Z" msg="Synced labels" time="2026-09-17T09:46:01Z" msg="200 OK: GET https://127.0.0.1:44025/mail/v4/messages/count" /client userID=9929eda6-da76-4908-8ef5-1440c2a7ca40 time="2026-09-17T09:46:01Z" msg="200 OK: POST https://127.0.0.1:44025/auth/v4/info" /manager time="2026-09-17T09:46:01Z" msg="Syncing messages" time="2026-09-17T09:46:01Z" msg="Job started" time="2026-09-17T09:46:01Z" msg="200 OK: POST https://127.0.0.1:44025/mail/v4/messages" /client userID=9929eda6-da76-4908-8ef5-1440c2a7ca40 time="2026-09-17T09:46:01Z" msg="Job finished" time="2026-09-17T09:46:01Z" msg="All child jobs completed" sync- time="2026-09-17T09:46:01Z" msg="Synced messages" time="2026-09-17T09:46:01Z" msg="Finished user sync" .087883ms time="2026-09-17T09:46:01Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:46:01Z" msg="Event loop reset" eventID="Ag==" time="2026-09-17T09:46:01Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 1} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:46:01Z" msg="200 OK: POST https://127.0.0.1:44025/auth/v4" /manager time="2026-09-17T09:46:01Z" msg="Logging in authorized user" /user userID=2a180fdf-b21c-4f1f-883f-116867b51d18 time="2026-09-17T09:46:01Z" msg="Adding vault user" userID=2a180fdf-b21c-4f1f-883f-116867b51d18 time="2026-09-17T09:46:01Z" msg="Creating new user" userID=2a180fdf-b21c-4f1f-883f-116867b51d18 time="2026-09-17T09:46:01Z" msg="404 GET https://127.0.0.1:44025/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:46:01Z" msg="404 GET https://127.0.0.1:44025/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:46:01Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:44025/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:46:01Z" msg="Creating user object" authUID=b2521b35-d34f-4de0-b2d3-dac678ad90dd numA numL userID=2a180fdf-b21c-4f1f-883f-116867b51d18 time="2026-09-17T09:46:01Z" msg="200 OK: GET https://127.0.0.1:44025/core/v4/events/latest" /client userID=2a180fdf-b21c-4f1f-883f-116867b51d18 time="2026-09-17T09:46:01Z" msg="Starting service Last EventID=AQ==" time="2026-09-17T09:46:01Z" msg="200 OK: GET https://127.0.0.1:44025/core/v4/settings" /client userID=2a180fdf-b21c-4f1f-883f-116867b51d18 time="2026-09-17T09:46:01Z" msg="Registering user client, ID:2a180fdf-b21c-4f1f-883f-116867b51d18" time="2026-09-17T09:46:01Z" msg="Starting service main loop" time="2026-09-17T09:46:01Z" msg="Starting user identity service" numA time="2026-09-17T09:46:01Z" msg="Starting service main loop" time="2026-09-17T09:46:01Z" msg="Starting service main loop" time="2026-09-17T09:46:01Z" msg="200 OK: GET https://127.0.0.1:44025/core/v4/labels?T" /client userID=2a180fdf-b21c-4f1f-883f-116867b51d18 time="2026-09-17T09:46:01Z" msg="200 OK: GET https://127.0.0.1:44025/core/v4/labels?T" /client userID=2a180fdf-b21c-4f1f-883f-116867b51d18 time="2026-09-17T09:46:01Z" msg="200 OK: GET https://127.0.0.1:44025/core/v4/labels?T" /client userID=2a180fdf-b21c-4f1f-883f-116867b51d18 time="2026-09-17T09:46:01Z" msg="Setting labels" labelIDs="[3 6 8 10 1 4 5 7 9 12 0 2]" time="2026-09-17T09:46:01Z" msg="Adding user to imap server" addrID=a50bc6d4-83af-41e0-bb38-036fc4968df2 time="2026-09-17T09:46:01Z" msg="Creating new IMAP user" addrID=a50bc6d4-83af-41e0-bb38-036fc4968df2 time="2026-09-17T09:46:01Z" msg="Setting gluon ID" addrID=a50bc6d4-83af-41e0-bb38-036fc4968df2 gluonID=a81b3208-74c2-413c-81e3-70f66a7472c7 userID=2a180fdf-b21c-4f1f-883f-116867b51d18 time="2026-09-17T09:46:01Z" msg="Received mailbox message count" gluonID=a81b3208-74c2-413c-81e3-70f66a7472c7 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:46:01Z" msg="Created new IMAP user" addrID=a50bc6d4-83af-41e0-bb38-036fc4968df2 gluonID=a81b3208-74c2-413c-81e3-70f66a7472c7 time="2026-09-17T09:46:01Z" msg="Validating Listener State" time="2026-09-17T09:46:01Z" time="2026-09-17T09:46:01Z" msg="Starting IMAP Service" time="2026-09-17T09:46:01Z" msg="Checking whether logged in user should re-sync. UserID:2a180fdf-b21c-4f1f-883f-116867b51d18" userID=2a180fdf-b21c-4f1f-883f-116867b51d18 time="2026-09-17T09:46:01Z" msg="Sync triggered" time="2026-09-17T09:46:01Z" msg="Beginning user sync" start="2026-09-17 09:46:01.797987218 +0000 UTC m=+50.290289514" Scenario: IMAP client cannot authenticate with bad password using IMAP AUTHENTICATE # features/imap/auth.feature:46 When user "ad2682e5-455b-480b-9bce-e82769b4d4d8" connects IMAP client "1" # :1 -> *scenario time="2026-09-17T09:46:01Z" msg="Syncing labels" time="2026-09-17T09:46:01Z" msg="Command failed" cmd="AUTHENTICATE " error="no such user" /session time="2026-09-17T09:46:01Z" msg="Incorrect login credentials." sessionID=1 @proton.local time="2026-09-17T09:46:01Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=a81b3208-74c2-413c-81e3-70f66a7472c7 time="2026-09-17T09:46:01Z" msg="Frontend service stopped" time="2026-09-17T09:46:01Z" msg="Frontend client stopped" time="2026-09-17T09:46:01Z" msg="Closing bridge" time="2026-09-17T09:46:01Z" msg="Stopping service" time="2026-09-17T09:46:01Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=a81b3208-74c2-413c-81e3-70f66a7472c7 time="2026-09-17T09:46:01Z" msg="Closing user" userID=9929eda6-da76-4908-8ef5-1440c2a7ca40 time="2026-09-17T09:46:01Z" msg="De-registering user client, ID:9929eda6-da76-4908-8ef5-1440c2a7ca40" time="2026-09-17T09:46:01Z" msg="Exiting IMAP Service" time="2026-09-17T09:46:01Z" msg="Exiting service main loop" time="2026-09-17T09:46:01Z" msg="Exiting service main loop" time="2026-09-17T09:46:01Z" msg="Exiting Service" time="2026-09-17T09:46:01Z" msg="Exiting service main loop" time="2026-09-17T09:46:01Z" msg="Exiting service" time="2026-09-17T09:46:01Z" msg="Closing user" userID=2a180fdf-b21c-4f1f-883f-116867b51d18 time="2026-09-17T09:46:01Z" msg="De-registering user client, ID:2a180fdf-b21c-4f1f-883f-116867b51d18" time="2026-09-17T09:46:01Z" msg="Synced labels" time="2026-09-17T09:46:01Z" msg="Mailbox created" /user remoteMailboxID=3 userID=a81b3208-74c2-413c-81e3-70f66a7472c7 time="2026-09-17T09:46:01Z" msg="Get \"https://127.0.0.1:44025/mail/v4/messages/count\": context canceled, Attempt 1" /client time="2026-09-17T09:46:01Z" msg="Get \"https://127.0.0.1:44025/mail/v4/messages/count\": context canceled" /client time="2026-09-17T09:46:01Z" msg="Failed to sync, will retry later" error="failed to retrieve message ids: received no response from API: Get \"https://127.0.0.1:44025/mail/v4/messages/count\": context canceled" time="2026-09-17T09:46:01Z" msg="Sync aborted" error="context canceled" time="2026-09-17T09:46:01Z" msg="Finished user sync" .420335ms time="2026-09-17T09:46:01Z" msg="Exiting IMAP Service" time="2026-09-17T09:46:01Z" msg="Exiting service main loop" time="2026-09-17T09:46:01Z" msg="Exiting service main loop" time="2026-09-17T09:46:01Z" msg="Exiting Service" time="2026-09-17T09:46:01Z" msg="Exiting service main loop" time="2026-09-17T09:46:01Z" msg="Exiting service" time="2026-09-17T09:46:01Z" msg="Closing IMAP Listener" time="2026-09-17T09:46:01Z" msg="Closing IMAP server" time="2026-09-17T09:46:01Z" msg="Mailbox created" /user remoteMailboxID=6 userID=a81b3208-74c2-413c-81e3-70f66a7472c7 time="2026-09-17T09:46:01Z" msg="Mailbox created" /user remoteMailboxID=8 userID=a81b3208-74c2-413c-81e3-70f66a7472c7 time="2026-09-17T09:46:01Z" msg="Closing SMTP Listener" time="2026-09-17T09:46:01Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:46:01Z" msg="Closing SMTP server" time="2026-09-17T09:46:01Z" msg="Closing service" Then IMAP client "1" cannot authenticate with incorrect password using IMAP AUTHENTICATE # :1 -> *scenario time="2026-09-17T09:46:02Z" msg="User 'e369cd81-ea40-4fda-b085-ac0e2f26db11' created with " /server/backend time="2026-09-17T09:46:02Z" msg="User '84ad3d7e-f65c-440a-a699-9215631a7912' created with " /server/backend time="2026-09-17T09:46:03Z" msg="Starting bridge" time="2026-09-17T09:46:03Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/026/config2377229825/grpcFocusServerConfig.json /service time="2026-09-17T09:46:03Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/026/cache3527401499/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:46:03Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/026/cache3527401499/notifications/notification_cache: no such file or directory" time="2026-09-17T09:46:03Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/026/data1816132054/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/026/data1816132054/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:46:03Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:46:03Z" msg="Starting IMAP server" time="2026-09-17T09:46:03Z" msg="Starting SMTP server" time="2026-09-17T09:46:03Z" msg="Starting service" time="2026-09-17T09:46:03Z" msg="Starting service" time="2026-09-17T09:46:03Z" msg="Starting receiver service" time="2026-09-17T09:46:03Z" msg="Starting frontend service" time="2026-09-17T09:46:03Z" msg="Checking for updates" time="2026-09-17T09:46:03Z" msg="Loading users" /user time="2026-09-17T09:46:03Z" msg="Starting poll service" time="2026-09-17T09:46:03Z" msg="Finished loading users" /user time="2026-09-17T09:46:03Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/026/config2377229825/grpcServerConfig.json time="2026-09-17T09:46:03Z" msg="gRPC server listening on /tmp/bridge7002" time="2026-09-17T09:46:03Z" msg="Frontend service started" time="2026-09-17T09:46:03Z" msg="Starting frontend client" time="2026-09-17T09:46:03Z" msg="Not monitoring parent PID" time="2026-09-17T09:46:03Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:46:03Z" msg="200 OK: GET https://127.0.0.1:40437/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:46:03Z" msg="Frontend client started" time="2026-09-17T09:46:03Z" msg="Performing full user login" /user username="******** (5abae96f)" time="2026-09-17T09:46:03Z" msg="Authorizing user for login" /user username="******** (5abae96f)" time="2026-09-17T09:46:03Z" msg="200 OK: POST https://127.0.0.1:40437/auth/v4/info" /manager time="2026-09-17T09:46:03Z" msg="200 OK: POST https://127.0.0.1:40437/auth/v4" /manager time="2026-09-17T09:46:03Z" msg="Logging in authorized user" /user userID=c2716bb4-d4e8-4a9e-ad96-9d1afa8082ea time="2026-09-17T09:46:03Z" msg="Adding vault user" userID=c2716bb4-d4e8-4a9e-ad96-9d1afa8082ea time="2026-09-17T09:46:03Z" msg="Creating new user" userID=c2716bb4-d4e8-4a9e-ad96-9d1afa8082ea time="2026-09-17T09:46:03Z" msg="404 GET https://127.0.0.1:40437/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:46:03Z" msg="404 GET https://127.0.0.1:40437/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:46:03Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:40437/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:46:03Z" msg="Creating user object" authUID=e8c2e95c-b461-40f4-8a2a-81f9ca0da2cd numA numL userID=c2716bb4-d4e8-4a9e-ad96-9d1afa8082ea time="2026-09-17T09:46:03Z" msg="200 OK: GET https://127.0.0.1:40437/core/v4/events/latest" /client userID=c2716bb4-d4e8-4a9e-ad96-9d1afa8082ea time="2026-09-17T09:46:03Z" msg="Starting service Last EventID=Ag==" time="2026-09-17T09:46:03Z" msg="200 OK: GET https://127.0.0.1:40437/core/v4/settings" /client userID=c2716bb4-d4e8-4a9e-ad96-9d1afa8082ea time="2026-09-17T09:46:03Z" msg="Registering user client, ID:c2716bb4-d4e8-4a9e-ad96-9d1afa8082ea" time="2026-09-17T09:46:03Z" msg="Starting service main loop" time="2026-09-17T09:46:03Z" msg="Starting service main loop" time="2026-09-17T09:46:03Z" msg="Starting user identity service" numA time="2026-09-17T09:46:03Z" msg="Starting service main loop" time="2026-09-17T09:46:03Z" msg="200 OK: GET https://127.0.0.1:40437/core/v4/labels?T" /client userID=c2716bb4-d4e8-4a9e-ad96-9d1afa8082ea time="2026-09-17T09:46:03Z" msg="200 OK: GET https://127.0.0.1:40437/core/v4/labels?T" /client userID=c2716bb4-d4e8-4a9e-ad96-9d1afa8082ea time="2026-09-17T09:46:03Z" msg="200 OK: GET https://127.0.0.1:40437/core/v4/labels?T" /client userID=c2716bb4-d4e8-4a9e-ad96-9d1afa8082ea time="2026-09-17T09:46:03Z" msg="Setting labels" labelIDs="[1 2 3 5 8 0 4 6 7 9 10 12]" time="2026-09-17T09:46:03Z" msg="Adding user to imap server" addrID=88bcbb75-0ad4-4841-8b9d-4cd43db201fd time="2026-09-17T09:46:03Z" msg="Creating new IMAP user" addrID=88bcbb75-0ad4-4841-8b9d-4cd43db201fd time="2026-09-17T09:46:03Z" msg="Setting gluon ID" addrID=88bcbb75-0ad4-4841-8b9d-4cd43db201fd gluonID=9bb1a8d7-76a3-4071-9d4b-54f1f62cb4e7 userID=c2716bb4-d4e8-4a9e-ad96-9d1afa8082ea time="2026-09-17T09:46:03Z" msg="Created new IMAP user" addrID=88bcbb75-0ad4-4841-8b9d-4cd43db201fd gluonID=9bb1a8d7-76a3-4071-9d4b-54f1f62cb4e7 time="2026-09-17T09:46:03Z" msg="Validating Listener State" time="2026-09-17T09:46:03Z" time="2026-09-17T09:46:03Z" msg="Received mailbox message count" gluonID=9bb1a8d7-76a3-4071-9d4b-54f1f62cb4e7 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:46:03Z" msg="Checking whether logged in user should re-sync. UserID:c2716bb4-d4e8-4a9e-ad96-9d1afa8082ea" userID=c2716bb4-d4e8-4a9e-ad96-9d1afa8082ea time="2026-09-17T09:46:03Z" msg="Starting IMAP Service" time="2026-09-17T09:46:03Z" msg="Performing full user login" /user username="******** (16314712)" time="2026-09-17T09:46:03Z" msg="Authorizing user for login" /user username="******** (16314712)" time="2026-09-17T09:46:03Z" msg="Sync triggered" time="2026-09-17T09:46:03Z" msg="Beginning user sync" start="2026-09-17 09:46:03.962858695 +0000 UTC m=+52.455161031" time="2026-09-17T09:46:03Z" msg="Syncing labels" time="2026-09-17T09:46:03Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=9bb1a8d7-76a3-4071-9d4b-54f1f62cb4e7 time="2026-09-17T09:46:03Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=9bb1a8d7-76a3-4071-9d4b-54f1f62cb4e7 time="2026-09-17T09:46:03Z" msg="Mailbox created" /user remoteMailboxID=7 userID=9bb1a8d7-76a3-4071-9d4b-54f1f62cb4e7 time="2026-09-17T09:46:03Z" msg="Mailbox created" /user remoteMailboxID=10 userID=9bb1a8d7-76a3-4071-9d4b-54f1f62cb4e7 time="2026-09-17T09:46:03Z" msg="Mailbox created" /user remoteMailboxID=3 userID=9bb1a8d7-76a3-4071-9d4b-54f1f62cb4e7 time="2026-09-17T09:46:03Z" msg="Mailbox created" /user remoteMailboxID=5 userID=9bb1a8d7-76a3-4071-9d4b-54f1f62cb4e7 time="2026-09-17T09:46:03Z" msg="Mailbox created" /user remoteMailboxID=8 userID=9bb1a8d7-76a3-4071-9d4b-54f1f62cb4e7 time="2026-09-17T09:46:03Z" msg="Mailbox created" /user remoteMailboxID=4 userID=9bb1a8d7-76a3-4071-9d4b-54f1f62cb4e7 time="2026-09-17T09:46:03Z" msg="Mailbox created" /user remoteMailboxID=12 userID=9bb1a8d7-76a3-4071-9d4b-54f1f62cb4e7 time="2026-09-17T09:46:03Z" msg="Mailbox created" /user remoteMailboxID=0 userID=9bb1a8d7-76a3-4071-9d4b-54f1f62cb4e7 time="2026-09-17T09:46:03Z" msg="Mailbox created" /user remoteMailboxID=6 userID=9bb1a8d7-76a3-4071-9d4b-54f1f62cb4e7 time="2026-09-17T09:46:03Z" msg="Synced labels" time="2026-09-17T09:46:03Z" msg="200 OK: POST https://127.0.0.1:40437/auth/v4/info" /manager time="2026-09-17T09:46:03Z" msg="200 OK: GET https://127.0.0.1:40437/mail/v4/messages/count" /client userID=c2716bb4-d4e8-4a9e-ad96-9d1afa8082ea time="2026-09-17T09:46:03Z" msg="Syncing messages" time="2026-09-17T09:46:03Z" msg="Job started" time="2026-09-17T09:46:03Z" msg="200 OK: POST https://127.0.0.1:40437/mail/v4/messages" /client userID=c2716bb4-d4e8-4a9e-ad96-9d1afa8082ea time="2026-09-17T09:46:03Z" msg="Job finished" time="2026-09-17T09:46:03Z" msg="All child jobs completed" sync- time="2026-09-17T09:46:03Z" msg="Synced messages" time="2026-09-17T09:46:03Z" msg="Finished user sync" .477716ms time="2026-09-17T09:46:03Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:46:03Z" msg="Event loop reset" eventID="Ag==" time="2026-09-17T09:46:04Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 3} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:46:04Z" msg="200 OK: POST https://127.0.0.1:40437/auth/v4" /manager time="2026-09-17T09:46:04Z" msg="Logging in authorized user" /user userID=2b7d3a83-de82-4a94-9346-b2e6cbc146f4 time="2026-09-17T09:46:04Z" msg="Adding vault user" userID=2b7d3a83-de82-4a94-9346-b2e6cbc146f4 time="2026-09-17T09:46:04Z" msg="Creating new user" userID=2b7d3a83-de82-4a94-9346-b2e6cbc146f4 time="2026-09-17T09:46:04Z" msg="404 GET https://127.0.0.1:40437/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:46:04Z" msg="404 GET https://127.0.0.1:40437/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:46:04Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:40437/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:46:04Z" msg="Creating user object" authUID=b7d76872-777b-425b-876a-1c32b027c899 numA numL userID=2b7d3a83-de82-4a94-9346-b2e6cbc146f4 time="2026-09-17T09:46:04Z" msg="200 OK: GET https://127.0.0.1:40437/core/v4/events/latest" /client userID=2b7d3a83-de82-4a94-9346-b2e6cbc146f4 time="2026-09-17T09:46:04Z" msg="Starting service Last EventID=AQ==" time="2026-09-17T09:46:04Z" msg="200 OK: GET https://127.0.0.1:40437/core/v4/settings" /client userID=2b7d3a83-de82-4a94-9346-b2e6cbc146f4 time="2026-09-17T09:46:04Z" msg="Registering user client, ID:2b7d3a83-de82-4a94-9346-b2e6cbc146f4" time="2026-09-17T09:46:04Z" msg="Starting service main loop" time="2026-09-17T09:46:04Z" msg="Starting user identity service" numA time="2026-09-17T09:46:04Z" msg="Starting service main loop" time="2026-09-17T09:46:04Z" msg="200 OK: GET https://127.0.0.1:40437/core/v4/labels?T" /client userID=2b7d3a83-de82-4a94-9346-b2e6cbc146f4 time="2026-09-17T09:46:04Z" msg="Starting service main loop" time="2026-09-17T09:46:04Z" msg="200 OK: GET https://127.0.0.1:40437/core/v4/labels?T" /client userID=2b7d3a83-de82-4a94-9346-b2e6cbc146f4 time="2026-09-17T09:46:04Z" msg="200 OK: GET https://127.0.0.1:40437/core/v4/labels?T" /client userID=2b7d3a83-de82-4a94-9346-b2e6cbc146f4 time="2026-09-17T09:46:04Z" msg="Setting labels" labelIDs="[5 6 7 9 10 1 2 3 4 8 12 0]" time="2026-09-17T09:46:04Z" msg="Adding user to imap server" addrID=4d8e2be2-b88d-4fe5-87d2-5d66100c006f time="2026-09-17T09:46:04Z" msg="Creating new IMAP user" addrID=4d8e2be2-b88d-4fe5-87d2-5d66100c006f time="2026-09-17T09:46:04Z" msg="Setting gluon ID" addrID=4d8e2be2-b88d-4fe5-87d2-5d66100c006f gluonID=bc5a1dfa-efa3-47a5-84dc-d64bd70f4982 userID=2b7d3a83-de82-4a94-9346-b2e6cbc146f4 time="2026-09-17T09:46:04Z" msg="Received mailbox message count" gluonID=bc5a1dfa-efa3-47a5-84dc-d64bd70f4982 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:46:04Z" msg="Created new IMAP user" addrID=4d8e2be2-b88d-4fe5-87d2-5d66100c006f gluonID=bc5a1dfa-efa3-47a5-84dc-d64bd70f4982 time="2026-09-17T09:46:04Z" msg="Validating Listener State" time="2026-09-17T09:46:04Z" time="2026-09-17T09:46:04Z" msg="Checking whether logged in user should re-sync. UserID:2b7d3a83-de82-4a94-9346-b2e6cbc146f4" userID=2b7d3a83-de82-4a94-9346-b2e6cbc146f4 time="2026-09-17T09:46:04Z" msg="Starting IMAP Service" time="2026-09-17T09:46:04Z" msg="Logging out user" /user userID=c2716bb4-d4e8-4a9e-ad96-9d1afa8082ea time="2026-09-17T09:46:04Z" msg="Logging out user" userID=c2716bb4-d4e8-4a9e-ad96-9d1afa8082ea withAPI=true withD time="2026-09-17T09:46:04Z" msg="Sync triggered" time="2026-09-17T09:46:04Z" msg="Beginning user sync" start="2026-09-17 09:46:04.39520774 +0000 UTC m=+52.887510036" time="2026-09-17T09:46:04Z" msg="Validating Listener State" time="2026-09-17T09:46:04Z" msg="De-registering user client, ID:c2716bb4-d4e8-4a9e-ad96-9d1afa8082ea" time="2026-09-17T09:46:04Z" msg="Exiting IMAP Service" time="2026-09-17T09:46:04Z" msg="Exiting service main loop" time="2026-09-17T09:46:04Z" msg="Exiting service main loop" time="2026-09-17T09:46:04Z" msg="Exiting Service" time="2026-09-17T09:46:04Z" msg="Exiting service main loop" time="2026-09-17T09:46:04Z" msg="Syncing labels" time="2026-09-17T09:46:04Z" msg="Exiting service" time="2026-09-17T09:46:04Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=bc5a1dfa-efa3-47a5-84dc-d64bd70f4982 time="2026-09-17T09:46:04Z" msg="200 OK: DELETE https://127.0.0.1:40437/auth/v4" /client userID=c2716bb4-d4e8-4a9e-ad96-9d1afa8082ea time="2026-09-17T09:46:04Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=bc5a1dfa-efa3-47a5-84dc-d64bd70f4982 time="2026-09-17T09:46:04Z" msg="Closing user" userID=c2716bb4-d4e8-4a9e-ad96-9d1afa8082ea time="2026-09-17T09:46:04Z" msg="De-registering user client, ID:c2716bb4-d4e8-4a9e-ad96-9d1afa8082ea" Scenario: IMAP client cannot authenticate for disconnected user # features/imap/auth.feature:50 When user "e369cd81-ea40-4fda-b085-ac0e2f26db11" logs out # :1 -> *scenario time="2026-09-17T09:46:04Z" msg="Mailbox created" /user remoteMailboxID=5 userID=bc5a1dfa-efa3-47a5-84dc-d64bd70f4982 time="2026-09-17T09:46:04Z" msg="Mailbox created" /user remoteMailboxID=6 userID=bc5a1dfa-efa3-47a5-84dc-d64bd70f4982 And user "e369cd81-ea40-4fda-b085-ac0e2f26db11" connects IMAP client "1" # :1 -> *scenario time="2026-09-17T09:46:04Z" msg="Mailbox created" /user remoteMailboxID=10 userID=bc5a1dfa-efa3-47a5-84dc-d64bd70f4982 time="2026-09-17T09:46:04Z" msg="Command failed" cmd="LOGIN 'W8y2gkGeeXS0rWKKDO9iEi9QFYrr8Ls2diKfGZV3mmU=' " error="no such user" /session time="2026-09-17T09:46:04Z" msg="Incorrect login credentials." sessionID=1 @proton.local time="2026-09-17T09:46:04Z" msg="Mailbox created" /user remoteMailboxID=4 userID=bc5a1dfa-efa3-47a5-84dc-d64bd70f4982 time="2026-09-17T09:46:04Z" msg="Mailbox created" /user remoteMailboxID=12 userID=bc5a1dfa-efa3-47a5-84dc-d64bd70f4982 time="2026-09-17T09:46:04Z" msg="Frontend service stopped" time="2026-09-17T09:46:04Z" msg="Frontend client stopped" time="2026-09-17T09:46:04Z" msg="Closing bridge" time="2026-09-17T09:46:04Z" msg="Stopping service" time="2026-09-17T09:46:04Z" msg="Closing user" userID=2b7d3a83-de82-4a94-9346-b2e6cbc146f4 time="2026-09-17T09:46:04Z" msg="De-registering user client, ID:2b7d3a83-de82-4a94-9346-b2e6cbc146f4" time="2026-09-17T09:46:04Z" msg="Mailbox created" /user remoteMailboxID=7 userID=bc5a1dfa-efa3-47a5-84dc-d64bd70f4982 time="2026-09-17T09:46:04Z" msg="Synced labels" time="2026-09-17T09:46:04Z" msg="Get \"https://127.0.0.1:40437/mail/v4/messages/count\": context canceled, Attempt 1" /client time="2026-09-17T09:46:04Z" msg="Get \"https://127.0.0.1:40437/mail/v4/messages/count\": context canceled" /client time="2026-09-17T09:46:04Z" msg="Failed to sync, will retry later" error="failed to retrieve message ids: received no response from API: Get \"https://127.0.0.1:40437/mail/v4/messages/count\": context canceled" time="2026-09-17T09:46:04Z" msg="Sync aborted" error="context canceled" time="2026-09-17T09:46:04Z" msg="Finished user sync" .990506ms time="2026-09-17T09:46:04Z" msg="Exiting IMAP Service" time="2026-09-17T09:46:04Z" msg="Mailbox created" /user remoteMailboxID=3 userID=bc5a1dfa-efa3-47a5-84dc-d64bd70f4982 time="2026-09-17T09:46:04Z" msg="Exiting service main loop" time="2026-09-17T09:46:04Z" msg="Exiting service main loop" time="2026-09-17T09:46:04Z" msg="Exiting Service" time="2026-09-17T09:46:04Z" msg="Exiting service main loop" time="2026-09-17T09:46:04Z" msg="Exiting service" time="2026-09-17T09:46:04Z" msg="Closing IMAP Listener" time="2026-09-17T09:46:04Z" msg="Closing IMAP server" time="2026-09-17T09:46:04Z" msg="Mailbox created" /user remoteMailboxID=8 userID=bc5a1dfa-efa3-47a5-84dc-d64bd70f4982 time="2026-09-17T09:46:04Z" msg="Closing SMTP Listener" time="2026-09-17T09:46:04Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:46:04Z" msg="Closing SMTP server" time="2026-09-17T09:46:04Z" msg="Closing service" Then IMAP client "1" cannot authenticate # :1 -> *scenario time="2026-09-17T09:46:04Z" msg="User '7aba572f-f0db-4cff-9fcc-e5a6c4c0b080' created with " /server/backend time="2026-09-17T09:46:05Z" msg="User '91183da1-27c6-45a9-a94e-1754d354d9d6' created with " /server/backend time="2026-09-17T09:46:06Z" msg="Starting bridge" time="2026-09-17T09:46:06Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/027/config946179590/grpcFocusServerConfig.json /service time="2026-09-17T09:46:06Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/027/cache2518754254/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:46:06Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/027/cache2518754254/notifications/notification_cache: no such file or directory" time="2026-09-17T09:46:06Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/027/data1131525002/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/027/data1131525002/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:46:06Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:46:06Z" msg="Starting IMAP server" time="2026-09-17T09:46:06Z" msg="Starting SMTP server" time="2026-09-17T09:46:06Z" msg="Starting service" time="2026-09-17T09:46:06Z" msg="Starting service" time="2026-09-17T09:46:06Z" msg="Starting receiver service" time="2026-09-17T09:46:06Z" msg="Starting poll service" time="2026-09-17T09:46:06Z" msg="Loading users" /user time="2026-09-17T09:46:06Z" msg="Finished loading users" /user time="2026-09-17T09:46:06Z" msg="Checking for updates" time="2026-09-17T09:46:06Z" msg="Starting frontend service" time="2026-09-17T09:46:06Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/027/config946179590/grpcServerConfig.json time="2026-09-17T09:46:06Z" msg="gRPC server listening on /tmp/bridge5075" time="2026-09-17T09:46:06Z" msg="Frontend service started" time="2026-09-17T09:46:06Z" msg="Starting frontend client" time="2026-09-17T09:46:06Z" msg="Not monitoring parent PID" time="2026-09-17T09:46:06Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:46:06Z" msg="200 OK: GET https://127.0.0.1:44907/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:46:06Z" msg="Frontend client started" time="2026-09-17T09:46:06Z" msg="Performing full user login" /user username="******** (be3b5c53)" time="2026-09-17T09:46:06Z" msg="Authorizing user for login" /user username="******** (be3b5c53)" time="2026-09-17T09:46:06Z" msg="200 OK: POST https://127.0.0.1:44907/auth/v4/info" /manager time="2026-09-17T09:46:06Z" msg="200 OK: POST https://127.0.0.1:44907/auth/v4" /manager time="2026-09-17T09:46:06Z" msg="Logging in authorized user" /user userID=ec8a1341-1df2-4ef2-aaec-663e5d7171cd time="2026-09-17T09:46:06Z" msg="Adding vault user" userID=ec8a1341-1df2-4ef2-aaec-663e5d7171cd time="2026-09-17T09:46:06Z" msg="Creating new user" userID=ec8a1341-1df2-4ef2-aaec-663e5d7171cd time="2026-09-17T09:46:06Z" msg="404 GET https://127.0.0.1:44907/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:46:06Z" msg="404 GET https://127.0.0.1:44907/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:46:06Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:44907/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:46:06Z" msg="Creating user object" authUID=47c0250b-6d0e-4f90-96f3-004b0229361f numA numL userID=ec8a1341-1df2-4ef2-aaec-663e5d7171cd time="2026-09-17T09:46:06Z" msg="200 OK: GET https://127.0.0.1:44907/core/v4/events/latest" /client userID=ec8a1341-1df2-4ef2-aaec-663e5d7171cd time="2026-09-17T09:46:06Z" msg="Starting service Last EventID=Ag==" time="2026-09-17T09:46:06Z" msg="200 OK: GET https://127.0.0.1:44907/core/v4/settings" /client userID=ec8a1341-1df2-4ef2-aaec-663e5d7171cd time="2026-09-17T09:46:06Z" msg="Registering user client, ID:ec8a1341-1df2-4ef2-aaec-663e5d7171cd" time="2026-09-17T09:46:06Z" msg="Starting user identity service" numA time="2026-09-17T09:46:06Z" msg="Starting service main loop" time="2026-09-17T09:46:06Z" msg="Starting service main loop" time="2026-09-17T09:46:06Z" msg="Starting service main loop" time="2026-09-17T09:46:06Z" msg="200 OK: GET https://127.0.0.1:44907/core/v4/labels?T" /client userID=ec8a1341-1df2-4ef2-aaec-663e5d7171cd time="2026-09-17T09:46:06Z" msg="200 OK: GET https://127.0.0.1:44907/core/v4/labels?T" /client userID=ec8a1341-1df2-4ef2-aaec-663e5d7171cd time="2026-09-17T09:46:06Z" msg="200 OK: GET https://127.0.0.1:44907/core/v4/labels?T" /client userID=ec8a1341-1df2-4ef2-aaec-663e5d7171cd time="2026-09-17T09:46:06Z" msg="Setting labels" labelIDs="[5 9 12 3 6 7 8 10 0 1 2 4]" time="2026-09-17T09:46:06Z" msg="Adding user to imap server" addrID=c12bb980-efca-493c-810d-7e60517ba316 time="2026-09-17T09:46:06Z" msg="Creating new IMAP user" addrID=c12bb980-efca-493c-810d-7e60517ba316 time="2026-09-17T09:46:06Z" msg="Setting gluon ID" addrID=c12bb980-efca-493c-810d-7e60517ba316 gluonID=fc970db5-9152-49c0-ba63-47121f01be35 userID=ec8a1341-1df2-4ef2-aaec-663e5d7171cd time="2026-09-17T09:46:06Z" msg="Received mailbox message count" gluonID=fc970db5-9152-49c0-ba63-47121f01be35 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:46:06Z" msg="Created new IMAP user" addrID=c12bb980-efca-493c-810d-7e60517ba316 gluonID=fc970db5-9152-49c0-ba63-47121f01be35 time="2026-09-17T09:46:06Z" msg="Validating Listener State" time="2026-09-17T09:46:06Z" time="2026-09-17T09:46:06Z" msg="Starting IMAP Service" time="2026-09-17T09:46:06Z" msg="Checking whether logged in user should re-sync. UserID:ec8a1341-1df2-4ef2-aaec-663e5d7171cd" userID=ec8a1341-1df2-4ef2-aaec-663e5d7171cd time="2026-09-17T09:46:06Z" msg="Sync triggered" time="2026-09-17T09:46:06Z" msg="Performing full user login" /user username="******** (1f55b45a)" time="2026-09-17T09:46:06Z" msg="Beginning user sync" start="2026-09-17 09:46:06.551916183 +0000 UTC m=+55.044218479" time="2026-09-17T09:46:06Z" msg="Authorizing user for login" /user username="******** (1f55b45a)" time="2026-09-17T09:46:06Z" msg="Syncing labels" time="2026-09-17T09:46:06Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=fc970db5-9152-49c0-ba63-47121f01be35 time="2026-09-17T09:46:06Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=fc970db5-9152-49c0-ba63-47121f01be35 time="2026-09-17T09:46:06Z" msg="Mailbox created" /user remoteMailboxID=12 userID=fc970db5-9152-49c0-ba63-47121f01be35 time="2026-09-17T09:46:06Z" msg="Mailbox created" /user remoteMailboxID=3 userID=fc970db5-9152-49c0-ba63-47121f01be35 time="2026-09-17T09:46:06Z" msg="Mailbox created" /user remoteMailboxID=7 userID=fc970db5-9152-49c0-ba63-47121f01be35 time="2026-09-17T09:46:06Z" msg="Mailbox created" /user remoteMailboxID=0 userID=fc970db5-9152-49c0-ba63-47121f01be35 time="2026-09-17T09:46:06Z" msg="Mailbox created" /user remoteMailboxID=4 userID=fc970db5-9152-49c0-ba63-47121f01be35 time="2026-09-17T09:46:06Z" msg="Mailbox created" /user remoteMailboxID=5 userID=fc970db5-9152-49c0-ba63-47121f01be35 time="2026-09-17T09:46:06Z" msg="Mailbox created" /user remoteMailboxID=6 userID=fc970db5-9152-49c0-ba63-47121f01be35 time="2026-09-17T09:46:06Z" msg="Mailbox created" /user remoteMailboxID=8 userID=fc970db5-9152-49c0-ba63-47121f01be35 time="2026-09-17T09:46:06Z" msg="Mailbox created" /user remoteMailboxID=10 userID=fc970db5-9152-49c0-ba63-47121f01be35 time="2026-09-17T09:46:06Z" msg="Synced labels" time="2026-09-17T09:46:06Z" msg="200 OK: POST https://127.0.0.1:44907/auth/v4/info" /manager time="2026-09-17T09:46:06Z" msg="200 OK: GET https://127.0.0.1:44907/mail/v4/messages/count" /client userID=ec8a1341-1df2-4ef2-aaec-663e5d7171cd time="2026-09-17T09:46:06Z" msg="Syncing messages" time="2026-09-17T09:46:06Z" msg="Job started" time="2026-09-17T09:46:06Z" msg="200 OK: POST https://127.0.0.1:44907/mail/v4/messages" /client userID=ec8a1341-1df2-4ef2-aaec-663e5d7171cd time="2026-09-17T09:46:06Z" msg="Job finished" time="2026-09-17T09:46:06Z" msg="All child jobs completed" sync- time="2026-09-17T09:46:06Z" msg="Synced messages" time="2026-09-17T09:46:06Z" msg="Finished user sync" .762761ms time="2026-09-17T09:46:06Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:46:06Z" msg="Event loop reset" eventID="Ag==" time="2026-09-17T09:46:06Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 8} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:46:06Z" msg="200 OK: POST https://127.0.0.1:44907/auth/v4" /manager time="2026-09-17T09:46:06Z" msg="Logging in authorized user" /user userID=3fbc6383-1951-4332-bb15-7bafb74d1bc1 time="2026-09-17T09:46:06Z" msg="Adding vault user" userID=3fbc6383-1951-4332-bb15-7bafb74d1bc1 time="2026-09-17T09:46:06Z" msg="Creating new user" userID=3fbc6383-1951-4332-bb15-7bafb74d1bc1 time="2026-09-17T09:46:06Z" msg="404 GET https://127.0.0.1:44907/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:46:06Z" msg="404 GET https://127.0.0.1:44907/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:46:06Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:44907/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:46:06Z" msg="Creating user object" authUID=b7c2d688-cf29-4ba3-b6ad-43e08c2f250a numA numL userID=3fbc6383-1951-4332-bb15-7bafb74d1bc1 time="2026-09-17T09:46:06Z" msg="200 OK: GET https://127.0.0.1:44907/core/v4/events/latest" /client userID=3fbc6383-1951-4332-bb15-7bafb74d1bc1 time="2026-09-17T09:46:06Z" msg="Starting service Last EventID=AQ==" time="2026-09-17T09:46:06Z" msg="200 OK: GET https://127.0.0.1:44907/core/v4/settings" /client userID=3fbc6383-1951-4332-bb15-7bafb74d1bc1 time="2026-09-17T09:46:06Z" msg="Registering user client, ID:3fbc6383-1951-4332-bb15-7bafb74d1bc1" time="2026-09-17T09:46:06Z" msg="Starting user identity service" numA time="2026-09-17T09:46:06Z" msg="Starting service main loop" time="2026-09-17T09:46:06Z" msg="Starting service main loop" time="2026-09-17T09:46:06Z" msg="Starting service main loop" time="2026-09-17T09:46:06Z" msg="200 OK: GET https://127.0.0.1:44907/core/v4/labels?T" /client userID=3fbc6383-1951-4332-bb15-7bafb74d1bc1 time="2026-09-17T09:46:06Z" msg="200 OK: GET https://127.0.0.1:44907/core/v4/labels?T" /client userID=3fbc6383-1951-4332-bb15-7bafb74d1bc1 time="2026-09-17T09:46:06Z" msg="200 OK: GET https://127.0.0.1:44907/core/v4/labels?T" /client userID=3fbc6383-1951-4332-bb15-7bafb74d1bc1 time="2026-09-17T09:46:06Z" msg="Setting labels" labelIDs="[5 6 7 9 10 1 2 8 12 0 3 4]" time="2026-09-17T09:46:06Z" msg="Adding user to imap server" addrID=12f7b181-d0fb-4476-9e51-4183243877c2 time="2026-09-17T09:46:06Z" msg="Creating new IMAP user" addrID=12f7b181-d0fb-4476-9e51-4183243877c2 time="2026-09-17T09:46:06Z" msg="Setting gluon ID" addrID=12f7b181-d0fb-4476-9e51-4183243877c2 gluonID=98f864c9-d792-4903-8a0e-ea534303db13 userID=3fbc6383-1951-4332-bb15-7bafb74d1bc1 time="2026-09-17T09:46:06Z" msg="Received mailbox message count" gluonID=98f864c9-d792-4903-8a0e-ea534303db13 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:46:06Z" msg="Created new IMAP user" addrID=12f7b181-d0fb-4476-9e51-4183243877c2 gluonID=98f864c9-d792-4903-8a0e-ea534303db13 time="2026-09-17T09:46:06Z" msg="Validating Listener State" time="2026-09-17T09:46:06Z" time="2026-09-17T09:46:06Z" msg="Starting IMAP Service" time="2026-09-17T09:46:06Z" msg="Checking whether logged in user should re-sync. UserID:3fbc6383-1951-4332-bb15-7bafb74d1bc1" userID=3fbc6383-1951-4332-bb15-7bafb74d1bc1 time="2026-09-17T09:46:06Z" msg="Sync triggered" time="2026-09-17T09:46:06Z" msg="Beginning user sync" start="2026-09-17 09:46:06.990934977 +0000 UTC m=+55.483237273" time="2026-09-17T09:46:06Z" msg="Logging out user" /user userID=ec8a1341-1df2-4ef2-aaec-663e5d7171cd time="2026-09-17T09:46:06Z" msg="Logging out user" userID=ec8a1341-1df2-4ef2-aaec-663e5d7171cd withAPI=true withD time="2026-09-17T09:46:06Z" msg="Validating Listener State" time="2026-09-17T09:46:06Z" msg="De-registering user client, ID:ec8a1341-1df2-4ef2-aaec-663e5d7171cd" time="2026-09-17T09:46:06Z" msg="Exiting IMAP Service" time="2026-09-17T09:46:06Z" msg="Exiting service main loop" time="2026-09-17T09:46:06Z" msg="Exiting service main loop" time="2026-09-17T09:46:06Z" msg="Exiting Service" time="2026-09-17T09:46:06Z" msg="Exiting service main loop" time="2026-09-17T09:46:06Z" msg="Exiting service" time="2026-09-17T09:46:06Z" msg="Syncing labels" time="2026-09-17T09:46:06Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=98f864c9-d792-4903-8a0e-ea534303db13 time="2026-09-17T09:46:06Z" msg="200 OK: DELETE https://127.0.0.1:44907/auth/v4" /client userID=ec8a1341-1df2-4ef2-aaec-663e5d7171cd time="2026-09-17T09:46:06Z" msg="Closing user" userID=ec8a1341-1df2-4ef2-aaec-663e5d7171cd time="2026-09-17T09:46:06Z" msg="De-registering user client, ID:ec8a1341-1df2-4ef2-aaec-663e5d7171cd" time="2026-09-17T09:46:06Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=98f864c9-d792-4903-8a0e-ea534303db13 Scenario: IMAP client cannot authenticate using IMAP AUTHENTICATE for disconnected user # features/imap/auth.feature:55 When user "7aba572f-f0db-4cff-9fcc-e5a6c4c0b080" logs out # :1 -> *scenario time="2026-09-17T09:46:06Z" msg="Mailbox created" /user remoteMailboxID=0 userID=98f864c9-d792-4903-8a0e-ea534303db13 And user "7aba572f-f0db-4cff-9fcc-e5a6c4c0b080" connects IMAP client "1" # :1 -> *scenario time="2026-09-17T09:46:06Z" msg="Mailbox created" /user remoteMailboxID=8 userID=98f864c9-d792-4903-8a0e-ea534303db13 time="2026-09-17T09:46:06Z" msg="Command failed" cmd="AUTHENTICATE " error="no such user" /session time="2026-09-17T09:46:06Z" msg="Incorrect login credentials." sessionID=1 @proton.local time="2026-09-17T09:46:06Z" msg="Mailbox created" /user remoteMailboxID=12 userID=98f864c9-d792-4903-8a0e-ea534303db13 time="2026-09-17T09:46:06Z" msg="Frontend service stopped" time="2026-09-17T09:46:06Z" msg="Mailbox created" /user remoteMailboxID=3 userID=98f864c9-d792-4903-8a0e-ea534303db13 time="2026-09-17T09:46:06Z" msg="Frontend client stopped" time="2026-09-17T09:46:06Z" msg="Closing bridge" time="2026-09-17T09:46:06Z" msg="Stopping service" time="2026-09-17T09:46:06Z" msg="Closing user" userID=3fbc6383-1951-4332-bb15-7bafb74d1bc1 time="2026-09-17T09:46:06Z" msg="De-registering user client, ID:3fbc6383-1951-4332-bb15-7bafb74d1bc1" time="2026-09-17T09:46:06Z" msg="Synced labels" time="2026-09-17T09:46:06Z" msg="Get \"https://127.0.0.1:44907/mail/v4/messages/count\": context canceled, Attempt 1" /client time="2026-09-17T09:46:06Z" msg="Get \"https://127.0.0.1:44907/mail/v4/messages/count\": context canceled" /client time="2026-09-17T09:46:06Z" msg="Failed to sync, will retry later" error="failed to retrieve message ids: received no response from API: Get \"https://127.0.0.1:44907/mail/v4/messages/count\": context canceled" time="2026-09-17T09:46:06Z" msg="Sync aborted" error="context canceled" time="2026-09-17T09:46:06Z" msg="Finished user sync" .80747ms time="2026-09-17T09:46:06Z" msg="Exiting IMAP Service" time="2026-09-17T09:46:06Z" msg="Exiting service main loop" time="2026-09-17T09:46:06Z" msg="Exiting service main loop" time="2026-09-17T09:46:06Z" msg="Exiting Service" time="2026-09-17T09:46:06Z" msg="Exiting service main loop" time="2026-09-17T09:46:06Z" msg="Exiting service" time="2026-09-17T09:46:06Z" msg="Closing IMAP Listener" time="2026-09-17T09:46:06Z" msg="Closing IMAP server" time="2026-09-17T09:46:06Z" msg="Mailbox created" /user remoteMailboxID=4 userID=98f864c9-d792-4903-8a0e-ea534303db13 time="2026-09-17T09:46:06Z" msg="Closing SMTP Listener" time="2026-09-17T09:46:06Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:46:06Z" msg="Closing SMTP server" time="2026-09-17T09:46:06Z" msg="Closing service" Then IMAP client "1" cannot authenticate using IMAP AUTHENTICATE # :1 -> *scenario Feature: The IMAP ID is propagated to bridge time="2026-09-17T09:46:07Z" msg="User '8d61fcf3-b07e-4a48-afaf-e07bb57bb312' created with " /server/backend Background: Given there exists an account with username "8d61fcf3-b07e-4a48-afaf-e07bb57bb312" and password "password" # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:46:07Z" msg="Starting bridge" time="2026-09-17T09:46:07Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/028/config3448450361/grpcFocusServerConfig.json /service time="2026-09-17T09:46:07Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/028/cache3544304373/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:46:07Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/028/cache3544304373/notifications/notification_cache: no such file or directory" time="2026-09-17T09:46:07Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/028/data2551143248/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/028/data2551143248/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:46:07Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:46:07Z" msg="Starting IMAP server" time="2026-09-17T09:46:07Z" msg="Starting SMTP server" time="2026-09-17T09:46:07Z" msg="Starting service" time="2026-09-17T09:46:07Z" msg="Starting service" time="2026-09-17T09:46:07Z" msg="Starting receiver service" time="2026-09-17T09:46:07Z" msg="Starting poll service" time="2026-09-17T09:46:07Z" msg="Loading users" /user time="2026-09-17T09:46:07Z" msg="Finished loading users" /user time="2026-09-17T09:46:07Z" msg="Starting frontend service" time="2026-09-17T09:46:07Z" msg="Checking for updates" time="2026-09-17T09:46:07Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/028/config3448450361/grpcServerConfig.json time="2026-09-17T09:46:07Z" msg="gRPC server listening on /tmp/bridge5358" time="2026-09-17T09:46:07Z" msg="Frontend service started" time="2026-09-17T09:46:07Z" msg="Starting frontend client" time="2026-09-17T09:46:07Z" msg="Not monitoring parent PID" time="2026-09-17T09:46:07Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:46:07Z" msg="Frontend client started" When bridge starts # :1 -> *scenario time="2026-09-17T09:46:07Z" msg="200 OK: GET https://127.0.0.1:42741/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:46:07Z" msg="Performing full user login" /user username="******** (fbe57db0)" time="2026-09-17T09:46:07Z" msg="Authorizing user for login" /user username="******** (fbe57db0)" time="2026-09-17T09:46:07Z" msg="200 OK: POST https://127.0.0.1:42741/auth/v4/info" /manager time="2026-09-17T09:46:07Z" msg="200 OK: POST https://127.0.0.1:42741/auth/v4" /manager time="2026-09-17T09:46:07Z" msg="Logging in authorized user" /user userID=8d9d611c-435f-48b0-8cac-19fcc429228c time="2026-09-17T09:46:08Z" msg="Adding vault user" userID=8d9d611c-435f-48b0-8cac-19fcc429228c time="2026-09-17T09:46:08Z" msg="Creating new user" userID=8d9d611c-435f-48b0-8cac-19fcc429228c time="2026-09-17T09:46:08Z" msg="404 GET https://127.0.0.1:42741/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:46:08Z" msg="404 GET https://127.0.0.1:42741/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:46:08Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:42741/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:46:08Z" msg="Creating user object" authUID=a2fd9e43-66db-4ae5-8570-3601e3a63fce numA numL userID=8d9d611c-435f-48b0-8cac-19fcc429228c time="2026-09-17T09:46:08Z" msg="200 OK: GET https://127.0.0.1:42741/core/v4/events/latest" /client userID=8d9d611c-435f-48b0-8cac-19fcc429228c time="2026-09-17T09:46:08Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:46:08Z" msg="200 OK: GET https://127.0.0.1:42741/core/v4/settings" /client userID=8d9d611c-435f-48b0-8cac-19fcc429228c time="2026-09-17T09:46:08Z" msg="Registering user client, ID:8d9d611c-435f-48b0-8cac-19fcc429228c" time="2026-09-17T09:46:08Z" msg="Starting service main loop" time="2026-09-17T09:46:08Z" msg="Starting user identity service" numA time="2026-09-17T09:46:08Z" msg="Starting service main loop" time="2026-09-17T09:46:08Z" msg="Starting service main loop" time="2026-09-17T09:46:08Z" msg="200 OK: GET https://127.0.0.1:42741/core/v4/labels?T" /client userID=8d9d611c-435f-48b0-8cac-19fcc429228c time="2026-09-17T09:46:08Z" msg="200 OK: GET https://127.0.0.1:42741/core/v4/labels?T" /client userID=8d9d611c-435f-48b0-8cac-19fcc429228c time="2026-09-17T09:46:08Z" msg="200 OK: GET https://127.0.0.1:42741/core/v4/labels?T" /client userID=8d9d611c-435f-48b0-8cac-19fcc429228c time="2026-09-17T09:46:08Z" msg="Setting labels" labelIDs="[0 1 4 7 8 9 12 2 3 5 6 10]" time="2026-09-17T09:46:08Z" msg="Adding user to imap server" addrID=fed597bf-ebf4-465e-830f-3c37def07d5e time="2026-09-17T09:46:08Z" msg="Creating new IMAP user" addrID=fed597bf-ebf4-465e-830f-3c37def07d5e time="2026-09-17T09:46:08Z" msg="Setting gluon ID" addrID=fed597bf-ebf4-465e-830f-3c37def07d5e gluonID=f0cab69c-b425-4f36-ab75-798d039d30f4 userID=8d9d611c-435f-48b0-8cac-19fcc429228c time="2026-09-17T09:46:08Z" msg="Received mailbox message count" gluonID=f0cab69c-b425-4f36-ab75-798d039d30f4 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:46:08Z" msg="Created new IMAP user" addrID=fed597bf-ebf4-465e-830f-3c37def07d5e gluonID=f0cab69c-b425-4f36-ab75-798d039d30f4 time="2026-09-17T09:46:08Z" msg="Validating Listener State" time="2026-09-17T09:46:08Z" time="2026-09-17T09:46:08Z" msg="Starting IMAP Service" time="2026-09-17T09:46:08Z" msg="Checking whether logged in user should re-sync. UserID:8d9d611c-435f-48b0-8cac-19fcc429228c" userID=8d9d611c-435f-48b0-8cac-19fcc429228c And the user logs in with username "8d61fcf3-b07e-4a48-afaf-e07bb57bb312" and password "password" # :1 -> *scenario time="2026-09-17T09:46:08Z" msg="Sync triggered" time="2026-09-17T09:46:08Z" msg="Beginning user sync" start="2026-09-17 09:46:08.085810391 +0000 UTC m=+56.578112647" Then it succeeds # :1 -> *scenario time="2026-09-17T09:46:08Z" msg="Syncing labels" time="2026-09-17T09:46:08Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=f0cab69c-b425-4f36-ab75-798d039d30f4 time="2026-09-17T09:46:08Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=f0cab69c-b425-4f36-ab75-798d039d30f4 time="2026-09-17T09:46:08Z" msg="Mailbox created" /user remoteMailboxID=0 userID=f0cab69c-b425-4f36-ab75-798d039d30f4 time="2026-09-17T09:46:08Z" msg="Mailbox created" /user remoteMailboxID=4 userID=f0cab69c-b425-4f36-ab75-798d039d30f4 time="2026-09-17T09:46:08Z" msg="Mailbox created" /user remoteMailboxID=7 userID=f0cab69c-b425-4f36-ab75-798d039d30f4 time="2026-09-17T09:46:08Z" msg="Mailbox created" /user remoteMailboxID=3 userID=f0cab69c-b425-4f36-ab75-798d039d30f4 time="2026-09-17T09:46:08Z" msg="Mailbox created" /user remoteMailboxID=5 userID=f0cab69c-b425-4f36-ab75-798d039d30f4 time="2026-09-17T09:46:08Z" msg="Mailbox created" /user remoteMailboxID=6 userID=f0cab69c-b425-4f36-ab75-798d039d30f4 time="2026-09-17T09:46:08Z" msg="Mailbox created" /user remoteMailboxID=8 userID=f0cab69c-b425-4f36-ab75-798d039d30f4 time="2026-09-17T09:46:08Z" msg="Mailbox created" /user remoteMailboxID=12 userID=f0cab69c-b425-4f36-ab75-798d039d30f4 time="2026-09-17T09:46:08Z" msg="Mailbox created" /user remoteMailboxID=10 userID=f0cab69c-b425-4f36-ab75-798d039d30f4 time="2026-09-17T09:46:08Z" msg="Synced labels" time="2026-09-17T09:46:08Z" msg="200 OK: GET https://127.0.0.1:42741/mail/v4/messages/count" /client userID=8d9d611c-435f-48b0-8cac-19fcc429228c time="2026-09-17T09:46:08Z" msg="Syncing messages" time="2026-09-17T09:46:08Z" msg="Job started" time="2026-09-17T09:46:08Z" msg="200 OK: POST https://127.0.0.1:42741/mail/v4/messages" /client userID=8d9d611c-435f-48b0-8cac-19fcc429228c time="2026-09-17T09:46:08Z" msg="Job finished" time="2026-09-17T09:46:08Z" msg="All child jobs completed" sync- time="2026-09-17T09:46:08Z" msg="Synced messages" time="2026-09-17T09:46:08Z" msg="Finished user sync" .549606ms time="2026-09-17T09:46:08Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:46:08Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:46:08Z" msg="Frontend service stopped" time="2026-09-17T09:46:08Z" msg="Frontend client stopped" time="2026-09-17T09:46:08Z" msg="Closing bridge" time="2026-09-17T09:46:08Z" msg="Stopping service" time="2026-09-17T09:46:08Z" msg="Closing user" userID=8d9d611c-435f-48b0-8cac-19fcc429228c time="2026-09-17T09:46:08Z" msg="De-registering user client, ID:8d9d611c-435f-48b0-8cac-19fcc429228c" time="2026-09-17T09:46:08Z" msg="Exiting IMAP Service" time="2026-09-17T09:46:08Z" msg="Exiting service main loop" time="2026-09-17T09:46:08Z" msg="Exiting service main loop" time="2026-09-17T09:46:08Z" msg="Exiting Service" time="2026-09-17T09:46:08Z" msg="Exiting service main loop" time="2026-09-17T09:46:08Z" msg="Exiting service" time="2026-09-17T09:46:08Z" msg="Closing IMAP Listener" time="2026-09-17T09:46:08Z" msg="Closing IMAP server" time="2026-09-17T09:46:08Z" msg="Closing SMTP Listener" time="2026-09-17T09:46:08Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:46:08Z" msg="Closing SMTP server" time="2026-09-17T09:46:08Z" msg="Closing service" Scenario: Initial user agent before an IMAP client connects # features/imap/id.feature:9 Then the user agent is "NoClient/0.0.1 (linux)" # :1 -> *scenario time="2026-09-17T09:46:08Z" msg="User 'ed423425-059a-4d59-8a08-876323f68347' created with " /server/backend time="2026-09-17T09:46:08Z" msg="Starting bridge" time="2026-09-17T09:46:08Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/029/config3374832325/grpcFocusServerConfig.json /service time="2026-09-17T09:46:08Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/029/cache2219493584/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:46:08Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/029/cache2219493584/notifications/notification_cache: no such file or directory" time="2026-09-17T09:46:08Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/029/data3025798216/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/029/data3025798216/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:46:08Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:46:08Z" msg="Starting IMAP server" time="2026-09-17T09:46:08Z" msg="Starting SMTP server" time="2026-09-17T09:46:08Z" msg="Starting service" time="2026-09-17T09:46:08Z" msg="Starting service" time="2026-09-17T09:46:08Z" msg="Starting receiver service" time="2026-09-17T09:46:08Z" msg="Starting poll service" time="2026-09-17T09:46:08Z" msg="Checking for updates" time="2026-09-17T09:46:08Z" msg="Loading users" /user time="2026-09-17T09:46:08Z" msg="Starting frontend service" time="2026-09-17T09:46:08Z" msg="Finished loading users" /user time="2026-09-17T09:46:08Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/029/config3374832325/grpcServerConfig.json time="2026-09-17T09:46:08Z" msg="gRPC server listening on /tmp/bridge3299" time="2026-09-17T09:46:08Z" msg="Frontend service started" time="2026-09-17T09:46:08Z" msg="Starting frontend client" time="2026-09-17T09:46:08Z" msg="Not monitoring parent PID" time="2026-09-17T09:46:08Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:46:08Z" msg="Frontend client started" time="2026-09-17T09:46:08Z" msg="200 OK: GET https://127.0.0.1:35549/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:46:08Z" msg="Performing full user login" /user username="******** (44b27954)" time="2026-09-17T09:46:08Z" msg="Authorizing user for login" /user username="******** (44b27954)" time="2026-09-17T09:46:08Z" msg="200 OK: POST https://127.0.0.1:35549/auth/v4/info" /manager time="2026-09-17T09:46:09Z" msg="200 OK: POST https://127.0.0.1:35549/auth/v4" /manager time="2026-09-17T09:46:09Z" msg="Logging in authorized user" /user userID=957ca9dd-63ef-4caa-82d9-a5f70444e138 time="2026-09-17T09:46:09Z" msg="Adding vault user" userID=957ca9dd-63ef-4caa-82d9-a5f70444e138 time="2026-09-17T09:46:09Z" msg="Creating new user" userID=957ca9dd-63ef-4caa-82d9-a5f70444e138 time="2026-09-17T09:46:09Z" msg="404 GET https://127.0.0.1:35549/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:46:09Z" msg="404 GET https://127.0.0.1:35549/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:46:09Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:35549/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:46:09Z" msg="Creating user object" authUID=7f352048-ce5b-46db-b010-fff91e4d6517 numA numL userID=957ca9dd-63ef-4caa-82d9-a5f70444e138 time="2026-09-17T09:46:09Z" msg="200 OK: GET https://127.0.0.1:35549/core/v4/events/latest" /client userID=957ca9dd-63ef-4caa-82d9-a5f70444e138 time="2026-09-17T09:46:09Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:46:09Z" msg="200 OK: GET https://127.0.0.1:35549/core/v4/settings" /client userID=957ca9dd-63ef-4caa-82d9-a5f70444e138 time="2026-09-17T09:46:09Z" msg="Registering user client, ID:957ca9dd-63ef-4caa-82d9-a5f70444e138" time="2026-09-17T09:46:09Z" msg="Starting service main loop" time="2026-09-17T09:46:09Z" msg="Starting user identity service" numA time="2026-09-17T09:46:09Z" msg="Starting service main loop" time="2026-09-17T09:46:09Z" msg="Starting service main loop" time="2026-09-17T09:46:09Z" msg="200 OK: GET https://127.0.0.1:35549/core/v4/labels?T" /client userID=957ca9dd-63ef-4caa-82d9-a5f70444e138 time="2026-09-17T09:46:09Z" msg="200 OK: GET https://127.0.0.1:35549/core/v4/labels?T" /client userID=957ca9dd-63ef-4caa-82d9-a5f70444e138 time="2026-09-17T09:46:09Z" msg="200 OK: GET https://127.0.0.1:35549/core/v4/labels?T" /client userID=957ca9dd-63ef-4caa-82d9-a5f70444e138 time="2026-09-17T09:46:09Z" msg="Setting labels" labelIDs="[2 3 4 6 7 9 10 1 5 8 12 0]" time="2026-09-17T09:46:09Z" msg="Adding user to imap server" addrID=272b4ec2-6e1c-4ca0-8daf-eacd9e50575f time="2026-09-17T09:46:09Z" msg="Creating new IMAP user" addrID=272b4ec2-6e1c-4ca0-8daf-eacd9e50575f time="2026-09-17T09:46:09Z" msg="Setting gluon ID" addrID=272b4ec2-6e1c-4ca0-8daf-eacd9e50575f gluonID=dea948c2-9d53-4bf7-a954-6ff1cbf48ffb userID=957ca9dd-63ef-4caa-82d9-a5f70444e138 time="2026-09-17T09:46:09Z" msg="Received mailbox message count" gluonID=dea948c2-9d53-4bf7-a954-6ff1cbf48ffb labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:46:09Z" msg="Created new IMAP user" addrID=272b4ec2-6e1c-4ca0-8daf-eacd9e50575f gluonID=dea948c2-9d53-4bf7-a954-6ff1cbf48ffb time="2026-09-17T09:46:09Z" msg="Validating Listener State" time="2026-09-17T09:46:09Z" time="2026-09-17T09:46:09Z" msg="Starting IMAP Service" time="2026-09-17T09:46:09Z" msg="Checking whether logged in user should re-sync. UserID:957ca9dd-63ef-4caa-82d9-a5f70444e138" userID=957ca9dd-63ef-4caa-82d9-a5f70444e138 time="2026-09-17T09:46:09Z" msg="Sync triggered" time="2026-09-17T09:46:09Z" msg="Beginning user sync" start="2026-09-17 09:46:09.270555798 +0000 UTC m=+57.762858174" Scenario: User agent before an IMAP client announces its ID # features/imap/id.feature:12 When user "ed423425-059a-4d59-8a08-876323f68347" connects and authenticates IMAP client "1" # :1 -> *scenario time="2026-09-17T09:46:09Z" msg="Syncing labels" time="2026-09-17T09:46:09Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=dea948c2-9d53-4bf7-a954-6ff1cbf48ffb time="2026-09-17T09:46:09Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=dea948c2-9d53-4bf7-a954-6ff1cbf48ffb time="2026-09-17T09:46:09Z" msg="Mailbox created" /user remoteMailboxID=3 userID=dea948c2-9d53-4bf7-a954-6ff1cbf48ffb time="2026-09-17T09:46:09Z" msg="Mailbox created" /user remoteMailboxID=6 userID=dea948c2-9d53-4bf7-a954-6ff1cbf48ffb time="2026-09-17T09:46:09Z" msg="Mailbox created" /user remoteMailboxID=5 userID=dea948c2-9d53-4bf7-a954-6ff1cbf48ffb time="2026-09-17T09:46:09Z" msg="Mailbox created" /user remoteMailboxID=8 userID=dea948c2-9d53-4bf7-a954-6ff1cbf48ffb time="2026-09-17T09:46:09Z" msg="Mailbox created" /user remoteMailboxID=4 userID=dea948c2-9d53-4bf7-a954-6ff1cbf48ffb time="2026-09-17T09:46:09Z" msg="Mailbox created" /user remoteMailboxID=7 userID=dea948c2-9d53-4bf7-a954-6ff1cbf48ffb time="2026-09-17T09:46:09Z" msg="Mailbox created" /user remoteMailboxID=10 userID=dea948c2-9d53-4bf7-a954-6ff1cbf48ffb time="2026-09-17T09:46:09Z" msg="Mailbox created" /user remoteMailboxID=12 userID=dea948c2-9d53-4bf7-a954-6ff1cbf48ffb time="2026-09-17T09:46:09Z" msg="Mailbox created" /user remoteMailboxID=0 userID=dea948c2-9d53-4bf7-a954-6ff1cbf48ffb time="2026-09-17T09:46:09Z" msg="Synced labels" time="2026-09-17T09:46:09Z" msg="200 OK: GET https://127.0.0.1:35549/mail/v4/messages/count" /client userID=957ca9dd-63ef-4caa-82d9-a5f70444e138 time="2026-09-17T09:46:09Z" msg="Syncing messages" time="2026-09-17T09:46:09Z" msg="Job started" time="2026-09-17T09:46:09Z" msg="200 OK: POST https://127.0.0.1:35549/mail/v4/messages" /client userID=957ca9dd-63ef-4caa-82d9-a5f70444e138 time="2026-09-17T09:46:09Z" msg="Job finished" time="2026-09-17T09:46:09Z" msg="All child jobs completed" sync- time="2026-09-17T09:46:09Z" msg="Synced messages" time="2026-09-17T09:46:09Z" msg="Finished user sync" .371845ms time="2026-09-17T09:46:09Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:46:09Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:46:09Z" msg="Frontend service stopped" time="2026-09-17T09:46:09Z" msg="Frontend client stopped" time="2026-09-17T09:46:09Z" msg="Closing bridge" time="2026-09-17T09:46:09Z" msg="Stopping service" time="2026-09-17T09:46:09Z" msg="Closing user" userID=957ca9dd-63ef-4caa-82d9-a5f70444e138 time="2026-09-17T09:46:09Z" msg="De-registering user client, ID:957ca9dd-63ef-4caa-82d9-a5f70444e138" time="2026-09-17T09:46:09Z" msg="Exiting IMAP Service" time="2026-09-17T09:46:09Z" msg="Exiting service main loop" time="2026-09-17T09:46:09Z" msg="Exiting service main loop" time="2026-09-17T09:46:09Z" msg="Exiting Service" time="2026-09-17T09:46:09Z" msg="Exiting service main loop" time="2026-09-17T09:46:09Z" msg="Exiting service" time="2026-09-17T09:46:09Z" msg="Closing IMAP Listener" time="2026-09-17T09:46:09Z" msg="Closing IMAP server" time="2026-09-17T09:46:09Z" msg="Closing SMTP Listener" time="2026-09-17T09:46:09Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:46:09Z" msg="Closing SMTP server" time="2026-09-17T09:46:09Z" msg="Closing service" Then the user agent is "UnknownClient/0.0.1 (linux)" # :1 -> *scenario time="2026-09-17T09:46:09Z" msg="User '4f888152-24a2-43fa-b091-46126d2ce84b' created with " /server/backend time="2026-09-17T09:46:10Z" msg="Starting bridge" time="2026-09-17T09:46:10Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/030/config260623258/grpcFocusServerConfig.json /service time="2026-09-17T09:46:10Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/030/cache1804783507/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:46:10Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/030/cache1804783507/notifications/notification_cache: no such file or directory" time="2026-09-17T09:46:10Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/030/data2527871391/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/030/data2527871391/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:46:10Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:46:10Z" msg="Starting IMAP server" time="2026-09-17T09:46:10Z" msg="Starting SMTP server" time="2026-09-17T09:46:10Z" msg="Starting service" time="2026-09-17T09:46:10Z" msg="Starting service" time="2026-09-17T09:46:10Z" msg="Starting poll service" time="2026-09-17T09:46:10Z" msg="Starting receiver service" time="2026-09-17T09:46:10Z" msg="Starting frontend service" time="2026-09-17T09:46:10Z" msg="Loading users" /user time="2026-09-17T09:46:10Z" msg="Checking for updates" time="2026-09-17T09:46:10Z" msg="Finished loading users" /user time="2026-09-17T09:46:10Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/030/config260623258/grpcServerConfig.json time="2026-09-17T09:46:10Z" msg="gRPC server listening on /tmp/bridge8286" time="2026-09-17T09:46:10Z" msg="Frontend service started" time="2026-09-17T09:46:10Z" msg="Starting frontend client" time="2026-09-17T09:46:10Z" msg="Not monitoring parent PID" time="2026-09-17T09:46:10Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:46:10Z" msg="Frontend client started" time="2026-09-17T09:46:10Z" msg="Performing full user login" /user username="******** (eff04039)" time="2026-09-17T09:46:10Z" msg="Authorizing user for login" /user username="******** (eff04039)" time="2026-09-17T09:46:10Z" msg="200 OK: POST https://127.0.0.1:37509/auth/v4/info" /manager time="2026-09-17T09:46:10Z" msg="200 OK: POST https://127.0.0.1:37509/auth/v4" /manager time="2026-09-17T09:46:10Z" msg="Logging in authorized user" /user userID=32592e08-bb01-415b-8e06-9f9ffc37a8ab time="2026-09-17T09:46:10Z" msg="Adding vault user" userID=32592e08-bb01-415b-8e06-9f9ffc37a8ab time="2026-09-17T09:46:10Z" msg="Creating new user" userID=32592e08-bb01-415b-8e06-9f9ffc37a8ab time="2026-09-17T09:46:10Z" msg="404 GET https://127.0.0.1:37509/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:46:10Z" msg="404 GET https://127.0.0.1:37509/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:46:10Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:37509/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:46:10Z" msg="Creating user object" authUID=77ee2d09-9b88-4a0a-987c-0f8c9813ac45 numA numL userID=32592e08-bb01-415b-8e06-9f9ffc37a8ab time="2026-09-17T09:46:10Z" msg="200 OK: GET https://127.0.0.1:37509/core/v4/events/latest" /client userID=32592e08-bb01-415b-8e06-9f9ffc37a8ab time="2026-09-17T09:46:10Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:46:10Z" msg="200 OK: GET https://127.0.0.1:37509/core/v4/settings" /client userID=32592e08-bb01-415b-8e06-9f9ffc37a8ab time="2026-09-17T09:46:10Z" msg="Registering user client, ID:32592e08-bb01-415b-8e06-9f9ffc37a8ab" time="2026-09-17T09:46:10Z" msg="Starting service main loop" time="2026-09-17T09:46:10Z" msg="Starting user identity service" numA time="2026-09-17T09:46:10Z" msg="Starting service main loop" time="2026-09-17T09:46:10Z" msg="Starting service main loop" time="2026-09-17T09:46:10Z" msg="200 OK: GET https://127.0.0.1:37509/core/v4/labels?T" /client userID=32592e08-bb01-415b-8e06-9f9ffc37a8ab time="2026-09-17T09:46:10Z" msg="200 OK: GET https://127.0.0.1:37509/core/v4/labels?T" /client userID=32592e08-bb01-415b-8e06-9f9ffc37a8ab time="2026-09-17T09:46:10Z" msg="200 OK: GET https://127.0.0.1:37509/core/v4/labels?T" /client userID=32592e08-bb01-415b-8e06-9f9ffc37a8ab time="2026-09-17T09:46:10Z" msg="Setting labels" labelIDs="[9 10 12 0 2 4 5 1 3 6 7 8]" time="2026-09-17T09:46:10Z" msg="Adding user to imap server" addrID=ca0d5074-8519-4c0a-844c-791c977d1e49 time="2026-09-17T09:46:10Z" msg="Creating new IMAP user" addrID=ca0d5074-8519-4c0a-844c-791c977d1e49 time="2026-09-17T09:46:10Z" msg="Setting gluon ID" addrID=ca0d5074-8519-4c0a-844c-791c977d1e49 gluonID=163755a0-82f0-4d0f-b1e7-1638633621f6 userID=32592e08-bb01-415b-8e06-9f9ffc37a8ab time="2026-09-17T09:46:10Z" msg="Received mailbox message count" gluonID=163755a0-82f0-4d0f-b1e7-1638633621f6 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:46:10Z" msg="Created new IMAP user" addrID=ca0d5074-8519-4c0a-844c-791c977d1e49 gluonID=163755a0-82f0-4d0f-b1e7-1638633621f6 time="2026-09-17T09:46:10Z" msg="Validating Listener State" time="2026-09-17T09:46:10Z" time="2026-09-17T09:46:10Z" msg="Checking whether logged in user should re-sync. UserID:32592e08-bb01-415b-8e06-9f9ffc37a8ab" userID=32592e08-bb01-415b-8e06-9f9ffc37a8ab time="2026-09-17T09:46:10Z" msg="Starting IMAP Service" time="2026-09-17T09:46:10Z" msg="Sync triggered" time="2026-09-17T09:46:10Z" msg="Beginning user sync" start="2026-09-17 09:46:10.457304934 +0000 UTC m=+58.949607230" Scenario: User agent after an IMAP client announces its ID # features/imap/id.feature:16 When user "4f888152-24a2-43fa-b091-46126d2ce84b" connects IMAP client "1" # :1 -> *scenario time="2026-09-17T09:46:10Z" msg="Received IMAP ID" /event/imap sessionID=1 And IMAP client "1" announces its ID with name "name" and version "version" # :1 -> *scenario time="2026-09-17T09:46:10Z" msg="Syncing labels" time="2026-09-17T09:46:10Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=163755a0-82f0-4d0f-b1e7-1638633621f6 time="2026-09-17T09:46:10Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=163755a0-82f0-4d0f-b1e7-1638633621f6 time="2026-09-17T09:46:10Z" msg="Mailbox created" /user remoteMailboxID=10 userID=163755a0-82f0-4d0f-b1e7-1638633621f6 time="2026-09-17T09:46:10Z" msg="Mailbox created" /user remoteMailboxID=12 userID=163755a0-82f0-4d0f-b1e7-1638633621f6 time="2026-09-17T09:46:10Z" msg="Mailbox created" /user remoteMailboxID=0 userID=163755a0-82f0-4d0f-b1e7-1638633621f6 time="2026-09-17T09:46:10Z" msg="Mailbox created" /user remoteMailboxID=4 userID=163755a0-82f0-4d0f-b1e7-1638633621f6 time="2026-09-17T09:46:10Z" msg="Mailbox created" /user remoteMailboxID=6 userID=163755a0-82f0-4d0f-b1e7-1638633621f6 time="2026-09-17T09:46:10Z" msg="Mailbox created" /user remoteMailboxID=5 userID=163755a0-82f0-4d0f-b1e7-1638633621f6 time="2026-09-17T09:46:10Z" msg="Mailbox created" /user remoteMailboxID=3 userID=163755a0-82f0-4d0f-b1e7-1638633621f6 time="2026-09-17T09:46:10Z" msg="Mailbox created" /user remoteMailboxID=7 userID=163755a0-82f0-4d0f-b1e7-1638633621f6 time="2026-09-17T09:46:10Z" msg="Mailbox created" /user remoteMailboxID=8 userID=163755a0-82f0-4d0f-b1e7-1638633621f6 time="2026-09-17T09:46:10Z" msg="Synced labels" time="2026-09-17T09:46:10Z" msg="200 OK: GET https://127.0.0.1:37509/mail/v4/messages/count" /client userID=32592e08-bb01-415b-8e06-9f9ffc37a8ab time="2026-09-17T09:46:10Z" msg="Syncing messages" time="2026-09-17T09:46:10Z" msg="Job started" time="2026-09-17T09:46:10Z" msg="200 OK: POST https://127.0.0.1:37509/mail/v4/messages" /client userID=32592e08-bb01-415b-8e06-9f9ffc37a8ab time="2026-09-17T09:46:10Z" msg="Job finished" time="2026-09-17T09:46:10Z" msg="All child jobs completed" sync- time="2026-09-17T09:46:10Z" msg="Synced messages" time="2026-09-17T09:46:10Z" msg="Finished user sync" .670007ms time="2026-09-17T09:46:10Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:46:10Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:46:10Z" msg="Frontend service stopped" time="2026-09-17T09:46:10Z" msg="Frontend client stopped" time="2026-09-17T09:46:10Z" msg="Closing bridge" time="2026-09-17T09:46:10Z" msg="Stopping service" time="2026-09-17T09:46:10Z" msg="Closing user" userID=32592e08-bb01-415b-8e06-9f9ffc37a8ab time="2026-09-17T09:46:10Z" msg="De-registering user client, ID:32592e08-bb01-415b-8e06-9f9ffc37a8ab" time="2026-09-17T09:46:10Z" msg="Exiting IMAP Service" time="2026-09-17T09:46:10Z" msg="Exiting service main loop" time="2026-09-17T09:46:10Z" msg="Exiting service main loop" time="2026-09-17T09:46:10Z" msg="Exiting Service" time="2026-09-17T09:46:10Z" msg="Exiting service main loop" time="2026-09-17T09:46:10Z" msg="Exiting service" time="2026-09-17T09:46:10Z" msg="Closing IMAP Listener" time="2026-09-17T09:46:10Z" msg="Closing IMAP server" time="2026-09-17T09:46:10Z" msg="Closing SMTP Listener" time="2026-09-17T09:46:10Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:46:10Z" msg="Closing SMTP server" time="2026-09-17T09:46:10Z" msg="Closing service" Then the user agent is "name/version (linux)" # :1 -> *scenario time="2026-09-17T09:46:10Z" msg="User 'a04436f7-6e17-4a0e-be7b-07ba9be2a9f1' created with " /server/backend time="2026-09-17T09:46:11Z" msg="Starting bridge" time="2026-09-17T09:46:11Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/031/config3054565089/grpcFocusServerConfig.json /service time="2026-09-17T09:46:11Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/031/cache867375986/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:46:11Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/031/cache867375986/notifications/notification_cache: no such file or directory" time="2026-09-17T09:46:11Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/031/data2470058633/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/031/data2470058633/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:46:11Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:46:11Z" msg="Starting IMAP server" time="2026-09-17T09:46:11Z" msg="Starting SMTP server" time="2026-09-17T09:46:11Z" msg="Starting service" time="2026-09-17T09:46:11Z" msg="Starting service" time="2026-09-17T09:46:11Z" msg="Starting receiver service" time="2026-09-17T09:46:11Z" msg="Starting poll service" time="2026-09-17T09:46:11Z" msg="Starting frontend service" time="2026-09-17T09:46:11Z" msg="Loading users" /user time="2026-09-17T09:46:11Z" msg="Finished loading users" /user time="2026-09-17T09:46:11Z" msg="Checking for updates" time="2026-09-17T09:46:11Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/031/config3054565089/grpcServerConfig.json time="2026-09-17T09:46:11Z" msg="gRPC server listening on /tmp/bridge3718" time="2026-09-17T09:46:11Z" msg="Frontend service started" time="2026-09-17T09:46:11Z" msg="Starting frontend client" time="2026-09-17T09:46:11Z" msg="Not monitoring parent PID" time="2026-09-17T09:46:11Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:46:11Z" msg="200 OK: GET https://127.0.0.1:43987/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:46:11Z" msg="Frontend client started" time="2026-09-17T09:46:11Z" msg="Performing full user login" /user username="******** (32d0b275)" time="2026-09-17T09:46:11Z" msg="Authorizing user for login" /user username="******** (32d0b275)" time="2026-09-17T09:46:11Z" msg="200 OK: POST https://127.0.0.1:43987/auth/v4/info" /manager time="2026-09-17T09:46:11Z" msg="200 OK: POST https://127.0.0.1:43987/auth/v4" /manager time="2026-09-17T09:46:11Z" msg="Logging in authorized user" /user userID=faba65fb-12b7-48ce-a895-faf76903d3ec time="2026-09-17T09:46:11Z" msg="Adding vault user" userID=faba65fb-12b7-48ce-a895-faf76903d3ec time="2026-09-17T09:46:11Z" msg="Creating new user" userID=faba65fb-12b7-48ce-a895-faf76903d3ec time="2026-09-17T09:46:11Z" msg="404 GET https://127.0.0.1:43987/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:46:11Z" msg="404 GET https://127.0.0.1:43987/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:46:11Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:43987/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:46:11Z" msg="Creating user object" authUID=adffa7ae-f766-4168-9e3e-3e993a7cf7be numA numL userID=faba65fb-12b7-48ce-a895-faf76903d3ec time="2026-09-17T09:46:11Z" msg="200 OK: GET https://127.0.0.1:43987/core/v4/events/latest" /client userID=faba65fb-12b7-48ce-a895-faf76903d3ec time="2026-09-17T09:46:11Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:46:11Z" msg="200 OK: GET https://127.0.0.1:43987/core/v4/settings" /client userID=faba65fb-12b7-48ce-a895-faf76903d3ec time="2026-09-17T09:46:11Z" msg="Registering user client, ID:faba65fb-12b7-48ce-a895-faf76903d3ec" time="2026-09-17T09:46:11Z" msg="Starting service main loop" time="2026-09-17T09:46:11Z" msg="Starting user identity service" numA time="2026-09-17T09:46:11Z" msg="Starting service main loop" time="2026-09-17T09:46:11Z" msg="Starting service main loop" time="2026-09-17T09:46:11Z" msg="200 OK: GET https://127.0.0.1:43987/core/v4/labels?T" /client userID=faba65fb-12b7-48ce-a895-faf76903d3ec time="2026-09-17T09:46:11Z" msg="200 OK: GET https://127.0.0.1:43987/core/v4/labels?T" /client userID=faba65fb-12b7-48ce-a895-faf76903d3ec time="2026-09-17T09:46:11Z" msg="200 OK: GET https://127.0.0.1:43987/core/v4/labels?T" /client userID=faba65fb-12b7-48ce-a895-faf76903d3ec time="2026-09-17T09:46:11Z" msg="Setting labels" labelIDs="[1 6 7 8 12 2 3 4 5 9 10 0]" time="2026-09-17T09:46:11Z" msg="Adding user to imap server" addrID=1d1fdfa5-f32a-4f9d-978a-b12082093880 time="2026-09-17T09:46:11Z" msg="Creating new IMAP user" addrID=1d1fdfa5-f32a-4f9d-978a-b12082093880 time="2026-09-17T09:46:11Z" msg="Setting gluon ID" addrID=1d1fdfa5-f32a-4f9d-978a-b12082093880 gluonID=b4bb616a-89ff-484a-bfd9-ba2ba403212f userID=faba65fb-12b7-48ce-a895-faf76903d3ec time="2026-09-17T09:46:11Z" msg="Received mailbox message count" gluonID=b4bb616a-89ff-484a-bfd9-ba2ba403212f labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:46:11Z" msg="Created new IMAP user" addrID=1d1fdfa5-f32a-4f9d-978a-b12082093880 gluonID=b4bb616a-89ff-484a-bfd9-ba2ba403212f time="2026-09-17T09:46:11Z" msg="Validating Listener State" time="2026-09-17T09:46:11Z" time="2026-09-17T09:46:11Z" msg="Starting IMAP Service" time="2026-09-17T09:46:11Z" msg="Checking whether logged in user should re-sync. UserID:faba65fb-12b7-48ce-a895-faf76903d3ec" userID=faba65fb-12b7-48ce-a895-faf76903d3ec time="2026-09-17T09:46:11Z" msg="Sync triggered" time="2026-09-17T09:46:11Z" msg="Beginning user sync" start="2026-09-17 09:46:11.639932733 +0000 UTC m=+60.132235069" Scenario: User agent is used for API calls # features/imap/id.feature:21 When user "a04436f7-6e17-4a0e-be7b-07ba9be2a9f1" connects IMAP client "1" # :1 -> *scenario time="2026-09-17T09:46:11Z" msg="Received IMAP ID" /event/imap sessionID=1 And IMAP client "1" announces its ID with name "name" and version "version" # :1 -> *scenario time="2026-09-17T09:46:11Z" msg="Syncing labels" time="2026-09-17T09:46:11Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=b4bb616a-89ff-484a-bfd9-ba2ba403212f time="2026-09-17T09:46:11Z" msg="200 OK: POST https://127.0.0.1:43987/core/v4/reports/bug" /manager When the user reports a bug # :1 -> *scenario time="2026-09-17T09:46:11Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=b4bb616a-89ff-484a-bfd9-ba2ba403212f time="2026-09-17T09:46:11Z" msg="Frontend service stopped" time="2026-09-17T09:46:11Z" msg="Mailbox created" /user remoteMailboxID=4 userID=b4bb616a-89ff-484a-bfd9-ba2ba403212f time="2026-09-17T09:46:11Z" msg="Frontend client stopped" time="2026-09-17T09:46:11Z" msg="Closing bridge" time="2026-09-17T09:46:11Z" msg="Stopping service" time="2026-09-17T09:46:11Z" msg="Closing user" userID=faba65fb-12b7-48ce-a895-faf76903d3ec time="2026-09-17T09:46:11Z" msg="De-registering user client, ID:faba65fb-12b7-48ce-a895-faf76903d3ec" time="2026-09-17T09:46:11Z" msg="Synced labels" time="2026-09-17T09:46:11Z" msg="Get \"https://127.0.0.1:43987/mail/v4/messages/count\": context canceled, Attempt 1" /client time="2026-09-17T09:46:11Z" msg="Get \"https://127.0.0.1:43987/mail/v4/messages/count\": context canceled" /client time="2026-09-17T09:46:11Z" msg="Failed to sync, will retry later" error="failed to retrieve message ids: received no response from API: Get \"https://127.0.0.1:43987/mail/v4/messages/count\": context canceled" time="2026-09-17T09:46:11Z" msg="Sync aborted" error="context canceled" time="2026-09-17T09:46:11Z" msg="Finished user sync" .943817ms time="2026-09-17T09:46:11Z" msg="Exiting IMAP Service" time="2026-09-17T09:46:11Z" msg="Exiting service main loop" time="2026-09-17T09:46:11Z" msg="Exiting service main loop" time="2026-09-17T09:46:11Z" msg="Exiting Service" time="2026-09-17T09:46:11Z" msg="Exiting service main loop" time="2026-09-17T09:46:11Z" msg="Exiting service" time="2026-09-17T09:46:11Z" msg="Closing IMAP Listener" time="2026-09-17T09:46:11Z" msg="Closing IMAP server" time="2026-09-17T09:46:11Z" msg="Mailbox created" /user remoteMailboxID=10 userID=b4bb616a-89ff-484a-bfd9-ba2ba403212f time="2026-09-17T09:46:11Z" msg="Closing SMTP Listener" time="2026-09-17T09:46:11Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:46:11Z" msg="Closing SMTP server" time="2026-09-17T09:46:11Z" msg="Closing service" Then the header in the "POST" request to "/core/v4/reports/bug" has "User-Agent" set to "name/version (linux)" # :1 -> *scenario time="2026-09-17T09:46:11Z" msg="User '0489e500-cab5-4763-ba30-b900308a10d7' created with " /server/backend time="2026-09-17T09:46:12Z" msg="Starting bridge" time="2026-09-17T09:46:12Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/032/config2630643608/grpcFocusServerConfig.json /service time="2026-09-17T09:46:12Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/032/cache124150280/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:46:12Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/032/cache124150280/notifications/notification_cache: no such file or directory" time="2026-09-17T09:46:12Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/032/data2126582000/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/032/data2126582000/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:46:12Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:46:12Z" msg="Starting IMAP server" time="2026-09-17T09:46:12Z" msg="Starting SMTP server" time="2026-09-17T09:46:12Z" msg="Starting service" time="2026-09-17T09:46:12Z" msg="Starting service" time="2026-09-17T09:46:12Z" msg="Starting receiver service" time="2026-09-17T09:46:12Z" msg="Starting poll service" time="2026-09-17T09:46:12Z" msg="Checking for updates" time="2026-09-17T09:46:12Z" msg="Starting frontend service" time="2026-09-17T09:46:12Z" msg="Loading users" /user time="2026-09-17T09:46:12Z" msg="Finished loading users" /user time="2026-09-17T09:46:12Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/032/config2630643608/grpcServerConfig.json time="2026-09-17T09:46:12Z" msg="gRPC server listening on /tmp/bridge4115" time="2026-09-17T09:46:12Z" msg="Frontend service started" time="2026-09-17T09:46:12Z" msg="Starting frontend client" time="2026-09-17T09:46:12Z" msg="Not monitoring parent PID" time="2026-09-17T09:46:12Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:46:12Z" msg="200 OK: GET https://127.0.0.1:43669/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:46:12Z" msg="Frontend client started" time="2026-09-17T09:46:12Z" msg="Performing full user login" /user username="******** (cd3a67e5)" time="2026-09-17T09:46:12Z" msg="Authorizing user for login" /user username="******** (cd3a67e5)" time="2026-09-17T09:46:12Z" msg="200 OK: POST https://127.0.0.1:43669/auth/v4/info" /manager time="2026-09-17T09:46:12Z" msg="200 OK: POST https://127.0.0.1:43669/auth/v4" /manager time="2026-09-17T09:46:12Z" msg="Logging in authorized user" /user userID=4fc9da80-3121-468f-8d93-361a722a56d9 time="2026-09-17T09:46:12Z" msg="Adding vault user" userID=4fc9da80-3121-468f-8d93-361a722a56d9 time="2026-09-17T09:46:12Z" msg="Creating new user" userID=4fc9da80-3121-468f-8d93-361a722a56d9 time="2026-09-17T09:46:12Z" msg="404 GET https://127.0.0.1:43669/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:46:12Z" msg="404 GET https://127.0.0.1:43669/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:46:12Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:43669/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:46:12Z" msg="Creating user object" authUID=e845fb66-1aa0-4a59-b3b1-6de7c00c6644 numA numL userID=4fc9da80-3121-468f-8d93-361a722a56d9 time="2026-09-17T09:46:12Z" msg="200 OK: GET https://127.0.0.1:43669/core/v4/events/latest" /client userID=4fc9da80-3121-468f-8d93-361a722a56d9 time="2026-09-17T09:46:12Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:46:12Z" msg="200 OK: GET https://127.0.0.1:43669/core/v4/settings" /client userID=4fc9da80-3121-468f-8d93-361a722a56d9 time="2026-09-17T09:46:12Z" msg="Registering user client, ID:4fc9da80-3121-468f-8d93-361a722a56d9" time="2026-09-17T09:46:12Z" msg="Starting service main loop" time="2026-09-17T09:46:12Z" msg="Starting user identity service" numA time="2026-09-17T09:46:12Z" msg="Starting service main loop" time="2026-09-17T09:46:12Z" msg="Starting service main loop" time="2026-09-17T09:46:12Z" msg="200 OK: GET https://127.0.0.1:43669/core/v4/labels?T" /client userID=4fc9da80-3121-468f-8d93-361a722a56d9 time="2026-09-17T09:46:12Z" msg="200 OK: GET https://127.0.0.1:43669/core/v4/labels?T" /client userID=4fc9da80-3121-468f-8d93-361a722a56d9 time="2026-09-17T09:46:12Z" msg="200 OK: GET https://127.0.0.1:43669/core/v4/labels?T" /client userID=4fc9da80-3121-468f-8d93-361a722a56d9 time="2026-09-17T09:46:12Z" msg="Setting labels" labelIDs="[10 0 1 2 3 4 7 8 12 5 6 9]" time="2026-09-17T09:46:12Z" msg="Adding user to imap server" addrID=f5493aaf-0a0d-4f6e-90a4-e58b66eb571b time="2026-09-17T09:46:12Z" msg="Creating new IMAP user" addrID=f5493aaf-0a0d-4f6e-90a4-e58b66eb571b time="2026-09-17T09:46:12Z" msg="Setting gluon ID" addrID=f5493aaf-0a0d-4f6e-90a4-e58b66eb571b gluonID=7366078e-2a7a-4822-9532-c4c688700534 userID=4fc9da80-3121-468f-8d93-361a722a56d9 time="2026-09-17T09:46:12Z" msg="Received mailbox message count" gluonID=7366078e-2a7a-4822-9532-c4c688700534 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:46:12Z" msg="Created new IMAP user" addrID=f5493aaf-0a0d-4f6e-90a4-e58b66eb571b gluonID=7366078e-2a7a-4822-9532-c4c688700534 time="2026-09-17T09:46:12Z" msg="Validating Listener State" time="2026-09-17T09:46:12Z" time="2026-09-17T09:46:12Z" msg="Starting IMAP Service" time="2026-09-17T09:46:12Z" msg="Checking whether logged in user should re-sync. UserID:4fc9da80-3121-468f-8d93-361a722a56d9" userID=4fc9da80-3121-468f-8d93-361a722a56d9 time="2026-09-17T09:46:12Z" msg="Sync triggered" time="2026-09-17T09:46:12Z" msg="Beginning user sync" start="2026-09-17 09:46:12.726496513 +0000 UTC m=+61.218798809" Scenario: User agent re-announces a new ID to IMAP client # features/imap/id.feature:27 When user "0489e500-cab5-4763-ba30-b900308a10d7" connects IMAP client "1" # :1 -> *scenario time="2026-09-17T09:46:12Z" msg="Received IMAP ID" /event/imap sessionID=1 And IMAP client "1" announces its ID with name "name" and version "version" # :1 -> *scenario time="2026-09-17T09:46:12Z" msg="Syncing labels" time="2026-09-17T09:46:12Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=7366078e-2a7a-4822-9532-c4c688700534 time="2026-09-17T09:46:12Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=7366078e-2a7a-4822-9532-c4c688700534 time="2026-09-17T09:46:12Z" msg="Mailbox created" /user remoteMailboxID=10 userID=7366078e-2a7a-4822-9532-c4c688700534 time="2026-09-17T09:46:12Z" msg="Mailbox created" /user remoteMailboxID=3 userID=7366078e-2a7a-4822-9532-c4c688700534 time="2026-09-17T09:46:12Z" msg="Mailbox created" /user remoteMailboxID=4 userID=7366078e-2a7a-4822-9532-c4c688700534 time="2026-09-17T09:46:12Z" msg="Mailbox created" /user remoteMailboxID=7 userID=7366078e-2a7a-4822-9532-c4c688700534 time="2026-09-17T09:46:12Z" msg="Mailbox created" /user remoteMailboxID=8 userID=7366078e-2a7a-4822-9532-c4c688700534 time="2026-09-17T09:46:12Z" msg="Mailbox created" /user remoteMailboxID=5 userID=7366078e-2a7a-4822-9532-c4c688700534 time="2026-09-17T09:46:12Z" msg="Mailbox created" /user remoteMailboxID=6 userID=7366078e-2a7a-4822-9532-c4c688700534 time="2026-09-17T09:46:12Z" msg="Mailbox created" /user remoteMailboxID=0 userID=7366078e-2a7a-4822-9532-c4c688700534 time="2026-09-17T09:46:12Z" msg="Mailbox created" /user remoteMailboxID=12 userID=7366078e-2a7a-4822-9532-c4c688700534 time="2026-09-17T09:46:12Z" msg="Synced labels" time="2026-09-17T09:46:12Z" msg="200 OK: GET https://127.0.0.1:43669/mail/v4/messages/count" /client userID=4fc9da80-3121-468f-8d93-361a722a56d9 time="2026-09-17T09:46:12Z" msg="Syncing messages" time="2026-09-17T09:46:12Z" msg="Job started" time="2026-09-17T09:46:12Z" msg="200 OK: POST https://127.0.0.1:43669/mail/v4/messages" /client userID=4fc9da80-3121-468f-8d93-361a722a56d9 time="2026-09-17T09:46:12Z" msg="Job finished" time="2026-09-17T09:46:12Z" msg="All child jobs completed" sync- time="2026-09-17T09:46:12Z" msg="Synced messages" time="2026-09-17T09:46:12Z" msg="Finished user sync" .400334ms time="2026-09-17T09:46:12Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:46:12Z" msg="Event loop reset" eventID="AA==" Then the user agent is "name/version (linux)" # :1 -> *scenario time="2026-09-17T09:46:12Z" msg="Already bound to this client, no-op allow" limits="{map[apple-mail:60 outlook:0 thunderbird:0] 0}" /connectionlimiter sessionID=1 time="2026-09-17T09:46:12Z" msg="Received IMAP ID" /event/imap sessionID=1 And IMAP client "1" announces its ID with name "new_name" and version "new_version" # :1 -> *scenario time="2026-09-17T09:46:12Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 6} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:46:12Z" msg="Frontend service stopped" time="2026-09-17T09:46:12Z" msg="Frontend client stopped" time="2026-09-17T09:46:12Z" msg="Closing bridge" time="2026-09-17T09:46:12Z" msg="Stopping service" time="2026-09-17T09:46:12Z" msg="Closing user" userID=4fc9da80-3121-468f-8d93-361a722a56d9 time="2026-09-17T09:46:12Z" msg="De-registering user client, ID:4fc9da80-3121-468f-8d93-361a722a56d9" time="2026-09-17T09:46:12Z" msg="Exiting IMAP Service" time="2026-09-17T09:46:12Z" msg="Exiting service main loop" time="2026-09-17T09:46:12Z" msg="Exiting service main loop" time="2026-09-17T09:46:12Z" msg="Exiting Service" time="2026-09-17T09:46:12Z" msg="Exiting service main loop" time="2026-09-17T09:46:12Z" msg="Exiting service" time="2026-09-17T09:46:12Z" msg="Closing IMAP Listener" time="2026-09-17T09:46:12Z" msg="Closing IMAP server" time="2026-09-17T09:46:12Z" msg="Closing SMTP Listener" time="2026-09-17T09:46:12Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:46:12Z" msg="Closing SMTP server" time="2026-09-17T09:46:12Z" msg="Closing service" Then the user agent is "new_name/new_version (linux)" # :1 -> *scenario time="2026-09-17T09:46:13Z" msg="User '41123710-b8b3-426e-9a13-93522da8379c' created with " /server/backend time="2026-09-17T09:46:13Z" msg="Starting bridge" time="2026-09-17T09:46:13Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/033/config2365221543/grpcFocusServerConfig.json /service time="2026-09-17T09:46:13Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/033/cache3145988565/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:46:13Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/033/cache3145988565/notifications/notification_cache: no such file or directory" time="2026-09-17T09:46:13Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/033/data2067327994/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/033/data2067327994/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:46:13Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:46:13Z" msg="Starting IMAP server" time="2026-09-17T09:46:13Z" msg="Starting SMTP server" time="2026-09-17T09:46:13Z" msg="Starting service" time="2026-09-17T09:46:13Z" msg="Starting service" time="2026-09-17T09:46:13Z" msg="Starting poll service" time="2026-09-17T09:46:13Z" msg="Checking for updates" time="2026-09-17T09:46:13Z" msg="Starting frontend service" time="2026-09-17T09:46:13Z" msg="Loading users" /user time="2026-09-17T09:46:13Z" msg="Starting receiver service" time="2026-09-17T09:46:13Z" msg="Finished loading users" /user time="2026-09-17T09:46:13Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/033/config2365221543/grpcServerConfig.json time="2026-09-17T09:46:13Z" msg="gRPC server listening on /tmp/bridge3752" time="2026-09-17T09:46:13Z" msg="Frontend service started" time="2026-09-17T09:46:13Z" msg="Starting frontend client" time="2026-09-17T09:46:13Z" msg="Not monitoring parent PID" time="2026-09-17T09:46:13Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:46:13Z" msg="Frontend client started" time="2026-09-17T09:46:13Z" msg="Performing full user login" /user username="******** (7f3a3472)" time="2026-09-17T09:46:13Z" msg="Authorizing user for login" /user username="******** (7f3a3472)" time="2026-09-17T09:46:13Z" msg="200 OK: GET https://127.0.0.1:42811/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:46:13Z" msg="200 OK: POST https://127.0.0.1:42811/auth/v4/info" /manager time="2026-09-17T09:46:13Z" msg="200 OK: POST https://127.0.0.1:42811/auth/v4" /manager time="2026-09-17T09:46:13Z" msg="Logging in authorized user" /user userID=a8baea89-4516-4fc2-8bb5-b8b77b0ed591 time="2026-09-17T09:46:14Z" msg="Adding vault user" userID=a8baea89-4516-4fc2-8bb5-b8b77b0ed591 time="2026-09-17T09:46:14Z" msg="Creating new user" userID=a8baea89-4516-4fc2-8bb5-b8b77b0ed591 time="2026-09-17T09:46:14Z" msg="404 GET https://127.0.0.1:42811/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:46:14Z" msg="404 GET https://127.0.0.1:42811/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:46:14Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:42811/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:46:14Z" msg="Creating user object" authUID=55620114-db6a-4333-afd6-35bf435c8c00 numA numL userID=a8baea89-4516-4fc2-8bb5-b8b77b0ed591 time="2026-09-17T09:46:14Z" msg="200 OK: GET https://127.0.0.1:42811/core/v4/events/latest" /client userID=a8baea89-4516-4fc2-8bb5-b8b77b0ed591 time="2026-09-17T09:46:14Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:46:14Z" msg="200 OK: GET https://127.0.0.1:42811/core/v4/settings" /client userID=a8baea89-4516-4fc2-8bb5-b8b77b0ed591 time="2026-09-17T09:46:14Z" msg="Registering user client, ID:a8baea89-4516-4fc2-8bb5-b8b77b0ed591" time="2026-09-17T09:46:14Z" msg="Starting user identity service" numA time="2026-09-17T09:46:14Z" msg="Starting service main loop" time="2026-09-17T09:46:14Z" msg="Starting service main loop" time="2026-09-17T09:46:14Z" msg="Starting service main loop" time="2026-09-17T09:46:14Z" msg="200 OK: GET https://127.0.0.1:42811/core/v4/labels?T" /client userID=a8baea89-4516-4fc2-8bb5-b8b77b0ed591 time="2026-09-17T09:46:14Z" msg="200 OK: GET https://127.0.0.1:42811/core/v4/labels?T" /client userID=a8baea89-4516-4fc2-8bb5-b8b77b0ed591 time="2026-09-17T09:46:14Z" msg="200 OK: GET https://127.0.0.1:42811/core/v4/labels?T" /client userID=a8baea89-4516-4fc2-8bb5-b8b77b0ed591 time="2026-09-17T09:46:14Z" msg="Setting labels" labelIDs="[10 12 2 3 4 7 8 0 1 5 6 9]" time="2026-09-17T09:46:14Z" msg="Adding user to imap server" addrID=c2a3833b-6889-4daa-ad0a-e428d3047758 time="2026-09-17T09:46:14Z" msg="Creating new IMAP user" addrID=c2a3833b-6889-4daa-ad0a-e428d3047758 time="2026-09-17T09:46:14Z" msg="Setting gluon ID" addrID=c2a3833b-6889-4daa-ad0a-e428d3047758 gluonID=77c32605-165f-4336-8d82-f4c410cd73a3 userID=a8baea89-4516-4fc2-8bb5-b8b77b0ed591 time="2026-09-17T09:46:14Z" msg="Received mailbox message count" gluonID=77c32605-165f-4336-8d82-f4c410cd73a3 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:46:14Z" msg="Created new IMAP user" addrID=c2a3833b-6889-4daa-ad0a-e428d3047758 gluonID=77c32605-165f-4336-8d82-f4c410cd73a3 time="2026-09-17T09:46:14Z" msg="Validating Listener State" time="2026-09-17T09:46:14Z" time="2026-09-17T09:46:14Z" msg="Starting IMAP Service" time="2026-09-17T09:46:14Z" msg="Checking whether logged in user should re-sync. UserID:a8baea89-4516-4fc2-8bb5-b8b77b0ed591" userID=a8baea89-4516-4fc2-8bb5-b8b77b0ed591 time="2026-09-17T09:46:14Z" msg="Sync triggered" time="2026-09-17T09:46:14Z" msg="Beginning user sync" start="2026-09-17 09:46:14.014783613 +0000 UTC m=+62.507085909" Scenario: User agent re-announces a new ID to IMAP client and new ID is used for API calls # features/imap/id.feature:34 When user "41123710-b8b3-426e-9a13-93522da8379c" connects IMAP client "1" # :1 -> *scenario time="2026-09-17T09:46:14Z" msg="Syncing labels" time="2026-09-17T09:46:14Z" msg="Received IMAP ID" /event/imap sessionID=1 And IMAP client "1" announces its ID with name "name" and version "version" # :1 -> *scenario time="2026-09-17T09:46:14Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=77c32605-165f-4336-8d82-f4c410cd73a3 time="2026-09-17T09:46:14Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=77c32605-165f-4336-8d82-f4c410cd73a3 time="2026-09-17T09:46:14Z" msg="200 OK: POST https://127.0.0.1:42811/core/v4/reports/bug" /manager When the user reports a bug # :1 -> *scenario time="2026-09-17T09:46:14Z" msg="Mailbox created" /user remoteMailboxID=0 userID=77c32605-165f-4336-8d82-f4c410cd73a3 Then the header in the "POST" request to "/core/v4/reports/bug" has "User-Agent" set to "name/version (linux)" # :1 -> *scenario time="2026-09-17T09:46:14Z" msg="Already bound to this client, no-op allow" limits="{map[apple-mail:60 outlook:0 thunderbird:0] 0}" /connectionlimiter sessionID=1 time="2026-09-17T09:46:14Z" msg="Mailbox created" /user remoteMailboxID=5 userID=77c32605-165f-4336-8d82-f4c410cd73a3 time="2026-09-17T09:46:14Z" msg="Received IMAP ID" /event/imap sessionID=1 When IMAP client "1" announces its ID with name "new_name" and version "new_version" # :1 -> *scenario time="2026-09-17T09:46:14Z" msg="Mailbox created" /user remoteMailboxID=12 userID=77c32605-165f-4336-8d82-f4c410cd73a3 time="2026-09-17T09:46:14Z" msg="Mailbox created" /user remoteMailboxID=4 userID=77c32605-165f-4336-8d82-f4c410cd73a3 time="2026-09-17T09:46:14Z" msg="Mailbox created" /user remoteMailboxID=6 userID=77c32605-165f-4336-8d82-f4c410cd73a3 time="2026-09-17T09:46:14Z" msg="Mailbox created" /user remoteMailboxID=10 userID=77c32605-165f-4336-8d82-f4c410cd73a3 time="2026-09-17T09:46:14Z" msg="Mailbox created" /user remoteMailboxID=3 userID=77c32605-165f-4336-8d82-f4c410cd73a3 time="2026-09-17T09:46:14Z" msg="Mailbox created" /user remoteMailboxID=7 userID=77c32605-165f-4336-8d82-f4c410cd73a3 time="2026-09-17T09:46:14Z" msg="Mailbox created" /user remoteMailboxID=8 userID=77c32605-165f-4336-8d82-f4c410cd73a3 time="2026-09-17T09:46:14Z" msg="Synced labels" time="2026-09-17T09:46:14Z" msg="200 OK: GET https://127.0.0.1:42811/mail/v4/messages/count" /client userID=a8baea89-4516-4fc2-8bb5-b8b77b0ed591 time="2026-09-17T09:46:14Z" msg="Syncing messages" time="2026-09-17T09:46:14Z" msg="Job started" time="2026-09-17T09:46:14Z" msg="200 OK: POST https://127.0.0.1:42811/mail/v4/messages" /client userID=a8baea89-4516-4fc2-8bb5-b8b77b0ed591 time="2026-09-17T09:46:14Z" msg="Job finished" time="2026-09-17T09:46:14Z" msg="All child jobs completed" sync- time="2026-09-17T09:46:14Z" msg="Synced messages" time="2026-09-17T09:46:14Z" msg="Finished user sync" .749754ms time="2026-09-17T09:46:14Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:46:14Z" msg="Event loop reset" eventID="AA==" Then the user agent is "new_name/new_version (linux)" # :1 -> *scenario time="2026-09-17T09:46:14Z" msg="200 OK: POST https://127.0.0.1:42811/core/v4/reports/bug" /manager When the user reports a bug # :1 -> *scenario time="2026-09-17T09:46:14Z" msg="Frontend service stopped" time="2026-09-17T09:46:14Z" msg="Frontend client stopped" time="2026-09-17T09:46:14Z" msg="Closing bridge" time="2026-09-17T09:46:14Z" msg="Stopping service" time="2026-09-17T09:46:14Z" msg="Closing user" userID=a8baea89-4516-4fc2-8bb5-b8b77b0ed591 time="2026-09-17T09:46:14Z" msg="De-registering user client, ID:a8baea89-4516-4fc2-8bb5-b8b77b0ed591" time="2026-09-17T09:46:14Z" msg="Exiting IMAP Service" time="2026-09-17T09:46:14Z" msg="Exiting service main loop" time="2026-09-17T09:46:14Z" msg="Exiting service main loop" time="2026-09-17T09:46:14Z" msg="Exiting Service" time="2026-09-17T09:46:14Z" msg="Exiting service main loop" time="2026-09-17T09:46:14Z" msg="Exiting service" time="2026-09-17T09:46:14Z" msg="Closing IMAP Listener" time="2026-09-17T09:46:14Z" msg="Closing IMAP server" time="2026-09-17T09:46:14Z" msg="Closing SMTP Listener" time="2026-09-17T09:46:14Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:46:14Z" msg="Closing SMTP server" time="2026-09-17T09:46:14Z" msg="Closing service" Then the header in the "POST" request to "/core/v4/reports/bug" has "User-Agent" set to "new_name/new_version (linux)" # :1 -> *scenario time="2026-09-17T09:46:14Z" msg="User 'ed52d046-9147-445d-b400-bb266f51c831' created with " /server/backend time="2026-09-17T09:46:14Z" msg="Starting bridge" time="2026-09-17T09:46:14Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/034/config1731138925/grpcFocusServerConfig.json /service time="2026-09-17T09:46:14Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/034/cache2335622470/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:46:14Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/034/cache2335622470/notifications/notification_cache: no such file or directory" time="2026-09-17T09:46:14Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/034/data2907544863/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/034/data2907544863/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:46:14Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:46:14Z" msg="Starting IMAP server" time="2026-09-17T09:46:14Z" msg="Starting SMTP server" time="2026-09-17T09:46:14Z" msg="Starting service" time="2026-09-17T09:46:14Z" msg="Starting service" time="2026-09-17T09:46:14Z" msg="Starting poll service" time="2026-09-17T09:46:14Z" msg="Checking for updates" time="2026-09-17T09:46:14Z" msg="Starting receiver service" time="2026-09-17T09:46:14Z" msg="Starting frontend service" time="2026-09-17T09:46:14Z" msg="Loading users" /user time="2026-09-17T09:46:14Z" msg="Finished loading users" /user time="2026-09-17T09:46:14Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/034/config1731138925/grpcServerConfig.json time="2026-09-17T09:46:14Z" msg="gRPC server listening on /tmp/bridge9413" time="2026-09-17T09:46:14Z" msg="Frontend service started" time="2026-09-17T09:46:14Z" msg="Starting frontend client" time="2026-09-17T09:46:14Z" msg="Not monitoring parent PID" time="2026-09-17T09:46:14Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:46:14Z" msg="Frontend client started" time="2026-09-17T09:46:14Z" msg="Performing full user login" /user username="******** (fc8c1c29)" time="2026-09-17T09:46:14Z" msg="Authorizing user for login" /user username="******** (fc8c1c29)" time="2026-09-17T09:46:14Z" msg="200 OK: GET https://127.0.0.1:43385/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:46:14Z" msg="200 OK: POST https://127.0.0.1:43385/auth/v4/info" /manager time="2026-09-17T09:46:15Z" msg="200 OK: POST https://127.0.0.1:43385/auth/v4" /manager time="2026-09-17T09:46:15Z" msg="Logging in authorized user" /user userID=cdd46765-2907-4349-a02b-7d326cfc179b time="2026-09-17T09:46:15Z" msg="Adding vault user" userID=cdd46765-2907-4349-a02b-7d326cfc179b time="2026-09-17T09:46:15Z" msg="Creating new user" userID=cdd46765-2907-4349-a02b-7d326cfc179b time="2026-09-17T09:46:15Z" msg="404 GET https://127.0.0.1:43385/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:46:15Z" msg="404 GET https://127.0.0.1:43385/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:46:15Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:43385/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:46:15Z" msg="Creating user object" authUID=ab41d4c8-124e-4490-8a4d-211a4e7d3441 numA numL userID=cdd46765-2907-4349-a02b-7d326cfc179b time="2026-09-17T09:46:15Z" msg="200 OK: GET https://127.0.0.1:43385/core/v4/events/latest" /client userID=cdd46765-2907-4349-a02b-7d326cfc179b time="2026-09-17T09:46:15Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:46:15Z" msg="200 OK: GET https://127.0.0.1:43385/core/v4/settings" /client userID=cdd46765-2907-4349-a02b-7d326cfc179b time="2026-09-17T09:46:15Z" msg="Registering user client, ID:cdd46765-2907-4349-a02b-7d326cfc179b" time="2026-09-17T09:46:15Z" msg="Starting service main loop" time="2026-09-17T09:46:15Z" msg="Starting service main loop" time="2026-09-17T09:46:15Z" msg="Starting user identity service" numA time="2026-09-17T09:46:15Z" msg="Starting service main loop" time="2026-09-17T09:46:15Z" msg="200 OK: GET https://127.0.0.1:43385/core/v4/labels?T" /client userID=cdd46765-2907-4349-a02b-7d326cfc179b time="2026-09-17T09:46:15Z" msg="200 OK: GET https://127.0.0.1:43385/core/v4/labels?T" /client userID=cdd46765-2907-4349-a02b-7d326cfc179b time="2026-09-17T09:46:15Z" msg="200 OK: GET https://127.0.0.1:43385/core/v4/labels?T" /client userID=cdd46765-2907-4349-a02b-7d326cfc179b time="2026-09-17T09:46:15Z" msg="Setting labels" labelIDs="[1 4 8 9 10 12 0 2 3 5 6 7]" time="2026-09-17T09:46:15Z" msg="Adding user to imap server" addrID=f314bc5c-1bb3-4a33-9c98-46c747384334 time="2026-09-17T09:46:15Z" msg="Creating new IMAP user" addrID=f314bc5c-1bb3-4a33-9c98-46c747384334 time="2026-09-17T09:46:15Z" msg="Setting gluon ID" addrID=f314bc5c-1bb3-4a33-9c98-46c747384334 gluonID=2c3374ea-505d-487a-bd63-cbfeef63f2bb userID=cdd46765-2907-4349-a02b-7d326cfc179b time="2026-09-17T09:46:15Z" msg="Received mailbox message count" gluonID=2c3374ea-505d-487a-bd63-cbfeef63f2bb labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:46:15Z" msg="Created new IMAP user" addrID=f314bc5c-1bb3-4a33-9c98-46c747384334 gluonID=2c3374ea-505d-487a-bd63-cbfeef63f2bb time="2026-09-17T09:46:15Z" msg="Validating Listener State" time="2026-09-17T09:46:15Z" time="2026-09-17T09:46:15Z" msg="Starting IMAP Service" time="2026-09-17T09:46:15Z" msg="Checking whether logged in user should re-sync. UserID:cdd46765-2907-4349-a02b-7d326cfc179b" userID=cdd46765-2907-4349-a02b-7d326cfc179b time="2026-09-17T09:46:15Z" msg="Sync triggered" time="2026-09-17T09:46:15Z" msg="Beginning user sync" start="2026-09-17 09:46:15.196332449 +0000 UTC m=+63.688634785" time="2026-09-17T09:46:15Z" msg="Syncing labels" Scenario: Apple Notes user agent is ignored after IMAP client announces its ID # features/imap/id.feature:44 When user "ed52d046-9147-445d-b400-bb266f51c831" connects IMAP client "1" # :1 -> *scenario time="2026-09-17T09:46:15Z" msg="Received IMAP ID" /event/imap sessionID=1 And IMAP client "1" announces its ID with name "name" and version "version" # :1 -> *scenario time="2026-09-17T09:46:15Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=2c3374ea-505d-487a-bd63-cbfeef63f2bb time="2026-09-17T09:46:15Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=2c3374ea-505d-487a-bd63-cbfeef63f2bb time="2026-09-17T09:46:15Z" msg="Mailbox created" /user remoteMailboxID=4 userID=2c3374ea-505d-487a-bd63-cbfeef63f2bb time="2026-09-17T09:46:15Z" msg="Mailbox created" /user remoteMailboxID=8 userID=2c3374ea-505d-487a-bd63-cbfeef63f2bb time="2026-09-17T09:46:15Z" msg="Mailbox created" /user remoteMailboxID=10 userID=2c3374ea-505d-487a-bd63-cbfeef63f2bb time="2026-09-17T09:46:15Z" msg="Mailbox created" /user remoteMailboxID=12 userID=2c3374ea-505d-487a-bd63-cbfeef63f2bb time="2026-09-17T09:46:15Z" msg="Mailbox created" /user remoteMailboxID=3 userID=2c3374ea-505d-487a-bd63-cbfeef63f2bb time="2026-09-17T09:46:15Z" msg="Mailbox created" /user remoteMailboxID=5 userID=2c3374ea-505d-487a-bd63-cbfeef63f2bb time="2026-09-17T09:46:15Z" msg="Mailbox created" /user remoteMailboxID=0 userID=2c3374ea-505d-487a-bd63-cbfeef63f2bb time="2026-09-17T09:46:15Z" msg="Mailbox created" /user remoteMailboxID=6 userID=2c3374ea-505d-487a-bd63-cbfeef63f2bb time="2026-09-17T09:46:15Z" msg="Mailbox created" /user remoteMailboxID=7 userID=2c3374ea-505d-487a-bd63-cbfeef63f2bb time="2026-09-17T09:46:15Z" msg="Synced labels" time="2026-09-17T09:46:15Z" msg="200 OK: GET https://127.0.0.1:43385/mail/v4/messages/count" /client userID=cdd46765-2907-4349-a02b-7d326cfc179b time="2026-09-17T09:46:15Z" msg="Syncing messages" time="2026-09-17T09:46:15Z" msg="Job started" time="2026-09-17T09:46:15Z" msg="200 OK: POST https://127.0.0.1:43385/mail/v4/messages" /client userID=cdd46765-2907-4349-a02b-7d326cfc179b time="2026-09-17T09:46:15Z" msg="Job finished" time="2026-09-17T09:46:15Z" msg="All child jobs completed" sync- time="2026-09-17T09:46:15Z" msg="Synced messages" time="2026-09-17T09:46:15Z" msg="Finished user sync" .496281ms time="2026-09-17T09:46:15Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:46:15Z" msg="Event loop reset" eventID="AA==" Then the user agent is "name/version (linux)" # :1 -> *scenario time="2026-09-17T09:46:15Z" msg="Already bound to this client, no-op allow" limits="{map[apple-mail:60 outlook:0 thunderbird:0] 0}" /connectionlimiter sessionID=1 time="2026-09-17T09:46:15Z" msg="Received IMAP ID" name="Mac OS X Notes" /event/imap sessionID=1 .11 When IMAP client "1" announces its ID with name "Mac OS X Notes" and version "4.11" # :1 -> *scenario time="2026-09-17T09:46:15Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 3} {true true false false false true true true true true true 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:46:15Z" msg="Frontend service stopped" time="2026-09-17T09:46:15Z" msg="Frontend client stopped" time="2026-09-17T09:46:15Z" msg="Closing bridge" time="2026-09-17T09:46:15Z" msg="Stopping service" time="2026-09-17T09:46:15Z" msg="Closing user" userID=cdd46765-2907-4349-a02b-7d326cfc179b time="2026-09-17T09:46:15Z" msg="De-registering user client, ID:cdd46765-2907-4349-a02b-7d326cfc179b" time="2026-09-17T09:46:15Z" msg="Exiting IMAP Service" time="2026-09-17T09:46:15Z" msg="Exiting service main loop" time="2026-09-17T09:46:15Z" msg="Exiting service main loop" time="2026-09-17T09:46:15Z" msg="Exiting Service" time="2026-09-17T09:46:15Z" msg="Exiting service main loop" time="2026-09-17T09:46:15Z" msg="Exiting service" time="2026-09-17T09:46:15Z" msg="Closing IMAP Listener" time="2026-09-17T09:46:15Z" msg="Closing IMAP server" time="2026-09-17T09:46:15Z" msg="Closing SMTP Listener" time="2026-09-17T09:46:15Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:46:15Z" msg="Closing SMTP server" time="2026-09-17T09:46:15Z" msg="Closing service" Then the user agent is "name/version (linux)" # :1 -> *scenario Feature: IMAP create mailbox time="2026-09-17T09:46:15Z" msg="User '8c0b0c5f-ee8b-48db-8314-ff05c13e3bc8' created with " /server/backend Background: Given there exists an account with username "8c0b0c5f-ee8b-48db-8314-ff05c13e3bc8" and password "password" # :1 -> *scenario And the account "8c0b0c5f-ee8b-48db-8314-ff05c13e3bc8" has the following custom mailboxes: # :1 -> *scenario | name | type | | f1 | folder | | f2 | folder | | l1 | label | | l2 | label | Then it succeeds # :1 -> *scenario time="2026-09-17T09:46:16Z" msg="Starting bridge" time="2026-09-17T09:46:16Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/035/config1703020876/grpcFocusServerConfig.json /service time="2026-09-17T09:46:16Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/035/cache2952355040/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:46:16Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/035/cache2952355040/notifications/notification_cache: no such file or directory" time="2026-09-17T09:46:16Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/035/data24110437/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/035/data24110437/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:46:16Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:46:16Z" msg="Starting IMAP server" time="2026-09-17T09:46:16Z" msg="Starting SMTP server" time="2026-09-17T09:46:16Z" msg="Starting service" time="2026-09-17T09:46:16Z" msg="Starting service" time="2026-09-17T09:46:16Z" msg="Starting receiver service" time="2026-09-17T09:46:16Z" msg="Starting poll service" time="2026-09-17T09:46:16Z" msg="Starting frontend service" time="2026-09-17T09:46:16Z" msg="Loading users" /user time="2026-09-17T09:46:16Z" msg="Checking for updates" time="2026-09-17T09:46:16Z" msg="Finished loading users" /user time="2026-09-17T09:46:16Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/035/config1703020876/grpcServerConfig.json time="2026-09-17T09:46:16Z" msg="gRPC server listening on /tmp/bridge3554" time="2026-09-17T09:46:16Z" msg="Frontend service started" time="2026-09-17T09:46:16Z" msg="Starting frontend client" time="2026-09-17T09:46:16Z" msg="Not monitoring parent PID" time="2026-09-17T09:46:16Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:46:16Z" msg="200 OK: GET https://127.0.0.1:33767/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:46:16Z" msg="Frontend client started" When bridge starts # :1 -> *scenario time="2026-09-17T09:46:16Z" msg="Performing full user login" /user username="******** (73d6821d)" time="2026-09-17T09:46:16Z" msg="Authorizing user for login" /user username="******** (73d6821d)" time="2026-09-17T09:46:16Z" msg="200 OK: POST https://127.0.0.1:33767/auth/v4/info" /manager time="2026-09-17T09:46:16Z" msg="200 OK: POST https://127.0.0.1:33767/auth/v4" /manager time="2026-09-17T09:46:16Z" msg="Logging in authorized user" /user userID=d776adea-13f5-42cd-a795-511443c7ab24 time="2026-09-17T09:46:16Z" msg="Adding vault user" userID=d776adea-13f5-42cd-a795-511443c7ab24 time="2026-09-17T09:46:16Z" msg="Creating new user" userID=d776adea-13f5-42cd-a795-511443c7ab24 time="2026-09-17T09:46:16Z" msg="404 GET https://127.0.0.1:33767/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:46:16Z" msg="404 GET https://127.0.0.1:33767/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:46:16Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:33767/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:46:16Z" msg="Creating user object" authUID=fd0f904a-b32c-4000-bdc3-83515960ec1b numA numL userID=d776adea-13f5-42cd-a795-511443c7ab24 time="2026-09-17T09:46:16Z" msg="200 OK: GET https://127.0.0.1:33767/core/v4/events/latest" /client userID=d776adea-13f5-42cd-a795-511443c7ab24 time="2026-09-17T09:46:16Z" msg="Starting service Last EventID=BA==" time="2026-09-17T09:46:16Z" msg="200 OK: GET https://127.0.0.1:33767/core/v4/settings" /client userID=d776adea-13f5-42cd-a795-511443c7ab24 time="2026-09-17T09:46:16Z" msg="Registering user client, ID:d776adea-13f5-42cd-a795-511443c7ab24" time="2026-09-17T09:46:16Z" msg="Starting service main loop" time="2026-09-17T09:46:16Z" msg="Starting service main loop" time="2026-09-17T09:46:16Z" msg="Starting user identity service" numA time="2026-09-17T09:46:16Z" msg="Starting service main loop" time="2026-09-17T09:46:16Z" msg="200 OK: GET https://127.0.0.1:33767/core/v4/labels?T" /client userID=d776adea-13f5-42cd-a795-511443c7ab24 time="2026-09-17T09:46:16Z" msg="200 OK: GET https://127.0.0.1:33767/core/v4/labels?T" /client userID=d776adea-13f5-42cd-a795-511443c7ab24 time="2026-09-17T09:46:16Z" msg="200 OK: GET https://127.0.0.1:33767/core/v4/labels?T" /client userID=d776adea-13f5-42cd-a795-511443c7ab24 time="2026-09-17T09:46:16Z" msg="Setting labels" labelIDs="[2 3 6 7 8 10 4 5 9 12 0 1 c61db594-3b50-440c-ab37-8fd9f12e75cc f909451e-efaa-41ba-80d5-dfb270534dfe 14776fc2-998f-4272-a247-fc69291ef5c4 5e032a52-4efc-48e0-83a6-15536fde54cc]" time="2026-09-17T09:46:16Z" msg="Adding user to imap server" addrID=716228b0-d278-49a3-87de-8ec6fadcaadd time="2026-09-17T09:46:16Z" msg="Creating new IMAP user" addrID=716228b0-d278-49a3-87de-8ec6fadcaadd time="2026-09-17T09:46:16Z" msg="Setting gluon ID" addrID=716228b0-d278-49a3-87de-8ec6fadcaadd gluonID=207c723d-5175-4b3d-b723-9b6a959b9289 userID=d776adea-13f5-42cd-a795-511443c7ab24 time="2026-09-17T09:46:16Z" msg="Received mailbox message count" gluonID=207c723d-5175-4b3d-b723-9b6a959b9289 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:46:16Z" msg="Created new IMAP user" addrID=716228b0-d278-49a3-87de-8ec6fadcaadd gluonID=207c723d-5175-4b3d-b723-9b6a959b9289 time="2026-09-17T09:46:16Z" msg="Validating Listener State" time="2026-09-17T09:46:16Z" time="2026-09-17T09:46:16Z" msg="Checking whether logged in user should re-sync. UserID:d776adea-13f5-42cd-a795-511443c7ab24" userID=d776adea-13f5-42cd-a795-511443c7ab24 And the user logs in with username "8c0b0c5f-ee8b-48db-8314-ff05c13e3bc8" and password "password" # :1 -> *scenario time="2026-09-17T09:46:16Z" msg="Starting IMAP Service" time="2026-09-17T09:46:16Z" msg="Sync triggered" time="2026-09-17T09:46:16Z" msg="Beginning user sync" start="2026-09-17 09:46:16.831944066 +0000 UTC m=+65.324246402" time="2026-09-17T09:46:16Z" msg="Syncing labels" time="2026-09-17T09:46:16Z" msg="Label not found in DB, creating mailbox." labelID=5e032a52-4efc-48e0-83a6-15536fde54cc labelPath="PkT/yXcPNu1r3OoCUKUaipoBRnFZgfAoAl8O0/oEz1c=" numberOfC /labelConflictResolver time="2026-09-17T09:46:16Z" msg="Label not found in DB, creating mailbox." labelID=f909451e-efaa-41ba-80d5-dfb270534dfe labelPath="1KzX2RU1mQyO4COrdPGc33QxTjsjJsaf3laorPH6g0g=" numberOfC /labelConflictResolver time="2026-09-17T09:46:16Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=207c723d-5175-4b3d-b723-9b6a959b9289 time="2026-09-17T09:46:16Z" msg="Label not found in DB, creating mailbox." labelID=14776fc2-998f-4272-a247-fc69291ef5c4 labelPath="f5Qe5RYSMSMdJXJ6f9pncXVUMxi646S+03ipR/WFS6E=" numberOfC /labelConflictResolver time="2026-09-17T09:46:16Z" msg="Label not found in DB, creating mailbox." labelID=c61db594-3b50-440c-ab37-8fd9f12e75cc labelPath="CqcPyYxwtd3HBNbKIG3NWRK3vh7cnefdC5utNQpsJU0=" numberOfC /labelConflictResolver time="2026-09-17T09:46:16Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=207c723d-5175-4b3d-b723-9b6a959b9289 time="2026-09-17T09:46:16Z" msg="Mailbox created" /user remoteMailboxID=10 userID=207c723d-5175-4b3d-b723-9b6a959b9289 time="2026-09-17T09:46:16Z" msg="Mailbox created" /user remoteMailboxID=5 userID=207c723d-5175-4b3d-b723-9b6a959b9289 time="2026-09-17T09:46:16Z" msg="Mailbox created" /user remoteMailboxID=12 userID=207c723d-5175-4b3d-b723-9b6a959b9289 time="2026-09-17T09:46:16Z" msg="Mailbox created" /user remoteMailboxID=5e032a52-4efc-48e0-83a6-15536fde54cc userID=207c723d-5175-4b3d-b723-9b6a959b9289 time="2026-09-17T09:46:16Z" msg="Mailbox created" /user remoteMailboxID=7 userID=207c723d-5175-4b3d-b723-9b6a959b9289 time="2026-09-17T09:46:16Z" msg="Mailbox created" /user remoteMailboxID=0 userID=207c723d-5175-4b3d-b723-9b6a959b9289 time="2026-09-17T09:46:16Z" msg="Mailbox created" /user remoteMailboxID=3 userID=207c723d-5175-4b3d-b723-9b6a959b9289 time="2026-09-17T09:46:16Z" msg="Mailbox created" /user remoteMailboxID=4 userID=207c723d-5175-4b3d-b723-9b6a959b9289 time="2026-09-17T09:46:16Z" msg="Mailbox created" /user remoteMailboxID=f909451e-efaa-41ba-80d5-dfb270534dfe userID=207c723d-5175-4b3d-b723-9b6a959b9289 time="2026-09-17T09:46:16Z" msg="Mailbox created" /user remoteMailboxID=14776fc2-998f-4272-a247-fc69291ef5c4 userID=207c723d-5175-4b3d-b723-9b6a959b9289 time="2026-09-17T09:46:16Z" msg="Mailbox created" /user remoteMailboxID=c61db594-3b50-440c-ab37-8fd9f12e75cc userID=207c723d-5175-4b3d-b723-9b6a959b9289 time="2026-09-17T09:46:16Z" msg="Mailbox created" /user remoteMailboxID=6 userID=207c723d-5175-4b3d-b723-9b6a959b9289 time="2026-09-17T09:46:16Z" msg="Mailbox created" /user remoteMailboxID=8 userID=207c723d-5175-4b3d-b723-9b6a959b9289 time="2026-09-17T09:46:16Z" msg="Synced labels" time="2026-09-17T09:46:16Z" msg="200 OK: GET https://127.0.0.1:33767/mail/v4/messages/count" /client userID=d776adea-13f5-42cd-a795-511443c7ab24 time="2026-09-17T09:46:16Z" msg="Syncing messages" time="2026-09-17T09:46:16Z" msg="Job started" time="2026-09-17T09:46:16Z" msg="200 OK: POST https://127.0.0.1:33767/mail/v4/messages" /client userID=d776adea-13f5-42cd-a795-511443c7ab24 time="2026-09-17T09:46:16Z" msg="Job finished" time="2026-09-17T09:46:16Z" msg="All child jobs completed" sync- time="2026-09-17T09:46:16Z" msg="Synced messages" time="2026-09-17T09:46:16Z" msg="Finished user sync" .859492ms time="2026-09-17T09:46:16Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:46:16Z" msg="Event loop reset" eventID="BA==" And user "8c0b0c5f-ee8b-48db-8314-ff05c13e3bc8" finishes syncing # :1 -> *scenario And user "8c0b0c5f-ee8b-48db-8314-ff05c13e3bc8" connects and authenticates IMAP client "1" # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:46:16Z" msg="200 OK: POST https://127.0.0.1:33767/core/v4/labels" /client userID=d776adea-13f5-42cd-a795-511443c7ab24 Scenario: Create folder # features/imap/mailbox/create.feature:17 When IMAP client "1" creates "Folders/mbox" # :1 -> *scenario time="2026-09-17T09:46:16Z" msg="Frontend service stopped" time="2026-09-17T09:46:16Z" msg="Frontend client stopped" time="2026-09-17T09:46:16Z" msg="Closing bridge" time="2026-09-17T09:46:16Z" msg="Stopping service" time="2026-09-17T09:46:16Z" msg="Closing user" userID=d776adea-13f5-42cd-a795-511443c7ab24 time="2026-09-17T09:46:16Z" msg="De-registering user client, ID:d776adea-13f5-42cd-a795-511443c7ab24" time="2026-09-17T09:46:16Z" msg="Exiting IMAP Service" time="2026-09-17T09:46:16Z" msg="Exiting service main loop" time="2026-09-17T09:46:16Z" msg="Exiting service main loop" time="2026-09-17T09:46:16Z" msg="Exiting Service" time="2026-09-17T09:46:16Z" msg="Exiting service main loop" time="2026-09-17T09:46:16Z" msg="Exiting service" time="2026-09-17T09:46:16Z" msg="Closing IMAP Listener" time="2026-09-17T09:46:16Z" msg="Closing IMAP server" time="2026-09-17T09:46:16Z" msg="Closing SMTP Listener" time="2026-09-17T09:46:16Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:46:16Z" msg="Closing SMTP server" time="2026-09-17T09:46:16Z" msg="Closing service" Then IMAP client "1" sees "Folders/mbox" # :1 -> *scenario time="2026-09-17T09:46:17Z" msg="User '80dbf1ba-b836-42a8-9d31-25a04ca448a6' created with " /server/backend time="2026-09-17T09:46:17Z" msg="Starting bridge" time="2026-09-17T09:46:17Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/036/config453622563/grpcFocusServerConfig.json /service time="2026-09-17T09:46:17Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/036/cache2568170844/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:46:17Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/036/cache2568170844/notifications/notification_cache: no such file or directory" time="2026-09-17T09:46:17Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/036/data2505017096/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/036/data2505017096/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:46:17Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:46:17Z" msg="Starting IMAP server" time="2026-09-17T09:46:17Z" msg="Starting SMTP server" time="2026-09-17T09:46:17Z" msg="Starting service" time="2026-09-17T09:46:17Z" msg="Starting service" time="2026-09-17T09:46:17Z" msg="Starting receiver service" time="2026-09-17T09:46:17Z" msg="Starting poll service" time="2026-09-17T09:46:17Z" msg="Checking for updates" time="2026-09-17T09:46:17Z" msg="Starting frontend service" time="2026-09-17T09:46:17Z" msg="Loading users" /user time="2026-09-17T09:46:17Z" msg="Finished loading users" /user time="2026-09-17T09:46:17Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/036/config453622563/grpcServerConfig.json time="2026-09-17T09:46:17Z" msg="gRPC server listening on /tmp/bridge8518" time="2026-09-17T09:46:17Z" msg="Frontend service started" time="2026-09-17T09:46:17Z" msg="Starting frontend client" time="2026-09-17T09:46:17Z" msg="Not monitoring parent PID" time="2026-09-17T09:46:17Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:46:17Z" msg="200 OK: GET https://127.0.0.1:35525/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:46:17Z" msg="Frontend client started" time="2026-09-17T09:46:17Z" msg="Performing full user login" /user username="******** (5d2ecd89)" time="2026-09-17T09:46:17Z" msg="Authorizing user for login" /user username="******** (5d2ecd89)" time="2026-09-17T09:46:17Z" msg="200 OK: POST https://127.0.0.1:35525/auth/v4/info" /manager time="2026-09-17T09:46:18Z" msg="200 OK: POST https://127.0.0.1:35525/auth/v4" /manager time="2026-09-17T09:46:18Z" msg="Logging in authorized user" /user userID=c4645329-a720-4a1d-b924-9edffdeb1616 time="2026-09-17T09:46:18Z" msg="Adding vault user" userID=c4645329-a720-4a1d-b924-9edffdeb1616 time="2026-09-17T09:46:18Z" msg="Creating new user" userID=c4645329-a720-4a1d-b924-9edffdeb1616 time="2026-09-17T09:46:18Z" msg="404 GET https://127.0.0.1:35525/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:46:18Z" msg="404 GET https://127.0.0.1:35525/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:46:18Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:35525/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:46:18Z" msg="Creating user object" authUID=0b829550-ea20-406d-a5c2-734360f22e8b numA numL userID=c4645329-a720-4a1d-b924-9edffdeb1616 time="2026-09-17T09:46:18Z" msg="200 OK: GET https://127.0.0.1:35525/core/v4/events/latest" /client userID=c4645329-a720-4a1d-b924-9edffdeb1616 time="2026-09-17T09:46:18Z" msg="Starting service Last EventID=BA==" time="2026-09-17T09:46:18Z" msg="200 OK: GET https://127.0.0.1:35525/core/v4/settings" /client userID=c4645329-a720-4a1d-b924-9edffdeb1616 time="2026-09-17T09:46:18Z" msg="Registering user client, ID:c4645329-a720-4a1d-b924-9edffdeb1616" time="2026-09-17T09:46:18Z" msg="Starting service main loop" time="2026-09-17T09:46:18Z" msg="Starting service main loop" time="2026-09-17T09:46:18Z" msg="Starting user identity service" numA time="2026-09-17T09:46:18Z" msg="Starting service main loop" time="2026-09-17T09:46:18Z" msg="200 OK: GET https://127.0.0.1:35525/core/v4/labels?T" /client userID=c4645329-a720-4a1d-b924-9edffdeb1616 time="2026-09-17T09:46:18Z" msg="200 OK: GET https://127.0.0.1:35525/core/v4/labels?T" /client userID=c4645329-a720-4a1d-b924-9edffdeb1616 time="2026-09-17T09:46:18Z" msg="200 OK: GET https://127.0.0.1:35525/core/v4/labels?T" /client userID=c4645329-a720-4a1d-b924-9edffdeb1616 time="2026-09-17T09:46:18Z" msg="Setting labels" labelIDs="[10 12 0 1 2 3 4 7 8 9 5 6 b1d78ac5-3c36-441a-8ff5-b6841350f387 de803cf5-734c-4999-a439-29825ee53a5f 2a59c360-8a2e-42da-bccb-3db4e1113736 c0bb7e17-fb9a-4d3d-8d94-d34165f98296]" time="2026-09-17T09:46:18Z" msg="Adding user to imap server" addrID=833d9d1c-efda-4e0e-8375-41cd50475b4a time="2026-09-17T09:46:18Z" msg="Creating new IMAP user" addrID=833d9d1c-efda-4e0e-8375-41cd50475b4a time="2026-09-17T09:46:18Z" msg="Setting gluon ID" addrID=833d9d1c-efda-4e0e-8375-41cd50475b4a gluonID=1a80e2d5-3439-43b3-af71-ceb24910810d userID=c4645329-a720-4a1d-b924-9edffdeb1616 time="2026-09-17T09:46:18Z" msg="Received mailbox message count" gluonID=1a80e2d5-3439-43b3-af71-ceb24910810d labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:46:18Z" msg="Created new IMAP user" addrID=833d9d1c-efda-4e0e-8375-41cd50475b4a gluonID=1a80e2d5-3439-43b3-af71-ceb24910810d time="2026-09-17T09:46:18Z" msg="Validating Listener State" time="2026-09-17T09:46:18Z" time="2026-09-17T09:46:18Z" msg="Starting IMAP Service" time="2026-09-17T09:46:18Z" msg="Checking whether logged in user should re-sync. UserID:c4645329-a720-4a1d-b924-9edffdeb1616" userID=c4645329-a720-4a1d-b924-9edffdeb1616 time="2026-09-17T09:46:18Z" msg="Sync triggered" time="2026-09-17T09:46:18Z" msg="Beginning user sync" start="2026-09-17 09:46:18.283672042 +0000 UTC m=+66.775974338" time="2026-09-17T09:46:18Z" msg="Syncing labels" time="2026-09-17T09:46:18Z" msg="Label not found in DB, creating mailbox." labelID=de803cf5-734c-4999-a439-29825ee53a5f labelPath="1KzX2RU1mQyO4COrdPGc33QxTjsjJsaf3laorPH6g0g=" numberOfC /labelConflictResolver time="2026-09-17T09:46:18Z" msg="Label not found in DB, creating mailbox." labelID=2a59c360-8a2e-42da-bccb-3db4e1113736 labelPath="f5Qe5RYSMSMdJXJ6f9pncXVUMxi646S+03ipR/WFS6E=" numberOfC /labelConflictResolver time="2026-09-17T09:46:18Z" msg="Label not found in DB, creating mailbox." labelID=b1d78ac5-3c36-441a-8ff5-b6841350f387 labelPath="CqcPyYxwtd3HBNbKIG3NWRK3vh7cnefdC5utNQpsJU0=" numberOfC /labelConflictResolver time="2026-09-17T09:46:18Z" msg="Label not found in DB, creating mailbox." labelID=c0bb7e17-fb9a-4d3d-8d94-d34165f98296 labelPath="PkT/yXcPNu1r3OoCUKUaipoBRnFZgfAoAl8O0/oEz1c=" numberOfC /labelConflictResolver time="2026-09-17T09:46:18Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=1a80e2d5-3439-43b3-af71-ceb24910810d time="2026-09-17T09:46:18Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=1a80e2d5-3439-43b3-af71-ceb24910810d time="2026-09-17T09:46:18Z" msg="Mailbox created" /user remoteMailboxID=12 userID=1a80e2d5-3439-43b3-af71-ceb24910810d time="2026-09-17T09:46:18Z" msg="Mailbox created" /user remoteMailboxID=4 userID=1a80e2d5-3439-43b3-af71-ceb24910810d time="2026-09-17T09:46:18Z" msg="Mailbox created" /user remoteMailboxID=7 userID=1a80e2d5-3439-43b3-af71-ceb24910810d time="2026-09-17T09:46:18Z" msg="Mailbox created" /user remoteMailboxID=de803cf5-734c-4999-a439-29825ee53a5f userID=1a80e2d5-3439-43b3-af71-ceb24910810d time="2026-09-17T09:46:18Z" msg="Mailbox created" /user remoteMailboxID=2a59c360-8a2e-42da-bccb-3db4e1113736 userID=1a80e2d5-3439-43b3-af71-ceb24910810d time="2026-09-17T09:46:18Z" msg="Mailbox created" /user remoteMailboxID=5 userID=1a80e2d5-3439-43b3-af71-ceb24910810d time="2026-09-17T09:46:18Z" msg="Mailbox created" /user remoteMailboxID=6 userID=1a80e2d5-3439-43b3-af71-ceb24910810d time="2026-09-17T09:46:18Z" msg="Mailbox created" /user remoteMailboxID=b1d78ac5-3c36-441a-8ff5-b6841350f387 userID=1a80e2d5-3439-43b3-af71-ceb24910810d time="2026-09-17T09:46:18Z" msg="Mailbox created" /user remoteMailboxID=c0bb7e17-fb9a-4d3d-8d94-d34165f98296 userID=1a80e2d5-3439-43b3-af71-ceb24910810d time="2026-09-17T09:46:18Z" msg="Mailbox created" /user remoteMailboxID=10 userID=1a80e2d5-3439-43b3-af71-ceb24910810d time="2026-09-17T09:46:18Z" msg="Mailbox created" /user remoteMailboxID=0 userID=1a80e2d5-3439-43b3-af71-ceb24910810d time="2026-09-17T09:46:18Z" msg="Mailbox created" /user remoteMailboxID=3 userID=1a80e2d5-3439-43b3-af71-ceb24910810d time="2026-09-17T09:46:18Z" msg="Mailbox created" /user remoteMailboxID=8 userID=1a80e2d5-3439-43b3-af71-ceb24910810d time="2026-09-17T09:46:18Z" msg="Synced labels" time="2026-09-17T09:46:18Z" msg="200 OK: GET https://127.0.0.1:35525/mail/v4/messages/count" /client userID=c4645329-a720-4a1d-b924-9edffdeb1616 time="2026-09-17T09:46:18Z" msg="Syncing messages" time="2026-09-17T09:46:18Z" msg="Job started" time="2026-09-17T09:46:18Z" msg="200 OK: POST https://127.0.0.1:35525/mail/v4/messages" /client userID=c4645329-a720-4a1d-b924-9edffdeb1616 time="2026-09-17T09:46:18Z" msg="Job finished" time="2026-09-17T09:46:18Z" msg="All child jobs completed" sync- time="2026-09-17T09:46:18Z" msg="Synced messages" time="2026-09-17T09:46:18Z" msg="Finished user sync" .693531ms time="2026-09-17T09:46:18Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:46:18Z" msg="Event loop reset" eventID="BA==" time="2026-09-17T09:46:18Z" msg="200 OK: POST https://127.0.0.1:35525/core/v4/labels" /client userID=c4645329-a720-4a1d-b924-9edffdeb1616 Scenario: Create label # features/imap/mailbox/create.feature:21 When IMAP client "1" creates "Labels/mbox" # :1 -> *scenario time="2026-09-17T09:46:18Z" msg="Frontend service stopped" time="2026-09-17T09:46:18Z" msg="Frontend client stopped" time="2026-09-17T09:46:18Z" msg="Closing bridge" time="2026-09-17T09:46:18Z" msg="Stopping service" time="2026-09-17T09:46:18Z" msg="Closing user" userID=c4645329-a720-4a1d-b924-9edffdeb1616 time="2026-09-17T09:46:18Z" msg="De-registering user client, ID:c4645329-a720-4a1d-b924-9edffdeb1616" time="2026-09-17T09:46:18Z" msg="Exiting IMAP Service" time="2026-09-17T09:46:18Z" msg="Exiting service main loop" time="2026-09-17T09:46:18Z" msg="Exiting service main loop" time="2026-09-17T09:46:18Z" msg="Exiting Service" time="2026-09-17T09:46:18Z" msg="Exiting service main loop" time="2026-09-17T09:46:18Z" msg="Exiting service" time="2026-09-17T09:46:18Z" msg="Closing IMAP Listener" time="2026-09-17T09:46:18Z" msg="Closing IMAP server" time="2026-09-17T09:46:18Z" msg="Closing SMTP Listener" time="2026-09-17T09:46:18Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:46:18Z" msg="Closing SMTP server" time="2026-09-17T09:46:18Z" msg="Closing service" Then IMAP client "1" sees "Labels/mbox" # :1 -> *scenario time="2026-09-17T09:46:18Z" msg="User '85007145-6385-4cac-97b2-fbe20d3963ee' created with " /server/backend time="2026-09-17T09:46:19Z" msg="Starting bridge" time="2026-09-17T09:46:19Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/037/config1161291956/grpcFocusServerConfig.json /service time="2026-09-17T09:46:19Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/037/cache2274348927/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:46:19Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/037/cache2274348927/notifications/notification_cache: no such file or directory" time="2026-09-17T09:46:19Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/037/data866071160/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/037/data866071160/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:46:19Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:46:19Z" msg="Starting IMAP server" time="2026-09-17T09:46:19Z" msg="Starting SMTP server" time="2026-09-17T09:46:19Z" msg="Starting service" time="2026-09-17T09:46:19Z" msg="Starting service" time="2026-09-17T09:46:19Z" msg="Starting receiver service" time="2026-09-17T09:46:19Z" msg="Starting frontend service" time="2026-09-17T09:46:19Z" msg="Checking for updates" time="2026-09-17T09:46:19Z" msg="Loading users" /user time="2026-09-17T09:46:19Z" msg="Starting poll service" time="2026-09-17T09:46:19Z" msg="Finished loading users" /user time="2026-09-17T09:46:19Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/037/config1161291956/grpcServerConfig.json time="2026-09-17T09:46:19Z" msg="gRPC server listening on /tmp/bridge0955" time="2026-09-17T09:46:19Z" msg="Frontend service started" time="2026-09-17T09:46:19Z" msg="Starting frontend client" time="2026-09-17T09:46:19Z" msg="Not monitoring parent PID" time="2026-09-17T09:46:19Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:46:19Z" msg="200 OK: GET https://127.0.0.1:44753/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:46:19Z" msg="Frontend client started" time="2026-09-17T09:46:19Z" msg="Performing full user login" /user username="******** (409b50cd)" time="2026-09-17T09:46:19Z" msg="Authorizing user for login" /user username="******** (409b50cd)" time="2026-09-17T09:46:19Z" msg="200 OK: POST https://127.0.0.1:44753/auth/v4/info" /manager time="2026-09-17T09:46:19Z" msg="200 OK: POST https://127.0.0.1:44753/auth/v4" /manager time="2026-09-17T09:46:19Z" msg="Logging in authorized user" /user userID=141e0017-33e0-4489-b457-d24034b2222b time="2026-09-17T09:46:19Z" msg="Adding vault user" userID=141e0017-33e0-4489-b457-d24034b2222b time="2026-09-17T09:46:19Z" msg="Creating new user" userID=141e0017-33e0-4489-b457-d24034b2222b time="2026-09-17T09:46:19Z" msg="404 GET https://127.0.0.1:44753/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:46:19Z" msg="404 GET https://127.0.0.1:44753/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:46:19Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:44753/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:46:19Z" msg="Creating user object" authUID=7f5e4c91-2b78-4588-9407-3984c0efc9ee numA numL userID=141e0017-33e0-4489-b457-d24034b2222b time="2026-09-17T09:46:19Z" msg="200 OK: GET https://127.0.0.1:44753/core/v4/events/latest" /client userID=141e0017-33e0-4489-b457-d24034b2222b time="2026-09-17T09:46:19Z" msg="Starting service Last EventID=BA==" time="2026-09-17T09:46:19Z" msg="200 OK: GET https://127.0.0.1:44753/core/v4/settings" /client userID=141e0017-33e0-4489-b457-d24034b2222b time="2026-09-17T09:46:19Z" msg="Registering user client, ID:141e0017-33e0-4489-b457-d24034b2222b" time="2026-09-17T09:46:19Z" msg="Starting service main loop" time="2026-09-17T09:46:19Z" msg="Starting user identity service" numA time="2026-09-17T09:46:19Z" msg="Starting service main loop" time="2026-09-17T09:46:19Z" msg="Starting service main loop" time="2026-09-17T09:46:19Z" msg="200 OK: GET https://127.0.0.1:44753/core/v4/labels?T" /client userID=141e0017-33e0-4489-b457-d24034b2222b time="2026-09-17T09:46:19Z" msg="200 OK: GET https://127.0.0.1:44753/core/v4/labels?T" /client userID=141e0017-33e0-4489-b457-d24034b2222b time="2026-09-17T09:46:19Z" msg="200 OK: GET https://127.0.0.1:44753/core/v4/labels?T" /client userID=141e0017-33e0-4489-b457-d24034b2222b time="2026-09-17T09:46:19Z" msg="Setting labels" labelIDs="[5 8 10 0 4 6 7 9 12 1 2 3 76fea41e-8992-4749-970c-aee761c57198 7c16b529-83c8-43ba-82ec-59beec0622e8 7e2e3f99-7d92-4dcc-847a-59356bf4da35 74443dde-9b00-41ec-8cd1-66844fbe1f3b]" time="2026-09-17T09:46:19Z" msg="Adding user to imap server" addrID=a6feb171-94a2-42f9-986f-c4d1e0671652 time="2026-09-17T09:46:19Z" msg="Creating new IMAP user" addrID=a6feb171-94a2-42f9-986f-c4d1e0671652 time="2026-09-17T09:46:19Z" msg="Setting gluon ID" addrID=a6feb171-94a2-42f9-986f-c4d1e0671652 gluonID=f15e8ebe-3c3e-4fac-9ddc-14c390f02b86 userID=141e0017-33e0-4489-b457-d24034b2222b time="2026-09-17T09:46:19Z" msg="Created new IMAP user" addrID=a6feb171-94a2-42f9-986f-c4d1e0671652 gluonID=f15e8ebe-3c3e-4fac-9ddc-14c390f02b86 time="2026-09-17T09:46:19Z" msg="Received mailbox message count" gluonID=f15e8ebe-3c3e-4fac-9ddc-14c390f02b86 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:46:19Z" msg="Validating Listener State" time="2026-09-17T09:46:19Z" msg="Starting IMAP Service" time="2026-09-17T09:46:19Z" time="2026-09-17T09:46:19Z" msg="Checking whether logged in user should re-sync. UserID:141e0017-33e0-4489-b457-d24034b2222b" userID=141e0017-33e0-4489-b457-d24034b2222b time="2026-09-17T09:46:19Z" msg="Sync triggered" time="2026-09-17T09:46:19Z" msg="Beginning user sync" start="2026-09-17 09:46:19.735974061 +0000 UTC m=+68.228276397" time="2026-09-17T09:46:19Z" msg="Syncing labels" time="2026-09-17T09:46:19Z" msg="Label not found in DB, creating mailbox." labelID=7e2e3f99-7d92-4dcc-847a-59356bf4da35 labelPath="f5Qe5RYSMSMdJXJ6f9pncXVUMxi646S+03ipR/WFS6E=" numberOfC /labelConflictResolver time="2026-09-17T09:46:19Z" msg="Label not found in DB, creating mailbox." labelID=74443dde-9b00-41ec-8cd1-66844fbe1f3b labelPath="PkT/yXcPNu1r3OoCUKUaipoBRnFZgfAoAl8O0/oEz1c=" numberOfC /labelConflictResolver time="2026-09-17T09:46:19Z" msg="Label not found in DB, creating mailbox." labelID=76fea41e-8992-4749-970c-aee761c57198 labelPath="CqcPyYxwtd3HBNbKIG3NWRK3vh7cnefdC5utNQpsJU0=" numberOfC /labelConflictResolver time="2026-09-17T09:46:19Z" msg="Label not found in DB, creating mailbox." labelID=7c16b529-83c8-43ba-82ec-59beec0622e8 labelPath="1KzX2RU1mQyO4COrdPGc33QxTjsjJsaf3laorPH6g0g=" numberOfC /labelConflictResolver time="2026-09-17T09:46:19Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=f15e8ebe-3c3e-4fac-9ddc-14c390f02b86 time="2026-09-17T09:46:19Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=f15e8ebe-3c3e-4fac-9ddc-14c390f02b86 time="2026-09-17T09:46:19Z" msg="Mailbox created" /user remoteMailboxID=10 userID=f15e8ebe-3c3e-4fac-9ddc-14c390f02b86 time="2026-09-17T09:46:19Z" msg="Mailbox created" /user remoteMailboxID=7e2e3f99-7d92-4dcc-847a-59356bf4da35 userID=f15e8ebe-3c3e-4fac-9ddc-14c390f02b86 time="2026-09-17T09:46:19Z" msg="Mailbox created" /user remoteMailboxID=74443dde-9b00-41ec-8cd1-66844fbe1f3b userID=f15e8ebe-3c3e-4fac-9ddc-14c390f02b86 time="2026-09-17T09:46:19Z" msg="Mailbox created" /user remoteMailboxID=4 userID=f15e8ebe-3c3e-4fac-9ddc-14c390f02b86 time="2026-09-17T09:46:19Z" msg="Mailbox created" /user remoteMailboxID=6 userID=f15e8ebe-3c3e-4fac-9ddc-14c390f02b86 time="2026-09-17T09:46:19Z" msg="Mailbox created" /user remoteMailboxID=8 userID=f15e8ebe-3c3e-4fac-9ddc-14c390f02b86 time="2026-09-17T09:46:19Z" msg="Mailbox created" /user remoteMailboxID=0 userID=f15e8ebe-3c3e-4fac-9ddc-14c390f02b86 time="2026-09-17T09:46:19Z" msg="Mailbox created" /user remoteMailboxID=7 userID=f15e8ebe-3c3e-4fac-9ddc-14c390f02b86 time="2026-09-17T09:46:19Z" msg="Mailbox created" /user remoteMailboxID=12 userID=f15e8ebe-3c3e-4fac-9ddc-14c390f02b86 time="2026-09-17T09:46:19Z" msg="Mailbox created" /user remoteMailboxID=3 userID=f15e8ebe-3c3e-4fac-9ddc-14c390f02b86 time="2026-09-17T09:46:19Z" msg="Mailbox created" /user remoteMailboxID=76fea41e-8992-4749-970c-aee761c57198 userID=f15e8ebe-3c3e-4fac-9ddc-14c390f02b86 time="2026-09-17T09:46:19Z" msg="Mailbox created" /user remoteMailboxID=7c16b529-83c8-43ba-82ec-59beec0622e8 userID=f15e8ebe-3c3e-4fac-9ddc-14c390f02b86 time="2026-09-17T09:46:19Z" msg="Mailbox created" /user remoteMailboxID=5 userID=f15e8ebe-3c3e-4fac-9ddc-14c390f02b86 time="2026-09-17T09:46:19Z" msg="Synced labels" time="2026-09-17T09:46:19Z" msg="200 OK: GET https://127.0.0.1:44753/mail/v4/messages/count" /client userID=141e0017-33e0-4489-b457-d24034b2222b time="2026-09-17T09:46:19Z" msg="Syncing messages" time="2026-09-17T09:46:19Z" msg="Job started" time="2026-09-17T09:46:19Z" msg="200 OK: POST https://127.0.0.1:44753/mail/v4/messages" /client userID=141e0017-33e0-4489-b457-d24034b2222b time="2026-09-17T09:46:19Z" msg="Job finished" time="2026-09-17T09:46:19Z" msg="All child jobs completed" sync- time="2026-09-17T09:46:19Z" msg="Synced messages" time="2026-09-17T09:46:19Z" msg="Finished user sync" .057328ms time="2026-09-17T09:46:19Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:46:19Z" msg="Event loop reset" eventID="BA==" time="2026-09-17T09:46:19Z" msg="Command failed" cmd="CREATE 'Hh7A6MmiCZmPjKU5nIy5MQGu52kyeM34kGA9QpvWvi4='" error="a mailbox with that name already exists" /session time="2026-09-17T09:46:19Z" msg="Sending observability data." Scenario: Creating folder or label with existing name is not possible # features/imap/mailbox/create.feature:25 When IMAP client "1" creates "Folders/f1" # :1 -> *scenario Then it fails # :1 -> *scenario And bridge reports a message with "Failed to create mailbox" # :1 -> *scenario time="2026-09-17T09:46:19Z" msg="200 OK: POST https://127.0.0.1:44753/data/v1/metrics" /client userID=141e0017-33e0-4489-b457-d24034b2222b time="2026-09-17T09:46:19Z" msg="Successfully sent observability data." time="2026-09-17T09:46:19Z" msg="Command failed" cmd="CREATE 'WVutmj+LQJAxhtJTp1oDoFq34RZLuQap3ivQVyPlqUI='" error="a mailbox with that name already exists" /session time="2026-09-17T09:46:19Z" msg="Scheduling observability data sending" When IMAP client "1" creates "Folders/f2" # :1 -> *scenario Then it fails # :1 -> *scenario And bridge reports a message with "Failed to create mailbox" # :1 -> *scenario time="2026-09-17T09:46:19Z" msg="Command failed" cmd="CREATE 'SWe9/qWjt7f3RxUASQ6Hv0xvByWEYJ4nWGdfw4AW0MQ='" error="a mailbox with that name already exists" /session When IMAP client "1" creates "Labels/l1" # :1 -> *scenario Then it fails # :1 -> *scenario And bridge reports a message with "Failed to create mailbox" # :1 -> *scenario time="2026-09-17T09:46:19Z" msg="Command failed" cmd="CREATE 'rc2lwp8gYEreyeVkWdSUYGPS3E2wQicLXFGJL4w/gaA='" error="a mailbox with that name already exists" /session When IMAP client "1" creates "Labels/l2" # :1 -> *scenario Then it fails # :1 -> *scenario And bridge reports a message with "Failed to create mailbox" # :1 -> *scenario time="2026-09-17T09:46:19Z" msg="200 OK: POST https://127.0.0.1:44753/core/v4/labels" /client userID=141e0017-33e0-4489-b457-d24034b2222b When IMAP client "1" creates "Folders/f3" # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:46:19Z" msg="200 OK: POST https://127.0.0.1:44753/core/v4/labels" /client userID=141e0017-33e0-4489-b457-d24034b2222b When IMAP client "1" creates "Labels/l3" # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:46:19Z" msg="Frontend service stopped" time="2026-09-17T09:46:19Z" msg="Frontend client stopped" time="2026-09-17T09:46:19Z" msg="Closing bridge" time="2026-09-17T09:46:19Z" msg="Stopping service" time="2026-09-17T09:46:19Z" msg="Closing user" userID=141e0017-33e0-4489-b457-d24034b2222b time="2026-09-17T09:46:19Z" msg="De-registering user client, ID:141e0017-33e0-4489-b457-d24034b2222b" time="2026-09-17T09:46:19Z" msg="Exiting IMAP Service" time="2026-09-17T09:46:19Z" msg="Exiting service main loop" time="2026-09-17T09:46:19Z" msg="Exiting service main loop" time="2026-09-17T09:46:19Z" msg="Exiting Service" time="2026-09-17T09:46:19Z" msg="Exiting service main loop" time="2026-09-17T09:46:19Z" msg="Exiting service" time="2026-09-17T09:46:19Z" msg="Closing IMAP Listener" time="2026-09-17T09:46:19Z" msg="Closing IMAP server" time="2026-09-17T09:46:19Z" msg="Closing SMTP Listener" time="2026-09-17T09:46:19Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:46:19Z" msg="Closing SMTP server" time="2026-09-17T09:46:19Z" msg="Closing service" Then IMAP client "1" eventually sees the following mailbox info: # :1 -> *scenario | name | | INBOX | | Drafts | | Sent | | Starred | | Archive | | Spam | | Trash | | All Mail | | Folders | | Folders/f1 | | Folders/f2 | | Folders/f3 | | Labels | | Labels/l1 | | Labels/l2 | | Labels/l3 | time="2026-09-17T09:46:20Z" msg="User 'e1f71fb5-bb17-4aa5-8548-5c4cd758d82b' created with " /server/backend time="2026-09-17T09:46:20Z" msg="Starting bridge" time="2026-09-17T09:46:20Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/038/config1801069855/grpcFocusServerConfig.json /service time="2026-09-17T09:46:20Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/038/cache695509351/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:46:20Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/038/cache695509351/notifications/notification_cache: no such file or directory" time="2026-09-17T09:46:20Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/038/data91626988/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/038/data91626988/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:46:20Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:46:20Z" msg="Starting IMAP server" time="2026-09-17T09:46:20Z" msg="Starting SMTP server" time="2026-09-17T09:46:20Z" msg="Starting service" time="2026-09-17T09:46:20Z" msg="Starting service" time="2026-09-17T09:46:20Z" msg="Starting poll service" time="2026-09-17T09:46:20Z" msg="Starting frontend service" time="2026-09-17T09:46:20Z" msg="Checking for updates" time="2026-09-17T09:46:20Z" msg="Starting receiver service" time="2026-09-17T09:46:20Z" msg="Loading users" /user time="2026-09-17T09:46:20Z" msg="Finished loading users" /user time="2026-09-17T09:46:20Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/038/config1801069855/grpcServerConfig.json time="2026-09-17T09:46:20Z" msg="gRPC server listening on /tmp/bridge3784" time="2026-09-17T09:46:20Z" msg="Frontend service started" time="2026-09-17T09:46:20Z" msg="Starting frontend client" time="2026-09-17T09:46:20Z" msg="Not monitoring parent PID" time="2026-09-17T09:46:20Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:46:20Z" msg="200 OK: GET https://127.0.0.1:43053/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:46:20Z" msg="Frontend client started" time="2026-09-17T09:46:20Z" msg="Performing full user login" /user username="******** (b7898fe5)" time="2026-09-17T09:46:20Z" msg="Authorizing user for login" /user username="******** (b7898fe5)" time="2026-09-17T09:46:20Z" msg="200 OK: POST https://127.0.0.1:43053/auth/v4/info" /manager time="2026-09-17T09:46:21Z" msg="200 OK: POST https://127.0.0.1:43053/auth/v4" /manager time="2026-09-17T09:46:21Z" msg="Logging in authorized user" /user userID=8774a7b2-43e8-466d-ac5a-6c305d939330 time="2026-09-17T09:46:21Z" msg="Adding vault user" userID=8774a7b2-43e8-466d-ac5a-6c305d939330 time="2026-09-17T09:46:21Z" msg="Creating new user" userID=8774a7b2-43e8-466d-ac5a-6c305d939330 time="2026-09-17T09:46:21Z" msg="404 GET https://127.0.0.1:43053/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:46:21Z" msg="404 GET https://127.0.0.1:43053/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:46:21Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:43053/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:46:21Z" msg="Creating user object" authUID=bacac4bf-e1ca-40c2-b25e-b0884dea0f54 numA numL userID=8774a7b2-43e8-466d-ac5a-6c305d939330 time="2026-09-17T09:46:21Z" msg="200 OK: GET https://127.0.0.1:43053/core/v4/events/latest" /client userID=8774a7b2-43e8-466d-ac5a-6c305d939330 time="2026-09-17T09:46:21Z" msg="Starting service Last EventID=BA==" time="2026-09-17T09:46:21Z" msg="200 OK: GET https://127.0.0.1:43053/core/v4/settings" /client userID=8774a7b2-43e8-466d-ac5a-6c305d939330 time="2026-09-17T09:46:21Z" msg="Registering user client, ID:8774a7b2-43e8-466d-ac5a-6c305d939330" time="2026-09-17T09:46:21Z" msg="Starting user identity service" numA time="2026-09-17T09:46:21Z" msg="Starting service main loop" time="2026-09-17T09:46:21Z" msg="Starting service main loop" time="2026-09-17T09:46:21Z" msg="Starting service main loop" time="2026-09-17T09:46:21Z" msg="200 OK: GET https://127.0.0.1:43053/core/v4/labels?T" /client userID=8774a7b2-43e8-466d-ac5a-6c305d939330 time="2026-09-17T09:46:21Z" msg="200 OK: GET https://127.0.0.1:43053/core/v4/labels?T" /client userID=8774a7b2-43e8-466d-ac5a-6c305d939330 time="2026-09-17T09:46:21Z" msg="200 OK: GET https://127.0.0.1:43053/core/v4/labels?T" /client userID=8774a7b2-43e8-466d-ac5a-6c305d939330 time="2026-09-17T09:46:21Z" msg="Setting labels" labelIDs="[5 6 10 12 4 7 8 9 0 1 2 3 2f8a808a-3d6d-409b-8ec9-2a1f8bed3a7b 2ec49242-ebc4-42a2-8878-bc0031781a76 c2900cf3-a12b-4c5e-a119-6c1338abbf02 14f3b859-063d-41a8-8572-5243eab4e527]" time="2026-09-17T09:46:21Z" msg="Adding user to imap server" addrID=fd1a73d7-b652-4e16-9729-ec47f99ad7db time="2026-09-17T09:46:21Z" msg="Creating new IMAP user" addrID=fd1a73d7-b652-4e16-9729-ec47f99ad7db time="2026-09-17T09:46:21Z" msg="Setting gluon ID" addrID=fd1a73d7-b652-4e16-9729-ec47f99ad7db gluonID=009a62c4-a93a-47a9-a0f4-a3f78b946f49 userID=8774a7b2-43e8-466d-ac5a-6c305d939330 time="2026-09-17T09:46:21Z" msg="Received mailbox message count" gluonID=009a62c4-a93a-47a9-a0f4-a3f78b946f49 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:46:21Z" msg="Created new IMAP user" addrID=fd1a73d7-b652-4e16-9729-ec47f99ad7db gluonID=009a62c4-a93a-47a9-a0f4-a3f78b946f49 time="2026-09-17T09:46:21Z" msg="Validating Listener State" time="2026-09-17T09:46:21Z" time="2026-09-17T09:46:21Z" msg="Starting IMAP Service" time="2026-09-17T09:46:21Z" msg="Checking whether logged in user should re-sync. UserID:8774a7b2-43e8-466d-ac5a-6c305d939330" userID=8774a7b2-43e8-466d-ac5a-6c305d939330 time="2026-09-17T09:46:21Z" msg="Sync triggered" time="2026-09-17T09:46:21Z" msg="Beginning user sync" start="2026-09-17 09:46:21.325320119 +0000 UTC m=+69.817622415" time="2026-09-17T09:46:21Z" msg="Syncing labels" time="2026-09-17T09:46:21Z" msg="Label not found in DB, creating mailbox." labelID=2ec49242-ebc4-42a2-8878-bc0031781a76 labelPath="1KzX2RU1mQyO4COrdPGc33QxTjsjJsaf3laorPH6g0g=" numberOfC /labelConflictResolver time="2026-09-17T09:46:21Z" msg="Label not found in DB, creating mailbox." labelID=c2900cf3-a12b-4c5e-a119-6c1338abbf02 labelPath="f5Qe5RYSMSMdJXJ6f9pncXVUMxi646S+03ipR/WFS6E=" numberOfC /labelConflictResolver time="2026-09-17T09:46:21Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=009a62c4-a93a-47a9-a0f4-a3f78b946f49 time="2026-09-17T09:46:21Z" msg="Label not found in DB, creating mailbox." labelID=2f8a808a-3d6d-409b-8ec9-2a1f8bed3a7b labelPath="CqcPyYxwtd3HBNbKIG3NWRK3vh7cnefdC5utNQpsJU0=" numberOfC /labelConflictResolver time="2026-09-17T09:46:21Z" msg="Label not found in DB, creating mailbox." labelID=14f3b859-063d-41a8-8572-5243eab4e527 labelPath="PkT/yXcPNu1r3OoCUKUaipoBRnFZgfAoAl8O0/oEz1c=" numberOfC /labelConflictResolver time="2026-09-17T09:46:21Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=009a62c4-a93a-47a9-a0f4-a3f78b946f49 time="2026-09-17T09:46:21Z" msg="Mailbox created" /user remoteMailboxID=4 userID=009a62c4-a93a-47a9-a0f4-a3f78b946f49 time="2026-09-17T09:46:21Z" msg="Mailbox created" /user remoteMailboxID=3 userID=009a62c4-a93a-47a9-a0f4-a3f78b946f49 time="2026-09-17T09:46:21Z" msg="Mailbox created" /user remoteMailboxID=2ec49242-ebc4-42a2-8878-bc0031781a76 userID=009a62c4-a93a-47a9-a0f4-a3f78b946f49 time="2026-09-17T09:46:21Z" msg="Mailbox created" /user remoteMailboxID=c2900cf3-a12b-4c5e-a119-6c1338abbf02 userID=009a62c4-a93a-47a9-a0f4-a3f78b946f49 time="2026-09-17T09:46:21Z" msg="Mailbox created" /user remoteMailboxID=6 userID=009a62c4-a93a-47a9-a0f4-a3f78b946f49 time="2026-09-17T09:46:21Z" msg="Mailbox created" /user remoteMailboxID=10 userID=009a62c4-a93a-47a9-a0f4-a3f78b946f49 time="2026-09-17T09:46:21Z" msg="Mailbox created" /user remoteMailboxID=7 userID=009a62c4-a93a-47a9-a0f4-a3f78b946f49 time="2026-09-17T09:46:21Z" msg="Mailbox created" /user remoteMailboxID=5 userID=009a62c4-a93a-47a9-a0f4-a3f78b946f49 time="2026-09-17T09:46:21Z" msg="Mailbox created" /user remoteMailboxID=12 userID=009a62c4-a93a-47a9-a0f4-a3f78b946f49 time="2026-09-17T09:46:21Z" msg="Mailbox created" /user remoteMailboxID=8 userID=009a62c4-a93a-47a9-a0f4-a3f78b946f49 time="2026-09-17T09:46:21Z" msg="Mailbox created" /user remoteMailboxID=0 userID=009a62c4-a93a-47a9-a0f4-a3f78b946f49 time="2026-09-17T09:46:21Z" msg="Mailbox created" /user remoteMailboxID=2f8a808a-3d6d-409b-8ec9-2a1f8bed3a7b userID=009a62c4-a93a-47a9-a0f4-a3f78b946f49 time="2026-09-17T09:46:21Z" msg="Mailbox created" /user remoteMailboxID=14f3b859-063d-41a8-8572-5243eab4e527 userID=009a62c4-a93a-47a9-a0f4-a3f78b946f49 time="2026-09-17T09:46:21Z" msg="Synced labels" time="2026-09-17T09:46:21Z" msg="200 OK: GET https://127.0.0.1:43053/mail/v4/messages/count" /client userID=8774a7b2-43e8-466d-ac5a-6c305d939330 time="2026-09-17T09:46:21Z" msg="Syncing messages" time="2026-09-17T09:46:21Z" msg="Job started" time="2026-09-17T09:46:21Z" msg="200 OK: POST https://127.0.0.1:43053/mail/v4/messages" /client userID=8774a7b2-43e8-466d-ac5a-6c305d939330 time="2026-09-17T09:46:21Z" msg="Job finished" time="2026-09-17T09:46:21Z" msg="All child jobs completed" sync- time="2026-09-17T09:46:21Z" msg="Synced messages" time="2026-09-17T09:46:21Z" msg="Finished user sync" .273049ms time="2026-09-17T09:46:21Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:46:21Z" msg="Event loop reset" eventID="BA==" time="2026-09-17T09:46:21Z" msg="200 OK: POST https://127.0.0.1:43053/core/v4/labels" /client userID=8774a7b2-43e8-466d-ac5a-6c305d939330 Scenario: Creating subfolders is possible and they persist after resync # features/imap/mailbox/create.feature:61 When IMAP client "1" creates "Folders/f1/f11" # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:46:21Z" msg="200 OK: POST https://127.0.0.1:43053/core/v4/labels" /client userID=8774a7b2-43e8-466d-ac5a-6c305d939330 When IMAP client "1" creates "Folders/f1/f12" # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:46:21Z" msg="200 OK: POST https://127.0.0.1:43053/core/v4/labels" /client userID=8774a7b2-43e8-466d-ac5a-6c305d939330 When IMAP client "1" creates "Folders/f2/f21" # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:46:21Z" msg="200 OK: POST https://127.0.0.1:43053/core/v4/labels" /client userID=8774a7b2-43e8-466d-ac5a-6c305d939330 When IMAP client "1" creates "Folders/f2/f22" # :1 -> *scenario Then it succeeds # :1 -> *scenario Then IMAP client "1" eventually sees the following mailbox info: # :1 -> *scenario | name | | INBOX | | Drafts | | Sent | | Starred | | Archive | | Spam | | Trash | | All Mail | | Folders | | Folders/f1 | | Folders/f1/f11 | | Folders/f1/f12 | | Folders/f2 | | Folders/f2/f21 | | Folders/f2/f22 | | Labels | | Labels/l1 | | Labels/l2 | time="2026-09-17T09:46:21Z" msg="Deleting user" /user userID=8774a7b2-43e8-466d-ac5a-6c305d939330 time="2026-09-17T09:46:21Z" msg="Logging out user" userID=8774a7b2-43e8-466d-ac5a-6c305d939330 withAPI=true withD time="2026-09-17T09:46:21Z" msg="Removing gluon ID" addrID=fd1a73d7-b652-4e16-9729-ec47f99ad7db gluonID=009a62c4-a93a-47a9-a0f4-a3f78b946f49 userID=8774a7b2-43e8-466d-ac5a-6c305d939330 time="2026-09-17T09:46:21Z" msg="Validating Listener State" time="2026-09-17T09:46:21Z" msg="De-registering user client, ID:8774a7b2-43e8-466d-ac5a-6c305d939330" time="2026-09-17T09:46:21Z" msg="Exiting IMAP Service" time="2026-09-17T09:46:21Z" msg="Exiting service main loop" time="2026-09-17T09:46:21Z" msg="Exiting service main loop" time="2026-09-17T09:46:21Z" msg="Exiting Service" time="2026-09-17T09:46:21Z" msg="Exiting service main loop" time="2026-09-17T09:46:21Z" msg="Exiting service" time="2026-09-17T09:46:21Z" msg="200 OK: DELETE https://127.0.0.1:43053/auth/v4" /client userID=8774a7b2-43e8-466d-ac5a-6c305d939330 time="2026-09-17T09:46:21Z" msg="Closing user" userID=8774a7b2-43e8-466d-ac5a-6c305d939330 time="2026-09-17T09:46:21Z" msg="De-registering user client, ID:8774a7b2-43e8-466d-ac5a-6c305d939330" time="2026-09-17T09:46:21Z" msg="Deleting vault user" userID=8774a7b2-43e8-466d-ac5a-6c305d939330 When user "e1f71fb5-bb17-4aa5-8548-5c4cd758d82b" is deleted # :1 -> *scenario time="2026-09-17T09:46:21Z" msg="Performing full user login" /user username="******** (b7898fe5)" time="2026-09-17T09:46:21Z" msg="Authorizing user for login" /user username="******** (b7898fe5)" time="2026-09-17T09:46:21Z" msg="200 OK: POST https://127.0.0.1:43053/auth/v4/info" /manager time="2026-09-17T09:46:21Z" msg="Failed to send heartbeat" metrics="{bridge.any.heartbeat bridge_heartbeat_new {0 6} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:46:21Z" msg="Failed to send heartbeat" metrics="{bridge.any.heartbeat bridge_heartbeat_new {0 6} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:46:21Z" msg="200 OK: POST https://127.0.0.1:43053/auth/v4" /manager time="2026-09-17T09:46:21Z" msg="Logging in authorized user" /user userID=8774a7b2-43e8-466d-ac5a-6c305d939330 time="2026-09-17T09:46:21Z" msg="Adding vault user" userID=8774a7b2-43e8-466d-ac5a-6c305d939330 time="2026-09-17T09:46:21Z" msg="Creating new user" userID=8774a7b2-43e8-466d-ac5a-6c305d939330 time="2026-09-17T09:46:21Z" msg="404 GET https://127.0.0.1:43053/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:46:21Z" msg="404 GET https://127.0.0.1:43053/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:46:21Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:43053/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:46:21Z" msg="Creating user object" authUID=41b90883-1a9b-4520-887b-8e88efeef3ec numA numL userID=8774a7b2-43e8-466d-ac5a-6c305d939330 time="2026-09-17T09:46:21Z" msg="200 OK: GET https://127.0.0.1:43053/core/v4/events/latest" /client userID=8774a7b2-43e8-466d-ac5a-6c305d939330 time="2026-09-17T09:46:21Z" msg="Starting service Last EventID=CA==" time="2026-09-17T09:46:21Z" msg="200 OK: GET https://127.0.0.1:43053/core/v4/settings" /client userID=8774a7b2-43e8-466d-ac5a-6c305d939330 time="2026-09-17T09:46:21Z" msg="Registering user client, ID:8774a7b2-43e8-466d-ac5a-6c305d939330" time="2026-09-17T09:46:21Z" msg="Starting service main loop" time="2026-09-17T09:46:21Z" msg="Starting service main loop" time="2026-09-17T09:46:21Z" msg="Starting service main loop" time="2026-09-17T09:46:21Z" msg="Starting user identity service" numA time="2026-09-17T09:46:21Z" msg="200 OK: GET https://127.0.0.1:43053/core/v4/labels?T" /client userID=8774a7b2-43e8-466d-ac5a-6c305d939330 time="2026-09-17T09:46:21Z" msg="200 OK: GET https://127.0.0.1:43053/core/v4/labels?T" /client userID=8774a7b2-43e8-466d-ac5a-6c305d939330 time="2026-09-17T09:46:21Z" msg="200 OK: GET https://127.0.0.1:43053/core/v4/labels?T" /client userID=8774a7b2-43e8-466d-ac5a-6c305d939330 time="2026-09-17T09:46:21Z" msg="Setting labels" labelIDs="[12 0 2 4 5 6 8 9 10 1 3 7 2f8a808a-3d6d-409b-8ec9-2a1f8bed3a7b 2ec49242-ebc4-42a2-8878-bc0031781a76 acbb52b9-e171-4e54-b01c-f40811458bda 20c10ce6-3208-4971-9ec1-40ac74ff8233 19a9e2ab-84e5-4f92-a5aa-f6d7545ca53a 2e2e5478-093c-4fbd-a9aa-af02cae4a305 c2900cf3-a12b-4c5e-a119-6c1338abbf02 14f3b859-063d-41a8-8572-5243eab4e527]" time="2026-09-17T09:46:21Z" msg="Adding user to imap server" addrID=fd1a73d7-b652-4e16-9729-ec47f99ad7db time="2026-09-17T09:46:21Z" msg="Creating new IMAP user" addrID=fd1a73d7-b652-4e16-9729-ec47f99ad7db time="2026-09-17T09:46:21Z" msg="Setting gluon ID" addrID=fd1a73d7-b652-4e16-9729-ec47f99ad7db gluonID=50aaa2f3-28db-4d38-9062-b5d697b67d88 userID=8774a7b2-43e8-466d-ac5a-6c305d939330 time="2026-09-17T09:46:21Z" msg="Received mailbox message count" gluonID=50aaa2f3-28db-4d38-9062-b5d697b67d88 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:46:21Z" msg="Created new IMAP user" addrID=fd1a73d7-b652-4e16-9729-ec47f99ad7db gluonID=50aaa2f3-28db-4d38-9062-b5d697b67d88 time="2026-09-17T09:46:21Z" msg="Validating Listener State" time="2026-09-17T09:46:21Z" time="2026-09-17T09:46:21Z" msg="Starting IMAP Service" time="2026-09-17T09:46:21Z" msg="Checking whether logged in user should re-sync. UserID:8774a7b2-43e8-466d-ac5a-6c305d939330" userID=8774a7b2-43e8-466d-ac5a-6c305d939330 time="2026-09-17T09:46:21Z" msg="Sync triggered" And the user logs in with username "e1f71fb5-bb17-4aa5-8548-5c4cd758d82b" and password "password" # :1 -> *scenario time="2026-09-17T09:46:21Z" msg="Beginning user sync" start="2026-09-17 09:46:21.899147224 +0000 UTC m=+70.391449520" time="2026-09-17T09:46:21Z" msg="Syncing labels" time="2026-09-17T09:46:21Z" msg="Label not found in DB, creating mailbox." labelID=acbb52b9-e171-4e54-b01c-f40811458bda labelPath="WioTK8C4vq0jZ4cy7jI7WdFYE1RaoJWiJcDTrtTvhu4=" numberOfC /labelConflictResolver time="2026-09-17T09:46:21Z" msg="Label not found in DB, creating mailbox." labelID=19a9e2ab-84e5-4f92-a5aa-f6d7545ca53a labelPath="NETe/DkNYjf+UyTIC0yYiXhIe3RuHmVMdvAoT6QeKpw=" numberOfC /labelConflictResolver time="2026-09-17T09:46:21Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=50aaa2f3-28db-4d38-9062-b5d697b67d88 time="2026-09-17T09:46:21Z" msg="Label not found in DB, creating mailbox." labelID=2e2e5478-093c-4fbd-a9aa-af02cae4a305 labelPath="Wz/Qv7HIIKj0C6zgrgLktJ0Obdx+x/+OssOgobwR+gA=" numberOfC /labelConflictResolver time="2026-09-17T09:46:21Z" msg="Label not found in DB, creating mailbox." labelID=c2900cf3-a12b-4c5e-a119-6c1338abbf02 labelPath="f5Qe5RYSMSMdJXJ6f9pncXVUMxi646S+03ipR/WFS6E=" numberOfC /labelConflictResolver time="2026-09-17T09:46:21Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=50aaa2f3-28db-4d38-9062-b5d697b67d88 time="2026-09-17T09:46:21Z" msg="Label not found in DB, creating mailbox." labelID=2ec49242-ebc4-42a2-8878-bc0031781a76 labelPath="1KzX2RU1mQyO4COrdPGc33QxTjsjJsaf3laorPH6g0g=" numberOfC /labelConflictResolver time="2026-09-17T09:46:21Z" msg="Label not found in DB, creating mailbox." labelID=14f3b859-063d-41a8-8572-5243eab4e527 labelPath="PkT/yXcPNu1r3OoCUKUaipoBRnFZgfAoAl8O0/oEz1c=" numberOfC /labelConflictResolver time="2026-09-17T09:46:21Z" msg="Mailbox created" /user remoteMailboxID=10 userID=50aaa2f3-28db-4d38-9062-b5d697b67d88 time="2026-09-17T09:46:21Z" msg="Label not found in DB, creating mailbox." labelID=2f8a808a-3d6d-409b-8ec9-2a1f8bed3a7b labelPath="CqcPyYxwtd3HBNbKIG3NWRK3vh7cnefdC5utNQpsJU0=" numberOfC /labelConflictResolver time="2026-09-17T09:46:21Z" msg="Mailbox created" /user remoteMailboxID=acbb52b9-e171-4e54-b01c-f40811458bda userID=50aaa2f3-28db-4d38-9062-b5d697b67d88 time="2026-09-17T09:46:21Z" msg="Label not found in DB, creating mailbox." labelID=20c10ce6-3208-4971-9ec1-40ac74ff8233 labelPath="eyP+M968GjYNFndkTdnjvPUWIwlMiDQqN/oVOsDm6pk=" numberOfC /labelConflictResolver time="2026-09-17T09:46:21Z" msg="Mailbox created" /user remoteMailboxID=19a9e2ab-84e5-4f92-a5aa-f6d7545ca53a userID=50aaa2f3-28db-4d38-9062-b5d697b67d88 time="2026-09-17T09:46:21Z" msg="Mailbox created" /user remoteMailboxID=2e2e5478-093c-4fbd-a9aa-af02cae4a305 userID=50aaa2f3-28db-4d38-9062-b5d697b67d88 time="2026-09-17T09:46:21Z" msg="Mailbox created" /user remoteMailboxID=c2900cf3-a12b-4c5e-a119-6c1338abbf02 userID=50aaa2f3-28db-4d38-9062-b5d697b67d88 time="2026-09-17T09:46:21Z" msg="Mailbox created" /user remoteMailboxID=5 userID=50aaa2f3-28db-4d38-9062-b5d697b67d88 time="2026-09-17T09:46:21Z" msg="Mailbox created" /user remoteMailboxID=6 userID=50aaa2f3-28db-4d38-9062-b5d697b67d88 time="2026-09-17T09:46:21Z" msg="Mailbox created" /user remoteMailboxID=7 userID=50aaa2f3-28db-4d38-9062-b5d697b67d88 time="2026-09-17T09:46:21Z" msg="Mailbox created" /user remoteMailboxID=2ec49242-ebc4-42a2-8878-bc0031781a76 userID=50aaa2f3-28db-4d38-9062-b5d697b67d88 time="2026-09-17T09:46:21Z" msg="Mailbox created" /user remoteMailboxID=14f3b859-063d-41a8-8572-5243eab4e527 userID=50aaa2f3-28db-4d38-9062-b5d697b67d88 time="2026-09-17T09:46:21Z" msg="Mailbox created" /user remoteMailboxID=12 userID=50aaa2f3-28db-4d38-9062-b5d697b67d88 time="2026-09-17T09:46:21Z" msg="Mailbox created" /user remoteMailboxID=4 userID=50aaa2f3-28db-4d38-9062-b5d697b67d88 time="2026-09-17T09:46:21Z" msg="Mailbox created" /user remoteMailboxID=2f8a808a-3d6d-409b-8ec9-2a1f8bed3a7b userID=50aaa2f3-28db-4d38-9062-b5d697b67d88 time="2026-09-17T09:46:21Z" msg="Mailbox created" /user remoteMailboxID=20c10ce6-3208-4971-9ec1-40ac74ff8233 userID=50aaa2f3-28db-4d38-9062-b5d697b67d88 time="2026-09-17T09:46:21Z" msg="Mailbox created" /user remoteMailboxID=0 userID=50aaa2f3-28db-4d38-9062-b5d697b67d88 time="2026-09-17T09:46:21Z" msg="Mailbox created" /user remoteMailboxID=8 userID=50aaa2f3-28db-4d38-9062-b5d697b67d88 time="2026-09-17T09:46:21Z" msg="Mailbox created" /user remoteMailboxID=3 userID=50aaa2f3-28db-4d38-9062-b5d697b67d88 time="2026-09-17T09:46:21Z" msg="Synced labels" time="2026-09-17T09:46:21Z" msg="200 OK: GET https://127.0.0.1:43053/mail/v4/messages/count" /client userID=8774a7b2-43e8-466d-ac5a-6c305d939330 time="2026-09-17T09:46:21Z" msg="Syncing messages" time="2026-09-17T09:46:21Z" msg="Job started" time="2026-09-17T09:46:21Z" msg="200 OK: POST https://127.0.0.1:43053/mail/v4/messages" /client userID=8774a7b2-43e8-466d-ac5a-6c305d939330 time="2026-09-17T09:46:21Z" msg="Job finished" time="2026-09-17T09:46:21Z" msg="All child jobs completed" sync- time="2026-09-17T09:46:21Z" msg="Synced messages" time="2026-09-17T09:46:21Z" msg="Finished user sync" .921465ms time="2026-09-17T09:46:21Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:46:21Z" msg="Event loop reset" eventID="CA==" And user "e1f71fb5-bb17-4aa5-8548-5c4cd758d82b" finishes syncing # :1 -> *scenario And user "e1f71fb5-bb17-4aa5-8548-5c4cd758d82b" connects and authenticates IMAP client "2" # :1 -> *scenario time="2026-09-17T09:46:21Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 6} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:46:22Z" msg="Frontend service stopped" time="2026-09-17T09:46:22Z" msg="Frontend client stopped" time="2026-09-17T09:46:22Z" msg="Closing bridge" time="2026-09-17T09:46:22Z" msg="Stopping service" time="2026-09-17T09:46:22Z" msg="Closing user" userID=8774a7b2-43e8-466d-ac5a-6c305d939330 time="2026-09-17T09:46:22Z" msg="De-registering user client, ID:8774a7b2-43e8-466d-ac5a-6c305d939330" time="2026-09-17T09:46:22Z" msg="Exiting IMAP Service" time="2026-09-17T09:46:22Z" msg="Exiting service main loop" time="2026-09-17T09:46:22Z" msg="Exiting service main loop" time="2026-09-17T09:46:22Z" msg="Exiting Service" time="2026-09-17T09:46:22Z" msg="Exiting service main loop" time="2026-09-17T09:46:22Z" msg="Exiting service" time="2026-09-17T09:46:22Z" msg="Closing IMAP Listener" time="2026-09-17T09:46:22Z" msg="Closing IMAP server" time="2026-09-17T09:46:22Z" msg="Closing SMTP Listener" time="2026-09-17T09:46:22Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:46:22Z" msg="Closing SMTP server" time="2026-09-17T09:46:22Z" msg="Closing service" Then IMAP client "2" eventually sees the following mailbox info: # :1 -> *scenario | name | | INBOX | | Drafts | | Sent | | Starred | | Archive | | Spam | | Trash | | All Mail | | Folders | | Folders/f1 | | Folders/f1/f11 | | Folders/f1/f12 | | Folders/f2 | | Folders/f2/f21 | | Folders/f2/f22 | | Labels | | Labels/l1 | | Labels/l2 | time="2026-09-17T09:46:22Z" msg="User '78102c2e-b3df-443a-b95f-775fed5c0a5d' created with " /server/backend time="2026-09-17T09:46:23Z" msg="Starting bridge" time="2026-09-17T09:46:23Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/039/config584775792/grpcFocusServerConfig.json /service time="2026-09-17T09:46:23Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/039/cache2597851143/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:46:23Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/039/cache2597851143/notifications/notification_cache: no such file or directory" time="2026-09-17T09:46:23Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/039/data2946868517/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/039/data2946868517/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:46:23Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:46:23Z" msg="Starting IMAP server" time="2026-09-17T09:46:23Z" msg="Starting SMTP server" time="2026-09-17T09:46:23Z" msg="Starting service" time="2026-09-17T09:46:23Z" msg="Starting service" time="2026-09-17T09:46:23Z" msg="Starting poll service" time="2026-09-17T09:46:23Z" msg="Checking for updates" time="2026-09-17T09:46:23Z" msg="Loading users" /user time="2026-09-17T09:46:23Z" msg="Starting frontend service" time="2026-09-17T09:46:23Z" msg="Starting receiver service" time="2026-09-17T09:46:23Z" msg="Finished loading users" /user time="2026-09-17T09:46:23Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/039/config584775792/grpcServerConfig.json time="2026-09-17T09:46:23Z" msg="gRPC server listening on /tmp/bridge9099" time="2026-09-17T09:46:23Z" msg="Frontend service started" time="2026-09-17T09:46:23Z" msg="Starting frontend client" time="2026-09-17T09:46:23Z" msg="Not monitoring parent PID" time="2026-09-17T09:46:23Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:46:23Z" msg="200 OK: GET https://127.0.0.1:39859/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:46:23Z" msg="Frontend client started" time="2026-09-17T09:46:23Z" msg="Performing full user login" /user username="******** (3f4b648d)" time="2026-09-17T09:46:23Z" msg="Authorizing user for login" /user username="******** (3f4b648d)" time="2026-09-17T09:46:23Z" msg="200 OK: POST https://127.0.0.1:39859/auth/v4/info" /manager time="2026-09-17T09:46:23Z" msg="200 OK: POST https://127.0.0.1:39859/auth/v4" /manager time="2026-09-17T09:46:23Z" msg="Logging in authorized user" /user userID=df421d7a-0af1-403f-bc29-7ed42fd6f897 time="2026-09-17T09:46:23Z" msg="Adding vault user" userID=df421d7a-0af1-403f-bc29-7ed42fd6f897 time="2026-09-17T09:46:23Z" msg="Creating new user" userID=df421d7a-0af1-403f-bc29-7ed42fd6f897 time="2026-09-17T09:46:23Z" msg="404 GET https://127.0.0.1:39859/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:46:23Z" msg="404 GET https://127.0.0.1:39859/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:46:23Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:39859/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:46:23Z" msg="Creating user object" authUID=376f5ef4-6b1a-4372-94de-cbc886bc974a numA numL userID=df421d7a-0af1-403f-bc29-7ed42fd6f897 time="2026-09-17T09:46:23Z" msg="200 OK: GET https://127.0.0.1:39859/core/v4/events/latest" /client userID=df421d7a-0af1-403f-bc29-7ed42fd6f897 time="2026-09-17T09:46:23Z" msg="Starting service Last EventID=BA==" time="2026-09-17T09:46:23Z" msg="200 OK: GET https://127.0.0.1:39859/core/v4/settings" /client userID=df421d7a-0af1-403f-bc29-7ed42fd6f897 time="2026-09-17T09:46:23Z" msg="Registering user client, ID:df421d7a-0af1-403f-bc29-7ed42fd6f897" time="2026-09-17T09:46:23Z" msg="Starting service main loop" time="2026-09-17T09:46:23Z" msg="Starting service main loop" time="2026-09-17T09:46:23Z" msg="Starting user identity service" numA time="2026-09-17T09:46:23Z" msg="Starting service main loop" time="2026-09-17T09:46:23Z" msg="200 OK: GET https://127.0.0.1:39859/core/v4/labels?T" /client userID=df421d7a-0af1-403f-bc29-7ed42fd6f897 time="2026-09-17T09:46:23Z" msg="200 OK: GET https://127.0.0.1:39859/core/v4/labels?T" /client userID=df421d7a-0af1-403f-bc29-7ed42fd6f897 time="2026-09-17T09:46:23Z" msg="200 OK: GET https://127.0.0.1:39859/core/v4/labels?T" /client userID=df421d7a-0af1-403f-bc29-7ed42fd6f897 time="2026-09-17T09:46:23Z" msg="Setting labels" labelIDs="[12 0 2 3 6 7 8 9 10 1 4 5 51996272-2410-43c6-b232-a9f989003901 43368af4-980b-4910-9d83-3edec4c9897a 41d3452e-5c54-4d0c-b31e-7093700a47dc aa53062e-2948-479c-9908-441d0b873aa3]" time="2026-09-17T09:46:23Z" msg="Adding user to imap server" addrID=b9a4ab70-7b73-411b-a117-435a5f5962e2 time="2026-09-17T09:46:23Z" msg="Creating new IMAP user" addrID=b9a4ab70-7b73-411b-a117-435a5f5962e2 time="2026-09-17T09:46:23Z" msg="Setting gluon ID" addrID=b9a4ab70-7b73-411b-a117-435a5f5962e2 gluonID=3827f5ba-cde9-41ae-a889-5e7968452b9e userID=df421d7a-0af1-403f-bc29-7ed42fd6f897 time="2026-09-17T09:46:23Z" msg="Received mailbox message count" gluonID=3827f5ba-cde9-41ae-a889-5e7968452b9e labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:46:23Z" msg="Created new IMAP user" addrID=b9a4ab70-7b73-411b-a117-435a5f5962e2 gluonID=3827f5ba-cde9-41ae-a889-5e7968452b9e time="2026-09-17T09:46:23Z" msg="Validating Listener State" time="2026-09-17T09:46:23Z" time="2026-09-17T09:46:23Z" msg="Checking whether logged in user should re-sync. UserID:df421d7a-0af1-403f-bc29-7ed42fd6f897" userID=df421d7a-0af1-403f-bc29-7ed42fd6f897 time="2026-09-17T09:46:23Z" msg="Starting IMAP Service" time="2026-09-17T09:46:23Z" msg="Sync triggered" time="2026-09-17T09:46:23Z" msg="Beginning user sync" start="2026-09-17 09:46:23.469268799 +0000 UTC m=+71.961571135" time="2026-09-17T09:46:23Z" msg="Syncing labels" time="2026-09-17T09:46:23Z" msg="Label not found in DB, creating mailbox." labelID=51996272-2410-43c6-b232-a9f989003901 labelPath="CqcPyYxwtd3HBNbKIG3NWRK3vh7cnefdC5utNQpsJU0=" numberOfC /labelConflictResolver time="2026-09-17T09:46:23Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=3827f5ba-cde9-41ae-a889-5e7968452b9e time="2026-09-17T09:46:23Z" msg="Label not found in DB, creating mailbox." labelID=43368af4-980b-4910-9d83-3edec4c9897a labelPath="1KzX2RU1mQyO4COrdPGc33QxTjsjJsaf3laorPH6g0g=" numberOfC /labelConflictResolver time="2026-09-17T09:46:23Z" msg="Label not found in DB, creating mailbox." labelID=41d3452e-5c54-4d0c-b31e-7093700a47dc labelPath="f5Qe5RYSMSMdJXJ6f9pncXVUMxi646S+03ipR/WFS6E=" numberOfC /labelConflictResolver time="2026-09-17T09:46:23Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=3827f5ba-cde9-41ae-a889-5e7968452b9e time="2026-09-17T09:46:23Z" msg="Label not found in DB, creating mailbox." labelID=aa53062e-2948-479c-9908-441d0b873aa3 labelPath="PkT/yXcPNu1r3OoCUKUaipoBRnFZgfAoAl8O0/oEz1c=" numberOfC /labelConflictResolver time="2026-09-17T09:46:23Z" msg="Mailbox created" /user remoteMailboxID=51996272-2410-43c6-b232-a9f989003901 userID=3827f5ba-cde9-41ae-a889-5e7968452b9e time="2026-09-17T09:46:23Z" msg="Mailbox created" /user remoteMailboxID=43368af4-980b-4910-9d83-3edec4c9897a userID=3827f5ba-cde9-41ae-a889-5e7968452b9e time="2026-09-17T09:46:23Z" msg="Mailbox created" /user remoteMailboxID=10 userID=3827f5ba-cde9-41ae-a889-5e7968452b9e time="2026-09-17T09:46:23Z" msg="Mailbox created" /user remoteMailboxID=41d3452e-5c54-4d0c-b31e-7093700a47dc userID=3827f5ba-cde9-41ae-a889-5e7968452b9e time="2026-09-17T09:46:23Z" msg="Mailbox created" /user remoteMailboxID=aa53062e-2948-479c-9908-441d0b873aa3 userID=3827f5ba-cde9-41ae-a889-5e7968452b9e time="2026-09-17T09:46:23Z" msg="Mailbox created" /user remoteMailboxID=8 userID=3827f5ba-cde9-41ae-a889-5e7968452b9e time="2026-09-17T09:46:23Z" msg="Mailbox created" /user remoteMailboxID=12 userID=3827f5ba-cde9-41ae-a889-5e7968452b9e time="2026-09-17T09:46:23Z" msg="Mailbox created" /user remoteMailboxID=3 userID=3827f5ba-cde9-41ae-a889-5e7968452b9e time="2026-09-17T09:46:23Z" msg="Mailbox created" /user remoteMailboxID=6 userID=3827f5ba-cde9-41ae-a889-5e7968452b9e time="2026-09-17T09:46:23Z" msg="Mailbox created" /user remoteMailboxID=7 userID=3827f5ba-cde9-41ae-a889-5e7968452b9e time="2026-09-17T09:46:23Z" msg="Mailbox created" /user remoteMailboxID=5 userID=3827f5ba-cde9-41ae-a889-5e7968452b9e time="2026-09-17T09:46:23Z" msg="Mailbox created" /user remoteMailboxID=0 userID=3827f5ba-cde9-41ae-a889-5e7968452b9e time="2026-09-17T09:46:23Z" msg="Mailbox created" /user remoteMailboxID=4 userID=3827f5ba-cde9-41ae-a889-5e7968452b9e time="2026-09-17T09:46:23Z" msg="Synced labels" time="2026-09-17T09:46:23Z" msg="200 OK: GET https://127.0.0.1:39859/mail/v4/messages/count" /client userID=df421d7a-0af1-403f-bc29-7ed42fd6f897 time="2026-09-17T09:46:23Z" msg="Syncing messages" time="2026-09-17T09:46:23Z" msg="Job started" time="2026-09-17T09:46:23Z" msg="200 OK: POST https://127.0.0.1:39859/mail/v4/messages" /client userID=df421d7a-0af1-403f-bc29-7ed42fd6f897 time="2026-09-17T09:46:23Z" msg="Job finished" time="2026-09-17T09:46:23Z" msg="All child jobs completed" sync- time="2026-09-17T09:46:23Z" msg="Synced messages" time="2026-09-17T09:46:23Z" msg="Finished user sync" .779496ms time="2026-09-17T09:46:23Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:46:23Z" msg="Event loop reset" eventID="BA==" time="2026-09-17T09:46:23Z" msg="200 OK: POST https://127.0.0.1:39859/core/v4/labels" /client userID=df421d7a-0af1-403f-bc29-7ed42fd6f897 Scenario: Changing folder parent is possible and it persists after resync # features/imap/mailbox/create.feature:115 When IMAP client "1" creates "Folders/f1/f11" # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:46:23Z" msg="200 OK: POST https://127.0.0.1:39859/core/v4/labels" /client userID=df421d7a-0af1-403f-bc29-7ed42fd6f897 When IMAP client "1" creates "Folders/f1/f12" # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:46:23Z" msg="200 OK: POST https://127.0.0.1:39859/core/v4/labels" /client userID=df421d7a-0af1-403f-bc29-7ed42fd6f897 When IMAP client "1" creates "Folders/f2/f21" # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:46:23Z" msg="200 OK: POST https://127.0.0.1:39859/core/v4/labels" /client userID=df421d7a-0af1-403f-bc29-7ed42fd6f897 When IMAP client "1" creates "Folders/f2/f22" # :1 -> *scenario Then it succeeds # :1 -> *scenario Then IMAP client "1" eventually sees the following mailbox info: # :1 -> *scenario | name | | INBOX | | Drafts | | Sent | | Starred | | Archive | | Spam | | Trash | | All Mail | | Folders | | Folders/f1 | | Folders/f1/f11 | | Folders/f1/f12 | | Folders/f2 | | Folders/f2/f21 | | Folders/f2/f22 | | Labels | | Labels/l1 | | Labels/l2 | time="2026-09-17T09:46:23Z" msg="200 OK: GET https://127.0.0.1:39859/core/v4/labels?T" /client userID=df421d7a-0af1-403f-bc29-7ed42fd6f897 time="2026-09-17T09:46:23Z" msg="200 OK: PUT https://127.0.0.1:39859/core/v4/labels/e28421bd-e72c-45cd-a501-fd0815e39670" /client userID=df421d7a-0af1-403f-bc29-7ed42fd6f897 When IMAP client "1" renames "Folders/f1/f11" to "Folders/f2/f11" # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:46:23Z" msg="200 OK: GET https://127.0.0.1:39859/core/v4/labels?T" /client userID=df421d7a-0af1-403f-bc29-7ed42fd6f897 time="2026-09-17T09:46:23Z" msg="200 OK: PUT https://127.0.0.1:39859/core/v4/labels/4bfdd462-f27f-452f-aceb-8add8c8ebc81" /client userID=df421d7a-0af1-403f-bc29-7ed42fd6f897 When IMAP client "1" renames "Folders/f1/f12" to "Folders/f2/f12" # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:46:23Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 4} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" Then IMAP client "1" eventually sees the following mailbox info: # :1 -> *scenario | name | | INBOX | | Drafts | | Sent | | Starred | | Archive | | Spam | | Trash | | All Mail | | Folders | | Folders/f1 | | Folders/f2 | | Folders/f2/f11 | | Folders/f2/f12 | | Folders/f2/f21 | | Folders/f2/f22 | | Labels | | Labels/l1 | | Labels/l2 | time="2026-09-17T09:46:23Z" msg="Deleting user" /user userID=df421d7a-0af1-403f-bc29-7ed42fd6f897 time="2026-09-17T09:46:23Z" msg="Logging out user" userID=df421d7a-0af1-403f-bc29-7ed42fd6f897 withAPI=true withD time="2026-09-17T09:46:23Z" msg="Removing gluon ID" addrID=b9a4ab70-7b73-411b-a117-435a5f5962e2 gluonID=3827f5ba-cde9-41ae-a889-5e7968452b9e userID=df421d7a-0af1-403f-bc29-7ed42fd6f897 time="2026-09-17T09:46:23Z" msg="Validating Listener State" time="2026-09-17T09:46:23Z" msg="De-registering user client, ID:df421d7a-0af1-403f-bc29-7ed42fd6f897" time="2026-09-17T09:46:23Z" msg="Exiting IMAP Service" time="2026-09-17T09:46:23Z" msg="Exiting service main loop" time="2026-09-17T09:46:23Z" msg="Exiting service main loop" time="2026-09-17T09:46:23Z" msg="Exiting Service" time="2026-09-17T09:46:23Z" msg="Exiting service main loop" time="2026-09-17T09:46:23Z" msg="Exiting service" time="2026-09-17T09:46:23Z" msg="200 OK: DELETE https://127.0.0.1:39859/auth/v4" /client userID=df421d7a-0af1-403f-bc29-7ed42fd6f897 time="2026-09-17T09:46:23Z" msg="Closing user" userID=df421d7a-0af1-403f-bc29-7ed42fd6f897 time="2026-09-17T09:46:23Z" msg="De-registering user client, ID:df421d7a-0af1-403f-bc29-7ed42fd6f897" time="2026-09-17T09:46:23Z" msg="Deleting vault user" userID=df421d7a-0af1-403f-bc29-7ed42fd6f897 When user "78102c2e-b3df-443a-b95f-775fed5c0a5d" is deleted # :1 -> *scenario time="2026-09-17T09:46:23Z" msg="Performing full user login" /user username="******** (3f4b648d)" time="2026-09-17T09:46:23Z" msg="Authorizing user for login" /user username="******** (3f4b648d)" time="2026-09-17T09:46:23Z" msg="200 OK: POST https://127.0.0.1:39859/auth/v4/info" /manager time="2026-09-17T09:46:24Z" msg="200 OK: POST https://127.0.0.1:39859/auth/v4" /manager time="2026-09-17T09:46:24Z" msg="Logging in authorized user" /user userID=df421d7a-0af1-403f-bc29-7ed42fd6f897 time="2026-09-17T09:46:24Z" msg="Adding vault user" userID=df421d7a-0af1-403f-bc29-7ed42fd6f897 time="2026-09-17T09:46:24Z" msg="Creating new user" userID=df421d7a-0af1-403f-bc29-7ed42fd6f897 time="2026-09-17T09:46:24Z" msg="404 GET https://127.0.0.1:39859/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:46:24Z" msg="404 GET https://127.0.0.1:39859/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:46:24Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:39859/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:46:24Z" msg="Creating user object" authUID=31c07827-27c2-4679-949f-d09022e68246 numA numL userID=df421d7a-0af1-403f-bc29-7ed42fd6f897 time="2026-09-17T09:46:24Z" msg="200 OK: GET https://127.0.0.1:39859/core/v4/events/latest" /client userID=df421d7a-0af1-403f-bc29-7ed42fd6f897 time="2026-09-17T09:46:24Z" msg="Starting service Last EventID=Cg==" time="2026-09-17T09:46:24Z" msg="200 OK: GET https://127.0.0.1:39859/core/v4/settings" /client userID=df421d7a-0af1-403f-bc29-7ed42fd6f897 time="2026-09-17T09:46:24Z" msg="Registering user client, ID:df421d7a-0af1-403f-bc29-7ed42fd6f897" time="2026-09-17T09:46:24Z" msg="Starting user identity service" numA time="2026-09-17T09:46:24Z" msg="Starting service main loop" time="2026-09-17T09:46:24Z" msg="Starting service main loop" time="2026-09-17T09:46:24Z" msg="Starting service main loop" time="2026-09-17T09:46:24Z" msg="200 OK: GET https://127.0.0.1:39859/core/v4/labels?T" /client userID=df421d7a-0af1-403f-bc29-7ed42fd6f897 time="2026-09-17T09:46:24Z" msg="200 OK: GET https://127.0.0.1:39859/core/v4/labels?T" /client userID=df421d7a-0af1-403f-bc29-7ed42fd6f897 time="2026-09-17T09:46:24Z" msg="200 OK: GET https://127.0.0.1:39859/core/v4/labels?T" /client userID=df421d7a-0af1-403f-bc29-7ed42fd6f897 time="2026-09-17T09:46:24Z" msg="Setting labels" labelIDs="[12 0 1 2 3 4 6 8 9 5 7 10 51996272-2410-43c6-b232-a9f989003901 43368af4-980b-4910-9d83-3edec4c9897a e28421bd-e72c-45cd-a501-fd0815e39670 4bfdd462-f27f-452f-aceb-8add8c8ebc81 a0c685ec-cd9d-400c-8ba3-c89e87d2793c 8d45fb83-94c2-464c-b96c-4640b173756b 41d3452e-5c54-4d0c-b31e-7093700a47dc aa53062e-2948-479c-9908-441d0b873aa3]" time="2026-09-17T09:46:24Z" msg="Adding user to imap server" addrID=b9a4ab70-7b73-411b-a117-435a5f5962e2 time="2026-09-17T09:46:24Z" msg="Creating new IMAP user" addrID=b9a4ab70-7b73-411b-a117-435a5f5962e2 time="2026-09-17T09:46:24Z" msg="Setting gluon ID" addrID=b9a4ab70-7b73-411b-a117-435a5f5962e2 gluonID=c2006728-1c6a-4bb1-bc0d-c1cc58769e35 userID=df421d7a-0af1-403f-bc29-7ed42fd6f897 time="2026-09-17T09:46:24Z" msg="Received mailbox message count" gluonID=c2006728-1c6a-4bb1-bc0d-c1cc58769e35 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:46:24Z" msg="Created new IMAP user" addrID=b9a4ab70-7b73-411b-a117-435a5f5962e2 gluonID=c2006728-1c6a-4bb1-bc0d-c1cc58769e35 time="2026-09-17T09:46:24Z" msg="Validating Listener State" time="2026-09-17T09:46:24Z" time="2026-09-17T09:46:24Z" msg="Starting IMAP Service" time="2026-09-17T09:46:24Z" msg="Checking whether logged in user should re-sync. UserID:df421d7a-0af1-403f-bc29-7ed42fd6f897" userID=df421d7a-0af1-403f-bc29-7ed42fd6f897 And the user logs in with username "78102c2e-b3df-443a-b95f-775fed5c0a5d" and password "password" # :1 -> *scenario time="2026-09-17T09:46:24Z" msg="Sync triggered" time="2026-09-17T09:46:24Z" msg="Beginning user sync" start="2026-09-17 09:46:24.163179429 +0000 UTC m=+72.655481725" time="2026-09-17T09:46:24Z" msg="Syncing labels" time="2026-09-17T09:46:24Z" msg="Label not found in DB, creating mailbox." labelID=43368af4-980b-4910-9d83-3edec4c9897a labelPath="1KzX2RU1mQyO4COrdPGc33QxTjsjJsaf3laorPH6g0g=" numberOfC /labelConflictResolver time="2026-09-17T09:46:24Z" msg="Label not found in DB, creating mailbox." labelID=41d3452e-5c54-4d0c-b31e-7093700a47dc labelPath="f5Qe5RYSMSMdJXJ6f9pncXVUMxi646S+03ipR/WFS6E=" numberOfC /labelConflictResolver time="2026-09-17T09:46:24Z" msg="Label not found in DB, creating mailbox." labelID=8d45fb83-94c2-464c-b96c-4640b173756b labelPath="Wz/Qv7HIIKj0C6zgrgLktJ0Obdx+x/+OssOgobwR+gA=" numberOfC /labelConflictResolver time="2026-09-17T09:46:24Z" msg="Label not found in DB, creating mailbox." labelID=51996272-2410-43c6-b232-a9f989003901 labelPath="CqcPyYxwtd3HBNbKIG3NWRK3vh7cnefdC5utNQpsJU0=" numberOfC /labelConflictResolver time="2026-09-17T09:46:24Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=c2006728-1c6a-4bb1-bc0d-c1cc58769e35 time="2026-09-17T09:46:24Z" msg="Label not found in DB, creating mailbox." labelID=e28421bd-e72c-45cd-a501-fd0815e39670 labelPath="OpcboML9cMaDpWp/AKnefHAs65E2OGHlMoKzIbLXPZA=" numberOfC /labelConflictResolver time="2026-09-17T09:46:24Z" msg="Label not found in DB, creating mailbox." labelID=4bfdd462-f27f-452f-aceb-8add8c8ebc81 labelPath="3e3Yoqa/Z/0QMloAjTvFeP7V/q6prXiR+ak3z+MWIeY=" numberOfC /labelConflictResolver time="2026-09-17T09:46:24Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=c2006728-1c6a-4bb1-bc0d-c1cc58769e35 time="2026-09-17T09:46:24Z" msg="Label not found in DB, creating mailbox." labelID=a0c685ec-cd9d-400c-8ba3-c89e87d2793c labelPath="NETe/DkNYjf+UyTIC0yYiXhIe3RuHmVMdvAoT6QeKpw=" numberOfC /labelConflictResolver time="2026-09-17T09:46:24Z" msg="Label not found in DB, creating mailbox." labelID=aa53062e-2948-479c-9908-441d0b873aa3 labelPath="PkT/yXcPNu1r3OoCUKUaipoBRnFZgfAoAl8O0/oEz1c=" numberOfC /labelConflictResolver time="2026-09-17T09:46:24Z" msg="Mailbox created" /user remoteMailboxID=43368af4-980b-4910-9d83-3edec4c9897a userID=c2006728-1c6a-4bb1-bc0d-c1cc58769e35 time="2026-09-17T09:46:24Z" msg="Mailbox created" /user remoteMailboxID=41d3452e-5c54-4d0c-b31e-7093700a47dc userID=c2006728-1c6a-4bb1-bc0d-c1cc58769e35 time="2026-09-17T09:46:24Z" msg="Mailbox created" /user remoteMailboxID=12 userID=c2006728-1c6a-4bb1-bc0d-c1cc58769e35 time="2026-09-17T09:46:24Z" msg="Mailbox created" /user remoteMailboxID=0 userID=c2006728-1c6a-4bb1-bc0d-c1cc58769e35 time="2026-09-17T09:46:24Z" msg="Mailbox created" /user remoteMailboxID=3 userID=c2006728-1c6a-4bb1-bc0d-c1cc58769e35 time="2026-09-17T09:46:24Z" msg="Mailbox created" /user remoteMailboxID=10 userID=c2006728-1c6a-4bb1-bc0d-c1cc58769e35 time="2026-09-17T09:46:24Z" msg="Mailbox created" /user remoteMailboxID=4 userID=c2006728-1c6a-4bb1-bc0d-c1cc58769e35 time="2026-09-17T09:46:24Z" msg="Mailbox created" /user remoteMailboxID=6 userID=c2006728-1c6a-4bb1-bc0d-c1cc58769e35 time="2026-09-17T09:46:24Z" msg="Mailbox created" /user remoteMailboxID=5 userID=c2006728-1c6a-4bb1-bc0d-c1cc58769e35 time="2026-09-17T09:46:24Z" msg="Mailbox created" /user remoteMailboxID=8d45fb83-94c2-464c-b96c-4640b173756b userID=c2006728-1c6a-4bb1-bc0d-c1cc58769e35 time="2026-09-17T09:46:24Z" msg="Mailbox created" /user remoteMailboxID=8 userID=c2006728-1c6a-4bb1-bc0d-c1cc58769e35 time="2026-09-17T09:46:24Z" msg="Mailbox created" /user remoteMailboxID=7 userID=c2006728-1c6a-4bb1-bc0d-c1cc58769e35 time="2026-09-17T09:46:24Z" msg="Mailbox created" /user remoteMailboxID=51996272-2410-43c6-b232-a9f989003901 userID=c2006728-1c6a-4bb1-bc0d-c1cc58769e35 time="2026-09-17T09:46:24Z" msg="Mailbox created" /user remoteMailboxID=e28421bd-e72c-45cd-a501-fd0815e39670 userID=c2006728-1c6a-4bb1-bc0d-c1cc58769e35 time="2026-09-17T09:46:24Z" msg="Mailbox created" /user remoteMailboxID=4bfdd462-f27f-452f-aceb-8add8c8ebc81 userID=c2006728-1c6a-4bb1-bc0d-c1cc58769e35 time="2026-09-17T09:46:24Z" msg="Mailbox created" /user remoteMailboxID=a0c685ec-cd9d-400c-8ba3-c89e87d2793c userID=c2006728-1c6a-4bb1-bc0d-c1cc58769e35 time="2026-09-17T09:46:24Z" msg="Mailbox created" /user remoteMailboxID=aa53062e-2948-479c-9908-441d0b873aa3 userID=c2006728-1c6a-4bb1-bc0d-c1cc58769e35 time="2026-09-17T09:46:24Z" msg="Synced labels" time="2026-09-17T09:46:24Z" msg="200 OK: GET https://127.0.0.1:39859/mail/v4/messages/count" /client userID=df421d7a-0af1-403f-bc29-7ed42fd6f897 time="2026-09-17T09:46:24Z" msg="Syncing messages" time="2026-09-17T09:46:24Z" msg="Job started" time="2026-09-17T09:46:24Z" msg="200 OK: POST https://127.0.0.1:39859/mail/v4/messages" /client userID=df421d7a-0af1-403f-bc29-7ed42fd6f897 time="2026-09-17T09:46:24Z" msg="Job finished" time="2026-09-17T09:46:24Z" msg="All child jobs completed" sync- time="2026-09-17T09:46:24Z" msg="Synced messages" time="2026-09-17T09:46:24Z" msg="Finished user sync" .443992ms time="2026-09-17T09:46:24Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:46:24Z" msg="Event loop reset" eventID="Cg==" And user "78102c2e-b3df-443a-b95f-775fed5c0a5d" finishes syncing # :1 -> *scenario And user "78102c2e-b3df-443a-b95f-775fed5c0a5d" connects and authenticates IMAP client "2" # :1 -> *scenario time="2026-09-17T09:46:24Z" msg="Frontend service stopped" time="2026-09-17T09:46:24Z" msg="Frontend client stopped" time="2026-09-17T09:46:24Z" msg="Closing bridge" time="2026-09-17T09:46:24Z" msg="Stopping service" time="2026-09-17T09:46:24Z" msg="Closing user" userID=df421d7a-0af1-403f-bc29-7ed42fd6f897 time="2026-09-17T09:46:24Z" msg="De-registering user client, ID:df421d7a-0af1-403f-bc29-7ed42fd6f897" time="2026-09-17T09:46:24Z" msg="Exiting IMAP Service" time="2026-09-17T09:46:24Z" msg="Exiting service main loop" time="2026-09-17T09:46:24Z" msg="Exiting service main loop" time="2026-09-17T09:46:24Z" msg="Exiting Service" time="2026-09-17T09:46:24Z" msg="Exiting service main loop" time="2026-09-17T09:46:24Z" msg="Exiting service" time="2026-09-17T09:46:24Z" msg="Closing IMAP Listener" time="2026-09-17T09:46:24Z" msg="Closing IMAP server" time="2026-09-17T09:46:24Z" msg="Closing SMTP Listener" time="2026-09-17T09:46:24Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:46:24Z" msg="Closing SMTP server" time="2026-09-17T09:46:24Z" msg="Closing service" Then IMAP client "2" eventually sees the following mailbox info: # :1 -> *scenario | name | | INBOX | | Drafts | | Sent | | Starred | | Archive | | Spam | | Trash | | All Mail | | Folders | | Folders/f1 | | Folders/f2 | | Folders/f2/f11 | | Folders/f2/f12 | | Folders/f2/f21 | | Folders/f2/f22 | | Labels | | Labels/l1 | | Labels/l2 | time="2026-09-17T09:46:24Z" msg="User '816b7a15-b74e-4e3b-8b61-34cc8c020e4a' created with " /server/backend time="2026-09-17T09:46:25Z" msg="Starting bridge" time="2026-09-17T09:46:25Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/040/config686322921/grpcFocusServerConfig.json /service time="2026-09-17T09:46:25Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/040/cache4074368861/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:46:25Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/040/cache4074368861/notifications/notification_cache: no such file or directory" time="2026-09-17T09:46:25Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/040/data2183340099/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/040/data2183340099/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:46:25Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:46:25Z" msg="Starting IMAP server" time="2026-09-17T09:46:25Z" msg="Starting SMTP server" time="2026-09-17T09:46:25Z" msg="Starting service" time="2026-09-17T09:46:25Z" msg="Starting service" time="2026-09-17T09:46:25Z" msg="Starting frontend service" time="2026-09-17T09:46:25Z" msg="Starting poll service" time="2026-09-17T09:46:25Z" msg="Checking for updates" time="2026-09-17T09:46:25Z" msg="Starting receiver service" time="2026-09-17T09:46:25Z" msg="Loading users" /user time="2026-09-17T09:46:25Z" msg="Finished loading users" /user time="2026-09-17T09:46:25Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/040/config686322921/grpcServerConfig.json time="2026-09-17T09:46:25Z" msg="gRPC server listening on /tmp/bridge0486" time="2026-09-17T09:46:25Z" msg="Frontend service started" time="2026-09-17T09:46:25Z" msg="Starting frontend client" time="2026-09-17T09:46:25Z" msg="Not monitoring parent PID" time="2026-09-17T09:46:25Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:46:25Z" msg="Frontend client started" time="2026-09-17T09:46:25Z" msg="Performing full user login" /user username="******** (00808258)" time="2026-09-17T09:46:25Z" msg="Authorizing user for login" /user username="******** (00808258)" time="2026-09-17T09:46:25Z" msg="200 OK: GET https://127.0.0.1:41327/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:46:25Z" msg="200 OK: POST https://127.0.0.1:41327/auth/v4/info" /manager time="2026-09-17T09:46:25Z" msg="200 OK: POST https://127.0.0.1:41327/auth/v4" /manager time="2026-09-17T09:46:25Z" msg="Logging in authorized user" /user userID=87b04833-4730-4306-8ca5-3f89eb63bc99 time="2026-09-17T09:46:25Z" msg="Adding vault user" userID=87b04833-4730-4306-8ca5-3f89eb63bc99 time="2026-09-17T09:46:25Z" msg="Creating new user" userID=87b04833-4730-4306-8ca5-3f89eb63bc99 time="2026-09-17T09:46:25Z" msg="404 GET https://127.0.0.1:41327/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:46:25Z" msg="404 GET https://127.0.0.1:41327/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:46:25Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:41327/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:46:25Z" msg="Creating user object" authUID=23c492b7-2a9b-45f1-9bc0-8704ecc2e8b7 numA numL userID=87b04833-4730-4306-8ca5-3f89eb63bc99 time="2026-09-17T09:46:25Z" msg="200 OK: GET https://127.0.0.1:41327/core/v4/events/latest" /client userID=87b04833-4730-4306-8ca5-3f89eb63bc99 time="2026-09-17T09:46:25Z" msg="Starting service Last EventID=BA==" time="2026-09-17T09:46:25Z" msg="200 OK: GET https://127.0.0.1:41327/core/v4/settings" /client userID=87b04833-4730-4306-8ca5-3f89eb63bc99 time="2026-09-17T09:46:25Z" msg="Registering user client, ID:87b04833-4730-4306-8ca5-3f89eb63bc99" time="2026-09-17T09:46:25Z" msg="Starting service main loop" time="2026-09-17T09:46:25Z" msg="Starting user identity service" numA time="2026-09-17T09:46:25Z" msg="Starting service main loop" time="2026-09-17T09:46:25Z" msg="Starting service main loop" time="2026-09-17T09:46:25Z" msg="200 OK: GET https://127.0.0.1:41327/core/v4/labels?T" /client userID=87b04833-4730-4306-8ca5-3f89eb63bc99 time="2026-09-17T09:46:25Z" msg="200 OK: GET https://127.0.0.1:41327/core/v4/labels?T" /client userID=87b04833-4730-4306-8ca5-3f89eb63bc99 time="2026-09-17T09:46:25Z" msg="200 OK: GET https://127.0.0.1:41327/core/v4/labels?T" /client userID=87b04833-4730-4306-8ca5-3f89eb63bc99 time="2026-09-17T09:46:25Z" msg="Setting labels" labelIDs="[2 3 4 5 8 9 10 12 0 1 6 7 0efbb90a-4f6d-4b1b-bd9d-835cee245843 9934ccb4-0f2e-4bcf-ad07-f5a108e398bd 30f950bd-d6dd-4427-a5cf-4717c672fb5b f7f69a00-1e40-40ac-8bd3-4da10b922616]" time="2026-09-17T09:46:25Z" msg="Adding user to imap server" addrID=95cd3f37-4675-42a0-b5ae-67b8652fb0b8 time="2026-09-17T09:46:25Z" msg="Creating new IMAP user" addrID=95cd3f37-4675-42a0-b5ae-67b8652fb0b8 time="2026-09-17T09:46:25Z" msg="Setting gluon ID" addrID=95cd3f37-4675-42a0-b5ae-67b8652fb0b8 gluonID=5863c3d4-e76b-4cf8-bd71-b6d39226a010 userID=87b04833-4730-4306-8ca5-3f89eb63bc99 time="2026-09-17T09:46:25Z" msg="Received mailbox message count" gluonID=5863c3d4-e76b-4cf8-bd71-b6d39226a010 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:46:25Z" msg="Created new IMAP user" addrID=95cd3f37-4675-42a0-b5ae-67b8652fb0b8 gluonID=5863c3d4-e76b-4cf8-bd71-b6d39226a010 time="2026-09-17T09:46:25Z" msg="Validating Listener State" time="2026-09-17T09:46:25Z" time="2026-09-17T09:46:25Z" msg="Starting IMAP Service" time="2026-09-17T09:46:25Z" msg="Checking whether logged in user should re-sync. UserID:87b04833-4730-4306-8ca5-3f89eb63bc99" userID=87b04833-4730-4306-8ca5-3f89eb63bc99 time="2026-09-17T09:46:25Z" msg="Sync triggered" time="2026-09-17T09:46:25Z" msg="Beginning user sync" start="2026-09-17 09:46:25.759974363 +0000 UTC m=+74.252276699" time="2026-09-17T09:46:25Z" msg="Syncing labels" time="2026-09-17T09:46:25Z" msg="Label not found in DB, creating mailbox." labelID=0efbb90a-4f6d-4b1b-bd9d-835cee245843 labelPath="CqcPyYxwtd3HBNbKIG3NWRK3vh7cnefdC5utNQpsJU0=" numberOfC /labelConflictResolver time="2026-09-17T09:46:25Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=5863c3d4-e76b-4cf8-bd71-b6d39226a010 time="2026-09-17T09:46:25Z" msg="Label not found in DB, creating mailbox." labelID=9934ccb4-0f2e-4bcf-ad07-f5a108e398bd labelPath="1KzX2RU1mQyO4COrdPGc33QxTjsjJsaf3laorPH6g0g=" numberOfC /labelConflictResolver time="2026-09-17T09:46:25Z" msg="Label not found in DB, creating mailbox." labelID=30f950bd-d6dd-4427-a5cf-4717c672fb5b labelPath="f5Qe5RYSMSMdJXJ6f9pncXVUMxi646S+03ipR/WFS6E=" numberOfC /labelConflictResolver time="2026-09-17T09:46:25Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=5863c3d4-e76b-4cf8-bd71-b6d39226a010 time="2026-09-17T09:46:25Z" msg="Label not found in DB, creating mailbox." labelID=f7f69a00-1e40-40ac-8bd3-4da10b922616 labelPath="PkT/yXcPNu1r3OoCUKUaipoBRnFZgfAoAl8O0/oEz1c=" numberOfC /labelConflictResolver time="2026-09-17T09:46:25Z" msg="Mailbox created" /user remoteMailboxID=0efbb90a-4f6d-4b1b-bd9d-835cee245843 userID=5863c3d4-e76b-4cf8-bd71-b6d39226a010 time="2026-09-17T09:46:25Z" msg="Mailbox created" /user remoteMailboxID=4 userID=5863c3d4-e76b-4cf8-bd71-b6d39226a010 time="2026-09-17T09:46:25Z" msg="Mailbox created" /user remoteMailboxID=10 userID=5863c3d4-e76b-4cf8-bd71-b6d39226a010 time="2026-09-17T09:46:25Z" msg="Mailbox created" /user remoteMailboxID=12 userID=5863c3d4-e76b-4cf8-bd71-b6d39226a010 time="2026-09-17T09:46:25Z" msg="Mailbox created" /user remoteMailboxID=6 userID=5863c3d4-e76b-4cf8-bd71-b6d39226a010 time="2026-09-17T09:46:25Z" msg="Mailbox created" /user remoteMailboxID=9934ccb4-0f2e-4bcf-ad07-f5a108e398bd userID=5863c3d4-e76b-4cf8-bd71-b6d39226a010 time="2026-09-17T09:46:25Z" msg="Mailbox created" /user remoteMailboxID=30f950bd-d6dd-4427-a5cf-4717c672fb5b userID=5863c3d4-e76b-4cf8-bd71-b6d39226a010 time="2026-09-17T09:46:25Z" msg="Mailbox created" /user remoteMailboxID=7 userID=5863c3d4-e76b-4cf8-bd71-b6d39226a010 time="2026-09-17T09:46:25Z" msg="Mailbox created" /user remoteMailboxID=f7f69a00-1e40-40ac-8bd3-4da10b922616 userID=5863c3d4-e76b-4cf8-bd71-b6d39226a010 time="2026-09-17T09:46:25Z" msg="Mailbox created" /user remoteMailboxID=3 userID=5863c3d4-e76b-4cf8-bd71-b6d39226a010 time="2026-09-17T09:46:25Z" msg="Mailbox created" /user remoteMailboxID=5 userID=5863c3d4-e76b-4cf8-bd71-b6d39226a010 time="2026-09-17T09:46:25Z" msg="Mailbox created" /user remoteMailboxID=8 userID=5863c3d4-e76b-4cf8-bd71-b6d39226a010 time="2026-09-17T09:46:25Z" msg="Mailbox created" /user remoteMailboxID=0 userID=5863c3d4-e76b-4cf8-bd71-b6d39226a010 time="2026-09-17T09:46:25Z" msg="Synced labels" time="2026-09-17T09:46:25Z" msg="200 OK: GET https://127.0.0.1:41327/mail/v4/messages/count" /client userID=87b04833-4730-4306-8ca5-3f89eb63bc99 time="2026-09-17T09:46:25Z" msg="Syncing messages" time="2026-09-17T09:46:25Z" msg="Job started" time="2026-09-17T09:46:25Z" msg="200 OK: POST https://127.0.0.1:41327/mail/v4/messages" /client userID=87b04833-4730-4306-8ca5-3f89eb63bc99 time="2026-09-17T09:46:25Z" msg="Job finished" time="2026-09-17T09:46:25Z" msg="All child jobs completed" sync- time="2026-09-17T09:46:25Z" msg="Synced messages" time="2026-09-17T09:46:25Z" msg="Finished user sync" .036976ms time="2026-09-17T09:46:25Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:46:25Z" msg="Event loop reset" eventID="BA==" time="2026-09-17T09:46:25Z" msg="200 OK: POST https://127.0.0.1:41327/core/v4/labels" /client userID=87b04833-4730-4306-8ca5-3f89eb63bc99 time="2026-09-17T09:46:25Z" msg="200 OK: POST https://127.0.0.1:41327/core/v4/labels" /client userID=87b04833-4730-4306-8ca5-3f89eb63bc99 Scenario: Create 2 levels deep Folder # features/imap/mailbox/create.feature:193 When IMAP client "1" creates "Folders/first/second" # :1 -> *scenario And it succeeds # :1 -> *scenario time="2026-09-17T09:46:25Z" msg="Frontend service stopped" time="2026-09-17T09:46:25Z" msg="Frontend client stopped" time="2026-09-17T09:46:25Z" msg="Closing bridge" time="2026-09-17T09:46:25Z" msg="Stopping service" time="2026-09-17T09:46:25Z" msg="Closing user" userID=87b04833-4730-4306-8ca5-3f89eb63bc99 time="2026-09-17T09:46:25Z" msg="De-registering user client, ID:87b04833-4730-4306-8ca5-3f89eb63bc99" time="2026-09-17T09:46:25Z" msg="Exiting IMAP Service" time="2026-09-17T09:46:25Z" msg="Exiting service main loop" time="2026-09-17T09:46:25Z" msg="Exiting service main loop" time="2026-09-17T09:46:25Z" msg="Exiting Service" time="2026-09-17T09:46:25Z" msg="Exiting service main loop" time="2026-09-17T09:46:25Z" msg="Exiting service" time="2026-09-17T09:46:25Z" msg="Closing IMAP Listener" time="2026-09-17T09:46:25Z" msg="Closing IMAP server" time="2026-09-17T09:46:25Z" msg="Closing SMTP Listener" time="2026-09-17T09:46:25Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:46:25Z" msg="Closing SMTP server" time="2026-09-17T09:46:25Z" msg="Closing service" Then IMAP client "1" sees "Folders/first/second" # :1 -> *scenario time="2026-09-17T09:46:26Z" msg="User 'a39509b2-ef48-4a23-89ec-ff6a75ad44af' created with " /server/backend time="2026-09-17T09:46:26Z" msg="Starting bridge" time="2026-09-17T09:46:26Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/041/config635370295/grpcFocusServerConfig.json /service time="2026-09-17T09:46:26Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/041/cache3235569078/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:46:26Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/041/cache3235569078/notifications/notification_cache: no such file or directory" time="2026-09-17T09:46:26Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/041/data1720382005/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/041/data1720382005/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:46:26Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:46:26Z" msg="Starting IMAP server" time="2026-09-17T09:46:26Z" msg="Starting SMTP server" time="2026-09-17T09:46:26Z" msg="Starting service" time="2026-09-17T09:46:26Z" msg="Starting service" time="2026-09-17T09:46:26Z" msg="Starting frontend service" time="2026-09-17T09:46:26Z" msg="Checking for updates" time="2026-09-17T09:46:26Z" msg="Loading users" /user time="2026-09-17T09:46:26Z" msg="Starting receiver service" time="2026-09-17T09:46:26Z" msg="Starting poll service" time="2026-09-17T09:46:26Z" msg="Finished loading users" /user time="2026-09-17T09:46:26Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/041/config635370295/grpcServerConfig.json time="2026-09-17T09:46:26Z" msg="gRPC server listening on /tmp/bridge2413" time="2026-09-17T09:46:26Z" msg="Frontend service started" time="2026-09-17T09:46:26Z" msg="Starting frontend client" time="2026-09-17T09:46:26Z" msg="Not monitoring parent PID" time="2026-09-17T09:46:26Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:46:26Z" msg="200 OK: GET https://127.0.0.1:42917/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:46:26Z" msg="Frontend client started" time="2026-09-17T09:46:26Z" msg="Performing full user login" /user username="******** (6a173ffd)" time="2026-09-17T09:46:26Z" msg="Authorizing user for login" /user username="******** (6a173ffd)" time="2026-09-17T09:46:26Z" msg="200 OK: POST https://127.0.0.1:42917/auth/v4/info" /manager time="2026-09-17T09:46:27Z" msg="200 OK: POST https://127.0.0.1:42917/auth/v4" /manager time="2026-09-17T09:46:27Z" msg="Logging in authorized user" /user userID=f3e36781-b5d5-4c18-8a42-7272446df140 time="2026-09-17T09:46:27Z" msg="Adding vault user" userID=f3e36781-b5d5-4c18-8a42-7272446df140 time="2026-09-17T09:46:27Z" msg="Creating new user" userID=f3e36781-b5d5-4c18-8a42-7272446df140 time="2026-09-17T09:46:27Z" msg="404 GET https://127.0.0.1:42917/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:46:27Z" msg="404 GET https://127.0.0.1:42917/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:46:27Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:42917/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:46:27Z" msg="Creating user object" authUID=26b474e8-31ef-4f6b-9e9a-316a9c44f367 numA numL userID=f3e36781-b5d5-4c18-8a42-7272446df140 time="2026-09-17T09:46:27Z" msg="200 OK: GET https://127.0.0.1:42917/core/v4/events/latest" /client userID=f3e36781-b5d5-4c18-8a42-7272446df140 time="2026-09-17T09:46:27Z" msg="Starting service Last EventID=BA==" time="2026-09-17T09:46:27Z" msg="200 OK: GET https://127.0.0.1:42917/core/v4/settings" /client userID=f3e36781-b5d5-4c18-8a42-7272446df140 time="2026-09-17T09:46:27Z" msg="Registering user client, ID:f3e36781-b5d5-4c18-8a42-7272446df140" time="2026-09-17T09:46:27Z" msg="Starting service main loop" time="2026-09-17T09:46:27Z" msg="Starting service main loop" time="2026-09-17T09:46:27Z" msg="Starting service main loop" time="2026-09-17T09:46:27Z" msg="Starting user identity service" numA time="2026-09-17T09:46:27Z" msg="200 OK: GET https://127.0.0.1:42917/core/v4/labels?T" /client userID=f3e36781-b5d5-4c18-8a42-7272446df140 time="2026-09-17T09:46:27Z" msg="200 OK: GET https://127.0.0.1:42917/core/v4/labels?T" /client userID=f3e36781-b5d5-4c18-8a42-7272446df140 time="2026-09-17T09:46:27Z" msg="200 OK: GET https://127.0.0.1:42917/core/v4/labels?T" /client userID=f3e36781-b5d5-4c18-8a42-7272446df140 time="2026-09-17T09:46:27Z" msg="Setting labels" labelIDs="[7 8 12 1 5 6 9 10 0 2 3 4 969cc49f-2688-4a89-84a9-3c0ab504efa8 1cfa4072-42de-417d-a11c-c273b9e83981 87729c58-c542-4093-8819-703a7255f71d f986594f-7993-4b83-acc5-f14367378af6]" time="2026-09-17T09:46:27Z" msg="Adding user to imap server" addrID=1c1bae9c-b22a-4af4-b7be-1307c7a330fe time="2026-09-17T09:46:27Z" msg="Creating new IMAP user" addrID=1c1bae9c-b22a-4af4-b7be-1307c7a330fe time="2026-09-17T09:46:27Z" msg="Setting gluon ID" addrID=1c1bae9c-b22a-4af4-b7be-1307c7a330fe gluonID=33e87bd2-2edc-4a5f-a718-3bb71739b8ac userID=f3e36781-b5d5-4c18-8a42-7272446df140 time="2026-09-17T09:46:27Z" msg="Received mailbox message count" gluonID=33e87bd2-2edc-4a5f-a718-3bb71739b8ac labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:46:27Z" msg="Created new IMAP user" addrID=1c1bae9c-b22a-4af4-b7be-1307c7a330fe gluonID=33e87bd2-2edc-4a5f-a718-3bb71739b8ac time="2026-09-17T09:46:27Z" msg="Validating Listener State" time="2026-09-17T09:46:27Z" time="2026-09-17T09:46:27Z" msg="Starting IMAP Service" time="2026-09-17T09:46:27Z" msg="Checking whether logged in user should re-sync. UserID:f3e36781-b5d5-4c18-8a42-7272446df140" userID=f3e36781-b5d5-4c18-8a42-7272446df140 time="2026-09-17T09:46:27Z" msg="Sync triggered" time="2026-09-17T09:46:27Z" msg="Beginning user sync" start="2026-09-17 09:46:27.233670959 +0000 UTC m=+75.725973295" time="2026-09-17T09:46:27Z" msg="Syncing labels" time="2026-09-17T09:46:27Z" msg="Label not found in DB, creating mailbox." labelID=87729c58-c542-4093-8819-703a7255f71d labelPath="f5Qe5RYSMSMdJXJ6f9pncXVUMxi646S+03ipR/WFS6E=" numberOfC /labelConflictResolver time="2026-09-17T09:46:27Z" msg="Label not found in DB, creating mailbox." labelID=969cc49f-2688-4a89-84a9-3c0ab504efa8 labelPath="CqcPyYxwtd3HBNbKIG3NWRK3vh7cnefdC5utNQpsJU0=" numberOfC /labelConflictResolver time="2026-09-17T09:46:27Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=33e87bd2-2edc-4a5f-a718-3bb71739b8ac time="2026-09-17T09:46:27Z" msg="Label not found in DB, creating mailbox." labelID=1cfa4072-42de-417d-a11c-c273b9e83981 labelPath="1KzX2RU1mQyO4COrdPGc33QxTjsjJsaf3laorPH6g0g=" numberOfC /labelConflictResolver time="2026-09-17T09:46:27Z" msg="Label not found in DB, creating mailbox." labelID=f986594f-7993-4b83-acc5-f14367378af6 labelPath="PkT/yXcPNu1r3OoCUKUaipoBRnFZgfAoAl8O0/oEz1c=" numberOfC /labelConflictResolver time="2026-09-17T09:46:27Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=33e87bd2-2edc-4a5f-a718-3bb71739b8ac time="2026-09-17T09:46:27Z" msg="Mailbox created" /user remoteMailboxID=8 userID=33e87bd2-2edc-4a5f-a718-3bb71739b8ac time="2026-09-17T09:46:27Z" msg="Mailbox created" /user remoteMailboxID=5 userID=33e87bd2-2edc-4a5f-a718-3bb71739b8ac time="2026-09-17T09:46:27Z" msg="Mailbox created" /user remoteMailboxID=87729c58-c542-4093-8819-703a7255f71d userID=33e87bd2-2edc-4a5f-a718-3bb71739b8ac time="2026-09-17T09:46:27Z" msg="Mailbox created" /user remoteMailboxID=7 userID=33e87bd2-2edc-4a5f-a718-3bb71739b8ac time="2026-09-17T09:46:27Z" msg="Mailbox created" /user remoteMailboxID=12 userID=33e87bd2-2edc-4a5f-a718-3bb71739b8ac time="2026-09-17T09:46:27Z" msg="Mailbox created" /user remoteMailboxID=6 userID=33e87bd2-2edc-4a5f-a718-3bb71739b8ac time="2026-09-17T09:46:27Z" msg="Mailbox created" /user remoteMailboxID=10 userID=33e87bd2-2edc-4a5f-a718-3bb71739b8ac time="2026-09-17T09:46:27Z" msg="Mailbox created" /user remoteMailboxID=0 userID=33e87bd2-2edc-4a5f-a718-3bb71739b8ac time="2026-09-17T09:46:27Z" msg="Mailbox created" /user remoteMailboxID=969cc49f-2688-4a89-84a9-3c0ab504efa8 userID=33e87bd2-2edc-4a5f-a718-3bb71739b8ac time="2026-09-17T09:46:27Z" msg="Mailbox created" /user remoteMailboxID=3 userID=33e87bd2-2edc-4a5f-a718-3bb71739b8ac time="2026-09-17T09:46:27Z" msg="Mailbox created" /user remoteMailboxID=4 userID=33e87bd2-2edc-4a5f-a718-3bb71739b8ac time="2026-09-17T09:46:27Z" msg="Mailbox created" /user remoteMailboxID=1cfa4072-42de-417d-a11c-c273b9e83981 userID=33e87bd2-2edc-4a5f-a718-3bb71739b8ac time="2026-09-17T09:46:27Z" msg="Mailbox created" /user remoteMailboxID=f986594f-7993-4b83-acc5-f14367378af6 userID=33e87bd2-2edc-4a5f-a718-3bb71739b8ac time="2026-09-17T09:46:27Z" msg="Synced labels" time="2026-09-17T09:46:27Z" msg="200 OK: GET https://127.0.0.1:42917/mail/v4/messages/count" /client userID=f3e36781-b5d5-4c18-8a42-7272446df140 time="2026-09-17T09:46:27Z" msg="Syncing messages" time="2026-09-17T09:46:27Z" msg="Job started" time="2026-09-17T09:46:27Z" msg="200 OK: POST https://127.0.0.1:42917/mail/v4/messages" /client userID=f3e36781-b5d5-4c18-8a42-7272446df140 time="2026-09-17T09:46:27Z" msg="Job finished" time="2026-09-17T09:46:27Z" msg="All child jobs completed" sync- time="2026-09-17T09:46:27Z" msg="Synced messages" time="2026-09-17T09:46:27Z" msg="Finished user sync" .969714ms time="2026-09-17T09:46:27Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:46:27Z" msg="Event loop reset" eventID="BA==" Scenario: Creating mailbox without prefix is not possible # features/imap/mailbox/create.feature:198 Given test skips reporter checks # :1 -> *scenario time="2026-09-17T09:46:27Z" msg="Command failed" cmd="CREATE 'xd7U0APV3nSKlcveWL/683ZR2lEBuaeHPE3/Q4rxeEk='" error="invalid mailbox name [\"mbox\"]: operation not allowed" /session time="2026-09-17T09:46:27Z" msg="Sending observability data." When IMAP client "1" creates "mbox" # :1 -> *scenario Then it fails # :1 -> *scenario time="2026-09-17T09:46:27Z" msg="200 OK: POST https://127.0.0.1:42917/data/v1/metrics" /client userID=f3e36781-b5d5-4c18-8a42-7272446df140 time="2026-09-17T09:46:27Z" msg="Successfully sent observability data." time="2026-09-17T09:46:27Z" msg="Command failed" cmd="CREATE 'GdoAS9X0flekZ3ZgJTRpKe7SKyc583Ay752RVjNasmY='" error="a mailbox with that name already exists" /session time="2026-09-17T09:46:27Z" msg="Scheduling observability data sending" When IMAP client "1" creates "All Mail" # :1 -> *scenario time="2026-09-17T09:46:27Z" msg="Frontend service stopped" time="2026-09-17T09:46:27Z" msg="Frontend client stopped" time="2026-09-17T09:46:27Z" msg="Closing bridge" time="2026-09-17T09:46:27Z" msg="Stopping service" time="2026-09-17T09:46:27Z" msg="Closing user" userID=f3e36781-b5d5-4c18-8a42-7272446df140 time="2026-09-17T09:46:27Z" msg="De-registering user client, ID:f3e36781-b5d5-4c18-8a42-7272446df140" time="2026-09-17T09:46:27Z" msg="Exiting IMAP Service" time="2026-09-17T09:46:27Z" msg="Exiting service main loop" time="2026-09-17T09:46:27Z" msg="Exiting service main loop" time="2026-09-17T09:46:27Z" msg="Exiting Service" time="2026-09-17T09:46:27Z" msg="Exiting service main loop" time="2026-09-17T09:46:27Z" msg="Exiting service" time="2026-09-17T09:46:27Z" msg="Closing IMAP Listener" time="2026-09-17T09:46:27Z" msg="Closing IMAP server" time="2026-09-17T09:46:27Z" msg="Closing SMTP Listener" time="2026-09-17T09:46:27Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:46:27Z" msg="Closing SMTP server" time="2026-09-17T09:46:27Z" msg="Closing service" Then it fails # :1 -> *scenario Feature: IMAP delete mailbox time="2026-09-17T09:46:27Z" msg="User 'a77daea0-4c92-492e-8747-f385eef38e1d' created with " /server/backend Background: Given there exists an account with username "a77daea0-4c92-492e-8747-f385eef38e1d" and password "password" # :1 -> *scenario And the account "a77daea0-4c92-492e-8747-f385eef38e1d" has the following custom mailboxes: # :1 -> *scenario | name | type | | one | folder | | two | folder | | three | label | Then it succeeds # :1 -> *scenario time="2026-09-17T09:46:28Z" msg="Starting bridge" time="2026-09-17T09:46:28Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/042/config1964999325/grpcFocusServerConfig.json /service time="2026-09-17T09:46:28Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/042/cache2187135592/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:46:28Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/042/cache2187135592/notifications/notification_cache: no such file or directory" time="2026-09-17T09:46:28Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/042/data861690017/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/042/data861690017/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:46:28Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:46:28Z" msg="Starting IMAP server" time="2026-09-17T09:46:28Z" msg="Starting SMTP server" time="2026-09-17T09:46:28Z" msg="Starting service" time="2026-09-17T09:46:28Z" msg="Starting service" time="2026-09-17T09:46:28Z" msg="Starting poll service" time="2026-09-17T09:46:28Z" msg="Starting frontend service" time="2026-09-17T09:46:28Z" msg="Checking for updates" time="2026-09-17T09:46:28Z" msg="Loading users" /user time="2026-09-17T09:46:28Z" msg="Starting receiver service" time="2026-09-17T09:46:28Z" msg="Finished loading users" /user time="2026-09-17T09:46:28Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/042/config1964999325/grpcServerConfig.json time="2026-09-17T09:46:28Z" msg="gRPC server listening on /tmp/bridge1296" time="2026-09-17T09:46:28Z" msg="Frontend service started" time="2026-09-17T09:46:28Z" msg="Starting frontend client" time="2026-09-17T09:46:28Z" msg="Not monitoring parent PID" time="2026-09-17T09:46:28Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:46:28Z" msg="200 OK: GET https://127.0.0.1:35461/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:46:28Z" msg="Frontend client started" When bridge starts # :1 -> *scenario time="2026-09-17T09:46:28Z" msg="Performing full user login" /user username="******** (1950814c)" time="2026-09-17T09:46:28Z" msg="Authorizing user for login" /user username="******** (1950814c)" time="2026-09-17T09:46:28Z" msg="200 OK: POST https://127.0.0.1:35461/auth/v4/info" /manager time="2026-09-17T09:46:28Z" msg="200 OK: POST https://127.0.0.1:35461/auth/v4" /manager time="2026-09-17T09:46:28Z" msg="Logging in authorized user" /user userID=b55065b8-8f0c-4c66-b626-f51463773598 time="2026-09-17T09:46:28Z" msg="Adding vault user" userID=b55065b8-8f0c-4c66-b626-f51463773598 time="2026-09-17T09:46:28Z" msg="Creating new user" userID=b55065b8-8f0c-4c66-b626-f51463773598 time="2026-09-17T09:46:28Z" msg="404 GET https://127.0.0.1:35461/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:46:28Z" msg="404 GET https://127.0.0.1:35461/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:46:28Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:35461/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:46:28Z" msg="Creating user object" authUID=cd146e75-4d5e-4855-a1a0-b81985ab79e1 numA numL userID=b55065b8-8f0c-4c66-b626-f51463773598 time="2026-09-17T09:46:28Z" msg="200 OK: GET https://127.0.0.1:35461/core/v4/events/latest" /client userID=b55065b8-8f0c-4c66-b626-f51463773598 time="2026-09-17T09:46:28Z" msg="Starting service Last EventID=Aw==" time="2026-09-17T09:46:28Z" msg="200 OK: GET https://127.0.0.1:35461/core/v4/settings" /client userID=b55065b8-8f0c-4c66-b626-f51463773598 time="2026-09-17T09:46:28Z" msg="Registering user client, ID:b55065b8-8f0c-4c66-b626-f51463773598" time="2026-09-17T09:46:28Z" msg="Starting service main loop" time="2026-09-17T09:46:28Z" msg="Starting user identity service" numA time="2026-09-17T09:46:28Z" msg="Starting service main loop" time="2026-09-17T09:46:28Z" msg="Starting service main loop" time="2026-09-17T09:46:28Z" msg="200 OK: GET https://127.0.0.1:35461/core/v4/labels?T" /client userID=b55065b8-8f0c-4c66-b626-f51463773598 time="2026-09-17T09:46:28Z" msg="200 OK: GET https://127.0.0.1:35461/core/v4/labels?T" /client userID=b55065b8-8f0c-4c66-b626-f51463773598 time="2026-09-17T09:46:28Z" msg="200 OK: GET https://127.0.0.1:35461/core/v4/labels?T" /client userID=b55065b8-8f0c-4c66-b626-f51463773598 time="2026-09-17T09:46:28Z" msg="Setting labels" labelIDs="[2 3 8 9 10 12 0 1 4 5 6 7 babd1c87-601d-4003-83dd-ac1a709c4ac7 90f51735-a71b-4c76-bf01-d295b848cafb a2ed0533-bd24-4891-8521-db066b788791]" time="2026-09-17T09:46:28Z" msg="Adding user to imap server" addrID=6ee04548-b672-44e2-ab97-f9359f087f2d time="2026-09-17T09:46:28Z" msg="Creating new IMAP user" addrID=6ee04548-b672-44e2-ab97-f9359f087f2d time="2026-09-17T09:46:28Z" msg="Setting gluon ID" addrID=6ee04548-b672-44e2-ab97-f9359f087f2d gluonID=0885b134-b77e-4b48-b74a-d9827fe39f76 userID=b55065b8-8f0c-4c66-b626-f51463773598 time="2026-09-17T09:46:28Z" msg="Received mailbox message count" gluonID=0885b134-b77e-4b48-b74a-d9827fe39f76 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:46:28Z" msg="Created new IMAP user" addrID=6ee04548-b672-44e2-ab97-f9359f087f2d gluonID=0885b134-b77e-4b48-b74a-d9827fe39f76 time="2026-09-17T09:46:28Z" msg="Validating Listener State" time="2026-09-17T09:46:28Z" time="2026-09-17T09:46:28Z" msg="Starting IMAP Service" And the user logs in with username "a77daea0-4c92-492e-8747-f385eef38e1d" and password "password" # :1 -> *scenario time="2026-09-17T09:46:28Z" msg="Checking whether logged in user should re-sync. UserID:b55065b8-8f0c-4c66-b626-f51463773598" userID=b55065b8-8f0c-4c66-b626-f51463773598 time="2026-09-17T09:46:28Z" msg="Sync triggered" time="2026-09-17T09:46:28Z" msg="Beginning user sync" start="2026-09-17 09:46:28.695550264 +0000 UTC m=+77.187852600" time="2026-09-17T09:46:28Z" msg="Syncing labels" time="2026-09-17T09:46:28Z" msg="Label not found in DB, creating mailbox." labelID=babd1c87-601d-4003-83dd-ac1a709c4ac7 labelPath="RPijXXq+/66TBq1ekOxGR3YfSJRztJQJY+kK3/gH+Uo=" numberOfC /labelConflictResolver time="2026-09-17T09:46:28Z" msg="Label not found in DB, creating mailbox." labelID=90f51735-a71b-4c76-bf01-d295b848cafb labelPath="AuO2iVbU1q9LVsySXNr4nwhO38HWlDdfMbr5xs56MzY=" numberOfC /labelConflictResolver time="2026-09-17T09:46:28Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=0885b134-b77e-4b48-b74a-d9827fe39f76 time="2026-09-17T09:46:28Z" msg="Label not found in DB, creating mailbox." labelID=a2ed0533-bd24-4891-8521-db066b788791 labelPath="oXyXKowHB8g+3Ix2NcvzH8aqtH3VZ9rzmkaB+pRQU5g=" numberOfC /labelConflictResolver time="2026-09-17T09:46:28Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=0885b134-b77e-4b48-b74a-d9827fe39f76 time="2026-09-17T09:46:28Z" msg="Mailbox created" /user remoteMailboxID=babd1c87-601d-4003-83dd-ac1a709c4ac7 userID=0885b134-b77e-4b48-b74a-d9827fe39f76 time="2026-09-17T09:46:28Z" msg="Mailbox created" /user remoteMailboxID=90f51735-a71b-4c76-bf01-d295b848cafb userID=0885b134-b77e-4b48-b74a-d9827fe39f76 time="2026-09-17T09:46:28Z" msg="Mailbox created" /user remoteMailboxID=10 userID=0885b134-b77e-4b48-b74a-d9827fe39f76 time="2026-09-17T09:46:28Z" msg="Mailbox created" /user remoteMailboxID=12 userID=0885b134-b77e-4b48-b74a-d9827fe39f76 time="2026-09-17T09:46:28Z" msg="Mailbox created" /user remoteMailboxID=7 userID=0885b134-b77e-4b48-b74a-d9827fe39f76 time="2026-09-17T09:46:28Z" msg="Mailbox created" /user remoteMailboxID=a2ed0533-bd24-4891-8521-db066b788791 userID=0885b134-b77e-4b48-b74a-d9827fe39f76 time="2026-09-17T09:46:28Z" msg="Mailbox created" /user remoteMailboxID=3 userID=0885b134-b77e-4b48-b74a-d9827fe39f76 time="2026-09-17T09:46:28Z" msg="Mailbox created" /user remoteMailboxID=8 userID=0885b134-b77e-4b48-b74a-d9827fe39f76 time="2026-09-17T09:46:28Z" msg="Mailbox created" /user remoteMailboxID=0 userID=0885b134-b77e-4b48-b74a-d9827fe39f76 time="2026-09-17T09:46:28Z" msg="Mailbox created" /user remoteMailboxID=4 userID=0885b134-b77e-4b48-b74a-d9827fe39f76 time="2026-09-17T09:46:28Z" msg="Mailbox created" /user remoteMailboxID=6 userID=0885b134-b77e-4b48-b74a-d9827fe39f76 time="2026-09-17T09:46:28Z" msg="Mailbox created" /user remoteMailboxID=5 userID=0885b134-b77e-4b48-b74a-d9827fe39f76 time="2026-09-17T09:46:28Z" msg="Synced labels" time="2026-09-17T09:46:28Z" msg="200 OK: GET https://127.0.0.1:35461/mail/v4/messages/count" /client userID=b55065b8-8f0c-4c66-b626-f51463773598 time="2026-09-17T09:46:28Z" msg="Syncing messages" time="2026-09-17T09:46:28Z" msg="Job started" time="2026-09-17T09:46:28Z" msg="200 OK: POST https://127.0.0.1:35461/mail/v4/messages" /client userID=b55065b8-8f0c-4c66-b626-f51463773598 time="2026-09-17T09:46:28Z" msg="Job finished" time="2026-09-17T09:46:28Z" msg="All child jobs completed" sync- time="2026-09-17T09:46:28Z" msg="Synced messages" time="2026-09-17T09:46:28Z" msg="Finished user sync" .851318ms time="2026-09-17T09:46:28Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:46:28Z" msg="Event loop reset" eventID="Aw==" And user "a77daea0-4c92-492e-8747-f385eef38e1d" finishes syncing # :1 -> *scenario And user "a77daea0-4c92-492e-8747-f385eef38e1d" connects and authenticates IMAP client "1" # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:46:28Z" msg="200 OK: DELETE https://127.0.0.1:35461/core/v4/labels/babd1c87-601d-4003-83dd-ac1a709c4ac7" /client userID=b55065b8-8f0c-4c66-b626-f51463773598 Scenario: Delete folder # features/imap/mailbox/delete.feature:16 When IMAP client "1" deletes "Folders/one" # :1 -> *scenario Then IMAP client "1" does not see "Folders/one" # :1 -> *scenario But IMAP client "1" sees "Folders/two" # :1 -> *scenario time="2026-09-17T09:46:28Z" msg="Frontend service stopped" time="2026-09-17T09:46:28Z" msg="Frontend client stopped" time="2026-09-17T09:46:28Z" msg="Closing bridge" time="2026-09-17T09:46:28Z" msg="Stopping service" time="2026-09-17T09:46:28Z" msg="Closing user" userID=b55065b8-8f0c-4c66-b626-f51463773598 time="2026-09-17T09:46:28Z" msg="De-registering user client, ID:b55065b8-8f0c-4c66-b626-f51463773598" time="2026-09-17T09:46:28Z" msg="Exiting IMAP Service" time="2026-09-17T09:46:28Z" msg="Exiting service main loop" time="2026-09-17T09:46:28Z" msg="Exiting service main loop" time="2026-09-17T09:46:28Z" msg="Exiting Service" time="2026-09-17T09:46:28Z" msg="Exiting service main loop" time="2026-09-17T09:46:28Z" msg="Exiting service" time="2026-09-17T09:46:28Z" msg="Closing IMAP Listener" time="2026-09-17T09:46:28Z" msg="Closing IMAP server" time="2026-09-17T09:46:28Z" msg="Closing SMTP Listener" time="2026-09-17T09:46:28Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:46:28Z" msg="Closing SMTP server" time="2026-09-17T09:46:28Z" msg="Closing service" But IMAP client "1" sees "Labels/three" # :1 -> *scenario time="2026-09-17T09:46:28Z" msg="User '14275b1b-d980-4edb-a1a8-c9cb9eea2ad6' created with " /server/backend time="2026-09-17T09:46:29Z" msg="Starting bridge" time="2026-09-17T09:46:29Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/043/config3579367890/grpcFocusServerConfig.json /service time="2026-09-17T09:46:29Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/043/cache1227277308/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:46:29Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/043/cache1227277308/notifications/notification_cache: no such file or directory" time="2026-09-17T09:46:29Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/043/data1496469495/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/043/data1496469495/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:46:29Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:46:29Z" msg="Starting IMAP server" time="2026-09-17T09:46:29Z" msg="Starting SMTP server" time="2026-09-17T09:46:29Z" msg="Starting service" time="2026-09-17T09:46:29Z" msg="Starting service" time="2026-09-17T09:46:29Z" msg="Starting receiver service" time="2026-09-17T09:46:29Z" msg="Starting poll service" time="2026-09-17T09:46:29Z" msg="Loading users" /user time="2026-09-17T09:46:29Z" msg="Finished loading users" /user time="2026-09-17T09:46:29Z" msg="Starting frontend service" time="2026-09-17T09:46:29Z" msg="Checking for updates" time="2026-09-17T09:46:29Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/043/config3579367890/grpcServerConfig.json time="2026-09-17T09:46:29Z" msg="gRPC server listening on /tmp/bridge0401" time="2026-09-17T09:46:29Z" msg="Frontend service started" time="2026-09-17T09:46:29Z" msg="Starting frontend client" time="2026-09-17T09:46:29Z" msg="Not monitoring parent PID" time="2026-09-17T09:46:29Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:46:29Z" msg="200 OK: GET https://127.0.0.1:38973/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:46:29Z" msg="Frontend client started" time="2026-09-17T09:46:29Z" msg="Performing full user login" /user username="******** (a852aff2)" time="2026-09-17T09:46:29Z" msg="Authorizing user for login" /user username="******** (a852aff2)" time="2026-09-17T09:46:29Z" msg="200 OK: POST https://127.0.0.1:38973/auth/v4/info" /manager time="2026-09-17T09:46:30Z" msg="200 OK: POST https://127.0.0.1:38973/auth/v4" /manager time="2026-09-17T09:46:30Z" msg="Logging in authorized user" /user userID=8432dd9d-2e71-476d-92e3-826f12f19f3a time="2026-09-17T09:46:30Z" msg="Adding vault user" userID=8432dd9d-2e71-476d-92e3-826f12f19f3a time="2026-09-17T09:46:30Z" msg="Creating new user" userID=8432dd9d-2e71-476d-92e3-826f12f19f3a time="2026-09-17T09:46:30Z" msg="404 GET https://127.0.0.1:38973/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:46:30Z" msg="404 GET https://127.0.0.1:38973/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:46:30Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:38973/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:46:30Z" msg="Creating user object" authUID=f4c8b96f-2d3f-4f9e-842a-8d00e57d62a2 numA numL userID=8432dd9d-2e71-476d-92e3-826f12f19f3a time="2026-09-17T09:46:30Z" msg="200 OK: GET https://127.0.0.1:38973/core/v4/events/latest" /client userID=8432dd9d-2e71-476d-92e3-826f12f19f3a time="2026-09-17T09:46:30Z" msg="Starting service Last EventID=Aw==" time="2026-09-17T09:46:30Z" msg="200 OK: GET https://127.0.0.1:38973/core/v4/settings" /client userID=8432dd9d-2e71-476d-92e3-826f12f19f3a time="2026-09-17T09:46:30Z" msg="Registering user client, ID:8432dd9d-2e71-476d-92e3-826f12f19f3a" time="2026-09-17T09:46:30Z" msg="Starting service main loop" time="2026-09-17T09:46:30Z" msg="Starting service main loop" time="2026-09-17T09:46:30Z" msg="Starting user identity service" numA time="2026-09-17T09:46:30Z" msg="Starting service main loop" time="2026-09-17T09:46:30Z" msg="200 OK: GET https://127.0.0.1:38973/core/v4/labels?T" /client userID=8432dd9d-2e71-476d-92e3-826f12f19f3a time="2026-09-17T09:46:30Z" msg="200 OK: GET https://127.0.0.1:38973/core/v4/labels?T" /client userID=8432dd9d-2e71-476d-92e3-826f12f19f3a time="2026-09-17T09:46:30Z" msg="200 OK: GET https://127.0.0.1:38973/core/v4/labels?T" /client userID=8432dd9d-2e71-476d-92e3-826f12f19f3a time="2026-09-17T09:46:30Z" msg="Setting labels" labelIDs="[9 10 0 2 3 4 5 8 12 1 6 7 e976deb5-ac7b-4b1a-bc7a-c1c6953dbc50 4e013ee9-6bea-424a-b3d5-f1c34fb2573c f58d589d-a8e8-4d32-b334-1ea9ddd9ce0d]" time="2026-09-17T09:46:30Z" msg="Adding user to imap server" addrID=af680533-d9dc-4e20-81c2-6bc33e3c1712 time="2026-09-17T09:46:30Z" msg="Creating new IMAP user" addrID=af680533-d9dc-4e20-81c2-6bc33e3c1712 time="2026-09-17T09:46:30Z" msg="Setting gluon ID" addrID=af680533-d9dc-4e20-81c2-6bc33e3c1712 gluonID=0d9ffaf4-d668-4c9c-969f-cbe7d8a09a58 userID=8432dd9d-2e71-476d-92e3-826f12f19f3a time="2026-09-17T09:46:30Z" msg="Created new IMAP user" addrID=af680533-d9dc-4e20-81c2-6bc33e3c1712 gluonID=0d9ffaf4-d668-4c9c-969f-cbe7d8a09a58 time="2026-09-17T09:46:30Z" msg="Validating Listener State" time="2026-09-17T09:46:30Z" time="2026-09-17T09:46:30Z" msg="Received mailbox message count" gluonID=0d9ffaf4-d668-4c9c-969f-cbe7d8a09a58 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:46:30Z" msg="Checking whether logged in user should re-sync. UserID:8432dd9d-2e71-476d-92e3-826f12f19f3a" userID=8432dd9d-2e71-476d-92e3-826f12f19f3a time="2026-09-17T09:46:30Z" msg="Starting IMAP Service" time="2026-09-17T09:46:30Z" msg="Sync triggered" time="2026-09-17T09:46:30Z" msg="Beginning user sync" start="2026-09-17 09:46:30.166115408 +0000 UTC m=+78.658417744" time="2026-09-17T09:46:30Z" msg="Syncing labels" time="2026-09-17T09:46:30Z" msg="Label not found in DB, creating mailbox." labelID=e976deb5-ac7b-4b1a-bc7a-c1c6953dbc50 labelPath="RPijXXq+/66TBq1ekOxGR3YfSJRztJQJY+kK3/gH+Uo=" numberOfC /labelConflictResolver time="2026-09-17T09:46:30Z" msg="Label not found in DB, creating mailbox." labelID=4e013ee9-6bea-424a-b3d5-f1c34fb2573c labelPath="AuO2iVbU1q9LVsySXNr4nwhO38HWlDdfMbr5xs56MzY=" numberOfC /labelConflictResolver time="2026-09-17T09:46:30Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=0d9ffaf4-d668-4c9c-969f-cbe7d8a09a58 time="2026-09-17T09:46:30Z" msg="Label not found in DB, creating mailbox." labelID=f58d589d-a8e8-4d32-b334-1ea9ddd9ce0d labelPath="oXyXKowHB8g+3Ix2NcvzH8aqtH3VZ9rzmkaB+pRQU5g=" numberOfC /labelConflictResolver time="2026-09-17T09:46:30Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=0d9ffaf4-d668-4c9c-969f-cbe7d8a09a58 time="2026-09-17T09:46:30Z" msg="Mailbox created" /user remoteMailboxID=3 userID=0d9ffaf4-d668-4c9c-969f-cbe7d8a09a58 time="2026-09-17T09:46:30Z" msg="Mailbox created" /user remoteMailboxID=6 userID=0d9ffaf4-d668-4c9c-969f-cbe7d8a09a58 time="2026-09-17T09:46:30Z" msg="Mailbox created" /user remoteMailboxID=e976deb5-ac7b-4b1a-bc7a-c1c6953dbc50 userID=0d9ffaf4-d668-4c9c-969f-cbe7d8a09a58 time="2026-09-17T09:46:30Z" msg="Mailbox created" /user remoteMailboxID=4e013ee9-6bea-424a-b3d5-f1c34fb2573c userID=0d9ffaf4-d668-4c9c-969f-cbe7d8a09a58 time="2026-09-17T09:46:30Z" msg="Mailbox created" /user remoteMailboxID=0 userID=0d9ffaf4-d668-4c9c-969f-cbe7d8a09a58 time="2026-09-17T09:46:30Z" msg="Mailbox created" /user remoteMailboxID=4 userID=0d9ffaf4-d668-4c9c-969f-cbe7d8a09a58 time="2026-09-17T09:46:30Z" msg="Mailbox created" /user remoteMailboxID=7 userID=0d9ffaf4-d668-4c9c-969f-cbe7d8a09a58 time="2026-09-17T09:46:30Z" msg="Mailbox created" /user remoteMailboxID=5 userID=0d9ffaf4-d668-4c9c-969f-cbe7d8a09a58 time="2026-09-17T09:46:30Z" msg="Mailbox created" /user remoteMailboxID=8 userID=0d9ffaf4-d668-4c9c-969f-cbe7d8a09a58 time="2026-09-17T09:46:30Z" msg="Mailbox created" /user remoteMailboxID=12 userID=0d9ffaf4-d668-4c9c-969f-cbe7d8a09a58 time="2026-09-17T09:46:30Z" msg="Mailbox created" /user remoteMailboxID=f58d589d-a8e8-4d32-b334-1ea9ddd9ce0d userID=0d9ffaf4-d668-4c9c-969f-cbe7d8a09a58 time="2026-09-17T09:46:30Z" msg="Mailbox created" /user remoteMailboxID=10 userID=0d9ffaf4-d668-4c9c-969f-cbe7d8a09a58 time="2026-09-17T09:46:30Z" msg="Synced labels" time="2026-09-17T09:46:30Z" msg="200 OK: GET https://127.0.0.1:38973/mail/v4/messages/count" /client userID=8432dd9d-2e71-476d-92e3-826f12f19f3a time="2026-09-17T09:46:30Z" msg="Syncing messages" time="2026-09-17T09:46:30Z" msg="Job started" time="2026-09-17T09:46:30Z" msg="200 OK: POST https://127.0.0.1:38973/mail/v4/messages" /client userID=8432dd9d-2e71-476d-92e3-826f12f19f3a time="2026-09-17T09:46:30Z" msg="Job finished" time="2026-09-17T09:46:30Z" msg="All child jobs completed" sync- time="2026-09-17T09:46:30Z" msg="Synced messages" time="2026-09-17T09:46:30Z" msg="Finished user sync" .204218ms time="2026-09-17T09:46:30Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:46:30Z" msg="Event loop reset" eventID="Aw==" time="2026-09-17T09:46:30Z" msg="200 OK: DELETE https://127.0.0.1:38973/core/v4/labels/f58d589d-a8e8-4d32-b334-1ea9ddd9ce0d" /client userID=8432dd9d-2e71-476d-92e3-826f12f19f3a Scenario: Delete label # features/imap/mailbox/delete.feature:22 When IMAP client "1" deletes "Labels/three" # :1 -> *scenario Then IMAP client "1" does not see "Labels/three" # :1 -> *scenario But IMAP client "1" sees "Folders/one" # :1 -> *scenario time="2026-09-17T09:46:30Z" msg="Frontend service stopped" time="2026-09-17T09:46:30Z" msg="Frontend client stopped" time="2026-09-17T09:46:30Z" msg="Closing bridge" time="2026-09-17T09:46:30Z" msg="Stopping service" time="2026-09-17T09:46:30Z" msg="Closing user" userID=8432dd9d-2e71-476d-92e3-826f12f19f3a time="2026-09-17T09:46:30Z" msg="De-registering user client, ID:8432dd9d-2e71-476d-92e3-826f12f19f3a" time="2026-09-17T09:46:30Z" msg="Exiting IMAP Service" time="2026-09-17T09:46:30Z" msg="Exiting service main loop" time="2026-09-17T09:46:30Z" msg="Exiting service main loop" time="2026-09-17T09:46:30Z" msg="Exiting Service" time="2026-09-17T09:46:30Z" msg="Exiting service main loop" time="2026-09-17T09:46:30Z" msg="Exiting service" time="2026-09-17T09:46:30Z" msg="Closing IMAP Listener" time="2026-09-17T09:46:30Z" msg="Closing IMAP server" time="2026-09-17T09:46:30Z" msg="Closing SMTP Listener" time="2026-09-17T09:46:30Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:46:30Z" msg="Closing SMTP server" time="2026-09-17T09:46:30Z" msg="Closing service" But IMAP client "1" sees "Folders/two" # :1 -> *scenario time="2026-09-17T09:46:30Z" msg="User 'e322b95c-0b1f-4cf6-9951-997670c4f249' created with " /server/backend time="2026-09-17T09:46:31Z" msg="Starting bridge" time="2026-09-17T09:46:31Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/044/config303776826/grpcFocusServerConfig.json /service time="2026-09-17T09:46:31Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/044/cache3186873857/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:46:31Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/044/cache3186873857/notifications/notification_cache: no such file or directory" time="2026-09-17T09:46:31Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/044/data1305466263/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/044/data1305466263/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:46:31Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:46:31Z" msg="Starting IMAP server" time="2026-09-17T09:46:31Z" msg="Starting SMTP server" time="2026-09-17T09:46:31Z" msg="Starting service" time="2026-09-17T09:46:31Z" msg="Starting service" time="2026-09-17T09:46:31Z" msg="Starting receiver service" time="2026-09-17T09:46:31Z" msg="Starting frontend service" time="2026-09-17T09:46:31Z" msg="Checking for updates" time="2026-09-17T09:46:31Z" msg="Loading users" /user time="2026-09-17T09:46:31Z" msg="Starting poll service" time="2026-09-17T09:46:31Z" msg="Finished loading users" /user time="2026-09-17T09:46:31Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/044/config303776826/grpcServerConfig.json time="2026-09-17T09:46:31Z" msg="gRPC server listening on /tmp/bridge6882" time="2026-09-17T09:46:31Z" msg="Frontend service started" time="2026-09-17T09:46:31Z" msg="Starting frontend client" time="2026-09-17T09:46:31Z" msg="Not monitoring parent PID" time="2026-09-17T09:46:31Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:46:31Z" msg="200 OK: GET https://127.0.0.1:40847/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:46:31Z" msg="Frontend client started" time="2026-09-17T09:46:31Z" msg="Performing full user login" /user username="******** (2a2ef59c)" time="2026-09-17T09:46:31Z" msg="Authorizing user for login" /user username="******** (2a2ef59c)" time="2026-09-17T09:46:31Z" msg="200 OK: POST https://127.0.0.1:40847/auth/v4/info" /manager time="2026-09-17T09:46:31Z" msg="200 OK: POST https://127.0.0.1:40847/auth/v4" /manager time="2026-09-17T09:46:31Z" msg="Logging in authorized user" /user userID=c7b02d68-e3f9-4e77-8cdd-1ef7665f9aa4 time="2026-09-17T09:46:31Z" msg="Adding vault user" userID=c7b02d68-e3f9-4e77-8cdd-1ef7665f9aa4 time="2026-09-17T09:46:31Z" msg="Creating new user" userID=c7b02d68-e3f9-4e77-8cdd-1ef7665f9aa4 time="2026-09-17T09:46:31Z" msg="404 GET https://127.0.0.1:40847/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:46:31Z" msg="404 GET https://127.0.0.1:40847/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:46:31Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:40847/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:46:31Z" msg="Creating user object" authUID=828d2861-62d1-448e-af40-1a4ef46a8e66 numA numL userID=c7b02d68-e3f9-4e77-8cdd-1ef7665f9aa4 time="2026-09-17T09:46:31Z" msg="200 OK: GET https://127.0.0.1:40847/core/v4/events/latest" /client userID=c7b02d68-e3f9-4e77-8cdd-1ef7665f9aa4 time="2026-09-17T09:46:31Z" msg="Starting service Last EventID=Aw==" time="2026-09-17T09:46:31Z" msg="200 OK: GET https://127.0.0.1:40847/core/v4/settings" /client userID=c7b02d68-e3f9-4e77-8cdd-1ef7665f9aa4 time="2026-09-17T09:46:31Z" msg="Registering user client, ID:c7b02d68-e3f9-4e77-8cdd-1ef7665f9aa4" time="2026-09-17T09:46:31Z" msg="Starting service main loop" time="2026-09-17T09:46:31Z" msg="Starting service main loop" time="2026-09-17T09:46:31Z" msg="Starting user identity service" numA time="2026-09-17T09:46:31Z" msg="Starting service main loop" time="2026-09-17T09:46:31Z" msg="200 OK: GET https://127.0.0.1:40847/core/v4/labels?T" /client userID=c7b02d68-e3f9-4e77-8cdd-1ef7665f9aa4 time="2026-09-17T09:46:31Z" msg="200 OK: GET https://127.0.0.1:40847/core/v4/labels?T" /client userID=c7b02d68-e3f9-4e77-8cdd-1ef7665f9aa4 time="2026-09-17T09:46:31Z" msg="200 OK: GET https://127.0.0.1:40847/core/v4/labels?T" /client userID=c7b02d68-e3f9-4e77-8cdd-1ef7665f9aa4 time="2026-09-17T09:46:31Z" msg="Setting labels" labelIDs="[5 7 9 10 0 1 3 6 8 12 2 4 ac80b7d8-2e83-4a4a-899c-cafa3d561739 1abf3ef9-dbfc-4210-85d6-3af72f9a7ee6 40d35f93-53ea-4aaa-87bd-29228b52a350]" time="2026-09-17T09:46:31Z" msg="Adding user to imap server" addrID=95d3db86-e814-4988-ae8f-b7ed28cd21a4 time="2026-09-17T09:46:31Z" msg="Creating new IMAP user" addrID=95d3db86-e814-4988-ae8f-b7ed28cd21a4 time="2026-09-17T09:46:31Z" msg="Setting gluon ID" addrID=95d3db86-e814-4988-ae8f-b7ed28cd21a4 gluonID=8b7eb7c2-ef42-461b-b5fc-6a11719b420b userID=c7b02d68-e3f9-4e77-8cdd-1ef7665f9aa4 time="2026-09-17T09:46:31Z" msg="Created new IMAP user" addrID=95d3db86-e814-4988-ae8f-b7ed28cd21a4 gluonID=8b7eb7c2-ef42-461b-b5fc-6a11719b420b time="2026-09-17T09:46:31Z" msg="Validating Listener State" time="2026-09-17T09:46:31Z" time="2026-09-17T09:46:31Z" msg="Received mailbox message count" gluonID=8b7eb7c2-ef42-461b-b5fc-6a11719b420b labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:46:31Z" msg="Checking whether logged in user should re-sync. UserID:c7b02d68-e3f9-4e77-8cdd-1ef7665f9aa4" userID=c7b02d68-e3f9-4e77-8cdd-1ef7665f9aa4 time="2026-09-17T09:46:31Z" msg="Starting IMAP Service" time="2026-09-17T09:46:31Z" msg="Sync triggered" time="2026-09-17T09:46:31Z" msg="Beginning user sync" start="2026-09-17 09:46:31.629704243 +0000 UTC m=+80.122006539" time="2026-09-17T09:46:31Z" msg="Syncing labels" time="2026-09-17T09:46:31Z" msg="Label not found in DB, creating mailbox." labelID=1abf3ef9-dbfc-4210-85d6-3af72f9a7ee6 labelPath="AuO2iVbU1q9LVsySXNr4nwhO38HWlDdfMbr5xs56MzY=" numberOfC /labelConflictResolver time="2026-09-17T09:46:31Z" msg="Label not found in DB, creating mailbox." labelID=40d35f93-53ea-4aaa-87bd-29228b52a350 labelPath="oXyXKowHB8g+3Ix2NcvzH8aqtH3VZ9rzmkaB+pRQU5g=" numberOfC /labelConflictResolver time="2026-09-17T09:46:31Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=8b7eb7c2-ef42-461b-b5fc-6a11719b420b time="2026-09-17T09:46:31Z" msg="Label not found in DB, creating mailbox." labelID=ac80b7d8-2e83-4a4a-899c-cafa3d561739 labelPath="RPijXXq+/66TBq1ekOxGR3YfSJRztJQJY+kK3/gH+Uo=" numberOfC /labelConflictResolver time="2026-09-17T09:46:31Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=8b7eb7c2-ef42-461b-b5fc-6a11719b420b time="2026-09-17T09:46:31Z" msg="Mailbox created" /user remoteMailboxID=0 userID=8b7eb7c2-ef42-461b-b5fc-6a11719b420b time="2026-09-17T09:46:31Z" msg="Mailbox created" /user remoteMailboxID=6 userID=8b7eb7c2-ef42-461b-b5fc-6a11719b420b time="2026-09-17T09:46:31Z" msg="Mailbox created" /user remoteMailboxID=8 userID=8b7eb7c2-ef42-461b-b5fc-6a11719b420b time="2026-09-17T09:46:31Z" msg="Mailbox created" /user remoteMailboxID=3 userID=8b7eb7c2-ef42-461b-b5fc-6a11719b420b time="2026-09-17T09:46:31Z" msg="Mailbox created" /user remoteMailboxID=4 userID=8b7eb7c2-ef42-461b-b5fc-6a11719b420b time="2026-09-17T09:46:31Z" msg="Mailbox created" /user remoteMailboxID=1abf3ef9-dbfc-4210-85d6-3af72f9a7ee6 userID=8b7eb7c2-ef42-461b-b5fc-6a11719b420b time="2026-09-17T09:46:31Z" msg="Mailbox created" /user remoteMailboxID=5 userID=8b7eb7c2-ef42-461b-b5fc-6a11719b420b time="2026-09-17T09:46:31Z" msg="Mailbox created" /user remoteMailboxID=12 userID=8b7eb7c2-ef42-461b-b5fc-6a11719b420b time="2026-09-17T09:46:31Z" msg="Mailbox created" /user remoteMailboxID=40d35f93-53ea-4aaa-87bd-29228b52a350 userID=8b7eb7c2-ef42-461b-b5fc-6a11719b420b time="2026-09-17T09:46:31Z" msg="Mailbox created" /user remoteMailboxID=7 userID=8b7eb7c2-ef42-461b-b5fc-6a11719b420b time="2026-09-17T09:46:31Z" msg="Mailbox created" /user remoteMailboxID=10 userID=8b7eb7c2-ef42-461b-b5fc-6a11719b420b time="2026-09-17T09:46:31Z" msg="Mailbox created" /user remoteMailboxID=ac80b7d8-2e83-4a4a-899c-cafa3d561739 userID=8b7eb7c2-ef42-461b-b5fc-6a11719b420b time="2026-09-17T09:46:31Z" msg="Synced labels" time="2026-09-17T09:46:31Z" msg="200 OK: GET https://127.0.0.1:40847/mail/v4/messages/count" /client userID=c7b02d68-e3f9-4e77-8cdd-1ef7665f9aa4 time="2026-09-17T09:46:31Z" msg="Syncing messages" time="2026-09-17T09:46:31Z" msg="Job started" time="2026-09-17T09:46:31Z" msg="200 OK: POST https://127.0.0.1:40847/mail/v4/messages" /client userID=c7b02d68-e3f9-4e77-8cdd-1ef7665f9aa4 time="2026-09-17T09:46:31Z" msg="Job finished" time="2026-09-17T09:46:31Z" msg="All child jobs completed" sync- time="2026-09-17T09:46:31Z" msg="Synced messages" time="2026-09-17T09:46:31Z" msg="Finished user sync" .097733ms time="2026-09-17T09:46:31Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:46:31Z" msg="Event loop reset" eventID="Aw==" time="2026-09-17T09:46:31Z" msg="Command failed" cmd="DELETE 'g+y1Ib8yD2dyh+i5I4Cbs010utlij3E+0ODOTP4E8vg='" error="cannot delete INBOX" /session Scenario: Deleting system mailbox is not possible # features/imap/mailbox/delete.feature:28 When IMAP client "1" deletes "INBOX" # :1 -> *scenario Then it fails # :1 -> *scenario time="2026-09-17T09:46:31Z" msg="Frontend service stopped" time="2026-09-17T09:46:31Z" msg="Frontend client stopped" time="2026-09-17T09:46:31Z" msg="Closing bridge" time="2026-09-17T09:46:31Z" msg="Stopping service" time="2026-09-17T09:46:31Z" msg="Closing user" userID=c7b02d68-e3f9-4e77-8cdd-1ef7665f9aa4 time="2026-09-17T09:46:31Z" msg="De-registering user client, ID:c7b02d68-e3f9-4e77-8cdd-1ef7665f9aa4" time="2026-09-17T09:46:31Z" msg="Exiting IMAP Service" time="2026-09-17T09:46:31Z" msg="Exiting service main loop" time="2026-09-17T09:46:31Z" msg="Exiting service main loop" time="2026-09-17T09:46:31Z" msg="Exiting Service" time="2026-09-17T09:46:31Z" msg="Exiting service main loop" time="2026-09-17T09:46:31Z" msg="Exiting service" time="2026-09-17T09:46:31Z" msg="Closing IMAP Listener" time="2026-09-17T09:46:31Z" msg="Closing IMAP server" time="2026-09-17T09:46:31Z" msg="Closing SMTP Listener" time="2026-09-17T09:46:31Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:46:31Z" msg="Closing SMTP server" time="2026-09-17T09:46:31Z" msg="Closing service" And IMAP client "1" sees "INBOX" # :1 -> *scenario Feature: IMAP Hide All Mail time="2026-09-17T09:46:31Z" msg="User '03e04675-72d6-4757-a8e8-4dfeb4d4a28e' created with " /server/backend Background: Given there exists an account with username "03e04675-72d6-4757-a8e8-4dfeb4d4a28e" and password "password" # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:46:32Z" msg="Starting bridge" time="2026-09-17T09:46:32Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/045/config2797605784/grpcFocusServerConfig.json /service time="2026-09-17T09:46:32Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/045/cache994923767/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:46:32Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/045/cache994923767/notifications/notification_cache: no such file or directory" time="2026-09-17T09:46:32Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/045/data868574464/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/045/data868574464/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:46:32Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:46:32Z" msg="Starting IMAP server" time="2026-09-17T09:46:32Z" msg="Starting SMTP server" time="2026-09-17T09:46:32Z" msg="Starting service" time="2026-09-17T09:46:32Z" msg="Starting service" time="2026-09-17T09:46:32Z" msg="Starting poll service" time="2026-09-17T09:46:32Z" msg="Starting frontend service" time="2026-09-17T09:46:32Z" msg="Checking for updates" time="2026-09-17T09:46:32Z" msg="Loading users" /user time="2026-09-17T09:46:32Z" msg="Finished loading users" /user time="2026-09-17T09:46:32Z" msg="Starting receiver service" time="2026-09-17T09:46:32Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/045/config2797605784/grpcServerConfig.json time="2026-09-17T09:46:32Z" msg="gRPC server listening on /tmp/bridge6061" time="2026-09-17T09:46:32Z" msg="Frontend service started" time="2026-09-17T09:46:32Z" msg="Starting frontend client" time="2026-09-17T09:46:32Z" msg="Not monitoring parent PID" time="2026-09-17T09:46:32Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:46:32Z" msg="Frontend client started" When bridge starts # :1 -> *scenario time="2026-09-17T09:46:32Z" msg="Performing full user login" /user username="******** (f4de7ab8)" time="2026-09-17T09:46:32Z" msg="Authorizing user for login" /user username="******** (f4de7ab8)" time="2026-09-17T09:46:32Z" msg="200 OK: GET https://127.0.0.1:44953/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:46:32Z" msg="200 OK: POST https://127.0.0.1:44953/auth/v4/info" /manager time="2026-09-17T09:46:32Z" msg="200 OK: POST https://127.0.0.1:44953/auth/v4" /manager time="2026-09-17T09:46:32Z" msg="Logging in authorized user" /user userID=8343b01c-1478-4d86-a706-698c28e4552c time="2026-09-17T09:46:32Z" msg="Adding vault user" userID=8343b01c-1478-4d86-a706-698c28e4552c time="2026-09-17T09:46:32Z" msg="Creating new user" userID=8343b01c-1478-4d86-a706-698c28e4552c time="2026-09-17T09:46:32Z" msg="404 GET https://127.0.0.1:44953/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:46:32Z" msg="404 GET https://127.0.0.1:44953/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:46:32Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:44953/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:46:32Z" msg="Creating user object" authUID=daea1378-a9e8-49f9-8246-c14a47081597 numA numL userID=8343b01c-1478-4d86-a706-698c28e4552c time="2026-09-17T09:46:32Z" msg="200 OK: GET https://127.0.0.1:44953/core/v4/events/latest" /client userID=8343b01c-1478-4d86-a706-698c28e4552c time="2026-09-17T09:46:32Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:46:32Z" msg="200 OK: GET https://127.0.0.1:44953/core/v4/settings" /client userID=8343b01c-1478-4d86-a706-698c28e4552c time="2026-09-17T09:46:32Z" msg="Registering user client, ID:8343b01c-1478-4d86-a706-698c28e4552c" time="2026-09-17T09:46:32Z" msg="Starting service main loop" time="2026-09-17T09:46:32Z" msg="Starting user identity service" numA time="2026-09-17T09:46:32Z" msg="Starting service main loop" time="2026-09-17T09:46:32Z" msg="Starting service main loop" time="2026-09-17T09:46:32Z" msg="200 OK: GET https://127.0.0.1:44953/core/v4/labels?T" /client userID=8343b01c-1478-4d86-a706-698c28e4552c time="2026-09-17T09:46:32Z" msg="200 OK: GET https://127.0.0.1:44953/core/v4/labels?T" /client userID=8343b01c-1478-4d86-a706-698c28e4552c time="2026-09-17T09:46:32Z" msg="200 OK: GET https://127.0.0.1:44953/core/v4/labels?T" /client userID=8343b01c-1478-4d86-a706-698c28e4552c time="2026-09-17T09:46:32Z" msg="Setting labels" labelIDs="[7 10 12 3 5 6 8 9 0 1 2 4]" time="2026-09-17T09:46:32Z" msg="Adding user to imap server" addrID=4b5601b0-7a1e-4ccc-9d2b-cb83b1ec1fb6 time="2026-09-17T09:46:32Z" msg="Creating new IMAP user" addrID=4b5601b0-7a1e-4ccc-9d2b-cb83b1ec1fb6 time="2026-09-17T09:46:32Z" msg="Setting gluon ID" addrID=4b5601b0-7a1e-4ccc-9d2b-cb83b1ec1fb6 gluonID=dd7754ab-d918-477e-b73e-1f5f6936a60f userID=8343b01c-1478-4d86-a706-698c28e4552c time="2026-09-17T09:46:32Z" msg="Received mailbox message count" gluonID=dd7754ab-d918-477e-b73e-1f5f6936a60f labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:46:32Z" msg="Created new IMAP user" addrID=4b5601b0-7a1e-4ccc-9d2b-cb83b1ec1fb6 gluonID=dd7754ab-d918-477e-b73e-1f5f6936a60f time="2026-09-17T09:46:32Z" msg="Validating Listener State" time="2026-09-17T09:46:32Z" time="2026-09-17T09:46:32Z" msg="Starting IMAP Service" time="2026-09-17T09:46:32Z" msg="Checking whether logged in user should re-sync. UserID:8343b01c-1478-4d86-a706-698c28e4552c" userID=8343b01c-1478-4d86-a706-698c28e4552c And the user logs in with username "03e04675-72d6-4757-a8e8-4dfeb4d4a28e" and password "password" # :1 -> *scenario time="2026-09-17T09:46:32Z" msg="Sync triggered" time="2026-09-17T09:46:32Z" msg="Beginning user sync" start="2026-09-17 09:46:32.733073184 +0000 UTC m=+81.225375480" time="2026-09-17T09:46:32Z" msg="Syncing labels" time="2026-09-17T09:46:32Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=dd7754ab-d918-477e-b73e-1f5f6936a60f time="2026-09-17T09:46:32Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=dd7754ab-d918-477e-b73e-1f5f6936a60f time="2026-09-17T09:46:32Z" msg="Mailbox created" /user remoteMailboxID=12 userID=dd7754ab-d918-477e-b73e-1f5f6936a60f time="2026-09-17T09:46:32Z" msg="Mailbox created" /user remoteMailboxID=5 userID=dd7754ab-d918-477e-b73e-1f5f6936a60f time="2026-09-17T09:46:32Z" msg="Mailbox created" /user remoteMailboxID=8 userID=dd7754ab-d918-477e-b73e-1f5f6936a60f time="2026-09-17T09:46:32Z" msg="Mailbox created" /user remoteMailboxID=0 userID=dd7754ab-d918-477e-b73e-1f5f6936a60f time="2026-09-17T09:46:32Z" msg="Mailbox created" /user remoteMailboxID=3 userID=dd7754ab-d918-477e-b73e-1f5f6936a60f time="2026-09-17T09:46:32Z" msg="Mailbox created" /user remoteMailboxID=6 userID=dd7754ab-d918-477e-b73e-1f5f6936a60f time="2026-09-17T09:46:32Z" msg="Mailbox created" /user remoteMailboxID=4 userID=dd7754ab-d918-477e-b73e-1f5f6936a60f time="2026-09-17T09:46:32Z" msg="Mailbox created" /user remoteMailboxID=7 userID=dd7754ab-d918-477e-b73e-1f5f6936a60f time="2026-09-17T09:46:32Z" msg="Mailbox created" /user remoteMailboxID=10 userID=dd7754ab-d918-477e-b73e-1f5f6936a60f time="2026-09-17T09:46:32Z" msg="Synced labels" time="2026-09-17T09:46:32Z" msg="200 OK: GET https://127.0.0.1:44953/mail/v4/messages/count" /client userID=8343b01c-1478-4d86-a706-698c28e4552c time="2026-09-17T09:46:32Z" msg="Syncing messages" time="2026-09-17T09:46:32Z" msg="Job started" time="2026-09-17T09:46:32Z" msg="200 OK: POST https://127.0.0.1:44953/mail/v4/messages" /client userID=8343b01c-1478-4d86-a706-698c28e4552c time="2026-09-17T09:46:32Z" msg="Job finished" time="2026-09-17T09:46:32Z" msg="All child jobs completed" sync- time="2026-09-17T09:46:32Z" msg="Synced messages" time="2026-09-17T09:46:32Z" msg="Finished user sync" .164604ms time="2026-09-17T09:46:32Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:46:32Z" msg="Event loop reset" eventID="AA==" And user "03e04675-72d6-4757-a8e8-4dfeb4d4a28e" finishes syncing # :1 -> *scenario And user "03e04675-72d6-4757-a8e8-4dfeb4d4a28e" connects and authenticates IMAP client "1" # :1 -> *scenario Then it succeeds # :1 -> *scenario Scenario: Hide All Mail Mailbox # features/imap/mailbox/hide_all_mail.feature:11 Given IMAP client "1" eventually sees the following mailbox info: # :1 -> *scenario | name | | INBOX | | Drafts | | Sent | | Starred | | Archive | | Spam | | Trash | | All Mail | | Folders | | Labels | time="2026-09-17T09:46:32Z" msg="Setting show all mail" userID=8343b01c-1478-4d86-a706-698c28e4552c When the user hides All Mail # :1 -> *scenario time="2026-09-17T09:46:32Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 0} {true true false false false false true true true true false 0.0.0 starttls starttls unknown}}" Then IMAP client "1" eventually sees the following mailbox info: # :1 -> *scenario | name | | INBOX | | Drafts | | Sent | | Starred | | Archive | | Spam | | Trash | | Folders | | Labels | time="2026-09-17T09:46:32Z" msg="Setting show all mail" userID=8343b01c-1478-4d86-a706-698c28e4552c When the user shows All Mail # :1 -> *scenario time="2026-09-17T09:46:33Z" msg="Frontend service stopped" time="2026-09-17T09:46:33Z" msg="Frontend client stopped" time="2026-09-17T09:46:33Z" msg="Closing bridge" time="2026-09-17T09:46:33Z" msg="Stopping service" time="2026-09-17T09:46:33Z" msg="Closing user" userID=8343b01c-1478-4d86-a706-698c28e4552c time="2026-09-17T09:46:33Z" msg="De-registering user client, ID:8343b01c-1478-4d86-a706-698c28e4552c" time="2026-09-17T09:46:33Z" msg="Exiting IMAP Service" time="2026-09-17T09:46:33Z" msg="Exiting service main loop" time="2026-09-17T09:46:33Z" msg="Exiting service main loop" time="2026-09-17T09:46:33Z" msg="Exiting Service" time="2026-09-17T09:46:33Z" msg="Exiting service main loop" time="2026-09-17T09:46:33Z" msg="Exiting service" time="2026-09-17T09:46:33Z" msg="Closing IMAP Listener" time="2026-09-17T09:46:33Z" msg="Closing IMAP server" time="2026-09-17T09:46:33Z" msg="Closing SMTP Listener" time="2026-09-17T09:46:33Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:46:33Z" msg="Closing SMTP server" time="2026-09-17T09:46:33Z" msg="Closing service" Then IMAP client "1" eventually sees the following mailbox info: # :1 -> *scenario | name | | INBOX | | Drafts | | Sent | | Starred | | Archive | | Spam | | Trash | | All Mail | | Folders | | Labels | Feature: IMAP get mailbox info time="2026-09-17T09:46:33Z" msg="User '815410c5-eb24-4ce6-8364-7f0d017c12f2' created with " /server/backend Background: Given there exists an account with username "815410c5-eb24-4ce6-8364-7f0d017c12f2" and password "password" # :1 -> *scenario And the account "815410c5-eb24-4ce6-8364-7f0d017c12f2" has the following custom mailboxes: # :1 -> *scenario | name | type | | one | folder | And the address "815410c5-eb24-4ce6-8364-7f0d017c12f2@proton.local" of account "815410c5-eb24-4ce6-8364-7f0d017c12f2" has the following messages in "Folders/one": # :1 -> *scenario | from | to | subject | unread | | a@example.com | a@example.com | one | true | | b@example.com | b@example.com | two | false | Then it succeeds # :1 -> *scenario time="2026-09-17T09:46:34Z" msg="Starting bridge" time="2026-09-17T09:46:34Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/046/config2706047246/grpcFocusServerConfig.json /service time="2026-09-17T09:46:34Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/046/cache2159057764/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:46:34Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/046/cache2159057764/notifications/notification_cache: no such file or directory" time="2026-09-17T09:46:34Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/046/data3395554634/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/046/data3395554634/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:46:34Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:46:34Z" msg="Starting IMAP server" time="2026-09-17T09:46:34Z" msg="Starting SMTP server" time="2026-09-17T09:46:34Z" msg="Starting service" time="2026-09-17T09:46:34Z" msg="Starting service" time="2026-09-17T09:46:34Z" msg="Starting frontend service" time="2026-09-17T09:46:34Z" msg="Checking for updates" time="2026-09-17T09:46:34Z" msg="Loading users" /user time="2026-09-17T09:46:34Z" msg="Finished loading users" /user time="2026-09-17T09:46:34Z" msg="Starting poll service" time="2026-09-17T09:46:34Z" msg="Starting receiver service" time="2026-09-17T09:46:34Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/046/config2706047246/grpcServerConfig.json time="2026-09-17T09:46:34Z" msg="gRPC server listening on /tmp/bridge4166" time="2026-09-17T09:46:34Z" msg="Frontend service started" time="2026-09-17T09:46:34Z" msg="Starting frontend client" time="2026-09-17T09:46:34Z" msg="Not monitoring parent PID" time="2026-09-17T09:46:34Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:46:34Z" msg="200 OK: GET https://127.0.0.1:39413/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:46:34Z" msg="Frontend client started" When bridge starts # :1 -> *scenario time="2026-09-17T09:46:34Z" msg="Performing full user login" /user username="******** (d8146fdc)" time="2026-09-17T09:46:34Z" msg="Authorizing user for login" /user username="******** (d8146fdc)" time="2026-09-17T09:46:34Z" msg="200 OK: POST https://127.0.0.1:39413/auth/v4/info" /manager time="2026-09-17T09:46:35Z" msg="200 OK: POST https://127.0.0.1:39413/auth/v4" /manager time="2026-09-17T09:46:35Z" msg="Logging in authorized user" /user userID=4343f335-82f4-41eb-862e-9b9c0a6ba7a7 time="2026-09-17T09:46:35Z" msg="Adding vault user" userID=4343f335-82f4-41eb-862e-9b9c0a6ba7a7 time="2026-09-17T09:46:35Z" msg="Creating new user" userID=4343f335-82f4-41eb-862e-9b9c0a6ba7a7 time="2026-09-17T09:46:35Z" msg="404 GET https://127.0.0.1:39413/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:46:35Z" msg="404 GET https://127.0.0.1:39413/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:46:35Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:39413/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:46:35Z" msg="Creating user object" authUID=5d914e70-4c65-414f-92fc-fe963bc34469 numA numL userID=4343f335-82f4-41eb-862e-9b9c0a6ba7a7 time="2026-09-17T09:46:35Z" msg="200 OK: GET https://127.0.0.1:39413/core/v4/events/latest" /client userID=4343f335-82f4-41eb-862e-9b9c0a6ba7a7 time="2026-09-17T09:46:35Z" msg="Starting service Last EventID=Aw==" time="2026-09-17T09:46:35Z" msg="200 OK: GET https://127.0.0.1:39413/core/v4/settings" /client userID=4343f335-82f4-41eb-862e-9b9c0a6ba7a7 time="2026-09-17T09:46:35Z" msg="Registering user client, ID:4343f335-82f4-41eb-862e-9b9c0a6ba7a7" time="2026-09-17T09:46:35Z" msg="Starting service main loop" time="2026-09-17T09:46:35Z" msg="Starting user identity service" numA time="2026-09-17T09:46:35Z" msg="Starting service main loop" time="2026-09-17T09:46:35Z" msg="Starting service main loop" time="2026-09-17T09:46:35Z" msg="200 OK: GET https://127.0.0.1:39413/core/v4/labels?T" /client userID=4343f335-82f4-41eb-862e-9b9c0a6ba7a7 time="2026-09-17T09:46:35Z" msg="200 OK: GET https://127.0.0.1:39413/core/v4/labels?T" /client userID=4343f335-82f4-41eb-862e-9b9c0a6ba7a7 time="2026-09-17T09:46:35Z" msg="200 OK: GET https://127.0.0.1:39413/core/v4/labels?T" /client userID=4343f335-82f4-41eb-862e-9b9c0a6ba7a7 time="2026-09-17T09:46:35Z" msg="Setting labels" labelIDs="[1 2 3 4 5 9 10 12 0 6 7 8 85cd939a-e55d-4f00-879c-ca4186667258]" time="2026-09-17T09:46:35Z" msg="Adding user to imap server" addrID=9c69282d-d2ce-47af-b6b8-ec65849027b8 time="2026-09-17T09:46:35Z" msg="Creating new IMAP user" addrID=9c69282d-d2ce-47af-b6b8-ec65849027b8 time="2026-09-17T09:46:35Z" msg="Setting gluon ID" addrID=9c69282d-d2ce-47af-b6b8-ec65849027b8 gluonID=e659b144-e754-479f-97ca-ca75813b1204 userID=4343f335-82f4-41eb-862e-9b9c0a6ba7a7 time="2026-09-17T09:46:35Z" msg="Received mailbox message count" gluonID=e659b144-e754-479f-97ca-ca75813b1204 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:46:35Z" msg="Created new IMAP user" addrID=9c69282d-d2ce-47af-b6b8-ec65849027b8 gluonID=e659b144-e754-479f-97ca-ca75813b1204 time="2026-09-17T09:46:35Z" msg="Validating Listener State" time="2026-09-17T09:46:35Z" time="2026-09-17T09:46:35Z" msg="Starting IMAP Service" time="2026-09-17T09:46:35Z" msg="Checking whether logged in user should re-sync. UserID:4343f335-82f4-41eb-862e-9b9c0a6ba7a7" userID=4343f335-82f4-41eb-862e-9b9c0a6ba7a7 time="2026-09-17T09:46:35Z" msg="Sync triggered" time="2026-09-17T09:46:35Z" msg="Beginning user sync" start="2026-09-17 09:46:35.295610903 +0000 UTC m=+83.787913199" And the user logs in with username "815410c5-eb24-4ce6-8364-7f0d017c12f2" and password "password" # :1 -> *scenario time="2026-09-17T09:46:35Z" msg="Syncing labels" time="2026-09-17T09:46:35Z" msg="Label not found in DB, creating mailbox." labelID=85cd939a-e55d-4f00-879c-ca4186667258 labelPath="RPijXXq+/66TBq1ekOxGR3YfSJRztJQJY+kK3/gH+Uo=" numberOfC /labelConflictResolver time="2026-09-17T09:46:35Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=e659b144-e754-479f-97ca-ca75813b1204 time="2026-09-17T09:46:35Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=e659b144-e754-479f-97ca-ca75813b1204 time="2026-09-17T09:46:35Z" msg="Mailbox created" /user remoteMailboxID=3 userID=e659b144-e754-479f-97ca-ca75813b1204 time="2026-09-17T09:46:35Z" msg="Mailbox created" /user remoteMailboxID=4 userID=e659b144-e754-479f-97ca-ca75813b1204 time="2026-09-17T09:46:35Z" msg="Mailbox created" /user remoteMailboxID=5 userID=e659b144-e754-479f-97ca-ca75813b1204 time="2026-09-17T09:46:35Z" msg="Mailbox created" /user remoteMailboxID=12 userID=e659b144-e754-479f-97ca-ca75813b1204 time="2026-09-17T09:46:35Z" msg="Mailbox created" /user remoteMailboxID=0 userID=e659b144-e754-479f-97ca-ca75813b1204 time="2026-09-17T09:46:35Z" msg="Mailbox created" /user remoteMailboxID=7 userID=e659b144-e754-479f-97ca-ca75813b1204 time="2026-09-17T09:46:35Z" msg="Mailbox created" /user remoteMailboxID=8 userID=e659b144-e754-479f-97ca-ca75813b1204 time="2026-09-17T09:46:35Z" msg="Mailbox created" /user remoteMailboxID=85cd939a-e55d-4f00-879c-ca4186667258 userID=e659b144-e754-479f-97ca-ca75813b1204 time="2026-09-17T09:46:35Z" msg="Mailbox created" /user remoteMailboxID=10 userID=e659b144-e754-479f-97ca-ca75813b1204 time="2026-09-17T09:46:35Z" msg="Mailbox created" /user remoteMailboxID=6 userID=e659b144-e754-479f-97ca-ca75813b1204 time="2026-09-17T09:46:35Z" msg="Synced labels" time="2026-09-17T09:46:35Z" msg="200 OK: GET https://127.0.0.1:39413/mail/v4/messages/count" /client userID=4343f335-82f4-41eb-862e-9b9c0a6ba7a7 time="2026-09-17T09:46:35Z" msg="Syncing messages" time="2026-09-17T09:46:35Z" msg="Job started" time="2026-09-17T09:46:35Z" msg="200 OK: POST https://127.0.0.1:39413/mail/v4/messages" /client userID=4343f335-82f4-41eb-862e-9b9c0a6ba7a7 time="2026-09-17T09:46:35Z" msg="200 OK: POST https://127.0.0.1:39413/mail/v4/messages" /client userID=4343f335-82f4-41eb-862e-9b9c0a6ba7a7 time="2026-09-17T09:46:35Z" msg="Creating new child job" time="2026-09-17T09:46:35Z" msg="Job finished" time="2026-09-17T09:46:35Z" msg="200 OK: GET https://127.0.0.1:39413/mail/v4/messages/9da37a8d-d55a-48f0-a720-0a9498014f72" /client userID=4343f335-82f4-41eb-862e-9b9c0a6ba7a7 time="2026-09-17T09:46:35Z" msg="200 OK: GET https://127.0.0.1:39413/mail/v4/messages/53e8a75a-0402-4fb7-b77d-878d55e8cf97" /client userID=4343f335-82f4-41eb-862e-9b9c0a6ba7a7 time="2026-09-17T09:46:35Z" msg="Sending observability data." time="2026-09-17T09:46:35Z" msg="200 OK: POST https://127.0.0.1:39413/data/v1/metrics" /client userID=4343f335-82f4-41eb-862e-9b9c0a6ba7a7 time="2026-09-17T09:46:35Z" msg="Successfully sent observability data." time="2026-09-17T09:46:35Z" msg="Scheduling observability data sending" time="2026-09-17T09:46:35Z" msg="Child job finished" time="2026-09-17T09:46:35Z" msg="All child jobs completed" sync- time="2026-09-17T09:46:35Z" msg="Synced messages" time="2026-09-17T09:46:35Z" msg="Finished user sync" .3054ms time="2026-09-17T09:46:35Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:46:35Z" msg="Event loop reset" eventID="Aw==" And user "815410c5-eb24-4ce6-8364-7f0d017c12f2" finishes syncing # :1 -> *scenario Then it succeeds # :1 -> *scenario Scenario: Mailbox status reports correct name, total and unread # features/imap/mailbox/info.feature:17 When user "815410c5-eb24-4ce6-8364-7f0d017c12f2" connects and authenticates IMAP client "1" # :1 -> *scenario time="2026-09-17T09:46:35Z" msg="Frontend service stopped" time="2026-09-17T09:46:35Z" msg="Frontend client stopped" time="2026-09-17T09:46:35Z" msg="Closing bridge" time="2026-09-17T09:46:35Z" msg="Stopping service" time="2026-09-17T09:46:35Z" msg="Closing user" userID=4343f335-82f4-41eb-862e-9b9c0a6ba7a7 time="2026-09-17T09:46:35Z" msg="De-registering user client, ID:4343f335-82f4-41eb-862e-9b9c0a6ba7a7" time="2026-09-17T09:46:35Z" msg="Exiting IMAP Service" time="2026-09-17T09:46:35Z" msg="Exiting service main loop" time="2026-09-17T09:46:35Z" msg="Exiting service main loop" time="2026-09-17T09:46:35Z" msg="Exiting Service" time="2026-09-17T09:46:35Z" msg="Exiting service main loop" time="2026-09-17T09:46:35Z" msg="Exiting service" time="2026-09-17T09:46:35Z" msg="Closing IMAP Listener" time="2026-09-17T09:46:35Z" msg="Closing IMAP server" time="2026-09-17T09:46:35Z" msg="Closing SMTP Listener" time="2026-09-17T09:46:35Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:46:35Z" msg="Closing SMTP server" time="2026-09-17T09:46:35Z" msg="Closing service" Then IMAP client "1" sees the following mailbox info for "Folders/one": # :1 -> *scenario | name | total | unread | | Folders/one | 2 | 1 | Feature: IMAP list mailboxes time="2026-09-17T09:46:35Z" msg="User 'fd012bed-beb4-4534-b732-0a6571a62897' created with " /server/backend Scenario: List mailboxes # features/imap/mailbox/list.feature:2 Given there exists an account with username "fd012bed-beb4-4534-b732-0a6571a62897" and password "password" # :1 -> *scenario And the account "fd012bed-beb4-4534-b732-0a6571a62897" has the following custom mailboxes: # :1 -> *scenario | name | type | | mbox1 | folder | | mbox2 | label | Then it succeeds # :1 -> *scenario time="2026-09-17T09:46:36Z" msg="Starting bridge" time="2026-09-17T09:46:36Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/047/config207290080/grpcFocusServerConfig.json /service time="2026-09-17T09:46:36Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/047/cache3183863938/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:46:36Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/047/cache3183863938/notifications/notification_cache: no such file or directory" time="2026-09-17T09:46:36Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/047/data2613353754/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/047/data2613353754/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:46:36Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:46:36Z" msg="Starting IMAP server" time="2026-09-17T09:46:36Z" msg="Starting SMTP server" time="2026-09-17T09:46:36Z" msg="Starting service" time="2026-09-17T09:46:36Z" msg="Starting service" time="2026-09-17T09:46:36Z" msg="Starting receiver service" time="2026-09-17T09:46:36Z" msg="Checking for updates" time="2026-09-17T09:46:36Z" msg="Loading users" /user time="2026-09-17T09:46:36Z" msg="Starting frontend service" time="2026-09-17T09:46:36Z" msg="Starting poll service" time="2026-09-17T09:46:36Z" msg="Finished loading users" /user time="2026-09-17T09:46:36Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/047/config207290080/grpcServerConfig.json time="2026-09-17T09:46:36Z" msg="gRPC server listening on /tmp/bridge0375" time="2026-09-17T09:46:36Z" msg="Frontend service started" time="2026-09-17T09:46:36Z" msg="Starting frontend client" time="2026-09-17T09:46:36Z" msg="Not monitoring parent PID" time="2026-09-17T09:46:36Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:46:36Z" msg="200 OK: GET https://127.0.0.1:35315/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:46:36Z" msg="Frontend client started" When bridge starts # :1 -> *scenario time="2026-09-17T09:46:36Z" msg="Performing full user login" /user username="******** (cbfeb41d)" time="2026-09-17T09:46:36Z" msg="Authorizing user for login" /user username="******** (cbfeb41d)" time="2026-09-17T09:46:36Z" msg="200 OK: POST https://127.0.0.1:35315/auth/v4/info" /manager time="2026-09-17T09:46:36Z" msg="200 OK: POST https://127.0.0.1:35315/auth/v4" /manager time="2026-09-17T09:46:36Z" msg="Logging in authorized user" /user userID=a21a950b-a16c-4afc-a0ea-ba64246ee962 time="2026-09-17T09:46:36Z" msg="Adding vault user" userID=a21a950b-a16c-4afc-a0ea-ba64246ee962 time="2026-09-17T09:46:36Z" msg="Creating new user" userID=a21a950b-a16c-4afc-a0ea-ba64246ee962 time="2026-09-17T09:46:36Z" msg="404 GET https://127.0.0.1:35315/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:46:36Z" msg="404 GET https://127.0.0.1:35315/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:46:36Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:35315/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:46:36Z" msg="Creating user object" authUID=1d73c4b6-6d42-45d7-bee2-9d01180cfbed numA numL userID=a21a950b-a16c-4afc-a0ea-ba64246ee962 time="2026-09-17T09:46:36Z" msg="200 OK: GET https://127.0.0.1:35315/core/v4/events/latest" /client userID=a21a950b-a16c-4afc-a0ea-ba64246ee962 time="2026-09-17T09:46:36Z" msg="Starting service Last EventID=Ag==" time="2026-09-17T09:46:36Z" msg="200 OK: GET https://127.0.0.1:35315/core/v4/settings" /client userID=a21a950b-a16c-4afc-a0ea-ba64246ee962 time="2026-09-17T09:46:36Z" msg="Registering user client, ID:a21a950b-a16c-4afc-a0ea-ba64246ee962" time="2026-09-17T09:46:36Z" msg="Starting user identity service" numA time="2026-09-17T09:46:36Z" msg="Starting service main loop" time="2026-09-17T09:46:36Z" msg="Starting service main loop" time="2026-09-17T09:46:36Z" msg="Starting service main loop" time="2026-09-17T09:46:36Z" msg="200 OK: GET https://127.0.0.1:35315/core/v4/labels?T" /client userID=a21a950b-a16c-4afc-a0ea-ba64246ee962 time="2026-09-17T09:46:36Z" msg="200 OK: GET https://127.0.0.1:35315/core/v4/labels?T" /client userID=a21a950b-a16c-4afc-a0ea-ba64246ee962 time="2026-09-17T09:46:36Z" msg="200 OK: GET https://127.0.0.1:35315/core/v4/labels?T" /client userID=a21a950b-a16c-4afc-a0ea-ba64246ee962 time="2026-09-17T09:46:36Z" msg="Setting labels" labelIDs="[0 1 2 3 4 5 6 9 7 8 10 12 4d7278c6-374d-4945-84f3-bd5cfe1c62a1 19b0fb7e-7c25-42f5-9ead-2e93a2857c4a]" time="2026-09-17T09:46:36Z" msg="Adding user to imap server" addrID=8e432a2e-ab34-468a-9f24-7f2413f26c0e time="2026-09-17T09:46:36Z" msg="Creating new IMAP user" addrID=8e432a2e-ab34-468a-9f24-7f2413f26c0e time="2026-09-17T09:46:36Z" msg="Setting gluon ID" addrID=8e432a2e-ab34-468a-9f24-7f2413f26c0e gluonID=24298d7f-6b3a-4974-ac57-e4b907b67a83 userID=a21a950b-a16c-4afc-a0ea-ba64246ee962 time="2026-09-17T09:46:36Z" msg="Received mailbox message count" gluonID=24298d7f-6b3a-4974-ac57-e4b907b67a83 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:46:36Z" msg="Created new IMAP user" addrID=8e432a2e-ab34-468a-9f24-7f2413f26c0e gluonID=24298d7f-6b3a-4974-ac57-e4b907b67a83 time="2026-09-17T09:46:36Z" msg="Validating Listener State" time="2026-09-17T09:46:36Z" time="2026-09-17T09:46:36Z" msg="Starting IMAP Service" time="2026-09-17T09:46:36Z" msg="Checking whether logged in user should re-sync. UserID:a21a950b-a16c-4afc-a0ea-ba64246ee962" userID=a21a950b-a16c-4afc-a0ea-ba64246ee962 And the user logs in with username "fd012bed-beb4-4534-b732-0a6571a62897" and password "password" # :1 -> *scenario time="2026-09-17T09:46:36Z" msg="Sync triggered" time="2026-09-17T09:46:36Z" msg="Beginning user sync" start="2026-09-17 09:46:36.76614633 +0000 UTC m=+85.258448666" time="2026-09-17T09:46:36Z" msg="Syncing labels" time="2026-09-17T09:46:36Z" msg="Label not found in DB, creating mailbox." labelID=4d7278c6-374d-4945-84f3-bd5cfe1c62a1 labelPath="/EgF8u4j3xBiW9SLsYamMgWqUKjBM9gUANfEZneklLQ=" numberOfC /labelConflictResolver time="2026-09-17T09:46:36Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=24298d7f-6b3a-4974-ac57-e4b907b67a83 time="2026-09-17T09:46:36Z" msg="Label not found in DB, creating mailbox." labelID=19b0fb7e-7c25-42f5-9ead-2e93a2857c4a labelPath="2OBID73ypiA8jkIF4GDMdOQ9nMWjJPjbMv/W5/6Zz/M=" numberOfC /labelConflictResolver time="2026-09-17T09:46:36Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=24298d7f-6b3a-4974-ac57-e4b907b67a83 time="2026-09-17T09:46:36Z" msg="Mailbox created" /user remoteMailboxID=4 userID=24298d7f-6b3a-4974-ac57-e4b907b67a83 time="2026-09-17T09:46:36Z" msg="Mailbox created" /user remoteMailboxID=10 userID=24298d7f-6b3a-4974-ac57-e4b907b67a83 time="2026-09-17T09:46:36Z" msg="Mailbox created" /user remoteMailboxID=12 userID=24298d7f-6b3a-4974-ac57-e4b907b67a83 time="2026-09-17T09:46:36Z" msg="Mailbox created" /user remoteMailboxID=4d7278c6-374d-4945-84f3-bd5cfe1c62a1 userID=24298d7f-6b3a-4974-ac57-e4b907b67a83 time="2026-09-17T09:46:36Z" msg="Mailbox created" /user remoteMailboxID=3 userID=24298d7f-6b3a-4974-ac57-e4b907b67a83 time="2026-09-17T09:46:36Z" msg="Mailbox created" /user remoteMailboxID=5 userID=24298d7f-6b3a-4974-ac57-e4b907b67a83 time="2026-09-17T09:46:36Z" msg="Mailbox created" /user remoteMailboxID=6 userID=24298d7f-6b3a-4974-ac57-e4b907b67a83 time="2026-09-17T09:46:36Z" msg="Mailbox created" /user remoteMailboxID=7 userID=24298d7f-6b3a-4974-ac57-e4b907b67a83 time="2026-09-17T09:46:36Z" msg="Mailbox created" /user remoteMailboxID=8 userID=24298d7f-6b3a-4974-ac57-e4b907b67a83 time="2026-09-17T09:46:36Z" msg="Mailbox created" /user remoteMailboxID=19b0fb7e-7c25-42f5-9ead-2e93a2857c4a userID=24298d7f-6b3a-4974-ac57-e4b907b67a83 time="2026-09-17T09:46:36Z" msg="Mailbox created" /user remoteMailboxID=0 userID=24298d7f-6b3a-4974-ac57-e4b907b67a83 time="2026-09-17T09:46:36Z" msg="Synced labels" time="2026-09-17T09:46:36Z" msg="200 OK: GET https://127.0.0.1:35315/mail/v4/messages/count" /client userID=a21a950b-a16c-4afc-a0ea-ba64246ee962 time="2026-09-17T09:46:36Z" msg="Syncing messages" time="2026-09-17T09:46:36Z" msg="Job started" time="2026-09-17T09:46:36Z" msg="200 OK: POST https://127.0.0.1:35315/mail/v4/messages" /client userID=a21a950b-a16c-4afc-a0ea-ba64246ee962 time="2026-09-17T09:46:36Z" msg="Job finished" time="2026-09-17T09:46:36Z" msg="All child jobs completed" sync- time="2026-09-17T09:46:36Z" msg="Synced messages" time="2026-09-17T09:46:36Z" msg="Finished user sync" .064444ms time="2026-09-17T09:46:36Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:46:36Z" msg="Event loop reset" eventID="Ag==" And user "fd012bed-beb4-4534-b732-0a6571a62897" finishes syncing # :1 -> *scenario And user "fd012bed-beb4-4534-b732-0a6571a62897" connects and authenticates IMAP client "1" # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:46:36Z" msg="Frontend service stopped" time="2026-09-17T09:46:36Z" msg="Frontend client stopped" time="2026-09-17T09:46:36Z" msg="Closing bridge" time="2026-09-17T09:46:36Z" msg="Stopping service" time="2026-09-17T09:46:36Z" msg="Closing user" userID=a21a950b-a16c-4afc-a0ea-ba64246ee962 time="2026-09-17T09:46:36Z" msg="De-registering user client, ID:a21a950b-a16c-4afc-a0ea-ba64246ee962" time="2026-09-17T09:46:36Z" msg="Exiting IMAP Service" time="2026-09-17T09:46:36Z" msg="Exiting service main loop" time="2026-09-17T09:46:36Z" msg="Exiting service main loop" time="2026-09-17T09:46:36Z" msg="Exiting Service" time="2026-09-17T09:46:36Z" msg="Exiting service main loop" time="2026-09-17T09:46:36Z" msg="Exiting service" time="2026-09-17T09:46:36Z" msg="Closing IMAP Listener" time="2026-09-17T09:46:36Z" msg="Closing IMAP server" time="2026-09-17T09:46:36Z" msg="Closing SMTP Listener" time="2026-09-17T09:46:36Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:46:36Z" msg="Closing SMTP server" time="2026-09-17T09:46:36Z" msg="Closing service" And IMAP client "1" eventually sees the following mailbox info: # :1 -> *scenario | name | | INBOX | | Drafts | | Sent | | Starred | | Archive | | Spam | | Trash | | All Mail | | Folders | | Folders/mbox1 | | Labels | | Labels/mbox2 | time="2026-09-17T09:46:37Z" msg="User '9677f0a6-5220-40f8-afaa-e04e9cc18c44' created with " /server/backend Scenario: List multiple times in parallel without crash # features/imap/mailbox/list.feature:29 Given there exists an account with username "9677f0a6-5220-40f8-afaa-e04e9cc18c44" and password "password" # :1 -> *scenario And the account "9677f0a6-5220-40f8-afaa-e04e9cc18c44" has 20 custom folders # :1 -> *scenario And the account "9677f0a6-5220-40f8-afaa-e04e9cc18c44" has 60 custom labels # :1 -> *scenario time="2026-09-17T09:46:38Z" msg="Starting bridge" time="2026-09-17T09:46:38Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/048/config1493061585/grpcFocusServerConfig.json /service time="2026-09-17T09:46:38Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/048/cache3678920161/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:46:38Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/048/cache3678920161/notifications/notification_cache: no such file or directory" time="2026-09-17T09:46:38Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/048/data2547346693/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/048/data2547346693/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:46:38Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:46:38Z" msg="Starting IMAP server" time="2026-09-17T09:46:38Z" msg="Starting SMTP server" time="2026-09-17T09:46:38Z" msg="Starting service" time="2026-09-17T09:46:38Z" msg="Starting service" time="2026-09-17T09:46:38Z" msg="Starting receiver service" time="2026-09-17T09:46:38Z" msg="Starting frontend service" time="2026-09-17T09:46:38Z" msg="Starting poll service" time="2026-09-17T09:46:38Z" msg="Loading users" /user time="2026-09-17T09:46:38Z" msg="Finished loading users" /user time="2026-09-17T09:46:38Z" msg="Checking for updates" time="2026-09-17T09:46:38Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/048/config1493061585/grpcServerConfig.json time="2026-09-17T09:46:38Z" msg="gRPC server listening on /tmp/bridge7227" time="2026-09-17T09:46:38Z" msg="Frontend service started" time="2026-09-17T09:46:38Z" msg="Starting frontend client" time="2026-09-17T09:46:38Z" msg="Not monitoring parent PID" time="2026-09-17T09:46:38Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:46:38Z" msg="200 OK: GET https://127.0.0.1:34525/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:46:38Z" msg="Frontend client started" When bridge starts # :1 -> *scenario time="2026-09-17T09:46:38Z" msg="Performing full user login" /user username="******** (4e6b8dea)" time="2026-09-17T09:46:38Z" msg="Authorizing user for login" /user username="******** (4e6b8dea)" time="2026-09-17T09:46:38Z" msg="200 OK: POST https://127.0.0.1:34525/auth/v4/info" /manager time="2026-09-17T09:46:38Z" msg="200 OK: POST https://127.0.0.1:34525/auth/v4" /manager time="2026-09-17T09:46:38Z" msg="Logging in authorized user" /user userID=516725f9-3eb8-4535-b2a8-3704ae82fd4d time="2026-09-17T09:46:38Z" msg="Adding vault user" userID=516725f9-3eb8-4535-b2a8-3704ae82fd4d time="2026-09-17T09:46:38Z" msg="Creating new user" userID=516725f9-3eb8-4535-b2a8-3704ae82fd4d time="2026-09-17T09:46:38Z" msg="404 GET https://127.0.0.1:34525/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:46:38Z" msg="404 GET https://127.0.0.1:34525/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:46:38Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:34525/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:46:38Z" msg="Creating user object" authUID=9d43ea35-a562-4656-a751-cbca619d5e50 numA numL userID=516725f9-3eb8-4535-b2a8-3704ae82fd4d time="2026-09-17T09:46:38Z" msg="200 OK: GET https://127.0.0.1:34525/core/v4/events/latest" /client userID=516725f9-3eb8-4535-b2a8-3704ae82fd4d time="2026-09-17T09:46:38Z" msg="Starting service Last EventID=UA==" time="2026-09-17T09:46:38Z" msg="200 OK: GET https://127.0.0.1:34525/core/v4/settings" /client userID=516725f9-3eb8-4535-b2a8-3704ae82fd4d time="2026-09-17T09:46:38Z" msg="Registering user client, ID:516725f9-3eb8-4535-b2a8-3704ae82fd4d" time="2026-09-17T09:46:38Z" msg="Starting service main loop" time="2026-09-17T09:46:38Z" msg="Starting user identity service" numA time="2026-09-17T09:46:38Z" msg="Starting service main loop" time="2026-09-17T09:46:38Z" msg="Starting service main loop" time="2026-09-17T09:46:38Z" msg="200 OK: GET https://127.0.0.1:34525/core/v4/labels?T" /client userID=516725f9-3eb8-4535-b2a8-3704ae82fd4d time="2026-09-17T09:46:38Z" msg="200 OK: GET https://127.0.0.1:34525/core/v4/labels?T" /client userID=516725f9-3eb8-4535-b2a8-3704ae82fd4d time="2026-09-17T09:46:38Z" msg="200 OK: GET https://127.0.0.1:34525/core/v4/labels?T" /client userID=516725f9-3eb8-4535-b2a8-3704ae82fd4d time="2026-09-17T09:46:38Z" msg="Setting labels" labelIDs="[1 2 3 4 7 8 12 5 6 9 10 0 b63ece03-2610-4b37-9abb-ee1137c0f072 28f91c2b-d110-4789-ae13-416cfff37081 8cdef263-5640-464e-a34d-7ca3a50b160c 3d990a80-9d75-4004-9533-7f10c3712499 d54c9ebd-a9af-4823-9763-eb4cfd734264 a786cb70-eda9-4bb9-9122-5d0258047965 98dbb331-5b2b-4eaa-ab29-e14fd2f8ef05 f19521ed-e948-46d3-be1f-9392ed8ae32b eaaeb2ac-ac03-41dc-8b12-844fef0e8644 4bf86f83-2dc7-417a-8236-331235d83dd0 d3a02e5c-904c-42a8-a54f-582d80156860 a4fd7322-23f3-4160-94cd-c36ef568ddda a0875ad8-213f-4f4d-887e-b23b1499d287 2292c861-c2bc-4526-b87a-3f1a973f3799 01ff4882-55da-4912-bc9e-faf97fc372da 45079087-ceff-4277-b39c-8a59c608ae87 03e0edb8-6c11-40e1-8c6c-65836577547d a9d07164-b8fc-4c8e-891e-1b5e774bf7db aa41881d-feef-4632-a72a-e981721c8d9f 93f8241d-faed-4b46-b90b-0a1f93a9cb3a fe6e5a3b-e5b8-4981-8080-efc1852d4f89 5a076543-19e1-42d1-a975-567974b2aa23 d7020070-f3ad-4766-83fd-18a260405623 cb9f0887-71c2-4d62-9e1a-8cd0fafe7b6f c5885741-8d0d-4714-9226-5be0b1e51add 59e22c2a-01e9-4dae-9b13-485e3038a5ca 09f8e9b4-0664-43b8-bebe-8006b7a88a77 6e75c1e8-148c-44aa-b49b-de8907405ec3 e7ec0f14-50a7-4388-9e7d-a85968d97ca9 470c3472-762a-4ff0-bf14-16248d38d671 e2464f04-1481-46f7-a694-479230eef568 b1ae446b-f3d5-44a1-932c-cbd3cef102a0 7eb4bd67-bd38-41fe-a4be-93bc4ee8349c 427f95b6-7c88-49b8-9a89-120354d36868 6c013499-ac4d-4754-9476-c044f77fbd31 ccd8aa27-cbc0-4479-b44d-5228ee9912c0 e1a9b242-ea9f-4e78-a0a9-0263bdbbdfbc c65636c7-a426-44ff-92f0-93ddc1c7665b 9b1458a9-1205-4bad-b665-fbb09f0e42d8 e300abf1-c1e2-423c-b805-ba800e507ed0 0f33010c-89f9-41ae-9ec5-b4122e21de84 fcec8269-526a-4260-ba1d-850f767ccc37 02b45c0a-ccb2-4399-9e62-5b12f265fb10 6ba3c185-e3ab-4801-a2d7-1f73f63e50fb f5b9c716-5318-408f-8a6e-1b7f9fa8bd7f 38ab29fd-6f75-4be5-a6e1-f0e43d4fc5ae 4a459220-ebba-4d19-a823-3280aa36bd0c d84917f6-6ef6-42de-b2bf-faaa7f1d78d7 2d4dfb3b-d7a7-4665-8e46-255a5a22f196 52debf6a-c8f6-4eb9-a0dc-a283beadc11a f49f597a-de9d-4bff-96e1-c0f10830486c 1203e856-86a8-4cf1-8ba9-059c9c8f29c1 9026bf41-1245-4568-b18d-dede637e723a 36541bdb-5a58-40c0-b6a2-5ce0a3d46d9d f0d13e99-fec9-453b-aab2-da5a2e46270a b4611e0a-4eff-4a54-99be-36c0f57d18b2 77591db3-f0ac-4f7d-a93a-5a38d4e5fe4a afd4e6cb-5451-4cd6-a662-9a19ede91faa 4f65aab6-88ce-4310-babf-4c99f4090e73 86392107-a7f4-4fee-871d-7fdbe6b90327 73a0c85a-20f5-4649-88e3-6a68ae3f169c 5f21a8ec-a754-4542-a31a-093f272653c3 7d141f95-93ee-46a0-8756-c3257ea72329 a81e4920-50bd-46e5-a7b5-7a237cc8b3ff 05025ab7-fc1e-4b89-b3b6-cc1070e05d26 1d0f7b91-d359-464b-a4cc-4141d0b936d2 8e7a5929-6e0b-40e8-a14c-ba033a972aee fc56f24f-ba06-4ce0-affe-ad9b77bcf01a 83a9f00d-21db-47ac-a3aa-88372b965c28 b4574c75-692d-4f97-be90-c986bf5ecb80 23e083e0-f38d-4bda-a17d-61cf8720750d 5c06fd94-e4fc-4cd6-957e-6ac1dec51345 cc2e2369-cf81-48e3-b7c1-531b6bafcd0d 1334feb8-26c2-46a6-85ab-bab7dae46fa5 2946e973-b086-4bf3-9a38-203ff20d7425 1d3ac0d9-b557-4a2e-b0d9-049e3974502c cb8075ff-171f-473a-8bd6-92b8b3009811 560d7dde-c986-40d7-89e7-91cca3879f85 53712113-3927-452d-8ad4-77f5621c8585 e1cac8e3-70f5-4c83-a95e-3be4726224ec]" time="2026-09-17T09:46:38Z" msg="Adding user to imap server" addrID=953b46e4-01b4-4201-ac0e-18108155a798 time="2026-09-17T09:46:38Z" msg="Creating new IMAP user" addrID=953b46e4-01b4-4201-ac0e-18108155a798 time="2026-09-17T09:46:38Z" msg="Setting gluon ID" addrID=953b46e4-01b4-4201-ac0e-18108155a798 gluonID=2533fbd9-70ec-46ab-ad44-04d24727948a userID=516725f9-3eb8-4535-b2a8-3704ae82fd4d time="2026-09-17T09:46:38Z" msg="Received mailbox message count" gluonID=2533fbd9-70ec-46ab-ad44-04d24727948a labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:46:38Z" msg="Created new IMAP user" addrID=953b46e4-01b4-4201-ac0e-18108155a798 gluonID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Validating Listener State" time="2026-09-17T09:46:38Z" time="2026-09-17T09:46:38Z" msg="Starting IMAP Service" time="2026-09-17T09:46:38Z" msg="Checking whether logged in user should re-sync. UserID:516725f9-3eb8-4535-b2a8-3704ae82fd4d" userID=516725f9-3eb8-4535-b2a8-3704ae82fd4d And the user logs in with username "9677f0a6-5220-40f8-afaa-e04e9cc18c44" and password "password" # :1 -> *scenario time="2026-09-17T09:46:38Z" msg="Sync triggered" time="2026-09-17T09:46:38Z" msg="Beginning user sync" start="2026-09-17 09:46:38.7129588 +0000 UTC m=+87.205261096" time="2026-09-17T09:46:38Z" msg="Syncing labels" time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=7d141f95-93ee-46a0-8756-c3257ea72329 labelPath="3pAq2Xve+cPEWbFqgRtLL8S2aIVnDabhdOy9nFZVdWo=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=1d3ac0d9-b557-4a2e-b0d9-049e3974502c labelPath="mbDY1wMDwmquFIDtqK93EBncBFsObQ9W/uWV0/eOJTk=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=a0875ad8-213f-4f4d-887e-b23b1499d287 labelPath="58yxHIMusx987MsioXAajQTboV0v0a2gCZktM2c3kC0=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=01ff4882-55da-4912-bc9e-faf97fc372da labelPath="dYeR1lyJtbbIeWzIsdI55uT+8xh/gD2bqXcmVGPaBuw=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=09f8e9b4-0664-43b8-bebe-8006b7a88a77 labelPath="ULUdiqwEyZ8987DvVqFig6Aff6KaF1IgA7OhMHx4cwg=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=6e75c1e8-148c-44aa-b49b-de8907405ec3 labelPath="540yfn3BIyLpMwYysUErK5o+KvvCR4g1vOThDhE2BgA=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=9b1458a9-1205-4bad-b665-fbb09f0e42d8 labelPath="NQrpdN+HhhSw6uk7uQ8OmuCJ/GuwSvKBs11YzfiZ+Ew=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=9026bf41-1245-4568-b18d-dede637e723a labelPath="S3hMMmXBnTbS+wwVKzR/5n+TqW6Bo9gk2hFcGknt2/I=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=f0d13e99-fec9-453b-aab2-da5a2e46270a labelPath="QHN74xzwwd1lr5s6BKs5SE9O5LcY4xWohpi7eqeSggs=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=7d141f95-93ee-46a0-8756-c3257ea72329 userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=73a0c85a-20f5-4649-88e3-6a68ae3f169c labelPath="DzQmPqyvWsXtgJjYB/5lJiBUmK8DbQKXDOuWHtr0IiM=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=b63ece03-2610-4b37-9abb-ee1137c0f072 labelPath="edESSGbsYKKZrp8uFaw7ILiZTIWuLSHe7rcwW36OWSg=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=1d3ac0d9-b557-4a2e-b0d9-049e3974502c userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=d3a02e5c-904c-42a8-a54f-582d80156860 labelPath="VYHiCBeQCX5s8NFRd3RVKGj9ulM7XbKWDLxozsqVdAk=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=23e083e0-f38d-4bda-a17d-61cf8720750d labelPath="bBcfrKdtRhDRTqdKgxf/0Zd+1IDFpLIbpHQ672mBnO4=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=a0875ad8-213f-4f4d-887e-b23b1499d287 userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=1334feb8-26c2-46a6-85ab-bab7dae46fa5 labelPath="tW7wCN71kl6pdw5ZiUIPwcXYuL0ojXJk4W0We+1XLEg=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=aa41881d-feef-4632-a72a-e981721c8d9f labelPath="nfZ5E6Bt8IloOCRCCtgNySHUm3auprmcuwzviLlxHr4=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=01ff4882-55da-4912-bc9e-faf97fc372da userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=0f33010c-89f9-41ae-9ec5-b4122e21de84 labelPath="eQTb/+ILWHBZhjKeD2def3o5jz/FAhiewAIELhVA8aI=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=52debf6a-c8f6-4eb9-a0dc-a283beadc11a labelPath="TczPy8fdXpUlTDAGoCy9/qO5c8LKZcKXPno6ooL0M7k=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=09f8e9b4-0664-43b8-bebe-8006b7a88a77 userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=1d0f7b91-d359-464b-a4cc-4141d0b936d2 labelPath="SS2SAsgMQSK7PW2mZJafSd/XvY5rX71LTPa7/DeWmPU=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=83a9f00d-21db-47ac-a3aa-88372b965c28 labelPath="gBZ2TjTaxNL8LmrVp7Ji4sw8/1grQZmYg+++8KjjpZM=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=6e75c1e8-148c-44aa-b49b-de8907405ec3 userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=cc2e2369-cf81-48e3-b7c1-531b6bafcd0d labelPath="CSYj++G4qyfw0HnP52zaqKVhu1Ns6vLZZ9slNWyRU3c=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=a786cb70-eda9-4bb9-9122-5d0258047965 labelPath="U09Te9lbeubgK5yWElKGpDZSuzzZnu8yBva7XVykHTI=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=9b1458a9-1205-4bad-b665-fbb09f0e42d8 userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=7eb4bd67-bd38-41fe-a4be-93bc4ee8349c labelPath="1uZwjVOrcxVBIkThMDrQFYuzdOdVK/fAraBBn+VX+Y8=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=53712113-3927-452d-8ad4-77f5621c8585 labelPath="57nC8eC01AdwdpoVcdV4JCI4/cAEXEqo3BAWXz1Idew=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=9026bf41-1245-4568-b18d-dede637e723a userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=c65636c7-a426-44ff-92f0-93ddc1c7665b labelPath="vj5oNyKqeezNAQAwogSCBSuvN7mRhDU6NZl+6e0MIrc=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=86392107-a7f4-4fee-871d-7fdbe6b90327 labelPath="+fL9QkqbB77937tEi7e+kMR40hiRKsH8aGlqnEWrens=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=f0d13e99-fec9-453b-aab2-da5a2e46270a userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=8e7a5929-6e0b-40e8-a14c-ba033a972aee labelPath="24MuqzZcfObKbmeN0MFWHP7SxCEeBXbAiROSpyMu5yE=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=560d7dde-c986-40d7-89e7-91cca3879f85 labelPath="y3iAJsHT/qIC0GL4SE9hJQhxNAmjYHRN893OElsugpQ=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=73a0c85a-20f5-4649-88e3-6a68ae3f169c userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=d54c9ebd-a9af-4823-9763-eb4cfd734264 labelPath="7c3OKsmgpK38JRXTNvMpFpS4gr1EsoON1L6I+LNZ3G0=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=d7020070-f3ad-4766-83fd-18a260405623 labelPath="pJT/FZrdjAJaj2k+9fmuNnDodWQeDgnIBAkLmrY10Vw=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=b63ece03-2610-4b37-9abb-ee1137c0f072 userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=6ba3c185-e3ab-4801-a2d7-1f73f63e50fb labelPath="cqhI45ITE9DIDJUYVyFz2Fh8exh2mzBx2MC/aoz6uiU=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=5f21a8ec-a754-4542-a31a-093f272653c3 labelPath="Ca/YNN1dL7X/m1gDFIE8dVZCbfPVF9lztMYf1iL3DxU=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=d3a02e5c-904c-42a8-a54f-582d80156860 userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=8cdef263-5640-464e-a34d-7ca3a50b160c labelPath="u4q55kTPTmWsiFngjWXdTxTlsjc1m3uhyQGAoTkDe7I=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=98dbb331-5b2b-4eaa-ab29-e14fd2f8ef05 labelPath="5enA9NrZWSyEiEikzURGYaGNCrLTD0S5vXA7sSXRJIU=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=23e083e0-f38d-4bda-a17d-61cf8720750d userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=ccd8aa27-cbc0-4479-b44d-5228ee9912c0 labelPath="8bhvaNmRp93XJXcos+Z3V/BfNqigI2+INK+v4SaQFYs=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=f5b9c716-5318-408f-8a6e-1b7f9fa8bd7f labelPath="AmZi96eEMzONESlWyxjRl7mua1C7//5zDBrqvcFL+i0=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=1334feb8-26c2-46a6-85ab-bab7dae46fa5 userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=afd4e6cb-5451-4cd6-a662-9a19ede91faa labelPath="MJHNhimmlmdRujn1Dgh7XAXwRM4vdZIv2WDTnIDhQ+U=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=4f65aab6-88ce-4310-babf-4c99f4090e73 labelPath="gSNWKSHQgZlSY4CWhPOBEHoHEOZmctJI9pU/1jYPPFE=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=aa41881d-feef-4632-a72a-e981721c8d9f userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=a81e4920-50bd-46e5-a7b5-7a237cc8b3ff labelPath="Avxi78Q7Oxp9j6purLqwDwlAltAb0LHAFcGAa7+nHdI=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=93f8241d-faed-4b46-b90b-0a1f93a9cb3a labelPath="HmQ2T5FXpmn6HNbMEO/t8RqNtmlnKOPUAAoook7G7vk=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=0f33010c-89f9-41ae-9ec5-b4122e21de84 userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=e2464f04-1481-46f7-a694-479230eef568 labelPath="PiqWxYiA4aPu37FcditwVYruJe2wDI/yOIk+dW9A7Bg=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=77591db3-f0ac-4f7d-a93a-5a38d4e5fe4a labelPath="TcGv/L59xUcPIVn4Wn1PzCIQC/aZAv/Bhq5zX+NVByQ=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=52debf6a-c8f6-4eb9-a0dc-a283beadc11a userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=fcec8269-526a-4260-ba1d-850f767ccc37 labelPath="yVrmZil63nAsBqz3b0YV+NwNNDYWSBkSrErPz+K3K9Y=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=b4574c75-692d-4f97-be90-c986bf5ecb80 labelPath="7rA9aQyWy6VMgV61B5aFqyIS+kJ901c++bw4C7AWu58=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=1d0f7b91-d359-464b-a4cc-4141d0b936d2 userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=f19521ed-e948-46d3-be1f-9392ed8ae32b labelPath="d+JCJtWXPJBj/lDnffL6maQUU27627ED03PY8Ss+HNI=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=e300abf1-c1e2-423c-b805-ba800e507ed0 labelPath="tzWwFnqzuoGQoTLlFFCKxkcOPrlLtM/x6xOa0FylVKY=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=83a9f00d-21db-47ac-a3aa-88372b965c28 userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=d84917f6-6ef6-42de-b2bf-faaa7f1d78d7 labelPath="l2pSO7m0gMTTPok2klZmijOtza7LZi1lUf1KNMZjUUM=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=cb8075ff-171f-473a-8bd6-92b8b3009811 labelPath="vYqwi0DPtw6KjLI9TRhtzQoo1AQ1YC7nCGkYJQJI160=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=cc2e2369-cf81-48e3-b7c1-531b6bafcd0d userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=fe6e5a3b-e5b8-4981-8080-efc1852d4f89 labelPath="uwuJaaqTRfJ443w7DNUrtvDDeRqi+F6ZP1O+SOfznFs=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=5a076543-19e1-42d1-a975-567974b2aa23 labelPath="ju3h9lVTWk10DShVb1HzW3Luq/S35pobshKZd/mo8QU=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=10 userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=2d4dfb3b-d7a7-4665-8e46-255a5a22f196 labelPath="M2FyZzKIm/efcNXm00yUSyKfn2zFi7PyNI087FRrh+s=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=a786cb70-eda9-4bb9-9122-5d0258047965 userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=05025ab7-fc1e-4b89-b3b6-cc1070e05d26 labelPath="FiL+xieOqSyNtDBSwgr/0mSZP2Q/JFhdkHQgvlQ7ihM=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=5c06fd94-e4fc-4cd6-957e-6ac1dec51345 labelPath="MVaEEdBTDYT9mOPdCzxoeP9bSsTKzjrKeNj5ujpYoO0=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=7eb4bd67-bd38-41fe-a4be-93bc4ee8349c userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=2292c861-c2bc-4526-b87a-3f1a973f3799 labelPath="GR8dG4Mg0azfhij4E7858chMeV9b6m1wrePtvJrIkVI=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=45079087-ceff-4277-b39c-8a59c608ae87 labelPath="JUgodEzR/DSNnfPp0u9HDHwK0nweJ7WrPkjoYhiVd/U=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=53712113-3927-452d-8ad4-77f5621c8585 userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=03e0edb8-6c11-40e1-8c6c-65836577547d labelPath="p0UL2xQueNRyBx1jnW+qjk6PQiqBtQYPSwLQ+MMwVP0=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=a9d07164-b8fc-4c8e-891e-1b5e774bf7db labelPath="Qf0lQVaH0PaajxWzy+vtACxnYi2/tNH5s+BsU0hE+f0=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=3 userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=c5885741-8d0d-4714-9226-5be0b1e51add labelPath="uGzhqaDJKK0eHjIhJN3K8i0nMfFqxgUwfAHyz3uSk4A=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=c65636c7-a426-44ff-92f0-93ddc1c7665b userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=427f95b6-7c88-49b8-9a89-120354d36868 labelPath="CZsbWdSAssKS2mc/yspkzLJ7+3pH1icOQwxqJdVSzRI=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=3d990a80-9d75-4004-9533-7f10c3712499 labelPath="ShR2uIzq16GXF97PVBVTDOE4hFFGjQxHNIN2t599jLI=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=86392107-a7f4-4fee-871d-7fdbe6b90327 userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=a4fd7322-23f3-4160-94cd-c36ef568ddda labelPath="nCEa9o5cCYXc7zvDpxIQ+UMB5NkH6P3E90EoJ3w79Nk=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=02b45c0a-ccb2-4399-9e62-5b12f265fb10 labelPath="kEA0/xV21rRryx03/T5hyvE5aROmNAahe+n1b3vYC/s=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=8e7a5929-6e0b-40e8-a14c-ba033a972aee userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=38ab29fd-6f75-4be5-a6e1-f0e43d4fc5ae labelPath="HAjK6OWW5QVVv+xqWVPM6z9wgwzd1PV2kFOd1cMalQU=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=f49f597a-de9d-4bff-96e1-c0f10830486c labelPath="wiIfg4zVKgp7PHmz/a7aqUnJL57f7Xm47QqYBi51juE=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=560d7dde-c986-40d7-89e7-91cca3879f85 userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=1203e856-86a8-4cf1-8ba9-059c9c8f29c1 labelPath="p7ZWbdyMUrqO6C7+f1ZGtrYUHAS3CT2+TzYFtG7lKAU=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=e1cac8e3-70f5-4c83-a95e-3be4726224ec labelPath="8N0NfzQ1Km7Z5s/nh955rHZsOQGQ8UggJ911TLfKvZQ=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=12 userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=cb9f0887-71c2-4d62-9e1a-8cd0fafe7b6f labelPath="AyWalw9lj3pNc8xwFTHf697twCJaiwAOuQI/TDX/QPI=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=d54c9ebd-a9af-4823-9763-eb4cfd734264 userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=b1ae446b-f3d5-44a1-932c-cbd3cef102a0 labelPath="C4jWA6KEa3sBUNtzMjIt5YcTpO3pTclPPRqCjWBDWm4=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=e1a9b242-ea9f-4e78-a0a9-0263bdbbdfbc labelPath="MSsAbW4xRdlQnKh/o7GAnzdwHp2JQrOb8C1pw54STKw=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=d7020070-f3ad-4766-83fd-18a260405623 userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=fc56f24f-ba06-4ce0-affe-ad9b77bcf01a labelPath="38ykemFvUipPQSzw090OcHLWb18vuS5UUBgkMPinrW0=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=2946e973-b086-4bf3-9a38-203ff20d7425 labelPath="EYw1lsVq4FJ8BEKc0wzOhOmPV1CumqaCdmPHD7wnVSk=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=6ba3c185-e3ab-4801-a2d7-1f73f63e50fb userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=eaaeb2ac-ac03-41dc-8b12-844fef0e8644 labelPath="iGpF3rmXohhFpvchY6Ki248JEO3K9LrpZf57BNpyx9M=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=59e22c2a-01e9-4dae-9b13-485e3038a5ca labelPath="KLd1sE/CxlAfJRDmKIyXAC7qzrhabuNhxa6KTT7ZqAo=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=6c013499-ac4d-4754-9476-c044f77fbd31 labelPath="TLREMEm5YYGjylMMzvnRbzQVWPPLopHydC9l7X3mTQg=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=4a459220-ebba-4d19-a823-3280aa36bd0c labelPath="ri6LzJ+BoAnVP9Y4hGzZhGq4Nq3jqPPCu07qiv1suwM=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=5f21a8ec-a754-4542-a31a-093f272653c3 userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=28f91c2b-d110-4789-ae13-416cfff37081 labelPath="m+sv8XCPJStGzbeuQmrQiXr7sCtYItvGyH+ufi18N/M=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=4bf86f83-2dc7-417a-8236-331235d83dd0 labelPath="WUTHgq32Hc45mzFm3pcijAV+pHQTQAQ9ev81a//+1lk=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=8cdef263-5640-464e-a34d-7ca3a50b160c userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=e7ec0f14-50a7-4388-9e7d-a85968d97ca9 labelPath="4m/PRRaFOxMTwiF5B2Hl7ciumRmNEzBfO/bl8oPYt2s=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=470c3472-762a-4ff0-bf14-16248d38d671 labelPath="hMhsT7PeeW0624QXFfT9ev2Ctr8u2B0Ay5Vf0/4n3sM=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=98dbb331-5b2b-4eaa-ab29-e14fd2f8ef05 userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=36541bdb-5a58-40c0-b6a2-5ce0a3d46d9d labelPath="s0NF/lZ3lcCEQDFBu8h66DBLFnDVHk9iu+yDJP0oUX0=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Label not found in DB, creating mailbox." labelID=b4611e0a-4eff-4a54-99be-36c0f57d18b2 labelPath="XWhKm7N3o5KAFoObluL85ei7KvCvt2NjWrvpuXzGzOs=" numberOfC /labelConflictResolver time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=ccd8aa27-cbc0-4479-b44d-5228ee9912c0 userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=f5b9c716-5318-408f-8a6e-1b7f9fa8bd7f userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=afd4e6cb-5451-4cd6-a662-9a19ede91faa userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=4f65aab6-88ce-4310-babf-4c99f4090e73 userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=a81e4920-50bd-46e5-a7b5-7a237cc8b3ff userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=7 userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=93f8241d-faed-4b46-b90b-0a1f93a9cb3a userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=e2464f04-1481-46f7-a694-479230eef568 userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=77591db3-f0ac-4f7d-a93a-5a38d4e5fe4a userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=fcec8269-526a-4260-ba1d-850f767ccc37 userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=b4574c75-692d-4f97-be90-c986bf5ecb80 userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=8 userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=f19521ed-e948-46d3-be1f-9392ed8ae32b userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=e300abf1-c1e2-423c-b805-ba800e507ed0 userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=d84917f6-6ef6-42de-b2bf-faaa7f1d78d7 userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=cb8075ff-171f-473a-8bd6-92b8b3009811 userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=fe6e5a3b-e5b8-4981-8080-efc1852d4f89 userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=5a076543-19e1-42d1-a975-567974b2aa23 userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=2d4dfb3b-d7a7-4665-8e46-255a5a22f196 userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=05025ab7-fc1e-4b89-b3b6-cc1070e05d26 userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=5c06fd94-e4fc-4cd6-957e-6ac1dec51345 userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=2292c861-c2bc-4526-b87a-3f1a973f3799 userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=45079087-ceff-4277-b39c-8a59c608ae87 userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=03e0edb8-6c11-40e1-8c6c-65836577547d userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=a9d07164-b8fc-4c8e-891e-1b5e774bf7db userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=c5885741-8d0d-4714-9226-5be0b1e51add userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=427f95b6-7c88-49b8-9a89-120354d36868 userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=3d990a80-9d75-4004-9533-7f10c3712499 userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=a4fd7322-23f3-4160-94cd-c36ef568ddda userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=02b45c0a-ccb2-4399-9e62-5b12f265fb10 userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=38ab29fd-6f75-4be5-a6e1-f0e43d4fc5ae userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=f49f597a-de9d-4bff-96e1-c0f10830486c userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=1203e856-86a8-4cf1-8ba9-059c9c8f29c1 userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=e1cac8e3-70f5-4c83-a95e-3be4726224ec userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=4 userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=5 userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=6 userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=cb9f0887-71c2-4d62-9e1a-8cd0fafe7b6f userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=b1ae446b-f3d5-44a1-932c-cbd3cef102a0 userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=e1a9b242-ea9f-4e78-a0a9-0263bdbbdfbc userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=fc56f24f-ba06-4ce0-affe-ad9b77bcf01a userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=2946e973-b086-4bf3-9a38-203ff20d7425 userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=0 userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=eaaeb2ac-ac03-41dc-8b12-844fef0e8644 userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=59e22c2a-01e9-4dae-9b13-485e3038a5ca userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=6c013499-ac4d-4754-9476-c044f77fbd31 userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=4a459220-ebba-4d19-a823-3280aa36bd0c userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=28f91c2b-d110-4789-ae13-416cfff37081 userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=4bf86f83-2dc7-417a-8236-331235d83dd0 userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=e7ec0f14-50a7-4388-9e7d-a85968d97ca9 userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=470c3472-762a-4ff0-bf14-16248d38d671 userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=36541bdb-5a58-40c0-b6a2-5ce0a3d46d9d userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Mailbox created" /user remoteMailboxID=b4611e0a-4eff-4a54-99be-36c0f57d18b2 userID=2533fbd9-70ec-46ab-ad44-04d24727948a time="2026-09-17T09:46:38Z" msg="Synced labels" time="2026-09-17T09:46:38Z" msg="200 OK: GET https://127.0.0.1:34525/mail/v4/messages/count" /client userID=516725f9-3eb8-4535-b2a8-3704ae82fd4d time="2026-09-17T09:46:38Z" msg="Syncing messages" time="2026-09-17T09:46:38Z" msg="Job started" time="2026-09-17T09:46:38Z" msg="200 OK: POST https://127.0.0.1:34525/mail/v4/messages" /client userID=516725f9-3eb8-4535-b2a8-3704ae82fd4d time="2026-09-17T09:46:38Z" msg="Job finished" time="2026-09-17T09:46:38Z" msg="All child jobs completed" sync- time="2026-09-17T09:46:38Z" msg="Synced messages" time="2026-09-17T09:46:38Z" msg="Finished user sync" .147243ms time="2026-09-17T09:46:38Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:46:38Z" msg="Event loop reset" eventID="UA==" And user "9677f0a6-5220-40f8-afaa-e04e9cc18c44" finishes syncing # :1 -> *scenario When user "9677f0a6-5220-40f8-afaa-e04e9cc18c44" connects and authenticates IMAP client "1" # :1 -> *scenario And user "9677f0a6-5220-40f8-afaa-e04e9cc18c44" connects and authenticates IMAP client "2" # :1 -> *scenario Then IMAP client "1" counts 20 mailboxes under "Folders" # :1 -> *scenario And IMAP client "1" counts 60 mailboxes under "Labels" # :1 -> *scenario Then IMAP client "2" counts 20 mailboxes under "Folders" # :1 -> *scenario time="2026-09-17T09:46:38Z" msg="Frontend service stopped" time="2026-09-17T09:46:38Z" msg="Frontend client stopped" time="2026-09-17T09:46:38Z" msg="Closing bridge" time="2026-09-17T09:46:38Z" msg="Stopping service" time="2026-09-17T09:46:38Z" msg="Closing user" userID=516725f9-3eb8-4535-b2a8-3704ae82fd4d time="2026-09-17T09:46:38Z" msg="De-registering user client, ID:516725f9-3eb8-4535-b2a8-3704ae82fd4d" time="2026-09-17T09:46:38Z" msg="Exiting IMAP Service" time="2026-09-17T09:46:38Z" msg="Exiting service main loop" time="2026-09-17T09:46:38Z" msg="Exiting service main loop" time="2026-09-17T09:46:38Z" msg="Exiting Service" time="2026-09-17T09:46:38Z" msg="Exiting service main loop" time="2026-09-17T09:46:38Z" msg="Exiting service" time="2026-09-17T09:46:38Z" msg="Closing IMAP Listener" time="2026-09-17T09:46:38Z" msg="Closing IMAP server" time="2026-09-17T09:46:38Z" msg="Closing SMTP Listener" time="2026-09-17T09:46:38Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:46:38Z" msg="Closing SMTP server" time="2026-09-17T09:46:38Z" msg="Closing service" And IMAP client "2" counts 60 mailboxes under "Labels" # :1 -> *scenario time="2026-09-17T09:46:39Z" msg="User '440a1864-5abd-4115-acbb-d51555eae90c' created with " /server/backend Scenario: List with scheduled mail # features/imap/mailbox/list.feature:45 Given there exists an account with username "440a1864-5abd-4115-acbb-d51555eae90c" and password "password" # :1 -> *scenario And the address "440a1864-5abd-4115-acbb-d51555eae90c@proton.local" of account "440a1864-5abd-4115-acbb-d51555eae90c" has the following messages in "Scheduled": # :1 -> *scenario | from | to | subject | unread | | john.doe@mail.com | 440a1864-5abd-4115-acbb-d51555eae90c@proton.local | sch | false | time="2026-09-17T09:46:40Z" msg="Starting bridge" time="2026-09-17T09:46:40Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/049/config391566894/grpcFocusServerConfig.json /service time="2026-09-17T09:46:40Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/049/cache855483649/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:46:40Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/049/cache855483649/notifications/notification_cache: no such file or directory" time="2026-09-17T09:46:40Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/049/data2211076346/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/049/data2211076346/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:46:40Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:46:40Z" msg="Starting IMAP server" time="2026-09-17T09:46:40Z" msg="Starting SMTP server" time="2026-09-17T09:46:40Z" msg="Starting service" time="2026-09-17T09:46:40Z" msg="Starting service" time="2026-09-17T09:46:40Z" msg="Starting poll service" time="2026-09-17T09:46:40Z" msg="Starting frontend service" time="2026-09-17T09:46:40Z" msg="Checking for updates" time="2026-09-17T09:46:40Z" msg="Starting receiver service" time="2026-09-17T09:46:40Z" msg="Loading users" /user time="2026-09-17T09:46:40Z" msg="Finished loading users" /user time="2026-09-17T09:46:40Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/049/config391566894/grpcServerConfig.json time="2026-09-17T09:46:40Z" msg="gRPC server listening on /tmp/bridge0370" time="2026-09-17T09:46:40Z" msg="Frontend service started" time="2026-09-17T09:46:40Z" msg="Starting frontend client" time="2026-09-17T09:46:40Z" msg="Not monitoring parent PID" time="2026-09-17T09:46:40Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:46:40Z" msg="200 OK: GET https://127.0.0.1:39961/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:46:40Z" msg="Frontend client started" When bridge starts # :1 -> *scenario time="2026-09-17T09:46:40Z" msg="Performing full user login" /user username="******** (41024d6a)" time="2026-09-17T09:46:40Z" msg="Authorizing user for login" /user username="******** (41024d6a)" time="2026-09-17T09:46:40Z" msg="200 OK: POST https://127.0.0.1:39961/auth/v4/info" /manager time="2026-09-17T09:46:40Z" msg="200 OK: POST https://127.0.0.1:39961/auth/v4" /manager time="2026-09-17T09:46:40Z" msg="Logging in authorized user" /user userID=40b6b64b-587e-4a58-bb08-f56208259644 time="2026-09-17T09:46:40Z" msg="Adding vault user" userID=40b6b64b-587e-4a58-bb08-f56208259644 time="2026-09-17T09:46:40Z" msg="Creating new user" userID=40b6b64b-587e-4a58-bb08-f56208259644 time="2026-09-17T09:46:40Z" msg="404 GET https://127.0.0.1:39961/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:46:40Z" msg="404 GET https://127.0.0.1:39961/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:46:40Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:39961/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:46:40Z" msg="Creating user object" authUID=96c95f3c-a735-476b-8cbb-053a5672d1e7 numA numL userID=40b6b64b-587e-4a58-bb08-f56208259644 time="2026-09-17T09:46:40Z" msg="200 OK: GET https://127.0.0.1:39961/core/v4/events/latest" /client userID=40b6b64b-587e-4a58-bb08-f56208259644 time="2026-09-17T09:46:40Z" msg="Starting service Last EventID=AQ==" time="2026-09-17T09:46:40Z" msg="200 OK: GET https://127.0.0.1:39961/core/v4/settings" /client userID=40b6b64b-587e-4a58-bb08-f56208259644 time="2026-09-17T09:46:40Z" msg="Registering user client, ID:40b6b64b-587e-4a58-bb08-f56208259644" time="2026-09-17T09:46:40Z" msg="Starting user identity service" numA time="2026-09-17T09:46:40Z" msg="Starting service main loop" time="2026-09-17T09:46:40Z" msg="Starting service main loop" time="2026-09-17T09:46:40Z" msg="Starting service main loop" time="2026-09-17T09:46:40Z" msg="200 OK: GET https://127.0.0.1:39961/core/v4/labels?T" /client userID=40b6b64b-587e-4a58-bb08-f56208259644 time="2026-09-17T09:46:40Z" msg="200 OK: GET https://127.0.0.1:39961/core/v4/labels?T" /client userID=40b6b64b-587e-4a58-bb08-f56208259644 time="2026-09-17T09:46:40Z" msg="200 OK: GET https://127.0.0.1:39961/core/v4/labels?T" /client userID=40b6b64b-587e-4a58-bb08-f56208259644 time="2026-09-17T09:46:40Z" msg="Setting labels" labelIDs="[10 1 7 8 12 0 2 3 4 5 6 9]" time="2026-09-17T09:46:40Z" msg="Adding user to imap server" addrID=ed227391-08bb-4e4b-8bf5-ca3350325939 time="2026-09-17T09:46:40Z" msg="Creating new IMAP user" addrID=ed227391-08bb-4e4b-8bf5-ca3350325939 time="2026-09-17T09:46:40Z" msg="Setting gluon ID" addrID=ed227391-08bb-4e4b-8bf5-ca3350325939 gluonID=f363e5cc-a949-420a-b4fb-47d9ab7cbea9 userID=40b6b64b-587e-4a58-bb08-f56208259644 time="2026-09-17T09:46:40Z" msg="Received mailbox message count" gluonID=f363e5cc-a949-420a-b4fb-47d9ab7cbea9 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:46:40Z" msg="Created new IMAP user" addrID=ed227391-08bb-4e4b-8bf5-ca3350325939 gluonID=f363e5cc-a949-420a-b4fb-47d9ab7cbea9 time="2026-09-17T09:46:40Z" msg="Validating Listener State" time="2026-09-17T09:46:40Z" time="2026-09-17T09:46:40Z" msg="Checking whether logged in user should re-sync. UserID:40b6b64b-587e-4a58-bb08-f56208259644" userID=40b6b64b-587e-4a58-bb08-f56208259644 And the user logs in with username "440a1864-5abd-4115-acbb-d51555eae90c" and password "password" # :1 -> *scenario time="2026-09-17T09:46:40Z" msg="Starting IMAP Service" time="2026-09-17T09:46:40Z" msg="Sync triggered" time="2026-09-17T09:46:40Z" msg="Beginning user sync" start="2026-09-17 09:46:40.748827621 +0000 UTC m=+89.241129917" time="2026-09-17T09:46:40Z" msg="Syncing labels" time="2026-09-17T09:46:40Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=f363e5cc-a949-420a-b4fb-47d9ab7cbea9 time="2026-09-17T09:46:40Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=f363e5cc-a949-420a-b4fb-47d9ab7cbea9 time="2026-09-17T09:46:40Z" msg="Mailbox created" /user remoteMailboxID=5 userID=f363e5cc-a949-420a-b4fb-47d9ab7cbea9 time="2026-09-17T09:46:40Z" msg="Mailbox created" /user remoteMailboxID=10 userID=f363e5cc-a949-420a-b4fb-47d9ab7cbea9 time="2026-09-17T09:46:40Z" msg="Mailbox created" /user remoteMailboxID=7 userID=f363e5cc-a949-420a-b4fb-47d9ab7cbea9 time="2026-09-17T09:46:40Z" msg="Mailbox created" /user remoteMailboxID=8 userID=f363e5cc-a949-420a-b4fb-47d9ab7cbea9 time="2026-09-17T09:46:40Z" msg="Mailbox created" /user remoteMailboxID=12 userID=f363e5cc-a949-420a-b4fb-47d9ab7cbea9 time="2026-09-17T09:46:40Z" msg="Mailbox created" /user remoteMailboxID=0 userID=f363e5cc-a949-420a-b4fb-47d9ab7cbea9 time="2026-09-17T09:46:40Z" msg="Mailbox created" /user remoteMailboxID=6 userID=f363e5cc-a949-420a-b4fb-47d9ab7cbea9 time="2026-09-17T09:46:40Z" msg="Mailbox created" /user remoteMailboxID=3 userID=f363e5cc-a949-420a-b4fb-47d9ab7cbea9 time="2026-09-17T09:46:40Z" msg="Mailbox created" /user remoteMailboxID=4 userID=f363e5cc-a949-420a-b4fb-47d9ab7cbea9 time="2026-09-17T09:46:40Z" msg="Synced labels" time="2026-09-17T09:46:40Z" msg="200 OK: GET https://127.0.0.1:39961/mail/v4/messages/count" /client userID=40b6b64b-587e-4a58-bb08-f56208259644 time="2026-09-17T09:46:40Z" msg="Syncing messages" time="2026-09-17T09:46:40Z" msg="Job started" time="2026-09-17T09:46:40Z" msg="200 OK: POST https://127.0.0.1:39961/mail/v4/messages" /client userID=40b6b64b-587e-4a58-bb08-f56208259644 time="2026-09-17T09:46:40Z" msg="200 OK: POST https://127.0.0.1:39961/mail/v4/messages" /client userID=40b6b64b-587e-4a58-bb08-f56208259644 time="2026-09-17T09:46:40Z" msg="Creating new child job" time="2026-09-17T09:46:40Z" msg="Job finished" time="2026-09-17T09:46:40Z" msg="200 OK: GET https://127.0.0.1:39961/mail/v4/messages/f81fb9f6-4c35-4890-b481-b1774f88397b" /client userID=40b6b64b-587e-4a58-bb08-f56208259644 time="2026-09-17T09:46:40Z" msg="Sending observability data." time="2026-09-17T09:46:40Z" msg="200 OK: POST https://127.0.0.1:39961/data/v1/metrics" /client userID=40b6b64b-587e-4a58-bb08-f56208259644 time="2026-09-17T09:46:40Z" msg="Successfully sent observability data." time="2026-09-17T09:46:40Z" msg="Child job finished" time="2026-09-17T09:46:40Z" msg="All child jobs completed" sync- time="2026-09-17T09:46:40Z" msg="Synced messages" time="2026-09-17T09:46:40Z" msg="Finished user sync" .981266ms time="2026-09-17T09:46:40Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:46:40Z" msg="Event loop reset" eventID="AQ==" And user "440a1864-5abd-4115-acbb-d51555eae90c" finishes syncing # :1 -> *scenario And user "440a1864-5abd-4115-acbb-d51555eae90c" connects and authenticates IMAP client "1" # :1 -> *scenario time="2026-09-17T09:46:40Z" msg="Frontend service stopped" time="2026-09-17T09:46:40Z" msg="Frontend client stopped" time="2026-09-17T09:46:40Z" msg="Closing bridge" time="2026-09-17T09:46:40Z" msg="Stopping service" time="2026-09-17T09:46:40Z" msg="Closing user" userID=40b6b64b-587e-4a58-bb08-f56208259644 time="2026-09-17T09:46:40Z" msg="De-registering user client, ID:40b6b64b-587e-4a58-bb08-f56208259644" time="2026-09-17T09:46:40Z" msg="Exiting IMAP Service" time="2026-09-17T09:46:40Z" msg="Exiting service main loop" time="2026-09-17T09:46:40Z" msg="Exiting service main loop" time="2026-09-17T09:46:40Z" msg="Exiting Service" time="2026-09-17T09:46:40Z" msg="Exiting service main loop" time="2026-09-17T09:46:40Z" msg="Exiting service" time="2026-09-17T09:46:40Z" msg="Closing IMAP Listener" time="2026-09-17T09:46:40Z" msg="Closing IMAP server" time="2026-09-17T09:46:40Z" msg="Closing SMTP Listener" time="2026-09-17T09:46:40Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:46:40Z" msg="Closing SMTP server" time="2026-09-17T09:46:40Z" msg="Closing service" Then IMAP client "1" eventually sees the following mailbox info: # :1 -> *scenario | name | total | | INBOX | 0 | | Drafts | 0 | | Sent | 0 | | Starred | 0 | | Archive | 0 | | Spam | 0 | | Trash | 0 | | All Mail | 1 | | Folders | 0 | | Labels | 0 | | Scheduled | 1 | Feature: IMAP get mailbox info time="2026-09-17T09:46:41Z" msg="User '1edba7cb-f941-4699-b502-abe50dcd9334' created with " /server/backend Background: Given there exists an account with username "1edba7cb-f941-4699-b502-abe50dcd9334" and password "password" # :1 -> *scenario And the account "1edba7cb-f941-4699-b502-abe50dcd9334" has the following custom mailboxes: # :1 -> *scenario | name | type | | f1 | folder | | l1 | label | Then it succeeds # :1 -> *scenario time="2026-09-17T09:46:41Z" msg="Starting bridge" time="2026-09-17T09:46:41Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/050/config488111487/grpcFocusServerConfig.json /service time="2026-09-17T09:46:41Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/050/cache875109990/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:46:41Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/050/cache875109990/notifications/notification_cache: no such file or directory" time="2026-09-17T09:46:41Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/050/data3023190522/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/050/data3023190522/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:46:41Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:46:41Z" msg="Starting IMAP server" time="2026-09-17T09:46:41Z" msg="Starting SMTP server" time="2026-09-17T09:46:41Z" msg="Starting service" time="2026-09-17T09:46:41Z" msg="Starting service" time="2026-09-17T09:46:41Z" msg="Starting receiver service" time="2026-09-17T09:46:41Z" msg="Starting frontend service" time="2026-09-17T09:46:41Z" msg="Checking for updates" time="2026-09-17T09:46:41Z" msg="Loading users" /user time="2026-09-17T09:46:41Z" msg="Finished loading users" /user time="2026-09-17T09:46:41Z" msg="Starting poll service" time="2026-09-17T09:46:41Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/050/config488111487/grpcServerConfig.json time="2026-09-17T09:46:41Z" msg="gRPC server listening on /tmp/bridge0698" time="2026-09-17T09:46:41Z" msg="Frontend service started" time="2026-09-17T09:46:41Z" msg="Starting frontend client" time="2026-09-17T09:46:41Z" msg="Not monitoring parent PID" time="2026-09-17T09:46:41Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:46:41Z" msg="200 OK: GET https://127.0.0.1:33963/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:46:41Z" msg="Frontend client started" When bridge starts # :1 -> *scenario time="2026-09-17T09:46:41Z" msg="Performing full user login" /user username="******** (4ecc7926)" time="2026-09-17T09:46:41Z" msg="Authorizing user for login" /user username="******** (4ecc7926)" time="2026-09-17T09:46:41Z" msg="200 OK: POST https://127.0.0.1:33963/auth/v4/info" /manager time="2026-09-17T09:46:42Z" msg="200 OK: POST https://127.0.0.1:33963/auth/v4" /manager time="2026-09-17T09:46:42Z" msg="Logging in authorized user" /user userID=bd69304b-7694-4aae-87c6-54c9affe81b5 time="2026-09-17T09:46:42Z" msg="Adding vault user" userID=bd69304b-7694-4aae-87c6-54c9affe81b5 time="2026-09-17T09:46:42Z" msg="Creating new user" userID=bd69304b-7694-4aae-87c6-54c9affe81b5 time="2026-09-17T09:46:42Z" msg="404 GET https://127.0.0.1:33963/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:46:42Z" msg="404 GET https://127.0.0.1:33963/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:46:42Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:33963/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:46:42Z" msg="Creating user object" authUID=f5702840-3923-47a6-bc85-4432ce9213d6 numA numL userID=bd69304b-7694-4aae-87c6-54c9affe81b5 time="2026-09-17T09:46:42Z" msg="200 OK: GET https://127.0.0.1:33963/core/v4/events/latest" /client userID=bd69304b-7694-4aae-87c6-54c9affe81b5 time="2026-09-17T09:46:42Z" msg="Starting service Last EventID=Ag==" time="2026-09-17T09:46:42Z" msg="200 OK: GET https://127.0.0.1:33963/core/v4/settings" /client userID=bd69304b-7694-4aae-87c6-54c9affe81b5 time="2026-09-17T09:46:42Z" msg="Registering user client, ID:bd69304b-7694-4aae-87c6-54c9affe81b5" time="2026-09-17T09:46:42Z" msg="Starting service main loop" time="2026-09-17T09:46:42Z" msg="Starting user identity service" numA time="2026-09-17T09:46:42Z" msg="Starting service main loop" time="2026-09-17T09:46:42Z" msg="Starting service main loop" time="2026-09-17T09:46:42Z" msg="200 OK: GET https://127.0.0.1:33963/core/v4/labels?T" /client userID=bd69304b-7694-4aae-87c6-54c9affe81b5 time="2026-09-17T09:46:42Z" msg="200 OK: GET https://127.0.0.1:33963/core/v4/labels?T" /client userID=bd69304b-7694-4aae-87c6-54c9affe81b5 time="2026-09-17T09:46:42Z" msg="200 OK: GET https://127.0.0.1:33963/core/v4/labels?T" /client userID=bd69304b-7694-4aae-87c6-54c9affe81b5 time="2026-09-17T09:46:42Z" msg="Setting labels" labelIDs="[5 6 8 9 12 0 2 4 7 10 1 3 fb25d7ef-3e32-4f7d-be47-5e218f0634f6 21347aae-6e81-40b0-bb86-180cfe4cb49a]" time="2026-09-17T09:46:42Z" msg="Adding user to imap server" addrID=87f8f626-218f-4670-83de-7e519ae02bde time="2026-09-17T09:46:42Z" msg="Creating new IMAP user" addrID=87f8f626-218f-4670-83de-7e519ae02bde time="2026-09-17T09:46:42Z" msg="Setting gluon ID" addrID=87f8f626-218f-4670-83de-7e519ae02bde gluonID=0342cd5a-f8ad-4e3e-8bfc-b306eebf6e6b userID=bd69304b-7694-4aae-87c6-54c9affe81b5 time="2026-09-17T09:46:42Z" msg="Received mailbox message count" gluonID=0342cd5a-f8ad-4e3e-8bfc-b306eebf6e6b labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:46:42Z" msg="Created new IMAP user" addrID=87f8f626-218f-4670-83de-7e519ae02bde gluonID=0342cd5a-f8ad-4e3e-8bfc-b306eebf6e6b time="2026-09-17T09:46:42Z" msg="Validating Listener State" time="2026-09-17T09:46:42Z" time="2026-09-17T09:46:42Z" msg="Starting IMAP Service" time="2026-09-17T09:46:42Z" msg="Checking whether logged in user should re-sync. UserID:bd69304b-7694-4aae-87c6-54c9affe81b5" userID=bd69304b-7694-4aae-87c6-54c9affe81b5 time="2026-09-17T09:46:42Z" msg="Sync triggered" time="2026-09-17T09:46:42Z" msg="Beginning user sync" start="2026-09-17 09:46:42.339045695 +0000 UTC m=+90.831347991" And the user logs in with username "1edba7cb-f941-4699-b502-abe50dcd9334" and password "password" # :1 -> *scenario time="2026-09-17T09:46:42Z" msg="Syncing labels" time="2026-09-17T09:46:42Z" msg="Label not found in DB, creating mailbox." labelID=fb25d7ef-3e32-4f7d-be47-5e218f0634f6 labelPath="CqcPyYxwtd3HBNbKIG3NWRK3vh7cnefdC5utNQpsJU0=" numberOfC /labelConflictResolver time="2026-09-17T09:46:42Z" msg="Label not found in DB, creating mailbox." labelID=21347aae-6e81-40b0-bb86-180cfe4cb49a labelPath="f5Qe5RYSMSMdJXJ6f9pncXVUMxi646S+03ipR/WFS6E=" numberOfC /labelConflictResolver time="2026-09-17T09:46:42Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=0342cd5a-f8ad-4e3e-8bfc-b306eebf6e6b time="2026-09-17T09:46:42Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=0342cd5a-f8ad-4e3e-8bfc-b306eebf6e6b time="2026-09-17T09:46:42Z" msg="Mailbox created" /user remoteMailboxID=6 userID=0342cd5a-f8ad-4e3e-8bfc-b306eebf6e6b time="2026-09-17T09:46:42Z" msg="Mailbox created" /user remoteMailboxID=8 userID=0342cd5a-f8ad-4e3e-8bfc-b306eebf6e6b time="2026-09-17T09:46:42Z" msg="Mailbox created" /user remoteMailboxID=12 userID=0342cd5a-f8ad-4e3e-8bfc-b306eebf6e6b time="2026-09-17T09:46:42Z" msg="Mailbox created" /user remoteMailboxID=0 userID=0342cd5a-f8ad-4e3e-8bfc-b306eebf6e6b time="2026-09-17T09:46:42Z" msg="Mailbox created" /user remoteMailboxID=7 userID=0342cd5a-f8ad-4e3e-8bfc-b306eebf6e6b time="2026-09-17T09:46:42Z" msg="Mailbox created" /user remoteMailboxID=3 userID=0342cd5a-f8ad-4e3e-8bfc-b306eebf6e6b time="2026-09-17T09:46:42Z" msg="Mailbox created" /user remoteMailboxID=5 userID=0342cd5a-f8ad-4e3e-8bfc-b306eebf6e6b time="2026-09-17T09:46:42Z" msg="Mailbox created" /user remoteMailboxID=4 userID=0342cd5a-f8ad-4e3e-8bfc-b306eebf6e6b time="2026-09-17T09:46:42Z" msg="Mailbox created" /user remoteMailboxID=10 userID=0342cd5a-f8ad-4e3e-8bfc-b306eebf6e6b time="2026-09-17T09:46:42Z" msg="Mailbox created" /user remoteMailboxID=fb25d7ef-3e32-4f7d-be47-5e218f0634f6 userID=0342cd5a-f8ad-4e3e-8bfc-b306eebf6e6b time="2026-09-17T09:46:42Z" msg="Mailbox created" /user remoteMailboxID=21347aae-6e81-40b0-bb86-180cfe4cb49a userID=0342cd5a-f8ad-4e3e-8bfc-b306eebf6e6b time="2026-09-17T09:46:42Z" msg="Synced labels" time="2026-09-17T09:46:42Z" msg="200 OK: GET https://127.0.0.1:33963/mail/v4/messages/count" /client userID=bd69304b-7694-4aae-87c6-54c9affe81b5 time="2026-09-17T09:46:42Z" msg="Syncing messages" time="2026-09-17T09:46:42Z" msg="Job started" time="2026-09-17T09:46:42Z" msg="200 OK: POST https://127.0.0.1:33963/mail/v4/messages" /client userID=bd69304b-7694-4aae-87c6-54c9affe81b5 time="2026-09-17T09:46:42Z" msg="Job finished" time="2026-09-17T09:46:42Z" msg="All child jobs completed" sync- time="2026-09-17T09:46:42Z" msg="Synced messages" time="2026-09-17T09:46:42Z" msg="Finished user sync" .980292ms time="2026-09-17T09:46:42Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:46:42Z" msg="Event loop reset" eventID="Ag==" And user "1edba7cb-f941-4699-b502-abe50dcd9334" finishes syncing # :1 -> *scenario And user "1edba7cb-f941-4699-b502-abe50dcd9334" connects and authenticates IMAP client "1" # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:46:42Z" msg="200 OK: GET https://127.0.0.1:33963/core/v4/labels?T" /client userID=bd69304b-7694-4aae-87c6-54c9affe81b5 time="2026-09-17T09:46:42Z" msg="200 OK: PUT https://127.0.0.1:33963/core/v4/labels/fb25d7ef-3e32-4f7d-be47-5e218f0634f6" /client userID=bd69304b-7694-4aae-87c6-54c9affe81b5 Scenario: Rename folder # features/imap/mailbox/rename.feature:15 When IMAP client "1" renames "Folders/f1" to "Folders/f2" # :1 -> *scenario Then IMAP client "1" sees "Folders/f2" # :1 -> *scenario time="2026-09-17T09:46:42Z" msg="Frontend service stopped" time="2026-09-17T09:46:42Z" msg="Frontend client stopped" time="2026-09-17T09:46:42Z" msg="Closing bridge" time="2026-09-17T09:46:42Z" msg="Stopping service" time="2026-09-17T09:46:42Z" msg="Closing user" userID=bd69304b-7694-4aae-87c6-54c9affe81b5 time="2026-09-17T09:46:42Z" msg="De-registering user client, ID:bd69304b-7694-4aae-87c6-54c9affe81b5" time="2026-09-17T09:46:42Z" msg="Exiting IMAP Service" time="2026-09-17T09:46:42Z" msg="Exiting service main loop" time="2026-09-17T09:46:42Z" msg="Exiting service main loop" time="2026-09-17T09:46:42Z" msg="Exiting Service" time="2026-09-17T09:46:42Z" msg="Exiting service main loop" time="2026-09-17T09:46:42Z" msg="Exiting service" time="2026-09-17T09:46:42Z" msg="Closing IMAP Listener" time="2026-09-17T09:46:42Z" msg="Closing IMAP server" time="2026-09-17T09:46:42Z" msg="Closing SMTP Listener" time="2026-09-17T09:46:42Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:46:42Z" msg="Closing SMTP server" time="2026-09-17T09:46:42Z" msg="Closing service" And IMAP client "1" does not see "Folders/f1" # :1 -> *scenario time="2026-09-17T09:46:42Z" msg="User '2198b3ad-2a91-4121-a6b8-ee02d7f693d9' created with " /server/backend time="2026-09-17T09:46:43Z" msg="Starting bridge" time="2026-09-17T09:46:43Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/051/config3963346645/grpcFocusServerConfig.json /service time="2026-09-17T09:46:43Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/051/cache2925662938/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:46:43Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/051/cache2925662938/notifications/notification_cache: no such file or directory" time="2026-09-17T09:46:43Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/051/data352350430/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/051/data352350430/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:46:43Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:46:43Z" msg="Starting IMAP server" time="2026-09-17T09:46:43Z" msg="Starting SMTP server" time="2026-09-17T09:46:43Z" msg="Starting service" time="2026-09-17T09:46:43Z" msg="Starting service" time="2026-09-17T09:46:43Z" msg="Starting frontend service" time="2026-09-17T09:46:43Z" msg="Checking for updates" time="2026-09-17T09:46:43Z" msg="Loading users" /user time="2026-09-17T09:46:43Z" msg="Starting poll service" time="2026-09-17T09:46:43Z" msg="Finished loading users" /user time="2026-09-17T09:46:43Z" msg="Starting receiver service" time="2026-09-17T09:46:43Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/051/config3963346645/grpcServerConfig.json time="2026-09-17T09:46:43Z" msg="gRPC server listening on /tmp/bridge7292" time="2026-09-17T09:46:43Z" msg="Frontend service started" time="2026-09-17T09:46:43Z" msg="Starting frontend client" time="2026-09-17T09:46:43Z" msg="Not monitoring parent PID" time="2026-09-17T09:46:43Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:46:43Z" msg="200 OK: GET https://127.0.0.1:34839/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:46:43Z" msg="Frontend client started" time="2026-09-17T09:46:43Z" msg="Performing full user login" /user username="******** (d8c25e19)" time="2026-09-17T09:46:43Z" msg="Authorizing user for login" /user username="******** (d8c25e19)" time="2026-09-17T09:46:43Z" msg="200 OK: POST https://127.0.0.1:34839/auth/v4/info" /manager time="2026-09-17T09:46:43Z" msg="200 OK: POST https://127.0.0.1:34839/auth/v4" /manager time="2026-09-17T09:46:43Z" msg="Logging in authorized user" /user userID=ee7f9eeb-a0b3-4327-8ac3-c5fcd187c208 time="2026-09-17T09:46:43Z" msg="Adding vault user" userID=ee7f9eeb-a0b3-4327-8ac3-c5fcd187c208 time="2026-09-17T09:46:43Z" msg="Creating new user" userID=ee7f9eeb-a0b3-4327-8ac3-c5fcd187c208 time="2026-09-17T09:46:43Z" msg="404 GET https://127.0.0.1:34839/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:46:43Z" msg="404 GET https://127.0.0.1:34839/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:46:43Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:34839/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:46:43Z" msg="Creating user object" authUID=a288ae9a-06ff-4275-a38c-0cef68755ccc numA numL userID=ee7f9eeb-a0b3-4327-8ac3-c5fcd187c208 time="2026-09-17T09:46:43Z" msg="200 OK: GET https://127.0.0.1:34839/core/v4/events/latest" /client userID=ee7f9eeb-a0b3-4327-8ac3-c5fcd187c208 time="2026-09-17T09:46:43Z" msg="Starting service Last EventID=Ag==" time="2026-09-17T09:46:43Z" msg="200 OK: GET https://127.0.0.1:34839/core/v4/settings" /client userID=ee7f9eeb-a0b3-4327-8ac3-c5fcd187c208 time="2026-09-17T09:46:43Z" msg="Registering user client, ID:ee7f9eeb-a0b3-4327-8ac3-c5fcd187c208" time="2026-09-17T09:46:43Z" msg="Starting user identity service" numA time="2026-09-17T09:46:43Z" msg="Starting service main loop" time="2026-09-17T09:46:43Z" msg="Starting service main loop" time="2026-09-17T09:46:43Z" msg="Starting service main loop" time="2026-09-17T09:46:43Z" msg="200 OK: GET https://127.0.0.1:34839/core/v4/labels?T" /client userID=ee7f9eeb-a0b3-4327-8ac3-c5fcd187c208 time="2026-09-17T09:46:43Z" msg="200 OK: GET https://127.0.0.1:34839/core/v4/labels?T" /client userID=ee7f9eeb-a0b3-4327-8ac3-c5fcd187c208 time="2026-09-17T09:46:43Z" msg="200 OK: GET https://127.0.0.1:34839/core/v4/labels?T" /client userID=ee7f9eeb-a0b3-4327-8ac3-c5fcd187c208 time="2026-09-17T09:46:43Z" msg="Setting labels" labelIDs="[0 3 4 5 6 7 1 2 8 9 10 12 826755e8-d2ac-4dd9-b586-9e737cfeb012 eed617c8-bdf8-4d43-993c-7d7bdcee590d]" time="2026-09-17T09:46:43Z" msg="Adding user to imap server" addrID=da5c09c5-ba6a-4c7e-8c96-abb101abce89 time="2026-09-17T09:46:43Z" msg="Creating new IMAP user" addrID=da5c09c5-ba6a-4c7e-8c96-abb101abce89 time="2026-09-17T09:46:43Z" msg="Setting gluon ID" addrID=da5c09c5-ba6a-4c7e-8c96-abb101abce89 gluonID=5fd75b07-4901-43ba-8beb-afef1a5f9f54 userID=ee7f9eeb-a0b3-4327-8ac3-c5fcd187c208 time="2026-09-17T09:46:43Z" msg="Received mailbox message count" gluonID=5fd75b07-4901-43ba-8beb-afef1a5f9f54 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:46:43Z" msg="Created new IMAP user" addrID=da5c09c5-ba6a-4c7e-8c96-abb101abce89 gluonID=5fd75b07-4901-43ba-8beb-afef1a5f9f54 time="2026-09-17T09:46:43Z" msg="Validating Listener State" time="2026-09-17T09:46:43Z" time="2026-09-17T09:46:43Z" msg="Starting IMAP Service" time="2026-09-17T09:46:43Z" msg="Checking whether logged in user should re-sync. UserID:ee7f9eeb-a0b3-4327-8ac3-c5fcd187c208" userID=ee7f9eeb-a0b3-4327-8ac3-c5fcd187c208 time="2026-09-17T09:46:43Z" msg="Sync triggered" time="2026-09-17T09:46:43Z" msg="Beginning user sync" start="2026-09-17 09:46:43.804740944 +0000 UTC m=+92.297043240" time="2026-09-17T09:46:43Z" msg="Syncing labels" time="2026-09-17T09:46:43Z" msg="Label not found in DB, creating mailbox." labelID=826755e8-d2ac-4dd9-b586-9e737cfeb012 labelPath="CqcPyYxwtd3HBNbKIG3NWRK3vh7cnefdC5utNQpsJU0=" numberOfC /labelConflictResolver time="2026-09-17T09:46:43Z" msg="Label not found in DB, creating mailbox." labelID=eed617c8-bdf8-4d43-993c-7d7bdcee590d labelPath="f5Qe5RYSMSMdJXJ6f9pncXVUMxi646S+03ipR/WFS6E=" numberOfC /labelConflictResolver time="2026-09-17T09:46:43Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=5fd75b07-4901-43ba-8beb-afef1a5f9f54 time="2026-09-17T09:46:43Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=5fd75b07-4901-43ba-8beb-afef1a5f9f54 time="2026-09-17T09:46:43Z" msg="Mailbox created" /user remoteMailboxID=3 userID=5fd75b07-4901-43ba-8beb-afef1a5f9f54 time="2026-09-17T09:46:43Z" msg="Mailbox created" /user remoteMailboxID=5 userID=5fd75b07-4901-43ba-8beb-afef1a5f9f54 time="2026-09-17T09:46:43Z" msg="Mailbox created" /user remoteMailboxID=6 userID=5fd75b07-4901-43ba-8beb-afef1a5f9f54 time="2026-09-17T09:46:43Z" msg="Mailbox created" /user remoteMailboxID=10 userID=5fd75b07-4901-43ba-8beb-afef1a5f9f54 time="2026-09-17T09:46:43Z" msg="Mailbox created" /user remoteMailboxID=4 userID=5fd75b07-4901-43ba-8beb-afef1a5f9f54 time="2026-09-17T09:46:43Z" msg="Mailbox created" /user remoteMailboxID=7 userID=5fd75b07-4901-43ba-8beb-afef1a5f9f54 time="2026-09-17T09:46:43Z" msg="Mailbox created" /user remoteMailboxID=8 userID=5fd75b07-4901-43ba-8beb-afef1a5f9f54 time="2026-09-17T09:46:43Z" msg="Mailbox created" /user remoteMailboxID=12 userID=5fd75b07-4901-43ba-8beb-afef1a5f9f54 time="2026-09-17T09:46:43Z" msg="Mailbox created" /user remoteMailboxID=826755e8-d2ac-4dd9-b586-9e737cfeb012 userID=5fd75b07-4901-43ba-8beb-afef1a5f9f54 time="2026-09-17T09:46:43Z" msg="Mailbox created" /user remoteMailboxID=eed617c8-bdf8-4d43-993c-7d7bdcee590d userID=5fd75b07-4901-43ba-8beb-afef1a5f9f54 time="2026-09-17T09:46:43Z" msg="Mailbox created" /user remoteMailboxID=0 userID=5fd75b07-4901-43ba-8beb-afef1a5f9f54 time="2026-09-17T09:46:43Z" msg="Synced labels" time="2026-09-17T09:46:43Z" msg="200 OK: GET https://127.0.0.1:34839/mail/v4/messages/count" /client userID=ee7f9eeb-a0b3-4327-8ac3-c5fcd187c208 time="2026-09-17T09:46:43Z" msg="Syncing messages" time="2026-09-17T09:46:43Z" msg="Job started" time="2026-09-17T09:46:43Z" msg="200 OK: POST https://127.0.0.1:34839/mail/v4/messages" /client userID=ee7f9eeb-a0b3-4327-8ac3-c5fcd187c208 time="2026-09-17T09:46:43Z" msg="Job finished" time="2026-09-17T09:46:43Z" msg="All child jobs completed" sync- time="2026-09-17T09:46:43Z" msg="Synced messages" time="2026-09-17T09:46:43Z" msg="Finished user sync" .953684ms time="2026-09-17T09:46:43Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:46:43Z" msg="Event loop reset" eventID="Ag==" time="2026-09-17T09:46:43Z" msg="200 OK: GET https://127.0.0.1:34839/core/v4/labels?T" /client userID=ee7f9eeb-a0b3-4327-8ac3-c5fcd187c208 time="2026-09-17T09:46:43Z" msg="200 OK: PUT https://127.0.0.1:34839/core/v4/labels/eed617c8-bdf8-4d43-993c-7d7bdcee590d" /client userID=ee7f9eeb-a0b3-4327-8ac3-c5fcd187c208 Scenario: Rename label # features/imap/mailbox/rename.feature:20 When IMAP client "1" renames "Labels/l1" to "Labels/l2" # :1 -> *scenario Then IMAP client "1" sees "Labels/l2" # :1 -> *scenario time="2026-09-17T09:46:43Z" msg="Frontend service stopped" time="2026-09-17T09:46:43Z" msg="Frontend client stopped" time="2026-09-17T09:46:43Z" msg="Closing bridge" time="2026-09-17T09:46:43Z" msg="Stopping service" time="2026-09-17T09:46:43Z" msg="Closing user" userID=ee7f9eeb-a0b3-4327-8ac3-c5fcd187c208 time="2026-09-17T09:46:43Z" msg="De-registering user client, ID:ee7f9eeb-a0b3-4327-8ac3-c5fcd187c208" time="2026-09-17T09:46:43Z" msg="Exiting IMAP Service" time="2026-09-17T09:46:43Z" msg="Exiting service main loop" time="2026-09-17T09:46:43Z" msg="Exiting service main loop" time="2026-09-17T09:46:43Z" msg="Exiting Service" time="2026-09-17T09:46:43Z" msg="Exiting service main loop" time="2026-09-17T09:46:43Z" msg="Exiting service" time="2026-09-17T09:46:43Z" msg="Closing IMAP Listener" time="2026-09-17T09:46:43Z" msg="Closing IMAP server" time="2026-09-17T09:46:43Z" msg="Closing SMTP Listener" time="2026-09-17T09:46:43Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:46:43Z" msg="Closing SMTP server" time="2026-09-17T09:46:43Z" msg="Closing service" And IMAP client "1" does not see "Labels/l1" # :1 -> *scenario time="2026-09-17T09:46:44Z" msg="User '4e7611cf-7bbf-4c5b-adef-841bcabad44c' created with " /server/backend time="2026-09-17T09:46:44Z" msg="Starting bridge" time="2026-09-17T09:46:44Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/052/config2797680475/grpcFocusServerConfig.json /service time="2026-09-17T09:46:44Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/052/cache68740228/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:46:44Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/052/cache68740228/notifications/notification_cache: no such file or directory" time="2026-09-17T09:46:44Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/052/data1406661696/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/052/data1406661696/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:46:44Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:46:44Z" msg="Starting IMAP server" time="2026-09-17T09:46:44Z" msg="Starting SMTP server" time="2026-09-17T09:46:44Z" msg="Starting service" time="2026-09-17T09:46:44Z" msg="Starting service" time="2026-09-17T09:46:44Z" msg="Starting receiver service" time="2026-09-17T09:46:44Z" msg="Starting frontend service" time="2026-09-17T09:46:44Z" msg="Loading users" /user time="2026-09-17T09:46:44Z" msg="Checking for updates" time="2026-09-17T09:46:44Z" msg="Starting poll service" time="2026-09-17T09:46:44Z" msg="Finished loading users" /user time="2026-09-17T09:46:44Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/052/config2797680475/grpcServerConfig.json time="2026-09-17T09:46:44Z" msg="gRPC server listening on /tmp/bridge9771" time="2026-09-17T09:46:44Z" msg="Frontend service started" time="2026-09-17T09:46:44Z" msg="Starting frontend client" time="2026-09-17T09:46:44Z" msg="Not monitoring parent PID" time="2026-09-17T09:46:44Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:46:44Z" msg="Frontend client started" time="2026-09-17T09:46:44Z" msg="200 OK: GET https://127.0.0.1:34143/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:46:44Z" msg="Performing full user login" /user username="******** (4bd6a736)" time="2026-09-17T09:46:44Z" msg="Authorizing user for login" /user username="******** (4bd6a736)" time="2026-09-17T09:46:44Z" msg="200 OK: POST https://127.0.0.1:34143/auth/v4/info" /manager time="2026-09-17T09:46:45Z" msg="200 OK: POST https://127.0.0.1:34143/auth/v4" /manager time="2026-09-17T09:46:45Z" msg="Logging in authorized user" /user userID=0a883e73-89c6-44d0-943d-4b72e9357d84 time="2026-09-17T09:46:45Z" msg="Adding vault user" userID=0a883e73-89c6-44d0-943d-4b72e9357d84 time="2026-09-17T09:46:45Z" msg="Creating new user" userID=0a883e73-89c6-44d0-943d-4b72e9357d84 time="2026-09-17T09:46:45Z" msg="404 GET https://127.0.0.1:34143/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:46:45Z" msg="404 GET https://127.0.0.1:34143/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:46:45Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:34143/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:46:45Z" msg="Creating user object" authUID=cfdf81b7-180b-426f-a42b-a4d5d542f808 numA numL userID=0a883e73-89c6-44d0-943d-4b72e9357d84 time="2026-09-17T09:46:45Z" msg="200 OK: GET https://127.0.0.1:34143/core/v4/events/latest" /client userID=0a883e73-89c6-44d0-943d-4b72e9357d84 time="2026-09-17T09:46:45Z" msg="Starting service Last EventID=Ag==" time="2026-09-17T09:46:45Z" msg="200 OK: GET https://127.0.0.1:34143/core/v4/settings" /client userID=0a883e73-89c6-44d0-943d-4b72e9357d84 time="2026-09-17T09:46:45Z" msg="Registering user client, ID:0a883e73-89c6-44d0-943d-4b72e9357d84" time="2026-09-17T09:46:45Z" msg="Starting user identity service" numA time="2026-09-17T09:46:45Z" msg="Starting service main loop" time="2026-09-17T09:46:45Z" msg="Starting service main loop" time="2026-09-17T09:46:45Z" msg="Starting service main loop" time="2026-09-17T09:46:45Z" msg="200 OK: GET https://127.0.0.1:34143/core/v4/labels?T" /client userID=0a883e73-89c6-44d0-943d-4b72e9357d84 time="2026-09-17T09:46:45Z" msg="200 OK: GET https://127.0.0.1:34143/core/v4/labels?T" /client userID=0a883e73-89c6-44d0-943d-4b72e9357d84 time="2026-09-17T09:46:45Z" msg="200 OK: GET https://127.0.0.1:34143/core/v4/labels?T" /client userID=0a883e73-89c6-44d0-943d-4b72e9357d84 time="2026-09-17T09:46:45Z" msg="Setting labels" labelIDs="[5 8 9 12 0 3 6 7 10 1 2 4 cba8f7b6-b52e-4fdd-9bcc-08fc8543d65c e9e32a6b-6e18-450f-a2ce-c645482e93c6]" time="2026-09-17T09:46:45Z" msg="Adding user to imap server" addrID=90185d93-618d-4b6e-853b-4be8c2dde205 time="2026-09-17T09:46:45Z" msg="Creating new IMAP user" addrID=90185d93-618d-4b6e-853b-4be8c2dde205 time="2026-09-17T09:46:45Z" msg="Setting gluon ID" addrID=90185d93-618d-4b6e-853b-4be8c2dde205 gluonID=659baad0-ca96-4b11-9f14-b5883cd05692 userID=0a883e73-89c6-44d0-943d-4b72e9357d84 time="2026-09-17T09:46:45Z" msg="Received mailbox message count" gluonID=659baad0-ca96-4b11-9f14-b5883cd05692 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:46:45Z" msg="Created new IMAP user" addrID=90185d93-618d-4b6e-853b-4be8c2dde205 gluonID=659baad0-ca96-4b11-9f14-b5883cd05692 time="2026-09-17T09:46:45Z" msg="Validating Listener State" time="2026-09-17T09:46:45Z" time="2026-09-17T09:46:45Z" msg="Checking whether logged in user should re-sync. UserID:0a883e73-89c6-44d0-943d-4b72e9357d84" userID=0a883e73-89c6-44d0-943d-4b72e9357d84 time="2026-09-17T09:46:45Z" msg="Starting IMAP Service" time="2026-09-17T09:46:45Z" msg="Sync triggered" time="2026-09-17T09:46:45Z" msg="Beginning user sync" start="2026-09-17 09:46:45.251719193 +0000 UTC m=+93.744021529" time="2026-09-17T09:46:45Z" msg="Syncing labels" time="2026-09-17T09:46:45Z" msg="Label not found in DB, creating mailbox." labelID=cba8f7b6-b52e-4fdd-9bcc-08fc8543d65c labelPath="CqcPyYxwtd3HBNbKIG3NWRK3vh7cnefdC5utNQpsJU0=" numberOfC /labelConflictResolver time="2026-09-17T09:46:45Z" msg="Label not found in DB, creating mailbox." labelID=e9e32a6b-6e18-450f-a2ce-c645482e93c6 labelPath="f5Qe5RYSMSMdJXJ6f9pncXVUMxi646S+03ipR/WFS6E=" numberOfC /labelConflictResolver time="2026-09-17T09:46:45Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=659baad0-ca96-4b11-9f14-b5883cd05692 time="2026-09-17T09:46:45Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=659baad0-ca96-4b11-9f14-b5883cd05692 time="2026-09-17T09:46:45Z" msg="Mailbox created" /user remoteMailboxID=7 userID=659baad0-ca96-4b11-9f14-b5883cd05692 time="2026-09-17T09:46:45Z" msg="Mailbox created" /user remoteMailboxID=10 userID=659baad0-ca96-4b11-9f14-b5883cd05692 time="2026-09-17T09:46:45Z" msg="Mailbox created" /user remoteMailboxID=4 userID=659baad0-ca96-4b11-9f14-b5883cd05692 time="2026-09-17T09:46:45Z" msg="Mailbox created" /user remoteMailboxID=cba8f7b6-b52e-4fdd-9bcc-08fc8543d65c userID=659baad0-ca96-4b11-9f14-b5883cd05692 time="2026-09-17T09:46:45Z" msg="Mailbox created" /user remoteMailboxID=e9e32a6b-6e18-450f-a2ce-c645482e93c6 userID=659baad0-ca96-4b11-9f14-b5883cd05692 time="2026-09-17T09:46:45Z" msg="Mailbox created" /user remoteMailboxID=5 userID=659baad0-ca96-4b11-9f14-b5883cd05692 time="2026-09-17T09:46:45Z" msg="Mailbox created" /user remoteMailboxID=12 userID=659baad0-ca96-4b11-9f14-b5883cd05692 time="2026-09-17T09:46:45Z" msg="Mailbox created" /user remoteMailboxID=0 userID=659baad0-ca96-4b11-9f14-b5883cd05692 time="2026-09-17T09:46:45Z" msg="Mailbox created" /user remoteMailboxID=3 userID=659baad0-ca96-4b11-9f14-b5883cd05692 time="2026-09-17T09:46:45Z" msg="Mailbox created" /user remoteMailboxID=8 userID=659baad0-ca96-4b11-9f14-b5883cd05692 time="2026-09-17T09:46:45Z" msg="Mailbox created" /user remoteMailboxID=6 userID=659baad0-ca96-4b11-9f14-b5883cd05692 time="2026-09-17T09:46:45Z" msg="Synced labels" time="2026-09-17T09:46:45Z" msg="200 OK: GET https://127.0.0.1:34143/mail/v4/messages/count" /client userID=0a883e73-89c6-44d0-943d-4b72e9357d84 time="2026-09-17T09:46:45Z" msg="Syncing messages" time="2026-09-17T09:46:45Z" msg="Job started" time="2026-09-17T09:46:45Z" msg="200 OK: POST https://127.0.0.1:34143/mail/v4/messages" /client userID=0a883e73-89c6-44d0-943d-4b72e9357d84 time="2026-09-17T09:46:45Z" msg="Job finished" time="2026-09-17T09:46:45Z" msg="All child jobs completed" sync- time="2026-09-17T09:46:45Z" msg="Synced messages" time="2026-09-17T09:46:45Z" msg="Finished user sync" .963172ms time="2026-09-17T09:46:45Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:46:45Z" msg="Event loop reset" eventID="Ag==" time="2026-09-17T09:46:45Z" msg="200 OK: GET https://127.0.0.1:34143/core/v4/labels?T" /client userID=0a883e73-89c6-44d0-943d-4b72e9357d84 time="2026-09-17T09:46:45Z" msg="Command failed" cmd="RENAME 'Hh7A6MmiCZmPjKU5nIy5MQGu52kyeM34kGA9QpvWvi4=' 'ffg2yq/+fEYC0ZySLXnRPnJ4/I1+8M3LAS4l4UNI32o='" error="no such label" /session Scenario: Renaming folder to label is not possible # features/imap/mailbox/rename.feature:25 When IMAP client "1" renames "Folders/f1" to "Labels/f2" # :1 -> *scenario time="2026-09-17T09:46:45Z" msg="Frontend service stopped" time="2026-09-17T09:46:45Z" msg="Frontend client stopped" time="2026-09-17T09:46:45Z" msg="Closing bridge" time="2026-09-17T09:46:45Z" msg="Stopping service" time="2026-09-17T09:46:45Z" msg="Closing user" userID=0a883e73-89c6-44d0-943d-4b72e9357d84 time="2026-09-17T09:46:45Z" msg="De-registering user client, ID:0a883e73-89c6-44d0-943d-4b72e9357d84" time="2026-09-17T09:46:45Z" msg="Exiting IMAP Service" time="2026-09-17T09:46:45Z" msg="Exiting service main loop" time="2026-09-17T09:46:45Z" msg="Exiting service main loop" time="2026-09-17T09:46:45Z" msg="Exiting Service" time="2026-09-17T09:46:45Z" msg="Exiting service main loop" time="2026-09-17T09:46:45Z" msg="Exiting service" time="2026-09-17T09:46:45Z" msg="Closing IMAP Listener" time="2026-09-17T09:46:45Z" msg="Closing IMAP server" time="2026-09-17T09:46:45Z" msg="Closing SMTP Listener" time="2026-09-17T09:46:45Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:46:45Z" msg="Closing SMTP server" time="2026-09-17T09:46:45Z" msg="Closing service" Then it fails # :1 -> *scenario time="2026-09-17T09:46:45Z" msg="User '6e367d4e-4823-4bcb-bdc8-d3b05d07ed0e' created with " /server/backend time="2026-09-17T09:46:46Z" msg="Starting bridge" time="2026-09-17T09:46:46Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/053/config2339606746/grpcFocusServerConfig.json /service time="2026-09-17T09:46:46Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/053/cache2905791503/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:46:46Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/053/cache2905791503/notifications/notification_cache: no such file or directory" time="2026-09-17T09:46:46Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/053/data347644832/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/053/data347644832/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:46:46Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:46:46Z" msg="Starting IMAP server" time="2026-09-17T09:46:46Z" msg="Starting SMTP server" time="2026-09-17T09:46:46Z" msg="Starting service" time="2026-09-17T09:46:46Z" msg="Starting service" time="2026-09-17T09:46:46Z" msg="Starting frontend service" time="2026-09-17T09:46:46Z" msg="Starting poll service" time="2026-09-17T09:46:46Z" msg="Starting receiver service" time="2026-09-17T09:46:46Z" msg="Checking for updates" time="2026-09-17T09:46:46Z" msg="Loading users" /user time="2026-09-17T09:46:46Z" msg="Finished loading users" /user time="2026-09-17T09:46:46Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/053/config2339606746/grpcServerConfig.json time="2026-09-17T09:46:46Z" msg="gRPC server listening on /tmp/bridge8491" time="2026-09-17T09:46:46Z" msg="Frontend service started" time="2026-09-17T09:46:46Z" msg="Starting frontend client" time="2026-09-17T09:46:46Z" msg="Not monitoring parent PID" time="2026-09-17T09:46:46Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:46:46Z" msg="200 OK: GET https://127.0.0.1:37741/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:46:46Z" msg="Frontend client started" time="2026-09-17T09:46:46Z" msg="Performing full user login" /user username="******** (3de7827e)" time="2026-09-17T09:46:46Z" msg="Authorizing user for login" /user username="******** (3de7827e)" time="2026-09-17T09:46:46Z" msg="200 OK: POST https://127.0.0.1:37741/auth/v4/info" /manager time="2026-09-17T09:46:46Z" msg="200 OK: POST https://127.0.0.1:37741/auth/v4" /manager time="2026-09-17T09:46:46Z" msg="Logging in authorized user" /user userID=cc778da2-2814-4bb3-bc1d-93983804d27f time="2026-09-17T09:46:46Z" msg="Adding vault user" userID=cc778da2-2814-4bb3-bc1d-93983804d27f time="2026-09-17T09:46:46Z" msg="Creating new user" userID=cc778da2-2814-4bb3-bc1d-93983804d27f time="2026-09-17T09:46:46Z" msg="404 GET https://127.0.0.1:37741/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:46:46Z" msg="404 GET https://127.0.0.1:37741/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:46:46Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:37741/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:46:46Z" msg="Creating user object" authUID=4bfb2837-cb0b-40b9-a83c-e376ecee7796 numA numL userID=cc778da2-2814-4bb3-bc1d-93983804d27f time="2026-09-17T09:46:46Z" msg="200 OK: GET https://127.0.0.1:37741/core/v4/events/latest" /client userID=cc778da2-2814-4bb3-bc1d-93983804d27f time="2026-09-17T09:46:46Z" msg="Starting service Last EventID=Ag==" time="2026-09-17T09:46:46Z" msg="200 OK: GET https://127.0.0.1:37741/core/v4/settings" /client userID=cc778da2-2814-4bb3-bc1d-93983804d27f time="2026-09-17T09:46:46Z" msg="Registering user client, ID:cc778da2-2814-4bb3-bc1d-93983804d27f" time="2026-09-17T09:46:46Z" msg="Starting service main loop" time="2026-09-17T09:46:46Z" msg="Starting service main loop" time="2026-09-17T09:46:46Z" msg="Starting user identity service" numA time="2026-09-17T09:46:46Z" msg="Starting service main loop" time="2026-09-17T09:46:46Z" msg="200 OK: GET https://127.0.0.1:37741/core/v4/labels?T" /client userID=cc778da2-2814-4bb3-bc1d-93983804d27f time="2026-09-17T09:46:46Z" msg="200 OK: GET https://127.0.0.1:37741/core/v4/labels?T" /client userID=cc778da2-2814-4bb3-bc1d-93983804d27f time="2026-09-17T09:46:46Z" msg="200 OK: GET https://127.0.0.1:37741/core/v4/labels?T" /client userID=cc778da2-2814-4bb3-bc1d-93983804d27f time="2026-09-17T09:46:46Z" msg="Setting labels" labelIDs="[1 2 6 8 10 0 3 4 5 7 9 12 3c1699f4-0227-4a84-a74a-8b8e58964cb4 b3084563-8aed-4211-b0ec-ca2a0e2d494e]" time="2026-09-17T09:46:46Z" msg="Adding user to imap server" addrID=6194b718-feb4-4942-af58-f36054b27d21 time="2026-09-17T09:46:46Z" msg="Creating new IMAP user" addrID=6194b718-feb4-4942-af58-f36054b27d21 time="2026-09-17T09:46:46Z" msg="Setting gluon ID" addrID=6194b718-feb4-4942-af58-f36054b27d21 gluonID=378affc2-7325-4527-bcdf-68d259559e1b userID=cc778da2-2814-4bb3-bc1d-93983804d27f time="2026-09-17T09:46:46Z" msg="Received mailbox message count" gluonID=378affc2-7325-4527-bcdf-68d259559e1b labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:46:46Z" msg="Created new IMAP user" addrID=6194b718-feb4-4942-af58-f36054b27d21 gluonID=378affc2-7325-4527-bcdf-68d259559e1b time="2026-09-17T09:46:46Z" msg="Validating Listener State" time="2026-09-17T09:46:46Z" time="2026-09-17T09:46:46Z" msg="Starting IMAP Service" time="2026-09-17T09:46:46Z" msg="Sync triggered" time="2026-09-17T09:46:46Z" msg="Checking whether logged in user should re-sync. UserID:cc778da2-2814-4bb3-bc1d-93983804d27f" userID=cc778da2-2814-4bb3-bc1d-93983804d27f time="2026-09-17T09:46:46Z" msg="Beginning user sync" start="2026-09-17 09:46:46.715189394 +0000 UTC m=+95.207491690" time="2026-09-17T09:46:46Z" msg="Syncing labels" time="2026-09-17T09:46:46Z" msg="Label not found in DB, creating mailbox." labelID=3c1699f4-0227-4a84-a74a-8b8e58964cb4 labelPath="CqcPyYxwtd3HBNbKIG3NWRK3vh7cnefdC5utNQpsJU0=" numberOfC /labelConflictResolver time="2026-09-17T09:46:46Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=378affc2-7325-4527-bcdf-68d259559e1b time="2026-09-17T09:46:46Z" msg="Label not found in DB, creating mailbox." labelID=b3084563-8aed-4211-b0ec-ca2a0e2d494e labelPath="f5Qe5RYSMSMdJXJ6f9pncXVUMxi646S+03ipR/WFS6E=" numberOfC /labelConflictResolver time="2026-09-17T09:46:46Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=378affc2-7325-4527-bcdf-68d259559e1b time="2026-09-17T09:46:46Z" msg="Mailbox created" /user remoteMailboxID=7 userID=378affc2-7325-4527-bcdf-68d259559e1b time="2026-09-17T09:46:46Z" msg="Mailbox created" /user remoteMailboxID=3c1699f4-0227-4a84-a74a-8b8e58964cb4 userID=378affc2-7325-4527-bcdf-68d259559e1b time="2026-09-17T09:46:46Z" msg="Mailbox created" /user remoteMailboxID=10 userID=378affc2-7325-4527-bcdf-68d259559e1b time="2026-09-17T09:46:46Z" msg="Mailbox created" /user remoteMailboxID=0 userID=378affc2-7325-4527-bcdf-68d259559e1b time="2026-09-17T09:46:46Z" msg="Mailbox created" /user remoteMailboxID=5 userID=378affc2-7325-4527-bcdf-68d259559e1b time="2026-09-17T09:46:46Z" msg="Mailbox created" /user remoteMailboxID=12 userID=378affc2-7325-4527-bcdf-68d259559e1b time="2026-09-17T09:46:46Z" msg="Mailbox created" /user remoteMailboxID=b3084563-8aed-4211-b0ec-ca2a0e2d494e userID=378affc2-7325-4527-bcdf-68d259559e1b time="2026-09-17T09:46:46Z" msg="Mailbox created" /user remoteMailboxID=6 userID=378affc2-7325-4527-bcdf-68d259559e1b time="2026-09-17T09:46:46Z" msg="Mailbox created" /user remoteMailboxID=8 userID=378affc2-7325-4527-bcdf-68d259559e1b time="2026-09-17T09:46:46Z" msg="Mailbox created" /user remoteMailboxID=3 userID=378affc2-7325-4527-bcdf-68d259559e1b time="2026-09-17T09:46:46Z" msg="Mailbox created" /user remoteMailboxID=4 userID=378affc2-7325-4527-bcdf-68d259559e1b time="2026-09-17T09:46:46Z" msg="Synced labels" time="2026-09-17T09:46:46Z" msg="200 OK: GET https://127.0.0.1:37741/mail/v4/messages/count" /client userID=cc778da2-2814-4bb3-bc1d-93983804d27f time="2026-09-17T09:46:46Z" msg="Syncing messages" time="2026-09-17T09:46:46Z" msg="Job started" time="2026-09-17T09:46:46Z" msg="200 OK: POST https://127.0.0.1:37741/mail/v4/messages" /client userID=cc778da2-2814-4bb3-bc1d-93983804d27f time="2026-09-17T09:46:46Z" msg="Job finished" time="2026-09-17T09:46:46Z" msg="All child jobs completed" sync- time="2026-09-17T09:46:46Z" msg="Synced messages" time="2026-09-17T09:46:46Z" msg="Finished user sync" .077569ms time="2026-09-17T09:46:46Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:46:46Z" msg="Event loop reset" eventID="Ag==" time="2026-09-17T09:46:46Z" msg="200 OK: GET https://127.0.0.1:37741/core/v4/labels?T" /client userID=cc778da2-2814-4bb3-bc1d-93983804d27f time="2026-09-17T09:46:46Z" msg="Command failed" cmd="RENAME 'SWe9/qWjt7f3RxUASQ6Hv0xvByWEYJ4nWGdfw4AW0MQ=' 'UlB+ObT5VymLo6BL127ifkyU3aVfUjXuw26K6lCKrAw='" error="no such label" /session Scenario: Renaming system folder is not possible # features/imap/mailbox/rename.feature:29 When IMAP client "1" renames "Labels/l1" to "Folders/l2" # :1 -> *scenario time="2026-09-17T09:46:46Z" msg="Frontend service stopped" time="2026-09-17T09:46:46Z" msg="Frontend client stopped" time="2026-09-17T09:46:46Z" msg="Closing bridge" time="2026-09-17T09:46:46Z" msg="Stopping service" time="2026-09-17T09:46:46Z" msg="Closing user" userID=cc778da2-2814-4bb3-bc1d-93983804d27f time="2026-09-17T09:46:46Z" msg="De-registering user client, ID:cc778da2-2814-4bb3-bc1d-93983804d27f" time="2026-09-17T09:46:46Z" msg="Exiting IMAP Service" time="2026-09-17T09:46:46Z" msg="Exiting service main loop" time="2026-09-17T09:46:46Z" msg="Exiting service main loop" time="2026-09-17T09:46:46Z" msg="Exiting Service" time="2026-09-17T09:46:46Z" msg="Exiting service main loop" time="2026-09-17T09:46:46Z" msg="Exiting service" time="2026-09-17T09:46:46Z" msg="Closing IMAP Listener" time="2026-09-17T09:46:46Z" msg="Closing IMAP server" time="2026-09-17T09:46:46Z" msg="Closing SMTP Listener" time="2026-09-17T09:46:46Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:46:46Z" msg="Closing SMTP server" time="2026-09-17T09:46:46Z" msg="Closing service" Then it fails # :1 -> *scenario Feature: IMAP get mailbox info time="2026-09-17T09:46:46Z" msg="User '143eaea8-a330-444d-8b6d-95bae47829a2' created with " /server/backend Background: Given there exists an account with username "143eaea8-a330-444d-8b6d-95bae47829a2" and password "password" # :1 -> *scenario And the account "143eaea8-a330-444d-8b6d-95bae47829a2" has the following custom mailboxes: # :1 -> *scenario | name | type | | f1 | folder | | f1/f2 | folder | Then it succeeds # :1 -> *scenario time="2026-09-17T09:46:47Z" msg="Starting bridge" time="2026-09-17T09:46:47Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/054/config1832275782/grpcFocusServerConfig.json /service time="2026-09-17T09:46:47Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/054/cache3761890754/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:46:47Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/054/cache3761890754/notifications/notification_cache: no such file or directory" time="2026-09-17T09:46:47Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/054/data294698716/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/054/data294698716/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:46:47Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:46:47Z" msg="Starting IMAP server" time="2026-09-17T09:46:47Z" msg="Starting SMTP server" time="2026-09-17T09:46:47Z" msg="Starting service" time="2026-09-17T09:46:47Z" msg="Starting service" time="2026-09-17T09:46:47Z" msg="Starting receiver service" time="2026-09-17T09:46:47Z" msg="Starting frontend service" time="2026-09-17T09:46:47Z" msg="Checking for updates" time="2026-09-17T09:46:47Z" msg="Loading users" /user time="2026-09-17T09:46:47Z" msg="Starting poll service" time="2026-09-17T09:46:47Z" msg="Finished loading users" /user time="2026-09-17T09:46:47Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/054/config1832275782/grpcServerConfig.json time="2026-09-17T09:46:47Z" msg="gRPC server listening on /tmp/bridge5580" time="2026-09-17T09:46:47Z" msg="Frontend service started" time="2026-09-17T09:46:47Z" msg="Starting frontend client" time="2026-09-17T09:46:47Z" msg="Not monitoring parent PID" time="2026-09-17T09:46:47Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:46:47Z" msg="200 OK: GET https://127.0.0.1:44253/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:46:47Z" msg="Frontend client started" When bridge starts # :1 -> *scenario time="2026-09-17T09:46:47Z" msg="Performing full user login" /user username="******** (81b096cb)" time="2026-09-17T09:46:47Z" msg="Authorizing user for login" /user username="******** (81b096cb)" time="2026-09-17T09:46:47Z" msg="200 OK: POST https://127.0.0.1:44253/auth/v4/info" /manager time="2026-09-17T09:46:48Z" msg="200 OK: POST https://127.0.0.1:44253/auth/v4" /manager time="2026-09-17T09:46:48Z" msg="Logging in authorized user" /user userID=9bc1eb9d-35e3-49d1-b3da-162f014eecb9 time="2026-09-17T09:46:48Z" msg="Adding vault user" userID=9bc1eb9d-35e3-49d1-b3da-162f014eecb9 time="2026-09-17T09:46:48Z" msg="Creating new user" userID=9bc1eb9d-35e3-49d1-b3da-162f014eecb9 time="2026-09-17T09:46:48Z" msg="404 GET https://127.0.0.1:44253/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:46:48Z" msg="404 GET https://127.0.0.1:44253/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:46:48Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:44253/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:46:48Z" msg="Creating user object" authUID=131d65e8-c492-4ea8-82d6-10dd4dbfac8c numA numL userID=9bc1eb9d-35e3-49d1-b3da-162f014eecb9 time="2026-09-17T09:46:48Z" msg="200 OK: GET https://127.0.0.1:44253/core/v4/events/latest" /client userID=9bc1eb9d-35e3-49d1-b3da-162f014eecb9 time="2026-09-17T09:46:48Z" msg="Starting service Last EventID=Ag==" time="2026-09-17T09:46:48Z" msg="200 OK: GET https://127.0.0.1:44253/core/v4/settings" /client userID=9bc1eb9d-35e3-49d1-b3da-162f014eecb9 time="2026-09-17T09:46:48Z" msg="Registering user client, ID:9bc1eb9d-35e3-49d1-b3da-162f014eecb9" time="2026-09-17T09:46:48Z" msg="Starting service main loop" time="2026-09-17T09:46:48Z" msg="Starting service main loop" time="2026-09-17T09:46:48Z" msg="Starting user identity service" numA time="2026-09-17T09:46:48Z" msg="Starting service main loop" time="2026-09-17T09:46:48Z" msg="200 OK: GET https://127.0.0.1:44253/core/v4/labels?T" /client userID=9bc1eb9d-35e3-49d1-b3da-162f014eecb9 time="2026-09-17T09:46:48Z" msg="200 OK: GET https://127.0.0.1:44253/core/v4/labels?T" /client userID=9bc1eb9d-35e3-49d1-b3da-162f014eecb9 time="2026-09-17T09:46:48Z" msg="200 OK: GET https://127.0.0.1:44253/core/v4/labels?T" /client userID=9bc1eb9d-35e3-49d1-b3da-162f014eecb9 time="2026-09-17T09:46:48Z" msg="Setting labels" labelIDs="[9 12 1 2 5 6 8 10 0 3 4 7 8ec0cab3-760c-454f-9e74-c2f865539572 d250acad-ca26-4800-b525-0d30e7d867b9]" time="2026-09-17T09:46:48Z" msg="Adding user to imap server" addrID=9ec91c67-a368-4acf-b7ac-1b6cff5aaab8 time="2026-09-17T09:46:48Z" msg="Creating new IMAP user" addrID=9ec91c67-a368-4acf-b7ac-1b6cff5aaab8 time="2026-09-17T09:46:48Z" msg="Setting gluon ID" addrID=9ec91c67-a368-4acf-b7ac-1b6cff5aaab8 gluonID=07053fb1-c45c-4914-9d65-e5395d42d4ca userID=9bc1eb9d-35e3-49d1-b3da-162f014eecb9 time="2026-09-17T09:46:48Z" msg="Received mailbox message count" gluonID=07053fb1-c45c-4914-9d65-e5395d42d4ca labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:46:48Z" msg="Created new IMAP user" addrID=9ec91c67-a368-4acf-b7ac-1b6cff5aaab8 gluonID=07053fb1-c45c-4914-9d65-e5395d42d4ca time="2026-09-17T09:46:48Z" msg="Validating Listener State" time="2026-09-17T09:46:48Z" time="2026-09-17T09:46:48Z" msg="Starting IMAP Service" time="2026-09-17T09:46:48Z" msg="Checking whether logged in user should re-sync. UserID:9bc1eb9d-35e3-49d1-b3da-162f014eecb9" userID=9bc1eb9d-35e3-49d1-b3da-162f014eecb9 time="2026-09-17T09:46:48Z" msg="Sync triggered" time="2026-09-17T09:46:48Z" msg="Beginning user sync" start="2026-09-17 09:46:48.171581606 +0000 UTC m=+96.663883902" And the user logs in with username "143eaea8-a330-444d-8b6d-95bae47829a2" and password "password" # :1 -> *scenario time="2026-09-17T09:46:48Z" msg="Syncing labels" time="2026-09-17T09:46:48Z" msg="Label not found in DB, creating mailbox." labelID=8ec0cab3-760c-454f-9e74-c2f865539572 labelPath="CqcPyYxwtd3HBNbKIG3NWRK3vh7cnefdC5utNQpsJU0=" numberOfC /labelConflictResolver time="2026-09-17T09:46:48Z" msg="Label not found in DB, creating mailbox." labelID=d250acad-ca26-4800-b525-0d30e7d867b9 labelPath="8r6IKAo9oMcZiF4snfPKYijpR04oV7+u1+o4yQ9u/aU=" numberOfC /labelConflictResolver time="2026-09-17T09:46:48Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=07053fb1-c45c-4914-9d65-e5395d42d4ca time="2026-09-17T09:46:48Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=07053fb1-c45c-4914-9d65-e5395d42d4ca time="2026-09-17T09:46:48Z" msg="Mailbox created" /user remoteMailboxID=12 userID=07053fb1-c45c-4914-9d65-e5395d42d4ca time="2026-09-17T09:46:48Z" msg="Mailbox created" /user remoteMailboxID=5 userID=07053fb1-c45c-4914-9d65-e5395d42d4ca time="2026-09-17T09:46:48Z" msg="Mailbox created" /user remoteMailboxID=6 userID=07053fb1-c45c-4914-9d65-e5395d42d4ca time="2026-09-17T09:46:48Z" msg="Mailbox created" /user remoteMailboxID=10 userID=07053fb1-c45c-4914-9d65-e5395d42d4ca time="2026-09-17T09:46:48Z" msg="Mailbox created" /user remoteMailboxID=0 userID=07053fb1-c45c-4914-9d65-e5395d42d4ca time="2026-09-17T09:46:48Z" msg="Mailbox created" /user remoteMailboxID=8ec0cab3-760c-454f-9e74-c2f865539572 userID=07053fb1-c45c-4914-9d65-e5395d42d4ca time="2026-09-17T09:46:48Z" msg="Mailbox created" /user remoteMailboxID=8 userID=07053fb1-c45c-4914-9d65-e5395d42d4ca time="2026-09-17T09:46:48Z" msg="Mailbox created" /user remoteMailboxID=3 userID=07053fb1-c45c-4914-9d65-e5395d42d4ca time="2026-09-17T09:46:48Z" msg="Mailbox created" /user remoteMailboxID=4 userID=07053fb1-c45c-4914-9d65-e5395d42d4ca time="2026-09-17T09:46:48Z" msg="Mailbox created" /user remoteMailboxID=7 userID=07053fb1-c45c-4914-9d65-e5395d42d4ca time="2026-09-17T09:46:48Z" msg="Mailbox created" /user remoteMailboxID=d250acad-ca26-4800-b525-0d30e7d867b9 userID=07053fb1-c45c-4914-9d65-e5395d42d4ca time="2026-09-17T09:46:48Z" msg="Synced labels" time="2026-09-17T09:46:48Z" msg="200 OK: GET https://127.0.0.1:44253/mail/v4/messages/count" /client userID=9bc1eb9d-35e3-49d1-b3da-162f014eecb9 time="2026-09-17T09:46:48Z" msg="Syncing messages" time="2026-09-17T09:46:48Z" msg="Job started" time="2026-09-17T09:46:48Z" msg="200 OK: POST https://127.0.0.1:44253/mail/v4/messages" /client userID=9bc1eb9d-35e3-49d1-b3da-162f014eecb9 time="2026-09-17T09:46:48Z" msg="Job finished" time="2026-09-17T09:46:48Z" msg="All child jobs completed" sync- time="2026-09-17T09:46:48Z" msg="Synced messages" time="2026-09-17T09:46:48Z" msg="Finished user sync" .831536ms time="2026-09-17T09:46:48Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:46:48Z" msg="Event loop reset" eventID="Ag==" And user "143eaea8-a330-444d-8b6d-95bae47829a2" finishes syncing # :1 -> *scenario And user "143eaea8-a330-444d-8b6d-95bae47829a2" connects and authenticates IMAP client "1" # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:46:48Z" msg="200 OK: GET https://127.0.0.1:44253/core/v4/labels?T" /client userID=9bc1eb9d-35e3-49d1-b3da-162f014eecb9 time="2026-09-17T09:46:48Z" msg="200 OK: PUT https://127.0.0.1:44253/core/v4/labels/8ec0cab3-760c-454f-9e74-c2f865539572" /client userID=9bc1eb9d-35e3-49d1-b3da-162f014eecb9 Scenario: Rename folder with subfolders # features/imap/mailbox/rename_hiearchy.feature:17 When IMAP client "1" renames "Folders/f1" to "Folders/f3" # :1 -> *scenario And it succeeds # :1 -> *scenario Then IMAP client "1" sees "Folders/f3" # :1 -> *scenario Then IMAP client "1" sees "Folders/f3/f2" # :1 -> *scenario And IMAP client "1" does not see "Folders/f1" # :1 -> *scenario time="2026-09-17T09:46:48Z" msg="Frontend service stopped" time="2026-09-17T09:46:48Z" msg="Frontend client stopped" time="2026-09-17T09:46:48Z" msg="Closing bridge" time="2026-09-17T09:46:48Z" msg="Stopping service" time="2026-09-17T09:46:48Z" msg="Closing user" userID=9bc1eb9d-35e3-49d1-b3da-162f014eecb9 time="2026-09-17T09:46:48Z" msg="De-registering user client, ID:9bc1eb9d-35e3-49d1-b3da-162f014eecb9" time="2026-09-17T09:46:48Z" msg="Exiting IMAP Service" time="2026-09-17T09:46:48Z" msg="Exiting service main loop" time="2026-09-17T09:46:48Z" msg="Exiting service main loop" time="2026-09-17T09:46:48Z" msg="Exiting Service" time="2026-09-17T09:46:48Z" msg="Exiting service main loop" time="2026-09-17T09:46:48Z" msg="Exiting service" time="2026-09-17T09:46:48Z" msg="Closing IMAP Listener" time="2026-09-17T09:46:48Z" msg="Closing IMAP server" time="2026-09-17T09:46:48Z" msg="Closing SMTP Listener" time="2026-09-17T09:46:48Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:46:48Z" msg="Closing SMTP server" time="2026-09-17T09:46:48Z" msg="Closing service" And IMAP client "1" does not see "Folders/f1/f2" # :1 -> *scenario Feature: IMAP select mailbox time="2026-09-17T09:46:48Z" msg="User '1805a308-aea2-4903-b115-6eb17c4d2798' created with " /server/backend Background: Given there exists an account with username "1805a308-aea2-4903-b115-6eb17c4d2798" and password "password" # :1 -> *scenario And the account "1805a308-aea2-4903-b115-6eb17c4d2798" has the following custom mailboxes: # :1 -> *scenario | name | type | | mbox | folder | | label | label | Then it succeeds # :1 -> *scenario time="2026-09-17T09:46:49Z" msg="Starting bridge" time="2026-09-17T09:46:49Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/055/config4035242937/grpcFocusServerConfig.json /service time="2026-09-17T09:46:49Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/055/cache1114506852/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:46:49Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/055/cache1114506852/notifications/notification_cache: no such file or directory" time="2026-09-17T09:46:49Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/055/data3174375279/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/055/data3174375279/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:46:49Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:46:49Z" msg="Starting IMAP server" time="2026-09-17T09:46:49Z" msg="Starting SMTP server" time="2026-09-17T09:46:49Z" msg="Starting service" time="2026-09-17T09:46:49Z" msg="Starting service" time="2026-09-17T09:46:49Z" msg="Starting frontend service" time="2026-09-17T09:46:49Z" msg="Starting receiver service" time="2026-09-17T09:46:49Z" msg="Checking for updates" time="2026-09-17T09:46:49Z" msg="Loading users" /user time="2026-09-17T09:46:49Z" msg="Starting poll service" time="2026-09-17T09:46:49Z" msg="Finished loading users" /user time="2026-09-17T09:46:49Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/055/config4035242937/grpcServerConfig.json time="2026-09-17T09:46:49Z" msg="gRPC server listening on /tmp/bridge1098" time="2026-09-17T09:46:49Z" msg="Frontend service started" time="2026-09-17T09:46:49Z" msg="Starting frontend client" time="2026-09-17T09:46:49Z" msg="Not monitoring parent PID" time="2026-09-17T09:46:49Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:46:49Z" msg="Frontend client started" time="2026-09-17T09:46:49Z" msg="200 OK: GET https://127.0.0.1:41611/feature/v2/frontend?bridgeStickyK" /manager When bridge starts # :1 -> *scenario time="2026-09-17T09:46:49Z" msg="Performing full user login" /user username="******** (b16bcdc2)" time="2026-09-17T09:46:49Z" msg="Authorizing user for login" /user username="******** (b16bcdc2)" time="2026-09-17T09:46:49Z" msg="200 OK: POST https://127.0.0.1:41611/auth/v4/info" /manager time="2026-09-17T09:46:49Z" msg="200 OK: POST https://127.0.0.1:41611/auth/v4" /manager time="2026-09-17T09:46:49Z" msg="Logging in authorized user" /user userID=ad4bc239-7800-405e-a5dd-7fc72fbc81ee time="2026-09-17T09:46:49Z" msg="Adding vault user" userID=ad4bc239-7800-405e-a5dd-7fc72fbc81ee time="2026-09-17T09:46:49Z" msg="Creating new user" userID=ad4bc239-7800-405e-a5dd-7fc72fbc81ee time="2026-09-17T09:46:49Z" msg="404 GET https://127.0.0.1:41611/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:46:49Z" msg="404 GET https://127.0.0.1:41611/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:46:49Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:41611/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:46:49Z" msg="Creating user object" authUID=5ce4a8a0-8ad3-44da-a7ce-60418bcfc09e numA numL userID=ad4bc239-7800-405e-a5dd-7fc72fbc81ee time="2026-09-17T09:46:49Z" msg="200 OK: GET https://127.0.0.1:41611/core/v4/events/latest" /client userID=ad4bc239-7800-405e-a5dd-7fc72fbc81ee time="2026-09-17T09:46:49Z" msg="Starting service Last EventID=Ag==" time="2026-09-17T09:46:49Z" msg="200 OK: GET https://127.0.0.1:41611/core/v4/settings" /client userID=ad4bc239-7800-405e-a5dd-7fc72fbc81ee time="2026-09-17T09:46:49Z" msg="Registering user client, ID:ad4bc239-7800-405e-a5dd-7fc72fbc81ee" time="2026-09-17T09:46:49Z" msg="Starting service main loop" time="2026-09-17T09:46:49Z" msg="Starting service main loop" time="2026-09-17T09:46:49Z" msg="Starting user identity service" numA time="2026-09-17T09:46:49Z" msg="Starting service main loop" time="2026-09-17T09:46:49Z" msg="200 OK: GET https://127.0.0.1:41611/core/v4/labels?T" /client userID=ad4bc239-7800-405e-a5dd-7fc72fbc81ee time="2026-09-17T09:46:49Z" msg="200 OK: GET https://127.0.0.1:41611/core/v4/labels?T" /client userID=ad4bc239-7800-405e-a5dd-7fc72fbc81ee time="2026-09-17T09:46:49Z" msg="200 OK: GET https://127.0.0.1:41611/core/v4/labels?T" /client userID=ad4bc239-7800-405e-a5dd-7fc72fbc81ee time="2026-09-17T09:46:49Z" msg="Setting labels" labelIDs="[10 0 1 2 4 5 12 3 6 7 8 9 7b362de2-54ad-4a55-a371-9def93bae3ed 495327e6-6a8d-4549-9a82-8a8ecad2df82]" time="2026-09-17T09:46:49Z" msg="Adding user to imap server" addrID=de263798-e289-4b99-b159-51e24985e08e time="2026-09-17T09:46:49Z" msg="Creating new IMAP user" addrID=de263798-e289-4b99-b159-51e24985e08e time="2026-09-17T09:46:49Z" msg="Setting gluon ID" addrID=de263798-e289-4b99-b159-51e24985e08e gluonID=8f3552cd-84e4-46d1-a7cd-fecb8df60367 userID=ad4bc239-7800-405e-a5dd-7fc72fbc81ee time="2026-09-17T09:46:49Z" msg="Created new IMAP user" addrID=de263798-e289-4b99-b159-51e24985e08e gluonID=8f3552cd-84e4-46d1-a7cd-fecb8df60367 time="2026-09-17T09:46:49Z" msg="Received mailbox message count" gluonID=8f3552cd-84e4-46d1-a7cd-fecb8df60367 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:46:49Z" msg="Starting IMAP Service" time="2026-09-17T09:46:49Z" msg="Validating Listener State" time="2026-09-17T09:46:49Z" time="2026-09-17T09:46:49Z" msg="Sync triggered" time="2026-09-17T09:46:49Z" msg="Checking whether logged in user should re-sync. UserID:ad4bc239-7800-405e-a5dd-7fc72fbc81ee" userID=ad4bc239-7800-405e-a5dd-7fc72fbc81ee time="2026-09-17T09:46:49Z" msg="Beginning user sync" start="2026-09-17 09:46:49.664234696 +0000 UTC m=+98.156537072" And the user logs in with username "1805a308-aea2-4903-b115-6eb17c4d2798" and password "password" # :1 -> *scenario time="2026-09-17T09:46:49Z" msg="Syncing labels" time="2026-09-17T09:46:49Z" msg="Label not found in DB, creating mailbox." labelID=495327e6-6a8d-4549-9a82-8a8ecad2df82 labelPath="mHoyd+am6bmNoUvxRZ/ZRvBIQnwu+1OQWf1jSR3oA+s=" numberOfC /labelConflictResolver time="2026-09-17T09:46:49Z" msg="Label not found in DB, creating mailbox." labelID=7b362de2-54ad-4a55-a371-9def93bae3ed labelPath="jm2pV8GS7FVFPTesFaU5jW/EhDgcEQCxeWTMDFRvNjU=" numberOfC /labelConflictResolver time="2026-09-17T09:46:49Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=8f3552cd-84e4-46d1-a7cd-fecb8df60367 time="2026-09-17T09:46:49Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=8f3552cd-84e4-46d1-a7cd-fecb8df60367 time="2026-09-17T09:46:49Z" msg="Mailbox created" /user remoteMailboxID=495327e6-6a8d-4549-9a82-8a8ecad2df82 userID=8f3552cd-84e4-46d1-a7cd-fecb8df60367 time="2026-09-17T09:46:49Z" msg="Mailbox created" /user remoteMailboxID=10 userID=8f3552cd-84e4-46d1-a7cd-fecb8df60367 time="2026-09-17T09:46:49Z" msg="Mailbox created" /user remoteMailboxID=0 userID=8f3552cd-84e4-46d1-a7cd-fecb8df60367 time="2026-09-17T09:46:49Z" msg="Mailbox created" /user remoteMailboxID=4 userID=8f3552cd-84e4-46d1-a7cd-fecb8df60367 time="2026-09-17T09:46:49Z" msg="Mailbox created" /user remoteMailboxID=5 userID=8f3552cd-84e4-46d1-a7cd-fecb8df60367 time="2026-09-17T09:46:49Z" msg="Mailbox created" /user remoteMailboxID=12 userID=8f3552cd-84e4-46d1-a7cd-fecb8df60367 time="2026-09-17T09:46:49Z" msg="Mailbox created" /user remoteMailboxID=6 userID=8f3552cd-84e4-46d1-a7cd-fecb8df60367 time="2026-09-17T09:46:49Z" msg="Mailbox created" /user remoteMailboxID=7 userID=8f3552cd-84e4-46d1-a7cd-fecb8df60367 time="2026-09-17T09:46:49Z" msg="Mailbox created" /user remoteMailboxID=3 userID=8f3552cd-84e4-46d1-a7cd-fecb8df60367 time="2026-09-17T09:46:49Z" msg="Mailbox created" /user remoteMailboxID=8 userID=8f3552cd-84e4-46d1-a7cd-fecb8df60367 time="2026-09-17T09:46:49Z" msg="Mailbox created" /user remoteMailboxID=7b362de2-54ad-4a55-a371-9def93bae3ed userID=8f3552cd-84e4-46d1-a7cd-fecb8df60367 time="2026-09-17T09:46:49Z" msg="Synced labels" time="2026-09-17T09:46:49Z" msg="200 OK: GET https://127.0.0.1:41611/mail/v4/messages/count" /client userID=ad4bc239-7800-405e-a5dd-7fc72fbc81ee time="2026-09-17T09:46:49Z" msg="Syncing messages" time="2026-09-17T09:46:49Z" msg="Job started" time="2026-09-17T09:46:49Z" msg="200 OK: POST https://127.0.0.1:41611/mail/v4/messages" /client userID=ad4bc239-7800-405e-a5dd-7fc72fbc81ee time="2026-09-17T09:46:49Z" msg="Job finished" time="2026-09-17T09:46:49Z" msg="All child jobs completed" sync- time="2026-09-17T09:46:49Z" msg="Synced messages" time="2026-09-17T09:46:49Z" msg="Finished user sync" .668923ms time="2026-09-17T09:46:49Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:46:49Z" msg="Event loop reset" eventID="Ag==" And user "1805a308-aea2-4903-b115-6eb17c4d2798" finishes syncing # :1 -> *scenario And user "1805a308-aea2-4903-b115-6eb17c4d2798" connects and authenticates IMAP client "1" # :1 -> *scenario Then it succeeds # :1 -> *scenario Scenario: Select inbox # features/imap/mailbox/select.feature:15 When IMAP client "1" selects "INBOX" # :1 -> *scenario time="2026-09-17T09:46:49Z" msg="Frontend service stopped" time="2026-09-17T09:46:49Z" msg="Frontend client stopped" time="2026-09-17T09:46:49Z" msg="Closing bridge" time="2026-09-17T09:46:49Z" msg="Stopping service" time="2026-09-17T09:46:49Z" msg="Closing user" userID=ad4bc239-7800-405e-a5dd-7fc72fbc81ee time="2026-09-17T09:46:49Z" msg="De-registering user client, ID:ad4bc239-7800-405e-a5dd-7fc72fbc81ee" time="2026-09-17T09:46:49Z" msg="Exiting IMAP Service" time="2026-09-17T09:46:49Z" msg="Exiting service main loop" time="2026-09-17T09:46:49Z" msg="Exiting service main loop" time="2026-09-17T09:46:49Z" msg="Exiting Service" time="2026-09-17T09:46:49Z" msg="Exiting service main loop" time="2026-09-17T09:46:49Z" msg="Exiting service" time="2026-09-17T09:46:49Z" msg="Closing IMAP Listener" time="2026-09-17T09:46:49Z" msg="Closing IMAP server" time="2026-09-17T09:46:49Z" msg="Closing SMTP Listener" time="2026-09-17T09:46:49Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:46:49Z" msg="Closing SMTP server" time="2026-09-17T09:46:49Z" msg="Closing service" Then it succeeds # :1 -> *scenario time="2026-09-17T09:46:49Z" msg="User '6a1124c4-49a9-4369-a6d3-0209aa18f1bd' created with " /server/backend time="2026-09-17T09:46:50Z" msg="Starting bridge" time="2026-09-17T09:46:50Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/056/config3234510525/grpcFocusServerConfig.json /service time="2026-09-17T09:46:50Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/056/cache1652506043/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:46:50Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/056/cache1652506043/notifications/notification_cache: no such file or directory" time="2026-09-17T09:46:50Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/056/data1328009787/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/056/data1328009787/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:46:50Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:46:50Z" msg="Starting IMAP server" time="2026-09-17T09:46:50Z" msg="Starting SMTP server" time="2026-09-17T09:46:50Z" msg="Starting service" time="2026-09-17T09:46:50Z" msg="Starting service" time="2026-09-17T09:46:50Z" msg="Starting receiver service" time="2026-09-17T09:46:50Z" msg="Starting poll service" time="2026-09-17T09:46:50Z" msg="Starting frontend service" time="2026-09-17T09:46:50Z" msg="Loading users" /user time="2026-09-17T09:46:50Z" msg="Finished loading users" /user time="2026-09-17T09:46:50Z" msg="Checking for updates" time="2026-09-17T09:46:50Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/056/config3234510525/grpcServerConfig.json time="2026-09-17T09:46:50Z" msg="gRPC server listening on /tmp/bridge1199" time="2026-09-17T09:46:50Z" msg="Frontend service started" time="2026-09-17T09:46:50Z" msg="Starting frontend client" time="2026-09-17T09:46:50Z" msg="Not monitoring parent PID" time="2026-09-17T09:46:50Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:46:50Z" msg="200 OK: GET https://127.0.0.1:34195/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:46:50Z" msg="Frontend client started" time="2026-09-17T09:46:50Z" msg="Performing full user login" /user username="******** (b88cab8d)" time="2026-09-17T09:46:50Z" msg="Authorizing user for login" /user username="******** (b88cab8d)" time="2026-09-17T09:46:50Z" msg="200 OK: POST https://127.0.0.1:34195/auth/v4/info" /manager time="2026-09-17T09:46:51Z" msg="200 OK: POST https://127.0.0.1:34195/auth/v4" /manager time="2026-09-17T09:46:51Z" msg="Logging in authorized user" /user userID=303195d7-8c75-4dc7-9e9d-f140eaf75d62 time="2026-09-17T09:46:51Z" msg="Adding vault user" userID=303195d7-8c75-4dc7-9e9d-f140eaf75d62 time="2026-09-17T09:46:51Z" msg="Creating new user" userID=303195d7-8c75-4dc7-9e9d-f140eaf75d62 time="2026-09-17T09:46:51Z" msg="404 GET https://127.0.0.1:34195/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:46:51Z" msg="404 GET https://127.0.0.1:34195/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:46:51Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:34195/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:46:51Z" msg="Creating user object" authUID=e6432fbc-e39c-4b5c-9995-2bcfaeefa158 numA numL userID=303195d7-8c75-4dc7-9e9d-f140eaf75d62 time="2026-09-17T09:46:51Z" msg="200 OK: GET https://127.0.0.1:34195/core/v4/events/latest" /client userID=303195d7-8c75-4dc7-9e9d-f140eaf75d62 time="2026-09-17T09:46:51Z" msg="Starting service Last EventID=Ag==" time="2026-09-17T09:46:51Z" msg="200 OK: GET https://127.0.0.1:34195/core/v4/settings" /client userID=303195d7-8c75-4dc7-9e9d-f140eaf75d62 time="2026-09-17T09:46:51Z" msg="Registering user client, ID:303195d7-8c75-4dc7-9e9d-f140eaf75d62" time="2026-09-17T09:46:51Z" msg="Starting user identity service" numA time="2026-09-17T09:46:51Z" msg="Starting service main loop" time="2026-09-17T09:46:51Z" msg="Starting service main loop" time="2026-09-17T09:46:51Z" msg="Starting service main loop" time="2026-09-17T09:46:51Z" msg="200 OK: GET https://127.0.0.1:34195/core/v4/labels?T" /client userID=303195d7-8c75-4dc7-9e9d-f140eaf75d62 time="2026-09-17T09:46:51Z" msg="200 OK: GET https://127.0.0.1:34195/core/v4/labels?T" /client userID=303195d7-8c75-4dc7-9e9d-f140eaf75d62 time="2026-09-17T09:46:51Z" msg="200 OK: GET https://127.0.0.1:34195/core/v4/labels?T" /client userID=303195d7-8c75-4dc7-9e9d-f140eaf75d62 time="2026-09-17T09:46:51Z" msg="Setting labels" labelIDs="[5 7 8 12 1 2 3 4 6 9 10 0 52a34f4b-1bec-4df3-aedb-04b96f5fce53 0741be86-436b-443d-bd0f-9a3c1905ce76]" time="2026-09-17T09:46:51Z" msg="Adding user to imap server" addrID=c7f0509c-6ba5-4832-a205-d27648f789c1 time="2026-09-17T09:46:51Z" msg="Creating new IMAP user" addrID=c7f0509c-6ba5-4832-a205-d27648f789c1 time="2026-09-17T09:46:51Z" msg="Setting gluon ID" addrID=c7f0509c-6ba5-4832-a205-d27648f789c1 gluonID=91eabb5f-63f7-4243-b2c9-3c2578bc3758 userID=303195d7-8c75-4dc7-9e9d-f140eaf75d62 time="2026-09-17T09:46:51Z" msg="Received mailbox message count" gluonID=91eabb5f-63f7-4243-b2c9-3c2578bc3758 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:46:51Z" msg="Created new IMAP user" addrID=c7f0509c-6ba5-4832-a205-d27648f789c1 gluonID=91eabb5f-63f7-4243-b2c9-3c2578bc3758 time="2026-09-17T09:46:51Z" msg="Validating Listener State" time="2026-09-17T09:46:51Z" time="2026-09-17T09:46:51Z" msg="Starting IMAP Service" time="2026-09-17T09:46:51Z" msg="Checking whether logged in user should re-sync. UserID:303195d7-8c75-4dc7-9e9d-f140eaf75d62" userID=303195d7-8c75-4dc7-9e9d-f140eaf75d62 time="2026-09-17T09:46:51Z" msg="Sync triggered" time="2026-09-17T09:46:51Z" msg="Beginning user sync" start="2026-09-17 09:46:51.106526487 +0000 UTC m=+99.598828783" time="2026-09-17T09:46:51Z" msg="Syncing labels" time="2026-09-17T09:46:51Z" msg="Label not found in DB, creating mailbox." labelID=52a34f4b-1bec-4df3-aedb-04b96f5fce53 labelPath="jm2pV8GS7FVFPTesFaU5jW/EhDgcEQCxeWTMDFRvNjU=" numberOfC /labelConflictResolver time="2026-09-17T09:46:51Z" msg="Label not found in DB, creating mailbox." labelID=0741be86-436b-443d-bd0f-9a3c1905ce76 labelPath="mHoyd+am6bmNoUvxRZ/ZRvBIQnwu+1OQWf1jSR3oA+s=" numberOfC /labelConflictResolver time="2026-09-17T09:46:51Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=91eabb5f-63f7-4243-b2c9-3c2578bc3758 time="2026-09-17T09:46:51Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=91eabb5f-63f7-4243-b2c9-3c2578bc3758 time="2026-09-17T09:46:51Z" msg="Mailbox created" /user remoteMailboxID=3 userID=91eabb5f-63f7-4243-b2c9-3c2578bc3758 time="2026-09-17T09:46:51Z" msg="Mailbox created" /user remoteMailboxID=10 userID=91eabb5f-63f7-4243-b2c9-3c2578bc3758 time="2026-09-17T09:46:51Z" msg="Mailbox created" /user remoteMailboxID=0 userID=91eabb5f-63f7-4243-b2c9-3c2578bc3758 time="2026-09-17T09:46:51Z" msg="Mailbox created" /user remoteMailboxID=7 userID=91eabb5f-63f7-4243-b2c9-3c2578bc3758 time="2026-09-17T09:46:51Z" msg="Mailbox created" /user remoteMailboxID=12 userID=91eabb5f-63f7-4243-b2c9-3c2578bc3758 time="2026-09-17T09:46:51Z" msg="Mailbox created" /user remoteMailboxID=4 userID=91eabb5f-63f7-4243-b2c9-3c2578bc3758 time="2026-09-17T09:46:51Z" msg="Mailbox created" /user remoteMailboxID=6 userID=91eabb5f-63f7-4243-b2c9-3c2578bc3758 time="2026-09-17T09:46:51Z" msg="Mailbox created" /user remoteMailboxID=52a34f4b-1bec-4df3-aedb-04b96f5fce53 userID=91eabb5f-63f7-4243-b2c9-3c2578bc3758 time="2026-09-17T09:46:51Z" msg="Mailbox created" /user remoteMailboxID=0741be86-436b-443d-bd0f-9a3c1905ce76 userID=91eabb5f-63f7-4243-b2c9-3c2578bc3758 time="2026-09-17T09:46:51Z" msg="Mailbox created" /user remoteMailboxID=5 userID=91eabb5f-63f7-4243-b2c9-3c2578bc3758 time="2026-09-17T09:46:51Z" msg="Mailbox created" /user remoteMailboxID=8 userID=91eabb5f-63f7-4243-b2c9-3c2578bc3758 time="2026-09-17T09:46:51Z" msg="Synced labels" time="2026-09-17T09:46:51Z" msg="200 OK: GET https://127.0.0.1:34195/mail/v4/messages/count" /client userID=303195d7-8c75-4dc7-9e9d-f140eaf75d62 time="2026-09-17T09:46:51Z" msg="Syncing messages" time="2026-09-17T09:46:51Z" msg="Job started" time="2026-09-17T09:46:51Z" msg="200 OK: POST https://127.0.0.1:34195/mail/v4/messages" /client userID=303195d7-8c75-4dc7-9e9d-f140eaf75d62 time="2026-09-17T09:46:51Z" msg="Job finished" time="2026-09-17T09:46:51Z" msg="All child jobs completed" sync- time="2026-09-17T09:46:51Z" msg="Synced messages" time="2026-09-17T09:46:51Z" msg="Finished user sync" .626362ms time="2026-09-17T09:46:51Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:46:51Z" msg="Event loop reset" eventID="Ag==" Scenario: Select custom mailbox # features/imap/mailbox/select.feature:19 When IMAP client "1" selects "Folders/mbox" # :1 -> *scenario time="2026-09-17T09:46:51Z" msg="Frontend service stopped" time="2026-09-17T09:46:51Z" msg="Frontend client stopped" time="2026-09-17T09:46:51Z" msg="Closing bridge" time="2026-09-17T09:46:51Z" msg="Stopping service" time="2026-09-17T09:46:51Z" msg="Closing user" userID=303195d7-8c75-4dc7-9e9d-f140eaf75d62 time="2026-09-17T09:46:51Z" msg="De-registering user client, ID:303195d7-8c75-4dc7-9e9d-f140eaf75d62" time="2026-09-17T09:46:51Z" msg="Exiting IMAP Service" time="2026-09-17T09:46:51Z" msg="Exiting service main loop" time="2026-09-17T09:46:51Z" msg="Exiting service main loop" time="2026-09-17T09:46:51Z" msg="Exiting Service" time="2026-09-17T09:46:51Z" msg="Exiting service main loop" time="2026-09-17T09:46:51Z" msg="Exiting service" time="2026-09-17T09:46:51Z" msg="Closing IMAP Listener" time="2026-09-17T09:46:51Z" msg="Closing IMAP server" time="2026-09-17T09:46:51Z" msg="Closing SMTP Listener" time="2026-09-17T09:46:51Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:46:51Z" msg="Closing SMTP server" time="2026-09-17T09:46:51Z" msg="Closing service" Then it succeeds # :1 -> *scenario time="2026-09-17T09:46:51Z" msg="User '23906ac7-1690-4dba-9983-e9d380bc20aa' created with " /server/backend time="2026-09-17T09:46:52Z" msg="Starting bridge" time="2026-09-17T09:46:52Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/057/config1190812742/grpcFocusServerConfig.json /service time="2026-09-17T09:46:52Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/057/cache2244489765/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:46:52Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/057/cache2244489765/notifications/notification_cache: no such file or directory" time="2026-09-17T09:46:52Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/057/data1894932358/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/057/data1894932358/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:46:52Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:46:52Z" msg="Starting IMAP server" time="2026-09-17T09:46:52Z" msg="Starting SMTP server" time="2026-09-17T09:46:52Z" msg="Starting service" time="2026-09-17T09:46:52Z" msg="Starting service" time="2026-09-17T09:46:52Z" msg="Starting receiver service" time="2026-09-17T09:46:52Z" msg="Starting frontend service" time="2026-09-17T09:46:52Z" msg="Checking for updates" time="2026-09-17T09:46:52Z" msg="Loading users" /user time="2026-09-17T09:46:52Z" msg="Starting poll service" time="2026-09-17T09:46:52Z" msg="Finished loading users" /user time="2026-09-17T09:46:52Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/057/config1190812742/grpcServerConfig.json time="2026-09-17T09:46:52Z" msg="gRPC server listening on /tmp/bridge2235" time="2026-09-17T09:46:52Z" msg="Frontend service started" time="2026-09-17T09:46:52Z" msg="Starting frontend client" time="2026-09-17T09:46:52Z" msg="Not monitoring parent PID" time="2026-09-17T09:46:52Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:46:52Z" msg="Frontend client started" time="2026-09-17T09:46:52Z" msg="Performing full user login" /user username="******** (7e4f4c12)" time="2026-09-17T09:46:52Z" msg="Authorizing user for login" /user username="******** (7e4f4c12)" time="2026-09-17T09:46:52Z" msg="200 OK: GET https://127.0.0.1:36175/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:46:52Z" msg="200 OK: POST https://127.0.0.1:36175/auth/v4/info" /manager time="2026-09-17T09:46:52Z" msg="200 OK: POST https://127.0.0.1:36175/auth/v4" /manager time="2026-09-17T09:46:52Z" msg="Logging in authorized user" /user userID=a203602d-bbec-49d4-87c8-3c7aea743c5c time="2026-09-17T09:46:52Z" msg="Adding vault user" userID=a203602d-bbec-49d4-87c8-3c7aea743c5c time="2026-09-17T09:46:52Z" msg="Creating new user" userID=a203602d-bbec-49d4-87c8-3c7aea743c5c time="2026-09-17T09:46:52Z" msg="404 GET https://127.0.0.1:36175/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:46:52Z" msg="404 GET https://127.0.0.1:36175/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:46:52Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:36175/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:46:52Z" msg="Creating user object" authUID=80351b05-b632-473e-926d-34b0de3db89e numA numL userID=a203602d-bbec-49d4-87c8-3c7aea743c5c time="2026-09-17T09:46:52Z" msg="200 OK: GET https://127.0.0.1:36175/core/v4/events/latest" /client userID=a203602d-bbec-49d4-87c8-3c7aea743c5c time="2026-09-17T09:46:52Z" msg="Starting service Last EventID=Ag==" time="2026-09-17T09:46:52Z" msg="200 OK: GET https://127.0.0.1:36175/core/v4/settings" /client userID=a203602d-bbec-49d4-87c8-3c7aea743c5c time="2026-09-17T09:46:52Z" msg="Registering user client, ID:a203602d-bbec-49d4-87c8-3c7aea743c5c" time="2026-09-17T09:46:52Z" msg="Starting user identity service" numA time="2026-09-17T09:46:52Z" msg="Starting service main loop" time="2026-09-17T09:46:52Z" msg="Starting service main loop" time="2026-09-17T09:46:52Z" msg="Starting service main loop" time="2026-09-17T09:46:52Z" msg="200 OK: GET https://127.0.0.1:36175/core/v4/labels?T" /client userID=a203602d-bbec-49d4-87c8-3c7aea743c5c time="2026-09-17T09:46:52Z" msg="200 OK: GET https://127.0.0.1:36175/core/v4/labels?T" /client userID=a203602d-bbec-49d4-87c8-3c7aea743c5c time="2026-09-17T09:46:52Z" msg="200 OK: GET https://127.0.0.1:36175/core/v4/labels?T" /client userID=a203602d-bbec-49d4-87c8-3c7aea743c5c time="2026-09-17T09:46:52Z" msg="Setting labels" labelIDs="[2 5 6 10 12 3 4 7 8 9 0 1 6143952a-3b71-4cb9-bc7f-633dd00586a0 8ebf701e-2577-47dd-9cbd-98417955b58d]" time="2026-09-17T09:46:52Z" msg="Adding user to imap server" addrID=a1117f64-f6e9-44fa-bd1b-184554865715 time="2026-09-17T09:46:52Z" msg="Creating new IMAP user" addrID=a1117f64-f6e9-44fa-bd1b-184554865715 time="2026-09-17T09:46:52Z" msg="Setting gluon ID" addrID=a1117f64-f6e9-44fa-bd1b-184554865715 gluonID=2fc326cf-8c33-4ee1-88ad-f3a901bcaf3e userID=a203602d-bbec-49d4-87c8-3c7aea743c5c time="2026-09-17T09:46:52Z" msg="Received mailbox message count" gluonID=2fc326cf-8c33-4ee1-88ad-f3a901bcaf3e labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:46:52Z" msg="Created new IMAP user" addrID=a1117f64-f6e9-44fa-bd1b-184554865715 gluonID=2fc326cf-8c33-4ee1-88ad-f3a901bcaf3e time="2026-09-17T09:46:52Z" msg="Validating Listener State" time="2026-09-17T09:46:52Z" time="2026-09-17T09:46:52Z" msg="Starting IMAP Service" time="2026-09-17T09:46:52Z" msg="Checking whether logged in user should re-sync. UserID:a203602d-bbec-49d4-87c8-3c7aea743c5c" userID=a203602d-bbec-49d4-87c8-3c7aea743c5c time="2026-09-17T09:46:52Z" msg="Sync triggered" time="2026-09-17T09:46:52Z" msg="Beginning user sync" start="2026-09-17 09:46:52.54443906 +0000 UTC m=+101.036741396" time="2026-09-17T09:46:52Z" msg="Syncing labels" time="2026-09-17T09:46:52Z" msg="Label not found in DB, creating mailbox." labelID=6143952a-3b71-4cb9-bc7f-633dd00586a0 labelPath="jm2pV8GS7FVFPTesFaU5jW/EhDgcEQCxeWTMDFRvNjU=" numberOfC /labelConflictResolver time="2026-09-17T09:46:52Z" msg="Label not found in DB, creating mailbox." labelID=8ebf701e-2577-47dd-9cbd-98417955b58d labelPath="mHoyd+am6bmNoUvxRZ/ZRvBIQnwu+1OQWf1jSR3oA+s=" numberOfC /labelConflictResolver time="2026-09-17T09:46:52Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=2fc326cf-8c33-4ee1-88ad-f3a901bcaf3e time="2026-09-17T09:46:52Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=2fc326cf-8c33-4ee1-88ad-f3a901bcaf3e time="2026-09-17T09:46:52Z" msg="Mailbox created" /user remoteMailboxID=5 userID=2fc326cf-8c33-4ee1-88ad-f3a901bcaf3e time="2026-09-17T09:46:52Z" msg="Mailbox created" /user remoteMailboxID=3 userID=2fc326cf-8c33-4ee1-88ad-f3a901bcaf3e time="2026-09-17T09:46:52Z" msg="Mailbox created" /user remoteMailboxID=4 userID=2fc326cf-8c33-4ee1-88ad-f3a901bcaf3e time="2026-09-17T09:46:52Z" msg="Mailbox created" /user remoteMailboxID=6143952a-3b71-4cb9-bc7f-633dd00586a0 userID=2fc326cf-8c33-4ee1-88ad-f3a901bcaf3e time="2026-09-17T09:46:52Z" msg="Mailbox created" /user remoteMailboxID=8ebf701e-2577-47dd-9cbd-98417955b58d userID=2fc326cf-8c33-4ee1-88ad-f3a901bcaf3e time="2026-09-17T09:46:52Z" msg="Mailbox created" /user remoteMailboxID=6 userID=2fc326cf-8c33-4ee1-88ad-f3a901bcaf3e time="2026-09-17T09:46:52Z" msg="Mailbox created" /user remoteMailboxID=10 userID=2fc326cf-8c33-4ee1-88ad-f3a901bcaf3e time="2026-09-17T09:46:52Z" msg="Mailbox created" /user remoteMailboxID=12 userID=2fc326cf-8c33-4ee1-88ad-f3a901bcaf3e time="2026-09-17T09:46:52Z" msg="Mailbox created" /user remoteMailboxID=7 userID=2fc326cf-8c33-4ee1-88ad-f3a901bcaf3e time="2026-09-17T09:46:52Z" msg="Mailbox created" /user remoteMailboxID=8 userID=2fc326cf-8c33-4ee1-88ad-f3a901bcaf3e time="2026-09-17T09:46:52Z" msg="Mailbox created" /user remoteMailboxID=0 userID=2fc326cf-8c33-4ee1-88ad-f3a901bcaf3e time="2026-09-17T09:46:52Z" msg="Synced labels" time="2026-09-17T09:46:52Z" msg="200 OK: GET https://127.0.0.1:36175/mail/v4/messages/count" /client userID=a203602d-bbec-49d4-87c8-3c7aea743c5c time="2026-09-17T09:46:52Z" msg="Syncing messages" time="2026-09-17T09:46:52Z" msg="Job started" time="2026-09-17T09:46:52Z" msg="200 OK: POST https://127.0.0.1:36175/mail/v4/messages" /client userID=a203602d-bbec-49d4-87c8-3c7aea743c5c time="2026-09-17T09:46:52Z" msg="Job finished" time="2026-09-17T09:46:52Z" msg="All child jobs completed" sync- time="2026-09-17T09:46:52Z" msg="Synced messages" time="2026-09-17T09:46:52Z" msg="Finished user sync" .261209ms time="2026-09-17T09:46:52Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:46:52Z" msg="Event loop reset" eventID="Ag==" Scenario: Select custom label # features/imap/mailbox/select.feature:23 When IMAP client "1" selects "Labels/label" # :1 -> *scenario time="2026-09-17T09:46:52Z" msg="Frontend service stopped" time="2026-09-17T09:46:52Z" msg="Frontend client stopped" time="2026-09-17T09:46:52Z" msg="Closing bridge" time="2026-09-17T09:46:52Z" msg="Stopping service" time="2026-09-17T09:46:52Z" msg="Closing user" userID=a203602d-bbec-49d4-87c8-3c7aea743c5c time="2026-09-17T09:46:52Z" msg="De-registering user client, ID:a203602d-bbec-49d4-87c8-3c7aea743c5c" time="2026-09-17T09:46:52Z" msg="Exiting IMAP Service" time="2026-09-17T09:46:52Z" msg="Exiting service main loop" time="2026-09-17T09:46:52Z" msg="Exiting service main loop" time="2026-09-17T09:46:52Z" msg="Exiting Service" time="2026-09-17T09:46:52Z" msg="Exiting service main loop" time="2026-09-17T09:46:52Z" msg="Exiting service" time="2026-09-17T09:46:52Z" msg="Closing IMAP Listener" time="2026-09-17T09:46:52Z" msg="Closing IMAP server" time="2026-09-17T09:46:52Z" msg="Closing SMTP Listener" time="2026-09-17T09:46:52Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:46:52Z" msg="Closing SMTP server" time="2026-09-17T09:46:52Z" msg="Closing service" Then it succeeds # :1 -> *scenario time="2026-09-17T09:46:52Z" msg="User '0f933afe-43f9-4300-9494-a0aaace6b1f7' created with " /server/backend time="2026-09-17T09:46:53Z" msg="Starting bridge" time="2026-09-17T09:46:53Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/058/config1529889472/grpcFocusServerConfig.json /service time="2026-09-17T09:46:53Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/058/cache903610440/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:46:53Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/058/cache903610440/notifications/notification_cache: no such file or directory" time="2026-09-17T09:46:53Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/058/data3886350663/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/058/data3886350663/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:46:53Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:46:53Z" msg="Starting IMAP server" time="2026-09-17T09:46:53Z" msg="Starting SMTP server" time="2026-09-17T09:46:53Z" msg="Starting service" time="2026-09-17T09:46:53Z" msg="Starting service" time="2026-09-17T09:46:53Z" msg="Starting frontend service" time="2026-09-17T09:46:53Z" msg="Starting poll service" time="2026-09-17T09:46:53Z" msg="Checking for updates" time="2026-09-17T09:46:53Z" msg="Loading users" /user time="2026-09-17T09:46:53Z" msg="Starting receiver service" time="2026-09-17T09:46:53Z" msg="Finished loading users" /user time="2026-09-17T09:46:53Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/058/config1529889472/grpcServerConfig.json time="2026-09-17T09:46:53Z" msg="gRPC server listening on /tmp/bridge5528" time="2026-09-17T09:46:53Z" msg="Frontend service started" time="2026-09-17T09:46:53Z" msg="Starting frontend client" time="2026-09-17T09:46:53Z" msg="Not monitoring parent PID" time="2026-09-17T09:46:53Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:46:53Z" msg="Frontend client started" time="2026-09-17T09:46:53Z" msg="Performing full user login" /user username="******** (0dba3c20)" time="2026-09-17T09:46:53Z" msg="Authorizing user for login" /user username="******** (0dba3c20)" time="2026-09-17T09:46:53Z" msg="200 OK: GET https://127.0.0.1:32945/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:46:53Z" msg="200 OK: POST https://127.0.0.1:32945/auth/v4/info" /manager time="2026-09-17T09:46:53Z" msg="200 OK: POST https://127.0.0.1:32945/auth/v4" /manager time="2026-09-17T09:46:53Z" msg="Logging in authorized user" /user userID=a78105c6-ffdf-494c-b67c-af128530c052 time="2026-09-17T09:46:53Z" msg="Adding vault user" userID=a78105c6-ffdf-494c-b67c-af128530c052 time="2026-09-17T09:46:53Z" msg="Creating new user" userID=a78105c6-ffdf-494c-b67c-af128530c052 time="2026-09-17T09:46:53Z" msg="404 GET https://127.0.0.1:32945/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:46:53Z" msg="404 GET https://127.0.0.1:32945/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:46:53Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:32945/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:46:53Z" msg="Creating user object" authUID=f6efa8ba-dbdb-46ad-9177-7a818ff4edd3 numA numL userID=a78105c6-ffdf-494c-b67c-af128530c052 time="2026-09-17T09:46:53Z" msg="200 OK: GET https://127.0.0.1:32945/core/v4/events/latest" /client userID=a78105c6-ffdf-494c-b67c-af128530c052 time="2026-09-17T09:46:53Z" msg="Starting service Last EventID=Ag==" time="2026-09-17T09:46:53Z" msg="200 OK: GET https://127.0.0.1:32945/core/v4/settings" /client userID=a78105c6-ffdf-494c-b67c-af128530c052 time="2026-09-17T09:46:53Z" msg="Registering user client, ID:a78105c6-ffdf-494c-b67c-af128530c052" time="2026-09-17T09:46:53Z" msg="Starting user identity service" numA time="2026-09-17T09:46:53Z" msg="Starting service main loop" time="2026-09-17T09:46:53Z" msg="Starting service main loop" time="2026-09-17T09:46:53Z" msg="Starting service main loop" time="2026-09-17T09:46:53Z" msg="200 OK: GET https://127.0.0.1:32945/core/v4/labels?T" /client userID=a78105c6-ffdf-494c-b67c-af128530c052 time="2026-09-17T09:46:53Z" msg="200 OK: GET https://127.0.0.1:32945/core/v4/labels?T" /client userID=a78105c6-ffdf-494c-b67c-af128530c052 time="2026-09-17T09:46:53Z" msg="200 OK: GET https://127.0.0.1:32945/core/v4/labels?T" /client userID=a78105c6-ffdf-494c-b67c-af128530c052 time="2026-09-17T09:46:53Z" msg="Setting labels" labelIDs="[0 1 2 3 9 4 5 6 7 8 10 12 0169352c-dac8-4ff8-8e24-52029ac0bc9a db7a50f2-e420-488f-bba0-7560b87b74dc]" time="2026-09-17T09:46:53Z" msg="Adding user to imap server" addrID=e3bc834b-89d7-4552-afe2-e3c793eb5f0e time="2026-09-17T09:46:53Z" msg="Creating new IMAP user" addrID=e3bc834b-89d7-4552-afe2-e3c793eb5f0e time="2026-09-17T09:46:54Z" msg="Setting gluon ID" addrID=e3bc834b-89d7-4552-afe2-e3c793eb5f0e gluonID=46914651-223d-4189-95b2-59464524ac9f userID=a78105c6-ffdf-494c-b67c-af128530c052 time="2026-09-17T09:46:54Z" msg="Received mailbox message count" gluonID=46914651-223d-4189-95b2-59464524ac9f labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:46:54Z" msg="Created new IMAP user" addrID=e3bc834b-89d7-4552-afe2-e3c793eb5f0e gluonID=46914651-223d-4189-95b2-59464524ac9f time="2026-09-17T09:46:54Z" msg="Validating Listener State" time="2026-09-17T09:46:54Z" time="2026-09-17T09:46:54Z" msg="Starting IMAP Service" time="2026-09-17T09:46:54Z" msg="Checking whether logged in user should re-sync. UserID:a78105c6-ffdf-494c-b67c-af128530c052" userID=a78105c6-ffdf-494c-b67c-af128530c052 time="2026-09-17T09:46:54Z" msg="Sync triggered" time="2026-09-17T09:46:54Z" msg="Beginning user sync" start="2026-09-17 09:46:54.002917203 +0000 UTC m=+102.495219539" time="2026-09-17T09:46:54Z" msg="Syncing labels" time="2026-09-17T09:46:54Z" msg="Label not found in DB, creating mailbox." labelID=0169352c-dac8-4ff8-8e24-52029ac0bc9a labelPath="jm2pV8GS7FVFPTesFaU5jW/EhDgcEQCxeWTMDFRvNjU=" numberOfC /labelConflictResolver time="2026-09-17T09:46:54Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=46914651-223d-4189-95b2-59464524ac9f time="2026-09-17T09:46:54Z" msg="Label not found in DB, creating mailbox." labelID=db7a50f2-e420-488f-bba0-7560b87b74dc labelPath="mHoyd+am6bmNoUvxRZ/ZRvBIQnwu+1OQWf1jSR3oA+s=" numberOfC /labelConflictResolver time="2026-09-17T09:46:54Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=46914651-223d-4189-95b2-59464524ac9f time="2026-09-17T09:46:54Z" msg="Mailbox created" /user remoteMailboxID=3 userID=46914651-223d-4189-95b2-59464524ac9f time="2026-09-17T09:46:54Z" msg="Mailbox created" /user remoteMailboxID=6 userID=46914651-223d-4189-95b2-59464524ac9f time="2026-09-17T09:46:54Z" msg="Mailbox created" /user remoteMailboxID=10 userID=46914651-223d-4189-95b2-59464524ac9f time="2026-09-17T09:46:54Z" msg="Mailbox created" /user remoteMailboxID=12 userID=46914651-223d-4189-95b2-59464524ac9f time="2026-09-17T09:46:54Z" msg="Mailbox created" /user remoteMailboxID=0169352c-dac8-4ff8-8e24-52029ac0bc9a userID=46914651-223d-4189-95b2-59464524ac9f time="2026-09-17T09:46:54Z" msg="Mailbox created" /user remoteMailboxID=db7a50f2-e420-488f-bba0-7560b87b74dc userID=46914651-223d-4189-95b2-59464524ac9f time="2026-09-17T09:46:54Z" msg="Mailbox created" /user remoteMailboxID=0 userID=46914651-223d-4189-95b2-59464524ac9f time="2026-09-17T09:46:54Z" msg="Mailbox created" /user remoteMailboxID=4 userID=46914651-223d-4189-95b2-59464524ac9f time="2026-09-17T09:46:54Z" msg="Mailbox created" /user remoteMailboxID=5 userID=46914651-223d-4189-95b2-59464524ac9f time="2026-09-17T09:46:54Z" msg="Mailbox created" /user remoteMailboxID=7 userID=46914651-223d-4189-95b2-59464524ac9f time="2026-09-17T09:46:54Z" msg="Mailbox created" /user remoteMailboxID=8 userID=46914651-223d-4189-95b2-59464524ac9f time="2026-09-17T09:46:54Z" msg="Synced labels" time="2026-09-17T09:46:54Z" msg="200 OK: GET https://127.0.0.1:32945/mail/v4/messages/count" /client userID=a78105c6-ffdf-494c-b67c-af128530c052 time="2026-09-17T09:46:54Z" msg="Syncing messages" time="2026-09-17T09:46:54Z" msg="Job started" time="2026-09-17T09:46:54Z" msg="200 OK: POST https://127.0.0.1:32945/mail/v4/messages" /client userID=a78105c6-ffdf-494c-b67c-af128530c052 time="2026-09-17T09:46:54Z" msg="Job finished" time="2026-09-17T09:46:54Z" msg="All child jobs completed" sync- time="2026-09-17T09:46:54Z" msg="Synced messages" time="2026-09-17T09:46:54Z" msg="Finished user sync" .278014ms time="2026-09-17T09:46:54Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:46:54Z" msg="Event loop reset" eventID="Ag==" time="2026-09-17T09:46:54Z" msg="Command failed" cmd="SELECT 'ZehL4zUy+3hMSBKWdfnv86aCsnFowOp0Syz1juAjN8U='" error="no such mailbox" /session Scenario: Select non-existing mailbox # features/imap/mailbox/select.feature:27 When IMAP client "1" selects "qwerty" # :1 -> *scenario time="2026-09-17T09:46:54Z" msg="Frontend service stopped" time="2026-09-17T09:46:54Z" msg="Frontend client stopped" time="2026-09-17T09:46:54Z" msg="Closing bridge" time="2026-09-17T09:46:54Z" msg="Stopping service" time="2026-09-17T09:46:54Z" msg="Closing user" userID=a78105c6-ffdf-494c-b67c-af128530c052 time="2026-09-17T09:46:54Z" msg="De-registering user client, ID:a78105c6-ffdf-494c-b67c-af128530c052" time="2026-09-17T09:46:54Z" msg="Exiting IMAP Service" time="2026-09-17T09:46:54Z" msg="Exiting service main loop" time="2026-09-17T09:46:54Z" msg="Exiting service main loop" time="2026-09-17T09:46:54Z" msg="Exiting Service" time="2026-09-17T09:46:54Z" msg="Exiting service main loop" time="2026-09-17T09:46:54Z" msg="Exiting service" time="2026-09-17T09:46:54Z" msg="Closing IMAP Listener" time="2026-09-17T09:46:54Z" msg="Closing IMAP server" time="2026-09-17T09:46:54Z" msg="Closing SMTP Listener" time="2026-09-17T09:46:54Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:46:54Z" msg="Closing SMTP server" time="2026-09-17T09:46:54Z" msg="Closing service" Then it fails # :1 -> *scenario Feature: IMAP copy messages time="2026-09-17T09:46:54Z" msg="User 'a5629c0a-5f68-4457-aa16-1358cfefd9ac' created with " /server/backend Background: Given there exists an account with username "a5629c0a-5f68-4457-aa16-1358cfefd9ac" and password "password" # :1 -> *scenario And the account "a5629c0a-5f68-4457-aa16-1358cfefd9ac" has the following custom mailboxes: # :1 -> *scenario | name | type | | mbox | folder | | label | label | And the address "a5629c0a-5f68-4457-aa16-1358cfefd9ac@proton.local" of account "a5629c0a-5f68-4457-aa16-1358cfefd9ac" has the following messages in "Inbox": # :1 -> *scenario | from | to | subject | unread | | john.doe@mail.com | a5629c0a-5f68-4457-aa16-1358cfefd9ac@proton.local | foo | false | | jane.doe@mail.com | name@proton.local | bar | true | Then it succeeds # :1 -> *scenario time="2026-09-17T09:46:55Z" msg="Starting bridge" time="2026-09-17T09:46:55Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/059/config2724916949/grpcFocusServerConfig.json /service time="2026-09-17T09:46:55Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/059/cache985089782/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:46:55Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/059/cache985089782/notifications/notification_cache: no such file or directory" time="2026-09-17T09:46:55Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/059/data1869274407/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/059/data1869274407/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:46:55Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:46:55Z" msg="Starting IMAP server" time="2026-09-17T09:46:55Z" msg="Starting SMTP server" time="2026-09-17T09:46:55Z" msg="Starting service" time="2026-09-17T09:46:55Z" msg="Starting service" time="2026-09-17T09:46:55Z" msg="Starting poll service" time="2026-09-17T09:46:55Z" msg="Checking for updates" time="2026-09-17T09:46:55Z" msg="Loading users" /user time="2026-09-17T09:46:55Z" msg="Finished loading users" /user time="2026-09-17T09:46:55Z" msg="Starting frontend service" time="2026-09-17T09:46:55Z" msg="Starting receiver service" time="2026-09-17T09:46:55Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/059/config2724916949/grpcServerConfig.json time="2026-09-17T09:46:55Z" msg="gRPC server listening on /tmp/bridge9348" time="2026-09-17T09:46:55Z" msg="Frontend service started" time="2026-09-17T09:46:55Z" msg="Starting frontend client" time="2026-09-17T09:46:55Z" msg="Not monitoring parent PID" time="2026-09-17T09:46:55Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:46:55Z" msg="Frontend client started" When bridge starts # :1 -> *scenario time="2026-09-17T09:46:55Z" msg="Performing full user login" /user username="******** (3078cbd2)" time="2026-09-17T09:46:55Z" msg="Authorizing user for login" /user username="******** (3078cbd2)" time="2026-09-17T09:46:55Z" msg="200 OK: GET https://127.0.0.1:44389/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:46:55Z" msg="200 OK: POST https://127.0.0.1:44389/auth/v4/info" /manager time="2026-09-17T09:46:56Z" msg="200 OK: POST https://127.0.0.1:44389/auth/v4" /manager time="2026-09-17T09:46:56Z" msg="Logging in authorized user" /user userID=62202f7f-79e7-4311-8bf2-ca875480bc3b time="2026-09-17T09:46:56Z" msg="Adding vault user" userID=62202f7f-79e7-4311-8bf2-ca875480bc3b time="2026-09-17T09:46:56Z" msg="Creating new user" userID=62202f7f-79e7-4311-8bf2-ca875480bc3b time="2026-09-17T09:46:56Z" msg="404 GET https://127.0.0.1:44389/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:46:56Z" msg="404 GET https://127.0.0.1:44389/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:46:56Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:44389/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:46:56Z" msg="Creating user object" authUID=eb3223b8-4fd9-46e7-bf0f-a865517f5669 numA numL userID=62202f7f-79e7-4311-8bf2-ca875480bc3b time="2026-09-17T09:46:56Z" msg="200 OK: GET https://127.0.0.1:44389/core/v4/events/latest" /client userID=62202f7f-79e7-4311-8bf2-ca875480bc3b time="2026-09-17T09:46:56Z" msg="Starting service Last EventID=BA==" time="2026-09-17T09:46:56Z" msg="200 OK: GET https://127.0.0.1:44389/core/v4/settings" /client userID=62202f7f-79e7-4311-8bf2-ca875480bc3b time="2026-09-17T09:46:56Z" msg="Registering user client, ID:62202f7f-79e7-4311-8bf2-ca875480bc3b" time="2026-09-17T09:46:56Z" msg="Starting service main loop" time="2026-09-17T09:46:56Z" msg="Starting user identity service" numA time="2026-09-17T09:46:56Z" msg="Starting service main loop" time="2026-09-17T09:46:56Z" msg="Starting service main loop" time="2026-09-17T09:46:56Z" msg="200 OK: GET https://127.0.0.1:44389/core/v4/labels?T" /client userID=62202f7f-79e7-4311-8bf2-ca875480bc3b time="2026-09-17T09:46:56Z" msg="200 OK: GET https://127.0.0.1:44389/core/v4/labels?T" /client userID=62202f7f-79e7-4311-8bf2-ca875480bc3b time="2026-09-17T09:46:56Z" msg="200 OK: GET https://127.0.0.1:44389/core/v4/labels?T" /client userID=62202f7f-79e7-4311-8bf2-ca875480bc3b time="2026-09-17T09:46:56Z" msg="Setting labels" labelIDs="[3 4 6 10 1 2 5 7 8 9 12 0 313c1002-0286-4563-93fa-62bba6dc561a a31fb7a7-2c20-4a51-903c-3a7abe4a3a4e]" time="2026-09-17T09:46:56Z" msg="Adding user to imap server" addrID=05e2fca1-455d-4f50-bca8-915b749e8627 time="2026-09-17T09:46:56Z" msg="Creating new IMAP user" addrID=05e2fca1-455d-4f50-bca8-915b749e8627 time="2026-09-17T09:46:56Z" msg="Setting gluon ID" addrID=05e2fca1-455d-4f50-bca8-915b749e8627 gluonID=986fb22f-68d5-4068-a4ea-b599e6eb1786 userID=62202f7f-79e7-4311-8bf2-ca875480bc3b time="2026-09-17T09:46:56Z" msg="Received mailbox message count" gluonID=986fb22f-68d5-4068-a4ea-b599e6eb1786 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:46:56Z" msg="Created new IMAP user" addrID=05e2fca1-455d-4f50-bca8-915b749e8627 gluonID=986fb22f-68d5-4068-a4ea-b599e6eb1786 time="2026-09-17T09:46:56Z" msg="Validating Listener State" time="2026-09-17T09:46:56Z" time="2026-09-17T09:46:56Z" msg="Starting IMAP Service" time="2026-09-17T09:46:56Z" msg="Checking whether logged in user should re-sync. UserID:62202f7f-79e7-4311-8bf2-ca875480bc3b" userID=62202f7f-79e7-4311-8bf2-ca875480bc3b And the user logs in with username "a5629c0a-5f68-4457-aa16-1358cfefd9ac" and password "password" # :1 -> *scenario time="2026-09-17T09:46:56Z" msg="Sync triggered" time="2026-09-17T09:46:56Z" msg="Beginning user sync" start="2026-09-17 09:46:56.244327694 +0000 UTC m=+104.736630030" time="2026-09-17T09:46:56Z" msg="Syncing labels" time="2026-09-17T09:46:56Z" msg="Label not found in DB, creating mailbox." labelID=313c1002-0286-4563-93fa-62bba6dc561a labelPath="jm2pV8GS7FVFPTesFaU5jW/EhDgcEQCxeWTMDFRvNjU=" numberOfC /labelConflictResolver time="2026-09-17T09:46:56Z" msg="Label not found in DB, creating mailbox." labelID=a31fb7a7-2c20-4a51-903c-3a7abe4a3a4e labelPath="mHoyd+am6bmNoUvxRZ/ZRvBIQnwu+1OQWf1jSR3oA+s=" numberOfC /labelConflictResolver time="2026-09-17T09:46:56Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=986fb22f-68d5-4068-a4ea-b599e6eb1786 time="2026-09-17T09:46:56Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=986fb22f-68d5-4068-a4ea-b599e6eb1786 time="2026-09-17T09:46:56Z" msg="Mailbox created" /user remoteMailboxID=6 userID=986fb22f-68d5-4068-a4ea-b599e6eb1786 time="2026-09-17T09:46:56Z" msg="Mailbox created" /user remoteMailboxID=5 userID=986fb22f-68d5-4068-a4ea-b599e6eb1786 time="2026-09-17T09:46:56Z" msg="Mailbox created" /user remoteMailboxID=0 userID=986fb22f-68d5-4068-a4ea-b599e6eb1786 time="2026-09-17T09:46:56Z" msg="Mailbox created" /user remoteMailboxID=313c1002-0286-4563-93fa-62bba6dc561a userID=986fb22f-68d5-4068-a4ea-b599e6eb1786 time="2026-09-17T09:46:56Z" msg="Mailbox created" /user remoteMailboxID=a31fb7a7-2c20-4a51-903c-3a7abe4a3a4e userID=986fb22f-68d5-4068-a4ea-b599e6eb1786 time="2026-09-17T09:46:56Z" msg="Mailbox created" /user remoteMailboxID=4 userID=986fb22f-68d5-4068-a4ea-b599e6eb1786 time="2026-09-17T09:46:56Z" msg="Mailbox created" /user remoteMailboxID=10 userID=986fb22f-68d5-4068-a4ea-b599e6eb1786 time="2026-09-17T09:46:56Z" msg="Mailbox created" /user remoteMailboxID=7 userID=986fb22f-68d5-4068-a4ea-b599e6eb1786 time="2026-09-17T09:46:56Z" msg="Mailbox created" /user remoteMailboxID=8 userID=986fb22f-68d5-4068-a4ea-b599e6eb1786 time="2026-09-17T09:46:56Z" msg="Mailbox created" /user remoteMailboxID=12 userID=986fb22f-68d5-4068-a4ea-b599e6eb1786 time="2026-09-17T09:46:56Z" msg="Mailbox created" /user remoteMailboxID=3 userID=986fb22f-68d5-4068-a4ea-b599e6eb1786 time="2026-09-17T09:46:56Z" msg="Synced labels" time="2026-09-17T09:46:56Z" msg="200 OK: GET https://127.0.0.1:44389/mail/v4/messages/count" /client userID=62202f7f-79e7-4311-8bf2-ca875480bc3b time="2026-09-17T09:46:56Z" msg="Syncing messages" time="2026-09-17T09:46:56Z" msg="Job started" time="2026-09-17T09:46:56Z" msg="200 OK: POST https://127.0.0.1:44389/mail/v4/messages" /client userID=62202f7f-79e7-4311-8bf2-ca875480bc3b time="2026-09-17T09:46:56Z" msg="200 OK: POST https://127.0.0.1:44389/mail/v4/messages" /client userID=62202f7f-79e7-4311-8bf2-ca875480bc3b time="2026-09-17T09:46:56Z" msg="Creating new child job" time="2026-09-17T09:46:56Z" msg="Job finished" time="2026-09-17T09:46:56Z" msg="200 OK: GET https://127.0.0.1:44389/mail/v4/messages/05c8fec7-0314-4262-96e6-a97698344c04" /client userID=62202f7f-79e7-4311-8bf2-ca875480bc3b time="2026-09-17T09:46:56Z" msg="200 OK: GET https://127.0.0.1:44389/mail/v4/messages/34213f9d-daec-4b68-a067-6a58b72c6bba" /client userID=62202f7f-79e7-4311-8bf2-ca875480bc3b time="2026-09-17T09:46:56Z" msg="Sending observability data." time="2026-09-17T09:46:56Z" msg="200 OK: POST https://127.0.0.1:44389/data/v1/metrics" /client userID=62202f7f-79e7-4311-8bf2-ca875480bc3b time="2026-09-17T09:46:56Z" msg="Successfully sent observability data." time="2026-09-17T09:46:56Z" msg="Scheduling observability data sending" time="2026-09-17T09:46:56Z" msg="Child job finished" time="2026-09-17T09:46:56Z" msg="All child jobs completed" sync- time="2026-09-17T09:46:56Z" msg="Synced messages" time="2026-09-17T09:46:56Z" msg="Finished user sync" .191986ms time="2026-09-17T09:46:56Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:46:56Z" msg="Event loop reset" eventID="BA==" And user "a5629c0a-5f68-4457-aa16-1358cfefd9ac" finishes syncing # :1 -> *scenario And user "a5629c0a-5f68-4457-aa16-1358cfefd9ac" connects and authenticates IMAP client "1" # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:46:56Z" msg="200 OK: PUT https://127.0.0.1:44389/mail/v4/messages/label" /client userID=62202f7f-79e7-4311-8bf2-ca875480bc3b Scenario: Copy message to label # features/imap/message/copy.feature:19 When IMAP client "1" copies the message with subject "foo" from "INBOX" to "Labels/label" # :1 -> *scenario And it succeeds # :1 -> *scenario Then IMAP client "1" eventually sees the following messages in "INBOX": # :1 -> *scenario | from | to | subject | unread | | john.doe@mail.com | a5629c0a-5f68-4457-aa16-1358cfefd9ac@proton.local | foo | false | | jane.doe@mail.com | name@proton.local | bar | true | time="2026-09-17T09:46:56Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 5} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:46:56Z" msg="Frontend service stopped" time="2026-09-17T09:46:56Z" msg="Frontend client stopped" time="2026-09-17T09:46:56Z" msg="Closing bridge" time="2026-09-17T09:46:56Z" msg="Stopping service" time="2026-09-17T09:46:56Z" msg="Closing user" userID=62202f7f-79e7-4311-8bf2-ca875480bc3b time="2026-09-17T09:46:56Z" msg="De-registering user client, ID:62202f7f-79e7-4311-8bf2-ca875480bc3b" time="2026-09-17T09:46:56Z" msg="Exiting IMAP Service" time="2026-09-17T09:46:56Z" msg="Exiting service main loop" time="2026-09-17T09:46:56Z" msg="Exiting service main loop" time="2026-09-17T09:46:56Z" msg="Exiting Service" time="2026-09-17T09:46:56Z" msg="Exiting service main loop" time="2026-09-17T09:46:56Z" msg="Exiting service" time="2026-09-17T09:46:56Z" msg="Closing IMAP Listener" time="2026-09-17T09:46:56Z" msg="Closing IMAP server" time="2026-09-17T09:46:56Z" msg="Closing SMTP Listener" time="2026-09-17T09:46:56Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:46:56Z" msg="Closing SMTP server" time="2026-09-17T09:46:56Z" msg="Closing service" And IMAP client "1" eventually sees the following messages in "Labels/label": # :1 -> *scenario | from | to | subject | unread | | john.doe@mail.com | a5629c0a-5f68-4457-aa16-1358cfefd9ac@proton.local | foo | false | time="2026-09-17T09:46:56Z" msg="User '3bc5e35c-ff95-4061-9500-ff5bfc2ab5fc' created with " /server/backend time="2026-09-17T09:46:58Z" msg="Starting bridge" time="2026-09-17T09:46:58Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/060/config3333803778/grpcFocusServerConfig.json /service time="2026-09-17T09:46:58Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/060/cache2803240740/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:46:58Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/060/cache2803240740/notifications/notification_cache: no such file or directory" time="2026-09-17T09:46:58Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/060/data4022447074/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/060/data4022447074/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:46:58Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:46:58Z" msg="Starting IMAP server" time="2026-09-17T09:46:58Z" msg="Starting SMTP server" time="2026-09-17T09:46:58Z" msg="Starting service" time="2026-09-17T09:46:58Z" msg="Starting service" time="2026-09-17T09:46:58Z" msg="Starting frontend service" time="2026-09-17T09:46:58Z" msg="Checking for updates" time="2026-09-17T09:46:58Z" msg="Loading users" /user time="2026-09-17T09:46:58Z" msg="Starting poll service" time="2026-09-17T09:46:58Z" msg="Finished loading users" /user time="2026-09-17T09:46:58Z" msg="Starting receiver service" time="2026-09-17T09:46:58Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/060/config3333803778/grpcServerConfig.json time="2026-09-17T09:46:58Z" msg="gRPC server listening on /tmp/bridge1640" time="2026-09-17T09:46:58Z" msg="Frontend service started" time="2026-09-17T09:46:58Z" msg="Starting frontend client" time="2026-09-17T09:46:58Z" msg="Not monitoring parent PID" time="2026-09-17T09:46:58Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:46:58Z" msg="200 OK: GET https://127.0.0.1:40767/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:46:58Z" msg="Frontend client started" time="2026-09-17T09:46:58Z" msg="Performing full user login" /user username="******** (d24cb856)" time="2026-09-17T09:46:58Z" msg="Authorizing user for login" /user username="******** (d24cb856)" time="2026-09-17T09:46:58Z" msg="200 OK: POST https://127.0.0.1:40767/auth/v4/info" /manager time="2026-09-17T09:46:58Z" msg="200 OK: POST https://127.0.0.1:40767/auth/v4" /manager time="2026-09-17T09:46:58Z" msg="Logging in authorized user" /user userID=4dddad0d-835f-48e0-a753-bac54962284b time="2026-09-17T09:46:58Z" msg="Adding vault user" userID=4dddad0d-835f-48e0-a753-bac54962284b time="2026-09-17T09:46:58Z" msg="Creating new user" userID=4dddad0d-835f-48e0-a753-bac54962284b time="2026-09-17T09:46:58Z" msg="404 GET https://127.0.0.1:40767/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:46:58Z" msg="404 GET https://127.0.0.1:40767/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:46:58Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:40767/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:46:58Z" msg="Creating user object" authUID=80c60593-3560-4f8d-a837-265ca1d0218c numA numL userID=4dddad0d-835f-48e0-a753-bac54962284b time="2026-09-17T09:46:58Z" msg="200 OK: GET https://127.0.0.1:40767/core/v4/events/latest" /client userID=4dddad0d-835f-48e0-a753-bac54962284b time="2026-09-17T09:46:58Z" msg="Starting service Last EventID=BA==" time="2026-09-17T09:46:58Z" msg="200 OK: GET https://127.0.0.1:40767/core/v4/settings" /client userID=4dddad0d-835f-48e0-a753-bac54962284b time="2026-09-17T09:46:58Z" msg="Registering user client, ID:4dddad0d-835f-48e0-a753-bac54962284b" time="2026-09-17T09:46:58Z" msg="Starting user identity service" numA time="2026-09-17T09:46:58Z" msg="Starting service main loop" time="2026-09-17T09:46:58Z" msg="Starting service main loop" time="2026-09-17T09:46:58Z" msg="Starting service main loop" time="2026-09-17T09:46:58Z" msg="200 OK: GET https://127.0.0.1:40767/core/v4/labels?T" /client userID=4dddad0d-835f-48e0-a753-bac54962284b time="2026-09-17T09:46:58Z" msg="200 OK: GET https://127.0.0.1:40767/core/v4/labels?T" /client userID=4dddad0d-835f-48e0-a753-bac54962284b time="2026-09-17T09:46:58Z" msg="200 OK: GET https://127.0.0.1:40767/core/v4/labels?T" /client userID=4dddad0d-835f-48e0-a753-bac54962284b time="2026-09-17T09:46:58Z" msg="Setting labels" labelIDs="[2 4 6 9 10 3 5 7 8 12 0 1 ca92a49b-bb8c-4409-b95e-512fa21b6cb7 03db5c54-bbc4-4f69-870c-64310309b328]" time="2026-09-17T09:46:58Z" msg="Adding user to imap server" addrID=e7014e9b-0ab7-48a2-adf8-fffde23abe36 time="2026-09-17T09:46:58Z" msg="Creating new IMAP user" addrID=e7014e9b-0ab7-48a2-adf8-fffde23abe36 time="2026-09-17T09:46:58Z" msg="Setting gluon ID" addrID=e7014e9b-0ab7-48a2-adf8-fffde23abe36 gluonID=5386b82f-8cdf-4b43-9d5f-bc6ad216e224 userID=4dddad0d-835f-48e0-a753-bac54962284b time="2026-09-17T09:46:58Z" msg="Received mailbox message count" gluonID=5386b82f-8cdf-4b43-9d5f-bc6ad216e224 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:46:58Z" msg="Created new IMAP user" addrID=e7014e9b-0ab7-48a2-adf8-fffde23abe36 gluonID=5386b82f-8cdf-4b43-9d5f-bc6ad216e224 time="2026-09-17T09:46:58Z" msg="Validating Listener State" time="2026-09-17T09:46:58Z" time="2026-09-17T09:46:58Z" msg="Checking whether logged in user should re-sync. UserID:4dddad0d-835f-48e0-a753-bac54962284b" userID=4dddad0d-835f-48e0-a753-bac54962284b time="2026-09-17T09:46:58Z" msg="Starting IMAP Service" time="2026-09-17T09:46:58Z" msg="Sync triggered" time="2026-09-17T09:46:58Z" msg="Beginning user sync" start="2026-09-17 09:46:58.729292773 +0000 UTC m=+107.221595069" time="2026-09-17T09:46:58Z" msg="Syncing labels" time="2026-09-17T09:46:58Z" msg="Label not found in DB, creating mailbox." labelID=ca92a49b-bb8c-4409-b95e-512fa21b6cb7 labelPath="jm2pV8GS7FVFPTesFaU5jW/EhDgcEQCxeWTMDFRvNjU=" numberOfC /labelConflictResolver time="2026-09-17T09:46:58Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=5386b82f-8cdf-4b43-9d5f-bc6ad216e224 time="2026-09-17T09:46:58Z" msg="Label not found in DB, creating mailbox." labelID=03db5c54-bbc4-4f69-870c-64310309b328 labelPath="mHoyd+am6bmNoUvxRZ/ZRvBIQnwu+1OQWf1jSR3oA+s=" numberOfC /labelConflictResolver time="2026-09-17T09:46:58Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=5386b82f-8cdf-4b43-9d5f-bc6ad216e224 time="2026-09-17T09:46:58Z" msg="Mailbox created" /user remoteMailboxID=12 userID=5386b82f-8cdf-4b43-9d5f-bc6ad216e224 time="2026-09-17T09:46:58Z" msg="Mailbox created" /user remoteMailboxID=ca92a49b-bb8c-4409-b95e-512fa21b6cb7 userID=5386b82f-8cdf-4b43-9d5f-bc6ad216e224 time="2026-09-17T09:46:58Z" msg="Mailbox created" /user remoteMailboxID=4 userID=5386b82f-8cdf-4b43-9d5f-bc6ad216e224 time="2026-09-17T09:46:58Z" msg="Mailbox created" /user remoteMailboxID=3 userID=5386b82f-8cdf-4b43-9d5f-bc6ad216e224 time="2026-09-17T09:46:58Z" msg="Mailbox created" /user remoteMailboxID=0 userID=5386b82f-8cdf-4b43-9d5f-bc6ad216e224 time="2026-09-17T09:46:58Z" msg="Mailbox created" /user remoteMailboxID=03db5c54-bbc4-4f69-870c-64310309b328 userID=5386b82f-8cdf-4b43-9d5f-bc6ad216e224 time="2026-09-17T09:46:58Z" msg="Mailbox created" /user remoteMailboxID=6 userID=5386b82f-8cdf-4b43-9d5f-bc6ad216e224 time="2026-09-17T09:46:58Z" msg="Mailbox created" /user remoteMailboxID=10 userID=5386b82f-8cdf-4b43-9d5f-bc6ad216e224 time="2026-09-17T09:46:58Z" msg="Mailbox created" /user remoteMailboxID=5 userID=5386b82f-8cdf-4b43-9d5f-bc6ad216e224 time="2026-09-17T09:46:58Z" msg="Mailbox created" /user remoteMailboxID=7 userID=5386b82f-8cdf-4b43-9d5f-bc6ad216e224 time="2026-09-17T09:46:58Z" msg="Mailbox created" /user remoteMailboxID=8 userID=5386b82f-8cdf-4b43-9d5f-bc6ad216e224 time="2026-09-17T09:46:58Z" msg="Synced labels" time="2026-09-17T09:46:58Z" msg="200 OK: GET https://127.0.0.1:40767/mail/v4/messages/count" /client userID=4dddad0d-835f-48e0-a753-bac54962284b time="2026-09-17T09:46:58Z" msg="Syncing messages" time="2026-09-17T09:46:58Z" msg="Job started" time="2026-09-17T09:46:58Z" msg="200 OK: POST https://127.0.0.1:40767/mail/v4/messages" /client userID=4dddad0d-835f-48e0-a753-bac54962284b time="2026-09-17T09:46:58Z" msg="200 OK: POST https://127.0.0.1:40767/mail/v4/messages" /client userID=4dddad0d-835f-48e0-a753-bac54962284b time="2026-09-17T09:46:58Z" msg="Creating new child job" time="2026-09-17T09:46:58Z" msg="Job finished" time="2026-09-17T09:46:58Z" msg="200 OK: GET https://127.0.0.1:40767/mail/v4/messages/27ccbf2b-96c1-47b6-adf7-24080e277e37" /client userID=4dddad0d-835f-48e0-a753-bac54962284b time="2026-09-17T09:46:58Z" msg="200 OK: GET https://127.0.0.1:40767/mail/v4/messages/6e6df123-f8ed-4ab6-95e1-2faf4b52b2d1" /client userID=4dddad0d-835f-48e0-a753-bac54962284b time="2026-09-17T09:46:58Z" msg="Sending observability data." time="2026-09-17T09:46:58Z" msg="200 OK: POST https://127.0.0.1:40767/data/v1/metrics" /client userID=4dddad0d-835f-48e0-a753-bac54962284b time="2026-09-17T09:46:58Z" msg="Successfully sent observability data." time="2026-09-17T09:46:58Z" msg="Scheduling observability data sending" time="2026-09-17T09:46:58Z" msg="Child job finished" time="2026-09-17T09:46:58Z" msg="All child jobs completed" sync- time="2026-09-17T09:46:58Z" msg="Synced messages" time="2026-09-17T09:46:58Z" msg="Finished user sync" .670908ms time="2026-09-17T09:46:58Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:46:58Z" msg="Event loop reset" eventID="BA==" time="2026-09-17T09:46:58Z" msg="200 OK: PUT https://127.0.0.1:40767/mail/v4/messages/label" /client userID=4dddad0d-835f-48e0-a753-bac54962284b Scenario: Copy all messages to label # features/imap/message/copy.feature:30 When IMAP client "1" copies all messages from "INBOX" to "Labels/label" # :1 -> *scenario And it succeeds # :1 -> *scenario Then IMAP client "1" eventually sees the following messages in "INBOX": # :1 -> *scenario | from | to | subject | unread | | john.doe@mail.com | 3bc5e35c-ff95-4061-9500-ff5bfc2ab5fc@proton.local | foo | false | | jane.doe@mail.com | name@proton.local | bar | true | time="2026-09-17T09:46:58Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 1} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:46:58Z" msg="Frontend service stopped" time="2026-09-17T09:46:58Z" msg="Frontend client stopped" time="2026-09-17T09:46:58Z" msg="Closing bridge" time="2026-09-17T09:46:58Z" msg="Stopping service" time="2026-09-17T09:46:58Z" msg="Closing user" userID=4dddad0d-835f-48e0-a753-bac54962284b time="2026-09-17T09:46:58Z" msg="De-registering user client, ID:4dddad0d-835f-48e0-a753-bac54962284b" time="2026-09-17T09:46:58Z" msg="Exiting IMAP Service" time="2026-09-17T09:46:58Z" msg="Exiting service main loop" time="2026-09-17T09:46:58Z" msg="Exiting service main loop" time="2026-09-17T09:46:58Z" msg="Exiting Service" time="2026-09-17T09:46:58Z" msg="Exiting service main loop" time="2026-09-17T09:46:58Z" msg="Exiting service" time="2026-09-17T09:46:58Z" msg="Closing IMAP Listener" time="2026-09-17T09:46:58Z" msg="Closing IMAP server" time="2026-09-17T09:46:58Z" msg="Closing SMTP Listener" time="2026-09-17T09:46:58Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:46:58Z" msg="Closing SMTP server" time="2026-09-17T09:46:58Z" msg="Closing service" And IMAP client "1" eventually sees the following messages in "Labels/label": # :1 -> *scenario | from | to | subject | unread | | john.doe@mail.com | 3bc5e35c-ff95-4061-9500-ff5bfc2ab5fc@proton.local | foo | false | | jane.doe@mail.com | name@proton.local | bar | true | time="2026-09-17T09:46:59Z" msg="User '15c8d641-4f0e-41f6-9cef-e74d48b47b4b' created with " /server/backend time="2026-09-17T09:47:00Z" msg="Starting bridge" time="2026-09-17T09:47:00Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/061/config676848062/grpcFocusServerConfig.json /service time="2026-09-17T09:47:00Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/061/cache708649075/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:47:00Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/061/cache708649075/notifications/notification_cache: no such file or directory" time="2026-09-17T09:47:00Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/061/data2940001985/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/061/data2940001985/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:47:00Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:47:00Z" msg="Starting IMAP server" time="2026-09-17T09:47:00Z" msg="Starting SMTP server" time="2026-09-17T09:47:00Z" msg="Starting service" time="2026-09-17T09:47:00Z" msg="Starting service" time="2026-09-17T09:47:00Z" msg="Starting frontend service" time="2026-09-17T09:47:00Z" msg="Starting poll service" time="2026-09-17T09:47:00Z" msg="Starting receiver service" time="2026-09-17T09:47:00Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/061/config676848062/grpcServerConfig.json time="2026-09-17T09:47:00Z" msg="gRPC server listening on /tmp/bridge6333" time="2026-09-17T09:47:00Z" msg="Frontend service started" time="2026-09-17T09:47:00Z" msg="Starting frontend client" time="2026-09-17T09:47:00Z" msg="Loading users" /user time="2026-09-17T09:47:00Z" msg="Finished loading users" /user time="2026-09-17T09:47:00Z" msg="Checking for updates" time="2026-09-17T09:47:00Z" msg="Not monitoring parent PID" time="2026-09-17T09:47:00Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:47:00Z" msg="200 OK: GET https://127.0.0.1:36043/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:47:00Z" msg="Frontend client started" time="2026-09-17T09:47:00Z" msg="Performing full user login" /user username="******** (d22fb8c8)" time="2026-09-17T09:47:00Z" msg="Authorizing user for login" /user username="******** (d22fb8c8)" time="2026-09-17T09:47:00Z" msg="200 OK: POST https://127.0.0.1:36043/auth/v4/info" /manager time="2026-09-17T09:47:01Z" msg="200 OK: POST https://127.0.0.1:36043/auth/v4" /manager time="2026-09-17T09:47:01Z" msg="Logging in authorized user" /user userID=54065144-f9ce-4d33-a807-57663b7ffc41 time="2026-09-17T09:47:01Z" msg="Adding vault user" userID=54065144-f9ce-4d33-a807-57663b7ffc41 time="2026-09-17T09:47:01Z" msg="Creating new user" userID=54065144-f9ce-4d33-a807-57663b7ffc41 time="2026-09-17T09:47:01Z" msg="404 GET https://127.0.0.1:36043/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:47:01Z" msg="404 GET https://127.0.0.1:36043/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:47:01Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:36043/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:47:01Z" msg="Creating user object" authUID=e1bcd596-0f78-4677-944b-b3683b740832 numA numL userID=54065144-f9ce-4d33-a807-57663b7ffc41 time="2026-09-17T09:47:01Z" msg="200 OK: GET https://127.0.0.1:36043/core/v4/events/latest" /client userID=54065144-f9ce-4d33-a807-57663b7ffc41 time="2026-09-17T09:47:01Z" msg="Starting service Last EventID=BA==" time="2026-09-17T09:47:01Z" msg="200 OK: GET https://127.0.0.1:36043/core/v4/settings" /client userID=54065144-f9ce-4d33-a807-57663b7ffc41 time="2026-09-17T09:47:01Z" msg="Registering user client, ID:54065144-f9ce-4d33-a807-57663b7ffc41" time="2026-09-17T09:47:01Z" msg="Starting user identity service" numA time="2026-09-17T09:47:01Z" msg="Starting service main loop" time="2026-09-17T09:47:01Z" msg="Starting service main loop" time="2026-09-17T09:47:01Z" msg="Starting service main loop" time="2026-09-17T09:47:01Z" msg="200 OK: GET https://127.0.0.1:36043/core/v4/labels?T" /client userID=54065144-f9ce-4d33-a807-57663b7ffc41 time="2026-09-17T09:47:01Z" msg="200 OK: GET https://127.0.0.1:36043/core/v4/labels?T" /client userID=54065144-f9ce-4d33-a807-57663b7ffc41 time="2026-09-17T09:47:01Z" msg="200 OK: GET https://127.0.0.1:36043/core/v4/labels?T" /client userID=54065144-f9ce-4d33-a807-57663b7ffc41 time="2026-09-17T09:47:01Z" msg="Setting labels" labelIDs="[10 0 1 2 3 4 9 12 5 6 7 8 1907b2a9-8d3d-43e4-95db-9b161098ee28 b67ae266-72be-4961-90a3-666a0d0ad0e2]" time="2026-09-17T09:47:01Z" msg="Adding user to imap server" addrID=ca2b6316-707f-4712-a149-22bf996bdfe3 time="2026-09-17T09:47:01Z" msg="Creating new IMAP user" addrID=ca2b6316-707f-4712-a149-22bf996bdfe3 time="2026-09-17T09:47:01Z" msg="Setting gluon ID" addrID=ca2b6316-707f-4712-a149-22bf996bdfe3 gluonID=e7fdd7e6-b967-4e68-9a6e-4da7af68e4fd userID=54065144-f9ce-4d33-a807-57663b7ffc41 time="2026-09-17T09:47:01Z" msg="Received mailbox message count" gluonID=e7fdd7e6-b967-4e68-9a6e-4da7af68e4fd labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:47:01Z" msg="Created new IMAP user" addrID=ca2b6316-707f-4712-a149-22bf996bdfe3 gluonID=e7fdd7e6-b967-4e68-9a6e-4da7af68e4fd time="2026-09-17T09:47:01Z" msg="Validating Listener State" time="2026-09-17T09:47:01Z" time="2026-09-17T09:47:01Z" msg="Starting IMAP Service" time="2026-09-17T09:47:01Z" msg="Checking whether logged in user should re-sync. UserID:54065144-f9ce-4d33-a807-57663b7ffc41" userID=54065144-f9ce-4d33-a807-57663b7ffc41 time="2026-09-17T09:47:01Z" msg="Sync triggered" time="2026-09-17T09:47:01Z" msg="Beginning user sync" start="2026-09-17 09:47:01.201485479 +0000 UTC m=+109.693787735" time="2026-09-17T09:47:01Z" msg="Syncing labels" time="2026-09-17T09:47:01Z" msg="Label not found in DB, creating mailbox." labelID=1907b2a9-8d3d-43e4-95db-9b161098ee28 labelPath="jm2pV8GS7FVFPTesFaU5jW/EhDgcEQCxeWTMDFRvNjU=" numberOfC /labelConflictResolver time="2026-09-17T09:47:01Z" msg="Label not found in DB, creating mailbox." labelID=b67ae266-72be-4961-90a3-666a0d0ad0e2 labelPath="mHoyd+am6bmNoUvxRZ/ZRvBIQnwu+1OQWf1jSR3oA+s=" numberOfC /labelConflictResolver time="2026-09-17T09:47:01Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=e7fdd7e6-b967-4e68-9a6e-4da7af68e4fd time="2026-09-17T09:47:01Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=e7fdd7e6-b967-4e68-9a6e-4da7af68e4fd time="2026-09-17T09:47:01Z" msg="Mailbox created" /user remoteMailboxID=7 userID=e7fdd7e6-b967-4e68-9a6e-4da7af68e4fd time="2026-09-17T09:47:01Z" msg="Mailbox created" /user remoteMailboxID=8 userID=e7fdd7e6-b967-4e68-9a6e-4da7af68e4fd time="2026-09-17T09:47:01Z" msg="Mailbox created" /user remoteMailboxID=10 userID=e7fdd7e6-b967-4e68-9a6e-4da7af68e4fd time="2026-09-17T09:47:01Z" msg="Mailbox created" /user remoteMailboxID=4 userID=e7fdd7e6-b967-4e68-9a6e-4da7af68e4fd time="2026-09-17T09:47:01Z" msg="Mailbox created" /user remoteMailboxID=12 userID=e7fdd7e6-b967-4e68-9a6e-4da7af68e4fd time="2026-09-17T09:47:01Z" msg="Mailbox created" /user remoteMailboxID=5 userID=e7fdd7e6-b967-4e68-9a6e-4da7af68e4fd time="2026-09-17T09:47:01Z" msg="Mailbox created" /user remoteMailboxID=1907b2a9-8d3d-43e4-95db-9b161098ee28 userID=e7fdd7e6-b967-4e68-9a6e-4da7af68e4fd time="2026-09-17T09:47:01Z" msg="Mailbox created" /user remoteMailboxID=b67ae266-72be-4961-90a3-666a0d0ad0e2 userID=e7fdd7e6-b967-4e68-9a6e-4da7af68e4fd time="2026-09-17T09:47:01Z" msg="Mailbox created" /user remoteMailboxID=0 userID=e7fdd7e6-b967-4e68-9a6e-4da7af68e4fd time="2026-09-17T09:47:01Z" msg="Mailbox created" /user remoteMailboxID=3 userID=e7fdd7e6-b967-4e68-9a6e-4da7af68e4fd time="2026-09-17T09:47:01Z" msg="Mailbox created" /user remoteMailboxID=6 userID=e7fdd7e6-b967-4e68-9a6e-4da7af68e4fd time="2026-09-17T09:47:01Z" msg="Synced labels" time="2026-09-17T09:47:01Z" msg="200 OK: GET https://127.0.0.1:36043/mail/v4/messages/count" /client userID=54065144-f9ce-4d33-a807-57663b7ffc41 time="2026-09-17T09:47:01Z" msg="Syncing messages" time="2026-09-17T09:47:01Z" msg="Job started" time="2026-09-17T09:47:01Z" msg="200 OK: POST https://127.0.0.1:36043/mail/v4/messages" /client userID=54065144-f9ce-4d33-a807-57663b7ffc41 time="2026-09-17T09:47:01Z" msg="200 OK: POST https://127.0.0.1:36043/mail/v4/messages" /client userID=54065144-f9ce-4d33-a807-57663b7ffc41 time="2026-09-17T09:47:01Z" msg="Creating new child job" time="2026-09-17T09:47:01Z" msg="Job finished" time="2026-09-17T09:47:01Z" msg="200 OK: GET https://127.0.0.1:36043/mail/v4/messages/f0f841a9-8d51-43e8-a1fd-a187b0774f7d" /client userID=54065144-f9ce-4d33-a807-57663b7ffc41 time="2026-09-17T09:47:01Z" msg="200 OK: GET https://127.0.0.1:36043/mail/v4/messages/e47c7d95-1eb9-4131-9001-dac3906347ef" /client userID=54065144-f9ce-4d33-a807-57663b7ffc41 time="2026-09-17T09:47:01Z" msg="Sending observability data." time="2026-09-17T09:47:01Z" msg="200 OK: POST https://127.0.0.1:36043/data/v1/metrics" /client userID=54065144-f9ce-4d33-a807-57663b7ffc41 time="2026-09-17T09:47:01Z" msg="Successfully sent observability data." time="2026-09-17T09:47:01Z" msg="Scheduling observability data sending" time="2026-09-17T09:47:01Z" msg="Child job finished" time="2026-09-17T09:47:01Z" msg="All child jobs completed" sync- time="2026-09-17T09:47:01Z" msg="Synced messages" time="2026-09-17T09:47:01Z" msg="Finished user sync" .970185ms time="2026-09-17T09:47:01Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:47:01Z" msg="Event loop reset" eventID="BA==" time="2026-09-17T09:47:01Z" msg="200 OK: PUT https://127.0.0.1:36043/mail/v4/messages/label" /client userID=54065144-f9ce-4d33-a807-57663b7ffc41 Scenario: Copy message to folder does move # features/imap/message/copy.feature:42 When IMAP client "1" copies the message with subject "foo" from "INBOX" to "Folders/mbox" # :1 -> *scenario And it succeeds # :1 -> *scenario time="2026-09-17T09:47:01Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 0} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:47:02Z" msg="200 OK: GET https://127.0.0.1:36043/core/v4/events/BA==" /client userID=54065144-f9ce-4d33-a807-57663b7ffc41 time="2026-09-17T09:47:02Z" msg="Received new API event" new="Event BQ==: messages: , , " old="BA==" time="2026-09-17T09:47:02Z" msg="Handling message updated event" messageID=e47c7d95-1eb9-4131-9001-dac3906347ef subject="******** (2c26b46b)" Then IMAP client "1" eventually sees the following messages in "INBOX": # :1 -> *scenario | from | to | subject | unread | | jane.doe@mail.com | name@proton.local | bar | true | time="2026-09-17T09:47:02Z" msg="Frontend service stopped" time="2026-09-17T09:47:02Z" msg="Frontend client stopped" time="2026-09-17T09:47:02Z" msg="Closing bridge" time="2026-09-17T09:47:02Z" msg="Stopping service" time="2026-09-17T09:47:02Z" msg="Closing user" userID=54065144-f9ce-4d33-a807-57663b7ffc41 time="2026-09-17T09:47:02Z" msg="De-registering user client, ID:54065144-f9ce-4d33-a807-57663b7ffc41" time="2026-09-17T09:47:02Z" msg="Exiting IMAP Service" time="2026-09-17T09:47:02Z" msg="Exiting service main loop" time="2026-09-17T09:47:02Z" msg="Exiting service main loop" time="2026-09-17T09:47:02Z" msg="Exiting Service" time="2026-09-17T09:47:02Z" msg="Exiting service main loop" time="2026-09-17T09:47:02Z" msg="Exiting service" time="2026-09-17T09:47:02Z" msg="Closing IMAP Listener" time="2026-09-17T09:47:02Z" msg="Closing IMAP server" time="2026-09-17T09:47:02Z" msg="Closing SMTP Listener" time="2026-09-17T09:47:02Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:47:02Z" msg="Closing SMTP server" time="2026-09-17T09:47:02Z" msg="Closing service" And IMAP client "1" eventually sees the following messages in "Folders/mbox": # :1 -> *scenario | from | to | subject | unread | | john.doe@mail.com | 15c8d641-4f0e-41f6-9cef-e74d48b47b4b@proton.local | foo | false | time="2026-09-17T09:47:02Z" msg="User '85010602-ed15-4df5-8f07-b40d3dd5baff' created with " /server/backend time="2026-09-17T09:47:04Z" msg="Starting bridge" time="2026-09-17T09:47:04Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/062/config2156812984/grpcFocusServerConfig.json /service time="2026-09-17T09:47:04Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/062/cache377531081/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:47:04Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/062/cache377531081/notifications/notification_cache: no such file or directory" time="2026-09-17T09:47:04Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/062/data1384814645/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/062/data1384814645/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:47:04Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:47:04Z" msg="Starting IMAP server" time="2026-09-17T09:47:04Z" msg="Starting SMTP server" time="2026-09-17T09:47:04Z" msg="Starting service" time="2026-09-17T09:47:04Z" msg="Starting service" time="2026-09-17T09:47:04Z" msg="Starting receiver service" time="2026-09-17T09:47:04Z" msg="Checking for updates" time="2026-09-17T09:47:04Z" msg="Loading users" /user time="2026-09-17T09:47:04Z" msg="Finished loading users" /user time="2026-09-17T09:47:04Z" msg="Starting poll service" time="2026-09-17T09:47:04Z" msg="Starting frontend service" time="2026-09-17T09:47:04Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/062/config2156812984/grpcServerConfig.json time="2026-09-17T09:47:04Z" msg="gRPC server listening on /tmp/bridge8826" time="2026-09-17T09:47:04Z" msg="Frontend service started" time="2026-09-17T09:47:04Z" msg="Starting frontend client" time="2026-09-17T09:47:04Z" msg="Not monitoring parent PID" time="2026-09-17T09:47:04Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:47:04Z" msg="200 OK: GET https://127.0.0.1:44609/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:47:04Z" msg="Frontend client started" time="2026-09-17T09:47:04Z" msg="Performing full user login" /user username="******** (c8e979e7)" time="2026-09-17T09:47:04Z" msg="Authorizing user for login" /user username="******** (c8e979e7)" time="2026-09-17T09:47:04Z" msg="200 OK: POST https://127.0.0.1:44609/auth/v4/info" /manager time="2026-09-17T09:47:04Z" msg="200 OK: POST https://127.0.0.1:44609/auth/v4" /manager time="2026-09-17T09:47:04Z" msg="Logging in authorized user" /user userID=adab52e6-c46d-4c3b-8ad5-c701b24f9040 time="2026-09-17T09:47:04Z" msg="Adding vault user" userID=adab52e6-c46d-4c3b-8ad5-c701b24f9040 time="2026-09-17T09:47:04Z" msg="Creating new user" userID=adab52e6-c46d-4c3b-8ad5-c701b24f9040 time="2026-09-17T09:47:04Z" msg="404 GET https://127.0.0.1:44609/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:47:04Z" msg="404 GET https://127.0.0.1:44609/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:47:04Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:44609/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:47:04Z" msg="Creating user object" authUID=087d22db-0224-4948-afdc-5923adbd7d47 numA numL userID=adab52e6-c46d-4c3b-8ad5-c701b24f9040 time="2026-09-17T09:47:04Z" msg="200 OK: GET https://127.0.0.1:44609/core/v4/events/latest" /client userID=adab52e6-c46d-4c3b-8ad5-c701b24f9040 time="2026-09-17T09:47:04Z" msg="Starting service Last EventID=BA==" time="2026-09-17T09:47:04Z" msg="200 OK: GET https://127.0.0.1:44609/core/v4/settings" /client userID=adab52e6-c46d-4c3b-8ad5-c701b24f9040 time="2026-09-17T09:47:04Z" msg="Registering user client, ID:adab52e6-c46d-4c3b-8ad5-c701b24f9040" time="2026-09-17T09:47:04Z" msg="Starting user identity service" numA time="2026-09-17T09:47:04Z" msg="Starting service main loop" time="2026-09-17T09:47:04Z" msg="Starting service main loop" time="2026-09-17T09:47:04Z" msg="Starting service main loop" time="2026-09-17T09:47:04Z" msg="200 OK: GET https://127.0.0.1:44609/core/v4/labels?T" /client userID=adab52e6-c46d-4c3b-8ad5-c701b24f9040 time="2026-09-17T09:47:04Z" msg="200 OK: GET https://127.0.0.1:44609/core/v4/labels?T" /client userID=adab52e6-c46d-4c3b-8ad5-c701b24f9040 time="2026-09-17T09:47:04Z" msg="200 OK: GET https://127.0.0.1:44609/core/v4/labels?T" /client userID=adab52e6-c46d-4c3b-8ad5-c701b24f9040 time="2026-09-17T09:47:04Z" msg="Setting labels" labelIDs="[4 5 10 1 2 3 6 7 8 9 12 0 78b8b9bd-1715-44aa-a39a-7c01cef56414 7cfb9578-688d-4817-8436-ad8dd0559f87]" time="2026-09-17T09:47:04Z" msg="Adding user to imap server" addrID=9d4ad4ab-4cc0-4710-a921-77d920812126 time="2026-09-17T09:47:04Z" msg="Creating new IMAP user" addrID=9d4ad4ab-4cc0-4710-a921-77d920812126 time="2026-09-17T09:47:04Z" msg="Setting gluon ID" addrID=9d4ad4ab-4cc0-4710-a921-77d920812126 gluonID=d8122d73-6eba-4aa8-bb1f-bfda757351a9 userID=adab52e6-c46d-4c3b-8ad5-c701b24f9040 time="2026-09-17T09:47:04Z" msg="Received mailbox message count" gluonID=d8122d73-6eba-4aa8-bb1f-bfda757351a9 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:47:04Z" msg="Created new IMAP user" addrID=9d4ad4ab-4cc0-4710-a921-77d920812126 gluonID=d8122d73-6eba-4aa8-bb1f-bfda757351a9 time="2026-09-17T09:47:04Z" msg="Validating Listener State" time="2026-09-17T09:47:04Z" time="2026-09-17T09:47:04Z" msg="Checking whether logged in user should re-sync. UserID:adab52e6-c46d-4c3b-8ad5-c701b24f9040" userID=adab52e6-c46d-4c3b-8ad5-c701b24f9040 time="2026-09-17T09:47:04Z" msg="Starting IMAP Service" time="2026-09-17T09:47:04Z" msg="Sync triggered" time="2026-09-17T09:47:04Z" msg="Beginning user sync" start="2026-09-17 09:47:04.582634927 +0000 UTC m=+113.074937263" time="2026-09-17T09:47:04Z" msg="Syncing labels" time="2026-09-17T09:47:04Z" msg="Label not found in DB, creating mailbox." labelID=78b8b9bd-1715-44aa-a39a-7c01cef56414 labelPath="jm2pV8GS7FVFPTesFaU5jW/EhDgcEQCxeWTMDFRvNjU=" numberOfC /labelConflictResolver time="2026-09-17T09:47:04Z" msg="Label not found in DB, creating mailbox." labelID=7cfb9578-688d-4817-8436-ad8dd0559f87 labelPath="mHoyd+am6bmNoUvxRZ/ZRvBIQnwu+1OQWf1jSR3oA+s=" numberOfC /labelConflictResolver time="2026-09-17T09:47:04Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=d8122d73-6eba-4aa8-bb1f-bfda757351a9 time="2026-09-17T09:47:04Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=d8122d73-6eba-4aa8-bb1f-bfda757351a9 time="2026-09-17T09:47:04Z" msg="Mailbox created" /user remoteMailboxID=3 userID=d8122d73-6eba-4aa8-bb1f-bfda757351a9 time="2026-09-17T09:47:04Z" msg="Mailbox created" /user remoteMailboxID=7 userID=d8122d73-6eba-4aa8-bb1f-bfda757351a9 time="2026-09-17T09:47:04Z" msg="Mailbox created" /user remoteMailboxID=8 userID=d8122d73-6eba-4aa8-bb1f-bfda757351a9 time="2026-09-17T09:47:04Z" msg="Mailbox created" /user remoteMailboxID=6 userID=d8122d73-6eba-4aa8-bb1f-bfda757351a9 time="2026-09-17T09:47:04Z" msg="Mailbox created" /user remoteMailboxID=12 userID=d8122d73-6eba-4aa8-bb1f-bfda757351a9 time="2026-09-17T09:47:04Z" msg="Mailbox created" /user remoteMailboxID=0 userID=d8122d73-6eba-4aa8-bb1f-bfda757351a9 time="2026-09-17T09:47:04Z" msg="Mailbox created" /user remoteMailboxID=78b8b9bd-1715-44aa-a39a-7c01cef56414 userID=d8122d73-6eba-4aa8-bb1f-bfda757351a9 time="2026-09-17T09:47:04Z" msg="Mailbox created" /user remoteMailboxID=7cfb9578-688d-4817-8436-ad8dd0559f87 userID=d8122d73-6eba-4aa8-bb1f-bfda757351a9 time="2026-09-17T09:47:04Z" msg="Mailbox created" /user remoteMailboxID=4 userID=d8122d73-6eba-4aa8-bb1f-bfda757351a9 time="2026-09-17T09:47:04Z" msg="Mailbox created" /user remoteMailboxID=5 userID=d8122d73-6eba-4aa8-bb1f-bfda757351a9 time="2026-09-17T09:47:04Z" msg="Mailbox created" /user remoteMailboxID=10 userID=d8122d73-6eba-4aa8-bb1f-bfda757351a9 time="2026-09-17T09:47:04Z" msg="Synced labels" time="2026-09-17T09:47:04Z" msg="200 OK: GET https://127.0.0.1:44609/mail/v4/messages/count" /client userID=adab52e6-c46d-4c3b-8ad5-c701b24f9040 time="2026-09-17T09:47:04Z" msg="Syncing messages" time="2026-09-17T09:47:04Z" msg="Job started" time="2026-09-17T09:47:04Z" msg="200 OK: POST https://127.0.0.1:44609/mail/v4/messages" /client userID=adab52e6-c46d-4c3b-8ad5-c701b24f9040 time="2026-09-17T09:47:04Z" msg="200 OK: POST https://127.0.0.1:44609/mail/v4/messages" /client userID=adab52e6-c46d-4c3b-8ad5-c701b24f9040 time="2026-09-17T09:47:04Z" msg="Creating new child job" time="2026-09-17T09:47:04Z" msg="Job finished" time="2026-09-17T09:47:04Z" msg="200 OK: GET https://127.0.0.1:44609/mail/v4/messages/72d1d487-c380-4301-8958-865e2fae8bea" /client userID=adab52e6-c46d-4c3b-8ad5-c701b24f9040 time="2026-09-17T09:47:04Z" msg="200 OK: GET https://127.0.0.1:44609/mail/v4/messages/d12c51d8-ac3e-40bb-908b-f69f5956ac1b" /client userID=adab52e6-c46d-4c3b-8ad5-c701b24f9040 time="2026-09-17T09:47:04Z" msg="Sending observability data." time="2026-09-17T09:47:04Z" msg="200 OK: POST https://127.0.0.1:44609/data/v1/metrics" /client userID=adab52e6-c46d-4c3b-8ad5-c701b24f9040 time="2026-09-17T09:47:04Z" msg="Successfully sent observability data." time="2026-09-17T09:47:04Z" msg="Scheduling observability data sending" time="2026-09-17T09:47:04Z" msg="Child job finished" time="2026-09-17T09:47:04Z" msg="All child jobs completed" sync- time="2026-09-17T09:47:04Z" msg="Synced messages" time="2026-09-17T09:47:04Z" msg="Finished user sync" .150373ms time="2026-09-17T09:47:04Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:47:04Z" msg="Event loop reset" eventID="BA==" time="2026-09-17T09:47:04Z" msg="200 OK: PUT https://127.0.0.1:44609/mail/v4/messages/label" /client userID=adab52e6-c46d-4c3b-8ad5-c701b24f9040 Scenario: Copy all messages to folder does move # features/imap/message/copy.feature:52 When IMAP client "1" copies all messages from "INBOX" to "Folders/mbox" # :1 -> *scenario And it succeeds # :1 -> *scenario Then IMAP client "1" eventually sees the following messages in "Folders/mbox": # :1 -> *scenario | from | to | subject | unread | | john.doe@mail.com | 85010602-ed15-4df5-8f07-b40d3dd5baff@proton.local | foo | false | | jane.doe@mail.com | name@proton.local | bar | true | time="2026-09-17T09:47:04Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 6} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:47:05Z" msg="200 OK: GET https://127.0.0.1:44609/core/v4/events/BA==" /client userID=adab52e6-c46d-4c3b-8ad5-c701b24f9040 time="2026-09-17T09:47:05Z" msg="Received new API event" new="Event Bg==: messages: , , " old="BA==" time="2026-09-17T09:47:05Z" msg="Handling message updated event" messageID=72d1d487-c380-4301-8958-865e2fae8bea subject="******** (2c26b46b)" time="2026-09-17T09:47:05Z" msg="Handling message updated event" messageID=d12c51d8-ac3e-40bb-908b-f69f5956ac1b subject="******** (fcde2b2e)" time="2026-09-17T09:47:05Z" msg="Frontend service stopped" time="2026-09-17T09:47:05Z" msg="Frontend client stopped" time="2026-09-17T09:47:05Z" msg="Closing bridge" time="2026-09-17T09:47:05Z" msg="Stopping service" time="2026-09-17T09:47:05Z" msg="Closing user" userID=adab52e6-c46d-4c3b-8ad5-c701b24f9040 time="2026-09-17T09:47:05Z" msg="De-registering user client, ID:adab52e6-c46d-4c3b-8ad5-c701b24f9040" time="2026-09-17T09:47:05Z" msg="Exiting IMAP Service" time="2026-09-17T09:47:05Z" msg="Exiting service main loop" time="2026-09-17T09:47:05Z" msg="Exiting service main loop" time="2026-09-17T09:47:05Z" msg="Exiting Service" time="2026-09-17T09:47:05Z" msg="Exiting service main loop" time="2026-09-17T09:47:05Z" msg="Exiting service" time="2026-09-17T09:47:05Z" msg="Closing IMAP Listener" time="2026-09-17T09:47:05Z" msg="Closing IMAP server" time="2026-09-17T09:47:05Z" msg="Closing SMTP Listener" time="2026-09-17T09:47:05Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:47:05Z" msg="Closing SMTP server" time="2026-09-17T09:47:05Z" msg="Closing service" And IMAP client "1" eventually sees 0 messages in "INBOX" # :1 -> *scenario time="2026-09-17T09:47:05Z" msg="User '2d33a483-1a88-4985-8464-07585f8cdc7c' created with " /server/backend time="2026-09-17T09:47:07Z" msg="Starting bridge" time="2026-09-17T09:47:07Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/063/config3822769851/grpcFocusServerConfig.json /service time="2026-09-17T09:47:07Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/063/cache4037874385/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:47:07Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/063/cache4037874385/notifications/notification_cache: no such file or directory" time="2026-09-17T09:47:07Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/063/data1881319996/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/063/data1881319996/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:47:07Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:47:07Z" msg="Starting IMAP server" time="2026-09-17T09:47:07Z" msg="Starting SMTP server" time="2026-09-17T09:47:07Z" msg="Starting service" time="2026-09-17T09:47:07Z" msg="Starting service" time="2026-09-17T09:47:07Z" msg="Starting frontend service" time="2026-09-17T09:47:07Z" msg="Starting poll service" time="2026-09-17T09:47:07Z" msg="Loading users" /user time="2026-09-17T09:47:07Z" msg="Checking for updates" time="2026-09-17T09:47:07Z" msg="Starting receiver service" time="2026-09-17T09:47:07Z" msg="Finished loading users" /user time="2026-09-17T09:47:07Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/063/config3822769851/grpcServerConfig.json time="2026-09-17T09:47:07Z" msg="gRPC server listening on /tmp/bridge4228" time="2026-09-17T09:47:07Z" msg="Frontend service started" time="2026-09-17T09:47:07Z" msg="Starting frontend client" time="2026-09-17T09:47:07Z" msg="Not monitoring parent PID" time="2026-09-17T09:47:07Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:47:07Z" msg="200 OK: GET https://127.0.0.1:40193/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:47:07Z" msg="Frontend client started" time="2026-09-17T09:47:07Z" msg="Performing full user login" /user username="******** (f90fe5ec)" time="2026-09-17T09:47:07Z" msg="Authorizing user for login" /user username="******** (f90fe5ec)" time="2026-09-17T09:47:07Z" msg="200 OK: POST https://127.0.0.1:40193/auth/v4/info" /manager time="2026-09-17T09:47:07Z" msg="200 OK: POST https://127.0.0.1:40193/auth/v4" /manager time="2026-09-17T09:47:07Z" msg="Logging in authorized user" /user userID=cb6e1d16-1fa5-4846-aff6-ce3b6574cdbf time="2026-09-17T09:47:07Z" msg="Adding vault user" userID=cb6e1d16-1fa5-4846-aff6-ce3b6574cdbf time="2026-09-17T09:47:07Z" msg="Creating new user" userID=cb6e1d16-1fa5-4846-aff6-ce3b6574cdbf time="2026-09-17T09:47:07Z" msg="404 GET https://127.0.0.1:40193/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:47:07Z" msg="404 GET https://127.0.0.1:40193/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:47:07Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:40193/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:47:07Z" msg="Creating user object" authUID=b8de6aac-9dce-4f9c-9dbc-b9867943291e numA numL userID=cb6e1d16-1fa5-4846-aff6-ce3b6574cdbf time="2026-09-17T09:47:07Z" msg="200 OK: GET https://127.0.0.1:40193/core/v4/events/latest" /client userID=cb6e1d16-1fa5-4846-aff6-ce3b6574cdbf time="2026-09-17T09:47:07Z" msg="Starting service Last EventID=BA==" time="2026-09-17T09:47:07Z" msg="200 OK: GET https://127.0.0.1:40193/core/v4/settings" /client userID=cb6e1d16-1fa5-4846-aff6-ce3b6574cdbf time="2026-09-17T09:47:07Z" msg="Registering user client, ID:cb6e1d16-1fa5-4846-aff6-ce3b6574cdbf" time="2026-09-17T09:47:07Z" msg="Starting user identity service" numA time="2026-09-17T09:47:07Z" msg="Starting service main loop" time="2026-09-17T09:47:07Z" msg="Starting service main loop" time="2026-09-17T09:47:07Z" msg="Starting service main loop" time="2026-09-17T09:47:07Z" msg="200 OK: GET https://127.0.0.1:40193/core/v4/labels?T" /client userID=cb6e1d16-1fa5-4846-aff6-ce3b6574cdbf time="2026-09-17T09:47:07Z" msg="200 OK: GET https://127.0.0.1:40193/core/v4/labels?T" /client userID=cb6e1d16-1fa5-4846-aff6-ce3b6574cdbf time="2026-09-17T09:47:07Z" msg="200 OK: GET https://127.0.0.1:40193/core/v4/labels?T" /client userID=cb6e1d16-1fa5-4846-aff6-ce3b6574cdbf time="2026-09-17T09:47:07Z" msg="Setting labels" labelIDs="[2 6 7 9 10 12 0 3 4 5 8 1 14f5efdf-85d8-4214-9c0f-4c24ceab6dd6 0f1acb76-bae3-4083-b659-b1b7d9f57ecb]" time="2026-09-17T09:47:07Z" msg="Adding user to imap server" addrID=292679dd-6cdd-478f-8ff4-28ea20d7fdd9 time="2026-09-17T09:47:07Z" msg="Creating new IMAP user" addrID=292679dd-6cdd-478f-8ff4-28ea20d7fdd9 time="2026-09-17T09:47:07Z" msg="Setting gluon ID" addrID=292679dd-6cdd-478f-8ff4-28ea20d7fdd9 gluonID=ec8aada2-5b75-4370-bb1b-0fbbb31cffd5 userID=cb6e1d16-1fa5-4846-aff6-ce3b6574cdbf time="2026-09-17T09:47:07Z" msg="Received mailbox message count" gluonID=ec8aada2-5b75-4370-bb1b-0fbbb31cffd5 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:47:07Z" msg="Created new IMAP user" addrID=292679dd-6cdd-478f-8ff4-28ea20d7fdd9 gluonID=ec8aada2-5b75-4370-bb1b-0fbbb31cffd5 time="2026-09-17T09:47:07Z" msg="Validating Listener State" time="2026-09-17T09:47:07Z" time="2026-09-17T09:47:07Z" msg="Checking whether logged in user should re-sync. UserID:cb6e1d16-1fa5-4846-aff6-ce3b6574cdbf" userID=cb6e1d16-1fa5-4846-aff6-ce3b6574cdbf time="2026-09-17T09:47:07Z" msg="Starting IMAP Service" time="2026-09-17T09:47:07Z" msg="Sync triggered" time="2026-09-17T09:47:07Z" msg="Beginning user sync" start="2026-09-17 09:47:07.856682191 +0000 UTC m=+116.348984527" time="2026-09-17T09:47:07Z" msg="Syncing labels" time="2026-09-17T09:47:07Z" msg="Label not found in DB, creating mailbox." labelID=14f5efdf-85d8-4214-9c0f-4c24ceab6dd6 labelPath="jm2pV8GS7FVFPTesFaU5jW/EhDgcEQCxeWTMDFRvNjU=" numberOfC /labelConflictResolver time="2026-09-17T09:47:07Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=ec8aada2-5b75-4370-bb1b-0fbbb31cffd5 time="2026-09-17T09:47:07Z" msg="Label not found in DB, creating mailbox." labelID=0f1acb76-bae3-4083-b659-b1b7d9f57ecb labelPath="mHoyd+am6bmNoUvxRZ/ZRvBIQnwu+1OQWf1jSR3oA+s=" numberOfC /labelConflictResolver time="2026-09-17T09:47:07Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=ec8aada2-5b75-4370-bb1b-0fbbb31cffd5 time="2026-09-17T09:47:07Z" msg="Mailbox created" /user remoteMailboxID=7 userID=ec8aada2-5b75-4370-bb1b-0fbbb31cffd5 time="2026-09-17T09:47:07Z" msg="Mailbox created" /user remoteMailboxID=10 userID=ec8aada2-5b75-4370-bb1b-0fbbb31cffd5 time="2026-09-17T09:47:07Z" msg="Mailbox created" /user remoteMailboxID=12 userID=ec8aada2-5b75-4370-bb1b-0fbbb31cffd5 time="2026-09-17T09:47:07Z" msg="Mailbox created" /user remoteMailboxID=3 userID=ec8aada2-5b75-4370-bb1b-0fbbb31cffd5 time="2026-09-17T09:47:07Z" msg="Mailbox created" /user remoteMailboxID=14f5efdf-85d8-4214-9c0f-4c24ceab6dd6 userID=ec8aada2-5b75-4370-bb1b-0fbbb31cffd5 time="2026-09-17T09:47:07Z" msg="Mailbox created" /user remoteMailboxID=0f1acb76-bae3-4083-b659-b1b7d9f57ecb userID=ec8aada2-5b75-4370-bb1b-0fbbb31cffd5 time="2026-09-17T09:47:07Z" msg="Mailbox created" /user remoteMailboxID=6 userID=ec8aada2-5b75-4370-bb1b-0fbbb31cffd5 time="2026-09-17T09:47:07Z" msg="Mailbox created" /user remoteMailboxID=0 userID=ec8aada2-5b75-4370-bb1b-0fbbb31cffd5 time="2026-09-17T09:47:07Z" msg="Mailbox created" /user remoteMailboxID=4 userID=ec8aada2-5b75-4370-bb1b-0fbbb31cffd5 time="2026-09-17T09:47:07Z" msg="Mailbox created" /user remoteMailboxID=5 userID=ec8aada2-5b75-4370-bb1b-0fbbb31cffd5 time="2026-09-17T09:47:07Z" msg="Mailbox created" /user remoteMailboxID=8 userID=ec8aada2-5b75-4370-bb1b-0fbbb31cffd5 time="2026-09-17T09:47:07Z" msg="Synced labels" time="2026-09-17T09:47:07Z" msg="200 OK: GET https://127.0.0.1:40193/mail/v4/messages/count" /client userID=cb6e1d16-1fa5-4846-aff6-ce3b6574cdbf time="2026-09-17T09:47:07Z" msg="Syncing messages" time="2026-09-17T09:47:07Z" msg="Job started" time="2026-09-17T09:47:07Z" msg="200 OK: POST https://127.0.0.1:40193/mail/v4/messages" /client userID=cb6e1d16-1fa5-4846-aff6-ce3b6574cdbf time="2026-09-17T09:47:07Z" msg="200 OK: POST https://127.0.0.1:40193/mail/v4/messages" /client userID=cb6e1d16-1fa5-4846-aff6-ce3b6574cdbf time="2026-09-17T09:47:07Z" msg="Creating new child job" time="2026-09-17T09:47:07Z" msg="Job finished" time="2026-09-17T09:47:07Z" msg="200 OK: GET https://127.0.0.1:40193/mail/v4/messages/8aaf5908-5d64-499b-90d6-ed89892fde9c" /client userID=cb6e1d16-1fa5-4846-aff6-ce3b6574cdbf time="2026-09-17T09:47:07Z" msg="200 OK: GET https://127.0.0.1:40193/mail/v4/messages/fd5a83ba-f043-4d6f-9e55-66946ed38cfa" /client userID=cb6e1d16-1fa5-4846-aff6-ce3b6574cdbf time="2026-09-17T09:47:07Z" msg="Sending observability data." time="2026-09-17T09:47:07Z" msg="200 OK: POST https://127.0.0.1:40193/data/v1/metrics" /client userID=cb6e1d16-1fa5-4846-aff6-ce3b6574cdbf time="2026-09-17T09:47:07Z" msg="Successfully sent observability data." time="2026-09-17T09:47:07Z" msg="Scheduling observability data sending" time="2026-09-17T09:47:07Z" msg="Child job finished" time="2026-09-17T09:47:07Z" msg="All child jobs completed" sync- time="2026-09-17T09:47:07Z" msg="Synced messages" time="2026-09-17T09:47:07Z" msg="Finished user sync" .284826ms time="2026-09-17T09:47:07Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:47:07Z" msg="Event loop reset" eventID="BA==" time="2026-09-17T09:47:07Z" msg="200 OK: PUT https://127.0.0.1:40193/mail/v4/messages/label" /client userID=cb6e1d16-1fa5-4846-aff6-ce3b6574cdbf Scenario: Copy message from Inbox to Sent is not possible # features/imap/message/copy.feature:61 When IMAP client "1" copies the message with subject "foo" from "INBOX" to "Sent" # :1 -> *scenario And it succeeds # :1 -> *scenario Then IMAP client "1" eventually sees the following messages in "INBOX": # :1 -> *scenario | from | to | subject | unread | | john.doe@mail.com | 2d33a483-1a88-4985-8464-07585f8cdc7c@proton.local | foo | false | | jane.doe@mail.com | name@proton.local | bar | true | time="2026-09-17T09:47:08Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 4} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:47:08Z" msg="200 OK: GET https://127.0.0.1:40193/core/v4/events/BA==" /client userID=cb6e1d16-1fa5-4846-aff6-ce3b6574cdbf time="2026-09-17T09:47:08Z" msg="Received new API event" new="Event BQ==: messages: , , " old="BA==" time="2026-09-17T09:47:08Z" msg="Handling message updated event" messageID=fd5a83ba-f043-4d6f-9e55-66946ed38cfa subject="******** (2c26b46b)" time="2026-09-17T09:47:08Z" msg="Frontend service stopped" time="2026-09-17T09:47:08Z" msg="Frontend client stopped" time="2026-09-17T09:47:08Z" msg="Closing bridge" time="2026-09-17T09:47:08Z" msg="Stopping service" time="2026-09-17T09:47:08Z" msg="Closing user" userID=cb6e1d16-1fa5-4846-aff6-ce3b6574cdbf time="2026-09-17T09:47:08Z" msg="De-registering user client, ID:cb6e1d16-1fa5-4846-aff6-ce3b6574cdbf" time="2026-09-17T09:47:08Z" msg="Exiting IMAP Service" time="2026-09-17T09:47:08Z" msg="Exiting service main loop" time="2026-09-17T09:47:08Z" msg="Exiting service main loop" time="2026-09-17T09:47:08Z" msg="Exiting Service" time="2026-09-17T09:47:08Z" msg="Exiting service main loop" time="2026-09-17T09:47:08Z" msg="Exiting service" time="2026-09-17T09:47:08Z" msg="Closing IMAP Listener" time="2026-09-17T09:47:08Z" msg="Closing IMAP server" time="2026-09-17T09:47:08Z" msg="Closing SMTP Listener" time="2026-09-17T09:47:08Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:47:08Z" msg="Closing SMTP server" time="2026-09-17T09:47:08Z" msg="Closing service" And IMAP client "1" eventually sees 0 messages in "Sent" # :1 -> *scenario time="2026-09-17T09:47:09Z" msg="User '1cfa3610-fb55-4e08-9994-9451c0798e42' created with " /server/backend time="2026-09-17T09:47:10Z" msg="Starting bridge" time="2026-09-17T09:47:10Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/064/config1267460261/grpcFocusServerConfig.json /service time="2026-09-17T09:47:10Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/064/cache2235008530/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:47:10Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/064/cache2235008530/notifications/notification_cache: no such file or directory" time="2026-09-17T09:47:10Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/064/data1336546664/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/064/data1336546664/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:47:10Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:47:10Z" msg="Starting IMAP server" time="2026-09-17T09:47:10Z" msg="Starting SMTP server" time="2026-09-17T09:47:10Z" msg="Starting service" time="2026-09-17T09:47:10Z" msg="Starting service" time="2026-09-17T09:47:10Z" msg="Starting frontend service" time="2026-09-17T09:47:10Z" msg="Starting poll service" time="2026-09-17T09:47:10Z" msg="Checking for updates" time="2026-09-17T09:47:10Z" msg="Starting receiver service" time="2026-09-17T09:47:10Z" msg="Loading users" /user time="2026-09-17T09:47:10Z" msg="Finished loading users" /user time="2026-09-17T09:47:10Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/064/config1267460261/grpcServerConfig.json time="2026-09-17T09:47:10Z" msg="gRPC server listening on /tmp/bridge0166" time="2026-09-17T09:47:10Z" msg="Frontend service started" time="2026-09-17T09:47:10Z" msg="Starting frontend client" time="2026-09-17T09:47:10Z" msg="Not monitoring parent PID" time="2026-09-17T09:47:10Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:47:10Z" msg="200 OK: GET https://127.0.0.1:35573/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:47:10Z" msg="Frontend client started" time="2026-09-17T09:47:10Z" msg="Performing full user login" /user username="******** (01374621)" time="2026-09-17T09:47:10Z" msg="Authorizing user for login" /user username="******** (01374621)" time="2026-09-17T09:47:10Z" msg="200 OK: POST https://127.0.0.1:35573/auth/v4/info" /manager time="2026-09-17T09:47:11Z" msg="200 OK: POST https://127.0.0.1:35573/auth/v4" /manager time="2026-09-17T09:47:11Z" msg="Logging in authorized user" /user userID=1f2bf7a6-6b4b-4193-a8c2-f8255c0c00d3 time="2026-09-17T09:47:11Z" msg="Adding vault user" userID=1f2bf7a6-6b4b-4193-a8c2-f8255c0c00d3 time="2026-09-17T09:47:11Z" msg="Creating new user" userID=1f2bf7a6-6b4b-4193-a8c2-f8255c0c00d3 time="2026-09-17T09:47:11Z" msg="404 GET https://127.0.0.1:35573/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:47:11Z" msg="404 GET https://127.0.0.1:35573/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:47:11Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:35573/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:47:11Z" msg="Creating user object" authUID=c821ed93-1744-4677-831f-ad4d3f606fce numA numL userID=1f2bf7a6-6b4b-4193-a8c2-f8255c0c00d3 time="2026-09-17T09:47:11Z" msg="200 OK: GET https://127.0.0.1:35573/core/v4/events/latest" /client userID=1f2bf7a6-6b4b-4193-a8c2-f8255c0c00d3 time="2026-09-17T09:47:11Z" msg="Starting service Last EventID=BA==" time="2026-09-17T09:47:11Z" msg="200 OK: GET https://127.0.0.1:35573/core/v4/settings" /client userID=1f2bf7a6-6b4b-4193-a8c2-f8255c0c00d3 time="2026-09-17T09:47:11Z" msg="Registering user client, ID:1f2bf7a6-6b4b-4193-a8c2-f8255c0c00d3" time="2026-09-17T09:47:11Z" msg="Starting user identity service" numA time="2026-09-17T09:47:11Z" msg="Starting service main loop" time="2026-09-17T09:47:11Z" msg="Starting service main loop" time="2026-09-17T09:47:11Z" msg="Starting service main loop" time="2026-09-17T09:47:11Z" msg="200 OK: GET https://127.0.0.1:35573/core/v4/labels?T" /client userID=1f2bf7a6-6b4b-4193-a8c2-f8255c0c00d3 time="2026-09-17T09:47:11Z" msg="200 OK: GET https://127.0.0.1:35573/core/v4/labels?T" /client userID=1f2bf7a6-6b4b-4193-a8c2-f8255c0c00d3 time="2026-09-17T09:47:11Z" msg="200 OK: GET https://127.0.0.1:35573/core/v4/labels?T" /client userID=1f2bf7a6-6b4b-4193-a8c2-f8255c0c00d3 time="2026-09-17T09:47:11Z" msg="Setting labels" labelIDs="[0 1 3 4 6 7 8 9 2 5 10 12 f97c54e5-30f4-44d0-9236-3469b2c05890 bdd6306d-9c11-4703-bdd3-8efc5884098c]" time="2026-09-17T09:47:11Z" msg="Adding user to imap server" addrID=6b53904b-2cde-4de6-872a-31ea6786201e time="2026-09-17T09:47:11Z" msg="Creating new IMAP user" addrID=6b53904b-2cde-4de6-872a-31ea6786201e time="2026-09-17T09:47:11Z" msg="Setting gluon ID" addrID=6b53904b-2cde-4de6-872a-31ea6786201e gluonID=1226e8eb-20b9-4994-a39b-b8823f43f8c3 userID=1f2bf7a6-6b4b-4193-a8c2-f8255c0c00d3 time="2026-09-17T09:47:11Z" msg="Received mailbox message count" gluonID=1226e8eb-20b9-4994-a39b-b8823f43f8c3 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:47:11Z" msg="Created new IMAP user" addrID=6b53904b-2cde-4de6-872a-31ea6786201e gluonID=1226e8eb-20b9-4994-a39b-b8823f43f8c3 time="2026-09-17T09:47:11Z" msg="Validating Listener State" time="2026-09-17T09:47:11Z" time="2026-09-17T09:47:11Z" msg="Starting IMAP Service" time="2026-09-17T09:47:11Z" msg="Checking whether logged in user should re-sync. UserID:1f2bf7a6-6b4b-4193-a8c2-f8255c0c00d3" userID=1f2bf7a6-6b4b-4193-a8c2-f8255c0c00d3 time="2026-09-17T09:47:11Z" msg="Sync triggered" time="2026-09-17T09:47:11Z" msg="Beginning user sync" start="2026-09-17 09:47:11.104333022 +0000 UTC m=+119.596635318" time="2026-09-17T09:47:11Z" msg="Syncing labels" time="2026-09-17T09:47:11Z" msg="Label not found in DB, creating mailbox." labelID=f97c54e5-30f4-44d0-9236-3469b2c05890 labelPath="jm2pV8GS7FVFPTesFaU5jW/EhDgcEQCxeWTMDFRvNjU=" numberOfC /labelConflictResolver time="2026-09-17T09:47:11Z" msg="Label not found in DB, creating mailbox." labelID=bdd6306d-9c11-4703-bdd3-8efc5884098c labelPath="mHoyd+am6bmNoUvxRZ/ZRvBIQnwu+1OQWf1jSR3oA+s=" numberOfC /labelConflictResolver time="2026-09-17T09:47:11Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=1226e8eb-20b9-4994-a39b-b8823f43f8c3 time="2026-09-17T09:47:11Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=1226e8eb-20b9-4994-a39b-b8823f43f8c3 time="2026-09-17T09:47:11Z" msg="Mailbox created" /user remoteMailboxID=12 userID=1226e8eb-20b9-4994-a39b-b8823f43f8c3 time="2026-09-17T09:47:11Z" msg="Mailbox created" /user remoteMailboxID=f97c54e5-30f4-44d0-9236-3469b2c05890 userID=1226e8eb-20b9-4994-a39b-b8823f43f8c3 time="2026-09-17T09:47:11Z" msg="Mailbox created" /user remoteMailboxID=0 userID=1226e8eb-20b9-4994-a39b-b8823f43f8c3 time="2026-09-17T09:47:11Z" msg="Mailbox created" /user remoteMailboxID=4 userID=1226e8eb-20b9-4994-a39b-b8823f43f8c3 time="2026-09-17T09:47:11Z" msg="Mailbox created" /user remoteMailboxID=7 userID=1226e8eb-20b9-4994-a39b-b8823f43f8c3 time="2026-09-17T09:47:11Z" msg="Mailbox created" /user remoteMailboxID=8 userID=1226e8eb-20b9-4994-a39b-b8823f43f8c3 time="2026-09-17T09:47:11Z" msg="Mailbox created" /user remoteMailboxID=bdd6306d-9c11-4703-bdd3-8efc5884098c userID=1226e8eb-20b9-4994-a39b-b8823f43f8c3 time="2026-09-17T09:47:11Z" msg="Mailbox created" /user remoteMailboxID=3 userID=1226e8eb-20b9-4994-a39b-b8823f43f8c3 time="2026-09-17T09:47:11Z" msg="Mailbox created" /user remoteMailboxID=6 userID=1226e8eb-20b9-4994-a39b-b8823f43f8c3 time="2026-09-17T09:47:11Z" msg="Mailbox created" /user remoteMailboxID=5 userID=1226e8eb-20b9-4994-a39b-b8823f43f8c3 time="2026-09-17T09:47:11Z" msg="Mailbox created" /user remoteMailboxID=10 userID=1226e8eb-20b9-4994-a39b-b8823f43f8c3 time="2026-09-17T09:47:11Z" msg="Synced labels" time="2026-09-17T09:47:11Z" msg="200 OK: GET https://127.0.0.1:35573/mail/v4/messages/count" /client userID=1f2bf7a6-6b4b-4193-a8c2-f8255c0c00d3 time="2026-09-17T09:47:11Z" msg="Syncing messages" time="2026-09-17T09:47:11Z" msg="Job started" time="2026-09-17T09:47:11Z" msg="200 OK: POST https://127.0.0.1:35573/mail/v4/messages" /client userID=1f2bf7a6-6b4b-4193-a8c2-f8255c0c00d3 time="2026-09-17T09:47:11Z" msg="200 OK: POST https://127.0.0.1:35573/mail/v4/messages" /client userID=1f2bf7a6-6b4b-4193-a8c2-f8255c0c00d3 time="2026-09-17T09:47:11Z" msg="Creating new child job" time="2026-09-17T09:47:11Z" msg="Job finished" time="2026-09-17T09:47:11Z" msg="200 OK: GET https://127.0.0.1:35573/mail/v4/messages/91eb1697-ccc8-442d-aab4-e22098ebd27c" /client userID=1f2bf7a6-6b4b-4193-a8c2-f8255c0c00d3 time="2026-09-17T09:47:11Z" msg="200 OK: GET https://127.0.0.1:35573/mail/v4/messages/c9faec9f-032c-4cad-9212-ab958dd5c8c7" /client userID=1f2bf7a6-6b4b-4193-a8c2-f8255c0c00d3 time="2026-09-17T09:47:11Z" msg="Sending observability data." time="2026-09-17T09:47:11Z" msg="200 OK: POST https://127.0.0.1:35573/data/v1/metrics" /client userID=1f2bf7a6-6b4b-4193-a8c2-f8255c0c00d3 time="2026-09-17T09:47:11Z" msg="Successfully sent observability data." time="2026-09-17T09:47:11Z" msg="Scheduling observability data sending" time="2026-09-17T09:47:11Z" msg="Child job finished" time="2026-09-17T09:47:11Z" msg="All child jobs completed" sync- time="2026-09-17T09:47:11Z" msg="Synced messages" time="2026-09-17T09:47:11Z" msg="Finished user sync" .138034ms time="2026-09-17T09:47:11Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:47:11Z" msg="Event loop reset" eventID="BA==" Scenario: Copy message from All mail moves from the original location # features/imap/message/copy.feature:70 Given IMAP client "1" eventually sees the following messages in "INBOX": # :1 -> *scenario | from | to | subject | unread | | john.doe@mail.com | 1cfa3610-fb55-4e08-9994-9451c0798e42@proton.local | foo | false | | jane.doe@mail.com | name@proton.local | bar | true | time="2026-09-17T09:47:11Z" msg="200 OK: PUT https://127.0.0.1:35573/mail/v4/messages/label" /client userID=1f2bf7a6-6b4b-4193-a8c2-f8255c0c00d3 When IMAP client "1" copies the message with subject "foo" from "All Mail" to "Folders/mbox" # :1 -> *scenario And it succeeds # :1 -> *scenario time="2026-09-17T09:47:11Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 0} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:47:12Z" msg="200 OK: GET https://127.0.0.1:35573/core/v4/events/BA==" /client userID=1f2bf7a6-6b4b-4193-a8c2-f8255c0c00d3 time="2026-09-17T09:47:12Z" msg="Received new API event" new="Event BQ==: messages: , , " old="BA==" time="2026-09-17T09:47:12Z" msg="Handling message updated event" messageID=c9faec9f-032c-4cad-9212-ab958dd5c8c7 subject="******** (2c26b46b)" Then IMAP client "1" eventually sees the following messages in "INBOX": # :1 -> *scenario | from | to | subject | unread | | jane.doe@mail.com | name@proton.local | bar | true | And IMAP client "1" eventually sees the following messages in "All Mail": # :1 -> *scenario | from | to | subject | unread | | john.doe@mail.com | 1cfa3610-fb55-4e08-9994-9451c0798e42@proton.local | foo | false | | jane.doe@mail.com | name@proton.local | bar | true | time="2026-09-17T09:47:12Z" msg="Frontend service stopped" time="2026-09-17T09:47:12Z" msg="Frontend client stopped" time="2026-09-17T09:47:12Z" msg="Closing bridge" time="2026-09-17T09:47:12Z" msg="Stopping service" time="2026-09-17T09:47:12Z" msg="Closing user" userID=1f2bf7a6-6b4b-4193-a8c2-f8255c0c00d3 time="2026-09-17T09:47:12Z" msg="De-registering user client, ID:1f2bf7a6-6b4b-4193-a8c2-f8255c0c00d3" time="2026-09-17T09:47:12Z" msg="Exiting IMAP Service" time="2026-09-17T09:47:12Z" msg="Exiting service main loop" time="2026-09-17T09:47:12Z" msg="Exiting service main loop" time="2026-09-17T09:47:12Z" msg="Exiting Service" time="2026-09-17T09:47:12Z" msg="Exiting service main loop" time="2026-09-17T09:47:12Z" msg="Exiting service" time="2026-09-17T09:47:12Z" msg="Closing IMAP Listener" time="2026-09-17T09:47:12Z" msg="Closing IMAP server" time="2026-09-17T09:47:12Z" msg="Closing SMTP Listener" time="2026-09-17T09:47:12Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:47:12Z" msg="Closing SMTP server" time="2026-09-17T09:47:12Z" msg="Closing service" And IMAP client "1" eventually sees the following messages in "Folders/mbox": # :1 -> *scenario | from | to | subject | unread | | john.doe@mail.com | 1cfa3610-fb55-4e08-9994-9451c0798e42@proton.local | foo | false | time="2026-09-17T09:47:12Z" msg="User 'b56b29ac-9ddf-4503-a34a-87bdbd437362' created with " /server/backend time="2026-09-17T09:47:14Z" msg="Starting bridge" time="2026-09-17T09:47:14Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/065/config1624122773/grpcFocusServerConfig.json /service time="2026-09-17T09:47:14Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/065/cache2483203920/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:47:14Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/065/cache2483203920/notifications/notification_cache: no such file or directory" time="2026-09-17T09:47:14Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/065/data2737531622/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/065/data2737531622/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:47:14Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:47:14Z" msg="Starting IMAP server" time="2026-09-17T09:47:14Z" msg="Starting SMTP server" time="2026-09-17T09:47:14Z" msg="Starting service" time="2026-09-17T09:47:14Z" msg="Starting service" time="2026-09-17T09:47:14Z" msg="Starting receiver service" time="2026-09-17T09:47:14Z" msg="Starting frontend service" time="2026-09-17T09:47:14Z" msg="Starting poll service" time="2026-09-17T09:47:14Z" msg="Checking for updates" time="2026-09-17T09:47:14Z" msg="Loading users" /user time="2026-09-17T09:47:14Z" msg="Finished loading users" /user time="2026-09-17T09:47:14Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/065/config1624122773/grpcServerConfig.json time="2026-09-17T09:47:14Z" msg="gRPC server listening on /tmp/bridge5024" time="2026-09-17T09:47:14Z" msg="Frontend service started" time="2026-09-17T09:47:14Z" msg="Starting frontend client" time="2026-09-17T09:47:14Z" msg="Not monitoring parent PID" time="2026-09-17T09:47:14Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:47:14Z" msg="Frontend client started" time="2026-09-17T09:47:14Z" msg="Performing full user login" /user username="******** (1a445029)" time="2026-09-17T09:47:14Z" msg="Authorizing user for login" /user username="******** (1a445029)" time="2026-09-17T09:47:14Z" msg="200 OK: GET https://127.0.0.1:40823/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:47:14Z" msg="200 OK: POST https://127.0.0.1:40823/auth/v4/info" /manager time="2026-09-17T09:47:14Z" msg="200 OK: POST https://127.0.0.1:40823/auth/v4" /manager time="2026-09-17T09:47:14Z" msg="Logging in authorized user" /user userID=e7412f42-7702-44d7-9004-3a6fc245c221 time="2026-09-17T09:47:14Z" msg="Adding vault user" userID=e7412f42-7702-44d7-9004-3a6fc245c221 time="2026-09-17T09:47:14Z" msg="Creating new user" userID=e7412f42-7702-44d7-9004-3a6fc245c221 time="2026-09-17T09:47:14Z" msg="404 GET https://127.0.0.1:40823/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:47:14Z" msg="404 GET https://127.0.0.1:40823/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:47:14Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:40823/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:47:14Z" msg="Creating user object" authUID=5858dadc-1db6-4834-b1f7-f95b71bad6f2 numA numL userID=e7412f42-7702-44d7-9004-3a6fc245c221 time="2026-09-17T09:47:14Z" msg="200 OK: GET https://127.0.0.1:40823/core/v4/events/latest" /client userID=e7412f42-7702-44d7-9004-3a6fc245c221 time="2026-09-17T09:47:14Z" msg="Starting service Last EventID=BA==" time="2026-09-17T09:47:14Z" msg="200 OK: GET https://127.0.0.1:40823/core/v4/settings" /client userID=e7412f42-7702-44d7-9004-3a6fc245c221 time="2026-09-17T09:47:14Z" msg="Registering user client, ID:e7412f42-7702-44d7-9004-3a6fc245c221" time="2026-09-17T09:47:14Z" msg="Starting user identity service" numA time="2026-09-17T09:47:14Z" msg="Starting service main loop" time="2026-09-17T09:47:14Z" msg="Starting service main loop" time="2026-09-17T09:47:14Z" msg="Starting service main loop" time="2026-09-17T09:47:14Z" msg="200 OK: GET https://127.0.0.1:40823/core/v4/labels?T" /client userID=e7412f42-7702-44d7-9004-3a6fc245c221 time="2026-09-17T09:47:14Z" msg="200 OK: GET https://127.0.0.1:40823/core/v4/labels?T" /client userID=e7412f42-7702-44d7-9004-3a6fc245c221 time="2026-09-17T09:47:14Z" msg="200 OK: GET https://127.0.0.1:40823/core/v4/labels?T" /client userID=e7412f42-7702-44d7-9004-3a6fc245c221 time="2026-09-17T09:47:14Z" msg="Setting labels" labelIDs="[7 8 10 12 2 4 5 6 9 0 1 3 5a085197-8265-467c-9188-95bfb767a7fc 29d9ffc7-8999-4a7e-9637-66843b8e2804]" time="2026-09-17T09:47:14Z" msg="Adding user to imap server" addrID=495953d2-8b04-49e5-b798-64f497a46ff4 time="2026-09-17T09:47:14Z" msg="Creating new IMAP user" addrID=495953d2-8b04-49e5-b798-64f497a46ff4 time="2026-09-17T09:47:14Z" msg="Setting gluon ID" addrID=495953d2-8b04-49e5-b798-64f497a46ff4 gluonID=effda150-b789-4cf3-b98b-719009948ce7 userID=e7412f42-7702-44d7-9004-3a6fc245c221 time="2026-09-17T09:47:14Z" msg="Received mailbox message count" gluonID=effda150-b789-4cf3-b98b-719009948ce7 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:47:14Z" msg="Created new IMAP user" addrID=495953d2-8b04-49e5-b798-64f497a46ff4 gluonID=effda150-b789-4cf3-b98b-719009948ce7 time="2026-09-17T09:47:14Z" msg="Validating Listener State" time="2026-09-17T09:47:14Z" time="2026-09-17T09:47:14Z" msg="Checking whether logged in user should re-sync. UserID:e7412f42-7702-44d7-9004-3a6fc245c221" userID=e7412f42-7702-44d7-9004-3a6fc245c221 time="2026-09-17T09:47:14Z" msg="Starting IMAP Service" time="2026-09-17T09:47:14Z" msg="Sync triggered" time="2026-09-17T09:47:14Z" msg="Beginning user sync" start="2026-09-17 09:47:14.575807437 +0000 UTC m=+123.068110093" time="2026-09-17T09:47:14Z" msg="Syncing labels" time="2026-09-17T09:47:14Z" msg="Label not found in DB, creating mailbox." labelID=5a085197-8265-467c-9188-95bfb767a7fc labelPath="jm2pV8GS7FVFPTesFaU5jW/EhDgcEQCxeWTMDFRvNjU=" numberOfC /labelConflictResolver time="2026-09-17T09:47:14Z" msg="Label not found in DB, creating mailbox." labelID=29d9ffc7-8999-4a7e-9637-66843b8e2804 labelPath="mHoyd+am6bmNoUvxRZ/ZRvBIQnwu+1OQWf1jSR3oA+s=" numberOfC /labelConflictResolver time="2026-09-17T09:47:14Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=effda150-b789-4cf3-b98b-719009948ce7 time="2026-09-17T09:47:14Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=effda150-b789-4cf3-b98b-719009948ce7 time="2026-09-17T09:47:14Z" msg="Mailbox created" /user remoteMailboxID=10 userID=effda150-b789-4cf3-b98b-719009948ce7 time="2026-09-17T09:47:14Z" msg="Mailbox created" /user remoteMailboxID=4 userID=effda150-b789-4cf3-b98b-719009948ce7 time="2026-09-17T09:47:14Z" msg="Mailbox created" /user remoteMailboxID=6 userID=effda150-b789-4cf3-b98b-719009948ce7 time="2026-09-17T09:47:14Z" msg="Mailbox created" /user remoteMailboxID=0 userID=effda150-b789-4cf3-b98b-719009948ce7 time="2026-09-17T09:47:14Z" msg="Mailbox created" /user remoteMailboxID=3 userID=effda150-b789-4cf3-b98b-719009948ce7 time="2026-09-17T09:47:14Z" msg="Mailbox created" /user remoteMailboxID=8 userID=effda150-b789-4cf3-b98b-719009948ce7 time="2026-09-17T09:47:14Z" msg="Mailbox created" /user remoteMailboxID=12 userID=effda150-b789-4cf3-b98b-719009948ce7 time="2026-09-17T09:47:14Z" msg="Mailbox created" /user remoteMailboxID=5 userID=effda150-b789-4cf3-b98b-719009948ce7 time="2026-09-17T09:47:14Z" msg="Mailbox created" /user remoteMailboxID=5a085197-8265-467c-9188-95bfb767a7fc userID=effda150-b789-4cf3-b98b-719009948ce7 time="2026-09-17T09:47:14Z" msg="Mailbox created" /user remoteMailboxID=29d9ffc7-8999-4a7e-9637-66843b8e2804 userID=effda150-b789-4cf3-b98b-719009948ce7 time="2026-09-17T09:47:14Z" msg="Mailbox created" /user remoteMailboxID=7 userID=effda150-b789-4cf3-b98b-719009948ce7 time="2026-09-17T09:47:14Z" msg="Synced labels" time="2026-09-17T09:47:14Z" msg="200 OK: GET https://127.0.0.1:40823/mail/v4/messages/count" /client userID=e7412f42-7702-44d7-9004-3a6fc245c221 time="2026-09-17T09:47:14Z" msg="Syncing messages" time="2026-09-17T09:47:14Z" msg="Job started" time="2026-09-17T09:47:14Z" msg="200 OK: POST https://127.0.0.1:40823/mail/v4/messages" /client userID=e7412f42-7702-44d7-9004-3a6fc245c221 time="2026-09-17T09:47:14Z" msg="200 OK: POST https://127.0.0.1:40823/mail/v4/messages" /client userID=e7412f42-7702-44d7-9004-3a6fc245c221 time="2026-09-17T09:47:14Z" msg="Creating new child job" time="2026-09-17T09:47:14Z" msg="Job finished" time="2026-09-17T09:47:14Z" msg="200 OK: GET https://127.0.0.1:40823/mail/v4/messages/5141c57c-8a76-43ed-b1b1-88f54c0d53d8" /client userID=e7412f42-7702-44d7-9004-3a6fc245c221 time="2026-09-17T09:47:14Z" msg="200 OK: GET https://127.0.0.1:40823/mail/v4/messages/8591a03b-50a1-4d16-966c-92016ca7ee73" /client userID=e7412f42-7702-44d7-9004-3a6fc245c221 time="2026-09-17T09:47:14Z" msg="Sending observability data." time="2026-09-17T09:47:14Z" msg="200 OK: POST https://127.0.0.1:40823/data/v1/metrics" /client userID=e7412f42-7702-44d7-9004-3a6fc245c221 time="2026-09-17T09:47:14Z" msg="Successfully sent observability data." time="2026-09-17T09:47:14Z" msg="Scheduling observability data sending" time="2026-09-17T09:47:14Z" msg="Child job finished" time="2026-09-17T09:47:14Z" msg="All child jobs completed" sync- time="2026-09-17T09:47:14Z" msg="Synced messages" time="2026-09-17T09:47:14Z" msg="Finished user sync" .004825ms time="2026-09-17T09:47:14Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:47:14Z" msg="Event loop reset" eventID="BA==" time="2026-09-17T09:47:14Z" msg="200 OK: PUT https://127.0.0.1:40823/mail/v4/messages/label" /client userID=e7412f42-7702-44d7-9004-3a6fc245c221 time="2026-09-17T09:47:14Z" msg="200 OK: PUT https://127.0.0.1:40823/mail/v4/messages/unlabel" /client userID=e7412f42-7702-44d7-9004-3a6fc245c221 Scenario: Move message to trash then copy to folder does not delete message # features/imap/message/copy.feature:88 When IMAP client "1" moves the message with subject "foo" from "INBOX" to "Trash" # :1 -> *scenario And it succeeds # :1 -> *scenario Then IMAP client "1" eventually sees the following messages in "Trash": # :1 -> *scenario | from | to | subject | unread | | john.doe@mail.com | b56b29ac-9ddf-4503-a34a-87bdbd437362@proton.local | foo | false | time="2026-09-17T09:47:14Z" msg="200 OK: PUT https://127.0.0.1:40823/mail/v4/messages/label" /client userID=e7412f42-7702-44d7-9004-3a6fc245c221 When IMAP client "1" copies the message with subject "foo" from "Trash" to "Folders/mbox" # :1 -> *scenario And it succeeds # :1 -> *scenario When IMAP client "1" marks the message with subject "foo" as deleted # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:47:14Z" msg="200 OK: PUT https://127.0.0.1:40823/mail/v4/messages/unlabel" /client userID=e7412f42-7702-44d7-9004-3a6fc245c221 time="2026-09-17T09:47:14Z" msg="200 OK: POST https://127.0.0.1:40823/mail/v4/messages" /client userID=e7412f42-7702-44d7-9004-3a6fc245c221 time="2026-09-17T09:47:14Z" msg="Message has not been marked for deletion due to remaining labels." addr- gluon- labels id(s)="[5a085197-8265-467c-9188-95bfb767a7fc 5]" mailboxID=3 messageID=8591a03b-50a1-4d16-966c-92016ca7ee73 remainingLabels="[8591a03b-50a1-4d16-966c-92016ca7ee73]" user- When IMAP client "1" expunges # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:47:14Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 0} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:47:14Z" msg="Frontend service stopped" time="2026-09-17T09:47:14Z" msg="Frontend client stopped" time="2026-09-17T09:47:14Z" msg="Closing bridge" time="2026-09-17T09:47:14Z" msg="Stopping service" time="2026-09-17T09:47:14Z" msg="Closing user" userID=e7412f42-7702-44d7-9004-3a6fc245c221 time="2026-09-17T09:47:14Z" msg="De-registering user client, ID:e7412f42-7702-44d7-9004-3a6fc245c221" time="2026-09-17T09:47:14Z" msg="Exiting IMAP Service" time="2026-09-17T09:47:14Z" msg="Exiting service main loop" time="2026-09-17T09:47:14Z" msg="Exiting service main loop" time="2026-09-17T09:47:14Z" msg="Exiting Service" time="2026-09-17T09:47:14Z" msg="Exiting service main loop" time="2026-09-17T09:47:14Z" msg="Exiting service" time="2026-09-17T09:47:14Z" msg="Closing IMAP Listener" time="2026-09-17T09:47:14Z" msg="Closing IMAP server" time="2026-09-17T09:47:14Z" msg="Closing SMTP Listener" time="2026-09-17T09:47:14Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:47:14Z" msg="Closing SMTP server" time="2026-09-17T09:47:14Z" msg="Closing service" Then IMAP client "1" eventually sees the following messages in "Folders/mbox": # :1 -> *scenario | from | to | subject | unread | | john.doe@mail.com | b56b29ac-9ddf-4503-a34a-87bdbd437362@proton.local | foo | false | Feature: IMAP create messages time="2026-09-17T09:47:15Z" msg="User 'c7015857-6776-433d-bab6-849e2b07e2cf' created with " /server/backend Background: Given there exists an account with username "c7015857-6776-433d-bab6-849e2b07e2cf" and password "password" # :1 -> *scenario And the account "c7015857-6776-433d-bab6-849e2b07e2cf" has additional address "c20e8541-b1a3-4c1a-a307-4788a0cb421b@proton.local" # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:47:15Z" msg="Starting bridge" time="2026-09-17T09:47:15Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/066/config2405872209/grpcFocusServerConfig.json /service time="2026-09-17T09:47:15Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/066/cache3923989379/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:47:15Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/066/cache3923989379/notifications/notification_cache: no such file or directory" time="2026-09-17T09:47:15Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/066/data3068214719/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/066/data3068214719/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:47:15Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:47:15Z" msg="Starting IMAP server" time="2026-09-17T09:47:15Z" msg="Starting SMTP server" time="2026-09-17T09:47:15Z" msg="Starting service" time="2026-09-17T09:47:15Z" msg="Starting service" time="2026-09-17T09:47:15Z" msg="Starting receiver service" time="2026-09-17T09:47:15Z" msg="Starting frontend service" time="2026-09-17T09:47:15Z" msg="Starting poll service" time="2026-09-17T09:47:15Z" msg="Loading users" /user time="2026-09-17T09:47:15Z" msg="Finished loading users" /user time="2026-09-17T09:47:15Z" msg="Checking for updates" time="2026-09-17T09:47:15Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/066/config2405872209/grpcServerConfig.json time="2026-09-17T09:47:15Z" msg="gRPC server listening on /tmp/bridge2517" time="2026-09-17T09:47:15Z" msg="Frontend service started" time="2026-09-17T09:47:15Z" msg="Starting frontend client" time="2026-09-17T09:47:15Z" msg="Not monitoring parent PID" time="2026-09-17T09:47:15Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:47:15Z" msg="Frontend client started" When bridge starts # :1 -> *scenario time="2026-09-17T09:47:15Z" msg="Performing full user login" /user username="******** (50a3c841)" time="2026-09-17T09:47:15Z" msg="Authorizing user for login" /user username="******** (50a3c841)" time="2026-09-17T09:47:15Z" msg="200 OK: GET https://127.0.0.1:45257/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:47:15Z" msg="200 OK: POST https://127.0.0.1:45257/auth/v4/info" /manager time="2026-09-17T09:47:16Z" msg="200 OK: POST https://127.0.0.1:45257/auth/v4" /manager time="2026-09-17T09:47:16Z" msg="Logging in authorized user" /user userID=ef148f61-f300-4b93-be2e-6b2bf478d898 time="2026-09-17T09:47:16Z" msg="Adding vault user" userID=ef148f61-f300-4b93-be2e-6b2bf478d898 time="2026-09-17T09:47:16Z" msg="Creating new user" userID=ef148f61-f300-4b93-be2e-6b2bf478d898 time="2026-09-17T09:47:16Z" msg="404 GET https://127.0.0.1:45257/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:47:16Z" msg="404 GET https://127.0.0.1:45257/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:47:16Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:45257/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:47:16Z" msg="Creating user object" authUID=e4d772ba-c2d0-4f69-a884-f5f2a269b15d numA numL userID=ef148f61-f300-4b93-be2e-6b2bf478d898 time="2026-09-17T09:47:16Z" msg="200 OK: GET https://127.0.0.1:45257/core/v4/events/latest" /client userID=ef148f61-f300-4b93-be2e-6b2bf478d898 time="2026-09-17T09:47:16Z" msg="Starting service Last EventID=AQ==" time="2026-09-17T09:47:16Z" msg="200 OK: GET https://127.0.0.1:45257/core/v4/settings" /client userID=ef148f61-f300-4b93-be2e-6b2bf478d898 time="2026-09-17T09:47:16Z" msg="Registering user client, ID:ef148f61-f300-4b93-be2e-6b2bf478d898" time="2026-09-17T09:47:16Z" msg="Starting user identity service" numA time="2026-09-17T09:47:16Z" msg="Starting service main loop" time="2026-09-17T09:47:16Z" msg="Starting service main loop" time="2026-09-17T09:47:16Z" msg="Starting service main loop" time="2026-09-17T09:47:16Z" msg="200 OK: GET https://127.0.0.1:45257/core/v4/labels?T" /client userID=ef148f61-f300-4b93-be2e-6b2bf478d898 time="2026-09-17T09:47:16Z" msg="200 OK: GET https://127.0.0.1:45257/core/v4/labels?T" /client userID=ef148f61-f300-4b93-be2e-6b2bf478d898 time="2026-09-17T09:47:16Z" msg="200 OK: GET https://127.0.0.1:45257/core/v4/labels?T" /client userID=ef148f61-f300-4b93-be2e-6b2bf478d898 time="2026-09-17T09:47:16Z" msg="Setting labels" labelIDs="[5 8 0 1 3 6 7 9 10 12 2 4]" time="2026-09-17T09:47:16Z" msg="Adding user to imap server" addrID=ef7eb216-03ac-42d5-896d-f767799700d0 time="2026-09-17T09:47:16Z" msg="Creating new IMAP user" addrID=ef7eb216-03ac-42d5-896d-f767799700d0 time="2026-09-17T09:47:16Z" msg="Setting gluon ID" addrID=ef7eb216-03ac-42d5-896d-f767799700d0 gluonID=10082fa6-b54d-4ece-ba35-3b7d85a258bf userID=ef148f61-f300-4b93-be2e-6b2bf478d898 time="2026-09-17T09:47:16Z" msg="Received mailbox message count" gluonID=10082fa6-b54d-4ece-ba35-3b7d85a258bf labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:47:16Z" msg="Created new IMAP user" addrID=ef7eb216-03ac-42d5-896d-f767799700d0 gluonID=10082fa6-b54d-4ece-ba35-3b7d85a258bf time="2026-09-17T09:47:16Z" msg="Validating Listener State" time="2026-09-17T09:47:16Z" time="2026-09-17T09:47:16Z" msg="Starting IMAP Service" time="2026-09-17T09:47:16Z" msg="Checking whether logged in user should re-sync. UserID:ef148f61-f300-4b93-be2e-6b2bf478d898" userID=ef148f61-f300-4b93-be2e-6b2bf478d898 And the user logs in with username "c7015857-6776-433d-bab6-849e2b07e2cf" and password "password" # :1 -> *scenario time="2026-09-17T09:47:16Z" msg="Sync triggered" time="2026-09-17T09:47:16Z" msg="Beginning user sync" start="2026-09-17 09:47:16.358533132 +0000 UTC m=+124.850835428" time="2026-09-17T09:47:16Z" msg="Syncing labels" time="2026-09-17T09:47:16Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=10082fa6-b54d-4ece-ba35-3b7d85a258bf time="2026-09-17T09:47:16Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=10082fa6-b54d-4ece-ba35-3b7d85a258bf time="2026-09-17T09:47:16Z" msg="Mailbox created" /user remoteMailboxID=10 userID=10082fa6-b54d-4ece-ba35-3b7d85a258bf time="2026-09-17T09:47:16Z" msg="Mailbox created" /user remoteMailboxID=5 userID=10082fa6-b54d-4ece-ba35-3b7d85a258bf time="2026-09-17T09:47:16Z" msg="Mailbox created" /user remoteMailboxID=8 userID=10082fa6-b54d-4ece-ba35-3b7d85a258bf time="2026-09-17T09:47:16Z" msg="Mailbox created" /user remoteMailboxID=0 userID=10082fa6-b54d-4ece-ba35-3b7d85a258bf time="2026-09-17T09:47:16Z" msg="Mailbox created" /user remoteMailboxID=6 userID=10082fa6-b54d-4ece-ba35-3b7d85a258bf time="2026-09-17T09:47:16Z" msg="Mailbox created" /user remoteMailboxID=12 userID=10082fa6-b54d-4ece-ba35-3b7d85a258bf time="2026-09-17T09:47:16Z" msg="Mailbox created" /user remoteMailboxID=4 userID=10082fa6-b54d-4ece-ba35-3b7d85a258bf time="2026-09-17T09:47:16Z" msg="Mailbox created" /user remoteMailboxID=3 userID=10082fa6-b54d-4ece-ba35-3b7d85a258bf time="2026-09-17T09:47:16Z" msg="Mailbox created" /user remoteMailboxID=7 userID=10082fa6-b54d-4ece-ba35-3b7d85a258bf time="2026-09-17T09:47:16Z" msg="Synced labels" time="2026-09-17T09:47:16Z" msg="200 OK: GET https://127.0.0.1:45257/mail/v4/messages/count" /client userID=ef148f61-f300-4b93-be2e-6b2bf478d898 time="2026-09-17T09:47:16Z" msg="Syncing messages" time="2026-09-17T09:47:16Z" msg="Job started" time="2026-09-17T09:47:16Z" msg="200 OK: POST https://127.0.0.1:45257/mail/v4/messages" /client userID=ef148f61-f300-4b93-be2e-6b2bf478d898 time="2026-09-17T09:47:16Z" msg="Job finished" time="2026-09-17T09:47:16Z" msg="All child jobs completed" sync- time="2026-09-17T09:47:16Z" msg="Synced messages" time="2026-09-17T09:47:16Z" msg="Finished user sync" .02696ms time="2026-09-17T09:47:16Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:47:16Z" msg="Event loop reset" eventID="AQ==" And user "c7015857-6776-433d-bab6-849e2b07e2cf" finishes syncing # :1 -> *scenario And user "c7015857-6776-433d-bab6-849e2b07e2cf" connects and authenticates IMAP client "1" # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:47:16Z" msg="Appended message has no date, adding default one so it does not fail test" time="2026-09-17T09:47:16Z" msg="200 OK: POST https://127.0.0.1:45257/mail/v4/messages/import" /client userID=ef148f61-f300-4b93-be2e-6b2bf478d898 time="2026-09-17T09:47:16Z" msg="200 OK: GET https://127.0.0.1:45257/mail/v4/messages/7071c651-4679-4490-bccc-36b83292062a" /client userID=ef148f61-f300-4b93-be2e-6b2bf478d898 Scenario: Creates message to user's primary address # features/imap/message/create.feature:12 When IMAP client "1" appends the following messages to "INBOX": # :1 -> *scenario | from | to | subject | body | | john.doe@email.com | c7015857-6776-433d-bab6-849e2b07e2cf@proton.local | foo | bar | Then it succeeds # :1 -> *scenario And IMAP client "1" eventually sees the following messages in "INBOX": # :1 -> *scenario | from | to | subject | body | | john.doe@email.com | c7015857-6776-433d-bab6-849e2b07e2cf@proton.local | foo | bar | time="2026-09-17T09:47:16Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 2} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:47:17Z" msg="200 OK: GET https://127.0.0.1:45257/core/v4/events/AQ==" /client userID=ef148f61-f300-4b93-be2e-6b2bf478d898 time="2026-09-17T09:47:17Z" msg="Received new API event" new="Event Ag==: messages: , , " old="AQ==" time="2026-09-17T09:47:17Z" msg="Handling message created event" messageID=7071c651-4679-4490-bccc-36b83292062a subject="******** (2c26b46b)" time="2026-09-17T09:47:17Z" msg="200 OK: GET https://127.0.0.1:45257/mail/v4/messages/7071c651-4679-4490-bccc-36b83292062a" /client userID=ef148f61-f300-4b93-be2e-6b2bf478d898 time="2026-09-17T09:47:17Z" msg="Found existing message in create event, will update instead" MessageID=7071c651-4679-4490-bccc-36b83292062a... /user userID=10082fa6-b54d-4ece-ba35-3b7d85a258bf time="2026-09-17T09:47:17Z" msg="Frontend service stopped" time="2026-09-17T09:47:17Z" msg="Frontend client stopped" time="2026-09-17T09:47:17Z" msg="Closing bridge" time="2026-09-17T09:47:17Z" msg="Stopping service" time="2026-09-17T09:47:17Z" msg="Closing user" userID=ef148f61-f300-4b93-be2e-6b2bf478d898 time="2026-09-17T09:47:17Z" msg="De-registering user client, ID:ef148f61-f300-4b93-be2e-6b2bf478d898" time="2026-09-17T09:47:17Z" msg="Exiting IMAP Service" time="2026-09-17T09:47:17Z" msg="Exiting service main loop" time="2026-09-17T09:47:17Z" msg="Exiting service main loop" time="2026-09-17T09:47:17Z" msg="Exiting Service" time="2026-09-17T09:47:17Z" msg="Exiting service main loop" time="2026-09-17T09:47:17Z" msg="Exiting service" time="2026-09-17T09:47:17Z" msg="Closing IMAP Listener" time="2026-09-17T09:47:17Z" msg="Closing IMAP server" time="2026-09-17T09:47:17Z" msg="Closing SMTP Listener" time="2026-09-17T09:47:17Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:47:17Z" msg="Closing SMTP server" time="2026-09-17T09:47:17Z" msg="Closing service" And IMAP client "1" eventually sees the following messages in "All Mail": # :1 -> *scenario | from | to | subject | body | | john.doe@email.com | c7015857-6776-433d-bab6-849e2b07e2cf@proton.local | foo | bar | time="2026-09-17T09:47:17Z" msg="User '3fc37948-3d7f-4384-9707-bec3f50d7809' created with " /server/backend time="2026-09-17T09:47:18Z" msg="Starting bridge" time="2026-09-17T09:47:18Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/067/config1124926529/grpcFocusServerConfig.json /service time="2026-09-17T09:47:18Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/067/cache1576765079/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:47:18Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/067/cache1576765079/notifications/notification_cache: no such file or directory" time="2026-09-17T09:47:18Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/067/data4010367739/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/067/data4010367739/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:47:18Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:47:18Z" msg="Starting IMAP server" time="2026-09-17T09:47:18Z" msg="Starting SMTP server" time="2026-09-17T09:47:18Z" msg="Starting service" time="2026-09-17T09:47:18Z" msg="Starting service" time="2026-09-17T09:47:18Z" msg="Starting poll service" time="2026-09-17T09:47:18Z" msg="Starting receiver service" time="2026-09-17T09:47:18Z" msg="Checking for updates" time="2026-09-17T09:47:18Z" msg="Loading users" /user time="2026-09-17T09:47:18Z" msg="Finished loading users" /user time="2026-09-17T09:47:18Z" msg="Starting frontend service" time="2026-09-17T09:47:18Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/067/config1124926529/grpcServerConfig.json time="2026-09-17T09:47:18Z" msg="gRPC server listening on /tmp/bridge6177" time="2026-09-17T09:47:18Z" msg="Frontend service started" time="2026-09-17T09:47:18Z" msg="Starting frontend client" time="2026-09-17T09:47:18Z" msg="Not monitoring parent PID" time="2026-09-17T09:47:18Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:47:18Z" msg="200 OK: GET https://127.0.0.1:45823/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:47:18Z" msg="Frontend client started" time="2026-09-17T09:47:18Z" msg="Performing full user login" /user username="******** (9bc52fe4)" time="2026-09-17T09:47:18Z" msg="Authorizing user for login" /user username="******** (9bc52fe4)" time="2026-09-17T09:47:18Z" msg="200 OK: POST https://127.0.0.1:45823/auth/v4/info" /manager time="2026-09-17T09:47:18Z" msg="200 OK: POST https://127.0.0.1:45823/auth/v4" /manager time="2026-09-17T09:47:18Z" msg="Logging in authorized user" /user userID=b42c5ca3-4376-4227-9f6e-bea452ed483e time="2026-09-17T09:47:18Z" msg="Adding vault user" userID=b42c5ca3-4376-4227-9f6e-bea452ed483e time="2026-09-17T09:47:18Z" msg="Creating new user" userID=b42c5ca3-4376-4227-9f6e-bea452ed483e time="2026-09-17T09:47:18Z" msg="404 GET https://127.0.0.1:45823/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:47:18Z" msg="404 GET https://127.0.0.1:45823/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:47:18Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:45823/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:47:18Z" msg="Creating user object" authUID=6f716d0a-a372-42e1-b68b-20d07e091a96 numA numL userID=b42c5ca3-4376-4227-9f6e-bea452ed483e time="2026-09-17T09:47:18Z" msg="200 OK: GET https://127.0.0.1:45823/core/v4/events/latest" /client userID=b42c5ca3-4376-4227-9f6e-bea452ed483e time="2026-09-17T09:47:18Z" msg="Starting service Last EventID=AQ==" time="2026-09-17T09:47:18Z" msg="200 OK: GET https://127.0.0.1:45823/core/v4/settings" /client userID=b42c5ca3-4376-4227-9f6e-bea452ed483e time="2026-09-17T09:47:18Z" msg="Registering user client, ID:b42c5ca3-4376-4227-9f6e-bea452ed483e" time="2026-09-17T09:47:18Z" msg="Starting service main loop" time="2026-09-17T09:47:18Z" msg="Starting user identity service" numA time="2026-09-17T09:47:18Z" msg="Starting service main loop" time="2026-09-17T09:47:18Z" msg="Starting service main loop" time="2026-09-17T09:47:18Z" msg="200 OK: GET https://127.0.0.1:45823/core/v4/labels?T" /client userID=b42c5ca3-4376-4227-9f6e-bea452ed483e time="2026-09-17T09:47:18Z" msg="200 OK: GET https://127.0.0.1:45823/core/v4/labels?T" /client userID=b42c5ca3-4376-4227-9f6e-bea452ed483e time="2026-09-17T09:47:18Z" msg="200 OK: GET https://127.0.0.1:45823/core/v4/labels?T" /client userID=b42c5ca3-4376-4227-9f6e-bea452ed483e time="2026-09-17T09:47:18Z" msg="Setting labels" labelIDs="[2 3 7 8 9 0 1 4 5 6 10 12]" time="2026-09-17T09:47:18Z" msg="Adding user to imap server" addrID=ad655609-263c-41e5-bf97-bdf36c9c1138 time="2026-09-17T09:47:18Z" msg="Creating new IMAP user" addrID=ad655609-263c-41e5-bf97-bdf36c9c1138 time="2026-09-17T09:47:18Z" msg="Setting gluon ID" addrID=ad655609-263c-41e5-bf97-bdf36c9c1138 gluonID=828f32bc-9052-42e0-8f42-586902204747 userID=b42c5ca3-4376-4227-9f6e-bea452ed483e time="2026-09-17T09:47:18Z" msg="Received mailbox message count" gluonID=828f32bc-9052-42e0-8f42-586902204747 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:47:18Z" msg="Created new IMAP user" addrID=ad655609-263c-41e5-bf97-bdf36c9c1138 gluonID=828f32bc-9052-42e0-8f42-586902204747 time="2026-09-17T09:47:18Z" msg="Validating Listener State" time="2026-09-17T09:47:18Z" time="2026-09-17T09:47:18Z" msg="Starting IMAP Service" time="2026-09-17T09:47:18Z" msg="Checking whether logged in user should re-sync. UserID:b42c5ca3-4376-4227-9f6e-bea452ed483e" userID=b42c5ca3-4376-4227-9f6e-bea452ed483e time="2026-09-17T09:47:18Z" msg="Sync triggered" time="2026-09-17T09:47:18Z" msg="Beginning user sync" start="2026-09-17 09:47:18.925200146 +0000 UTC m=+127.417502442" time="2026-09-17T09:47:18Z" msg="Syncing labels" time="2026-09-17T09:47:18Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=828f32bc-9052-42e0-8f42-586902204747 time="2026-09-17T09:47:18Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=828f32bc-9052-42e0-8f42-586902204747 time="2026-09-17T09:47:18Z" msg="Mailbox created" /user remoteMailboxID=12 userID=828f32bc-9052-42e0-8f42-586902204747 time="2026-09-17T09:47:18Z" msg="Mailbox created" /user remoteMailboxID=7 userID=828f32bc-9052-42e0-8f42-586902204747 time="2026-09-17T09:47:18Z" msg="Mailbox created" /user remoteMailboxID=8 userID=828f32bc-9052-42e0-8f42-586902204747 time="2026-09-17T09:47:18Z" msg="Mailbox created" /user remoteMailboxID=4 userID=828f32bc-9052-42e0-8f42-586902204747 time="2026-09-17T09:47:18Z" msg="Mailbox created" /user remoteMailboxID=5 userID=828f32bc-9052-42e0-8f42-586902204747 time="2026-09-17T09:47:18Z" msg="Mailbox created" /user remoteMailboxID=6 userID=828f32bc-9052-42e0-8f42-586902204747 time="2026-09-17T09:47:18Z" msg="Mailbox created" /user remoteMailboxID=10 userID=828f32bc-9052-42e0-8f42-586902204747 time="2026-09-17T09:47:18Z" msg="Mailbox created" /user remoteMailboxID=3 userID=828f32bc-9052-42e0-8f42-586902204747 time="2026-09-17T09:47:18Z" msg="Mailbox created" /user remoteMailboxID=0 userID=828f32bc-9052-42e0-8f42-586902204747 time="2026-09-17T09:47:18Z" msg="Synced labels" time="2026-09-17T09:47:18Z" msg="200 OK: GET https://127.0.0.1:45823/mail/v4/messages/count" /client userID=b42c5ca3-4376-4227-9f6e-bea452ed483e time="2026-09-17T09:47:18Z" msg="Syncing messages" time="2026-09-17T09:47:18Z" msg="Job started" time="2026-09-17T09:47:18Z" msg="200 OK: POST https://127.0.0.1:45823/mail/v4/messages" /client userID=b42c5ca3-4376-4227-9f6e-bea452ed483e time="2026-09-17T09:47:18Z" msg="Job finished" time="2026-09-17T09:47:18Z" msg="All child jobs completed" sync- time="2026-09-17T09:47:18Z" msg="Synced messages" time="2026-09-17T09:47:18Z" msg="Finished user sync" .659838ms time="2026-09-17T09:47:18Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:47:18Z" msg="Event loop reset" eventID="AQ==" time="2026-09-17T09:47:18Z" msg="Appended message has no date, adding default one so it does not fail test" time="2026-09-17T09:47:18Z" msg="200 OK: POST https://127.0.0.1:45823/mail/v4/messages" /client userID=b42c5ca3-4376-4227-9f6e-bea452ed483e time="2026-09-17T09:47:18Z" msg="200 OK: GET https://127.0.0.1:45823/mail/v4/messages/73b0df9b-5177-4f59-84d1-a6b58484d9ae" /client userID=b42c5ca3-4376-4227-9f6e-bea452ed483e Scenario: Creates draft # features/imap/message/create.feature:24 When IMAP client "1" appends the following messages to "Drafts": # :1 -> *scenario | from | to | subject | body | | 3fc37948-3d7f-4384-9707-bec3f50d7809@proton.local | john.doe@email.com | foo | bar | Then it succeeds # :1 -> *scenario And IMAP client "1" eventually sees the following messages in "Drafts": # :1 -> *scenario | from | to | subject | body | | 3fc37948-3d7f-4384-9707-bec3f50d7809@proton.local | john.doe@email.com | foo | bar | time="2026-09-17T09:47:19Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 2} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:47:19Z" msg="200 OK: GET https://127.0.0.1:45823/core/v4/events/AQ==" /client userID=b42c5ca3-4376-4227-9f6e-bea452ed483e time="2026-09-17T09:47:19Z" msg="Received new API event" new="Event Ag==: messages: , , " old="AQ==" time="2026-09-17T09:47:19Z" msg="Handling message created event" messageID=73b0df9b-5177-4f59-84d1-a6b58484d9ae subject="******** (2c26b46b)" time="2026-09-17T09:47:19Z" msg="200 OK: GET https://127.0.0.1:45823/mail/v4/messages/73b0df9b-5177-4f59-84d1-a6b58484d9ae" /client userID=b42c5ca3-4376-4227-9f6e-bea452ed483e time="2026-09-17T09:47:19Z" msg="Found existing message in create event, will update instead" MessageID=73b0df9b-5177-4f59-84d1-a6b58484d9ae... /user userID=828f32bc-9052-42e0-8f42-586902204747 time="2026-09-17T09:47:19Z" msg="Frontend service stopped" time="2026-09-17T09:47:19Z" msg="Frontend client stopped" time="2026-09-17T09:47:19Z" msg="Closing bridge" time="2026-09-17T09:47:19Z" msg="Stopping service" time="2026-09-17T09:47:19Z" msg="Closing user" userID=b42c5ca3-4376-4227-9f6e-bea452ed483e time="2026-09-17T09:47:19Z" msg="De-registering user client, ID:b42c5ca3-4376-4227-9f6e-bea452ed483e" time="2026-09-17T09:47:19Z" msg="Exiting IMAP Service" time="2026-09-17T09:47:19Z" msg="Exiting service main loop" time="2026-09-17T09:47:19Z" msg="Exiting service main loop" time="2026-09-17T09:47:19Z" msg="Exiting Service" time="2026-09-17T09:47:19Z" msg="Exiting service main loop" time="2026-09-17T09:47:19Z" msg="Exiting service" time="2026-09-17T09:47:19Z" msg="Closing IMAP Listener" time="2026-09-17T09:47:19Z" msg="Closing IMAP server" time="2026-09-17T09:47:19Z" msg="Closing SMTP Listener" time="2026-09-17T09:47:19Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:47:19Z" msg="Closing SMTP server" time="2026-09-17T09:47:19Z" msg="Closing service" And IMAP client "1" eventually sees the following messages in "All Mail": # :1 -> *scenario | from | to | subject | body | | 3fc37948-3d7f-4384-9707-bec3f50d7809@proton.local | john.doe@email.com | foo | bar | time="2026-09-17T09:47:20Z" msg="User '6ff7c54a-960f-4c82-b986-7161b58b752e' created with " /server/backend time="2026-09-17T09:47:21Z" msg="Starting bridge" time="2026-09-17T09:47:21Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/068/config4213472268/grpcFocusServerConfig.json /service time="2026-09-17T09:47:21Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/068/cache1983994149/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:47:21Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/068/cache1983994149/notifications/notification_cache: no such file or directory" time="2026-09-17T09:47:21Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/068/data3339665002/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/068/data3339665002/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:47:21Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:47:21Z" msg="Starting IMAP server" time="2026-09-17T09:47:21Z" msg="Starting SMTP server" time="2026-09-17T09:47:21Z" msg="Starting service" time="2026-09-17T09:47:21Z" msg="Starting service" time="2026-09-17T09:47:21Z" msg="Starting receiver service" time="2026-09-17T09:47:21Z" msg="Starting frontend service" time="2026-09-17T09:47:21Z" msg="Checking for updates" time="2026-09-17T09:47:21Z" msg="Loading users" /user time="2026-09-17T09:47:21Z" msg="Starting poll service" time="2026-09-17T09:47:21Z" msg="Finished loading users" /user time="2026-09-17T09:47:21Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/068/config4213472268/grpcServerConfig.json time="2026-09-17T09:47:21Z" msg="gRPC server listening on /tmp/bridge6628" time="2026-09-17T09:47:21Z" msg="Frontend service started" time="2026-09-17T09:47:21Z" msg="Starting frontend client" time="2026-09-17T09:47:21Z" msg="Not monitoring parent PID" time="2026-09-17T09:47:21Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:47:21Z" msg="Frontend client started" time="2026-09-17T09:47:21Z" msg="Performing full user login" /user username="******** (0ced8d1c)" time="2026-09-17T09:47:21Z" msg="Authorizing user for login" /user username="******** (0ced8d1c)" time="2026-09-17T09:47:21Z" msg="200 OK: GET https://127.0.0.1:46397/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:47:21Z" msg="200 OK: POST https://127.0.0.1:46397/auth/v4/info" /manager time="2026-09-17T09:47:21Z" msg="200 OK: POST https://127.0.0.1:46397/auth/v4" /manager time="2026-09-17T09:47:21Z" msg="Logging in authorized user" /user userID=050d3ee3-6514-4e4b-8879-1eb28c5b3383 time="2026-09-17T09:47:21Z" msg="Adding vault user" userID=050d3ee3-6514-4e4b-8879-1eb28c5b3383 time="2026-09-17T09:47:21Z" msg="Creating new user" userID=050d3ee3-6514-4e4b-8879-1eb28c5b3383 time="2026-09-17T09:47:21Z" msg="404 GET https://127.0.0.1:46397/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:47:21Z" msg="404 GET https://127.0.0.1:46397/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:47:21Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:46397/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:47:21Z" msg="Creating user object" authUID=e0eafe89-dd07-4d1f-8f9f-abd24875085a numA numL userID=050d3ee3-6514-4e4b-8879-1eb28c5b3383 time="2026-09-17T09:47:21Z" msg="200 OK: GET https://127.0.0.1:46397/core/v4/events/latest" /client userID=050d3ee3-6514-4e4b-8879-1eb28c5b3383 time="2026-09-17T09:47:21Z" msg="Starting service Last EventID=AQ==" time="2026-09-17T09:47:21Z" msg="200 OK: GET https://127.0.0.1:46397/core/v4/settings" /client userID=050d3ee3-6514-4e4b-8879-1eb28c5b3383 time="2026-09-17T09:47:21Z" msg="Registering user client, ID:050d3ee3-6514-4e4b-8879-1eb28c5b3383" time="2026-09-17T09:47:21Z" msg="Starting user identity service" numA time="2026-09-17T09:47:21Z" msg="Starting service main loop" time="2026-09-17T09:47:21Z" msg="Starting service main loop" time="2026-09-17T09:47:21Z" msg="Starting service main loop" time="2026-09-17T09:47:21Z" msg="200 OK: GET https://127.0.0.1:46397/core/v4/labels?T" /client userID=050d3ee3-6514-4e4b-8879-1eb28c5b3383 time="2026-09-17T09:47:21Z" msg="200 OK: GET https://127.0.0.1:46397/core/v4/labels?T" /client userID=050d3ee3-6514-4e4b-8879-1eb28c5b3383 time="2026-09-17T09:47:21Z" msg="200 OK: GET https://127.0.0.1:46397/core/v4/labels?T" /client userID=050d3ee3-6514-4e4b-8879-1eb28c5b3383 time="2026-09-17T09:47:21Z" msg="Setting labels" labelIDs="[0 2 3 4 5 7 8 9 1 6 10 12]" time="2026-09-17T09:47:21Z" msg="Adding user to imap server" addrID=a48eb87d-073c-431d-abf3-7763040d593f time="2026-09-17T09:47:21Z" msg="Creating new IMAP user" addrID=a48eb87d-073c-431d-abf3-7763040d593f time="2026-09-17T09:47:21Z" msg="Setting gluon ID" addrID=a48eb87d-073c-431d-abf3-7763040d593f gluonID=0cfcf0b7-6d72-49cc-ac34-ccebbe0a6a7d userID=050d3ee3-6514-4e4b-8879-1eb28c5b3383 time="2026-09-17T09:47:21Z" msg="Created new IMAP user" addrID=a48eb87d-073c-431d-abf3-7763040d593f gluonID=0cfcf0b7-6d72-49cc-ac34-ccebbe0a6a7d time="2026-09-17T09:47:21Z" msg="Validating Listener State" time="2026-09-17T09:47:21Z" msg="Received mailbox message count" gluonID=0cfcf0b7-6d72-49cc-ac34-ccebbe0a6a7d labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:47:21Z" time="2026-09-17T09:47:21Z" msg="Starting IMAP Service" time="2026-09-17T09:47:21Z" msg="Checking whether logged in user should re-sync. UserID:050d3ee3-6514-4e4b-8879-1eb28c5b3383" userID=050d3ee3-6514-4e4b-8879-1eb28c5b3383 time="2026-09-17T09:47:21Z" msg="Sync triggered" time="2026-09-17T09:47:21Z" msg="Beginning user sync" start="2026-09-17 09:47:21.490598156 +0000 UTC m=+129.982900452" time="2026-09-17T09:47:21Z" msg="Syncing labels" time="2026-09-17T09:47:21Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=0cfcf0b7-6d72-49cc-ac34-ccebbe0a6a7d time="2026-09-17T09:47:21Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=0cfcf0b7-6d72-49cc-ac34-ccebbe0a6a7d time="2026-09-17T09:47:21Z" msg="Mailbox created" /user remoteMailboxID=7 userID=0cfcf0b7-6d72-49cc-ac34-ccebbe0a6a7d time="2026-09-17T09:47:21Z" msg="Mailbox created" /user remoteMailboxID=6 userID=0cfcf0b7-6d72-49cc-ac34-ccebbe0a6a7d time="2026-09-17T09:47:21Z" msg="Mailbox created" /user remoteMailboxID=4 userID=0cfcf0b7-6d72-49cc-ac34-ccebbe0a6a7d time="2026-09-17T09:47:21Z" msg="Mailbox created" /user remoteMailboxID=8 userID=0cfcf0b7-6d72-49cc-ac34-ccebbe0a6a7d time="2026-09-17T09:47:21Z" msg="Mailbox created" /user remoteMailboxID=10 userID=0cfcf0b7-6d72-49cc-ac34-ccebbe0a6a7d time="2026-09-17T09:47:21Z" msg="Mailbox created" /user remoteMailboxID=12 userID=0cfcf0b7-6d72-49cc-ac34-ccebbe0a6a7d time="2026-09-17T09:47:21Z" msg="Mailbox created" /user remoteMailboxID=0 userID=0cfcf0b7-6d72-49cc-ac34-ccebbe0a6a7d time="2026-09-17T09:47:21Z" msg="Mailbox created" /user remoteMailboxID=3 userID=0cfcf0b7-6d72-49cc-ac34-ccebbe0a6a7d time="2026-09-17T09:47:21Z" msg="Mailbox created" /user remoteMailboxID=5 userID=0cfcf0b7-6d72-49cc-ac34-ccebbe0a6a7d time="2026-09-17T09:47:21Z" msg="Synced labels" time="2026-09-17T09:47:21Z" msg="200 OK: GET https://127.0.0.1:46397/mail/v4/messages/count" /client userID=050d3ee3-6514-4e4b-8879-1eb28c5b3383 time="2026-09-17T09:47:21Z" msg="Syncing messages" time="2026-09-17T09:47:21Z" msg="Job started" time="2026-09-17T09:47:21Z" msg="200 OK: POST https://127.0.0.1:46397/mail/v4/messages" /client userID=050d3ee3-6514-4e4b-8879-1eb28c5b3383 time="2026-09-17T09:47:21Z" msg="Job finished" time="2026-09-17T09:47:21Z" msg="All child jobs completed" sync- time="2026-09-17T09:47:21Z" msg="Synced messages" time="2026-09-17T09:47:21Z" msg="Finished user sync" .685874ms time="2026-09-17T09:47:21Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:47:21Z" msg="Event loop reset" eventID="AQ==" time="2026-09-17T09:47:21Z" msg="Appended message has no date, adding default one so it does not fail test" time="2026-09-17T09:47:21Z" msg="200 OK: POST https://127.0.0.1:46397/mail/v4/messages/import" /client userID=050d3ee3-6514-4e4b-8879-1eb28c5b3383 time="2026-09-17T09:47:21Z" msg="200 OK: GET https://127.0.0.1:46397/mail/v4/messages/d243daf2-ef9b-4118-8bca-301b53a67d17" /client userID=050d3ee3-6514-4e4b-8879-1eb28c5b3383 Scenario: Creates message sent from user's primary address # features/imap/message/create.feature:37 When IMAP client "1" appends the following messages to "Sent": # :1 -> *scenario | from | to | subject | body | | 6ff7c54a-960f-4c82-b986-7161b58b752e@proton.local | john.doe@email.com | foo | bar | Then it succeeds # :1 -> *scenario And IMAP client "1" eventually sees the following messages in "Sent": # :1 -> *scenario | from | to | subject | body | | 6ff7c54a-960f-4c82-b986-7161b58b752e@proton.local | john.doe@email.com | foo | bar | time="2026-09-17T09:47:21Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 2} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:47:22Z" msg="200 OK: GET https://127.0.0.1:46397/core/v4/events/AQ==" /client userID=050d3ee3-6514-4e4b-8879-1eb28c5b3383 time="2026-09-17T09:47:22Z" msg="Received new API event" new="Event Ag==: messages: , , " old="AQ==" time="2026-09-17T09:47:22Z" msg="Handling message created event" messageID=d243daf2-ef9b-4118-8bca-301b53a67d17 subject="******** (2c26b46b)" time="2026-09-17T09:47:22Z" msg="200 OK: GET https://127.0.0.1:46397/mail/v4/messages/d243daf2-ef9b-4118-8bca-301b53a67d17" /client userID=050d3ee3-6514-4e4b-8879-1eb28c5b3383 time="2026-09-17T09:47:22Z" msg="Found existing message in create event, will update instead" MessageID=d243daf2-ef9b-4118-8bca-301b53a67d17... /user userID=0cfcf0b7-6d72-49cc-ac34-ccebbe0a6a7d time="2026-09-17T09:47:22Z" msg="Frontend service stopped" time="2026-09-17T09:47:22Z" msg="Frontend client stopped" time="2026-09-17T09:47:22Z" msg="Closing bridge" time="2026-09-17T09:47:22Z" msg="Stopping service" time="2026-09-17T09:47:22Z" msg="Closing user" userID=050d3ee3-6514-4e4b-8879-1eb28c5b3383 time="2026-09-17T09:47:22Z" msg="De-registering user client, ID:050d3ee3-6514-4e4b-8879-1eb28c5b3383" time="2026-09-17T09:47:22Z" msg="Exiting IMAP Service" time="2026-09-17T09:47:22Z" msg="Exiting service main loop" time="2026-09-17T09:47:22Z" msg="Exiting service main loop" time="2026-09-17T09:47:22Z" msg="Exiting Service" time="2026-09-17T09:47:22Z" msg="Exiting service main loop" time="2026-09-17T09:47:22Z" msg="Exiting service" time="2026-09-17T09:47:22Z" msg="Closing IMAP Listener" time="2026-09-17T09:47:22Z" msg="Closing IMAP server" time="2026-09-17T09:47:22Z" msg="Closing SMTP Listener" time="2026-09-17T09:47:22Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:47:22Z" msg="Closing SMTP server" time="2026-09-17T09:47:22Z" msg="Closing service" And IMAP client "1" eventually sees the following messages in "All Mail": # :1 -> *scenario | from | to | subject | body | | 6ff7c54a-960f-4c82-b986-7161b58b752e@proton.local | john.doe@email.com | foo | bar | time="2026-09-17T09:47:22Z" msg="User '9fa8b145-f629-427e-85de-f9085a2178c4' created with " /server/backend time="2026-09-17T09:47:23Z" msg="Starting bridge" time="2026-09-17T09:47:23Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/069/config39093722/grpcFocusServerConfig.json /service time="2026-09-17T09:47:23Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/069/cache1004931828/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:47:23Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/069/cache1004931828/notifications/notification_cache: no such file or directory" time="2026-09-17T09:47:23Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/069/data3365855174/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/069/data3365855174/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:47:23Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:47:23Z" msg="Starting IMAP server" time="2026-09-17T09:47:23Z" msg="Starting SMTP server" time="2026-09-17T09:47:23Z" msg="Starting service" time="2026-09-17T09:47:23Z" msg="Starting service" time="2026-09-17T09:47:23Z" msg="Starting frontend service" time="2026-09-17T09:47:23Z" msg="Starting poll service" time="2026-09-17T09:47:23Z" msg="Loading users" /user time="2026-09-17T09:47:23Z" msg="Finished loading users" /user time="2026-09-17T09:47:23Z" msg="Starting receiver service" time="2026-09-17T09:47:23Z" msg="Checking for updates" time="2026-09-17T09:47:23Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/069/config39093722/grpcServerConfig.json time="2026-09-17T09:47:23Z" msg="gRPC server listening on /tmp/bridge0670" time="2026-09-17T09:47:23Z" msg="Frontend service started" time="2026-09-17T09:47:23Z" msg="Starting frontend client" time="2026-09-17T09:47:23Z" msg="Not monitoring parent PID" time="2026-09-17T09:47:23Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:47:23Z" msg="Frontend client started" time="2026-09-17T09:47:23Z" msg="200 OK: GET https://127.0.0.1:39121/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:47:23Z" msg="Performing full user login" /user username="******** (55af164c)" time="2026-09-17T09:47:23Z" msg="Authorizing user for login" /user username="******** (55af164c)" time="2026-09-17T09:47:23Z" msg="200 OK: POST https://127.0.0.1:39121/auth/v4/info" /manager time="2026-09-17T09:47:23Z" msg="200 OK: POST https://127.0.0.1:39121/auth/v4" /manager time="2026-09-17T09:47:23Z" msg="Logging in authorized user" /user userID=eee97ca3-305f-49be-b51e-fabf9b4f1789 time="2026-09-17T09:47:24Z" msg="Adding vault user" userID=eee97ca3-305f-49be-b51e-fabf9b4f1789 time="2026-09-17T09:47:24Z" msg="Creating new user" userID=eee97ca3-305f-49be-b51e-fabf9b4f1789 time="2026-09-17T09:47:24Z" msg="404 GET https://127.0.0.1:39121/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:47:24Z" msg="404 GET https://127.0.0.1:39121/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:47:24Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:39121/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:47:24Z" msg="Creating user object" authUID=3c255af0-bb3f-4b16-b87b-9358cb64ff6a numA numL userID=eee97ca3-305f-49be-b51e-fabf9b4f1789 time="2026-09-17T09:47:24Z" msg="200 OK: GET https://127.0.0.1:39121/core/v4/events/latest" /client userID=eee97ca3-305f-49be-b51e-fabf9b4f1789 time="2026-09-17T09:47:24Z" msg="Starting service Last EventID=AQ==" time="2026-09-17T09:47:24Z" msg="200 OK: GET https://127.0.0.1:39121/core/v4/settings" /client userID=eee97ca3-305f-49be-b51e-fabf9b4f1789 time="2026-09-17T09:47:24Z" msg="Registering user client, ID:eee97ca3-305f-49be-b51e-fabf9b4f1789" time="2026-09-17T09:47:24Z" msg="Starting user identity service" numA time="2026-09-17T09:47:24Z" msg="Starting service main loop" time="2026-09-17T09:47:24Z" msg="Starting service main loop" time="2026-09-17T09:47:24Z" msg="Starting service main loop" time="2026-09-17T09:47:24Z" msg="200 OK: GET https://127.0.0.1:39121/core/v4/labels?T" /client userID=eee97ca3-305f-49be-b51e-fabf9b4f1789 time="2026-09-17T09:47:24Z" msg="200 OK: GET https://127.0.0.1:39121/core/v4/labels?T" /client userID=eee97ca3-305f-49be-b51e-fabf9b4f1789 time="2026-09-17T09:47:24Z" msg="200 OK: GET https://127.0.0.1:39121/core/v4/labels?T" /client userID=eee97ca3-305f-49be-b51e-fabf9b4f1789 time="2026-09-17T09:47:24Z" msg="Setting labels" labelIDs="[5 9 10 12 1 3 6 7 8 0 2 4]" time="2026-09-17T09:47:24Z" msg="Adding user to imap server" addrID=90e81865-c991-447b-af6e-c673bfe8c015 time="2026-09-17T09:47:24Z" msg="Creating new IMAP user" addrID=90e81865-c991-447b-af6e-c673bfe8c015 time="2026-09-17T09:47:24Z" msg="Setting gluon ID" addrID=90e81865-c991-447b-af6e-c673bfe8c015 gluonID=ef5529cd-b83b-4e32-a114-9383d887ccd8 userID=eee97ca3-305f-49be-b51e-fabf9b4f1789 time="2026-09-17T09:47:24Z" msg="Received mailbox message count" gluonID=ef5529cd-b83b-4e32-a114-9383d887ccd8 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:47:24Z" msg="Created new IMAP user" addrID=90e81865-c991-447b-af6e-c673bfe8c015 gluonID=ef5529cd-b83b-4e32-a114-9383d887ccd8 time="2026-09-17T09:47:24Z" msg="Validating Listener State" time="2026-09-17T09:47:24Z" time="2026-09-17T09:47:24Z" msg="Starting IMAP Service" time="2026-09-17T09:47:24Z" msg="Checking whether logged in user should re-sync. UserID:eee97ca3-305f-49be-b51e-fabf9b4f1789" userID=eee97ca3-305f-49be-b51e-fabf9b4f1789 time="2026-09-17T09:47:24Z" msg="Sync triggered" time="2026-09-17T09:47:24Z" msg="Beginning user sync" start="2026-09-17 09:47:24.054400441 +0000 UTC m=+132.546702737" time="2026-09-17T09:47:24Z" msg="Syncing labels" time="2026-09-17T09:47:24Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=ef5529cd-b83b-4e32-a114-9383d887ccd8 time="2026-09-17T09:47:24Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=ef5529cd-b83b-4e32-a114-9383d887ccd8 time="2026-09-17T09:47:24Z" msg="Mailbox created" /user remoteMailboxID=6 userID=ef5529cd-b83b-4e32-a114-9383d887ccd8 time="2026-09-17T09:47:24Z" msg="Mailbox created" /user remoteMailboxID=8 userID=ef5529cd-b83b-4e32-a114-9383d887ccd8 time="2026-09-17T09:47:24Z" msg="Mailbox created" /user remoteMailboxID=4 userID=ef5529cd-b83b-4e32-a114-9383d887ccd8 time="2026-09-17T09:47:24Z" msg="Mailbox created" /user remoteMailboxID=5 userID=ef5529cd-b83b-4e32-a114-9383d887ccd8 time="2026-09-17T09:47:24Z" msg="Mailbox created" /user remoteMailboxID=10 userID=ef5529cd-b83b-4e32-a114-9383d887ccd8 time="2026-09-17T09:47:24Z" msg="Mailbox created" /user remoteMailboxID=7 userID=ef5529cd-b83b-4e32-a114-9383d887ccd8 time="2026-09-17T09:47:24Z" msg="Mailbox created" /user remoteMailboxID=0 userID=ef5529cd-b83b-4e32-a114-9383d887ccd8 time="2026-09-17T09:47:24Z" msg="Mailbox created" /user remoteMailboxID=12 userID=ef5529cd-b83b-4e32-a114-9383d887ccd8 time="2026-09-17T09:47:24Z" msg="Mailbox created" /user remoteMailboxID=3 userID=ef5529cd-b83b-4e32-a114-9383d887ccd8 time="2026-09-17T09:47:24Z" msg="Synced labels" time="2026-09-17T09:47:24Z" msg="200 OK: GET https://127.0.0.1:39121/mail/v4/messages/count" /client userID=eee97ca3-305f-49be-b51e-fabf9b4f1789 time="2026-09-17T09:47:24Z" msg="Syncing messages" time="2026-09-17T09:47:24Z" msg="Job started" time="2026-09-17T09:47:24Z" msg="200 OK: POST https://127.0.0.1:39121/mail/v4/messages" /client userID=eee97ca3-305f-49be-b51e-fabf9b4f1789 time="2026-09-17T09:47:24Z" msg="Job finished" time="2026-09-17T09:47:24Z" msg="All child jobs completed" sync- time="2026-09-17T09:47:24Z" msg="Synced messages" time="2026-09-17T09:47:24Z" msg="Finished user sync" .273446ms time="2026-09-17T09:47:24Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:47:24Z" msg="Event loop reset" eventID="AQ==" time="2026-09-17T09:47:24Z" msg="Appended message has no date, adding default one so it does not fail test" time="2026-09-17T09:47:24Z" msg="200 OK: POST https://127.0.0.1:39121/mail/v4/messages/import" /client userID=eee97ca3-305f-49be-b51e-fabf9b4f1789 time="2026-09-17T09:47:24Z" msg="200 OK: GET https://127.0.0.1:39121/mail/v4/messages/746f0292-6e22-4fe6-bbd3-2edf7adea486" /client userID=eee97ca3-305f-49be-b51e-fabf9b4f1789 Scenario: Creates message sent from user's secondary address # features/imap/message/create.feature:49 When IMAP client "1" appends the following messages to "Sent": # :1 -> *scenario | from | to | subject | body | | 41ebe608-7d85-4437-9340-ae0caa215b6f@proton.local | john.doe@email.com | foo | bar | Then it succeeds # :1 -> *scenario And IMAP client "1" eventually sees the following messages in "Sent": # :1 -> *scenario | from | to | subject | body | | 41ebe608-7d85-4437-9340-ae0caa215b6f@proton.local | john.doe@email.com | foo | bar | time="2026-09-17T09:47:24Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 2} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:47:25Z" msg="200 OK: GET https://127.0.0.1:39121/core/v4/events/AQ==" /client userID=eee97ca3-305f-49be-b51e-fabf9b4f1789 time="2026-09-17T09:47:25Z" msg="Received new API event" new="Event Ag==: messages: , , " old="AQ==" time="2026-09-17T09:47:25Z" msg="Handling message created event" messageID=746f0292-6e22-4fe6-bbd3-2edf7adea486 subject="******** (2c26b46b)" time="2026-09-17T09:47:25Z" msg="200 OK: GET https://127.0.0.1:39121/mail/v4/messages/746f0292-6e22-4fe6-bbd3-2edf7adea486" /client userID=eee97ca3-305f-49be-b51e-fabf9b4f1789 time="2026-09-17T09:47:25Z" msg="Found existing message in create event, will update instead" MessageID=746f0292-6e22-4fe6-bbd3-2edf7adea486... /user userID=ef5529cd-b83b-4e32-a114-9383d887ccd8 time="2026-09-17T09:47:25Z" msg="Frontend service stopped" time="2026-09-17T09:47:25Z" msg="Frontend client stopped" time="2026-09-17T09:47:25Z" msg="Closing bridge" time="2026-09-17T09:47:25Z" msg="Stopping service" time="2026-09-17T09:47:25Z" msg="Closing user" userID=eee97ca3-305f-49be-b51e-fabf9b4f1789 time="2026-09-17T09:47:25Z" msg="De-registering user client, ID:eee97ca3-305f-49be-b51e-fabf9b4f1789" time="2026-09-17T09:47:25Z" msg="Exiting IMAP Service" time="2026-09-17T09:47:25Z" msg="Exiting service main loop" time="2026-09-17T09:47:25Z" msg="Exiting service main loop" time="2026-09-17T09:47:25Z" msg="Exiting Service" time="2026-09-17T09:47:25Z" msg="Exiting service main loop" time="2026-09-17T09:47:25Z" msg="Exiting service" time="2026-09-17T09:47:25Z" msg="Closing IMAP Listener" time="2026-09-17T09:47:25Z" msg="Closing IMAP server" time="2026-09-17T09:47:25Z" msg="Closing SMTP Listener" time="2026-09-17T09:47:25Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:47:25Z" msg="Closing SMTP server" time="2026-09-17T09:47:25Z" msg="Closing service" And IMAP client "1" eventually sees the following messages in "All Mail": # :1 -> *scenario | from | to | subject | body | | 41ebe608-7d85-4437-9340-ae0caa215b6f@proton.local | john.doe@email.com | foo | bar | time="2026-09-17T09:47:25Z" msg="User 'c2474d75-0f34-4be4-9604-6bce1595cc9e' created with " /server/backend time="2026-09-17T09:47:26Z" msg="Starting bridge" time="2026-09-17T09:47:26Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/070/config4172212281/grpcFocusServerConfig.json /service time="2026-09-17T09:47:26Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/070/cache1141283493/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:47:26Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/070/cache1141283493/notifications/notification_cache: no such file or directory" time="2026-09-17T09:47:26Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/070/data2973417958/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/070/data2973417958/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:47:26Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:47:26Z" msg="Starting IMAP server" time="2026-09-17T09:47:26Z" msg="Starting SMTP server" time="2026-09-17T09:47:26Z" msg="Starting service" time="2026-09-17T09:47:26Z" msg="Starting service" time="2026-09-17T09:47:26Z" msg="Starting frontend service" time="2026-09-17T09:47:26Z" msg="Checking for updates" time="2026-09-17T09:47:26Z" msg="Loading users" /user time="2026-09-17T09:47:26Z" msg="Finished loading users" /user time="2026-09-17T09:47:26Z" msg="Starting receiver service" time="2026-09-17T09:47:26Z" msg="Starting poll service" time="2026-09-17T09:47:26Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/070/config4172212281/grpcServerConfig.json time="2026-09-17T09:47:26Z" msg="gRPC server listening on /tmp/bridge5002" time="2026-09-17T09:47:26Z" msg="Frontend service started" time="2026-09-17T09:47:26Z" msg="Starting frontend client" time="2026-09-17T09:47:26Z" msg="Not monitoring parent PID" time="2026-09-17T09:47:26Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:47:26Z" msg="Frontend client started" time="2026-09-17T09:47:26Z" msg="200 OK: GET https://127.0.0.1:40301/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:47:26Z" msg="Performing full user login" /user username="******** (8476e9bb)" time="2026-09-17T09:47:26Z" msg="Authorizing user for login" /user username="******** (8476e9bb)" time="2026-09-17T09:47:26Z" msg="200 OK: POST https://127.0.0.1:40301/auth/v4/info" /manager time="2026-09-17T09:47:26Z" msg="200 OK: POST https://127.0.0.1:40301/auth/v4" /manager time="2026-09-17T09:47:26Z" msg="Logging in authorized user" /user userID=58042df0-8860-47f8-878d-14880b368d50 time="2026-09-17T09:47:26Z" msg="Adding vault user" userID=58042df0-8860-47f8-878d-14880b368d50 time="2026-09-17T09:47:26Z" msg="Creating new user" userID=58042df0-8860-47f8-878d-14880b368d50 time="2026-09-17T09:47:26Z" msg="404 GET https://127.0.0.1:40301/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:47:26Z" msg="404 GET https://127.0.0.1:40301/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:47:26Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:40301/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:47:26Z" msg="Creating user object" authUID=1a058c5f-54ab-4421-af05-0c0d537d344c numA numL userID=58042df0-8860-47f8-878d-14880b368d50 time="2026-09-17T09:47:26Z" msg="200 OK: GET https://127.0.0.1:40301/core/v4/events/latest" /client userID=58042df0-8860-47f8-878d-14880b368d50 time="2026-09-17T09:47:26Z" msg="Starting service Last EventID=AQ==" time="2026-09-17T09:47:26Z" msg="200 OK: GET https://127.0.0.1:40301/core/v4/settings" /client userID=58042df0-8860-47f8-878d-14880b368d50 time="2026-09-17T09:47:26Z" msg="Registering user client, ID:58042df0-8860-47f8-878d-14880b368d50" time="2026-09-17T09:47:26Z" msg="Starting service main loop" time="2026-09-17T09:47:26Z" msg="Starting user identity service" numA time="2026-09-17T09:47:26Z" msg="Starting service main loop" time="2026-09-17T09:47:26Z" msg="Starting service main loop" time="2026-09-17T09:47:26Z" msg="200 OK: GET https://127.0.0.1:40301/core/v4/labels?T" /client userID=58042df0-8860-47f8-878d-14880b368d50 time="2026-09-17T09:47:26Z" msg="200 OK: GET https://127.0.0.1:40301/core/v4/labels?T" /client userID=58042df0-8860-47f8-878d-14880b368d50 time="2026-09-17T09:47:26Z" msg="200 OK: GET https://127.0.0.1:40301/core/v4/labels?T" /client userID=58042df0-8860-47f8-878d-14880b368d50 time="2026-09-17T09:47:26Z" msg="Setting labels" labelIDs="[0 5 6 7 8 9 10 1 2 3 4 12]" time="2026-09-17T09:47:26Z" msg="Adding user to imap server" addrID=4de918b0-0605-4225-a4b8-48776837434c time="2026-09-17T09:47:26Z" msg="Creating new IMAP user" addrID=4de918b0-0605-4225-a4b8-48776837434c time="2026-09-17T09:47:26Z" msg="Setting gluon ID" addrID=4de918b0-0605-4225-a4b8-48776837434c gluonID=870e7e7e-c516-474f-a653-7120aa3fbc74 userID=58042df0-8860-47f8-878d-14880b368d50 time="2026-09-17T09:47:26Z" msg="Received mailbox message count" gluonID=870e7e7e-c516-474f-a653-7120aa3fbc74 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:47:26Z" msg="Created new IMAP user" addrID=4de918b0-0605-4225-a4b8-48776837434c gluonID=870e7e7e-c516-474f-a653-7120aa3fbc74 time="2026-09-17T09:47:26Z" msg="Validating Listener State" time="2026-09-17T09:47:26Z" time="2026-09-17T09:47:26Z" msg="Checking whether logged in user should re-sync. UserID:58042df0-8860-47f8-878d-14880b368d50" userID=58042df0-8860-47f8-878d-14880b368d50 time="2026-09-17T09:47:26Z" msg="Starting IMAP Service" time="2026-09-17T09:47:26Z" msg="Sync triggered" time="2026-09-17T09:47:26Z" msg="Beginning user sync" start="2026-09-17 09:47:26.626403765 +0000 UTC m=+135.118706101" time="2026-09-17T09:47:26Z" msg="Syncing labels" time="2026-09-17T09:47:26Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=870e7e7e-c516-474f-a653-7120aa3fbc74 time="2026-09-17T09:47:26Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=870e7e7e-c516-474f-a653-7120aa3fbc74 time="2026-09-17T09:47:26Z" msg="Mailbox created" /user remoteMailboxID=3 userID=870e7e7e-c516-474f-a653-7120aa3fbc74 time="2026-09-17T09:47:26Z" msg="Mailbox created" /user remoteMailboxID=5 userID=870e7e7e-c516-474f-a653-7120aa3fbc74 time="2026-09-17T09:47:26Z" msg="Mailbox created" /user remoteMailboxID=8 userID=870e7e7e-c516-474f-a653-7120aa3fbc74 time="2026-09-17T09:47:26Z" msg="Mailbox created" /user remoteMailboxID=4 userID=870e7e7e-c516-474f-a653-7120aa3fbc74 time="2026-09-17T09:47:26Z" msg="Mailbox created" /user remoteMailboxID=12 userID=870e7e7e-c516-474f-a653-7120aa3fbc74 time="2026-09-17T09:47:26Z" msg="Mailbox created" /user remoteMailboxID=0 userID=870e7e7e-c516-474f-a653-7120aa3fbc74 time="2026-09-17T09:47:26Z" msg="Mailbox created" /user remoteMailboxID=6 userID=870e7e7e-c516-474f-a653-7120aa3fbc74 time="2026-09-17T09:47:26Z" msg="Mailbox created" /user remoteMailboxID=7 userID=870e7e7e-c516-474f-a653-7120aa3fbc74 time="2026-09-17T09:47:26Z" msg="Mailbox created" /user remoteMailboxID=10 userID=870e7e7e-c516-474f-a653-7120aa3fbc74 time="2026-09-17T09:47:26Z" msg="Synced labels" time="2026-09-17T09:47:26Z" msg="200 OK: GET https://127.0.0.1:40301/mail/v4/messages/count" /client userID=58042df0-8860-47f8-878d-14880b368d50 time="2026-09-17T09:47:26Z" msg="Syncing messages" time="2026-09-17T09:47:26Z" msg="Job started" time="2026-09-17T09:47:26Z" msg="200 OK: POST https://127.0.0.1:40301/mail/v4/messages" /client userID=58042df0-8860-47f8-878d-14880b368d50 time="2026-09-17T09:47:26Z" msg="Job finished" time="2026-09-17T09:47:26Z" msg="All child jobs completed" sync- time="2026-09-17T09:47:26Z" msg="Synced messages" time="2026-09-17T09:47:26Z" msg="Finished user sync" .022879ms time="2026-09-17T09:47:26Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:47:26Z" msg="Event loop reset" eventID="AQ==" time="2026-09-17T09:47:26Z" msg="Appended message has no date, adding default one so it does not fail test" time="2026-09-17T09:47:26Z" msg="200 OK: POST https://127.0.0.1:40301/mail/v4/messages/import" /client userID=58042df0-8860-47f8-878d-14880b368d50 time="2026-09-17T09:47:26Z" msg="200 OK: GET https://127.0.0.1:40301/mail/v4/messages/59734ac0-cd5e-4bd1-b89c-4eb5dc31bdd8" /client userID=58042df0-8860-47f8-878d-14880b368d50 Scenario: Imports an unrelated message to inbox # features/imap/message/create.feature:61 When IMAP client "1" appends the following messages to "INBOX": # :1 -> *scenario | from | to | subject | body | | john.doe@email.com | john.doe2@proton.local | foo | bar | Then it succeeds # :1 -> *scenario And IMAP client "1" eventually sees the following messages in "INBOX": # :1 -> *scenario | from | to | subject | body | | john.doe@email.com | john.doe2@proton.local | foo | bar | time="2026-09-17T09:47:26Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 3} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:47:27Z" msg="200 OK: GET https://127.0.0.1:40301/core/v4/events/AQ==" /client userID=58042df0-8860-47f8-878d-14880b368d50 time="2026-09-17T09:47:27Z" msg="Received new API event" new="Event Ag==: messages: , , " old="AQ==" time="2026-09-17T09:47:27Z" msg="Handling message created event" messageID=59734ac0-cd5e-4bd1-b89c-4eb5dc31bdd8 subject="******** (2c26b46b)" time="2026-09-17T09:47:27Z" msg="200 OK: GET https://127.0.0.1:40301/mail/v4/messages/59734ac0-cd5e-4bd1-b89c-4eb5dc31bdd8" /client userID=58042df0-8860-47f8-878d-14880b368d50 time="2026-09-17T09:47:27Z" msg="Found existing message in create event, will update instead" MessageID=59734ac0-cd5e-4bd1-b89c-4eb5dc31bdd8... /user userID=870e7e7e-c516-474f-a653-7120aa3fbc74 time="2026-09-17T09:47:27Z" msg="Frontend service stopped" time="2026-09-17T09:47:27Z" msg="Frontend client stopped" time="2026-09-17T09:47:27Z" msg="Closing bridge" time="2026-09-17T09:47:27Z" msg="Stopping service" time="2026-09-17T09:47:27Z" msg="Closing user" userID=58042df0-8860-47f8-878d-14880b368d50 time="2026-09-17T09:47:27Z" msg="De-registering user client, ID:58042df0-8860-47f8-878d-14880b368d50" time="2026-09-17T09:47:27Z" msg="Exiting IMAP Service" time="2026-09-17T09:47:27Z" msg="Exiting service main loop" time="2026-09-17T09:47:27Z" msg="Exiting service main loop" time="2026-09-17T09:47:27Z" msg="Exiting Service" time="2026-09-17T09:47:27Z" msg="Exiting service main loop" time="2026-09-17T09:47:27Z" msg="Exiting service" time="2026-09-17T09:47:27Z" msg="Closing IMAP Listener" time="2026-09-17T09:47:27Z" msg="Closing IMAP server" time="2026-09-17T09:47:27Z" msg="Closing SMTP Listener" time="2026-09-17T09:47:27Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:47:27Z" msg="Closing SMTP server" time="2026-09-17T09:47:27Z" msg="Closing service" And IMAP client "1" eventually sees the following messages in "All Mail": # :1 -> *scenario | from | to | subject | body | | john.doe@email.com | john.doe2@proton.local | foo | bar | time="2026-09-17T09:47:27Z" msg="User 'b471d277-4943-45a9-8910-81333efa59d6' created with " /server/backend time="2026-09-17T09:47:28Z" msg="Starting bridge" time="2026-09-17T09:47:28Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/071/config623028299/grpcFocusServerConfig.json /service time="2026-09-17T09:47:28Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/071/cache261947100/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:47:28Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/071/cache261947100/notifications/notification_cache: no such file or directory" time="2026-09-17T09:47:28Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/071/data1875344623/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/071/data1875344623/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:47:28Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:47:28Z" msg="Starting IMAP server" time="2026-09-17T09:47:28Z" msg="Starting SMTP server" time="2026-09-17T09:47:28Z" msg="Starting service" time="2026-09-17T09:47:28Z" msg="Starting service" time="2026-09-17T09:47:28Z" msg="Starting frontend service" time="2026-09-17T09:47:28Z" msg="Starting poll service" time="2026-09-17T09:47:28Z" msg="Loading users" /user time="2026-09-17T09:47:28Z" msg="Starting receiver service" time="2026-09-17T09:47:28Z" msg="Finished loading users" /user time="2026-09-17T09:47:28Z" msg="Checking for updates" time="2026-09-17T09:47:28Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/071/config623028299/grpcServerConfig.json time="2026-09-17T09:47:28Z" msg="gRPC server listening on /tmp/bridge3605" time="2026-09-17T09:47:28Z" msg="Frontend service started" time="2026-09-17T09:47:28Z" msg="Starting frontend client" time="2026-09-17T09:47:28Z" msg="Not monitoring parent PID" time="2026-09-17T09:47:28Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:47:28Z" msg="200 OK: GET https://127.0.0.1:33331/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:47:28Z" msg="Frontend client started" time="2026-09-17T09:47:28Z" msg="Performing full user login" /user username="******** (11c45907)" time="2026-09-17T09:47:28Z" msg="Authorizing user for login" /user username="******** (11c45907)" time="2026-09-17T09:47:28Z" msg="200 OK: POST https://127.0.0.1:33331/auth/v4/info" /manager time="2026-09-17T09:47:29Z" msg="200 OK: POST https://127.0.0.1:33331/auth/v4" /manager time="2026-09-17T09:47:29Z" msg="Logging in authorized user" /user userID=4cb96cda-d6d5-4de2-9c82-4efba0ca7dfe time="2026-09-17T09:47:29Z" msg="Adding vault user" userID=4cb96cda-d6d5-4de2-9c82-4efba0ca7dfe time="2026-09-17T09:47:29Z" msg="Creating new user" userID=4cb96cda-d6d5-4de2-9c82-4efba0ca7dfe time="2026-09-17T09:47:29Z" msg="404 GET https://127.0.0.1:33331/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:47:29Z" msg="404 GET https://127.0.0.1:33331/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:47:29Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:33331/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:47:29Z" msg="Creating user object" authUID=954825e5-5734-41bc-b488-8645d1afe991 numA numL userID=4cb96cda-d6d5-4de2-9c82-4efba0ca7dfe time="2026-09-17T09:47:29Z" msg="200 OK: GET https://127.0.0.1:33331/core/v4/events/latest" /client userID=4cb96cda-d6d5-4de2-9c82-4efba0ca7dfe time="2026-09-17T09:47:29Z" msg="Starting service Last EventID=AQ==" time="2026-09-17T09:47:29Z" msg="200 OK: GET https://127.0.0.1:33331/core/v4/settings" /client userID=4cb96cda-d6d5-4de2-9c82-4efba0ca7dfe time="2026-09-17T09:47:29Z" msg="Registering user client, ID:4cb96cda-d6d5-4de2-9c82-4efba0ca7dfe" time="2026-09-17T09:47:29Z" msg="Starting service main loop" time="2026-09-17T09:47:29Z" msg="Starting user identity service" numA time="2026-09-17T09:47:29Z" msg="Starting service main loop" time="2026-09-17T09:47:29Z" msg="Starting service main loop" time="2026-09-17T09:47:29Z" msg="200 OK: GET https://127.0.0.1:33331/core/v4/labels?T" /client userID=4cb96cda-d6d5-4de2-9c82-4efba0ca7dfe time="2026-09-17T09:47:29Z" msg="200 OK: GET https://127.0.0.1:33331/core/v4/labels?T" /client userID=4cb96cda-d6d5-4de2-9c82-4efba0ca7dfe time="2026-09-17T09:47:29Z" msg="200 OK: GET https://127.0.0.1:33331/core/v4/labels?T" /client userID=4cb96cda-d6d5-4de2-9c82-4efba0ca7dfe time="2026-09-17T09:47:29Z" msg="Setting labels" labelIDs="[12 0 2 3 4 8 10 1 5 6 7 9]" time="2026-09-17T09:47:29Z" msg="Adding user to imap server" addrID=f443ee81-5b8e-42c4-95f0-c4b3bcef683a time="2026-09-17T09:47:29Z" msg="Creating new IMAP user" addrID=f443ee81-5b8e-42c4-95f0-c4b3bcef683a time="2026-09-17T09:47:29Z" msg="Setting gluon ID" addrID=f443ee81-5b8e-42c4-95f0-c4b3bcef683a gluonID=62c16b70-e71a-46a8-823c-44e3fc28bb4b userID=4cb96cda-d6d5-4de2-9c82-4efba0ca7dfe time="2026-09-17T09:47:29Z" msg="Received mailbox message count" gluonID=62c16b70-e71a-46a8-823c-44e3fc28bb4b labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:47:29Z" msg="Created new IMAP user" addrID=f443ee81-5b8e-42c4-95f0-c4b3bcef683a gluonID=62c16b70-e71a-46a8-823c-44e3fc28bb4b time="2026-09-17T09:47:29Z" msg="Validating Listener State" time="2026-09-17T09:47:29Z" time="2026-09-17T09:47:29Z" msg="Checking whether logged in user should re-sync. UserID:4cb96cda-d6d5-4de2-9c82-4efba0ca7dfe" userID=4cb96cda-d6d5-4de2-9c82-4efba0ca7dfe time="2026-09-17T09:47:29Z" msg="Starting IMAP Service" time="2026-09-17T09:47:29Z" msg="Sync triggered" time="2026-09-17T09:47:29Z" msg="Beginning user sync" start="2026-09-17 09:47:29.208831736 +0000 UTC m=+137.701134032" time="2026-09-17T09:47:29Z" msg="Syncing labels" time="2026-09-17T09:47:29Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=62c16b70-e71a-46a8-823c-44e3fc28bb4b time="2026-09-17T09:47:29Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=62c16b70-e71a-46a8-823c-44e3fc28bb4b time="2026-09-17T09:47:29Z" msg="Mailbox created" /user remoteMailboxID=12 userID=62c16b70-e71a-46a8-823c-44e3fc28bb4b time="2026-09-17T09:47:29Z" msg="Mailbox created" /user remoteMailboxID=8 userID=62c16b70-e71a-46a8-823c-44e3fc28bb4b time="2026-09-17T09:47:29Z" msg="Mailbox created" /user remoteMailboxID=5 userID=62c16b70-e71a-46a8-823c-44e3fc28bb4b time="2026-09-17T09:47:29Z" msg="Mailbox created" /user remoteMailboxID=6 userID=62c16b70-e71a-46a8-823c-44e3fc28bb4b time="2026-09-17T09:47:29Z" msg="Mailbox created" /user remoteMailboxID=0 userID=62c16b70-e71a-46a8-823c-44e3fc28bb4b time="2026-09-17T09:47:29Z" msg="Mailbox created" /user remoteMailboxID=3 userID=62c16b70-e71a-46a8-823c-44e3fc28bb4b time="2026-09-17T09:47:29Z" msg="Mailbox created" /user remoteMailboxID=4 userID=62c16b70-e71a-46a8-823c-44e3fc28bb4b time="2026-09-17T09:47:29Z" msg="Mailbox created" /user remoteMailboxID=10 userID=62c16b70-e71a-46a8-823c-44e3fc28bb4b time="2026-09-17T09:47:29Z" msg="Mailbox created" /user remoteMailboxID=7 userID=62c16b70-e71a-46a8-823c-44e3fc28bb4b time="2026-09-17T09:47:29Z" msg="Synced labels" time="2026-09-17T09:47:29Z" msg="200 OK: GET https://127.0.0.1:33331/mail/v4/messages/count" /client userID=4cb96cda-d6d5-4de2-9c82-4efba0ca7dfe time="2026-09-17T09:47:29Z" msg="Syncing messages" time="2026-09-17T09:47:29Z" msg="Job started" time="2026-09-17T09:47:29Z" msg="200 OK: POST https://127.0.0.1:33331/mail/v4/messages" /client userID=4cb96cda-d6d5-4de2-9c82-4efba0ca7dfe time="2026-09-17T09:47:29Z" msg="Job finished" time="2026-09-17T09:47:29Z" msg="All child jobs completed" sync- time="2026-09-17T09:47:29Z" msg="Synced messages" time="2026-09-17T09:47:29Z" msg="Finished user sync" .443677ms time="2026-09-17T09:47:29Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:47:29Z" msg="Event loop reset" eventID="AQ==" time="2026-09-17T09:47:29Z" msg="Appended message has no date, adding default one so it does not fail test" time="2026-09-17T09:47:29Z" msg="200 OK: POST https://127.0.0.1:33331/mail/v4/messages/import" /client userID=4cb96cda-d6d5-4de2-9c82-4efba0ca7dfe time="2026-09-17T09:47:29Z" msg="200 OK: GET https://127.0.0.1:33331/mail/v4/messages/8ea344c9-6e64-46df-9a20-273d9b59e1ef" /client userID=4cb96cda-d6d5-4de2-9c82-4efba0ca7dfe Scenario: Imports an unrelated message to sent # features/imap/message/create.feature:73 When IMAP client "1" appends the following messages to "Sent": # :1 -> *scenario | from | to | subject | body | | john.doe@email.com | john.doe2@proton.local | foo | bar | Then it succeeds # :1 -> *scenario And IMAP client "1" eventually sees the following messages in "Sent": # :1 -> *scenario | from | to | subject | body | | john.doe@email.com | john.doe2@proton.local | foo | bar | time="2026-09-17T09:47:29Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 0} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:47:30Z" msg="200 OK: GET https://127.0.0.1:33331/core/v4/events/AQ==" /client userID=4cb96cda-d6d5-4de2-9c82-4efba0ca7dfe time="2026-09-17T09:47:30Z" msg="Received new API event" new="Event Ag==: messages: , , " old="AQ==" time="2026-09-17T09:47:30Z" msg="Handling message created event" messageID=8ea344c9-6e64-46df-9a20-273d9b59e1ef subject="******** (2c26b46b)" time="2026-09-17T09:47:30Z" msg="200 OK: GET https://127.0.0.1:33331/mail/v4/messages/8ea344c9-6e64-46df-9a20-273d9b59e1ef" /client userID=4cb96cda-d6d5-4de2-9c82-4efba0ca7dfe time="2026-09-17T09:47:30Z" msg="Found existing message in create event, will update instead" MessageID=8ea344c9-6e64-46df-9a20-273d9b59e1ef... /user userID=62c16b70-e71a-46a8-823c-44e3fc28bb4b time="2026-09-17T09:47:30Z" msg="Frontend service stopped" time="2026-09-17T09:47:30Z" msg="Frontend client stopped" time="2026-09-17T09:47:30Z" msg="Closing bridge" time="2026-09-17T09:47:30Z" msg="Stopping service" time="2026-09-17T09:47:30Z" msg="Closing user" userID=4cb96cda-d6d5-4de2-9c82-4efba0ca7dfe time="2026-09-17T09:47:30Z" msg="De-registering user client, ID:4cb96cda-d6d5-4de2-9c82-4efba0ca7dfe" time="2026-09-17T09:47:30Z" msg="Exiting IMAP Service" time="2026-09-17T09:47:30Z" msg="Exiting service main loop" time="2026-09-17T09:47:30Z" msg="Exiting service main loop" time="2026-09-17T09:47:30Z" msg="Exiting Service" time="2026-09-17T09:47:30Z" msg="Exiting service main loop" time="2026-09-17T09:47:30Z" msg="Exiting service" time="2026-09-17T09:47:30Z" msg="Closing IMAP Listener" time="2026-09-17T09:47:30Z" msg="Closing IMAP server" time="2026-09-17T09:47:30Z" msg="Closing SMTP Listener" time="2026-09-17T09:47:30Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:47:30Z" msg="Closing SMTP server" time="2026-09-17T09:47:30Z" msg="Closing service" And IMAP client "1" eventually sees the following messages in "All Mail": # :1 -> *scenario | from | to | subject | body | | john.doe@email.com | john.doe2@proton.local | foo | bar | time="2026-09-17T09:47:30Z" msg="User '09dfd589-312b-4ab6-8cf1-7e756569c40a' created with " /server/backend time="2026-09-17T09:47:31Z" msg="Starting bridge" time="2026-09-17T09:47:31Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/072/config53085872/grpcFocusServerConfig.json /service time="2026-09-17T09:47:31Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/072/cache3151353869/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:47:31Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/072/cache3151353869/notifications/notification_cache: no such file or directory" time="2026-09-17T09:47:31Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/072/data1864222428/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/072/data1864222428/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:47:31Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:47:31Z" msg="Starting IMAP server" time="2026-09-17T09:47:31Z" msg="Starting SMTP server" time="2026-09-17T09:47:31Z" msg="Starting service" time="2026-09-17T09:47:31Z" msg="Starting service" time="2026-09-17T09:47:31Z" msg="Starting receiver service" time="2026-09-17T09:47:31Z" msg="Starting poll service" time="2026-09-17T09:47:31Z" msg="Loading users" /user time="2026-09-17T09:47:31Z" msg="Finished loading users" /user time="2026-09-17T09:47:31Z" msg="Starting frontend service" time="2026-09-17T09:47:31Z" msg="Checking for updates" time="2026-09-17T09:47:31Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/072/config53085872/grpcServerConfig.json time="2026-09-17T09:47:31Z" msg="gRPC server listening on /tmp/bridge7354" time="2026-09-17T09:47:31Z" msg="Frontend service started" time="2026-09-17T09:47:31Z" msg="Starting frontend client" time="2026-09-17T09:47:31Z" msg="Not monitoring parent PID" time="2026-09-17T09:47:31Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:47:31Z" msg="200 OK: GET https://127.0.0.1:33555/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:47:31Z" msg="Frontend client started" time="2026-09-17T09:47:31Z" msg="Performing full user login" /user username="******** (4ee37e08)" time="2026-09-17T09:47:31Z" msg="Authorizing user for login" /user username="******** (4ee37e08)" time="2026-09-17T09:47:31Z" msg="200 OK: POST https://127.0.0.1:33555/auth/v4/info" /manager time="2026-09-17T09:47:31Z" msg="200 OK: POST https://127.0.0.1:33555/auth/v4" /manager time="2026-09-17T09:47:31Z" msg="Logging in authorized user" /user userID=e429fcba-b024-490c-92ea-82e21997c0ee time="2026-09-17T09:47:31Z" msg="Adding vault user" userID=e429fcba-b024-490c-92ea-82e21997c0ee time="2026-09-17T09:47:31Z" msg="Creating new user" userID=e429fcba-b024-490c-92ea-82e21997c0ee time="2026-09-17T09:47:31Z" msg="404 GET https://127.0.0.1:33555/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:47:31Z" msg="404 GET https://127.0.0.1:33555/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:47:31Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:33555/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:47:31Z" msg="Creating user object" authUID=756fd72f-d32e-4f0a-9ca2-5f82b04e89f1 numA numL userID=e429fcba-b024-490c-92ea-82e21997c0ee time="2026-09-17T09:47:31Z" msg="200 OK: GET https://127.0.0.1:33555/core/v4/events/latest" /client userID=e429fcba-b024-490c-92ea-82e21997c0ee time="2026-09-17T09:47:31Z" msg="Starting service Last EventID=AQ==" time="2026-09-17T09:47:31Z" msg="200 OK: GET https://127.0.0.1:33555/core/v4/settings" /client userID=e429fcba-b024-490c-92ea-82e21997c0ee time="2026-09-17T09:47:31Z" msg="Registering user client, ID:e429fcba-b024-490c-92ea-82e21997c0ee" time="2026-09-17T09:47:31Z" msg="Starting service main loop" time="2026-09-17T09:47:31Z" msg="Starting user identity service" numA time="2026-09-17T09:47:31Z" msg="Starting service main loop" time="2026-09-17T09:47:31Z" msg="Starting service main loop" time="2026-09-17T09:47:31Z" msg="200 OK: GET https://127.0.0.1:33555/core/v4/labels?T" /client userID=e429fcba-b024-490c-92ea-82e21997c0ee time="2026-09-17T09:47:31Z" msg="200 OK: GET https://127.0.0.1:33555/core/v4/labels?T" /client userID=e429fcba-b024-490c-92ea-82e21997c0ee time="2026-09-17T09:47:31Z" msg="200 OK: GET https://127.0.0.1:33555/core/v4/labels?T" /client userID=e429fcba-b024-490c-92ea-82e21997c0ee time="2026-09-17T09:47:31Z" msg="Setting labels" labelIDs="[0 3 4 5 6 9 10 1 2 7 8 12]" time="2026-09-17T09:47:31Z" msg="Adding user to imap server" addrID=07ac7ee3-afb4-4fa8-81d6-463b3c192055 time="2026-09-17T09:47:31Z" msg="Creating new IMAP user" addrID=07ac7ee3-afb4-4fa8-81d6-463b3c192055 time="2026-09-17T09:47:31Z" msg="Setting gluon ID" addrID=07ac7ee3-afb4-4fa8-81d6-463b3c192055 gluonID=8f4765de-d2bf-47f6-8d28-695a7be0a6ab userID=e429fcba-b024-490c-92ea-82e21997c0ee time="2026-09-17T09:47:31Z" msg="Received mailbox message count" gluonID=8f4765de-d2bf-47f6-8d28-695a7be0a6ab labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:47:31Z" msg="Created new IMAP user" addrID=07ac7ee3-afb4-4fa8-81d6-463b3c192055 gluonID=8f4765de-d2bf-47f6-8d28-695a7be0a6ab time="2026-09-17T09:47:31Z" msg="Validating Listener State" time="2026-09-17T09:47:31Z" time="2026-09-17T09:47:31Z" msg="Checking whether logged in user should re-sync. UserID:e429fcba-b024-490c-92ea-82e21997c0ee" userID=e429fcba-b024-490c-92ea-82e21997c0ee time="2026-09-17T09:47:31Z" msg="Starting IMAP Service" time="2026-09-17T09:47:31Z" msg="Sync triggered" time="2026-09-17T09:47:31Z" msg="Beginning user sync" start="2026-09-17 09:47:31.768251208 +0000 UTC m=+140.260553544" time="2026-09-17T09:47:31Z" msg="Syncing labels" time="2026-09-17T09:47:31Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=8f4765de-d2bf-47f6-8d28-695a7be0a6ab time="2026-09-17T09:47:31Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=8f4765de-d2bf-47f6-8d28-695a7be0a6ab time="2026-09-17T09:47:31Z" msg="Mailbox created" /user remoteMailboxID=7 userID=8f4765de-d2bf-47f6-8d28-695a7be0a6ab time="2026-09-17T09:47:31Z" msg="Mailbox created" /user remoteMailboxID=3 userID=8f4765de-d2bf-47f6-8d28-695a7be0a6ab time="2026-09-17T09:47:31Z" msg="Mailbox created" /user remoteMailboxID=5 userID=8f4765de-d2bf-47f6-8d28-695a7be0a6ab time="2026-09-17T09:47:31Z" msg="Mailbox created" /user remoteMailboxID=6 userID=8f4765de-d2bf-47f6-8d28-695a7be0a6ab time="2026-09-17T09:47:31Z" msg="Mailbox created" /user remoteMailboxID=10 userID=8f4765de-d2bf-47f6-8d28-695a7be0a6ab time="2026-09-17T09:47:31Z" msg="Mailbox created" /user remoteMailboxID=8 userID=8f4765de-d2bf-47f6-8d28-695a7be0a6ab time="2026-09-17T09:47:31Z" msg="Mailbox created" /user remoteMailboxID=12 userID=8f4765de-d2bf-47f6-8d28-695a7be0a6ab time="2026-09-17T09:47:31Z" msg="Mailbox created" /user remoteMailboxID=0 userID=8f4765de-d2bf-47f6-8d28-695a7be0a6ab time="2026-09-17T09:47:31Z" msg="Mailbox created" /user remoteMailboxID=4 userID=8f4765de-d2bf-47f6-8d28-695a7be0a6ab time="2026-09-17T09:47:31Z" msg="Synced labels" time="2026-09-17T09:47:31Z" msg="200 OK: GET https://127.0.0.1:33555/mail/v4/messages/count" /client userID=e429fcba-b024-490c-92ea-82e21997c0ee time="2026-09-17T09:47:31Z" msg="Syncing messages" time="2026-09-17T09:47:31Z" msg="Job started" time="2026-09-17T09:47:31Z" msg="200 OK: POST https://127.0.0.1:33555/mail/v4/messages" /client userID=e429fcba-b024-490c-92ea-82e21997c0ee time="2026-09-17T09:47:31Z" msg="Job finished" time="2026-09-17T09:47:31Z" msg="All child jobs completed" sync- time="2026-09-17T09:47:31Z" msg="Synced messages" time="2026-09-17T09:47:31Z" msg="Finished user sync" .44201ms time="2026-09-17T09:47:31Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:47:31Z" msg="Event loop reset" eventID="AQ==" time="2026-09-17T09:47:31Z" msg="Appended message has no date, adding default one so it does not fail test" time="2026-09-17T09:47:31Z" msg="200 OK: POST https://127.0.0.1:33555/mail/v4/messages/import" /client userID=e429fcba-b024-490c-92ea-82e21997c0ee time="2026-09-17T09:47:31Z" msg="200 OK: GET https://127.0.0.1:33555/mail/v4/messages/d7dfef32-4622-40de-96bf-e2e714dad2fb" /client userID=e429fcba-b024-490c-92ea-82e21997c0ee Scenario: Imports a similar (duplicate) message to sent # features/imap/message/create.feature:85 When IMAP client "1" appends the following messages to "Sent": # :1 -> *scenario | from | to | subject | body | | john.doe@email.com | john.doe2@proton.local | foo | bar | And it succeeds # :1 -> *scenario And IMAP client "1" eventually sees the following messages in "Sent": # :1 -> *scenario | from | to | subject | body | | john.doe@email.com | john.doe2@proton.local | foo | bar | And it succeeds # :1 -> *scenario time="2026-09-17T09:47:31Z" msg="Appended message has no date, adding default one so it does not fail test" time="2026-09-17T09:47:31Z" msg="200 OK: POST https://127.0.0.1:33555/mail/v4/messages/import" /client userID=e429fcba-b024-490c-92ea-82e21997c0ee time="2026-09-17T09:47:31Z" msg="200 OK: GET https://127.0.0.1:33555/mail/v4/messages/6669eda8-7143-49ee-a9c8-fa8fe12a1bf9" /client userID=e429fcba-b024-490c-92ea-82e21997c0ee And IMAP client "1" appends the following messages to "Sent": # :1 -> *scenario | from | to | subject | body | | john.doe@email.com | john.doe2@proton.local | foo | bar | And it succeeds # :1 -> *scenario time="2026-09-17T09:47:31Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 0} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:47:32Z" msg="Frontend service stopped" time="2026-09-17T09:47:32Z" msg="Frontend client stopped" time="2026-09-17T09:47:32Z" msg="Closing bridge" time="2026-09-17T09:47:32Z" msg="Stopping service" time="2026-09-17T09:47:32Z" msg="Closing user" userID=e429fcba-b024-490c-92ea-82e21997c0ee time="2026-09-17T09:47:32Z" msg="De-registering user client, ID:e429fcba-b024-490c-92ea-82e21997c0ee" time="2026-09-17T09:47:32Z" msg="Exiting IMAP Service" time="2026-09-17T09:47:32Z" msg="Exiting service main loop" time="2026-09-17T09:47:32Z" msg="Exiting service main loop" time="2026-09-17T09:47:32Z" msg="Exiting Service" time="2026-09-17T09:47:32Z" msg="Exiting service main loop" time="2026-09-17T09:47:32Z" msg="Exiting service" time="2026-09-17T09:47:32Z" msg="Closing IMAP Listener" time="2026-09-17T09:47:32Z" msg="Closing IMAP server" time="2026-09-17T09:47:32Z" msg="Closing SMTP Listener" time="2026-09-17T09:47:32Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:47:32Z" msg="Closing SMTP server" time="2026-09-17T09:47:32Z" msg="Closing service" And IMAP client "1" eventually sees the following messages in "Sent": # :1 -> *scenario | from | to | subject | body | | john.doe@email.com | john.doe2@proton.local | foo | bar | | john.doe@email.com | john.doe2@proton.local | foo | bar | Feature: IMAP remove messages from mailbox time="2026-09-17T09:47:32Z" msg="User 'a2a40752-839c-4031-99df-590b50f0e549' created with " /server/backend Background: Given there exists an account with username "a2a40752-839c-4031-99df-590b50f0e549" and password "password" # :1 -> *scenario And the account "a2a40752-839c-4031-99df-590b50f0e549" has the following custom mailboxes: # :1 -> *scenario | name | type | | mbox | folder | | label | label | And the address "a2a40752-839c-4031-99df-590b50f0e549@proton.local" of account "a2a40752-839c-4031-99df-590b50f0e549" has 10 messages in "Folders/mbox" # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:47:33Z" msg="Starting bridge" time="2026-09-17T09:47:33Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/073/config3101188241/grpcFocusServerConfig.json /service time="2026-09-17T09:47:33Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/073/cache1838500125/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:47:33Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/073/cache1838500125/notifications/notification_cache: no such file or directory" time="2026-09-17T09:47:33Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/073/data3969701099/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/073/data3969701099/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:47:33Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:47:33Z" msg="Starting IMAP server" time="2026-09-17T09:47:33Z" msg="Starting SMTP server" time="2026-09-17T09:47:33Z" msg="Starting service" time="2026-09-17T09:47:33Z" msg="Starting service" time="2026-09-17T09:47:33Z" msg="Starting frontend service" time="2026-09-17T09:47:33Z" msg="Starting poll service" time="2026-09-17T09:47:33Z" msg="Starting receiver service" time="2026-09-17T09:47:33Z" msg="Checking for updates" time="2026-09-17T09:47:33Z" msg="Loading users" /user time="2026-09-17T09:47:33Z" msg="Finished loading users" /user time="2026-09-17T09:47:33Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/073/config3101188241/grpcServerConfig.json time="2026-09-17T09:47:33Z" msg="gRPC server listening on /tmp/bridge7839" time="2026-09-17T09:47:33Z" msg="Frontend service started" time="2026-09-17T09:47:33Z" msg="Starting frontend client" time="2026-09-17T09:47:33Z" msg="Not monitoring parent PID" time="2026-09-17T09:47:33Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:47:33Z" msg="200 OK: GET https://127.0.0.1:40105/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:47:33Z" msg="Frontend client started" When bridge starts # :1 -> *scenario time="2026-09-17T09:47:33Z" msg="Performing full user login" /user username="******** (f56da719)" time="2026-09-17T09:47:33Z" msg="Authorizing user for login" /user username="******** (f56da719)" time="2026-09-17T09:47:33Z" msg="200 OK: POST https://127.0.0.1:40105/auth/v4/info" /manager time="2026-09-17T09:47:34Z" msg="200 OK: POST https://127.0.0.1:40105/auth/v4" /manager time="2026-09-17T09:47:34Z" msg="Logging in authorized user" /user userID=d4276a82-ac9b-4b17-be28-1d0daee2a52b time="2026-09-17T09:47:34Z" msg="Adding vault user" userID=d4276a82-ac9b-4b17-be28-1d0daee2a52b time="2026-09-17T09:47:34Z" msg="Creating new user" userID=d4276a82-ac9b-4b17-be28-1d0daee2a52b time="2026-09-17T09:47:34Z" msg="404 GET https://127.0.0.1:40105/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:47:34Z" msg="404 GET https://127.0.0.1:40105/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:47:34Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:40105/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:47:34Z" msg="Creating user object" authUID=cf894257-af37-46a9-b10a-d9a807e27d50 numA numL userID=d4276a82-ac9b-4b17-be28-1d0daee2a52b time="2026-09-17T09:47:34Z" msg="200 OK: GET https://127.0.0.1:40105/core/v4/events/latest" /client userID=d4276a82-ac9b-4b17-be28-1d0daee2a52b time="2026-09-17T09:47:34Z" msg="Starting service Last EventID=DA==" time="2026-09-17T09:47:34Z" msg="200 OK: GET https://127.0.0.1:40105/core/v4/settings" /client userID=d4276a82-ac9b-4b17-be28-1d0daee2a52b time="2026-09-17T09:47:34Z" msg="Registering user client, ID:d4276a82-ac9b-4b17-be28-1d0daee2a52b" time="2026-09-17T09:47:34Z" msg="Starting user identity service" numA time="2026-09-17T09:47:34Z" msg="Starting service main loop" time="2026-09-17T09:47:34Z" msg="Starting service main loop" time="2026-09-17T09:47:34Z" msg="Starting service main loop" time="2026-09-17T09:47:34Z" msg="200 OK: GET https://127.0.0.1:40105/core/v4/labels?T" /client userID=d4276a82-ac9b-4b17-be28-1d0daee2a52b time="2026-09-17T09:47:34Z" msg="200 OK: GET https://127.0.0.1:40105/core/v4/labels?T" /client userID=d4276a82-ac9b-4b17-be28-1d0daee2a52b time="2026-09-17T09:47:34Z" msg="200 OK: GET https://127.0.0.1:40105/core/v4/labels?T" /client userID=d4276a82-ac9b-4b17-be28-1d0daee2a52b time="2026-09-17T09:47:34Z" msg="Setting labels" labelIDs="[3 5 6 7 8 4 9 10 12 0 1 2 4f341e51-6fbf-4738-92db-6af4a9d05099 a8b288c9-64d1-48ed-9c9d-038154d2732f]" time="2026-09-17T09:47:34Z" msg="Adding user to imap server" addrID=a3c0c4d5-5a23-4f49-95c3-c2fc6fcc5e35 time="2026-09-17T09:47:34Z" msg="Creating new IMAP user" addrID=a3c0c4d5-5a23-4f49-95c3-c2fc6fcc5e35 time="2026-09-17T09:47:34Z" msg="Setting gluon ID" addrID=a3c0c4d5-5a23-4f49-95c3-c2fc6fcc5e35 gluonID=fbcdaa51-74c4-4726-b119-132b06cc3221 userID=d4276a82-ac9b-4b17-be28-1d0daee2a52b time="2026-09-17T09:47:34Z" msg="Received mailbox message count" gluonID=fbcdaa51-74c4-4726-b119-132b06cc3221 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:47:34Z" msg="Created new IMAP user" addrID=a3c0c4d5-5a23-4f49-95c3-c2fc6fcc5e35 gluonID=fbcdaa51-74c4-4726-b119-132b06cc3221 time="2026-09-17T09:47:34Z" msg="Validating Listener State" time="2026-09-17T09:47:34Z" time="2026-09-17T09:47:34Z" msg="Checking whether logged in user should re-sync. UserID:d4276a82-ac9b-4b17-be28-1d0daee2a52b" userID=d4276a82-ac9b-4b17-be28-1d0daee2a52b time="2026-09-17T09:47:34Z" msg="Starting IMAP Service" time="2026-09-17T09:47:34Z" msg="Sync triggered" time="2026-09-17T09:47:34Z" msg="Beginning user sync" start="2026-09-17 09:47:34.268348062 +0000 UTC m=+142.760650318" And the user logs in with username "a2a40752-839c-4031-99df-590b50f0e549" and password "password" # :1 -> *scenario time="2026-09-17T09:47:34Z" msg="Syncing labels" time="2026-09-17T09:47:34Z" msg="Label not found in DB, creating mailbox." labelID=4f341e51-6fbf-4738-92db-6af4a9d05099 labelPath="jm2pV8GS7FVFPTesFaU5jW/EhDgcEQCxeWTMDFRvNjU=" numberOfC /labelConflictResolver time="2026-09-17T09:47:34Z" msg="Label not found in DB, creating mailbox." labelID=a8b288c9-64d1-48ed-9c9d-038154d2732f labelPath="mHoyd+am6bmNoUvxRZ/ZRvBIQnwu+1OQWf1jSR3oA+s=" numberOfC /labelConflictResolver time="2026-09-17T09:47:34Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=fbcdaa51-74c4-4726-b119-132b06cc3221 time="2026-09-17T09:47:34Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=fbcdaa51-74c4-4726-b119-132b06cc3221 time="2026-09-17T09:47:34Z" msg="Mailbox created" /user remoteMailboxID=6 userID=fbcdaa51-74c4-4726-b119-132b06cc3221 time="2026-09-17T09:47:34Z" msg="Mailbox created" /user remoteMailboxID=10 userID=fbcdaa51-74c4-4726-b119-132b06cc3221 time="2026-09-17T09:47:34Z" msg="Mailbox created" /user remoteMailboxID=12 userID=fbcdaa51-74c4-4726-b119-132b06cc3221 time="2026-09-17T09:47:34Z" msg="Mailbox created" /user remoteMailboxID=0 userID=fbcdaa51-74c4-4726-b119-132b06cc3221 time="2026-09-17T09:47:34Z" msg="Mailbox created" /user remoteMailboxID=5 userID=fbcdaa51-74c4-4726-b119-132b06cc3221 time="2026-09-17T09:47:34Z" msg="Mailbox created" /user remoteMailboxID=7 userID=fbcdaa51-74c4-4726-b119-132b06cc3221 time="2026-09-17T09:47:34Z" msg="Mailbox created" /user remoteMailboxID=8 userID=fbcdaa51-74c4-4726-b119-132b06cc3221 time="2026-09-17T09:47:34Z" msg="Mailbox created" /user remoteMailboxID=4 userID=fbcdaa51-74c4-4726-b119-132b06cc3221 time="2026-09-17T09:47:34Z" msg="Mailbox created" /user remoteMailboxID=4f341e51-6fbf-4738-92db-6af4a9d05099 userID=fbcdaa51-74c4-4726-b119-132b06cc3221 time="2026-09-17T09:47:34Z" msg="Mailbox created" /user remoteMailboxID=a8b288c9-64d1-48ed-9c9d-038154d2732f userID=fbcdaa51-74c4-4726-b119-132b06cc3221 time="2026-09-17T09:47:34Z" msg="Mailbox created" /user remoteMailboxID=3 userID=fbcdaa51-74c4-4726-b119-132b06cc3221 time="2026-09-17T09:47:34Z" msg="Synced labels" time="2026-09-17T09:47:34Z" msg="200 OK: GET https://127.0.0.1:40105/mail/v4/messages/count" /client userID=d4276a82-ac9b-4b17-be28-1d0daee2a52b time="2026-09-17T09:47:34Z" msg="Syncing messages" time="2026-09-17T09:47:34Z" msg="Job started" time="2026-09-17T09:47:34Z" msg="200 OK: POST https://127.0.0.1:40105/mail/v4/messages" /client userID=d4276a82-ac9b-4b17-be28-1d0daee2a52b time="2026-09-17T09:47:34Z" msg="200 OK: POST https://127.0.0.1:40105/mail/v4/messages" /client userID=d4276a82-ac9b-4b17-be28-1d0daee2a52b time="2026-09-17T09:47:34Z" msg="Creating new child job" time="2026-09-17T09:47:34Z" msg="Job finished" time="2026-09-17T09:47:34Z" msg="200 OK: GET https://127.0.0.1:40105/mail/v4/messages/c6398f8a-9e9b-4fb3-a009-20c3b5a81fe1" /client userID=d4276a82-ac9b-4b17-be28-1d0daee2a52b time="2026-09-17T09:47:34Z" msg="200 OK: GET https://127.0.0.1:40105/mail/v4/messages/9fd387ae-6182-4065-9921-fb42f18ac919" /client userID=d4276a82-ac9b-4b17-be28-1d0daee2a52b time="2026-09-17T09:47:34Z" msg="200 OK: GET https://127.0.0.1:40105/mail/v4/messages/1ffee3e4-666a-4fcd-b7dc-0913936380b8" /client userID=d4276a82-ac9b-4b17-be28-1d0daee2a52b time="2026-09-17T09:47:34Z" msg="200 OK: GET https://127.0.0.1:40105/mail/v4/messages/1e59abb3-714a-4fc0-b793-62f945bcb11b" /client userID=d4276a82-ac9b-4b17-be28-1d0daee2a52b time="2026-09-17T09:47:34Z" msg="200 OK: GET https://127.0.0.1:40105/mail/v4/messages/f37b2efb-3d55-4bda-8fc2-ed6461f304d0" /client userID=d4276a82-ac9b-4b17-be28-1d0daee2a52b time="2026-09-17T09:47:34Z" msg="200 OK: GET https://127.0.0.1:40105/mail/v4/messages/f1a80780-e257-4065-a678-23640bbd0479" /client userID=d4276a82-ac9b-4b17-be28-1d0daee2a52b time="2026-09-17T09:47:34Z" msg="200 OK: GET https://127.0.0.1:40105/mail/v4/messages/cd517931-6f0f-428e-9349-334d57a38956" /client userID=d4276a82-ac9b-4b17-be28-1d0daee2a52b time="2026-09-17T09:47:34Z" msg="200 OK: GET https://127.0.0.1:40105/mail/v4/messages/576c06e4-ddc5-4a9c-8cfb-2118a62398d0" /client userID=d4276a82-ac9b-4b17-be28-1d0daee2a52b time="2026-09-17T09:47:34Z" msg="200 OK: GET https://127.0.0.1:40105/mail/v4/messages/ff9892e2-0722-4eba-b874-705a6ec05c81" /client userID=d4276a82-ac9b-4b17-be28-1d0daee2a52b time="2026-09-17T09:47:34Z" msg="200 OK: GET https://127.0.0.1:40105/mail/v4/messages/77764423-8d2e-422b-b867-dd240a854f40" /client userID=d4276a82-ac9b-4b17-be28-1d0daee2a52b time="2026-09-17T09:47:34Z" msg="Sending observability data." time="2026-09-17T09:47:34Z" msg="200 OK: POST https://127.0.0.1:40105/data/v1/metrics" /client userID=d4276a82-ac9b-4b17-be28-1d0daee2a52b time="2026-09-17T09:47:34Z" msg="Successfully sent observability data." time="2026-09-17T09:47:34Z" msg="Scheduling observability data sending" time="2026-09-17T09:47:34Z" msg="Child job finished" time="2026-09-17T09:47:34Z" msg="All child jobs completed" sync- time="2026-09-17T09:47:34Z" msg="Synced messages" time="2026-09-17T09:47:34Z" msg="Finished user sync" .216768ms time="2026-09-17T09:47:34Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:47:34Z" msg="Event loop reset" eventID="DA==" And user "a2a40752-839c-4031-99df-590b50f0e549" finishes syncing # :1 -> *scenario And user "a2a40752-839c-4031-99df-590b50f0e549" connects and authenticates IMAP client "1" # :1 -> *scenario Then it succeeds # :1 -> *scenario Scenario: Mark message as deleted and EXPUNGE # features/imap/message/delete.feature:16 When IMAP client "1" selects "Folders/mbox" # :1 -> *scenario And IMAP client "1" marks message 2 as deleted # :1 -> *scenario And it succeeds # :1 -> *scenario Then IMAP client "1" eventually sees that message at row 2 has the flag "\Deleted" # :1 -> *scenario time="2026-09-17T09:47:34Z" msg="200 OK: PUT https://127.0.0.1:40105/mail/v4/messages/unlabel" /client userID=d4276a82-ac9b-4b17-be28-1d0daee2a52b When IMAP client "1" expunges # :1 -> *scenario And it succeeds # :1 -> *scenario time="2026-09-17T09:47:34Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 4} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:47:34Z" msg="Frontend service stopped" time="2026-09-17T09:47:34Z" msg="Frontend client stopped" time="2026-09-17T09:47:34Z" msg="Closing bridge" time="2026-09-17T09:47:34Z" msg="Stopping service" time="2026-09-17T09:47:34Z" msg="Closing user" userID=d4276a82-ac9b-4b17-be28-1d0daee2a52b time="2026-09-17T09:47:34Z" msg="De-registering user client, ID:d4276a82-ac9b-4b17-be28-1d0daee2a52b" time="2026-09-17T09:47:34Z" msg="Exiting IMAP Service" time="2026-09-17T09:47:34Z" msg="Exiting service main loop" time="2026-09-17T09:47:34Z" msg="Exiting service main loop" time="2026-09-17T09:47:34Z" msg="Exiting Service" time="2026-09-17T09:47:34Z" msg="Exiting service main loop" time="2026-09-17T09:47:34Z" msg="Exiting service" time="2026-09-17T09:47:34Z" msg="Closing IMAP Listener" time="2026-09-17T09:47:34Z" msg="Closing IMAP server" time="2026-09-17T09:47:34Z" msg="Closing SMTP Listener" time="2026-09-17T09:47:34Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:47:34Z" msg="Closing SMTP server" time="2026-09-17T09:47:34Z" msg="Closing service" Then IMAP client "1" eventually sees 9 messages in "Folders/mbox" # :1 -> *scenario time="2026-09-17T09:47:34Z" msg="User 'b95c995b-8513-4f2a-a848-937475a1aa95' created with " /server/backend time="2026-09-17T09:47:36Z" msg="Starting bridge" time="2026-09-17T09:47:36Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/074/config3627707144/grpcFocusServerConfig.json /service time="2026-09-17T09:47:36Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/074/cache1601790280/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:47:36Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/074/cache1601790280/notifications/notification_cache: no such file or directory" time="2026-09-17T09:47:36Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/074/data4034201074/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/074/data4034201074/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:47:36Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:47:36Z" msg="Starting IMAP server" time="2026-09-17T09:47:36Z" msg="Starting SMTP server" time="2026-09-17T09:47:36Z" msg="Starting service" time="2026-09-17T09:47:36Z" msg="Starting service" time="2026-09-17T09:47:36Z" msg="Starting frontend service" time="2026-09-17T09:47:36Z" msg="Starting poll service" time="2026-09-17T09:47:36Z" msg="Starting receiver service" time="2026-09-17T09:47:36Z" msg="Checking for updates" time="2026-09-17T09:47:36Z" msg="Loading users" /user time="2026-09-17T09:47:36Z" msg="Finished loading users" /user time="2026-09-17T09:47:36Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/074/config3627707144/grpcServerConfig.json time="2026-09-17T09:47:36Z" msg="gRPC server listening on /tmp/bridge7960" time="2026-09-17T09:47:36Z" msg="Frontend service started" time="2026-09-17T09:47:36Z" msg="Starting frontend client" time="2026-09-17T09:47:36Z" msg="Not monitoring parent PID" time="2026-09-17T09:47:36Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:47:36Z" msg="200 OK: GET https://127.0.0.1:37239/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:47:36Z" msg="Frontend client started" time="2026-09-17T09:47:36Z" msg="Performing full user login" /user username="******** (f8a2df1d)" time="2026-09-17T09:47:36Z" msg="Authorizing user for login" /user username="******** (f8a2df1d)" time="2026-09-17T09:47:36Z" msg="200 OK: POST https://127.0.0.1:37239/auth/v4/info" /manager time="2026-09-17T09:47:36Z" msg="200 OK: POST https://127.0.0.1:37239/auth/v4" /manager time="2026-09-17T09:47:36Z" msg="Logging in authorized user" /user userID=5f00c976-8b3b-4608-8ec0-486566931e96 time="2026-09-17T09:47:36Z" msg="Adding vault user" userID=5f00c976-8b3b-4608-8ec0-486566931e96 time="2026-09-17T09:47:36Z" msg="Creating new user" userID=5f00c976-8b3b-4608-8ec0-486566931e96 time="2026-09-17T09:47:36Z" msg="404 GET https://127.0.0.1:37239/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:47:36Z" msg="404 GET https://127.0.0.1:37239/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:47:36Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:37239/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:47:36Z" msg="Creating user object" authUID=728784c6-ca32-47c8-85e5-ad461cda461a numA numL userID=5f00c976-8b3b-4608-8ec0-486566931e96 time="2026-09-17T09:47:36Z" msg="200 OK: GET https://127.0.0.1:37239/core/v4/events/latest" /client userID=5f00c976-8b3b-4608-8ec0-486566931e96 time="2026-09-17T09:47:36Z" msg="Starting service Last EventID=DA==" time="2026-09-17T09:47:36Z" msg="200 OK: GET https://127.0.0.1:37239/core/v4/settings" /client userID=5f00c976-8b3b-4608-8ec0-486566931e96 time="2026-09-17T09:47:36Z" msg="Registering user client, ID:5f00c976-8b3b-4608-8ec0-486566931e96" time="2026-09-17T09:47:36Z" msg="Starting user identity service" numA time="2026-09-17T09:47:36Z" msg="Starting service main loop" time="2026-09-17T09:47:36Z" msg="Starting service main loop" time="2026-09-17T09:47:36Z" msg="Starting service main loop" time="2026-09-17T09:47:36Z" msg="200 OK: GET https://127.0.0.1:37239/core/v4/labels?T" /client userID=5f00c976-8b3b-4608-8ec0-486566931e96 time="2026-09-17T09:47:36Z" msg="200 OK: GET https://127.0.0.1:37239/core/v4/labels?T" /client userID=5f00c976-8b3b-4608-8ec0-486566931e96 time="2026-09-17T09:47:36Z" msg="200 OK: GET https://127.0.0.1:37239/core/v4/labels?T" /client userID=5f00c976-8b3b-4608-8ec0-486566931e96 time="2026-09-17T09:47:36Z" msg="Setting labels" labelIDs="[5 6 8 9 10 1 4 7 12 0 2 3 e39ebb2f-1c9a-45f9-988a-f1abe2c2edb7 3b25b2a5-54b6-4327-8eae-5f73e23f1859]" time="2026-09-17T09:47:36Z" msg="Adding user to imap server" addrID=ebe9b31e-8ef8-4619-8ba1-a0623250687b time="2026-09-17T09:47:36Z" msg="Creating new IMAP user" addrID=ebe9b31e-8ef8-4619-8ba1-a0623250687b time="2026-09-17T09:47:36Z" msg="Setting gluon ID" addrID=ebe9b31e-8ef8-4619-8ba1-a0623250687b gluonID=613faea6-8b85-41ac-9edd-49b04b068318 userID=5f00c976-8b3b-4608-8ec0-486566931e96 time="2026-09-17T09:47:36Z" msg="Received mailbox message count" gluonID=613faea6-8b85-41ac-9edd-49b04b068318 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:47:36Z" msg="Created new IMAP user" addrID=ebe9b31e-8ef8-4619-8ba1-a0623250687b gluonID=613faea6-8b85-41ac-9edd-49b04b068318 time="2026-09-17T09:47:36Z" msg="Validating Listener State" time="2026-09-17T09:47:36Z" time="2026-09-17T09:47:36Z" msg="Starting IMAP Service" time="2026-09-17T09:47:36Z" msg="Checking whether logged in user should re-sync. UserID:5f00c976-8b3b-4608-8ec0-486566931e96" userID=5f00c976-8b3b-4608-8ec0-486566931e96 time="2026-09-17T09:47:36Z" msg="Sync triggered" time="2026-09-17T09:47:36Z" msg="Beginning user sync" start="2026-09-17 09:47:36.76434994 +0000 UTC m=+145.256652316" time="2026-09-17T09:47:36Z" msg="Syncing labels" time="2026-09-17T09:47:36Z" msg="Label not found in DB, creating mailbox." labelID=3b25b2a5-54b6-4327-8eae-5f73e23f1859 labelPath="mHoyd+am6bmNoUvxRZ/ZRvBIQnwu+1OQWf1jSR3oA+s=" numberOfC /labelConflictResolver time="2026-09-17T09:47:36Z" msg="Label not found in DB, creating mailbox." labelID=e39ebb2f-1c9a-45f9-988a-f1abe2c2edb7 labelPath="jm2pV8GS7FVFPTesFaU5jW/EhDgcEQCxeWTMDFRvNjU=" numberOfC /labelConflictResolver time="2026-09-17T09:47:36Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=613faea6-8b85-41ac-9edd-49b04b068318 time="2026-09-17T09:47:36Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=613faea6-8b85-41ac-9edd-49b04b068318 time="2026-09-17T09:47:36Z" msg="Mailbox created" /user remoteMailboxID=7 userID=613faea6-8b85-41ac-9edd-49b04b068318 time="2026-09-17T09:47:36Z" msg="Mailbox created" /user remoteMailboxID=0 userID=613faea6-8b85-41ac-9edd-49b04b068318 time="2026-09-17T09:47:36Z" msg="Mailbox created" /user remoteMailboxID=3b25b2a5-54b6-4327-8eae-5f73e23f1859 userID=613faea6-8b85-41ac-9edd-49b04b068318 time="2026-09-17T09:47:36Z" msg="Mailbox created" /user remoteMailboxID=8 userID=613faea6-8b85-41ac-9edd-49b04b068318 time="2026-09-17T09:47:36Z" msg="Mailbox created" /user remoteMailboxID=10 userID=613faea6-8b85-41ac-9edd-49b04b068318 time="2026-09-17T09:47:36Z" msg="Mailbox created" /user remoteMailboxID=4 userID=613faea6-8b85-41ac-9edd-49b04b068318 time="2026-09-17T09:47:36Z" msg="Mailbox created" /user remoteMailboxID=12 userID=613faea6-8b85-41ac-9edd-49b04b068318 time="2026-09-17T09:47:36Z" msg="Mailbox created" /user remoteMailboxID=3 userID=613faea6-8b85-41ac-9edd-49b04b068318 time="2026-09-17T09:47:36Z" msg="Mailbox created" /user remoteMailboxID=e39ebb2f-1c9a-45f9-988a-f1abe2c2edb7 userID=613faea6-8b85-41ac-9edd-49b04b068318 time="2026-09-17T09:47:36Z" msg="Mailbox created" /user remoteMailboxID=5 userID=613faea6-8b85-41ac-9edd-49b04b068318 time="2026-09-17T09:47:36Z" msg="Mailbox created" /user remoteMailboxID=6 userID=613faea6-8b85-41ac-9edd-49b04b068318 time="2026-09-17T09:47:36Z" msg="Synced labels" time="2026-09-17T09:47:36Z" msg="200 OK: GET https://127.0.0.1:37239/mail/v4/messages/count" /client userID=5f00c976-8b3b-4608-8ec0-486566931e96 time="2026-09-17T09:47:36Z" msg="Syncing messages" time="2026-09-17T09:47:36Z" msg="Job started" time="2026-09-17T09:47:36Z" msg="200 OK: POST https://127.0.0.1:37239/mail/v4/messages" /client userID=5f00c976-8b3b-4608-8ec0-486566931e96 time="2026-09-17T09:47:36Z" msg="200 OK: POST https://127.0.0.1:37239/mail/v4/messages" /client userID=5f00c976-8b3b-4608-8ec0-486566931e96 time="2026-09-17T09:47:36Z" msg="Creating new child job" time="2026-09-17T09:47:36Z" msg="Job finished" time="2026-09-17T09:47:36Z" msg="200 OK: GET https://127.0.0.1:37239/mail/v4/messages/b319d0ca-779d-4fbb-a936-9fd704812c55" /client userID=5f00c976-8b3b-4608-8ec0-486566931e96 time="2026-09-17T09:47:36Z" msg="200 OK: GET https://127.0.0.1:37239/mail/v4/messages/d170ec4f-f47f-46d7-a291-b87d35758bbd" /client userID=5f00c976-8b3b-4608-8ec0-486566931e96 time="2026-09-17T09:47:36Z" msg="200 OK: GET https://127.0.0.1:37239/mail/v4/messages/ca27f2cf-f306-4630-9bd2-622c664c24bf" /client userID=5f00c976-8b3b-4608-8ec0-486566931e96 time="2026-09-17T09:47:36Z" msg="200 OK: GET https://127.0.0.1:37239/mail/v4/messages/354c027e-e721-4129-b3c5-628d3a98b6bb" /client userID=5f00c976-8b3b-4608-8ec0-486566931e96 time="2026-09-17T09:47:36Z" msg="200 OK: GET https://127.0.0.1:37239/mail/v4/messages/5c211927-1a91-4e36-bea4-cb44a673f63b" /client userID=5f00c976-8b3b-4608-8ec0-486566931e96 time="2026-09-17T09:47:36Z" msg="200 OK: GET https://127.0.0.1:37239/mail/v4/messages/f9becd6c-b70a-4289-81f7-40e5e1d1c01c" /client userID=5f00c976-8b3b-4608-8ec0-486566931e96 time="2026-09-17T09:47:36Z" msg="200 OK: GET https://127.0.0.1:37239/mail/v4/messages/3f6b0483-8c19-4dd5-9382-5386aa801225" /client userID=5f00c976-8b3b-4608-8ec0-486566931e96 time="2026-09-17T09:47:36Z" msg="200 OK: GET https://127.0.0.1:37239/mail/v4/messages/e627ef12-f417-4dcd-b9f4-3d9b1649bd30" /client userID=5f00c976-8b3b-4608-8ec0-486566931e96 time="2026-09-17T09:47:36Z" msg="200 OK: GET https://127.0.0.1:37239/mail/v4/messages/0a3da3c7-2262-49f3-9266-6b68448b81f4" /client userID=5f00c976-8b3b-4608-8ec0-486566931e96 time="2026-09-17T09:47:36Z" msg="200 OK: GET https://127.0.0.1:37239/mail/v4/messages/fe7e770d-4117-4333-9d8b-a9f42ee9c31e" /client userID=5f00c976-8b3b-4608-8ec0-486566931e96 time="2026-09-17T09:47:36Z" msg="Sending observability data." time="2026-09-17T09:47:36Z" msg="200 OK: POST https://127.0.0.1:37239/data/v1/metrics" /client userID=5f00c976-8b3b-4608-8ec0-486566931e96 time="2026-09-17T09:47:36Z" msg="Successfully sent observability data." time="2026-09-17T09:47:36Z" msg="Scheduling observability data sending" time="2026-09-17T09:47:36Z" msg="Child job finished" time="2026-09-17T09:47:36Z" msg="All child jobs completed" sync- time="2026-09-17T09:47:36Z" msg="Synced messages" time="2026-09-17T09:47:36Z" msg="Finished user sync" .494369ms time="2026-09-17T09:47:36Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:47:36Z" msg="Event loop reset" eventID="DA==" Scenario: Mark all messages as deleted and EXPUNGE # features/imap/message/delete.feature:25 When IMAP client "1" selects "Folders/mbox" # :1 -> *scenario And IMAP client "1" marks all messages as deleted # :1 -> *scenario time="2026-09-17T09:47:36Z" msg="200 OK: PUT https://127.0.0.1:37239/mail/v4/messages/unlabel" /client userID=5f00c976-8b3b-4608-8ec0-486566931e96 And IMAP client "1" expunges # :1 -> *scenario And it succeeds # :1 -> *scenario time="2026-09-17T09:47:36Z" msg="Frontend service stopped" time="2026-09-17T09:47:36Z" msg="Frontend client stopped" time="2026-09-17T09:47:36Z" msg="Closing bridge" time="2026-09-17T09:47:36Z" msg="Stopping service" time="2026-09-17T09:47:36Z" msg="Closing user" userID=5f00c976-8b3b-4608-8ec0-486566931e96 time="2026-09-17T09:47:36Z" msg="De-registering user client, ID:5f00c976-8b3b-4608-8ec0-486566931e96" time="2026-09-17T09:47:36Z" msg="Exiting IMAP Service" time="2026-09-17T09:47:36Z" msg="Exiting service main loop" time="2026-09-17T09:47:36Z" msg="Exiting service main loop" time="2026-09-17T09:47:36Z" msg="Exiting Service" time="2026-09-17T09:47:36Z" msg="Exiting service main loop" time="2026-09-17T09:47:36Z" msg="Exiting service" time="2026-09-17T09:47:36Z" msg="Closing IMAP Listener" time="2026-09-17T09:47:36Z" msg="Closing IMAP server" time="2026-09-17T09:47:36Z" msg="Closing SMTP Listener" time="2026-09-17T09:47:36Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:47:36Z" msg="Closing SMTP server" time="2026-09-17T09:47:36Z" msg="Closing service" Then IMAP client "1" eventually sees 0 messages in "Folders/mbox" # :1 -> *scenario time="2026-09-17T09:47:37Z" msg="User 'ada6d45a-6f07-4be3-8a56-c35852f23d86' created with " /server/backend time="2026-09-17T09:47:38Z" msg="Starting bridge" time="2026-09-17T09:47:38Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/075/config884884156/grpcFocusServerConfig.json /service time="2026-09-17T09:47:38Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/075/cache640122547/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:47:38Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/075/cache640122547/notifications/notification_cache: no such file or directory" time="2026-09-17T09:47:38Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/075/data1012340994/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/075/data1012340994/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:47:38Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:47:38Z" msg="Starting IMAP server" time="2026-09-17T09:47:38Z" msg="Starting SMTP server" time="2026-09-17T09:47:38Z" msg="Starting service" time="2026-09-17T09:47:38Z" msg="Starting service" time="2026-09-17T09:47:38Z" msg="Starting frontend service" time="2026-09-17T09:47:38Z" msg="Starting poll service" time="2026-09-17T09:47:38Z" msg="Checking for updates" time="2026-09-17T09:47:38Z" msg="Starting receiver service" time="2026-09-17T09:47:38Z" msg="Loading users" /user time="2026-09-17T09:47:38Z" msg="Finished loading users" /user time="2026-09-17T09:47:38Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/075/config884884156/grpcServerConfig.json time="2026-09-17T09:47:38Z" msg="gRPC server listening on /tmp/bridge1086" time="2026-09-17T09:47:38Z" msg="Frontend service started" time="2026-09-17T09:47:38Z" msg="Starting frontend client" time="2026-09-17T09:47:38Z" msg="Not monitoring parent PID" time="2026-09-17T09:47:38Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:47:38Z" msg="200 OK: GET https://127.0.0.1:39599/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:47:38Z" msg="Frontend client started" time="2026-09-17T09:47:38Z" msg="Performing full user login" /user username="******** (01849afd)" time="2026-09-17T09:47:38Z" msg="Authorizing user for login" /user username="******** (01849afd)" time="2026-09-17T09:47:38Z" msg="200 OK: POST https://127.0.0.1:39599/auth/v4/info" /manager time="2026-09-17T09:47:39Z" msg="200 OK: POST https://127.0.0.1:39599/auth/v4" /manager time="2026-09-17T09:47:39Z" msg="Logging in authorized user" /user userID=383ef91f-8798-43f6-9d2f-b439e5572414 time="2026-09-17T09:47:39Z" msg="Adding vault user" userID=383ef91f-8798-43f6-9d2f-b439e5572414 time="2026-09-17T09:47:39Z" msg="Creating new user" userID=383ef91f-8798-43f6-9d2f-b439e5572414 time="2026-09-17T09:47:39Z" msg="404 GET https://127.0.0.1:39599/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:47:39Z" msg="404 GET https://127.0.0.1:39599/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:47:39Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:39599/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:47:39Z" msg="Creating user object" authUID=307fa106-c5b9-4d5f-b6fd-60cdb0b2fea7 numA numL userID=383ef91f-8798-43f6-9d2f-b439e5572414 time="2026-09-17T09:47:39Z" msg="200 OK: GET https://127.0.0.1:39599/core/v4/events/latest" /client userID=383ef91f-8798-43f6-9d2f-b439e5572414 time="2026-09-17T09:47:39Z" msg="Starting service Last EventID=DA==" time="2026-09-17T09:47:39Z" msg="200 OK: GET https://127.0.0.1:39599/core/v4/settings" /client userID=383ef91f-8798-43f6-9d2f-b439e5572414 time="2026-09-17T09:47:39Z" msg="Registering user client, ID:383ef91f-8798-43f6-9d2f-b439e5572414" time="2026-09-17T09:47:39Z" msg="Starting user identity service" numA time="2026-09-17T09:47:39Z" msg="Starting service main loop" time="2026-09-17T09:47:39Z" msg="Starting service main loop" time="2026-09-17T09:47:39Z" msg="Starting service main loop" time="2026-09-17T09:47:39Z" msg="200 OK: GET https://127.0.0.1:39599/core/v4/labels?T" /client userID=383ef91f-8798-43f6-9d2f-b439e5572414 time="2026-09-17T09:47:39Z" msg="200 OK: GET https://127.0.0.1:39599/core/v4/labels?T" /client userID=383ef91f-8798-43f6-9d2f-b439e5572414 time="2026-09-17T09:47:39Z" msg="200 OK: GET https://127.0.0.1:39599/core/v4/labels?T" /client userID=383ef91f-8798-43f6-9d2f-b439e5572414 time="2026-09-17T09:47:39Z" msg="Setting labels" labelIDs="[7 9 3 5 6 8 10 12 0 1 2 4 129e4cb1-1d1a-4ae2-b85e-d1bfac954db5 094008fc-cc89-4a16-ad6a-02a9419f9a9d]" time="2026-09-17T09:47:39Z" msg="Adding user to imap server" addrID=602b0dbe-3aab-48f2-a0d0-b2f9e3947465 time="2026-09-17T09:47:39Z" msg="Creating new IMAP user" addrID=602b0dbe-3aab-48f2-a0d0-b2f9e3947465 time="2026-09-17T09:47:39Z" msg="Setting gluon ID" addrID=602b0dbe-3aab-48f2-a0d0-b2f9e3947465 gluonID=2daa3cc9-d810-46ba-91c4-a41667659f1a userID=383ef91f-8798-43f6-9d2f-b439e5572414 time="2026-09-17T09:47:39Z" msg="Received mailbox message count" gluonID=2daa3cc9-d810-46ba-91c4-a41667659f1a labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:47:39Z" msg="Created new IMAP user" addrID=602b0dbe-3aab-48f2-a0d0-b2f9e3947465 gluonID=2daa3cc9-d810-46ba-91c4-a41667659f1a time="2026-09-17T09:47:39Z" msg="Validating Listener State" time="2026-09-17T09:47:39Z" time="2026-09-17T09:47:39Z" msg="Starting IMAP Service" time="2026-09-17T09:47:39Z" msg="Checking whether logged in user should re-sync. UserID:383ef91f-8798-43f6-9d2f-b439e5572414" userID=383ef91f-8798-43f6-9d2f-b439e5572414 time="2026-09-17T09:47:39Z" msg="Sync triggered" time="2026-09-17T09:47:39Z" msg="Beginning user sync" start="2026-09-17 09:47:39.161661706 +0000 UTC m=+147.653964002" time="2026-09-17T09:47:39Z" msg="Syncing labels" time="2026-09-17T09:47:39Z" msg="Label not found in DB, creating mailbox." labelID=094008fc-cc89-4a16-ad6a-02a9419f9a9d labelPath="mHoyd+am6bmNoUvxRZ/ZRvBIQnwu+1OQWf1jSR3oA+s=" numberOfC /labelConflictResolver time="2026-09-17T09:47:39Z" msg="Label not found in DB, creating mailbox." labelID=129e4cb1-1d1a-4ae2-b85e-d1bfac954db5 labelPath="jm2pV8GS7FVFPTesFaU5jW/EhDgcEQCxeWTMDFRvNjU=" numberOfC /labelConflictResolver time="2026-09-17T09:47:39Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=2daa3cc9-d810-46ba-91c4-a41667659f1a time="2026-09-17T09:47:39Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=2daa3cc9-d810-46ba-91c4-a41667659f1a time="2026-09-17T09:47:39Z" msg="Mailbox created" /user remoteMailboxID=5 userID=2daa3cc9-d810-46ba-91c4-a41667659f1a time="2026-09-17T09:47:39Z" msg="Mailbox created" /user remoteMailboxID=6 userID=2daa3cc9-d810-46ba-91c4-a41667659f1a time="2026-09-17T09:47:39Z" msg="Mailbox created" /user remoteMailboxID=8 userID=2daa3cc9-d810-46ba-91c4-a41667659f1a time="2026-09-17T09:47:39Z" msg="Mailbox created" /user remoteMailboxID=10 userID=2daa3cc9-d810-46ba-91c4-a41667659f1a time="2026-09-17T09:47:39Z" msg="Mailbox created" /user remoteMailboxID=094008fc-cc89-4a16-ad6a-02a9419f9a9d userID=2daa3cc9-d810-46ba-91c4-a41667659f1a time="2026-09-17T09:47:39Z" msg="Mailbox created" /user remoteMailboxID=7 userID=2daa3cc9-d810-46ba-91c4-a41667659f1a time="2026-09-17T09:47:39Z" msg="Mailbox created" /user remoteMailboxID=3 userID=2daa3cc9-d810-46ba-91c4-a41667659f1a time="2026-09-17T09:47:39Z" msg="Mailbox created" /user remoteMailboxID=12 userID=2daa3cc9-d810-46ba-91c4-a41667659f1a time="2026-09-17T09:47:39Z" msg="Mailbox created" /user remoteMailboxID=0 userID=2daa3cc9-d810-46ba-91c4-a41667659f1a time="2026-09-17T09:47:39Z" msg="Mailbox created" /user remoteMailboxID=4 userID=2daa3cc9-d810-46ba-91c4-a41667659f1a time="2026-09-17T09:47:39Z" msg="Mailbox created" /user remoteMailboxID=129e4cb1-1d1a-4ae2-b85e-d1bfac954db5 userID=2daa3cc9-d810-46ba-91c4-a41667659f1a time="2026-09-17T09:47:39Z" msg="Synced labels" time="2026-09-17T09:47:39Z" msg="200 OK: GET https://127.0.0.1:39599/mail/v4/messages/count" /client userID=383ef91f-8798-43f6-9d2f-b439e5572414 time="2026-09-17T09:47:39Z" msg="Syncing messages" time="2026-09-17T09:47:39Z" msg="Job started" time="2026-09-17T09:47:39Z" msg="200 OK: POST https://127.0.0.1:39599/mail/v4/messages" /client userID=383ef91f-8798-43f6-9d2f-b439e5572414 time="2026-09-17T09:47:39Z" msg="200 OK: POST https://127.0.0.1:39599/mail/v4/messages" /client userID=383ef91f-8798-43f6-9d2f-b439e5572414 time="2026-09-17T09:47:39Z" msg="Creating new child job" time="2026-09-17T09:47:39Z" msg="Job finished" time="2026-09-17T09:47:39Z" msg="200 OK: GET https://127.0.0.1:39599/mail/v4/messages/8a8988a1-b69a-4fe5-b7e6-fce94c072fcd" /client userID=383ef91f-8798-43f6-9d2f-b439e5572414 time="2026-09-17T09:47:39Z" msg="200 OK: GET https://127.0.0.1:39599/mail/v4/messages/9e5730c1-2b57-46e4-b6a2-541b2870fdbb" /client userID=383ef91f-8798-43f6-9d2f-b439e5572414 time="2026-09-17T09:47:39Z" msg="200 OK: GET https://127.0.0.1:39599/mail/v4/messages/e7c484f9-e7c5-4d0f-be3b-c3434db76c35" /client userID=383ef91f-8798-43f6-9d2f-b439e5572414 time="2026-09-17T09:47:39Z" msg="200 OK: GET https://127.0.0.1:39599/mail/v4/messages/5e3977f8-f6e9-4b51-bd1e-42058b433fcd" /client userID=383ef91f-8798-43f6-9d2f-b439e5572414 time="2026-09-17T09:47:39Z" msg="200 OK: GET https://127.0.0.1:39599/mail/v4/messages/223facd7-850b-46e2-a4a8-9ab8ae7d6c50" /client userID=383ef91f-8798-43f6-9d2f-b439e5572414 time="2026-09-17T09:47:39Z" msg="200 OK: GET https://127.0.0.1:39599/mail/v4/messages/3bce3bd2-f9f8-4415-9113-639c4c784ed5" /client userID=383ef91f-8798-43f6-9d2f-b439e5572414 time="2026-09-17T09:47:39Z" msg="200 OK: GET https://127.0.0.1:39599/mail/v4/messages/8976ca8d-cc4d-4417-b5c6-be798c91d58b" /client userID=383ef91f-8798-43f6-9d2f-b439e5572414 time="2026-09-17T09:47:39Z" msg="200 OK: GET https://127.0.0.1:39599/mail/v4/messages/eef3f000-48f3-40ca-a92d-f2f684155457" /client userID=383ef91f-8798-43f6-9d2f-b439e5572414 time="2026-09-17T09:47:39Z" msg="200 OK: GET https://127.0.0.1:39599/mail/v4/messages/ccae377c-e271-4504-b416-4cd6a6d41f8f" /client userID=383ef91f-8798-43f6-9d2f-b439e5572414 time="2026-09-17T09:47:39Z" msg="200 OK: GET https://127.0.0.1:39599/mail/v4/messages/ea1a96f5-8fff-464d-89e1-d94c41ff80a4" /client userID=383ef91f-8798-43f6-9d2f-b439e5572414 time="2026-09-17T09:47:39Z" msg="Sending observability data." time="2026-09-17T09:47:39Z" msg="200 OK: POST https://127.0.0.1:39599/data/v1/metrics" /client userID=383ef91f-8798-43f6-9d2f-b439e5572414 time="2026-09-17T09:47:39Z" msg="Successfully sent observability data." time="2026-09-17T09:47:39Z" msg="Scheduling observability data sending" time="2026-09-17T09:47:39Z" msg="Child job finished" time="2026-09-17T09:47:39Z" msg="All child jobs completed" sync- time="2026-09-17T09:47:39Z" msg="Synced messages" time="2026-09-17T09:47:39Z" msg="Finished user sync" .335626ms time="2026-09-17T09:47:39Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:47:39Z" msg="Event loop reset" eventID="DA==" Scenario: Mark messages as undeleted and EXPUNGE # features/imap/message/delete.feature:32 When IMAP client "1" selects "Folders/mbox" # :1 -> *scenario And IMAP client "1" marks all messages as deleted # :1 -> *scenario And it succeeds # :1 -> *scenario But IMAP client "1" marks message 2 as not deleted # :1 -> *scenario And it succeeds # :1 -> *scenario And IMAP client "1" marks message 3 as not deleted # :1 -> *scenario And it succeeds # :1 -> *scenario time="2026-09-17T09:47:39Z" msg="200 OK: PUT https://127.0.0.1:39599/mail/v4/messages/unlabel" /client userID=383ef91f-8798-43f6-9d2f-b439e5572414 When IMAP client "1" expunges # :1 -> *scenario And it succeeds # :1 -> *scenario time="2026-09-17T09:47:39Z" msg="Frontend service stopped" time="2026-09-17T09:47:39Z" msg="Frontend client stopped" time="2026-09-17T09:47:39Z" msg="Closing bridge" time="2026-09-17T09:47:39Z" msg="Stopping service" time="2026-09-17T09:47:39Z" msg="Closing user" userID=383ef91f-8798-43f6-9d2f-b439e5572414 time="2026-09-17T09:47:39Z" msg="De-registering user client, ID:383ef91f-8798-43f6-9d2f-b439e5572414" time="2026-09-17T09:47:39Z" msg="Exiting IMAP Service" time="2026-09-17T09:47:39Z" msg="Exiting service main loop" time="2026-09-17T09:47:39Z" msg="Exiting service main loop" time="2026-09-17T09:47:39Z" msg="Exiting Service" time="2026-09-17T09:47:39Z" msg="Exiting service main loop" time="2026-09-17T09:47:39Z" msg="Exiting service" time="2026-09-17T09:47:39Z" msg="Closing IMAP Listener" time="2026-09-17T09:47:39Z" msg="Closing IMAP server" time="2026-09-17T09:47:39Z" msg="Closing SMTP Listener" time="2026-09-17T09:47:39Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:47:39Z" msg="Closing SMTP server" time="2026-09-17T09:47:39Z" msg="Closing service" Then IMAP client "1" eventually sees 2 messages in "Folders/mbox" # :1 -> *scenario time="2026-09-17T09:47:39Z" msg="User 'd14537d3-b9bd-4737-8683-385db49aa3e6' created with " /server/backend time="2026-09-17T09:47:41Z" msg="Starting bridge" time="2026-09-17T09:47:41Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/076/config2933526540/grpcFocusServerConfig.json /service time="2026-09-17T09:47:41Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/076/cache1573600127/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:47:41Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/076/cache1573600127/notifications/notification_cache: no such file or directory" time="2026-09-17T09:47:41Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/076/data674604359/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/076/data674604359/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:47:41Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:47:41Z" msg="Starting IMAP server" time="2026-09-17T09:47:41Z" msg="Starting SMTP server" time="2026-09-17T09:47:41Z" msg="Starting service" time="2026-09-17T09:47:41Z" msg="Starting service" time="2026-09-17T09:47:41Z" msg="Starting receiver service" time="2026-09-17T09:47:41Z" msg="Checking for updates" time="2026-09-17T09:47:41Z" msg="Loading users" /user time="2026-09-17T09:47:41Z" msg="Finished loading users" /user time="2026-09-17T09:47:41Z" msg="Starting frontend service" time="2026-09-17T09:47:41Z" msg="Starting poll service" time="2026-09-17T09:47:41Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/076/config2933526540/grpcServerConfig.json time="2026-09-17T09:47:41Z" msg="gRPC server listening on /tmp/bridge4347" time="2026-09-17T09:47:41Z" msg="Frontend service started" time="2026-09-17T09:47:41Z" msg="Starting frontend client" time="2026-09-17T09:47:41Z" msg="Not monitoring parent PID" time="2026-09-17T09:47:41Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:47:41Z" msg="Frontend client started" time="2026-09-17T09:47:41Z" msg="Performing full user login" /user username="******** (39c17a97)" time="2026-09-17T09:47:41Z" msg="Authorizing user for login" /user username="******** (39c17a97)" time="2026-09-17T09:47:41Z" msg="200 OK: GET https://127.0.0.1:39181/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:47:41Z" msg="200 OK: POST https://127.0.0.1:39181/auth/v4/info" /manager time="2026-09-17T09:47:41Z" msg="200 OK: POST https://127.0.0.1:39181/auth/v4" /manager time="2026-09-17T09:47:41Z" msg="Logging in authorized user" /user userID=25b81136-bf2a-4449-8d59-c1ba618059f8 time="2026-09-17T09:47:41Z" msg="Adding vault user" userID=25b81136-bf2a-4449-8d59-c1ba618059f8 time="2026-09-17T09:47:41Z" msg="Creating new user" userID=25b81136-bf2a-4449-8d59-c1ba618059f8 time="2026-09-17T09:47:41Z" msg="404 GET https://127.0.0.1:39181/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:47:41Z" msg="404 GET https://127.0.0.1:39181/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:47:41Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:39181/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:47:41Z" msg="Creating user object" authUID=e1a02dc9-8a25-400d-87e9-4e26dead9a7d numA numL userID=25b81136-bf2a-4449-8d59-c1ba618059f8 time="2026-09-17T09:47:41Z" msg="200 OK: GET https://127.0.0.1:39181/core/v4/events/latest" /client userID=25b81136-bf2a-4449-8d59-c1ba618059f8 time="2026-09-17T09:47:41Z" msg="Starting service Last EventID=DA==" time="2026-09-17T09:47:41Z" msg="200 OK: GET https://127.0.0.1:39181/core/v4/settings" /client userID=25b81136-bf2a-4449-8d59-c1ba618059f8 time="2026-09-17T09:47:41Z" msg="Registering user client, ID:25b81136-bf2a-4449-8d59-c1ba618059f8" time="2026-09-17T09:47:41Z" msg="Starting user identity service" numA time="2026-09-17T09:47:41Z" msg="Starting service main loop" time="2026-09-17T09:47:41Z" msg="Starting service main loop" time="2026-09-17T09:47:41Z" msg="Starting service main loop" time="2026-09-17T09:47:41Z" msg="200 OK: GET https://127.0.0.1:39181/core/v4/labels?T" /client userID=25b81136-bf2a-4449-8d59-c1ba618059f8 time="2026-09-17T09:47:41Z" msg="200 OK: GET https://127.0.0.1:39181/core/v4/labels?T" /client userID=25b81136-bf2a-4449-8d59-c1ba618059f8 time="2026-09-17T09:47:41Z" msg="200 OK: GET https://127.0.0.1:39181/core/v4/labels?T" /client userID=25b81136-bf2a-4449-8d59-c1ba618059f8 time="2026-09-17T09:47:41Z" msg="Setting labels" labelIDs="[8 9 10 1 2 4 7 12 0 3 5 6 4d6e84d1-9f8d-4ce2-98b1-6605a15d5290 5ecd2aa9-dbb6-4d19-a1b6-dd0f041d1587]" time="2026-09-17T09:47:41Z" msg="Adding user to imap server" addrID=969d523e-c58e-4c23-82d0-5692f4fc7d42 time="2026-09-17T09:47:41Z" msg="Creating new IMAP user" addrID=969d523e-c58e-4c23-82d0-5692f4fc7d42 time="2026-09-17T09:47:41Z" msg="Setting gluon ID" addrID=969d523e-c58e-4c23-82d0-5692f4fc7d42 gluonID=73f23bd2-c71a-4f12-a98b-be9c457826c0 userID=25b81136-bf2a-4449-8d59-c1ba618059f8 time="2026-09-17T09:47:41Z" msg="Received mailbox message count" gluonID=73f23bd2-c71a-4f12-a98b-be9c457826c0 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:47:41Z" msg="Created new IMAP user" addrID=969d523e-c58e-4c23-82d0-5692f4fc7d42 gluonID=73f23bd2-c71a-4f12-a98b-be9c457826c0 time="2026-09-17T09:47:41Z" msg="Validating Listener State" time="2026-09-17T09:47:41Z" time="2026-09-17T09:47:41Z" msg="Starting IMAP Service" time="2026-09-17T09:47:41Z" msg="Checking whether logged in user should re-sync. UserID:25b81136-bf2a-4449-8d59-c1ba618059f8" userID=25b81136-bf2a-4449-8d59-c1ba618059f8 time="2026-09-17T09:47:41Z" msg="Sync triggered" time="2026-09-17T09:47:41Z" msg="Beginning user sync" start="2026-09-17 09:47:41.5602932 +0000 UTC m=+150.052595496" time="2026-09-17T09:47:41Z" msg="Syncing labels" time="2026-09-17T09:47:41Z" msg="Label not found in DB, creating mailbox." labelID=4d6e84d1-9f8d-4ce2-98b1-6605a15d5290 labelPath="jm2pV8GS7FVFPTesFaU5jW/EhDgcEQCxeWTMDFRvNjU=" numberOfC /labelConflictResolver time="2026-09-17T09:47:41Z" msg="Label not found in DB, creating mailbox." labelID=5ecd2aa9-dbb6-4d19-a1b6-dd0f041d1587 labelPath="mHoyd+am6bmNoUvxRZ/ZRvBIQnwu+1OQWf1jSR3oA+s=" numberOfC /labelConflictResolver time="2026-09-17T09:47:41Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=73f23bd2-c71a-4f12-a98b-be9c457826c0 time="2026-09-17T09:47:41Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=73f23bd2-c71a-4f12-a98b-be9c457826c0 time="2026-09-17T09:47:41Z" msg="Mailbox created" /user remoteMailboxID=7 userID=73f23bd2-c71a-4f12-a98b-be9c457826c0 time="2026-09-17T09:47:41Z" msg="Mailbox created" /user remoteMailboxID=3 userID=73f23bd2-c71a-4f12-a98b-be9c457826c0 time="2026-09-17T09:47:41Z" msg="Mailbox created" /user remoteMailboxID=6 userID=73f23bd2-c71a-4f12-a98b-be9c457826c0 time="2026-09-17T09:47:41Z" msg="Mailbox created" /user remoteMailboxID=4d6e84d1-9f8d-4ce2-98b1-6605a15d5290 userID=73f23bd2-c71a-4f12-a98b-be9c457826c0 time="2026-09-17T09:47:41Z" msg="Mailbox created" /user remoteMailboxID=8 userID=73f23bd2-c71a-4f12-a98b-be9c457826c0 time="2026-09-17T09:47:41Z" msg="Mailbox created" /user remoteMailboxID=4 userID=73f23bd2-c71a-4f12-a98b-be9c457826c0 time="2026-09-17T09:47:41Z" msg="Mailbox created" /user remoteMailboxID=12 userID=73f23bd2-c71a-4f12-a98b-be9c457826c0 time="2026-09-17T09:47:41Z" msg="Mailbox created" /user remoteMailboxID=0 userID=73f23bd2-c71a-4f12-a98b-be9c457826c0 time="2026-09-17T09:47:41Z" msg="Mailbox created" /user remoteMailboxID=5 userID=73f23bd2-c71a-4f12-a98b-be9c457826c0 time="2026-09-17T09:47:41Z" msg="Mailbox created" /user remoteMailboxID=5ecd2aa9-dbb6-4d19-a1b6-dd0f041d1587 userID=73f23bd2-c71a-4f12-a98b-be9c457826c0 time="2026-09-17T09:47:41Z" msg="Mailbox created" /user remoteMailboxID=10 userID=73f23bd2-c71a-4f12-a98b-be9c457826c0 time="2026-09-17T09:47:41Z" msg="Synced labels" time="2026-09-17T09:47:41Z" msg="200 OK: GET https://127.0.0.1:39181/mail/v4/messages/count" /client userID=25b81136-bf2a-4449-8d59-c1ba618059f8 time="2026-09-17T09:47:41Z" msg="Syncing messages" time="2026-09-17T09:47:41Z" msg="Job started" time="2026-09-17T09:47:41Z" msg="200 OK: POST https://127.0.0.1:39181/mail/v4/messages" /client userID=25b81136-bf2a-4449-8d59-c1ba618059f8 time="2026-09-17T09:47:41Z" msg="200 OK: POST https://127.0.0.1:39181/mail/v4/messages" /client userID=25b81136-bf2a-4449-8d59-c1ba618059f8 time="2026-09-17T09:47:41Z" msg="Creating new child job" time="2026-09-17T09:47:41Z" msg="Job finished" time="2026-09-17T09:47:41Z" msg="200 OK: GET https://127.0.0.1:39181/mail/v4/messages/18f05c5c-e310-4629-ab72-c3efd865a729" /client userID=25b81136-bf2a-4449-8d59-c1ba618059f8 time="2026-09-17T09:47:41Z" msg="200 OK: GET https://127.0.0.1:39181/mail/v4/messages/7865f639-a0d2-48e9-8721-00b08957fc71" /client userID=25b81136-bf2a-4449-8d59-c1ba618059f8 time="2026-09-17T09:47:41Z" msg="200 OK: GET https://127.0.0.1:39181/mail/v4/messages/b76d0dae-38e4-43c2-9d0e-ae233dc7168e" /client userID=25b81136-bf2a-4449-8d59-c1ba618059f8 time="2026-09-17T09:47:41Z" msg="200 OK: GET https://127.0.0.1:39181/mail/v4/messages/f3b14673-b745-4d98-8da8-d50affedf783" /client userID=25b81136-bf2a-4449-8d59-c1ba618059f8 time="2026-09-17T09:47:41Z" msg="200 OK: GET https://127.0.0.1:39181/mail/v4/messages/6c9b99df-2157-4ba4-9e02-1f427886f021" /client userID=25b81136-bf2a-4449-8d59-c1ba618059f8 time="2026-09-17T09:47:41Z" msg="200 OK: GET https://127.0.0.1:39181/mail/v4/messages/cb793b40-77ba-4658-898d-9928d98d630a" /client userID=25b81136-bf2a-4449-8d59-c1ba618059f8 time="2026-09-17T09:47:41Z" msg="200 OK: GET https://127.0.0.1:39181/mail/v4/messages/95b41c9c-7433-4aeb-b4ad-a7902ac67b44" /client userID=25b81136-bf2a-4449-8d59-c1ba618059f8 time="2026-09-17T09:47:41Z" msg="200 OK: GET https://127.0.0.1:39181/mail/v4/messages/d5cacc74-c703-481b-9190-c50a7dcfac8c" /client userID=25b81136-bf2a-4449-8d59-c1ba618059f8 time="2026-09-17T09:47:41Z" msg="200 OK: GET https://127.0.0.1:39181/mail/v4/messages/d5454853-577e-4869-9c9a-acce4cd2b432" /client userID=25b81136-bf2a-4449-8d59-c1ba618059f8 time="2026-09-17T09:47:41Z" msg="200 OK: GET https://127.0.0.1:39181/mail/v4/messages/2f693477-f65c-440a-9af8-2743bab53172" /client userID=25b81136-bf2a-4449-8d59-c1ba618059f8 time="2026-09-17T09:47:41Z" msg="Sending observability data." time="2026-09-17T09:47:41Z" msg="200 OK: POST https://127.0.0.1:39181/data/v1/metrics" /client userID=25b81136-bf2a-4449-8d59-c1ba618059f8 time="2026-09-17T09:47:41Z" msg="Successfully sent observability data." time="2026-09-17T09:47:41Z" msg="Scheduling observability data sending" time="2026-09-17T09:47:41Z" msg="Child job finished" time="2026-09-17T09:47:41Z" msg="All child jobs completed" sync- time="2026-09-17T09:47:41Z" msg="Synced messages" time="2026-09-17T09:47:41Z" msg="Finished user sync" .154457ms time="2026-09-17T09:47:41Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:47:41Z" msg="Event loop reset" eventID="DA==" Scenario: Not possible to delete from All Mail and expunge does nothing # features/imap/message/delete.feature:44 When IMAP client "1" selects "All Mail" # :1 -> *scenario And IMAP client "1" marks message 2 as deleted # :1 -> *scenario And it succeeds # :1 -> *scenario time="2026-09-17T09:47:41Z" msg="Command failed" error="operation not allowed" /session And IMAP client "1" expunges # :1 -> *scenario time="2026-09-17T09:47:41Z" msg="Frontend service stopped" time="2026-09-17T09:47:41Z" msg="Frontend client stopped" time="2026-09-17T09:47:41Z" msg="Closing bridge" time="2026-09-17T09:47:41Z" msg="Stopping service" time="2026-09-17T09:47:41Z" msg="Closing user" userID=25b81136-bf2a-4449-8d59-c1ba618059f8 time="2026-09-17T09:47:41Z" msg="De-registering user client, ID:25b81136-bf2a-4449-8d59-c1ba618059f8" time="2026-09-17T09:47:41Z" msg="Exiting IMAP Service" time="2026-09-17T09:47:41Z" msg="Exiting service main loop" time="2026-09-17T09:47:41Z" msg="Exiting service main loop" time="2026-09-17T09:47:41Z" msg="Exiting Service" time="2026-09-17T09:47:41Z" msg="Exiting service main loop" time="2026-09-17T09:47:41Z" msg="Exiting service" time="2026-09-17T09:47:41Z" msg="Closing IMAP Listener" time="2026-09-17T09:47:41Z" msg="Closing IMAP server" time="2026-09-17T09:47:41Z" msg="Closing SMTP Listener" time="2026-09-17T09:47:41Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:47:41Z" msg="Closing SMTP server" time="2026-09-17T09:47:41Z" msg="Closing service" Then it fails # :1 -> *scenario Feature: IMAP remove messages from Trash time="2026-09-17T09:47:41Z" msg="User '5b4bdafc-7941-42aa-b9bf-57b28ac0fb7c' created with " /server/backend Background: Given there exists an account with username "5b4bdafc-7941-42aa-b9bf-57b28ac0fb7c" and password "password" # :1 -> *scenario And the account "5b4bdafc-7941-42aa-b9bf-57b28ac0fb7c" has the following custom mailboxes: # :1 -> *scenario | name | type | | mbox | folder | | label | label | Then it succeeds # :1 -> *scenario Scenario Outline: Message in Trash and some other label is not permanently deleted # features/imap/message/delete_from_trash.feature:10 Given the address "5b4bdafc-7941-42aa-b9bf-57b28ac0fb7c@proton.local" of account "5b4bdafc-7941-42aa-b9bf-57b28ac0fb7c" has the following messages in "Trash": # :1 -> *scenario | from | to | subject | body | | john.doe@mail.com | 5b4bdafc-7941-42aa-b9bf-57b28ac0fb7c@proton.local | foo | hello | | jane.doe@mail.com | name@proton.local | bar | world | time="2026-09-17T09:47:43Z" msg="Starting bridge" time="2026-09-17T09:47:43Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/077/config3546708954/grpcFocusServerConfig.json /service time="2026-09-17T09:47:43Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/077/cache2984130184/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:47:43Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/077/cache2984130184/notifications/notification_cache: no such file or directory" time="2026-09-17T09:47:43Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/077/data3257137720/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/077/data3257137720/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:47:43Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:47:43Z" msg="Starting IMAP server" time="2026-09-17T09:47:43Z" msg="Starting SMTP server" time="2026-09-17T09:47:43Z" msg="Starting service" time="2026-09-17T09:47:43Z" msg="Starting service" time="2026-09-17T09:47:43Z" msg="Starting poll service" time="2026-09-17T09:47:43Z" msg="Starting frontend service" time="2026-09-17T09:47:43Z" msg="Checking for updates" time="2026-09-17T09:47:43Z" msg="Starting receiver service" time="2026-09-17T09:47:43Z" msg="Loading users" /user time="2026-09-17T09:47:43Z" msg="Finished loading users" /user time="2026-09-17T09:47:43Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/077/config3546708954/grpcServerConfig.json time="2026-09-17T09:47:43Z" msg="gRPC server listening on /tmp/bridge6422" time="2026-09-17T09:47:43Z" msg="Frontend service started" time="2026-09-17T09:47:43Z" msg="Starting frontend client" time="2026-09-17T09:47:43Z" msg="Not monitoring parent PID" time="2026-09-17T09:47:43Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:47:43Z" msg="Frontend client started" And bridge starts # :1 -> *scenario time="2026-09-17T09:47:43Z" msg="200 OK: GET https://127.0.0.1:41495/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:47:43Z" msg="Performing full user login" /user username="******** (e3911557)" time="2026-09-17T09:47:43Z" msg="Authorizing user for login" /user username="******** (e3911557)" time="2026-09-17T09:47:43Z" msg="200 OK: POST https://127.0.0.1:41495/auth/v4/info" /manager time="2026-09-17T09:47:43Z" msg="200 OK: POST https://127.0.0.1:41495/auth/v4" /manager time="2026-09-17T09:47:43Z" msg="Logging in authorized user" /user userID=cf820415-0edb-4190-915e-17c914fc186e time="2026-09-17T09:47:43Z" msg="Adding vault user" userID=cf820415-0edb-4190-915e-17c914fc186e time="2026-09-17T09:47:43Z" msg="Creating new user" userID=cf820415-0edb-4190-915e-17c914fc186e time="2026-09-17T09:47:43Z" msg="404 GET https://127.0.0.1:41495/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:47:43Z" msg="404 GET https://127.0.0.1:41495/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:47:43Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:41495/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:47:43Z" msg="Creating user object" authUID=a624de13-90db-4774-a528-61b6f520e98f numA numL userID=cf820415-0edb-4190-915e-17c914fc186e time="2026-09-17T09:47:43Z" msg="200 OK: GET https://127.0.0.1:41495/core/v4/events/latest" /client userID=cf820415-0edb-4190-915e-17c914fc186e time="2026-09-17T09:47:43Z" msg="Starting service Last EventID=BA==" time="2026-09-17T09:47:43Z" msg="200 OK: GET https://127.0.0.1:41495/core/v4/settings" /client userID=cf820415-0edb-4190-915e-17c914fc186e time="2026-09-17T09:47:43Z" msg="Registering user client, ID:cf820415-0edb-4190-915e-17c914fc186e" time="2026-09-17T09:47:43Z" msg="Starting service main loop" time="2026-09-17T09:47:43Z" msg="Starting user identity service" numA time="2026-09-17T09:47:43Z" msg="Starting service main loop" time="2026-09-17T09:47:43Z" msg="Starting service main loop" time="2026-09-17T09:47:43Z" msg="200 OK: GET https://127.0.0.1:41495/core/v4/labels?T" /client userID=cf820415-0edb-4190-915e-17c914fc186e time="2026-09-17T09:47:43Z" msg="200 OK: GET https://127.0.0.1:41495/core/v4/labels?T" /client userID=cf820415-0edb-4190-915e-17c914fc186e time="2026-09-17T09:47:43Z" msg="200 OK: GET https://127.0.0.1:41495/core/v4/labels?T" /client userID=cf820415-0edb-4190-915e-17c914fc186e time="2026-09-17T09:47:43Z" msg="Setting labels" labelIDs="[0 1 3 4 7 8 10 12 2 5 6 9 6e86d5ee-b921-432a-8bd6-6765bd877246 7fb77bc9-6189-4c68-9d56-ea514a61e142]" time="2026-09-17T09:47:43Z" msg="Adding user to imap server" addrID=f0bd21b8-8d16-45b7-aa58-55d04941cb99 time="2026-09-17T09:47:43Z" msg="Creating new IMAP user" addrID=f0bd21b8-8d16-45b7-aa58-55d04941cb99 time="2026-09-17T09:47:43Z" msg="Setting gluon ID" addrID=f0bd21b8-8d16-45b7-aa58-55d04941cb99 gluonID=8698b2b4-c2e0-4ead-886b-d7e8db581386 userID=cf820415-0edb-4190-915e-17c914fc186e time="2026-09-17T09:47:43Z" msg="Received mailbox message count" gluonID=8698b2b4-c2e0-4ead-886b-d7e8db581386 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:47:43Z" msg="Created new IMAP user" addrID=f0bd21b8-8d16-45b7-aa58-55d04941cb99 gluonID=8698b2b4-c2e0-4ead-886b-d7e8db581386 time="2026-09-17T09:47:43Z" msg="Validating Listener State" time="2026-09-17T09:47:43Z" time="2026-09-17T09:47:43Z" msg="Starting IMAP Service" time="2026-09-17T09:47:43Z" msg="Checking whether logged in user should re-sync. UserID:cf820415-0edb-4190-915e-17c914fc186e" userID=cf820415-0edb-4190-915e-17c914fc186e time="2026-09-17T09:47:43Z" msg="Sync triggered" time="2026-09-17T09:47:43Z" msg="Beginning user sync" start="2026-09-17 09:47:43.817102832 +0000 UTC m=+152.309405128" And the user logs in with username "5b4bdafc-7941-42aa-b9bf-57b28ac0fb7c" and password "password" # :1 -> *scenario time="2026-09-17T09:47:43Z" msg="Syncing labels" time="2026-09-17T09:47:43Z" msg="Label not found in DB, creating mailbox." labelID=6e86d5ee-b921-432a-8bd6-6765bd877246 labelPath="jm2pV8GS7FVFPTesFaU5jW/EhDgcEQCxeWTMDFRvNjU=" numberOfC /labelConflictResolver time="2026-09-17T09:47:43Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=8698b2b4-c2e0-4ead-886b-d7e8db581386 time="2026-09-17T09:47:43Z" msg="Label not found in DB, creating mailbox." labelID=7fb77bc9-6189-4c68-9d56-ea514a61e142 labelPath="mHoyd+am6bmNoUvxRZ/ZRvBIQnwu+1OQWf1jSR3oA+s=" numberOfC /labelConflictResolver time="2026-09-17T09:47:43Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=8698b2b4-c2e0-4ead-886b-d7e8db581386 time="2026-09-17T09:47:43Z" msg="Mailbox created" /user remoteMailboxID=4 userID=8698b2b4-c2e0-4ead-886b-d7e8db581386 time="2026-09-17T09:47:43Z" msg="Mailbox created" /user remoteMailboxID=7 userID=8698b2b4-c2e0-4ead-886b-d7e8db581386 time="2026-09-17T09:47:43Z" msg="Mailbox created" /user remoteMailboxID=10 userID=8698b2b4-c2e0-4ead-886b-d7e8db581386 time="2026-09-17T09:47:43Z" msg="Mailbox created" /user remoteMailboxID=6e86d5ee-b921-432a-8bd6-6765bd877246 userID=8698b2b4-c2e0-4ead-886b-d7e8db581386 time="2026-09-17T09:47:43Z" msg="Mailbox created" /user remoteMailboxID=7fb77bc9-6189-4c68-9d56-ea514a61e142 userID=8698b2b4-c2e0-4ead-886b-d7e8db581386 time="2026-09-17T09:47:43Z" msg="Mailbox created" /user remoteMailboxID=0 userID=8698b2b4-c2e0-4ead-886b-d7e8db581386 time="2026-09-17T09:47:43Z" msg="Mailbox created" /user remoteMailboxID=3 userID=8698b2b4-c2e0-4ead-886b-d7e8db581386 time="2026-09-17T09:47:43Z" msg="Mailbox created" /user remoteMailboxID=8 userID=8698b2b4-c2e0-4ead-886b-d7e8db581386 time="2026-09-17T09:47:43Z" msg="Mailbox created" /user remoteMailboxID=12 userID=8698b2b4-c2e0-4ead-886b-d7e8db581386 time="2026-09-17T09:47:43Z" msg="Mailbox created" /user remoteMailboxID=5 userID=8698b2b4-c2e0-4ead-886b-d7e8db581386 time="2026-09-17T09:47:43Z" msg="Mailbox created" /user remoteMailboxID=6 userID=8698b2b4-c2e0-4ead-886b-d7e8db581386 time="2026-09-17T09:47:43Z" msg="Synced labels" time="2026-09-17T09:47:43Z" msg="200 OK: GET https://127.0.0.1:41495/mail/v4/messages/count" /client userID=cf820415-0edb-4190-915e-17c914fc186e time="2026-09-17T09:47:43Z" msg="Syncing messages" time="2026-09-17T09:47:43Z" msg="Job started" time="2026-09-17T09:47:43Z" msg="200 OK: POST https://127.0.0.1:41495/mail/v4/messages" /client userID=cf820415-0edb-4190-915e-17c914fc186e time="2026-09-17T09:47:43Z" msg="200 OK: POST https://127.0.0.1:41495/mail/v4/messages" /client userID=cf820415-0edb-4190-915e-17c914fc186e time="2026-09-17T09:47:43Z" msg="Creating new child job" time="2026-09-17T09:47:43Z" msg="Job finished" time="2026-09-17T09:47:43Z" msg="200 OK: GET https://127.0.0.1:41495/mail/v4/messages/b1ff4cba-3f4b-462e-a138-65ec786c7803" /client userID=cf820415-0edb-4190-915e-17c914fc186e time="2026-09-17T09:47:43Z" msg="200 OK: GET https://127.0.0.1:41495/mail/v4/messages/b1dc4c52-db0b-43c5-a403-d3f510092c12" /client userID=cf820415-0edb-4190-915e-17c914fc186e time="2026-09-17T09:47:43Z" msg="Sending observability data." time="2026-09-17T09:47:43Z" msg="200 OK: POST https://127.0.0.1:41495/data/v1/metrics" /client userID=cf820415-0edb-4190-915e-17c914fc186e time="2026-09-17T09:47:43Z" msg="Successfully sent observability data." time="2026-09-17T09:47:43Z" msg="Scheduling observability data sending" time="2026-09-17T09:47:43Z" msg="Child job finished" time="2026-09-17T09:47:43Z" msg="All child jobs completed" sync- time="2026-09-17T09:47:43Z" msg="Synced messages" time="2026-09-17T09:47:43Z" msg="Finished user sync" .821087ms time="2026-09-17T09:47:43Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:47:43Z" msg="Event loop reset" eventID="BA==" And user "5b4bdafc-7941-42aa-b9bf-57b28ac0fb7c" finishes syncing # :1 -> *scenario And user "5b4bdafc-7941-42aa-b9bf-57b28ac0fb7c" connects and authenticates IMAP client "1" # :1 -> *scenario And IMAP client "1" selects "Trash" # :1 -> *scenario time="2026-09-17T09:47:43Z" msg="200 OK: PUT https://127.0.0.1:41495/mail/v4/messages/label" /client userID=cf820415-0edb-4190-915e-17c914fc186e When IMAP client "1" copies the message with subject "foo" from "Trash" to "Labels/label" # :1 -> *scenario Then it succeeds # :1 -> *scenario When IMAP client "1" marks the message with subject "foo" as deleted # :1 -> *scenario Then it succeeds # :1 -> *scenario And IMAP client "1" eventually sees 2 messages in "Trash" # :1 -> *scenario time="2026-09-17T09:47:44Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 3} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" And IMAP client "1" eventually sees 2 messages in "All Mail" # :1 -> *scenario And IMAP client "1" eventually sees 1 messages in "Labels/label" # :1 -> *scenario time="2026-09-17T09:47:44Z" msg="200 OK: PUT https://127.0.0.1:41495/mail/v4/messages/unlabel" /client userID=cf820415-0edb-4190-915e-17c914fc186e time="2026-09-17T09:47:44Z" msg="200 OK: POST https://127.0.0.1:41495/mail/v4/messages" /client userID=cf820415-0edb-4190-915e-17c914fc186e time="2026-09-17T09:47:44Z" msg="Message has not been marked for deletion due to remaining labels." addr- gluon- labels id(s)="[7fb77bc9-6189-4c68-9d56-ea514a61e142 5]" mailboxID=3 messageID=b1dc4c52-db0b-43c5-a403-d3f510092c12 remainingLabels="[b1dc4c52-db0b-43c5-a403-d3f510092c12]" user- When IMAP client "1" expunges # :1 -> *scenario Then it succeeds # :1 -> *scenario And IMAP client "1" eventually sees 1 messages in "Trash" # :1 -> *scenario And IMAP client "1" eventually sees 2 messages in "All Mail" # :1 -> *scenario time="2026-09-17T09:47:44Z" msg="Frontend service stopped" time="2026-09-17T09:47:44Z" msg="Frontend client stopped" time="2026-09-17T09:47:44Z" msg="Closing bridge" time="2026-09-17T09:47:44Z" msg="Stopping service" time="2026-09-17T09:47:44Z" msg="Closing user" userID=cf820415-0edb-4190-915e-17c914fc186e time="2026-09-17T09:47:44Z" msg="De-registering user client, ID:cf820415-0edb-4190-915e-17c914fc186e" time="2026-09-17T09:47:44Z" msg="Exiting IMAP Service" time="2026-09-17T09:47:44Z" msg="Exiting service main loop" time="2026-09-17T09:47:44Z" msg="Exiting service main loop" time="2026-09-17T09:47:44Z" msg="Exiting Service" time="2026-09-17T09:47:44Z" msg="Exiting service main loop" time="2026-09-17T09:47:44Z" msg="Exiting service" time="2026-09-17T09:47:44Z" msg="Closing IMAP Listener" time="2026-09-17T09:47:44Z" msg="Closing IMAP server" time="2026-09-17T09:47:44Z" msg="Closing SMTP Listener" time="2026-09-17T09:47:44Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:47:44Z" msg="Closing SMTP server" time="2026-09-17T09:47:44Z" msg="Closing service" And IMAP client "1" eventually sees 1 messages in "Labels/label" # :1 -> *scenario time="2026-09-17T09:47:44Z" msg="User '9895e31a-5b99-4867-9c1c-163ba2ec9964' created with " /server/backend Scenario Outline: Message in Trash only is permanently deleted # features/imap/message/delete_from_trash.feature:33 Given the address "9895e31a-5b99-4867-9c1c-163ba2ec9964@proton.local" of account "9895e31a-5b99-4867-9c1c-163ba2ec9964" has the following messages in "Trash": # :1 -> *scenario | from | to | subject | body | | john.doe@mail.com | 9895e31a-5b99-4867-9c1c-163ba2ec9964@proton.local | foo | hello | | jane.doe@mail.com | name@proton.local | bar | world | time="2026-09-17T09:47:46Z" msg="Starting bridge" time="2026-09-17T09:47:46Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/078/config1390247991/grpcFocusServerConfig.json /service time="2026-09-17T09:47:46Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/078/cache2941321859/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:47:46Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/078/cache2941321859/notifications/notification_cache: no such file or directory" time="2026-09-17T09:47:46Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/078/data1940033116/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/078/data1940033116/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:47:46Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:47:46Z" msg="Starting IMAP server" time="2026-09-17T09:47:46Z" msg="Starting SMTP server" time="2026-09-17T09:47:46Z" msg="Starting service" time="2026-09-17T09:47:46Z" msg="Starting service" time="2026-09-17T09:47:46Z" msg="Starting poll service" time="2026-09-17T09:47:46Z" msg="Loading users" /user time="2026-09-17T09:47:46Z" msg="Checking for updates" time="2026-09-17T09:47:46Z" msg="Starting receiver service" time="2026-09-17T09:47:46Z" msg="Starting frontend service" time="2026-09-17T09:47:46Z" msg="Finished loading users" /user time="2026-09-17T09:47:46Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/078/config1390247991/grpcServerConfig.json time="2026-09-17T09:47:46Z" msg="gRPC server listening on /tmp/bridge1643" time="2026-09-17T09:47:46Z" msg="Frontend service started" time="2026-09-17T09:47:46Z" msg="Starting frontend client" time="2026-09-17T09:47:46Z" msg="Not monitoring parent PID" time="2026-09-17T09:47:46Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:47:46Z" msg="200 OK: GET https://127.0.0.1:37533/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:47:46Z" msg="Frontend client started" And bridge starts # :1 -> *scenario time="2026-09-17T09:47:46Z" msg="Performing full user login" /user username="******** (6e69f471)" time="2026-09-17T09:47:46Z" msg="Authorizing user for login" /user username="******** (6e69f471)" time="2026-09-17T09:47:46Z" msg="200 OK: POST https://127.0.0.1:37533/auth/v4/info" /manager time="2026-09-17T09:47:46Z" msg="200 OK: POST https://127.0.0.1:37533/auth/v4" /manager time="2026-09-17T09:47:46Z" msg="Logging in authorized user" /user userID=58cc9c17-550d-4239-b47c-80e641ebc328 time="2026-09-17T09:47:46Z" msg="Adding vault user" userID=58cc9c17-550d-4239-b47c-80e641ebc328 time="2026-09-17T09:47:46Z" msg="Creating new user" userID=58cc9c17-550d-4239-b47c-80e641ebc328 time="2026-09-17T09:47:46Z" msg="404 GET https://127.0.0.1:37533/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:47:46Z" msg="404 GET https://127.0.0.1:37533/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:47:46Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:37533/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:47:46Z" msg="Creating user object" authUID=65138834-9fd2-4544-9a26-46649857db03 numA numL userID=58cc9c17-550d-4239-b47c-80e641ebc328 time="2026-09-17T09:47:46Z" msg="200 OK: GET https://127.0.0.1:37533/core/v4/events/latest" /client userID=58cc9c17-550d-4239-b47c-80e641ebc328 time="2026-09-17T09:47:46Z" msg="Starting service Last EventID=BA==" time="2026-09-17T09:47:46Z" msg="200 OK: GET https://127.0.0.1:37533/core/v4/settings" /client userID=58cc9c17-550d-4239-b47c-80e641ebc328 time="2026-09-17T09:47:46Z" msg="Registering user client, ID:58cc9c17-550d-4239-b47c-80e641ebc328" time="2026-09-17T09:47:46Z" msg="Starting user identity service" numA time="2026-09-17T09:47:46Z" msg="Starting service main loop" time="2026-09-17T09:47:46Z" msg="Starting service main loop" time="2026-09-17T09:47:46Z" msg="Starting service main loop" time="2026-09-17T09:47:46Z" msg="200 OK: GET https://127.0.0.1:37533/core/v4/labels?T" /client userID=58cc9c17-550d-4239-b47c-80e641ebc328 time="2026-09-17T09:47:46Z" msg="200 OK: GET https://127.0.0.1:37533/core/v4/labels?T" /client userID=58cc9c17-550d-4239-b47c-80e641ebc328 time="2026-09-17T09:47:46Z" msg="200 OK: GET https://127.0.0.1:37533/core/v4/labels?T" /client userID=58cc9c17-550d-4239-b47c-80e641ebc328 time="2026-09-17T09:47:46Z" msg="Setting labels" labelIDs="[12 3 4 7 8 10 0 1 2 5 6 9 93cde753-23e9-451d-b7e5-88852d9e1095 2214ed30-60bd-489e-9ec2-1b9b550cdc38]" time="2026-09-17T09:47:46Z" msg="Adding user to imap server" addrID=7c95a432-0fb7-4900-a40d-77a4a870afa4 time="2026-09-17T09:47:46Z" msg="Creating new IMAP user" addrID=7c95a432-0fb7-4900-a40d-77a4a870afa4 time="2026-09-17T09:47:46Z" msg="Setting gluon ID" addrID=7c95a432-0fb7-4900-a40d-77a4a870afa4 gluonID=8db78a61-822a-4798-aa84-b45bc3863088 userID=58cc9c17-550d-4239-b47c-80e641ebc328 time="2026-09-17T09:47:46Z" msg="Received mailbox message count" gluonID=8db78a61-822a-4798-aa84-b45bc3863088 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:47:46Z" msg="Created new IMAP user" addrID=7c95a432-0fb7-4900-a40d-77a4a870afa4 gluonID=8db78a61-822a-4798-aa84-b45bc3863088 time="2026-09-17T09:47:46Z" msg="Validating Listener State" time="2026-09-17T09:47:46Z" time="2026-09-17T09:47:46Z" msg="Checking whether logged in user should re-sync. UserID:58cc9c17-550d-4239-b47c-80e641ebc328" userID=58cc9c17-550d-4239-b47c-80e641ebc328 And the user logs in with username "9895e31a-5b99-4867-9c1c-163ba2ec9964" and password "password" # :1 -> *scenario time="2026-09-17T09:47:46Z" msg="Starting IMAP Service" time="2026-09-17T09:47:46Z" msg="Sync triggered" time="2026-09-17T09:47:46Z" msg="Beginning user sync" start="2026-09-17 09:47:46.685925395 +0000 UTC m=+155.178227731" time="2026-09-17T09:47:46Z" msg="Syncing labels" time="2026-09-17T09:47:46Z" msg="Label not found in DB, creating mailbox." labelID=93cde753-23e9-451d-b7e5-88852d9e1095 labelPath="jm2pV8GS7FVFPTesFaU5jW/EhDgcEQCxeWTMDFRvNjU=" numberOfC /labelConflictResolver time="2026-09-17T09:47:46Z" msg="Label not found in DB, creating mailbox." labelID=2214ed30-60bd-489e-9ec2-1b9b550cdc38 labelPath="mHoyd+am6bmNoUvxRZ/ZRvBIQnwu+1OQWf1jSR3oA+s=" numberOfC /labelConflictResolver time="2026-09-17T09:47:46Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=8db78a61-822a-4798-aa84-b45bc3863088 time="2026-09-17T09:47:46Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=8db78a61-822a-4798-aa84-b45bc3863088 time="2026-09-17T09:47:46Z" msg="Mailbox created" /user remoteMailboxID=6 userID=8db78a61-822a-4798-aa84-b45bc3863088 time="2026-09-17T09:47:46Z" msg="Mailbox created" /user remoteMailboxID=93cde753-23e9-451d-b7e5-88852d9e1095 userID=8db78a61-822a-4798-aa84-b45bc3863088 time="2026-09-17T09:47:46Z" msg="Mailbox created" /user remoteMailboxID=4 userID=8db78a61-822a-4798-aa84-b45bc3863088 time="2026-09-17T09:47:46Z" msg="Mailbox created" /user remoteMailboxID=7 userID=8db78a61-822a-4798-aa84-b45bc3863088 time="2026-09-17T09:47:46Z" msg="Mailbox created" /user remoteMailboxID=8 userID=8db78a61-822a-4798-aa84-b45bc3863088 time="2026-09-17T09:47:46Z" msg="Mailbox created" /user remoteMailboxID=10 userID=8db78a61-822a-4798-aa84-b45bc3863088 time="2026-09-17T09:47:46Z" msg="Mailbox created" /user remoteMailboxID=5 userID=8db78a61-822a-4798-aa84-b45bc3863088 time="2026-09-17T09:47:46Z" msg="Mailbox created" /user remoteMailboxID=2214ed30-60bd-489e-9ec2-1b9b550cdc38 userID=8db78a61-822a-4798-aa84-b45bc3863088 time="2026-09-17T09:47:46Z" msg="Mailbox created" /user remoteMailboxID=12 userID=8db78a61-822a-4798-aa84-b45bc3863088 time="2026-09-17T09:47:46Z" msg="Mailbox created" /user remoteMailboxID=3 userID=8db78a61-822a-4798-aa84-b45bc3863088 time="2026-09-17T09:47:46Z" msg="Mailbox created" /user remoteMailboxID=0 userID=8db78a61-822a-4798-aa84-b45bc3863088 time="2026-09-17T09:47:46Z" msg="Synced labels" time="2026-09-17T09:47:46Z" msg="200 OK: GET https://127.0.0.1:37533/mail/v4/messages/count" /client userID=58cc9c17-550d-4239-b47c-80e641ebc328 time="2026-09-17T09:47:46Z" msg="Syncing messages" time="2026-09-17T09:47:46Z" msg="Job started" time="2026-09-17T09:47:46Z" msg="200 OK: POST https://127.0.0.1:37533/mail/v4/messages" /client userID=58cc9c17-550d-4239-b47c-80e641ebc328 time="2026-09-17T09:47:46Z" msg="200 OK: POST https://127.0.0.1:37533/mail/v4/messages" /client userID=58cc9c17-550d-4239-b47c-80e641ebc328 time="2026-09-17T09:47:46Z" msg="Creating new child job" time="2026-09-17T09:47:46Z" msg="Job finished" time="2026-09-17T09:47:46Z" msg="200 OK: GET https://127.0.0.1:37533/mail/v4/messages/7cf45471-88cf-43eb-a01b-b2132fd401f4" /client userID=58cc9c17-550d-4239-b47c-80e641ebc328 time="2026-09-17T09:47:46Z" msg="200 OK: GET https://127.0.0.1:37533/mail/v4/messages/67ce99cb-e2c5-42b4-9e9e-8b96ac844a48" /client userID=58cc9c17-550d-4239-b47c-80e641ebc328 time="2026-09-17T09:47:46Z" msg="Sending observability data." time="2026-09-17T09:47:46Z" msg="200 OK: POST https://127.0.0.1:37533/data/v1/metrics" /client userID=58cc9c17-550d-4239-b47c-80e641ebc328 time="2026-09-17T09:47:46Z" msg="Successfully sent observability data." time="2026-09-17T09:47:46Z" msg="Scheduling observability data sending" time="2026-09-17T09:47:46Z" msg="Child job finished" time="2026-09-17T09:47:46Z" msg="All child jobs completed" sync- time="2026-09-17T09:47:46Z" msg="Synced messages" time="2026-09-17T09:47:46Z" msg="Finished user sync" .953941ms time="2026-09-17T09:47:46Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:47:46Z" msg="Event loop reset" eventID="BA==" And user "9895e31a-5b99-4867-9c1c-163ba2ec9964" finishes syncing # :1 -> *scenario And user "9895e31a-5b99-4867-9c1c-163ba2ec9964" connects and authenticates IMAP client "1" # :1 -> *scenario And IMAP client "1" selects "Trash" # :1 -> *scenario When IMAP client "1" marks the message with subject "foo" as deleted # :1 -> *scenario Then it succeeds # :1 -> *scenario And IMAP client "1" eventually sees 2 messages in "Trash" # :1 -> *scenario time="2026-09-17T09:47:46Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 4} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" And IMAP client "1" eventually sees 2 messages in "All Mail" # :1 -> *scenario time="2026-09-17T09:47:46Z" msg="200 OK: PUT https://127.0.0.1:37533/mail/v4/messages/unlabel" /client userID=58cc9c17-550d-4239-b47c-80e641ebc328 time="2026-09-17T09:47:46Z" msg="200 OK: POST https://127.0.0.1:37533/mail/v4/messages" /client userID=58cc9c17-550d-4239-b47c-80e641ebc328 time="2026-09-17T09:47:46Z" msg="Message has been marked for deletion" addr- gluon- labels id(s)="[5]" mailboxID=3 messageID=67ce99cb-e2c5-42b4-9e9e-8b96ac844a48 user- time="2026-09-17T09:47:46Z" msg="200 OK: PUT https://127.0.0.1:37533/mail/v4/messages/delete" /client userID=58cc9c17-550d-4239-b47c-80e641ebc328 When IMAP client "1" expunges # :1 -> *scenario Then it succeeds # :1 -> *scenario And IMAP client "1" eventually sees 1 messages in "Trash" # :1 -> *scenario time="2026-09-17T09:47:47Z" msg="200 OK: GET https://127.0.0.1:37533/core/v4/events/BA==" /client userID=58cc9c17-550d-4239-b47c-80e641ebc328 time="2026-09-17T09:47:47Z" msg="Received new API event" new="Event Bg==: messages: , , " old="BA==" time="2026-09-17T09:47:47Z" msg="Handling message deleted event" messageID=67ce99cb-e2c5-42b4-9e9e-8b96ac844a48 time="2026-09-17T09:47:47Z" msg="Frontend service stopped" time="2026-09-17T09:47:47Z" msg="Frontend client stopped" time="2026-09-17T09:47:47Z" msg="Closing bridge" time="2026-09-17T09:47:47Z" msg="Stopping service" time="2026-09-17T09:47:47Z" msg="Closing user" userID=58cc9c17-550d-4239-b47c-80e641ebc328 time="2026-09-17T09:47:47Z" msg="De-registering user client, ID:58cc9c17-550d-4239-b47c-80e641ebc328" time="2026-09-17T09:47:47Z" msg="Exiting IMAP Service" time="2026-09-17T09:47:47Z" msg="Exiting service main loop" time="2026-09-17T09:47:47Z" msg="Exiting service main loop" time="2026-09-17T09:47:47Z" msg="Exiting Service" time="2026-09-17T09:47:47Z" msg="Exiting service main loop" time="2026-09-17T09:47:47Z" msg="Exiting service" time="2026-09-17T09:47:47Z" msg="Closing IMAP Listener" time="2026-09-17T09:47:47Z" msg="Closing IMAP server" time="2026-09-17T09:47:47Z" msg="Closing SMTP Listener" time="2026-09-17T09:47:47Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:47:47Z" msg="Closing SMTP server" time="2026-09-17T09:47:47Z" msg="Closing service" And IMAP client "1" eventually sees 1 messages in "All Mail" # :1 -> *scenario Feature: IMAP Draft messages time="2026-09-17T09:47:47Z" msg="User '47ccf7b7-71a7-4ce8-8849-b0fcb6d33fbe' created with " /server/backend Background: Given there exists an account with username "47ccf7b7-71a7-4ce8-8849-b0fcb6d33fbe" and password "password" # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:47:48Z" msg="Starting bridge" time="2026-09-17T09:47:48Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/079/config2238590758/grpcFocusServerConfig.json /service time="2026-09-17T09:47:48Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/079/cache1996826676/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:47:48Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/079/cache1996826676/notifications/notification_cache: no such file or directory" time="2026-09-17T09:47:48Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/079/data2976969687/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/079/data2976969687/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:47:48Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:47:48Z" msg="Starting IMAP server" time="2026-09-17T09:47:48Z" msg="Starting SMTP server" time="2026-09-17T09:47:48Z" msg="Starting service" time="2026-09-17T09:47:48Z" msg="Starting service" time="2026-09-17T09:47:48Z" msg="Starting receiver service" time="2026-09-17T09:47:48Z" msg="Starting poll service" time="2026-09-17T09:47:48Z" msg="Checking for updates" time="2026-09-17T09:47:48Z" msg="Loading users" /user time="2026-09-17T09:47:48Z" msg="Finished loading users" /user time="2026-09-17T09:47:48Z" msg="Starting frontend service" time="2026-09-17T09:47:48Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/079/config2238590758/grpcServerConfig.json time="2026-09-17T09:47:48Z" msg="gRPC server listening on /tmp/bridge6076" time="2026-09-17T09:47:48Z" msg="Frontend service started" time="2026-09-17T09:47:48Z" msg="Starting frontend client" time="2026-09-17T09:47:48Z" msg="Not monitoring parent PID" time="2026-09-17T09:47:48Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:47:48Z" msg="Frontend client started" When bridge starts # :1 -> *scenario time="2026-09-17T09:47:48Z" msg="Performing full user login" /user username="******** (9b56cade)" time="2026-09-17T09:47:48Z" msg="Authorizing user for login" /user username="******** (9b56cade)" time="2026-09-17T09:47:48Z" msg="200 OK: GET https://127.0.0.1:34403/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:47:48Z" msg="200 OK: POST https://127.0.0.1:34403/auth/v4/info" /manager time="2026-09-17T09:47:48Z" msg="200 OK: POST https://127.0.0.1:34403/auth/v4" /manager time="2026-09-17T09:47:48Z" msg="Logging in authorized user" /user userID=69189a50-c1be-454f-9f08-d9428c885258 time="2026-09-17T09:47:48Z" msg="Adding vault user" userID=69189a50-c1be-454f-9f08-d9428c885258 time="2026-09-17T09:47:48Z" msg="Creating new user" userID=69189a50-c1be-454f-9f08-d9428c885258 time="2026-09-17T09:47:48Z" msg="404 GET https://127.0.0.1:34403/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:47:48Z" msg="404 GET https://127.0.0.1:34403/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:47:48Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:34403/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:47:48Z" msg="Creating user object" authUID=5f3eb260-ec3b-412d-ab0e-bca255b4f9de numA numL userID=69189a50-c1be-454f-9f08-d9428c885258 time="2026-09-17T09:47:48Z" msg="200 OK: GET https://127.0.0.1:34403/core/v4/events/latest" /client userID=69189a50-c1be-454f-9f08-d9428c885258 time="2026-09-17T09:47:48Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:47:48Z" msg="200 OK: GET https://127.0.0.1:34403/core/v4/settings" /client userID=69189a50-c1be-454f-9f08-d9428c885258 time="2026-09-17T09:47:48Z" msg="Registering user client, ID:69189a50-c1be-454f-9f08-d9428c885258" time="2026-09-17T09:47:48Z" msg="Starting user identity service" numA time="2026-09-17T09:47:48Z" msg="Starting service main loop" time="2026-09-17T09:47:48Z" msg="Starting service main loop" time="2026-09-17T09:47:48Z" msg="Starting service main loop" time="2026-09-17T09:47:48Z" msg="200 OK: GET https://127.0.0.1:34403/core/v4/labels?T" /client userID=69189a50-c1be-454f-9f08-d9428c885258 time="2026-09-17T09:47:48Z" msg="200 OK: GET https://127.0.0.1:34403/core/v4/labels?T" /client userID=69189a50-c1be-454f-9f08-d9428c885258 time="2026-09-17T09:47:48Z" msg="200 OK: GET https://127.0.0.1:34403/core/v4/labels?T" /client userID=69189a50-c1be-454f-9f08-d9428c885258 time="2026-09-17T09:47:48Z" msg="Setting labels" labelIDs="[5 6 9 1 2 3 4 7 8 10 12 0]" time="2026-09-17T09:47:48Z" msg="Adding user to imap server" addrID=deda4771-14ac-4d21-b970-c141d109835c time="2026-09-17T09:47:48Z" msg="Creating new IMAP user" addrID=deda4771-14ac-4d21-b970-c141d109835c time="2026-09-17T09:47:48Z" msg="Setting gluon ID" addrID=deda4771-14ac-4d21-b970-c141d109835c gluonID=3926a2ef-d7b9-48f9-9824-e93b19b3bef9 userID=69189a50-c1be-454f-9f08-d9428c885258 time="2026-09-17T09:47:48Z" msg="Received mailbox message count" gluonID=3926a2ef-d7b9-48f9-9824-e93b19b3bef9 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:47:48Z" msg="Created new IMAP user" addrID=deda4771-14ac-4d21-b970-c141d109835c gluonID=3926a2ef-d7b9-48f9-9824-e93b19b3bef9 time="2026-09-17T09:47:48Z" msg="Validating Listener State" time="2026-09-17T09:47:48Z" time="2026-09-17T09:47:48Z" msg="Checking whether logged in user should re-sync. UserID:69189a50-c1be-454f-9f08-d9428c885258" userID=69189a50-c1be-454f-9f08-d9428c885258 And the user logs in with username "47ccf7b7-71a7-4ce8-8849-b0fcb6d33fbe" and password "password" # :1 -> *scenario time="2026-09-17T09:47:48Z" msg="Starting IMAP Service" time="2026-09-17T09:47:48Z" msg="Sync triggered" time="2026-09-17T09:47:48Z" msg="Beginning user sync" start="2026-09-17 09:47:48.810896732 +0000 UTC m=+157.303199068" time="2026-09-17T09:47:48Z" msg="Syncing labels" time="2026-09-17T09:47:48Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=3926a2ef-d7b9-48f9-9824-e93b19b3bef9 time="2026-09-17T09:47:48Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=3926a2ef-d7b9-48f9-9824-e93b19b3bef9 time="2026-09-17T09:47:48Z" msg="Mailbox created" /user remoteMailboxID=5 userID=3926a2ef-d7b9-48f9-9824-e93b19b3bef9 time="2026-09-17T09:47:48Z" msg="Mailbox created" /user remoteMailboxID=6 userID=3926a2ef-d7b9-48f9-9824-e93b19b3bef9 time="2026-09-17T09:47:48Z" msg="Mailbox created" /user remoteMailboxID=4 userID=3926a2ef-d7b9-48f9-9824-e93b19b3bef9 time="2026-09-17T09:47:48Z" msg="Mailbox created" /user remoteMailboxID=3 userID=3926a2ef-d7b9-48f9-9824-e93b19b3bef9 time="2026-09-17T09:47:48Z" msg="Mailbox created" /user remoteMailboxID=7 userID=3926a2ef-d7b9-48f9-9824-e93b19b3bef9 time="2026-09-17T09:47:48Z" msg="Mailbox created" /user remoteMailboxID=8 userID=3926a2ef-d7b9-48f9-9824-e93b19b3bef9 time="2026-09-17T09:47:48Z" msg="Mailbox created" /user remoteMailboxID=10 userID=3926a2ef-d7b9-48f9-9824-e93b19b3bef9 time="2026-09-17T09:47:48Z" msg="Mailbox created" /user remoteMailboxID=12 userID=3926a2ef-d7b9-48f9-9824-e93b19b3bef9 time="2026-09-17T09:47:48Z" msg="Mailbox created" /user remoteMailboxID=0 userID=3926a2ef-d7b9-48f9-9824-e93b19b3bef9 time="2026-09-17T09:47:48Z" msg="Synced labels" time="2026-09-17T09:47:48Z" msg="200 OK: GET https://127.0.0.1:34403/mail/v4/messages/count" /client userID=69189a50-c1be-454f-9f08-d9428c885258 time="2026-09-17T09:47:48Z" msg="Syncing messages" time="2026-09-17T09:47:48Z" msg="Job started" time="2026-09-17T09:47:48Z" msg="200 OK: POST https://127.0.0.1:34403/mail/v4/messages" /client userID=69189a50-c1be-454f-9f08-d9428c885258 time="2026-09-17T09:47:48Z" msg="Job finished" time="2026-09-17T09:47:48Z" msg="All child jobs completed" sync- time="2026-09-17T09:47:48Z" msg="Synced messages" time="2026-09-17T09:47:48Z" msg="Finished user sync" .672523ms time="2026-09-17T09:47:48Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:47:48Z" msg="Event loop reset" eventID="AA==" And user "47ccf7b7-71a7-4ce8-8849-b0fcb6d33fbe" finishes syncing # :1 -> *scenario And user "47ccf7b7-71a7-4ce8-8849-b0fcb6d33fbe" connects and authenticates IMAP client "1" # :1 -> *scenario And IMAP client "1" selects "Drafts" # :1 -> *scenario time="2026-09-17T09:47:48Z" msg="200 OK: POST https://127.0.0.1:34403/mail/v4/messages" /client userID=69189a50-c1be-454f-9f08-d9428c885258 time="2026-09-17T09:47:48Z" msg="200 OK: GET https://127.0.0.1:34403/mail/v4/messages/bde780db-29a4-47a3-a8ba-5da775567fb5" /client userID=69189a50-c1be-454f-9f08-d9428c885258 When IMAP client "1" appends the following message to "Drafts": # :1 -> *scenario """ From: foo@bar.com Date: 01 Jan 1980 00:00:00 +0000 This is a dra """ Then it succeeds # :1 -> *scenario And IMAP client "1" eventually sees the following messages in "Drafts": # :1 -> *scenario | body | | This is a dra | time="2026-09-17T09:47:49Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 7} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" And IMAP client "1" eventually sees 1 messages in "Drafts" # :1 -> *scenario Scenario: Draft edited locally # features/imap/message/drafts.feature:24 When IMAP client "1" marks message 1 as deleted # :1 -> *scenario time="2026-09-17T09:47:49Z" msg="200 OK: PUT https://127.0.0.1:34403/mail/v4/messages/unlabel" /client userID=69189a50-c1be-454f-9f08-d9428c885258 time="2026-09-17T09:47:49Z" msg="200 OK: POST https://127.0.0.1:34403/mail/v4/messages" /client userID=69189a50-c1be-454f-9f08-d9428c885258 time="2026-09-17T09:47:49Z" msg="Message has been marked for deletion" addr- gluon- labels id(s)="[5 1]" mailboxID=8 messageID=bde780db-29a4-47a3-a8ba-5da775567fb5 user- time="2026-09-17T09:47:49Z" msg="200 OK: PUT https://127.0.0.1:34403/mail/v4/messages/delete" /client userID=69189a50-c1be-454f-9f08-d9428c885258 And IMAP client "1" expunges # :1 -> *scenario And it succeeds # :1 -> *scenario time="2026-09-17T09:47:49Z" msg="200 OK: POST https://127.0.0.1:34403/mail/v4/messages" /client userID=69189a50-c1be-454f-9f08-d9428c885258 time="2026-09-17T09:47:49Z" msg="200 OK: GET https://127.0.0.1:34403/mail/v4/messages/fb5e8fa1-2a34-49d4-a289-1e95331b9665" /client userID=69189a50-c1be-454f-9f08-d9428c885258 And IMAP client "1" appends the following message to "Drafts": # :1 -> *scenario """ From: foo@bar.com Date: 01 Jan 1980 00:00:00 +0000 Subject: Basic Draft Content-Type: text/plain To: someone@example.com This is a draft, but longer """ Then it succeeds # :1 -> *scenario And IMAP client "1" eventually sees the following messages in "Drafts": # :1 -> *scenario | to | subject | body | | someone@example.com | Basic Draft | This is a draft, but longer | And IMAP client "1" eventually sees 1 messages in "Drafts" # :1 -> *scenario time="2026-09-17T09:47:49Z" msg="Frontend service stopped" time="2026-09-17T09:47:49Z" msg="Frontend client stopped" time="2026-09-17T09:47:49Z" msg="Closing bridge" time="2026-09-17T09:47:49Z" msg="Stopping service" time="2026-09-17T09:47:49Z" msg="Closing user" userID=69189a50-c1be-454f-9f08-d9428c885258 time="2026-09-17T09:47:49Z" msg="De-registering user client, ID:69189a50-c1be-454f-9f08-d9428c885258" time="2026-09-17T09:47:49Z" msg="Exiting IMAP Service" time="2026-09-17T09:47:49Z" msg="Exiting service main loop" time="2026-09-17T09:47:49Z" msg="Exiting service main loop" time="2026-09-17T09:47:49Z" msg="Exiting Service" time="2026-09-17T09:47:49Z" msg="Exiting service main loop" time="2026-09-17T09:47:49Z" msg="Exiting service" time="2026-09-17T09:47:49Z" msg="Closing IMAP Listener" time="2026-09-17T09:47:49Z" msg="Closing IMAP server" time="2026-09-17T09:47:49Z" msg="Closing SMTP Listener" time="2026-09-17T09:47:49Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:47:49Z" msg="Closing SMTP server" time="2026-09-17T09:47:49Z" msg="Closing service" And IMAP client "1" does not see header "Reply-To" in message with subject "Basic Draft" in "Drafts" # :1 -> *scenario time="2026-09-17T09:47:49Z" msg="User '210737d9-6198-45a3-9b5b-3b74586263d8' created with " /server/backend time="2026-09-17T09:47:49Z" msg="Starting bridge" time="2026-09-17T09:47:49Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/080/config3435395178/grpcFocusServerConfig.json /service time="2026-09-17T09:47:49Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/080/cache2369346929/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:47:49Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/080/cache2369346929/notifications/notification_cache: no such file or directory" time="2026-09-17T09:47:49Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/080/data2468111398/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/080/data2468111398/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:47:49Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:47:49Z" msg="Starting IMAP server" time="2026-09-17T09:47:49Z" msg="Starting SMTP server" time="2026-09-17T09:47:49Z" msg="Starting service" time="2026-09-17T09:47:49Z" msg="Starting service" time="2026-09-17T09:47:49Z" msg="Starting poll service" time="2026-09-17T09:47:49Z" msg="Loading users" /user time="2026-09-17T09:47:49Z" msg="Finished loading users" /user time="2026-09-17T09:47:49Z" msg="Checking for updates" time="2026-09-17T09:47:49Z" msg="Starting frontend service" time="2026-09-17T09:47:49Z" msg="Starting receiver service" time="2026-09-17T09:47:49Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/080/config3435395178/grpcServerConfig.json time="2026-09-17T09:47:49Z" msg="gRPC server listening on /tmp/bridge8946" time="2026-09-17T09:47:49Z" msg="Frontend service started" time="2026-09-17T09:47:49Z" msg="Starting frontend client" time="2026-09-17T09:47:49Z" msg="Not monitoring parent PID" time="2026-09-17T09:47:49Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:47:49Z" msg="200 OK: GET https://127.0.0.1:43267/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:47:49Z" msg="Frontend client started" time="2026-09-17T09:47:49Z" msg="Performing full user login" /user username="******** (19ad93b2)" time="2026-09-17T09:47:49Z" msg="Authorizing user for login" /user username="******** (19ad93b2)" time="2026-09-17T09:47:49Z" msg="200 OK: POST https://127.0.0.1:43267/auth/v4/info" /manager time="2026-09-17T09:47:50Z" msg="200 OK: POST https://127.0.0.1:43267/auth/v4" /manager time="2026-09-17T09:47:50Z" msg="Logging in authorized user" /user userID=fba790dd-f25c-4fa6-9a68-815ac62a8c96 time="2026-09-17T09:47:50Z" msg="Adding vault user" userID=fba790dd-f25c-4fa6-9a68-815ac62a8c96 time="2026-09-17T09:47:50Z" msg="Creating new user" userID=fba790dd-f25c-4fa6-9a68-815ac62a8c96 time="2026-09-17T09:47:50Z" msg="404 GET https://127.0.0.1:43267/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:47:50Z" msg="404 GET https://127.0.0.1:43267/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:47:50Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:43267/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:47:50Z" msg="Creating user object" authUID=56793917-86c4-4812-a80e-ccb0f01a50a0 numA numL userID=fba790dd-f25c-4fa6-9a68-815ac62a8c96 time="2026-09-17T09:47:50Z" msg="200 OK: GET https://127.0.0.1:43267/core/v4/events/latest" /client userID=fba790dd-f25c-4fa6-9a68-815ac62a8c96 time="2026-09-17T09:47:50Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:47:50Z" msg="200 OK: GET https://127.0.0.1:43267/core/v4/settings" /client userID=fba790dd-f25c-4fa6-9a68-815ac62a8c96 time="2026-09-17T09:47:50Z" msg="Registering user client, ID:fba790dd-f25c-4fa6-9a68-815ac62a8c96" time="2026-09-17T09:47:50Z" msg="Starting service main loop" time="2026-09-17T09:47:50Z" msg="Starting user identity service" numA time="2026-09-17T09:47:50Z" msg="Starting service main loop" time="2026-09-17T09:47:50Z" msg="Starting service main loop" time="2026-09-17T09:47:50Z" msg="200 OK: GET https://127.0.0.1:43267/core/v4/labels?T" /client userID=fba790dd-f25c-4fa6-9a68-815ac62a8c96 time="2026-09-17T09:47:50Z" msg="200 OK: GET https://127.0.0.1:43267/core/v4/labels?T" /client userID=fba790dd-f25c-4fa6-9a68-815ac62a8c96 time="2026-09-17T09:47:50Z" msg="200 OK: GET https://127.0.0.1:43267/core/v4/labels?T" /client userID=fba790dd-f25c-4fa6-9a68-815ac62a8c96 time="2026-09-17T09:47:50Z" msg="Setting labels" labelIDs="[0 1 2 5 9 12 3 4 6 7 8 10]" time="2026-09-17T09:47:50Z" msg="Adding user to imap server" addrID=af2def0a-3e06-4577-b8fd-54caf6d84b44 time="2026-09-17T09:47:50Z" msg="Creating new IMAP user" addrID=af2def0a-3e06-4577-b8fd-54caf6d84b44 time="2026-09-17T09:47:50Z" msg="Setting gluon ID" addrID=af2def0a-3e06-4577-b8fd-54caf6d84b44 gluonID=f8aa86a4-bf20-4986-baa6-09f4d894ab1b userID=fba790dd-f25c-4fa6-9a68-815ac62a8c96 time="2026-09-17T09:47:50Z" msg="Received mailbox message count" gluonID=f8aa86a4-bf20-4986-baa6-09f4d894ab1b labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:47:50Z" msg="Created new IMAP user" addrID=af2def0a-3e06-4577-b8fd-54caf6d84b44 gluonID=f8aa86a4-bf20-4986-baa6-09f4d894ab1b time="2026-09-17T09:47:50Z" msg="Validating Listener State" time="2026-09-17T09:47:50Z" time="2026-09-17T09:47:50Z" msg="Starting IMAP Service" time="2026-09-17T09:47:50Z" msg="Checking whether logged in user should re-sync. UserID:fba790dd-f25c-4fa6-9a68-815ac62a8c96" userID=fba790dd-f25c-4fa6-9a68-815ac62a8c96 time="2026-09-17T09:47:50Z" msg="Sync triggered" time="2026-09-17T09:47:50Z" msg="Beginning user sync" start="2026-09-17 09:47:50.36230371 +0000 UTC m=+158.854606006" time="2026-09-17T09:47:50Z" msg="Syncing labels" time="2026-09-17T09:47:50Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=f8aa86a4-bf20-4986-baa6-09f4d894ab1b time="2026-09-17T09:47:50Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=f8aa86a4-bf20-4986-baa6-09f4d894ab1b time="2026-09-17T09:47:50Z" msg="Mailbox created" /user remoteMailboxID=7 userID=f8aa86a4-bf20-4986-baa6-09f4d894ab1b time="2026-09-17T09:47:50Z" msg="Mailbox created" /user remoteMailboxID=0 userID=f8aa86a4-bf20-4986-baa6-09f4d894ab1b time="2026-09-17T09:47:50Z" msg="Mailbox created" /user remoteMailboxID=5 userID=f8aa86a4-bf20-4986-baa6-09f4d894ab1b time="2026-09-17T09:47:50Z" msg="Mailbox created" /user remoteMailboxID=6 userID=f8aa86a4-bf20-4986-baa6-09f4d894ab1b time="2026-09-17T09:47:50Z" msg="Mailbox created" /user remoteMailboxID=8 userID=f8aa86a4-bf20-4986-baa6-09f4d894ab1b time="2026-09-17T09:47:50Z" msg="Mailbox created" /user remoteMailboxID=10 userID=f8aa86a4-bf20-4986-baa6-09f4d894ab1b time="2026-09-17T09:47:50Z" msg="Mailbox created" /user remoteMailboxID=12 userID=f8aa86a4-bf20-4986-baa6-09f4d894ab1b time="2026-09-17T09:47:50Z" msg="Mailbox created" /user remoteMailboxID=3 userID=f8aa86a4-bf20-4986-baa6-09f4d894ab1b time="2026-09-17T09:47:50Z" msg="Mailbox created" /user remoteMailboxID=4 userID=f8aa86a4-bf20-4986-baa6-09f4d894ab1b time="2026-09-17T09:47:50Z" msg="Synced labels" time="2026-09-17T09:47:50Z" msg="200 OK: GET https://127.0.0.1:43267/mail/v4/messages/count" /client userID=fba790dd-f25c-4fa6-9a68-815ac62a8c96 time="2026-09-17T09:47:50Z" msg="Syncing messages" time="2026-09-17T09:47:50Z" msg="Job started" time="2026-09-17T09:47:50Z" msg="200 OK: POST https://127.0.0.1:43267/mail/v4/messages" /client userID=fba790dd-f25c-4fa6-9a68-815ac62a8c96 time="2026-09-17T09:47:50Z" msg="Job finished" time="2026-09-17T09:47:50Z" msg="All child jobs completed" sync- time="2026-09-17T09:47:50Z" msg="Synced messages" time="2026-09-17T09:47:50Z" msg="Finished user sync" .031955ms time="2026-09-17T09:47:50Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:47:50Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:47:50Z" msg="200 OK: POST https://127.0.0.1:43267/mail/v4/messages" /client userID=fba790dd-f25c-4fa6-9a68-815ac62a8c96 time="2026-09-17T09:47:50Z" msg="200 OK: GET https://127.0.0.1:43267/mail/v4/messages/4c09c2dd-b62a-4010-8d4b-dfa4d98fee79" /client userID=fba790dd-f25c-4fa6-9a68-815ac62a8c96 time="2026-09-17T09:47:50Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 5} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:47:51Z" msg="200 OK: GET https://127.0.0.1:43267/core/v4/events/AA==" /client userID=fba790dd-f25c-4fa6-9a68-815ac62a8c96 time="2026-09-17T09:47:51Z" msg="Received new API event" new="Event AQ==: messages: , , " old="AA==" time="2026-09-17T09:47:51Z" msg="Handling message created event" messageID=4c09c2dd-b62a-4010-8d4b-dfa4d98fee79 subject="******** (e3b0c442)" time="2026-09-17T09:47:51Z" msg="200 OK: GET https://127.0.0.1:43267/mail/v4/messages/4c09c2dd-b62a-4010-8d4b-dfa4d98fee79" /client userID=fba790dd-f25c-4fa6-9a68-815ac62a8c96 time="2026-09-17T09:47:51Z" msg="Found existing message in create event, will update instead" MessageID=4c09c2dd-b62a-4010-8d4b-dfa4d98fee79... /user userID=f8aa86a4-bf20-4986-baa6-09f4d894ab1b Scenario: Draft edited remotely # features/imap/message/drafts.feature:47 When the following fields were changed in draft 1 for address "210737d9-6198-45a3-9b5b-3b74586263d8@proton.local" of account "210737d9-6198-45a3-9b5b-3b74586263d8": # :1 -> *scenario | to | subject | body | | someone@example.com | Basic Draft | This is a draft body, but longer | time="2026-09-17T09:47:52Z" msg="200 OK: GET https://127.0.0.1:43267/core/v4/events/AQ==" /client userID=fba790dd-f25c-4fa6-9a68-815ac62a8c96 time="2026-09-17T09:47:52Z" msg="Received new API event" new="Event Ag==: messages: , , " old="AQ==" time="2026-09-17T09:47:52Z" msg="Handling draft or sent updated event" isD messageID=4c09c2dd-b62a-4010-8d4b-dfa4d98fee79 subject="******** (b1fb5c7c)" time="2026-09-17T09:47:52Z" msg="200 OK: GET https://127.0.0.1:43267/mail/v4/messages/4c09c2dd-b62a-4010-8d4b-dfa4d98fee79" /client userID=fba790dd-f25c-4fa6-9a68-815ac62a8c96 Then IMAP client "1" eventually sees the following messages in "Drafts": # :1 -> *scenario | to | subject | body | | someone@example.com | Basic Draft | This is a draft body, but longer | And IMAP client "1" eventually sees 1 messages in "Drafts" # :1 -> *scenario time="2026-09-17T09:47:52Z" msg="Frontend service stopped" time="2026-09-17T09:47:52Z" msg="Frontend client stopped" time="2026-09-17T09:47:52Z" msg="Closing bridge" time="2026-09-17T09:47:52Z" msg="Stopping service" time="2026-09-17T09:47:52Z" msg="Closing user" userID=fba790dd-f25c-4fa6-9a68-815ac62a8c96 time="2026-09-17T09:47:52Z" msg="De-registering user client, ID:fba790dd-f25c-4fa6-9a68-815ac62a8c96" time="2026-09-17T09:47:52Z" msg="Exiting IMAP Service" time="2026-09-17T09:47:52Z" msg="Exiting service main loop" time="2026-09-17T09:47:52Z" msg="Exiting service main loop" time="2026-09-17T09:47:52Z" msg="Exiting Service" time="2026-09-17T09:47:52Z" msg="Exiting service main loop" time="2026-09-17T09:47:52Z" msg="Exiting service" time="2026-09-17T09:47:52Z" msg="Closing IMAP Listener" time="2026-09-17T09:47:52Z" msg="Closing IMAP server" time="2026-09-17T09:47:52Z" msg="Closing SMTP Listener" time="2026-09-17T09:47:52Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:47:52Z" msg="Closing SMTP server" time="2026-09-17T09:47:52Z" msg="Closing service" And IMAP client "1" does not see header "Reply-To" in message with subject "Basic Draft" in "Drafts" # :1 -> *scenario time="2026-09-17T09:47:52Z" msg="User 'c4811e08-d878-42d5-8281-5d099ecc67d9' created with " /server/backend time="2026-09-17T09:47:53Z" msg="Starting bridge" time="2026-09-17T09:47:53Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/081/config2725244398/grpcFocusServerConfig.json /service time="2026-09-17T09:47:53Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/081/cache3399945606/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:47:53Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/081/cache3399945606/notifications/notification_cache: no such file or directory" time="2026-09-17T09:47:53Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/081/data3648932104/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/081/data3648932104/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:47:53Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:47:53Z" msg="Starting IMAP server" time="2026-09-17T09:47:53Z" msg="Starting SMTP server" time="2026-09-17T09:47:53Z" msg="Starting service" time="2026-09-17T09:47:53Z" msg="Starting service" time="2026-09-17T09:47:53Z" msg="Starting frontend service" time="2026-09-17T09:47:53Z" msg="Starting receiver service" time="2026-09-17T09:47:53Z" msg="Checking for updates" time="2026-09-17T09:47:53Z" msg="Starting poll service" time="2026-09-17T09:47:53Z" msg="Loading users" /user time="2026-09-17T09:47:53Z" msg="Finished loading users" /user time="2026-09-17T09:47:53Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/081/config2725244398/grpcServerConfig.json time="2026-09-17T09:47:53Z" msg="gRPC server listening on /tmp/bridge8036" time="2026-09-17T09:47:53Z" msg="Frontend service started" time="2026-09-17T09:47:53Z" msg="Starting frontend client" time="2026-09-17T09:47:53Z" msg="Not monitoring parent PID" time="2026-09-17T09:47:53Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:47:53Z" msg="200 OK: GET https://127.0.0.1:34535/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:47:53Z" msg="Frontend client started" time="2026-09-17T09:47:53Z" msg="Performing full user login" /user username="******** (fd591ec6)" time="2026-09-17T09:47:53Z" msg="Authorizing user for login" /user username="******** (fd591ec6)" time="2026-09-17T09:47:53Z" msg="200 OK: POST https://127.0.0.1:34535/auth/v4/info" /manager time="2026-09-17T09:47:53Z" msg="200 OK: POST https://127.0.0.1:34535/auth/v4" /manager time="2026-09-17T09:47:53Z" msg="Logging in authorized user" /user userID=d1964958-e303-4f4f-bf60-267b5e564a0c time="2026-09-17T09:47:53Z" msg="Adding vault user" userID=d1964958-e303-4f4f-bf60-267b5e564a0c time="2026-09-17T09:47:53Z" msg="Creating new user" userID=d1964958-e303-4f4f-bf60-267b5e564a0c time="2026-09-17T09:47:53Z" msg="404 GET https://127.0.0.1:34535/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:47:53Z" msg="404 GET https://127.0.0.1:34535/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:47:53Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:34535/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:47:53Z" msg="Creating user object" authUID=63d183bd-5bbd-4a6b-88b3-b19a8bcf3ac4 numA numL userID=d1964958-e303-4f4f-bf60-267b5e564a0c time="2026-09-17T09:47:53Z" msg="200 OK: GET https://127.0.0.1:34535/core/v4/events/latest" /client userID=d1964958-e303-4f4f-bf60-267b5e564a0c time="2026-09-17T09:47:53Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:47:53Z" msg="200 OK: GET https://127.0.0.1:34535/core/v4/settings" /client userID=d1964958-e303-4f4f-bf60-267b5e564a0c time="2026-09-17T09:47:53Z" msg="Registering user client, ID:d1964958-e303-4f4f-bf60-267b5e564a0c" time="2026-09-17T09:47:53Z" msg="Starting service main loop" time="2026-09-17T09:47:53Z" msg="Starting user identity service" numA time="2026-09-17T09:47:53Z" msg="Starting service main loop" time="2026-09-17T09:47:53Z" msg="Starting service main loop" time="2026-09-17T09:47:53Z" msg="200 OK: GET https://127.0.0.1:34535/core/v4/labels?T" /client userID=d1964958-e303-4f4f-bf60-267b5e564a0c time="2026-09-17T09:47:53Z" msg="200 OK: GET https://127.0.0.1:34535/core/v4/labels?T" /client userID=d1964958-e303-4f4f-bf60-267b5e564a0c time="2026-09-17T09:47:53Z" msg="200 OK: GET https://127.0.0.1:34535/core/v4/labels?T" /client userID=d1964958-e303-4f4f-bf60-267b5e564a0c time="2026-09-17T09:47:53Z" msg="Setting labels" labelIDs="[6 7 12 0 1 3 4 8 9 10 2 5]" time="2026-09-17T09:47:53Z" msg="Adding user to imap server" addrID=2da18d85-84ee-4b25-bafc-578f41fd192d time="2026-09-17T09:47:53Z" msg="Creating new IMAP user" addrID=2da18d85-84ee-4b25-bafc-578f41fd192d time="2026-09-17T09:47:53Z" msg="Setting gluon ID" addrID=2da18d85-84ee-4b25-bafc-578f41fd192d gluonID=301f8591-9987-4390-a097-48c1e0d89226 userID=d1964958-e303-4f4f-bf60-267b5e564a0c time="2026-09-17T09:47:53Z" msg="Received mailbox message count" gluonID=301f8591-9987-4390-a097-48c1e0d89226 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:47:53Z" msg="Created new IMAP user" addrID=2da18d85-84ee-4b25-bafc-578f41fd192d gluonID=301f8591-9987-4390-a097-48c1e0d89226 time="2026-09-17T09:47:53Z" msg="Validating Listener State" time="2026-09-17T09:47:53Z" time="2026-09-17T09:47:53Z" msg="Starting IMAP Service" time="2026-09-17T09:47:53Z" msg="Checking whether logged in user should re-sync. UserID:d1964958-e303-4f4f-bf60-267b5e564a0c" userID=d1964958-e303-4f4f-bf60-267b5e564a0c time="2026-09-17T09:47:53Z" msg="Sync triggered" time="2026-09-17T09:47:53Z" msg="Beginning user sync" start="2026-09-17 09:47:53.584767473 +0000 UTC m=+162.077069769" time="2026-09-17T09:47:53Z" msg="Syncing labels" time="2026-09-17T09:47:53Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=301f8591-9987-4390-a097-48c1e0d89226 time="2026-09-17T09:47:53Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=301f8591-9987-4390-a097-48c1e0d89226 time="2026-09-17T09:47:53Z" msg="Mailbox created" /user remoteMailboxID=6 userID=301f8591-9987-4390-a097-48c1e0d89226 time="2026-09-17T09:47:53Z" msg="Mailbox created" /user remoteMailboxID=0 userID=301f8591-9987-4390-a097-48c1e0d89226 time="2026-09-17T09:47:53Z" msg="Mailbox created" /user remoteMailboxID=3 userID=301f8591-9987-4390-a097-48c1e0d89226 time="2026-09-17T09:47:53Z" msg="Mailbox created" /user remoteMailboxID=4 userID=301f8591-9987-4390-a097-48c1e0d89226 time="2026-09-17T09:47:53Z" msg="Mailbox created" /user remoteMailboxID=10 userID=301f8591-9987-4390-a097-48c1e0d89226 time="2026-09-17T09:47:53Z" msg="Mailbox created" /user remoteMailboxID=5 userID=301f8591-9987-4390-a097-48c1e0d89226 time="2026-09-17T09:47:53Z" msg="Mailbox created" /user remoteMailboxID=7 userID=301f8591-9987-4390-a097-48c1e0d89226 time="2026-09-17T09:47:53Z" msg="Mailbox created" /user remoteMailboxID=12 userID=301f8591-9987-4390-a097-48c1e0d89226 time="2026-09-17T09:47:53Z" msg="Mailbox created" /user remoteMailboxID=8 userID=301f8591-9987-4390-a097-48c1e0d89226 time="2026-09-17T09:47:53Z" msg="Synced labels" time="2026-09-17T09:47:53Z" msg="200 OK: GET https://127.0.0.1:34535/mail/v4/messages/count" /client userID=d1964958-e303-4f4f-bf60-267b5e564a0c time="2026-09-17T09:47:53Z" msg="Syncing messages" time="2026-09-17T09:47:53Z" msg="Job started" time="2026-09-17T09:47:53Z" msg="200 OK: POST https://127.0.0.1:34535/mail/v4/messages" /client userID=d1964958-e303-4f4f-bf60-267b5e564a0c time="2026-09-17T09:47:53Z" msg="Job finished" time="2026-09-17T09:47:53Z" msg="All child jobs completed" sync- time="2026-09-17T09:47:53Z" msg="Synced messages" time="2026-09-17T09:47:53Z" msg="Finished user sync" .187729ms time="2026-09-17T09:47:53Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:47:53Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:47:53Z" msg="200 OK: POST https://127.0.0.1:34535/mail/v4/messages" /client userID=d1964958-e303-4f4f-bf60-267b5e564a0c time="2026-09-17T09:47:53Z" msg="200 OK: GET https://127.0.0.1:34535/mail/v4/messages/2b1c1bdd-8f22-4a23-8044-30d76f8bc623" /client userID=d1964958-e303-4f4f-bf60-267b5e564a0c time="2026-09-17T09:47:53Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 8} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:47:54Z" msg="200 OK: GET https://127.0.0.1:34535/core/v4/events/AA==" /client userID=d1964958-e303-4f4f-bf60-267b5e564a0c time="2026-09-17T09:47:54Z" msg="Received new API event" new="Event AQ==: messages: , , " old="AA==" time="2026-09-17T09:47:54Z" msg="Handling message created event" messageID=2b1c1bdd-8f22-4a23-8044-30d76f8bc623 subject="******** (e3b0c442)" time="2026-09-17T09:47:54Z" msg="200 OK: GET https://127.0.0.1:34535/mail/v4/messages/2b1c1bdd-8f22-4a23-8044-30d76f8bc623" /client userID=d1964958-e303-4f4f-bf60-267b5e564a0c time="2026-09-17T09:47:54Z" msg="Found existing message in create event, will update instead" MessageID=2b1c1bdd-8f22-4a23-8044-30d76f8bc623... /user userID=301f8591-9987-4390-a097-48c1e0d89226 Scenario: Draft moved to trash remotely # features/imap/message/drafts.feature:112 When draft 1 for address "c4811e08-d878-42d5-8281-5d099ecc67d9@proton.local" of account "c4811e08-d878-42d5-8281-5d099ecc67d9" was moved to trash # :1 -> *scenario time="2026-09-17T09:47:55Z" msg="200 OK: GET https://127.0.0.1:34535/core/v4/events/AQ==" /client userID=d1964958-e303-4f4f-bf60-267b5e564a0c time="2026-09-17T09:47:55Z" msg="Received new API event" new="Event Aw==: messages: , , " old="AQ==" time="2026-09-17T09:47:55Z" msg="Handling draft or sent updated event" isD messageID=2b1c1bdd-8f22-4a23-8044-30d76f8bc623 subject="******** (e3b0c442)" time="2026-09-17T09:47:55Z" msg="200 OK: GET https://127.0.0.1:34535/mail/v4/messages/2b1c1bdd-8f22-4a23-8044-30d76f8bc623" /client userID=d1964958-e303-4f4f-bf60-267b5e564a0c Then IMAP client "1" eventually sees the following messages in "Trash": # :1 -> *scenario | body | | This is a dra | time="2026-09-17T09:47:55Z" msg="Frontend service stopped" time="2026-09-17T09:47:55Z" msg="Frontend client stopped" time="2026-09-17T09:47:55Z" msg="Closing bridge" time="2026-09-17T09:47:55Z" msg="Stopping service" time="2026-09-17T09:47:55Z" msg="Closing user" userID=d1964958-e303-4f4f-bf60-267b5e564a0c time="2026-09-17T09:47:55Z" msg="De-registering user client, ID:d1964958-e303-4f4f-bf60-267b5e564a0c" time="2026-09-17T09:47:55Z" msg="Exiting IMAP Service" time="2026-09-17T09:47:55Z" msg="Exiting service main loop" time="2026-09-17T09:47:55Z" msg="Exiting service main loop" time="2026-09-17T09:47:55Z" msg="Exiting Service" time="2026-09-17T09:47:55Z" msg="Exiting service main loop" time="2026-09-17T09:47:55Z" msg="Exiting service" time="2026-09-17T09:47:55Z" msg="Closing IMAP Listener" time="2026-09-17T09:47:55Z" msg="Closing IMAP server" time="2026-09-17T09:47:55Z" msg="Closing SMTP Listener" time="2026-09-17T09:47:55Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:47:55Z" msg="Closing SMTP server" time="2026-09-17T09:47:55Z" msg="Closing service" And IMAP client "1" eventually sees 0 messages in "Drafts" # :1 -> *scenario time="2026-09-17T09:47:55Z" msg="User '78476cfd-0ead-48d4-90ac-41299453a207' created with " /server/backend time="2026-09-17T09:47:56Z" msg="Starting bridge" time="2026-09-17T09:47:56Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/082/config2243088086/grpcFocusServerConfig.json /service time="2026-09-17T09:47:56Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/082/cache614211780/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:47:56Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/082/cache614211780/notifications/notification_cache: no such file or directory" time="2026-09-17T09:47:56Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/082/data2538013625/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/082/data2538013625/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:47:56Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:47:56Z" msg="Starting IMAP server" time="2026-09-17T09:47:56Z" msg="Starting SMTP server" time="2026-09-17T09:47:56Z" msg="Starting service" time="2026-09-17T09:47:56Z" msg="Starting service" time="2026-09-17T09:47:56Z" msg="Starting frontend service" time="2026-09-17T09:47:56Z" msg="Starting poll service" time="2026-09-17T09:47:56Z" msg="Checking for updates" time="2026-09-17T09:47:56Z" msg="Loading users" /user time="2026-09-17T09:47:56Z" msg="Starting receiver service" time="2026-09-17T09:47:56Z" msg="Finished loading users" /user time="2026-09-17T09:47:56Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/082/config2243088086/grpcServerConfig.json time="2026-09-17T09:47:56Z" msg="gRPC server listening on /tmp/bridge9411" time="2026-09-17T09:47:56Z" msg="Frontend service started" time="2026-09-17T09:47:56Z" msg="Starting frontend client" time="2026-09-17T09:47:56Z" msg="Not monitoring parent PID" time="2026-09-17T09:47:56Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:47:56Z" msg="Frontend client started" time="2026-09-17T09:47:56Z" msg="Performing full user login" /user username="******** (c1178a02)" time="2026-09-17T09:47:56Z" msg="Authorizing user for login" /user username="******** (c1178a02)" time="2026-09-17T09:47:56Z" msg="200 OK: GET https://127.0.0.1:42231/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:47:56Z" msg="200 OK: POST https://127.0.0.1:42231/auth/v4/info" /manager time="2026-09-17T09:47:56Z" msg="200 OK: POST https://127.0.0.1:42231/auth/v4" /manager time="2026-09-17T09:47:56Z" msg="Logging in authorized user" /user userID=67f6bd2b-fe4b-473a-ba18-92e504db30fe time="2026-09-17T09:47:56Z" msg="Adding vault user" userID=67f6bd2b-fe4b-473a-ba18-92e504db30fe time="2026-09-17T09:47:56Z" msg="Creating new user" userID=67f6bd2b-fe4b-473a-ba18-92e504db30fe time="2026-09-17T09:47:56Z" msg="404 GET https://127.0.0.1:42231/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:47:56Z" msg="404 GET https://127.0.0.1:42231/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:47:56Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:42231/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:47:56Z" msg="Creating user object" authUID=e0cee6db-4179-43e3-b0bb-77ee0a929dc1 numA numL userID=67f6bd2b-fe4b-473a-ba18-92e504db30fe time="2026-09-17T09:47:56Z" msg="200 OK: GET https://127.0.0.1:42231/core/v4/events/latest" /client userID=67f6bd2b-fe4b-473a-ba18-92e504db30fe time="2026-09-17T09:47:56Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:47:56Z" msg="200 OK: GET https://127.0.0.1:42231/core/v4/settings" /client userID=67f6bd2b-fe4b-473a-ba18-92e504db30fe time="2026-09-17T09:47:56Z" msg="Registering user client, ID:67f6bd2b-fe4b-473a-ba18-92e504db30fe" time="2026-09-17T09:47:56Z" msg="Starting service main loop" time="2026-09-17T09:47:56Z" msg="Starting user identity service" numA time="2026-09-17T09:47:56Z" msg="Starting service main loop" time="2026-09-17T09:47:56Z" msg="Starting service main loop" time="2026-09-17T09:47:56Z" msg="200 OK: GET https://127.0.0.1:42231/core/v4/labels?T" /client userID=67f6bd2b-fe4b-473a-ba18-92e504db30fe time="2026-09-17T09:47:56Z" msg="200 OK: GET https://127.0.0.1:42231/core/v4/labels?T" /client userID=67f6bd2b-fe4b-473a-ba18-92e504db30fe time="2026-09-17T09:47:56Z" msg="200 OK: GET https://127.0.0.1:42231/core/v4/labels?T" /client userID=67f6bd2b-fe4b-473a-ba18-92e504db30fe time="2026-09-17T09:47:56Z" msg="Setting labels" labelIDs="[4 5 6 7 8 9 10 12 0 1 2 3]" time="2026-09-17T09:47:56Z" msg="Adding user to imap server" addrID=539442d9-082a-4445-8e6f-11c33d6df833 time="2026-09-17T09:47:56Z" msg="Creating new IMAP user" addrID=539442d9-082a-4445-8e6f-11c33d6df833 time="2026-09-17T09:47:56Z" msg="Setting gluon ID" addrID=539442d9-082a-4445-8e6f-11c33d6df833 gluonID=d2b59060-b704-4425-9a1e-c00cde6d3751 userID=67f6bd2b-fe4b-473a-ba18-92e504db30fe time="2026-09-17T09:47:56Z" msg="Received mailbox message count" gluonID=d2b59060-b704-4425-9a1e-c00cde6d3751 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:47:56Z" msg="Created new IMAP user" addrID=539442d9-082a-4445-8e6f-11c33d6df833 gluonID=d2b59060-b704-4425-9a1e-c00cde6d3751 time="2026-09-17T09:47:56Z" msg="Validating Listener State" time="2026-09-17T09:47:56Z" time="2026-09-17T09:47:56Z" msg="Starting IMAP Service" time="2026-09-17T09:47:56Z" msg="Checking whether logged in user should re-sync. UserID:67f6bd2b-fe4b-473a-ba18-92e504db30fe" userID=67f6bd2b-fe4b-473a-ba18-92e504db30fe time="2026-09-17T09:47:56Z" msg="Sync triggered" time="2026-09-17T09:47:56Z" msg="Beginning user sync" start="2026-09-17 09:47:56.784155617 +0000 UTC m=+165.276457913" time="2026-09-17T09:47:56Z" msg="Syncing labels" time="2026-09-17T09:47:56Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=d2b59060-b704-4425-9a1e-c00cde6d3751 time="2026-09-17T09:47:56Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=d2b59060-b704-4425-9a1e-c00cde6d3751 time="2026-09-17T09:47:56Z" msg="Mailbox created" /user remoteMailboxID=8 userID=d2b59060-b704-4425-9a1e-c00cde6d3751 time="2026-09-17T09:47:56Z" msg="Mailbox created" /user remoteMailboxID=12 userID=d2b59060-b704-4425-9a1e-c00cde6d3751 time="2026-09-17T09:47:56Z" msg="Mailbox created" /user remoteMailboxID=10 userID=d2b59060-b704-4425-9a1e-c00cde6d3751 time="2026-09-17T09:47:56Z" msg="Mailbox created" /user remoteMailboxID=0 userID=d2b59060-b704-4425-9a1e-c00cde6d3751 time="2026-09-17T09:47:56Z" msg="Mailbox created" /user remoteMailboxID=3 userID=d2b59060-b704-4425-9a1e-c00cde6d3751 time="2026-09-17T09:47:56Z" msg="Mailbox created" /user remoteMailboxID=4 userID=d2b59060-b704-4425-9a1e-c00cde6d3751 time="2026-09-17T09:47:56Z" msg="Mailbox created" /user remoteMailboxID=5 userID=d2b59060-b704-4425-9a1e-c00cde6d3751 time="2026-09-17T09:47:56Z" msg="Mailbox created" /user remoteMailboxID=6 userID=d2b59060-b704-4425-9a1e-c00cde6d3751 time="2026-09-17T09:47:56Z" msg="Mailbox created" /user remoteMailboxID=7 userID=d2b59060-b704-4425-9a1e-c00cde6d3751 time="2026-09-17T09:47:56Z" msg="Synced labels" time="2026-09-17T09:47:56Z" msg="200 OK: GET https://127.0.0.1:42231/mail/v4/messages/count" /client userID=67f6bd2b-fe4b-473a-ba18-92e504db30fe time="2026-09-17T09:47:56Z" msg="Syncing messages" time="2026-09-17T09:47:56Z" msg="Job started" time="2026-09-17T09:47:56Z" msg="200 OK: POST https://127.0.0.1:42231/mail/v4/messages" /client userID=67f6bd2b-fe4b-473a-ba18-92e504db30fe time="2026-09-17T09:47:56Z" msg="Job finished" time="2026-09-17T09:47:56Z" msg="All child jobs completed" sync- time="2026-09-17T09:47:56Z" msg="Synced messages" time="2026-09-17T09:47:56Z" msg="Finished user sync" .107276ms time="2026-09-17T09:47:56Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:47:56Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:47:56Z" msg="200 OK: POST https://127.0.0.1:42231/mail/v4/messages" /client userID=67f6bd2b-fe4b-473a-ba18-92e504db30fe time="2026-09-17T09:47:56Z" msg="200 OK: GET https://127.0.0.1:42231/mail/v4/messages/dd582a71-d6bb-401d-993b-bfc554231f62" /client userID=67f6bd2b-fe4b-473a-ba18-92e504db30fe time="2026-09-17T09:47:56Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 8} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" Scenario: Draft saved without "Date" header # features/imap/message/drafts.feature:130 When IMAP client "1" selects "Drafts" # :1 -> *scenario And IMAP client "1" marks message 1 as deleted # :1 -> *scenario time="2026-09-17T09:47:57Z" msg="200 OK: PUT https://127.0.0.1:42231/mail/v4/messages/unlabel" /client userID=67f6bd2b-fe4b-473a-ba18-92e504db30fe time="2026-09-17T09:47:57Z" msg="200 OK: POST https://127.0.0.1:42231/mail/v4/messages" /client userID=67f6bd2b-fe4b-473a-ba18-92e504db30fe time="2026-09-17T09:47:57Z" msg="Message has been marked for deletion" addr- gluon- labels id(s)="[5 1]" mailboxID=8 messageID=dd582a71-d6bb-401d-993b-bfc554231f62 user- time="2026-09-17T09:47:57Z" msg="200 OK: PUT https://127.0.0.1:42231/mail/v4/messages/delete" /client userID=67f6bd2b-fe4b-473a-ba18-92e504db30fe And IMAP client "1" expunges # :1 -> *scenario And it succeeds # :1 -> *scenario time="2026-09-17T09:47:57Z" msg="200 OK: POST https://127.0.0.1:42231/mail/v4/messages" /client userID=67f6bd2b-fe4b-473a-ba18-92e504db30fe time="2026-09-17T09:47:57Z" msg="200 OK: GET https://127.0.0.1:42231/mail/v4/messages/9dc3a3ca-38bf-405c-8a45-a8988b37fcb4" /client userID=67f6bd2b-fe4b-473a-ba18-92e504db30fe Then IMAP client "1" appends the following message to "Drafts": # :1 -> *scenario """ From: foo@bar.com Subject: Draft without Date Content-Type: text/plain To: someone@example.com This is a Draft without Date in header """ And it succeeds # :1 -> *scenario time="2026-09-17T09:47:57Z" msg="Frontend service stopped" time="2026-09-17T09:47:57Z" msg="Frontend client stopped" time="2026-09-17T09:47:57Z" msg="Closing bridge" time="2026-09-17T09:47:57Z" msg="Stopping service" time="2026-09-17T09:47:57Z" msg="Closing user" userID=67f6bd2b-fe4b-473a-ba18-92e504db30fe time="2026-09-17T09:47:57Z" msg="De-registering user client, ID:67f6bd2b-fe4b-473a-ba18-92e504db30fe" time="2026-09-17T09:47:57Z" msg="Exiting IMAP Service" time="2026-09-17T09:47:57Z" msg="Exiting service main loop" time="2026-09-17T09:47:57Z" msg="Exiting service main loop" time="2026-09-17T09:47:57Z" msg="Exiting Service" time="2026-09-17T09:47:57Z" msg="Exiting service main loop" time="2026-09-17T09:47:57Z" msg="Exiting service" time="2026-09-17T09:47:57Z" msg="Closing IMAP Listener" time="2026-09-17T09:47:57Z" msg="Closing IMAP server" time="2026-09-17T09:47:57Z" msg="Closing SMTP Listener" time="2026-09-17T09:47:57Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:47:57Z" msg="Closing SMTP server" time="2026-09-17T09:47:57Z" msg="Closing service" And IMAP client "1" eventually sees the following messages in "Drafts": # :1 -> *scenario | to | subject | body | | someone@example.com | Draft without Date | This is a Draft without Date in header | time="2026-09-17T09:47:57Z" msg="User '06d4a0fe-3283-4cfa-b2de-99d9b28ac4a0' created with " /server/backend time="2026-09-17T09:47:57Z" msg="Starting bridge" time="2026-09-17T09:47:57Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/083/config594940467/grpcFocusServerConfig.json /service time="2026-09-17T09:47:57Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/083/cache2081827952/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:47:57Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/083/cache2081827952/notifications/notification_cache: no such file or directory" time="2026-09-17T09:47:57Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/083/data347595023/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/083/data347595023/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:47:57Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:47:57Z" msg="Starting IMAP server" time="2026-09-17T09:47:57Z" msg="Starting SMTP server" time="2026-09-17T09:47:57Z" msg="Starting service" time="2026-09-17T09:47:57Z" msg="Starting service" time="2026-09-17T09:47:57Z" msg="Starting frontend service" time="2026-09-17T09:47:57Z" msg="Starting poll service" time="2026-09-17T09:47:57Z" msg="Checking for updates" time="2026-09-17T09:47:57Z" msg="Loading users" /user time="2026-09-17T09:47:57Z" msg="Finished loading users" /user time="2026-09-17T09:47:57Z" msg="Starting receiver service" time="2026-09-17T09:47:57Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/083/config594940467/grpcServerConfig.json time="2026-09-17T09:47:57Z" msg="gRPC server listening on /tmp/bridge2427" time="2026-09-17T09:47:57Z" msg="Frontend service started" time="2026-09-17T09:47:57Z" msg="Starting frontend client" time="2026-09-17T09:47:57Z" msg="Not monitoring parent PID" time="2026-09-17T09:47:57Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:47:57Z" msg="Frontend client started" time="2026-09-17T09:47:57Z" msg="Performing full user login" /user username="******** (90ba6d33)" time="2026-09-17T09:47:57Z" msg="Authorizing user for login" /user username="******** (90ba6d33)" time="2026-09-17T09:47:57Z" msg="200 OK: GET https://127.0.0.1:44185/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:47:57Z" msg="200 OK: POST https://127.0.0.1:44185/auth/v4/info" /manager time="2026-09-17T09:47:58Z" msg="200 OK: POST https://127.0.0.1:44185/auth/v4" /manager time="2026-09-17T09:47:58Z" msg="Logging in authorized user" /user userID=77d36eb8-42e4-4f5b-a2e4-4d716e709a54 time="2026-09-17T09:47:58Z" msg="Adding vault user" userID=77d36eb8-42e4-4f5b-a2e4-4d716e709a54 time="2026-09-17T09:47:58Z" msg="Creating new user" userID=77d36eb8-42e4-4f5b-a2e4-4d716e709a54 time="2026-09-17T09:47:58Z" msg="404 GET https://127.0.0.1:44185/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:47:58Z" msg="404 GET https://127.0.0.1:44185/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:47:58Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:44185/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:47:58Z" msg="Creating user object" authUID=c1d3298c-f0b3-4d1a-8cfd-12b19550bd58 numA numL userID=77d36eb8-42e4-4f5b-a2e4-4d716e709a54 time="2026-09-17T09:47:58Z" msg="200 OK: GET https://127.0.0.1:44185/core/v4/events/latest" /client userID=77d36eb8-42e4-4f5b-a2e4-4d716e709a54 time="2026-09-17T09:47:58Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:47:58Z" msg="200 OK: GET https://127.0.0.1:44185/core/v4/settings" /client userID=77d36eb8-42e4-4f5b-a2e4-4d716e709a54 time="2026-09-17T09:47:58Z" msg="Registering user client, ID:77d36eb8-42e4-4f5b-a2e4-4d716e709a54" time="2026-09-17T09:47:58Z" msg="Starting service main loop" time="2026-09-17T09:47:58Z" msg="Starting user identity service" numA time="2026-09-17T09:47:58Z" msg="Starting service main loop" time="2026-09-17T09:47:58Z" msg="Starting service main loop" time="2026-09-17T09:47:58Z" msg="200 OK: GET https://127.0.0.1:44185/core/v4/labels?T" /client userID=77d36eb8-42e4-4f5b-a2e4-4d716e709a54 time="2026-09-17T09:47:58Z" msg="200 OK: GET https://127.0.0.1:44185/core/v4/labels?T" /client userID=77d36eb8-42e4-4f5b-a2e4-4d716e709a54 time="2026-09-17T09:47:58Z" msg="200 OK: GET https://127.0.0.1:44185/core/v4/labels?T" /client userID=77d36eb8-42e4-4f5b-a2e4-4d716e709a54 time="2026-09-17T09:47:58Z" msg="Setting labels" labelIDs="[0 1 2 4 8 12 3 5 6 7 9 10]" time="2026-09-17T09:47:58Z" msg="Adding user to imap server" addrID=5c0fa33f-502d-458e-9c50-e9732badb947 time="2026-09-17T09:47:58Z" msg="Creating new IMAP user" addrID=5c0fa33f-502d-458e-9c50-e9732badb947 time="2026-09-17T09:47:58Z" msg="Setting gluon ID" addrID=5c0fa33f-502d-458e-9c50-e9732badb947 gluonID=f440b76c-a19d-4159-a293-0612d8b93872 userID=77d36eb8-42e4-4f5b-a2e4-4d716e709a54 time="2026-09-17T09:47:58Z" msg="Received mailbox message count" gluonID=f440b76c-a19d-4159-a293-0612d8b93872 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:47:58Z" msg="Created new IMAP user" addrID=5c0fa33f-502d-458e-9c50-e9732badb947 gluonID=f440b76c-a19d-4159-a293-0612d8b93872 time="2026-09-17T09:47:58Z" msg="Validating Listener State" time="2026-09-17T09:47:58Z" time="2026-09-17T09:47:58Z" msg="Starting IMAP Service" time="2026-09-17T09:47:58Z" msg="Checking whether logged in user should re-sync. UserID:77d36eb8-42e4-4f5b-a2e4-4d716e709a54" userID=77d36eb8-42e4-4f5b-a2e4-4d716e709a54 time="2026-09-17T09:47:58Z" msg="Sync triggered" time="2026-09-17T09:47:58Z" msg="Beginning user sync" start="2026-09-17 09:47:58.20855276 +0000 UTC m=+166.700855096" time="2026-09-17T09:47:58Z" msg="Syncing labels" time="2026-09-17T09:47:58Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=f440b76c-a19d-4159-a293-0612d8b93872 time="2026-09-17T09:47:58Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=f440b76c-a19d-4159-a293-0612d8b93872 time="2026-09-17T09:47:58Z" msg="Mailbox created" /user remoteMailboxID=6 userID=f440b76c-a19d-4159-a293-0612d8b93872 time="2026-09-17T09:47:58Z" msg="Mailbox created" /user remoteMailboxID=7 userID=f440b76c-a19d-4159-a293-0612d8b93872 time="2026-09-17T09:47:58Z" msg="Mailbox created" /user remoteMailboxID=0 userID=f440b76c-a19d-4159-a293-0612d8b93872 time="2026-09-17T09:47:58Z" msg="Mailbox created" /user remoteMailboxID=12 userID=f440b76c-a19d-4159-a293-0612d8b93872 time="2026-09-17T09:47:58Z" msg="Mailbox created" /user remoteMailboxID=10 userID=f440b76c-a19d-4159-a293-0612d8b93872 time="2026-09-17T09:47:58Z" msg="Mailbox created" /user remoteMailboxID=4 userID=f440b76c-a19d-4159-a293-0612d8b93872 time="2026-09-17T09:47:58Z" msg="Mailbox created" /user remoteMailboxID=8 userID=f440b76c-a19d-4159-a293-0612d8b93872 time="2026-09-17T09:47:58Z" msg="Mailbox created" /user remoteMailboxID=3 userID=f440b76c-a19d-4159-a293-0612d8b93872 time="2026-09-17T09:47:58Z" msg="Mailbox created" /user remoteMailboxID=5 userID=f440b76c-a19d-4159-a293-0612d8b93872 time="2026-09-17T09:47:58Z" msg="Synced labels" time="2026-09-17T09:47:58Z" msg="200 OK: GET https://127.0.0.1:44185/mail/v4/messages/count" /client userID=77d36eb8-42e4-4f5b-a2e4-4d716e709a54 time="2026-09-17T09:47:58Z" msg="Syncing messages" time="2026-09-17T09:47:58Z" msg="Job started" time="2026-09-17T09:47:58Z" msg="200 OK: POST https://127.0.0.1:44185/mail/v4/messages" /client userID=77d36eb8-42e4-4f5b-a2e4-4d716e709a54 time="2026-09-17T09:47:58Z" msg="Job finished" time="2026-09-17T09:47:58Z" msg="All child jobs completed" sync- time="2026-09-17T09:47:58Z" msg="Synced messages" time="2026-09-17T09:47:58Z" msg="Finished user sync" .706483ms time="2026-09-17T09:47:58Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:47:58Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:47:58Z" msg="200 OK: POST https://127.0.0.1:44185/mail/v4/messages" /client userID=77d36eb8-42e4-4f5b-a2e4-4d716e709a54 time="2026-09-17T09:47:58Z" msg="200 OK: GET https://127.0.0.1:44185/mail/v4/messages/9f3b51c0-bdcb-4243-a0ee-8d49366508e7" /client userID=77d36eb8-42e4-4f5b-a2e4-4d716e709a54 time="2026-09-17T09:47:58Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 4} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" Scenario: Draft saved without "From" header # features/imap/message/drafts.feature:149 When IMAP client "1" selects "Drafts" # :1 -> *scenario And IMAP client "1" marks message 1 as deleted # :1 -> *scenario time="2026-09-17T09:47:58Z" msg="200 OK: PUT https://127.0.0.1:44185/mail/v4/messages/unlabel" /client userID=77d36eb8-42e4-4f5b-a2e4-4d716e709a54 time="2026-09-17T09:47:58Z" msg="200 OK: POST https://127.0.0.1:44185/mail/v4/messages" /client userID=77d36eb8-42e4-4f5b-a2e4-4d716e709a54 time="2026-09-17T09:47:58Z" msg="Message has been marked for deletion" addr- gluon- labels id(s)="[5 1]" mailboxID=8 messageID=9f3b51c0-bdcb-4243-a0ee-8d49366508e7 user- time="2026-09-17T09:47:58Z" msg="200 OK: PUT https://127.0.0.1:44185/mail/v4/messages/delete" /client userID=77d36eb8-42e4-4f5b-a2e4-4d716e709a54 And IMAP client "1" expunges # :1 -> *scenario And it succeeds # :1 -> *scenario time="2026-09-17T09:47:58Z" msg="Could not get import address" addr- error="no sender found in message headers" gluon- user- time="2026-09-17T09:47:58Z" msg="200 OK: POST https://127.0.0.1:44185/mail/v4/messages" /client userID=77d36eb8-42e4-4f5b-a2e4-4d716e709a54 time="2026-09-17T09:47:58Z" msg="200 OK: GET https://127.0.0.1:44185/mail/v4/messages/9d57cda3-9c8f-487f-b2f8-18c2e812d17a" /client userID=77d36eb8-42e4-4f5b-a2e4-4d716e709a54 Then IMAP client "1" appends the following message to "Drafts": # :1 -> *scenario """ Date: 01 Jan 1980 00:00:00 +0000 Subject: Draft without From Content-Type: text/plain To: someone@example.com This is a Draft without From in header """ And it succeeds # :1 -> *scenario time="2026-09-17T09:47:58Z" msg="Frontend service stopped" time="2026-09-17T09:47:58Z" msg="Frontend client stopped" time="2026-09-17T09:47:58Z" msg="Closing bridge" time="2026-09-17T09:47:58Z" msg="Stopping service" time="2026-09-17T09:47:58Z" msg="Closing user" userID=77d36eb8-42e4-4f5b-a2e4-4d716e709a54 time="2026-09-17T09:47:58Z" msg="De-registering user client, ID:77d36eb8-42e4-4f5b-a2e4-4d716e709a54" time="2026-09-17T09:47:58Z" msg="Exiting IMAP Service" time="2026-09-17T09:47:58Z" msg="Exiting service main loop" time="2026-09-17T09:47:58Z" msg="Exiting service main loop" time="2026-09-17T09:47:58Z" msg="Exiting Service" time="2026-09-17T09:47:58Z" msg="Exiting service main loop" time="2026-09-17T09:47:58Z" msg="Exiting service" time="2026-09-17T09:47:58Z" msg="Closing IMAP Listener" time="2026-09-17T09:47:58Z" msg="Closing IMAP server" time="2026-09-17T09:47:58Z" msg="Closing SMTP Listener" time="2026-09-17T09:47:58Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:47:58Z" msg="Closing SMTP server" time="2026-09-17T09:47:58Z" msg="Closing service" And IMAP client "1" eventually sees the following messages in "Drafts": # :1 -> *scenario | to | subject | body | | someone@example.com | Draft without From | This is a Draft without From in header | Feature: IMAP Fetch time="2026-09-17T09:47:58Z" msg="User 'e4a89643-8dd8-483b-a42d-5f9d9a5094b8' created with " /server/backend Background: Given there exists an account with username "e4a89643-8dd8-483b-a42d-5f9d9a5094b8" and password "password" # :1 -> *scenario And the account "e4a89643-8dd8-483b-a42d-5f9d9a5094b8" has additional address "d773f6fb-32a4-454e-8abb-cee592dd4b31@proton.local" # :1 -> *scenario And the account "e4a89643-8dd8-483b-a42d-5f9d9a5094b8" has the following custom mailboxes: # :1 -> *scenario | name | type | | mbox | folder | And the address "e4a89643-8dd8-483b-a42d-5f9d9a5094b8@proton.local" of account "e4a89643-8dd8-483b-a42d-5f9d9a5094b8" has the following messages in "Inbox": # :1 -> *scenario | from | to | subject | date | | john.doe@mail.com | e4a89643-8dd8-483b-a42d-5f9d9a5094b8@proton.local | foo | 13 Jul 69 00:00 +0000 | Then it succeeds # :1 -> *scenario time="2026-09-17T09:48:00Z" msg="Starting bridge" time="2026-09-17T09:48:00Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/084/config698358803/grpcFocusServerConfig.json /service time="2026-09-17T09:48:00Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/084/cache3447852983/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:48:00Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/084/cache3447852983/notifications/notification_cache: no such file or directory" time="2026-09-17T09:48:00Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/084/data1844318294/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/084/data1844318294/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:48:00Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:48:00Z" msg="Starting IMAP server" time="2026-09-17T09:48:00Z" msg="Starting SMTP server" time="2026-09-17T09:48:00Z" msg="Starting service" time="2026-09-17T09:48:00Z" msg="Starting service" time="2026-09-17T09:48:00Z" msg="Starting poll service" time="2026-09-17T09:48:00Z" msg="Starting frontend service" time="2026-09-17T09:48:00Z" msg="Checking for updates" time="2026-09-17T09:48:00Z" msg="Starting receiver service" time="2026-09-17T09:48:00Z" msg="Loading users" /user time="2026-09-17T09:48:00Z" msg="Finished loading users" /user time="2026-09-17T09:48:00Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/084/config698358803/grpcServerConfig.json time="2026-09-17T09:48:00Z" msg="gRPC server listening on /tmp/bridge6519" time="2026-09-17T09:48:00Z" msg="Frontend service started" time="2026-09-17T09:48:00Z" msg="Starting frontend client" time="2026-09-17T09:48:00Z" msg="Not monitoring parent PID" time="2026-09-17T09:48:00Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:48:00Z" msg="Frontend client started" When bridge starts # :1 -> *scenario time="2026-09-17T09:48:00Z" msg="Performing full user login" /user username="******** (009bf2aa)" time="2026-09-17T09:48:00Z" msg="Authorizing user for login" /user username="******** (009bf2aa)" time="2026-09-17T09:48:00Z" msg="200 OK: GET https://127.0.0.1:42635/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:48:00Z" msg="200 OK: POST https://127.0.0.1:42635/auth/v4/info" /manager time="2026-09-17T09:48:01Z" msg="200 OK: POST https://127.0.0.1:42635/auth/v4" /manager time="2026-09-17T09:48:01Z" msg="Logging in authorized user" /user userID=fc2399fd-4663-4ab5-8806-445c17958865 time="2026-09-17T09:48:01Z" msg="Adding vault user" userID=fc2399fd-4663-4ab5-8806-445c17958865 time="2026-09-17T09:48:01Z" msg="Creating new user" userID=fc2399fd-4663-4ab5-8806-445c17958865 time="2026-09-17T09:48:01Z" msg="404 GET https://127.0.0.1:42635/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:48:01Z" msg="404 GET https://127.0.0.1:42635/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:48:01Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:42635/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:48:01Z" msg="Creating user object" authUID=9b29edf0-3b58-4d61-b81a-ff6667e03aa3 numA numL userID=fc2399fd-4663-4ab5-8806-445c17958865 time="2026-09-17T09:48:01Z" msg="200 OK: GET https://127.0.0.1:42635/core/v4/events/latest" /client userID=fc2399fd-4663-4ab5-8806-445c17958865 time="2026-09-17T09:48:01Z" msg="Starting service Last EventID=Aw==" time="2026-09-17T09:48:01Z" msg="200 OK: GET https://127.0.0.1:42635/core/v4/settings" /client userID=fc2399fd-4663-4ab5-8806-445c17958865 time="2026-09-17T09:48:01Z" msg="Registering user client, ID:fc2399fd-4663-4ab5-8806-445c17958865" time="2026-09-17T09:48:01Z" msg="Starting service main loop" time="2026-09-17T09:48:01Z" msg="Starting service main loop" time="2026-09-17T09:48:01Z" msg="Starting user identity service" numA time="2026-09-17T09:48:01Z" msg="Starting service main loop" time="2026-09-17T09:48:01Z" msg="200 OK: GET https://127.0.0.1:42635/core/v4/labels?T" /client userID=fc2399fd-4663-4ab5-8806-445c17958865 time="2026-09-17T09:48:01Z" msg="200 OK: GET https://127.0.0.1:42635/core/v4/labels?T" /client userID=fc2399fd-4663-4ab5-8806-445c17958865 time="2026-09-17T09:48:01Z" msg="200 OK: GET https://127.0.0.1:42635/core/v4/labels?T" /client userID=fc2399fd-4663-4ab5-8806-445c17958865 time="2026-09-17T09:48:01Z" msg="Setting labels" labelIDs="[9 10 1 2 4 5 6 8 12 0 3 7 101a0457-764c-41f7-982b-2e6147a2ee3e]" time="2026-09-17T09:48:01Z" msg="Adding user to imap server" addrID=c7fae478-843b-4f55-9168-0368a1c7083b time="2026-09-17T09:48:01Z" msg="Creating new IMAP user" addrID=c7fae478-843b-4f55-9168-0368a1c7083b time="2026-09-17T09:48:01Z" msg="Setting gluon ID" addrID=c7fae478-843b-4f55-9168-0368a1c7083b gluonID=abe343da-1d4c-42e3-836b-e3948863286b userID=fc2399fd-4663-4ab5-8806-445c17958865 time="2026-09-17T09:48:01Z" msg="Received mailbox message count" gluonID=abe343da-1d4c-42e3-836b-e3948863286b labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:48:01Z" msg="Created new IMAP user" addrID=c7fae478-843b-4f55-9168-0368a1c7083b gluonID=abe343da-1d4c-42e3-836b-e3948863286b time="2026-09-17T09:48:01Z" msg="Validating Listener State" time="2026-09-17T09:48:01Z" time="2026-09-17T09:48:01Z" msg="Checking whether logged in user should re-sync. UserID:fc2399fd-4663-4ab5-8806-445c17958865" userID=fc2399fd-4663-4ab5-8806-445c17958865 time="2026-09-17T09:48:01Z" msg="Starting IMAP Service" And the user logs in with username "e4a89643-8dd8-483b-a42d-5f9d9a5094b8" and password "password" # :1 -> *scenario time="2026-09-17T09:48:01Z" msg="Sync triggered" time="2026-09-17T09:48:01Z" msg="Beginning user sync" start="2026-09-17 09:48:01.246380318 +0000 UTC m=+169.738682654" time="2026-09-17T09:48:01Z" msg="Syncing labels" time="2026-09-17T09:48:01Z" msg="Label not found in DB, creating mailbox." labelID=101a0457-764c-41f7-982b-2e6147a2ee3e labelPath="jm2pV8GS7FVFPTesFaU5jW/EhDgcEQCxeWTMDFRvNjU=" numberOfC /labelConflictResolver time="2026-09-17T09:48:01Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=abe343da-1d4c-42e3-836b-e3948863286b time="2026-09-17T09:48:01Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=abe343da-1d4c-42e3-836b-e3948863286b time="2026-09-17T09:48:01Z" msg="Mailbox created" /user remoteMailboxID=6 userID=abe343da-1d4c-42e3-836b-e3948863286b time="2026-09-17T09:48:01Z" msg="Mailbox created" /user remoteMailboxID=8 userID=abe343da-1d4c-42e3-836b-e3948863286b time="2026-09-17T09:48:01Z" msg="Mailbox created" /user remoteMailboxID=12 userID=abe343da-1d4c-42e3-836b-e3948863286b time="2026-09-17T09:48:01Z" msg="Mailbox created" /user remoteMailboxID=0 userID=abe343da-1d4c-42e3-836b-e3948863286b time="2026-09-17T09:48:01Z" msg="Mailbox created" /user remoteMailboxID=3 userID=abe343da-1d4c-42e3-836b-e3948863286b time="2026-09-17T09:48:01Z" msg="Mailbox created" /user remoteMailboxID=10 userID=abe343da-1d4c-42e3-836b-e3948863286b time="2026-09-17T09:48:01Z" msg="Mailbox created" /user remoteMailboxID=4 userID=abe343da-1d4c-42e3-836b-e3948863286b time="2026-09-17T09:48:01Z" msg="Mailbox created" /user remoteMailboxID=5 userID=abe343da-1d4c-42e3-836b-e3948863286b time="2026-09-17T09:48:01Z" msg="Mailbox created" /user remoteMailboxID=7 userID=abe343da-1d4c-42e3-836b-e3948863286b time="2026-09-17T09:48:01Z" msg="Mailbox created" /user remoteMailboxID=101a0457-764c-41f7-982b-2e6147a2ee3e userID=abe343da-1d4c-42e3-836b-e3948863286b time="2026-09-17T09:48:01Z" msg="Synced labels" time="2026-09-17T09:48:01Z" msg="200 OK: GET https://127.0.0.1:42635/mail/v4/messages/count" /client userID=fc2399fd-4663-4ab5-8806-445c17958865 time="2026-09-17T09:48:01Z" msg="Syncing messages" time="2026-09-17T09:48:01Z" msg="Job started" time="2026-09-17T09:48:01Z" msg="200 OK: POST https://127.0.0.1:42635/mail/v4/messages" /client userID=fc2399fd-4663-4ab5-8806-445c17958865 time="2026-09-17T09:48:01Z" msg="200 OK: POST https://127.0.0.1:42635/mail/v4/messages" /client userID=fc2399fd-4663-4ab5-8806-445c17958865 time="2026-09-17T09:48:01Z" msg="Creating new child job" time="2026-09-17T09:48:01Z" msg="Job finished" time="2026-09-17T09:48:01Z" msg="200 OK: GET https://127.0.0.1:42635/mail/v4/messages/e428b722-bcb9-4391-898d-55fcf4ff2a53" /client userID=fc2399fd-4663-4ab5-8806-445c17958865 time="2026-09-17T09:48:01Z" msg="Sending observability data." time="2026-09-17T09:48:01Z" msg="200 OK: POST https://127.0.0.1:42635/data/v1/metrics" /client userID=fc2399fd-4663-4ab5-8806-445c17958865 time="2026-09-17T09:48:01Z" msg="Successfully sent observability data." time="2026-09-17T09:48:01Z" msg="Child job finished" time="2026-09-17T09:48:01Z" msg="All child jobs completed" sync- time="2026-09-17T09:48:01Z" msg="Synced messages" time="2026-09-17T09:48:01Z" msg="Finished user sync" .489544ms time="2026-09-17T09:48:01Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:48:01Z" msg="Event loop reset" eventID="Aw==" And user "e4a89643-8dd8-483b-a42d-5f9d9a5094b8" finishes syncing # :1 -> *scenario And user "e4a89643-8dd8-483b-a42d-5f9d9a5094b8" connects and authenticates IMAP client "1" # :1 -> *scenario Then it succeeds # :1 -> *scenario Scenario: Fetch very old message # features/imap/message/fetch.feature:20 Given IMAP client "1" eventually sees the following messages in "INBOX": # :1 -> *scenario | from | to | subject | date | | john.doe@mail.com | e4a89643-8dd8-483b-a42d-5f9d9a5094b8@proton.local | foo | 13 Aug 82 00:00 +0000 | time="2026-09-17T09:48:01Z" msg="Frontend service stopped" time="2026-09-17T09:48:01Z" msg="Frontend client stopped" time="2026-09-17T09:48:01Z" msg="Closing bridge" time="2026-09-17T09:48:01Z" msg="Stopping service" time="2026-09-17T09:48:01Z" msg="Closing user" userID=fc2399fd-4663-4ab5-8806-445c17958865 time="2026-09-17T09:48:01Z" msg="De-registering user client, ID:fc2399fd-4663-4ab5-8806-445c17958865" time="2026-09-17T09:48:01Z" msg="Exiting IMAP Service" time="2026-09-17T09:48:01Z" msg="Exiting service main loop" time="2026-09-17T09:48:01Z" msg="Exiting service main loop" time="2026-09-17T09:48:01Z" msg="Exiting Service" time="2026-09-17T09:48:01Z" msg="Exiting service main loop" time="2026-09-17T09:48:01Z" msg="Exiting service" time="2026-09-17T09:48:01Z" msg="Closing IMAP Listener" time="2026-09-17T09:48:01Z" msg="Closing IMAP server" time="2026-09-17T09:48:01Z" msg="Closing SMTP Listener" time="2026-09-17T09:48:01Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:48:01Z" msg="Closing SMTP server" time="2026-09-17T09:48:01Z" msg="Closing service" Then IMAP client "1" sees header "X-Original-Date: Sun, 13 Jul 1969 00:00:00 +0000" in message with subject "foo" in "INBOX" # :1 -> *scenario time="2026-09-17T09:48:01Z" msg="User '4834733a-3851-42b8-b012-3b02df126c57' created with " /server/backend time="2026-09-17T09:48:03Z" msg="Starting bridge" time="2026-09-17T09:48:03Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/085/config3351416199/grpcFocusServerConfig.json /service time="2026-09-17T09:48:03Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/085/cache267374219/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:48:03Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/085/cache267374219/notifications/notification_cache: no such file or directory" time="2026-09-17T09:48:03Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/085/data1119978689/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/085/data1119978689/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:48:03Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:48:03Z" msg="Starting IMAP server" time="2026-09-17T09:48:03Z" msg="Starting SMTP server" time="2026-09-17T09:48:03Z" msg="Starting service" time="2026-09-17T09:48:03Z" msg="Starting service" time="2026-09-17T09:48:03Z" msg="Starting poll service" time="2026-09-17T09:48:03Z" msg="Starting frontend service" time="2026-09-17T09:48:03Z" msg="Starting receiver service" time="2026-09-17T09:48:03Z" msg="Checking for updates" time="2026-09-17T09:48:03Z" msg="Loading users" /user time="2026-09-17T09:48:03Z" msg="Finished loading users" /user time="2026-09-17T09:48:03Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/085/config3351416199/grpcServerConfig.json time="2026-09-17T09:48:03Z" msg="gRPC server listening on /tmp/bridge8911" time="2026-09-17T09:48:03Z" msg="Frontend service started" time="2026-09-17T09:48:03Z" msg="Starting frontend client" time="2026-09-17T09:48:03Z" msg="Not monitoring parent PID" time="2026-09-17T09:48:03Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:48:03Z" msg="200 OK: GET https://127.0.0.1:46579/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:48:03Z" msg="Frontend client started" time="2026-09-17T09:48:03Z" msg="Performing full user login" /user username="******** (ad882003)" time="2026-09-17T09:48:03Z" msg="Authorizing user for login" /user username="******** (ad882003)" time="2026-09-17T09:48:03Z" msg="200 OK: POST https://127.0.0.1:46579/auth/v4/info" /manager time="2026-09-17T09:48:03Z" msg="200 OK: POST https://127.0.0.1:46579/auth/v4" /manager time="2026-09-17T09:48:03Z" msg="Logging in authorized user" /user userID=7afb1a88-36c6-46e0-aab2-d4dad714e4d8 time="2026-09-17T09:48:04Z" msg="Adding vault user" userID=7afb1a88-36c6-46e0-aab2-d4dad714e4d8 time="2026-09-17T09:48:04Z" msg="Creating new user" userID=7afb1a88-36c6-46e0-aab2-d4dad714e4d8 time="2026-09-17T09:48:04Z" msg="404 GET https://127.0.0.1:46579/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:48:04Z" msg="404 GET https://127.0.0.1:46579/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:48:04Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:46579/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:48:04Z" msg="Creating user object" authUID=48d9b1bb-48a3-40d9-9399-98f3bcad9a0b numA numL userID=7afb1a88-36c6-46e0-aab2-d4dad714e4d8 time="2026-09-17T09:48:04Z" msg="200 OK: GET https://127.0.0.1:46579/core/v4/events/latest" /client userID=7afb1a88-36c6-46e0-aab2-d4dad714e4d8 time="2026-09-17T09:48:04Z" msg="Starting service Last EventID=Aw==" time="2026-09-17T09:48:04Z" msg="200 OK: GET https://127.0.0.1:46579/core/v4/settings" /client userID=7afb1a88-36c6-46e0-aab2-d4dad714e4d8 time="2026-09-17T09:48:04Z" msg="Registering user client, ID:7afb1a88-36c6-46e0-aab2-d4dad714e4d8" time="2026-09-17T09:48:04Z" msg="Starting service main loop" time="2026-09-17T09:48:04Z" msg="Starting user identity service" numA time="2026-09-17T09:48:04Z" msg="Starting service main loop" time="2026-09-17T09:48:04Z" msg="Starting service main loop" time="2026-09-17T09:48:04Z" msg="200 OK: GET https://127.0.0.1:46579/core/v4/labels?T" /client userID=7afb1a88-36c6-46e0-aab2-d4dad714e4d8 time="2026-09-17T09:48:04Z" msg="200 OK: GET https://127.0.0.1:46579/core/v4/labels?T" /client userID=7afb1a88-36c6-46e0-aab2-d4dad714e4d8 time="2026-09-17T09:48:04Z" msg="200 OK: GET https://127.0.0.1:46579/core/v4/labels?T" /client userID=7afb1a88-36c6-46e0-aab2-d4dad714e4d8 time="2026-09-17T09:48:04Z" msg="Setting labels" labelIDs="[3 5 7 9 12 0 4 6 8 10 1 2 92cdd7a9-4352-4738-aedd-8b60d45a7b06]" time="2026-09-17T09:48:04Z" msg="Adding user to imap server" addrID=b00176a0-e034-410b-9e97-3967bdcc8966 time="2026-09-17T09:48:04Z" msg="Creating new IMAP user" addrID=b00176a0-e034-410b-9e97-3967bdcc8966 time="2026-09-17T09:48:04Z" msg="Setting gluon ID" addrID=b00176a0-e034-410b-9e97-3967bdcc8966 gluonID=2858bd98-790d-493b-9af4-a45e1b0d61a4 userID=7afb1a88-36c6-46e0-aab2-d4dad714e4d8 time="2026-09-17T09:48:04Z" msg="Received mailbox message count" gluonID=2858bd98-790d-493b-9af4-a45e1b0d61a4 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:48:04Z" msg="Created new IMAP user" addrID=b00176a0-e034-410b-9e97-3967bdcc8966 gluonID=2858bd98-790d-493b-9af4-a45e1b0d61a4 time="2026-09-17T09:48:04Z" msg="Validating Listener State" time="2026-09-17T09:48:04Z" time="2026-09-17T09:48:04Z" msg="Starting IMAP Service" time="2026-09-17T09:48:04Z" msg="Checking whether logged in user should re-sync. UserID:7afb1a88-36c6-46e0-aab2-d4dad714e4d8" userID=7afb1a88-36c6-46e0-aab2-d4dad714e4d8 time="2026-09-17T09:48:04Z" msg="Sync triggered" time="2026-09-17T09:48:04Z" msg="Beginning user sync" start="2026-09-17 09:48:04.073181751 +0000 UTC m=+172.565484087" time="2026-09-17T09:48:04Z" msg="Syncing labels" time="2026-09-17T09:48:04Z" msg="Label not found in DB, creating mailbox." labelID=92cdd7a9-4352-4738-aedd-8b60d45a7b06 labelPath="jm2pV8GS7FVFPTesFaU5jW/EhDgcEQCxeWTMDFRvNjU=" numberOfC /labelConflictResolver time="2026-09-17T09:48:04Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=2858bd98-790d-493b-9af4-a45e1b0d61a4 time="2026-09-17T09:48:04Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=2858bd98-790d-493b-9af4-a45e1b0d61a4 time="2026-09-17T09:48:04Z" msg="Mailbox created" /user remoteMailboxID=4 userID=2858bd98-790d-493b-9af4-a45e1b0d61a4 time="2026-09-17T09:48:04Z" msg="Mailbox created" /user remoteMailboxID=8 userID=2858bd98-790d-493b-9af4-a45e1b0d61a4 time="2026-09-17T09:48:04Z" msg="Mailbox created" /user remoteMailboxID=10 userID=2858bd98-790d-493b-9af4-a45e1b0d61a4 time="2026-09-17T09:48:04Z" msg="Mailbox created" /user remoteMailboxID=92cdd7a9-4352-4738-aedd-8b60d45a7b06 userID=2858bd98-790d-493b-9af4-a45e1b0d61a4 time="2026-09-17T09:48:04Z" msg="Mailbox created" /user remoteMailboxID=3 userID=2858bd98-790d-493b-9af4-a45e1b0d61a4 time="2026-09-17T09:48:04Z" msg="Mailbox created" /user remoteMailboxID=5 userID=2858bd98-790d-493b-9af4-a45e1b0d61a4 time="2026-09-17T09:48:04Z" msg="Mailbox created" /user remoteMailboxID=7 userID=2858bd98-790d-493b-9af4-a45e1b0d61a4 time="2026-09-17T09:48:04Z" msg="Mailbox created" /user remoteMailboxID=12 userID=2858bd98-790d-493b-9af4-a45e1b0d61a4 time="2026-09-17T09:48:04Z" msg="Mailbox created" /user remoteMailboxID=0 userID=2858bd98-790d-493b-9af4-a45e1b0d61a4 time="2026-09-17T09:48:04Z" msg="Mailbox created" /user remoteMailboxID=6 userID=2858bd98-790d-493b-9af4-a45e1b0d61a4 time="2026-09-17T09:48:04Z" msg="Synced labels" time="2026-09-17T09:48:04Z" msg="200 OK: GET https://127.0.0.1:46579/mail/v4/messages/count" /client userID=7afb1a88-36c6-46e0-aab2-d4dad714e4d8 time="2026-09-17T09:48:04Z" msg="Syncing messages" time="2026-09-17T09:48:04Z" msg="Job started" time="2026-09-17T09:48:04Z" msg="200 OK: POST https://127.0.0.1:46579/mail/v4/messages" /client userID=7afb1a88-36c6-46e0-aab2-d4dad714e4d8 time="2026-09-17T09:48:04Z" msg="200 OK: POST https://127.0.0.1:46579/mail/v4/messages" /client userID=7afb1a88-36c6-46e0-aab2-d4dad714e4d8 time="2026-09-17T09:48:04Z" msg="Creating new child job" time="2026-09-17T09:48:04Z" msg="Job finished" time="2026-09-17T09:48:04Z" msg="200 OK: GET https://127.0.0.1:46579/mail/v4/messages/4e640922-f469-4f26-8f2b-e2f1fd723d27" /client userID=7afb1a88-36c6-46e0-aab2-d4dad714e4d8 time="2026-09-17T09:48:04Z" msg="Sending observability data." time="2026-09-17T09:48:04Z" msg="200 OK: POST https://127.0.0.1:46579/data/v1/metrics" /client userID=7afb1a88-36c6-46e0-aab2-d4dad714e4d8 time="2026-09-17T09:48:04Z" msg="Successfully sent observability data." time="2026-09-17T09:48:04Z" msg="Child job finished" time="2026-09-17T09:48:04Z" msg="All child jobs completed" sync- time="2026-09-17T09:48:04Z" msg="Synced messages" time="2026-09-17T09:48:04Z" msg="Finished user sync" .726052ms time="2026-09-17T09:48:04Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:48:04Z" msg="Event loop reset" eventID="Aw==" Scenario: Fetch from deleted cache # features/imap/message/fetch.feature:29 When the user deletes the gluon cache # :1 -> *scenario time="2026-09-17T09:48:04Z" msg="200 OK: GET https://127.0.0.1:46579/mail/v4/messages/4e640922-f469-4f26-8f2b-e2f1fd723d27" /client userID=7afb1a88-36c6-46e0-aab2-d4dad714e4d8 time="2026-09-17T09:48:04Z" msg="Frontend service stopped" time="2026-09-17T09:48:04Z" msg="Frontend client stopped" time="2026-09-17T09:48:04Z" msg="Closing bridge" time="2026-09-17T09:48:04Z" msg="Stopping service" time="2026-09-17T09:48:04Z" msg="Closing user" userID=7afb1a88-36c6-46e0-aab2-d4dad714e4d8 time="2026-09-17T09:48:04Z" msg="De-registering user client, ID:7afb1a88-36c6-46e0-aab2-d4dad714e4d8" time="2026-09-17T09:48:04Z" msg="Exiting IMAP Service" time="2026-09-17T09:48:04Z" msg="Exiting service main loop" time="2026-09-17T09:48:04Z" msg="Exiting service main loop" time="2026-09-17T09:48:04Z" msg="Exiting Service" time="2026-09-17T09:48:04Z" msg="Exiting service main loop" time="2026-09-17T09:48:04Z" msg="Exiting service" time="2026-09-17T09:48:04Z" msg="Closing IMAP Listener" time="2026-09-17T09:48:04Z" msg="Closing IMAP server" time="2026-09-17T09:48:04Z" msg="Closing SMTP Listener" time="2026-09-17T09:48:04Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:48:04Z" msg="Closing SMTP server" time="2026-09-17T09:48:04Z" msg="Closing service" Then IMAP client "1" eventually sees the following messages in "INBOX": # :1 -> *scenario | from | to | subject | date | | john.doe@mail.com | 4834733a-3851-42b8-b012-3b02df126c57@proton.local | foo | 13 Aug 82 00:00 +0000 | time="2026-09-17T09:48:04Z" msg="User '8df79011-4a0a-4d6d-928a-2a1fd786d1b8' created with " /server/backend time="2026-09-17T09:48:06Z" msg="Starting bridge" time="2026-09-17T09:48:06Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/086/config803467644/grpcFocusServerConfig.json /service time="2026-09-17T09:48:06Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/086/cache2681232294/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:48:06Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/086/cache2681232294/notifications/notification_cache: no such file or directory" time="2026-09-17T09:48:06Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/086/data4242724946/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/086/data4242724946/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:48:06Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:48:06Z" msg="Starting IMAP server" time="2026-09-17T09:48:06Z" msg="Starting SMTP server" time="2026-09-17T09:48:06Z" msg="Starting service" time="2026-09-17T09:48:06Z" msg="Starting service" time="2026-09-17T09:48:06Z" msg="Starting receiver service" time="2026-09-17T09:48:06Z" msg="Starting poll service" time="2026-09-17T09:48:06Z" msg="Checking for updates" time="2026-09-17T09:48:06Z" msg="Starting frontend service" time="2026-09-17T09:48:06Z" msg="Loading users" /user time="2026-09-17T09:48:06Z" msg="Finished loading users" /user time="2026-09-17T09:48:06Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/086/config803467644/grpcServerConfig.json time="2026-09-17T09:48:06Z" msg="gRPC server listening on /tmp/bridge2858" time="2026-09-17T09:48:06Z" msg="Frontend service started" time="2026-09-17T09:48:06Z" msg="Starting frontend client" time="2026-09-17T09:48:06Z" msg="Not monitoring parent PID" time="2026-09-17T09:48:06Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:48:06Z" msg="200 OK: GET https://127.0.0.1:37745/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:48:06Z" msg="Frontend client started" time="2026-09-17T09:48:06Z" msg="Performing full user login" /user username="******** (1bbcd8ed)" time="2026-09-17T09:48:06Z" msg="Authorizing user for login" /user username="******** (1bbcd8ed)" time="2026-09-17T09:48:06Z" msg="200 OK: POST https://127.0.0.1:37745/auth/v4/info" /manager time="2026-09-17T09:48:06Z" msg="200 OK: POST https://127.0.0.1:37745/auth/v4" /manager time="2026-09-17T09:48:06Z" msg="Logging in authorized user" /user userID=b98c0c3d-db03-425d-a337-dca6a00772ff time="2026-09-17T09:48:06Z" msg="Adding vault user" userID=b98c0c3d-db03-425d-a337-dca6a00772ff time="2026-09-17T09:48:06Z" msg="Creating new user" userID=b98c0c3d-db03-425d-a337-dca6a00772ff time="2026-09-17T09:48:06Z" msg="404 GET https://127.0.0.1:37745/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:48:06Z" msg="404 GET https://127.0.0.1:37745/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:48:06Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:37745/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:48:06Z" msg="Creating user object" authUID=786fe478-c7c1-4105-9be2-c7dd9206ac35 numA numL userID=b98c0c3d-db03-425d-a337-dca6a00772ff time="2026-09-17T09:48:06Z" msg="200 OK: GET https://127.0.0.1:37745/core/v4/events/latest" /client userID=b98c0c3d-db03-425d-a337-dca6a00772ff time="2026-09-17T09:48:06Z" msg="Starting service Last EventID=Aw==" time="2026-09-17T09:48:06Z" msg="200 OK: GET https://127.0.0.1:37745/core/v4/settings" /client userID=b98c0c3d-db03-425d-a337-dca6a00772ff time="2026-09-17T09:48:06Z" msg="Registering user client, ID:b98c0c3d-db03-425d-a337-dca6a00772ff" time="2026-09-17T09:48:06Z" msg="Starting service main loop" time="2026-09-17T09:48:06Z" msg="Starting user identity service" numA time="2026-09-17T09:48:06Z" msg="Starting service main loop" time="2026-09-17T09:48:06Z" msg="Starting service main loop" time="2026-09-17T09:48:06Z" msg="200 OK: GET https://127.0.0.1:37745/core/v4/labels?T" /client userID=b98c0c3d-db03-425d-a337-dca6a00772ff time="2026-09-17T09:48:06Z" msg="200 OK: GET https://127.0.0.1:37745/core/v4/labels?T" /client userID=b98c0c3d-db03-425d-a337-dca6a00772ff time="2026-09-17T09:48:06Z" msg="200 OK: GET https://127.0.0.1:37745/core/v4/labels?T" /client userID=b98c0c3d-db03-425d-a337-dca6a00772ff time="2026-09-17T09:48:06Z" msg="Setting labels" labelIDs="[8 10 12 1 3 4 5 9 0 2 6 7 2f1ba756-f9a8-4a42-917d-19f0d61d205f]" time="2026-09-17T09:48:06Z" msg="Adding user to imap server" addrID=91d6fe26-7d1f-4476-b85b-5fd904c7cb4b time="2026-09-17T09:48:06Z" msg="Creating new IMAP user" addrID=91d6fe26-7d1f-4476-b85b-5fd904c7cb4b time="2026-09-17T09:48:06Z" msg="Setting gluon ID" addrID=91d6fe26-7d1f-4476-b85b-5fd904c7cb4b gluonID=ebfb3ab7-e058-497f-ad25-6e6ac8de72ac userID=b98c0c3d-db03-425d-a337-dca6a00772ff time="2026-09-17T09:48:06Z" msg="Received mailbox message count" gluonID=ebfb3ab7-e058-497f-ad25-6e6ac8de72ac labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:48:06Z" msg="Created new IMAP user" addrID=91d6fe26-7d1f-4476-b85b-5fd904c7cb4b gluonID=ebfb3ab7-e058-497f-ad25-6e6ac8de72ac time="2026-09-17T09:48:06Z" msg="Validating Listener State" time="2026-09-17T09:48:06Z" time="2026-09-17T09:48:06Z" msg="Checking whether logged in user should re-sync. UserID:b98c0c3d-db03-425d-a337-dca6a00772ff" userID=b98c0c3d-db03-425d-a337-dca6a00772ff time="2026-09-17T09:48:06Z" msg="Starting IMAP Service" time="2026-09-17T09:48:06Z" msg="Sync triggered" time="2026-09-17T09:48:06Z" msg="Beginning user sync" start="2026-09-17 09:48:06.877524728 +0000 UTC m=+175.369827144" time="2026-09-17T09:48:06Z" msg="Syncing labels" time="2026-09-17T09:48:06Z" msg="Label not found in DB, creating mailbox." labelID=2f1ba756-f9a8-4a42-917d-19f0d61d205f labelPath="jm2pV8GS7FVFPTesFaU5jW/EhDgcEQCxeWTMDFRvNjU=" numberOfC /labelConflictResolver time="2026-09-17T09:48:06Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=ebfb3ab7-e058-497f-ad25-6e6ac8de72ac time="2026-09-17T09:48:06Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=ebfb3ab7-e058-497f-ad25-6e6ac8de72ac time="2026-09-17T09:48:06Z" msg="Mailbox created" /user remoteMailboxID=12 userID=ebfb3ab7-e058-497f-ad25-6e6ac8de72ac time="2026-09-17T09:48:06Z" msg="Mailbox created" /user remoteMailboxID=3 userID=ebfb3ab7-e058-497f-ad25-6e6ac8de72ac time="2026-09-17T09:48:06Z" msg="Mailbox created" /user remoteMailboxID=4 userID=ebfb3ab7-e058-497f-ad25-6e6ac8de72ac time="2026-09-17T09:48:06Z" msg="Mailbox created" /user remoteMailboxID=5 userID=ebfb3ab7-e058-497f-ad25-6e6ac8de72ac time="2026-09-17T09:48:06Z" msg="Mailbox created" /user remoteMailboxID=0 userID=ebfb3ab7-e058-497f-ad25-6e6ac8de72ac time="2026-09-17T09:48:06Z" msg="Mailbox created" /user remoteMailboxID=7 userID=ebfb3ab7-e058-497f-ad25-6e6ac8de72ac time="2026-09-17T09:48:06Z" msg="Mailbox created" /user remoteMailboxID=10 userID=ebfb3ab7-e058-497f-ad25-6e6ac8de72ac time="2026-09-17T09:48:06Z" msg="Mailbox created" /user remoteMailboxID=6 userID=ebfb3ab7-e058-497f-ad25-6e6ac8de72ac time="2026-09-17T09:48:06Z" msg="Mailbox created" /user remoteMailboxID=2f1ba756-f9a8-4a42-917d-19f0d61d205f userID=ebfb3ab7-e058-497f-ad25-6e6ac8de72ac time="2026-09-17T09:48:06Z" msg="Mailbox created" /user remoteMailboxID=8 userID=ebfb3ab7-e058-497f-ad25-6e6ac8de72ac time="2026-09-17T09:48:06Z" msg="Synced labels" time="2026-09-17T09:48:06Z" msg="200 OK: GET https://127.0.0.1:37745/mail/v4/messages/count" /client userID=b98c0c3d-db03-425d-a337-dca6a00772ff time="2026-09-17T09:48:06Z" msg="Syncing messages" time="2026-09-17T09:48:06Z" msg="Job started" time="2026-09-17T09:48:06Z" msg="200 OK: POST https://127.0.0.1:37745/mail/v4/messages" /client userID=b98c0c3d-db03-425d-a337-dca6a00772ff time="2026-09-17T09:48:06Z" msg="200 OK: POST https://127.0.0.1:37745/mail/v4/messages" /client userID=b98c0c3d-db03-425d-a337-dca6a00772ff time="2026-09-17T09:48:06Z" msg="Creating new child job" time="2026-09-17T09:48:06Z" msg="Job finished" time="2026-09-17T09:48:06Z" msg="200 OK: GET https://127.0.0.1:37745/mail/v4/messages/c32442e7-62fe-4cdb-8752-7780cebeb6c2" /client userID=b98c0c3d-db03-425d-a337-dca6a00772ff time="2026-09-17T09:48:06Z" msg="Sending observability data." time="2026-09-17T09:48:06Z" msg="200 OK: POST https://127.0.0.1:37745/data/v1/metrics" /client userID=b98c0c3d-db03-425d-a337-dca6a00772ff time="2026-09-17T09:48:06Z" msg="Successfully sent observability data." time="2026-09-17T09:48:06Z" msg="Child job finished" time="2026-09-17T09:48:06Z" msg="All child jobs completed" sync- time="2026-09-17T09:48:06Z" msg="Synced messages" time="2026-09-17T09:48:06Z" msg="Finished user sync" .398014ms time="2026-09-17T09:48:06Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:48:06Z" msg="Event loop reset" eventID="Aw==" time="2026-09-17T09:48:07Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 5} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" Scenario: Fetch messages sent from Web Client # features/imap/message/fetch.feature:35 When the address "8df79011-4a0a-4d6d-928a-2a1fd786d1b8@proton.local" of account "8df79011-4a0a-4d6d-928a-2a1fd786d1b8" has the following messages in "Sent": # :1 -> *scenario | from | to | subject | | 8df79011-4a0a-4d6d-928a-2a1fd786d1b8@proton.local | john.doe@mail.com | foo | time="2026-09-17T09:48:07Z" msg="200 OK: GET https://127.0.0.1:37745/core/v4/events/Aw==" /client userID=b98c0c3d-db03-425d-a337-dca6a00772ff time="2026-09-17T09:48:07Z" msg="Received new API event" new="Event BA==: messages: , , " old="Aw==" time="2026-09-17T09:48:07Z" msg="Handling message created event" messageID=f2ba9e27-6fca-49e8-a504-b87f0981d199 subject="******** (2c26b46b)" time="2026-09-17T09:48:07Z" msg="200 OK: GET https://127.0.0.1:37745/mail/v4/messages/f2ba9e27-6fca-49e8-a504-b87f0981d199" /client userID=b98c0c3d-db03-425d-a337-dca6a00772ff time="2026-09-17T09:48:07Z" msg="Frontend service stopped" time="2026-09-17T09:48:07Z" msg="Frontend client stopped" time="2026-09-17T09:48:07Z" msg="Closing bridge" time="2026-09-17T09:48:07Z" msg="Stopping service" time="2026-09-17T09:48:07Z" msg="Closing user" userID=b98c0c3d-db03-425d-a337-dca6a00772ff time="2026-09-17T09:48:07Z" msg="De-registering user client, ID:b98c0c3d-db03-425d-a337-dca6a00772ff" time="2026-09-17T09:48:07Z" msg="Exiting IMAP Service" time="2026-09-17T09:48:07Z" msg="Exiting service main loop" time="2026-09-17T09:48:07Z" msg="Exiting service main loop" time="2026-09-17T09:48:07Z" msg="Exiting Service" time="2026-09-17T09:48:07Z" msg="Exiting service main loop" time="2026-09-17T09:48:07Z" msg="Exiting service" time="2026-09-17T09:48:07Z" msg="Closing IMAP Listener" time="2026-09-17T09:48:07Z" msg="Closing IMAP server" time="2026-09-17T09:48:07Z" msg="Closing SMTP Listener" time="2026-09-17T09:48:07Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:48:07Z" msg="Closing SMTP server" time="2026-09-17T09:48:07Z" msg="Closing service" Then IMAP client "1" eventually sees the following messages in "Sent": # :1 -> *scenario | from | to | subject | | 8df79011-4a0a-4d6d-928a-2a1fd786d1b8@proton.local | john.doe@mail.com | foo | Feature: IMAP import messages time="2026-09-17T09:48:08Z" msg="User 'a8e4beda-cee2-4701-8e0e-a3777910d2cf' created with " /server/backend Background: Given there exists an account with username "a8e4beda-cee2-4701-8e0e-a3777910d2cf" and password "password" # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:48:08Z" msg="Starting bridge" time="2026-09-17T09:48:08Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/087/config3501091754/grpcFocusServerConfig.json /service time="2026-09-17T09:48:08Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/087/cache3511932548/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:48:08Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/087/cache3511932548/notifications/notification_cache: no such file or directory" time="2026-09-17T09:48:08Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/087/data1610272374/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/087/data1610272374/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:48:08Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:48:08Z" msg="Starting IMAP server" time="2026-09-17T09:48:08Z" msg="Starting SMTP server" time="2026-09-17T09:48:08Z" msg="Starting service" time="2026-09-17T09:48:08Z" msg="Starting service" time="2026-09-17T09:48:08Z" msg="Starting poll service" time="2026-09-17T09:48:08Z" msg="Starting receiver service" time="2026-09-17T09:48:08Z" msg="Starting frontend service" time="2026-09-17T09:48:08Z" msg="Loading users" /user time="2026-09-17T09:48:08Z" msg="Finished loading users" /user time="2026-09-17T09:48:08Z" msg="Checking for updates" time="2026-09-17T09:48:08Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/087/config3501091754/grpcServerConfig.json time="2026-09-17T09:48:08Z" msg="gRPC server listening on /tmp/bridge6280" time="2026-09-17T09:48:08Z" msg="Frontend service started" time="2026-09-17T09:48:08Z" msg="Starting frontend client" time="2026-09-17T09:48:08Z" msg="Not monitoring parent PID" time="2026-09-17T09:48:08Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:48:08Z" msg="200 OK: GET https://127.0.0.1:34809/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:48:08Z" msg="Frontend client started" When bridge starts # :1 -> *scenario time="2026-09-17T09:48:08Z" msg="Performing full user login" /user username="******** (0e4caf37)" time="2026-09-17T09:48:08Z" msg="Authorizing user for login" /user username="******** (0e4caf37)" time="2026-09-17T09:48:08Z" msg="200 OK: POST https://127.0.0.1:34809/auth/v4/info" /manager time="2026-09-17T09:48:08Z" msg="200 OK: POST https://127.0.0.1:34809/auth/v4" /manager time="2026-09-17T09:48:08Z" msg="Logging in authorized user" /user userID=18e5dfc4-21d9-4148-9fdc-753e03a5c2fa time="2026-09-17T09:48:08Z" msg="Adding vault user" userID=18e5dfc4-21d9-4148-9fdc-753e03a5c2fa time="2026-09-17T09:48:08Z" msg="Creating new user" userID=18e5dfc4-21d9-4148-9fdc-753e03a5c2fa time="2026-09-17T09:48:08Z" msg="404 GET https://127.0.0.1:34809/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:48:08Z" msg="404 GET https://127.0.0.1:34809/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:48:08Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:34809/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:48:08Z" msg="Creating user object" authUID=67509e46-058c-41ba-9a11-42df14a41ba9 numA numL userID=18e5dfc4-21d9-4148-9fdc-753e03a5c2fa time="2026-09-17T09:48:08Z" msg="200 OK: GET https://127.0.0.1:34809/core/v4/events/latest" /client userID=18e5dfc4-21d9-4148-9fdc-753e03a5c2fa time="2026-09-17T09:48:08Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:48:08Z" msg="200 OK: GET https://127.0.0.1:34809/core/v4/settings" /client userID=18e5dfc4-21d9-4148-9fdc-753e03a5c2fa time="2026-09-17T09:48:08Z" msg="Registering user client, ID:18e5dfc4-21d9-4148-9fdc-753e03a5c2fa" time="2026-09-17T09:48:08Z" msg="Starting service main loop" time="2026-09-17T09:48:08Z" msg="Starting service main loop" time="2026-09-17T09:48:08Z" msg="Starting user identity service" numA time="2026-09-17T09:48:08Z" msg="Starting service main loop" time="2026-09-17T09:48:08Z" msg="200 OK: GET https://127.0.0.1:34809/core/v4/labels?T" /client userID=18e5dfc4-21d9-4148-9fdc-753e03a5c2fa time="2026-09-17T09:48:08Z" msg="200 OK: GET https://127.0.0.1:34809/core/v4/labels?T" /client userID=18e5dfc4-21d9-4148-9fdc-753e03a5c2fa time="2026-09-17T09:48:08Z" msg="200 OK: GET https://127.0.0.1:34809/core/v4/labels?T" /client userID=18e5dfc4-21d9-4148-9fdc-753e03a5c2fa time="2026-09-17T09:48:08Z" msg="Setting labels" labelIDs="[1 3 4 5 12 0 2 6 7 8 9 10]" time="2026-09-17T09:48:08Z" msg="Adding user to imap server" addrID=6e1fc939-952f-4a8c-8705-da2327a272fc time="2026-09-17T09:48:08Z" msg="Creating new IMAP user" addrID=6e1fc939-952f-4a8c-8705-da2327a272fc time="2026-09-17T09:48:08Z" msg="Setting gluon ID" addrID=6e1fc939-952f-4a8c-8705-da2327a272fc gluonID=f668c828-c765-410f-af36-14a1eac8af40 userID=18e5dfc4-21d9-4148-9fdc-753e03a5c2fa time="2026-09-17T09:48:08Z" msg="Received mailbox message count" gluonID=f668c828-c765-410f-af36-14a1eac8af40 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:48:08Z" msg="Created new IMAP user" addrID=6e1fc939-952f-4a8c-8705-da2327a272fc gluonID=f668c828-c765-410f-af36-14a1eac8af40 time="2026-09-17T09:48:08Z" msg="Validating Listener State" time="2026-09-17T09:48:08Z" time="2026-09-17T09:48:08Z" msg="Checking whether logged in user should re-sync. UserID:18e5dfc4-21d9-4148-9fdc-753e03a5c2fa" userID=18e5dfc4-21d9-4148-9fdc-753e03a5c2fa And the user logs in with username "a8e4beda-cee2-4701-8e0e-a3777910d2cf" and password "password" # :1 -> *scenario time="2026-09-17T09:48:08Z" msg="Starting IMAP Service" time="2026-09-17T09:48:08Z" msg="Sync triggered" time="2026-09-17T09:48:08Z" msg="Beginning user sync" start="2026-09-17 09:48:08.994946884 +0000 UTC m=+177.487249180" time="2026-09-17T09:48:08Z" msg="Syncing labels" time="2026-09-17T09:48:08Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=f668c828-c765-410f-af36-14a1eac8af40 time="2026-09-17T09:48:08Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=f668c828-c765-410f-af36-14a1eac8af40 time="2026-09-17T09:48:08Z" msg="Mailbox created" /user remoteMailboxID=10 userID=f668c828-c765-410f-af36-14a1eac8af40 time="2026-09-17T09:48:09Z" msg="Mailbox created" /user remoteMailboxID=4 userID=f668c828-c765-410f-af36-14a1eac8af40 time="2026-09-17T09:48:09Z" msg="Mailbox created" /user remoteMailboxID=12 userID=f668c828-c765-410f-af36-14a1eac8af40 time="2026-09-17T09:48:09Z" msg="Mailbox created" /user remoteMailboxID=0 userID=f668c828-c765-410f-af36-14a1eac8af40 time="2026-09-17T09:48:09Z" msg="Mailbox created" /user remoteMailboxID=6 userID=f668c828-c765-410f-af36-14a1eac8af40 time="2026-09-17T09:48:09Z" msg="Mailbox created" /user remoteMailboxID=8 userID=f668c828-c765-410f-af36-14a1eac8af40 time="2026-09-17T09:48:09Z" msg="Mailbox created" /user remoteMailboxID=3 userID=f668c828-c765-410f-af36-14a1eac8af40 time="2026-09-17T09:48:09Z" msg="Mailbox created" /user remoteMailboxID=5 userID=f668c828-c765-410f-af36-14a1eac8af40 time="2026-09-17T09:48:09Z" msg="Mailbox created" /user remoteMailboxID=7 userID=f668c828-c765-410f-af36-14a1eac8af40 time="2026-09-17T09:48:09Z" msg="Synced labels" time="2026-09-17T09:48:09Z" msg="200 OK: GET https://127.0.0.1:34809/mail/v4/messages/count" /client userID=18e5dfc4-21d9-4148-9fdc-753e03a5c2fa time="2026-09-17T09:48:09Z" msg="Syncing messages" time="2026-09-17T09:48:09Z" msg="Job started" time="2026-09-17T09:48:09Z" msg="200 OK: POST https://127.0.0.1:34809/mail/v4/messages" /client userID=18e5dfc4-21d9-4148-9fdc-753e03a5c2fa time="2026-09-17T09:48:09Z" msg="Job finished" time="2026-09-17T09:48:09Z" msg="All child jobs completed" sync- time="2026-09-17T09:48:09Z" msg="Synced messages" time="2026-09-17T09:48:09Z" msg="Finished user sync" .037209ms time="2026-09-17T09:48:09Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:48:09Z" msg="Event loop reset" eventID="AA==" And user "a8e4beda-cee2-4701-8e0e-a3777910d2cf" finishes syncing # :1 -> *scenario And user "a8e4beda-cee2-4701-8e0e-a3777910d2cf" connects and authenticates IMAP client "1"# :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:48:09Z" msg="200 OK: POST https://127.0.0.1:34809/mail/v4/messages/import" /client userID=18e5dfc4-21d9-4148-9fdc-753e03a5c2fa time="2026-09-17T09:48:09Z" msg="200 OK: GET https://127.0.0.1:34809/mail/v4/messages/f9b52a7b-9cf6-4beb-bdf5-fcfe87c74bb6" /client userID=18e5dfc4-21d9-4148-9fdc-753e03a5c2fa Scenario: Basic message import # features/imap/message/import.feature:11 When IMAP client "1" appends the following message to "INBOX": # :1 -> *scenario """ From: Bridge Test Date: 01 Jan 1980 00:00:00 +0000 To: Internal Bridge Received: by 2002:0:0:0:0:0:0:0 with SMTP id 0123456789abcdef; Wed, 30 Dec 2020 01:23:45 0000 Subject: Basic text/plain message Content-Type: text/plain Hello """ Then it succeeds # :1 -> *scenario time="2026-09-17T09:48:09Z" msg="Frontend service stopped" time="2026-09-17T09:48:09Z" msg="Frontend client stopped" time="2026-09-17T09:48:09Z" msg="Closing bridge" time="2026-09-17T09:48:09Z" msg="Stopping service" time="2026-09-17T09:48:09Z" msg="Closing user" userID=18e5dfc4-21d9-4148-9fdc-753e03a5c2fa time="2026-09-17T09:48:09Z" msg="De-registering user client, ID:18e5dfc4-21d9-4148-9fdc-753e03a5c2fa" time="2026-09-17T09:48:09Z" msg="Exiting IMAP Service" time="2026-09-17T09:48:09Z" msg="Exiting service main loop" time="2026-09-17T09:48:09Z" msg="Exiting service main loop" time="2026-09-17T09:48:09Z" msg="Exiting Service" time="2026-09-17T09:48:09Z" msg="Exiting service main loop" time="2026-09-17T09:48:09Z" msg="Exiting service" time="2026-09-17T09:48:09Z" msg="Closing IMAP Listener" time="2026-09-17T09:48:09Z" msg="Closing IMAP server" time="2026-09-17T09:48:09Z" msg="Closing SMTP Listener" time="2026-09-17T09:48:09Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:48:09Z" msg="Closing SMTP server" time="2026-09-17T09:48:09Z" msg="Closing service" And IMAP client "1" eventually sees the following message in "INBOX" with this structure: # :1 -> *scenario """ { "from": "Bridge Test ", "date": "01 Jan 80 00:00 +0000", "to": "Internal Bridge ", "subject": "Basic text/plain message", "content": { "content-type": "text/plain", "body-is": "Hello" } } """ time="2026-09-17T09:48:09Z" msg="User 'ed90c8b1-aee9-4717-a59f-cf585130d58f' created with " /server/backend time="2026-09-17T09:48:09Z" msg="Starting bridge" time="2026-09-17T09:48:09Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/088/config2943114680/grpcFocusServerConfig.json /service time="2026-09-17T09:48:09Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/088/cache1168929087/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:48:09Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/088/cache1168929087/notifications/notification_cache: no such file or directory" time="2026-09-17T09:48:09Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/088/data3102352780/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/088/data3102352780/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:48:09Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:48:09Z" msg="Starting IMAP server" time="2026-09-17T09:48:09Z" msg="Starting SMTP server" time="2026-09-17T09:48:09Z" msg="Starting service" time="2026-09-17T09:48:09Z" msg="Starting service" time="2026-09-17T09:48:09Z" msg="Starting poll service" time="2026-09-17T09:48:09Z" msg="Loading users" /user time="2026-09-17T09:48:09Z" msg="Finished loading users" /user time="2026-09-17T09:48:09Z" msg="Starting receiver service" time="2026-09-17T09:48:09Z" msg="Starting frontend service" time="2026-09-17T09:48:09Z" msg="Checking for updates" time="2026-09-17T09:48:09Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/088/config2943114680/grpcServerConfig.json time="2026-09-17T09:48:09Z" msg="gRPC server listening on /tmp/bridge1216" time="2026-09-17T09:48:09Z" msg="Frontend service started" time="2026-09-17T09:48:09Z" msg="Starting frontend client" time="2026-09-17T09:48:09Z" msg="Not monitoring parent PID" time="2026-09-17T09:48:09Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:48:09Z" msg="Frontend client started" time="2026-09-17T09:48:09Z" msg="200 OK: GET https://127.0.0.1:37229/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:48:09Z" msg="Performing full user login" /user username="******** (ebf131c1)" time="2026-09-17T09:48:09Z" msg="Authorizing user for login" /user username="******** (ebf131c1)" time="2026-09-17T09:48:09Z" msg="200 OK: POST https://127.0.0.1:37229/auth/v4/info" /manager time="2026-09-17T09:48:10Z" msg="200 OK: POST https://127.0.0.1:37229/auth/v4" /manager time="2026-09-17T09:48:10Z" msg="Logging in authorized user" /user userID=d4da47d9-c255-4b3f-b69f-3acd16dd53a4 time="2026-09-17T09:48:10Z" msg="Adding vault user" userID=d4da47d9-c255-4b3f-b69f-3acd16dd53a4 time="2026-09-17T09:48:10Z" msg="Creating new user" userID=d4da47d9-c255-4b3f-b69f-3acd16dd53a4 time="2026-09-17T09:48:10Z" msg="404 GET https://127.0.0.1:37229/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:48:10Z" msg="404 GET https://127.0.0.1:37229/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:48:10Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:37229/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:48:10Z" msg="Creating user object" authUID=92c9f7e9-740f-4d26-a0e3-8701884cb5d6 numA numL userID=d4da47d9-c255-4b3f-b69f-3acd16dd53a4 time="2026-09-17T09:48:10Z" msg="200 OK: GET https://127.0.0.1:37229/core/v4/events/latest" /client userID=d4da47d9-c255-4b3f-b69f-3acd16dd53a4 time="2026-09-17T09:48:10Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:48:10Z" msg="200 OK: GET https://127.0.0.1:37229/core/v4/settings" /client userID=d4da47d9-c255-4b3f-b69f-3acd16dd53a4 time="2026-09-17T09:48:10Z" msg="Registering user client, ID:d4da47d9-c255-4b3f-b69f-3acd16dd53a4" time="2026-09-17T09:48:10Z" msg="Starting service main loop" time="2026-09-17T09:48:10Z" msg="Starting user identity service" numA time="2026-09-17T09:48:10Z" msg="Starting service main loop" time="2026-09-17T09:48:10Z" msg="Starting service main loop" time="2026-09-17T09:48:10Z" msg="200 OK: GET https://127.0.0.1:37229/core/v4/labels?T" /client userID=d4da47d9-c255-4b3f-b69f-3acd16dd53a4 time="2026-09-17T09:48:10Z" msg="200 OK: GET https://127.0.0.1:37229/core/v4/labels?T" /client userID=d4da47d9-c255-4b3f-b69f-3acd16dd53a4 time="2026-09-17T09:48:10Z" msg="200 OK: GET https://127.0.0.1:37229/core/v4/labels?T" /client userID=d4da47d9-c255-4b3f-b69f-3acd16dd53a4 time="2026-09-17T09:48:10Z" msg="Setting labels" labelIDs="[0 1 7 10 12 2 3 4 5 6 8 9]" time="2026-09-17T09:48:10Z" msg="Adding user to imap server" addrID=7cd1379e-c59d-4b2d-bf64-12c5f0d328b1 time="2026-09-17T09:48:10Z" msg="Creating new IMAP user" addrID=7cd1379e-c59d-4b2d-bf64-12c5f0d328b1 time="2026-09-17T09:48:10Z" msg="Setting gluon ID" addrID=7cd1379e-c59d-4b2d-bf64-12c5f0d328b1 gluonID=cdf8472e-3929-4ec1-911b-ab44895d0cf9 userID=d4da47d9-c255-4b3f-b69f-3acd16dd53a4 time="2026-09-17T09:48:10Z" msg="Received mailbox message count" gluonID=cdf8472e-3929-4ec1-911b-ab44895d0cf9 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:48:10Z" msg="Created new IMAP user" addrID=7cd1379e-c59d-4b2d-bf64-12c5f0d328b1 gluonID=cdf8472e-3929-4ec1-911b-ab44895d0cf9 time="2026-09-17T09:48:10Z" msg="Validating Listener State" time="2026-09-17T09:48:10Z" time="2026-09-17T09:48:10Z" msg="Checking whether logged in user should re-sync. UserID:d4da47d9-c255-4b3f-b69f-3acd16dd53a4" userID=d4da47d9-c255-4b3f-b69f-3acd16dd53a4 time="2026-09-17T09:48:10Z" msg="Starting IMAP Service" time="2026-09-17T09:48:10Z" msg="Sync triggered" time="2026-09-17T09:48:10Z" msg="Beginning user sync" start="2026-09-17 09:48:10.209384028 +0000 UTC m=+178.701686324" time="2026-09-17T09:48:10Z" msg="Syncing labels" time="2026-09-17T09:48:10Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=cdf8472e-3929-4ec1-911b-ab44895d0cf9 time="2026-09-17T09:48:10Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=cdf8472e-3929-4ec1-911b-ab44895d0cf9 time="2026-09-17T09:48:10Z" msg="Mailbox created" /user remoteMailboxID=7 userID=cdf8472e-3929-4ec1-911b-ab44895d0cf9 time="2026-09-17T09:48:10Z" msg="Mailbox created" /user remoteMailboxID=12 userID=cdf8472e-3929-4ec1-911b-ab44895d0cf9 time="2026-09-17T09:48:10Z" msg="Mailbox created" /user remoteMailboxID=3 userID=cdf8472e-3929-4ec1-911b-ab44895d0cf9 time="2026-09-17T09:48:10Z" msg="Mailbox created" /user remoteMailboxID=4 userID=cdf8472e-3929-4ec1-911b-ab44895d0cf9 time="2026-09-17T09:48:10Z" msg="Mailbox created" /user remoteMailboxID=5 userID=cdf8472e-3929-4ec1-911b-ab44895d0cf9 time="2026-09-17T09:48:10Z" msg="Mailbox created" /user remoteMailboxID=6 userID=cdf8472e-3929-4ec1-911b-ab44895d0cf9 time="2026-09-17T09:48:10Z" msg="Mailbox created" /user remoteMailboxID=0 userID=cdf8472e-3929-4ec1-911b-ab44895d0cf9 time="2026-09-17T09:48:10Z" msg="Mailbox created" /user remoteMailboxID=10 userID=cdf8472e-3929-4ec1-911b-ab44895d0cf9 time="2026-09-17T09:48:10Z" msg="Mailbox created" /user remoteMailboxID=8 userID=cdf8472e-3929-4ec1-911b-ab44895d0cf9 time="2026-09-17T09:48:10Z" msg="Synced labels" time="2026-09-17T09:48:10Z" msg="200 OK: GET https://127.0.0.1:37229/mail/v4/messages/count" /client userID=d4da47d9-c255-4b3f-b69f-3acd16dd53a4 time="2026-09-17T09:48:10Z" msg="Syncing messages" time="2026-09-17T09:48:10Z" msg="Job started" time="2026-09-17T09:48:10Z" msg="200 OK: POST https://127.0.0.1:37229/mail/v4/messages" /client userID=d4da47d9-c255-4b3f-b69f-3acd16dd53a4 time="2026-09-17T09:48:10Z" msg="Job finished" time="2026-09-17T09:48:10Z" msg="All child jobs completed" sync- time="2026-09-17T09:48:10Z" msg="Synced messages" time="2026-09-17T09:48:10Z" msg="Finished user sync" .181529ms time="2026-09-17T09:48:10Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:48:10Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:48:10Z" msg="200 OK: POST https://127.0.0.1:37229/mail/v4/messages/import" /client userID=d4da47d9-c255-4b3f-b69f-3acd16dd53a4 time="2026-09-17T09:48:10Z" msg="200 OK: GET https://127.0.0.1:37229/mail/v4/messages/2d4f089d-00d3-42df-800f-c338fc88fee9" /client userID=d4da47d9-c255-4b3f-b69f-3acd16dd53a4 Scenario: Import message with double charset in content type # features/imap/message/import.feature:38 When IMAP client "1" appends the following message to "INBOX": # :1 -> *scenario """ From: Bridge Test Date: 01 Jan 1980 00:00:00 +0000 To: Internal Bridge Subject: Message with double charset in content type Content-Type: text/plain; Content-Disposition: inline Received: by 2002:0:0:0:0:0:0:0 with SMTP id 0123456789abcdef; Wed, 30 Dec 2020 01:23:45 0000 Hello """ Then it succeeds # :1 -> *scenario time="2026-09-17T09:48:10Z" msg="Frontend service stopped" time="2026-09-17T09:48:10Z" msg="Frontend client stopped" time="2026-09-17T09:48:10Z" msg="Closing bridge" time="2026-09-17T09:48:10Z" msg="Stopping service" time="2026-09-17T09:48:10Z" msg="Closing user" userID=d4da47d9-c255-4b3f-b69f-3acd16dd53a4 time="2026-09-17T09:48:10Z" msg="De-registering user client, ID:d4da47d9-c255-4b3f-b69f-3acd16dd53a4" time="2026-09-17T09:48:10Z" msg="Exiting IMAP Service" time="2026-09-17T09:48:10Z" msg="Exiting service main loop" time="2026-09-17T09:48:10Z" msg="Exiting service main loop" time="2026-09-17T09:48:10Z" msg="Exiting Service" time="2026-09-17T09:48:10Z" msg="Exiting service main loop" time="2026-09-17T09:48:10Z" msg="Exiting service" time="2026-09-17T09:48:10Z" msg="Closing IMAP Listener" time="2026-09-17T09:48:10Z" msg="Closing IMAP server" time="2026-09-17T09:48:10Z" msg="Closing SMTP Listener" time="2026-09-17T09:48:10Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:48:10Z" msg="Closing SMTP server" time="2026-09-17T09:48:10Z" msg="Closing service" And IMAP client "1" eventually sees the following message in "INBOX" with this structure: # :1 -> *scenario """ { "from": "Bridge Test ", "date": "01 Jan 80 00:00 +0000", "to": "Internal Bridge ", "subject": "Message with double charset in content type", "content": { "content-type": "text/plain", "content-type-charset": "utf-8", "content-disposition": "", "transfer-encoding": "quoted-printable", "body-is": "Hello" } } """ time="2026-09-17T09:48:10Z" msg="User '8dae84e1-d358-4ec4-a265-4b3e922c84a1' created with " /server/backend time="2026-09-17T09:48:10Z" msg="Starting bridge" time="2026-09-17T09:48:10Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/089/config257077367/grpcFocusServerConfig.json /service time="2026-09-17T09:48:10Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/089/cache2587143283/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:48:10Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/089/cache2587143283/notifications/notification_cache: no such file or directory" time="2026-09-17T09:48:10Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/089/data1274250490/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/089/data1274250490/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:48:10Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:48:10Z" msg="Starting IMAP server" time="2026-09-17T09:48:10Z" msg="Starting SMTP server" time="2026-09-17T09:48:10Z" msg="Starting service" time="2026-09-17T09:48:10Z" msg="Starting service" time="2026-09-17T09:48:10Z" msg="Starting receiver service" time="2026-09-17T09:48:10Z" msg="Starting poll service" time="2026-09-17T09:48:10Z" msg="Starting frontend service" time="2026-09-17T09:48:10Z" msg="Checking for updates" time="2026-09-17T09:48:10Z" msg="Loading users" /user time="2026-09-17T09:48:10Z" msg="Finished loading users" /user time="2026-09-17T09:48:10Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/089/config257077367/grpcServerConfig.json time="2026-09-17T09:48:10Z" msg="gRPC server listening on /tmp/bridge0122" time="2026-09-17T09:48:10Z" msg="Frontend service started" time="2026-09-17T09:48:10Z" msg="Starting frontend client" time="2026-09-17T09:48:10Z" msg="Not monitoring parent PID" time="2026-09-17T09:48:10Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:48:10Z" msg="Frontend client started" time="2026-09-17T09:48:10Z" msg="200 OK: GET https://127.0.0.1:46063/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:48:10Z" msg="Performing full user login" /user username="******** (3fd1519c)" time="2026-09-17T09:48:10Z" msg="Authorizing user for login" /user username="******** (3fd1519c)" time="2026-09-17T09:48:10Z" msg="200 OK: POST https://127.0.0.1:46063/auth/v4/info" /manager time="2026-09-17T09:48:11Z" msg="200 OK: POST https://127.0.0.1:46063/auth/v4" /manager time="2026-09-17T09:48:11Z" msg="Logging in authorized user" /user userID=51e42aa3-f2a5-42a7-b98b-d60081c0760e time="2026-09-17T09:48:11Z" msg="Adding vault user" userID=51e42aa3-f2a5-42a7-b98b-d60081c0760e time="2026-09-17T09:48:11Z" msg="Creating new user" userID=51e42aa3-f2a5-42a7-b98b-d60081c0760e time="2026-09-17T09:48:11Z" msg="404 GET https://127.0.0.1:46063/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:48:11Z" msg="404 GET https://127.0.0.1:46063/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:48:11Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:46063/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:48:11Z" msg="Creating user object" authUID=b22879f3-95b5-44b6-99a5-0320d4a755a5 numA numL userID=51e42aa3-f2a5-42a7-b98b-d60081c0760e time="2026-09-17T09:48:11Z" msg="200 OK: GET https://127.0.0.1:46063/core/v4/events/latest" /client userID=51e42aa3-f2a5-42a7-b98b-d60081c0760e time="2026-09-17T09:48:11Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:48:11Z" msg="200 OK: GET https://127.0.0.1:46063/core/v4/settings" /client userID=51e42aa3-f2a5-42a7-b98b-d60081c0760e time="2026-09-17T09:48:11Z" msg="Registering user client, ID:51e42aa3-f2a5-42a7-b98b-d60081c0760e" time="2026-09-17T09:48:11Z" msg="Starting user identity service" numA time="2026-09-17T09:48:11Z" msg="Starting service main loop" time="2026-09-17T09:48:11Z" msg="Starting service main loop" time="2026-09-17T09:48:11Z" msg="Starting service main loop" time="2026-09-17T09:48:11Z" msg="200 OK: GET https://127.0.0.1:46063/core/v4/labels?T" /client userID=51e42aa3-f2a5-42a7-b98b-d60081c0760e time="2026-09-17T09:48:11Z" msg="200 OK: GET https://127.0.0.1:46063/core/v4/labels?T" /client userID=51e42aa3-f2a5-42a7-b98b-d60081c0760e time="2026-09-17T09:48:11Z" msg="200 OK: GET https://127.0.0.1:46063/core/v4/labels?T" /client userID=51e42aa3-f2a5-42a7-b98b-d60081c0760e time="2026-09-17T09:48:11Z" msg="Setting labels" labelIDs="[3 6 8 9 10 12 0 1 2 4 5 7]" time="2026-09-17T09:48:11Z" msg="Adding user to imap server" addrID=03dfe532-b555-487a-97ab-58ea4fcfbc0b time="2026-09-17T09:48:11Z" msg="Creating new IMAP user" addrID=03dfe532-b555-487a-97ab-58ea4fcfbc0b time="2026-09-17T09:48:11Z" msg="Setting gluon ID" addrID=03dfe532-b555-487a-97ab-58ea4fcfbc0b gluonID=1d34dd1a-6b02-4e47-8f8f-9efef50080a9 userID=51e42aa3-f2a5-42a7-b98b-d60081c0760e time="2026-09-17T09:48:11Z" msg="Created new IMAP user" addrID=03dfe532-b555-487a-97ab-58ea4fcfbc0b gluonID=1d34dd1a-6b02-4e47-8f8f-9efef50080a9 time="2026-09-17T09:48:11Z" msg="Validating Listener State" time="2026-09-17T09:48:11Z" msg="Received mailbox message count" gluonID=1d34dd1a-6b02-4e47-8f8f-9efef50080a9 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:48:11Z" time="2026-09-17T09:48:11Z" msg="Starting IMAP Service" time="2026-09-17T09:48:11Z" msg="Checking whether logged in user should re-sync. UserID:51e42aa3-f2a5-42a7-b98b-d60081c0760e" userID=51e42aa3-f2a5-42a7-b98b-d60081c0760e time="2026-09-17T09:48:11Z" msg="Sync triggered" time="2026-09-17T09:48:11Z" msg="Beginning user sync" start="2026-09-17 09:48:11.409041867 +0000 UTC m=+179.901344163" time="2026-09-17T09:48:11Z" msg="Syncing labels" time="2026-09-17T09:48:11Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=1d34dd1a-6b02-4e47-8f8f-9efef50080a9 time="2026-09-17T09:48:11Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=1d34dd1a-6b02-4e47-8f8f-9efef50080a9 time="2026-09-17T09:48:11Z" msg="Mailbox created" /user remoteMailboxID=0 userID=1d34dd1a-6b02-4e47-8f8f-9efef50080a9 time="2026-09-17T09:48:11Z" msg="Mailbox created" /user remoteMailboxID=4 userID=1d34dd1a-6b02-4e47-8f8f-9efef50080a9 time="2026-09-17T09:48:11Z" msg="Mailbox created" /user remoteMailboxID=3 userID=1d34dd1a-6b02-4e47-8f8f-9efef50080a9 time="2026-09-17T09:48:11Z" msg="Mailbox created" /user remoteMailboxID=8 userID=1d34dd1a-6b02-4e47-8f8f-9efef50080a9 time="2026-09-17T09:48:11Z" msg="Mailbox created" /user remoteMailboxID=5 userID=1d34dd1a-6b02-4e47-8f8f-9efef50080a9 time="2026-09-17T09:48:11Z" msg="Mailbox created" /user remoteMailboxID=7 userID=1d34dd1a-6b02-4e47-8f8f-9efef50080a9 time="2026-09-17T09:48:11Z" msg="Mailbox created" /user remoteMailboxID=6 userID=1d34dd1a-6b02-4e47-8f8f-9efef50080a9 time="2026-09-17T09:48:11Z" msg="Mailbox created" /user remoteMailboxID=10 userID=1d34dd1a-6b02-4e47-8f8f-9efef50080a9 time="2026-09-17T09:48:11Z" msg="Mailbox created" /user remoteMailboxID=12 userID=1d34dd1a-6b02-4e47-8f8f-9efef50080a9 time="2026-09-17T09:48:11Z" msg="Synced labels" time="2026-09-17T09:48:11Z" msg="200 OK: GET https://127.0.0.1:46063/mail/v4/messages/count" /client userID=51e42aa3-f2a5-42a7-b98b-d60081c0760e time="2026-09-17T09:48:11Z" msg="Syncing messages" time="2026-09-17T09:48:11Z" msg="Job started" time="2026-09-17T09:48:11Z" msg="200 OK: POST https://127.0.0.1:46063/mail/v4/messages" /client userID=51e42aa3-f2a5-42a7-b98b-d60081c0760e time="2026-09-17T09:48:11Z" msg="Job finished" time="2026-09-17T09:48:11Z" msg="All child jobs completed" sync- time="2026-09-17T09:48:11Z" msg="Synced messages" time="2026-09-17T09:48:11Z" msg="Finished user sync" .038017ms time="2026-09-17T09:48:11Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:48:11Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:48:11Z" msg="200 OK: POST https://127.0.0.1:46063/mail/v4/messages/import" /client userID=51e42aa3-f2a5-42a7-b98b-d60081c0760e time="2026-09-17T09:48:11Z" msg="200 OK: GET https://127.0.0.1:46063/mail/v4/messages/74da2870-594b-424b-8135-2002b327bfdd" /client userID=51e42aa3-f2a5-42a7-b98b-d60081c0760e Scenario Outline: Import multipart message with attachment # features/imap/message/import.feature:70 time="2026-09-17T09:48:11Z" msg="Frontend service stopped" time="2026-09-17T09:48:11Z" msg="Frontend client stopped" time="2026-09-17T09:48:11Z" msg="Closing bridge" time="2026-09-17T09:48:11Z" msg="Stopping service" time="2026-09-17T09:48:11Z" msg="Closing user" userID=51e42aa3-f2a5-42a7-b98b-d60081c0760e time="2026-09-17T09:48:11Z" msg="De-registering user client, ID:51e42aa3-f2a5-42a7-b98b-d60081c0760e" time="2026-09-17T09:48:11Z" msg="Exiting IMAP Service" time="2026-09-17T09:48:11Z" msg="Exiting service main loop" time="2026-09-17T09:48:11Z" msg="Exiting service main loop" time="2026-09-17T09:48:11Z" msg="Exiting Service" time="2026-09-17T09:48:11Z" msg="Exiting service main loop" time="2026-09-17T09:48:11Z" msg="Exiting service" time="2026-09-17T09:48:11Z" msg="Closing IMAP Listener" time="2026-09-17T09:48:11Z" msg="Closing IMAP server" time="2026-09-17T09:48:11Z" msg="Closing SMTP Listener" time="2026-09-17T09:48:11Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:48:11Z" msg="Closing SMTP server" time="2026-09-17T09:48:11Z" msg="Closing service" Given there exists an account with username "[user:user]" and password "password" # :1 -> *scenario Then it succeeds # :1 -> *scenario When bridge starts # :1 -> *scenario And the user logs in with username "[user:user]" and password "password" # :1 -> *scenario And user "[user:user]" finishes syncing # :1 -> *scenario And user "[user:user]" connects and authenticates IMAP client "1" # :1 -> *scenario Then it succeeds # :1 -> *scenario When IMAP client "1" appends to "INBOX" # :1 -> *scenario Then it succeeds # :1 -> *scenario And IMAP client "1" eventually sees the following message in "INBOX" with this structure: # :1 -> *scenario """ { "from": "Bridge Test ", "date": "01 Jan 80 00:00 +0000", "to": "Internal Bridge ", "subject": "Message with attachment name", "body-contains": "Hello", "content": { "content-type": "multipart/mixed", "sections":[ { "content-type": "text/plain", "body-is": "Hello" }, { "content-type": "text/html", "content-type-charset": "utf-8", "transfer-encoding": "7bit", "body-contains": "HELLO" }, { "content-type": "application/pdf", "content-type-name": "filename", "content-disposition": "attachment", "content-disposition-filename": "filename", "body-is": "somebytes" } ] } } """ Examples: | message | | "multipart/mixed_with_attachment_encoded.eml" | time="2026-09-17T09:48:11Z" msg="User 'cfefd2c6-70f4-48ef-bb84-0acb3211d120' created with " /server/backend time="2026-09-17T09:48:12Z" msg="Starting bridge" time="2026-09-17T09:48:12Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/090/config649051869/grpcFocusServerConfig.json /service time="2026-09-17T09:48:12Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/090/cache1920175102/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:48:12Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/090/cache1920175102/notifications/notification_cache: no such file or directory" time="2026-09-17T09:48:12Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/090/data842963296/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/090/data842963296/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:48:12Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:48:12Z" msg="Starting IMAP server" time="2026-09-17T09:48:12Z" msg="Starting SMTP server" time="2026-09-17T09:48:12Z" msg="Starting service" time="2026-09-17T09:48:12Z" msg="Starting service" time="2026-09-17T09:48:12Z" msg="Starting poll service" time="2026-09-17T09:48:12Z" msg="Loading users" /user time="2026-09-17T09:48:12Z" msg="Starting receiver service" time="2026-09-17T09:48:12Z" msg="Finished loading users" /user time="2026-09-17T09:48:12Z" msg="Checking for updates" time="2026-09-17T09:48:12Z" msg="Starting frontend service" time="2026-09-17T09:48:12Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/090/config649051869/grpcServerConfig.json time="2026-09-17T09:48:12Z" msg="gRPC server listening on /tmp/bridge9809" time="2026-09-17T09:48:12Z" msg="Frontend service started" time="2026-09-17T09:48:12Z" msg="Starting frontend client" time="2026-09-17T09:48:12Z" msg="Not monitoring parent PID" time="2026-09-17T09:48:12Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:48:12Z" msg="200 OK: GET https://127.0.0.1:45735/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:48:12Z" msg="Frontend client started" time="2026-09-17T09:48:12Z" msg="Performing full user login" /user username="******** (56370507)" time="2026-09-17T09:48:12Z" msg="Authorizing user for login" /user username="******** (56370507)" time="2026-09-17T09:48:12Z" msg="200 OK: POST https://127.0.0.1:45735/auth/v4/info" /manager time="2026-09-17T09:48:12Z" msg="200 OK: POST https://127.0.0.1:45735/auth/v4" /manager time="2026-09-17T09:48:12Z" msg="Logging in authorized user" /user userID=c8043a3a-bc6c-4097-a558-9c550510e419 time="2026-09-17T09:48:12Z" msg="Adding vault user" userID=c8043a3a-bc6c-4097-a558-9c550510e419 time="2026-09-17T09:48:12Z" msg="Creating new user" userID=c8043a3a-bc6c-4097-a558-9c550510e419 time="2026-09-17T09:48:12Z" msg="404 GET https://127.0.0.1:45735/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:48:12Z" msg="404 GET https://127.0.0.1:45735/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:48:12Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:45735/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:48:12Z" msg="Creating user object" authUID=4c2f4aa8-e15d-4681-afb8-d0ebe76bdca1 numA numL userID=c8043a3a-bc6c-4097-a558-9c550510e419 time="2026-09-17T09:48:12Z" msg="200 OK: GET https://127.0.0.1:45735/core/v4/events/latest" /client userID=c8043a3a-bc6c-4097-a558-9c550510e419 time="2026-09-17T09:48:12Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:48:12Z" msg="200 OK: GET https://127.0.0.1:45735/core/v4/settings" /client userID=c8043a3a-bc6c-4097-a558-9c550510e419 time="2026-09-17T09:48:12Z" msg="Registering user client, ID:c8043a3a-bc6c-4097-a558-9c550510e419" time="2026-09-17T09:48:12Z" msg="Starting service main loop" time="2026-09-17T09:48:12Z" msg="Starting user identity service" numA time="2026-09-17T09:48:12Z" msg="Starting service main loop" time="2026-09-17T09:48:12Z" msg="Starting service main loop" time="2026-09-17T09:48:12Z" msg="200 OK: GET https://127.0.0.1:45735/core/v4/labels?T" /client userID=c8043a3a-bc6c-4097-a558-9c550510e419 time="2026-09-17T09:48:12Z" msg="200 OK: GET https://127.0.0.1:45735/core/v4/labels?T" /client userID=c8043a3a-bc6c-4097-a558-9c550510e419 time="2026-09-17T09:48:12Z" msg="200 OK: GET https://127.0.0.1:45735/core/v4/labels?T" /client userID=c8043a3a-bc6c-4097-a558-9c550510e419 time="2026-09-17T09:48:12Z" msg="Setting labels" labelIDs="[1 2 3 4 5 7 10 6 8 9 12 0]" time="2026-09-17T09:48:12Z" msg="Adding user to imap server" addrID=59e780cb-0e41-4721-987a-77eda19db23c time="2026-09-17T09:48:12Z" msg="Creating new IMAP user" addrID=59e780cb-0e41-4721-987a-77eda19db23c time="2026-09-17T09:48:12Z" msg="Setting gluon ID" addrID=59e780cb-0e41-4721-987a-77eda19db23c gluonID=141a9df2-6e8b-4424-9cf1-b05d1018a0e1 userID=c8043a3a-bc6c-4097-a558-9c550510e419 time="2026-09-17T09:48:12Z" msg="Received mailbox message count" gluonID=141a9df2-6e8b-4424-9cf1-b05d1018a0e1 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:48:12Z" msg="Created new IMAP user" addrID=59e780cb-0e41-4721-987a-77eda19db23c gluonID=141a9df2-6e8b-4424-9cf1-b05d1018a0e1 time="2026-09-17T09:48:12Z" msg="Validating Listener State" time="2026-09-17T09:48:12Z" time="2026-09-17T09:48:12Z" msg="Checking whether logged in user should re-sync. UserID:c8043a3a-bc6c-4097-a558-9c550510e419" userID=c8043a3a-bc6c-4097-a558-9c550510e419 time="2026-09-17T09:48:12Z" msg="Starting IMAP Service" time="2026-09-17T09:48:12Z" msg="Sync triggered" time="2026-09-17T09:48:12Z" msg="Beginning user sync" start="2026-09-17 09:48:12.621711164 +0000 UTC m=+181.114013500" time="2026-09-17T09:48:12Z" msg="Syncing labels" time="2026-09-17T09:48:12Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=141a9df2-6e8b-4424-9cf1-b05d1018a0e1 time="2026-09-17T09:48:12Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=141a9df2-6e8b-4424-9cf1-b05d1018a0e1 time="2026-09-17T09:48:12Z" msg="Mailbox created" /user remoteMailboxID=0 userID=141a9df2-6e8b-4424-9cf1-b05d1018a0e1 time="2026-09-17T09:48:12Z" msg="Mailbox created" /user remoteMailboxID=3 userID=141a9df2-6e8b-4424-9cf1-b05d1018a0e1 time="2026-09-17T09:48:12Z" msg="Mailbox created" /user remoteMailboxID=5 userID=141a9df2-6e8b-4424-9cf1-b05d1018a0e1 time="2026-09-17T09:48:12Z" msg="Mailbox created" /user remoteMailboxID=7 userID=141a9df2-6e8b-4424-9cf1-b05d1018a0e1 time="2026-09-17T09:48:12Z" msg="Mailbox created" /user remoteMailboxID=10 userID=141a9df2-6e8b-4424-9cf1-b05d1018a0e1 time="2026-09-17T09:48:12Z" msg="Mailbox created" /user remoteMailboxID=8 userID=141a9df2-6e8b-4424-9cf1-b05d1018a0e1 time="2026-09-17T09:48:12Z" msg="Mailbox created" /user remoteMailboxID=12 userID=141a9df2-6e8b-4424-9cf1-b05d1018a0e1 time="2026-09-17T09:48:12Z" msg="Mailbox created" /user remoteMailboxID=4 userID=141a9df2-6e8b-4424-9cf1-b05d1018a0e1 time="2026-09-17T09:48:12Z" msg="Mailbox created" /user remoteMailboxID=6 userID=141a9df2-6e8b-4424-9cf1-b05d1018a0e1 time="2026-09-17T09:48:12Z" msg="Synced labels" time="2026-09-17T09:48:12Z" msg="200 OK: GET https://127.0.0.1:45735/mail/v4/messages/count" /client userID=c8043a3a-bc6c-4097-a558-9c550510e419 time="2026-09-17T09:48:12Z" msg="Syncing messages" time="2026-09-17T09:48:12Z" msg="Job started" time="2026-09-17T09:48:12Z" msg="200 OK: POST https://127.0.0.1:45735/mail/v4/messages" /client userID=c8043a3a-bc6c-4097-a558-9c550510e419 time="2026-09-17T09:48:12Z" msg="Job finished" time="2026-09-17T09:48:12Z" msg="All child jobs completed" sync- time="2026-09-17T09:48:12Z" msg="Synced messages" time="2026-09-17T09:48:12Z" msg="Finished user sync" .17236ms time="2026-09-17T09:48:12Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:48:12Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:48:12Z" msg="200 OK: POST https://127.0.0.1:45735/mail/v4/messages/import" /client userID=c8043a3a-bc6c-4097-a558-9c550510e419 time="2026-09-17T09:48:12Z" msg="200 OK: GET https://127.0.0.1:45735/mail/v4/messages/7e129b76-2368-4a1a-87e9-36d1b9fbb600" /client userID=c8043a3a-bc6c-4097-a558-9c550510e419 time="2026-09-17T09:48:12Z" msg="Frontend service stopped" time="2026-09-17T09:48:12Z" msg="Frontend client stopped" time="2026-09-17T09:48:12Z" msg="Closing bridge" time="2026-09-17T09:48:12Z" msg="Stopping service" time="2026-09-17T09:48:12Z" msg="Closing user" userID=c8043a3a-bc6c-4097-a558-9c550510e419 time="2026-09-17T09:48:12Z" msg="De-registering user client, ID:c8043a3a-bc6c-4097-a558-9c550510e419" time="2026-09-17T09:48:12Z" msg="Exiting IMAP Service" time="2026-09-17T09:48:12Z" msg="Exiting service main loop" time="2026-09-17T09:48:12Z" msg="Exiting service main loop" time="2026-09-17T09:48:12Z" msg="Exiting Service" time="2026-09-17T09:48:12Z" msg="Exiting service main loop" time="2026-09-17T09:48:12Z" msg="Exiting service" time="2026-09-17T09:48:12Z" msg="Closing IMAP Listener" time="2026-09-17T09:48:12Z" msg="Closing IMAP server" time="2026-09-17T09:48:12Z" msg="Closing SMTP Listener" time="2026-09-17T09:48:12Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:48:12Z" msg="Closing SMTP server" time="2026-09-17T09:48:12Z" msg="Closing service" | "multipart/mixed_with_attachment_encoded_no_quote.eml" | time="2026-09-17T09:48:13Z" msg="User '0a693c70-6410-4ab3-a20f-6de7cbc42984' created with " /server/backend time="2026-09-17T09:48:13Z" msg="Starting bridge" time="2026-09-17T09:48:13Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/091/config3016807496/grpcFocusServerConfig.json /service time="2026-09-17T09:48:13Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/091/cache3051850288/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:48:13Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/091/cache3051850288/notifications/notification_cache: no such file or directory" time="2026-09-17T09:48:13Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/091/data3487814015/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/091/data3487814015/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:48:13Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:48:13Z" msg="Starting IMAP server" time="2026-09-17T09:48:13Z" msg="Starting SMTP server" time="2026-09-17T09:48:13Z" msg="Starting service" time="2026-09-17T09:48:13Z" msg="Starting service" time="2026-09-17T09:48:13Z" msg="Starting frontend service" time="2026-09-17T09:48:13Z" msg="Starting poll service" time="2026-09-17T09:48:13Z" msg="Starting receiver service" time="2026-09-17T09:48:13Z" msg="Loading users" /user time="2026-09-17T09:48:13Z" msg="Checking for updates" time="2026-09-17T09:48:13Z" msg="Finished loading users" /user time="2026-09-17T09:48:13Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/091/config3016807496/grpcServerConfig.json time="2026-09-17T09:48:13Z" msg="gRPC server listening on /tmp/bridge8046" time="2026-09-17T09:48:13Z" msg="Frontend service started" time="2026-09-17T09:48:13Z" msg="Starting frontend client" time="2026-09-17T09:48:13Z" msg="Not monitoring parent PID" time="2026-09-17T09:48:13Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:48:13Z" msg="200 OK: GET https://127.0.0.1:46859/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:48:13Z" msg="Frontend client started" time="2026-09-17T09:48:13Z" msg="Performing full user login" /user username="******** (d22453dc)" time="2026-09-17T09:48:13Z" msg="Authorizing user for login" /user username="******** (d22453dc)" time="2026-09-17T09:48:13Z" msg="200 OK: POST https://127.0.0.1:46859/auth/v4/info" /manager time="2026-09-17T09:48:13Z" msg="200 OK: POST https://127.0.0.1:46859/auth/v4" /manager time="2026-09-17T09:48:13Z" msg="Logging in authorized user" /user userID=850026bb-4960-4610-9439-da713d3dfb33 time="2026-09-17T09:48:13Z" msg="Adding vault user" userID=850026bb-4960-4610-9439-da713d3dfb33 time="2026-09-17T09:48:13Z" msg="Creating new user" userID=850026bb-4960-4610-9439-da713d3dfb33 time="2026-09-17T09:48:13Z" msg="404 GET https://127.0.0.1:46859/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:48:13Z" msg="404 GET https://127.0.0.1:46859/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:48:13Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:46859/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:48:13Z" msg="Creating user object" authUID=3c4cecc8-d81e-4a34-9853-1e40070baacc numA numL userID=850026bb-4960-4610-9439-da713d3dfb33 time="2026-09-17T09:48:13Z" msg="200 OK: GET https://127.0.0.1:46859/core/v4/events/latest" /client userID=850026bb-4960-4610-9439-da713d3dfb33 time="2026-09-17T09:48:13Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:48:13Z" msg="200 OK: GET https://127.0.0.1:46859/core/v4/settings" /client userID=850026bb-4960-4610-9439-da713d3dfb33 time="2026-09-17T09:48:13Z" msg="Registering user client, ID:850026bb-4960-4610-9439-da713d3dfb33" time="2026-09-17T09:48:13Z" msg="Starting service main loop" time="2026-09-17T09:48:13Z" msg="Starting user identity service" numA time="2026-09-17T09:48:13Z" msg="Starting service main loop" time="2026-09-17T09:48:13Z" msg="Starting service main loop" time="2026-09-17T09:48:13Z" msg="200 OK: GET https://127.0.0.1:46859/core/v4/labels?T" /client userID=850026bb-4960-4610-9439-da713d3dfb33 time="2026-09-17T09:48:13Z" msg="200 OK: GET https://127.0.0.1:46859/core/v4/labels?T" /client userID=850026bb-4960-4610-9439-da713d3dfb33 time="2026-09-17T09:48:13Z" msg="200 OK: GET https://127.0.0.1:46859/core/v4/labels?T" /client userID=850026bb-4960-4610-9439-da713d3dfb33 time="2026-09-17T09:48:13Z" msg="Setting labels" labelIDs="[2 6 7 8 9 10 0 3 4 5 12 1]" time="2026-09-17T09:48:13Z" msg="Adding user to imap server" addrID=992d804f-7b08-407f-ba1f-41f093dc6c14 time="2026-09-17T09:48:13Z" msg="Creating new IMAP user" addrID=992d804f-7b08-407f-ba1f-41f093dc6c14 time="2026-09-17T09:48:13Z" msg="Setting gluon ID" addrID=992d804f-7b08-407f-ba1f-41f093dc6c14 gluonID=ff721b60-2aa3-4e2d-a6e5-88d37e28a560 userID=850026bb-4960-4610-9439-da713d3dfb33 time="2026-09-17T09:48:13Z" msg="Received mailbox message count" gluonID=ff721b60-2aa3-4e2d-a6e5-88d37e28a560 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:48:13Z" msg="Created new IMAP user" addrID=992d804f-7b08-407f-ba1f-41f093dc6c14 gluonID=ff721b60-2aa3-4e2d-a6e5-88d37e28a560 time="2026-09-17T09:48:13Z" msg="Validating Listener State" time="2026-09-17T09:48:13Z" time="2026-09-17T09:48:13Z" msg="Starting IMAP Service" time="2026-09-17T09:48:13Z" msg="Sync triggered" time="2026-09-17T09:48:13Z" msg="Beginning user sync" start="2026-09-17 09:48:13.82962828 +0000 UTC m=+182.321930576" time="2026-09-17T09:48:13Z" msg="Checking whether logged in user should re-sync. UserID:850026bb-4960-4610-9439-da713d3dfb33" userID=850026bb-4960-4610-9439-da713d3dfb33 time="2026-09-17T09:48:13Z" msg="Syncing labels" time="2026-09-17T09:48:13Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=ff721b60-2aa3-4e2d-a6e5-88d37e28a560 time="2026-09-17T09:48:13Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=ff721b60-2aa3-4e2d-a6e5-88d37e28a560 time="2026-09-17T09:48:13Z" msg="Mailbox created" /user remoteMailboxID=12 userID=ff721b60-2aa3-4e2d-a6e5-88d37e28a560 time="2026-09-17T09:48:13Z" msg="Mailbox created" /user remoteMailboxID=7 userID=ff721b60-2aa3-4e2d-a6e5-88d37e28a560 time="2026-09-17T09:48:13Z" msg="Mailbox created" /user remoteMailboxID=8 userID=ff721b60-2aa3-4e2d-a6e5-88d37e28a560 time="2026-09-17T09:48:13Z" msg="Mailbox created" /user remoteMailboxID=10 userID=ff721b60-2aa3-4e2d-a6e5-88d37e28a560 time="2026-09-17T09:48:13Z" msg="Mailbox created" /user remoteMailboxID=0 userID=ff721b60-2aa3-4e2d-a6e5-88d37e28a560 time="2026-09-17T09:48:13Z" msg="Mailbox created" /user remoteMailboxID=3 userID=ff721b60-2aa3-4e2d-a6e5-88d37e28a560 time="2026-09-17T09:48:13Z" msg="Mailbox created" /user remoteMailboxID=4 userID=ff721b60-2aa3-4e2d-a6e5-88d37e28a560 time="2026-09-17T09:48:13Z" msg="Mailbox created" /user remoteMailboxID=6 userID=ff721b60-2aa3-4e2d-a6e5-88d37e28a560 time="2026-09-17T09:48:13Z" msg="Mailbox created" /user remoteMailboxID=5 userID=ff721b60-2aa3-4e2d-a6e5-88d37e28a560 time="2026-09-17T09:48:13Z" msg="Synced labels" time="2026-09-17T09:48:13Z" msg="200 OK: GET https://127.0.0.1:46859/mail/v4/messages/count" /client userID=850026bb-4960-4610-9439-da713d3dfb33 time="2026-09-17T09:48:13Z" msg="Syncing messages" time="2026-09-17T09:48:13Z" msg="Job started" time="2026-09-17T09:48:13Z" msg="200 OK: POST https://127.0.0.1:46859/mail/v4/messages" /client userID=850026bb-4960-4610-9439-da713d3dfb33 time="2026-09-17T09:48:13Z" msg="Job finished" time="2026-09-17T09:48:13Z" msg="All child jobs completed" sync- time="2026-09-17T09:48:13Z" msg="Synced messages" time="2026-09-17T09:48:13Z" msg="Finished user sync" .700732ms time="2026-09-17T09:48:13Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:48:13Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:48:13Z" msg="200 OK: POST https://127.0.0.1:46859/mail/v4/messages/import" /client userID=850026bb-4960-4610-9439-da713d3dfb33 time="2026-09-17T09:48:13Z" msg="200 OK: GET https://127.0.0.1:46859/mail/v4/messages/beef1a56-fd24-442f-b943-27b93a6a3ea0" /client userID=850026bb-4960-4610-9439-da713d3dfb33 time="2026-09-17T09:48:13Z" msg="Frontend service stopped" time="2026-09-17T09:48:13Z" msg="Frontend client stopped" time="2026-09-17T09:48:13Z" msg="Closing bridge" time="2026-09-17T09:48:13Z" msg="Stopping service" time="2026-09-17T09:48:13Z" msg="Closing user" userID=850026bb-4960-4610-9439-da713d3dfb33 time="2026-09-17T09:48:13Z" msg="De-registering user client, ID:850026bb-4960-4610-9439-da713d3dfb33" time="2026-09-17T09:48:13Z" msg="Exiting IMAP Service" time="2026-09-17T09:48:13Z" msg="Exiting service main loop" time="2026-09-17T09:48:13Z" msg="Exiting service main loop" time="2026-09-17T09:48:13Z" msg="Exiting Service" time="2026-09-17T09:48:13Z" msg="Exiting service main loop" time="2026-09-17T09:48:13Z" msg="Exiting service" time="2026-09-17T09:48:13Z" msg="Closing IMAP Listener" time="2026-09-17T09:48:13Z" msg="Closing IMAP server" time="2026-09-17T09:48:13Z" msg="Closing SMTP Listener" time="2026-09-17T09:48:13Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:48:13Z" msg="Closing SMTP server" time="2026-09-17T09:48:13Z" msg="Closing service" | "multipart/mixed_with_attachment_no_quote.eml" | time="2026-09-17T09:48:14Z" msg="User '990d2830-9afd-4125-b657-73454379f52b' created with " /server/backend time="2026-09-17T09:48:14Z" msg="Starting bridge" time="2026-09-17T09:48:14Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/092/config2787832918/grpcFocusServerConfig.json /service time="2026-09-17T09:48:14Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/092/cache1507047537/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:48:14Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/092/cache1507047537/notifications/notification_cache: no such file or directory" time="2026-09-17T09:48:14Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/092/data881110904/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/092/data881110904/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:48:14Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:48:14Z" msg="Starting IMAP server" time="2026-09-17T09:48:14Z" msg="Starting SMTP server" time="2026-09-17T09:48:14Z" msg="Starting service" time="2026-09-17T09:48:14Z" msg="Starting service" time="2026-09-17T09:48:14Z" msg="Starting receiver service" time="2026-09-17T09:48:14Z" msg="Starting frontend service" time="2026-09-17T09:48:14Z" msg="Checking for updates" time="2026-09-17T09:48:14Z" msg="Loading users" /user time="2026-09-17T09:48:14Z" msg="Finished loading users" /user time="2026-09-17T09:48:14Z" msg="Starting poll service" time="2026-09-17T09:48:14Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/092/config2787832918/grpcServerConfig.json time="2026-09-17T09:48:14Z" msg="gRPC server listening on /tmp/bridge2722" time="2026-09-17T09:48:14Z" msg="Frontend service started" time="2026-09-17T09:48:14Z" msg="Starting frontend client" time="2026-09-17T09:48:14Z" msg="Not monitoring parent PID" time="2026-09-17T09:48:14Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:48:14Z" msg="Frontend client started" time="2026-09-17T09:48:14Z" msg="200 OK: GET https://127.0.0.1:39573/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:48:14Z" msg="Performing full user login" /user username="******** (3fbb7e38)" time="2026-09-17T09:48:14Z" msg="Authorizing user for login" /user username="******** (3fbb7e38)" time="2026-09-17T09:48:14Z" msg="200 OK: POST https://127.0.0.1:39573/auth/v4/info" /manager time="2026-09-17T09:48:14Z" msg="200 OK: POST https://127.0.0.1:39573/auth/v4" /manager time="2026-09-17T09:48:14Z" msg="Logging in authorized user" /user userID=805c870e-4aa2-4b3d-b939-8593fdf96e07 time="2026-09-17T09:48:15Z" msg="Adding vault user" userID=805c870e-4aa2-4b3d-b939-8593fdf96e07 time="2026-09-17T09:48:15Z" msg="Creating new user" userID=805c870e-4aa2-4b3d-b939-8593fdf96e07 time="2026-09-17T09:48:15Z" msg="404 GET https://127.0.0.1:39573/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:48:15Z" msg="404 GET https://127.0.0.1:39573/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:48:15Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:39573/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:48:15Z" msg="Creating user object" authUID=65f7e64d-84a3-43ea-b3ee-afc88137458d numA numL userID=805c870e-4aa2-4b3d-b939-8593fdf96e07 time="2026-09-17T09:48:15Z" msg="200 OK: GET https://127.0.0.1:39573/core/v4/events/latest" /client userID=805c870e-4aa2-4b3d-b939-8593fdf96e07 time="2026-09-17T09:48:15Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:48:15Z" msg="200 OK: GET https://127.0.0.1:39573/core/v4/settings" /client userID=805c870e-4aa2-4b3d-b939-8593fdf96e07 time="2026-09-17T09:48:15Z" msg="Registering user client, ID:805c870e-4aa2-4b3d-b939-8593fdf96e07" time="2026-09-17T09:48:15Z" msg="Starting service main loop" time="2026-09-17T09:48:15Z" msg="Starting user identity service" numA time="2026-09-17T09:48:15Z" msg="Starting service main loop" time="2026-09-17T09:48:15Z" msg="Starting service main loop" time="2026-09-17T09:48:15Z" msg="200 OK: GET https://127.0.0.1:39573/core/v4/labels?T" /client userID=805c870e-4aa2-4b3d-b939-8593fdf96e07 time="2026-09-17T09:48:15Z" msg="200 OK: GET https://127.0.0.1:39573/core/v4/labels?T" /client userID=805c870e-4aa2-4b3d-b939-8593fdf96e07 time="2026-09-17T09:48:15Z" msg="200 OK: GET https://127.0.0.1:39573/core/v4/labels?T" /client userID=805c870e-4aa2-4b3d-b939-8593fdf96e07 time="2026-09-17T09:48:15Z" msg="Setting labels" labelIDs="[1 2 3 6 7 8 12 4 5 9 10 0]" time="2026-09-17T09:48:15Z" msg="Adding user to imap server" addrID=f38867bf-5623-444e-bea3-dacfcc4054cf time="2026-09-17T09:48:15Z" msg="Creating new IMAP user" addrID=f38867bf-5623-444e-bea3-dacfcc4054cf time="2026-09-17T09:48:15Z" msg="Setting gluon ID" addrID=f38867bf-5623-444e-bea3-dacfcc4054cf gluonID=00d67cb0-e1c7-4c43-b531-ca8a5f63906a userID=805c870e-4aa2-4b3d-b939-8593fdf96e07 time="2026-09-17T09:48:15Z" msg="Received mailbox message count" gluonID=00d67cb0-e1c7-4c43-b531-ca8a5f63906a labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:48:15Z" msg="Created new IMAP user" addrID=f38867bf-5623-444e-bea3-dacfcc4054cf gluonID=00d67cb0-e1c7-4c43-b531-ca8a5f63906a time="2026-09-17T09:48:15Z" msg="Validating Listener State" time="2026-09-17T09:48:15Z" time="2026-09-17T09:48:15Z" msg="Starting IMAP Service" time="2026-09-17T09:48:15Z" msg="Checking whether logged in user should re-sync. UserID:805c870e-4aa2-4b3d-b939-8593fdf96e07" userID=805c870e-4aa2-4b3d-b939-8593fdf96e07 time="2026-09-17T09:48:15Z" msg="Sync triggered" time="2026-09-17T09:48:15Z" msg="Beginning user sync" start="2026-09-17 09:48:15.038464201 +0000 UTC m=+183.530766497" time="2026-09-17T09:48:15Z" msg="Syncing labels" time="2026-09-17T09:48:15Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=00d67cb0-e1c7-4c43-b531-ca8a5f63906a time="2026-09-17T09:48:15Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=00d67cb0-e1c7-4c43-b531-ca8a5f63906a time="2026-09-17T09:48:15Z" msg="Mailbox created" /user remoteMailboxID=6 userID=00d67cb0-e1c7-4c43-b531-ca8a5f63906a time="2026-09-17T09:48:15Z" msg="Mailbox created" /user remoteMailboxID=7 userID=00d67cb0-e1c7-4c43-b531-ca8a5f63906a time="2026-09-17T09:48:15Z" msg="Mailbox created" /user remoteMailboxID=8 userID=00d67cb0-e1c7-4c43-b531-ca8a5f63906a time="2026-09-17T09:48:15Z" msg="Mailbox created" /user remoteMailboxID=4 userID=00d67cb0-e1c7-4c43-b531-ca8a5f63906a time="2026-09-17T09:48:15Z" msg="Mailbox created" /user remoteMailboxID=10 userID=00d67cb0-e1c7-4c43-b531-ca8a5f63906a time="2026-09-17T09:48:15Z" msg="Mailbox created" /user remoteMailboxID=12 userID=00d67cb0-e1c7-4c43-b531-ca8a5f63906a time="2026-09-17T09:48:15Z" msg="Mailbox created" /user remoteMailboxID=5 userID=00d67cb0-e1c7-4c43-b531-ca8a5f63906a time="2026-09-17T09:48:15Z" msg="Mailbox created" /user remoteMailboxID=0 userID=00d67cb0-e1c7-4c43-b531-ca8a5f63906a time="2026-09-17T09:48:15Z" msg="Mailbox created" /user remoteMailboxID=3 userID=00d67cb0-e1c7-4c43-b531-ca8a5f63906a time="2026-09-17T09:48:15Z" msg="Synced labels" time="2026-09-17T09:48:15Z" msg="200 OK: GET https://127.0.0.1:39573/mail/v4/messages/count" /client userID=805c870e-4aa2-4b3d-b939-8593fdf96e07 time="2026-09-17T09:48:15Z" msg="Syncing messages" time="2026-09-17T09:48:15Z" msg="Job started" time="2026-09-17T09:48:15Z" msg="200 OK: POST https://127.0.0.1:39573/mail/v4/messages" /client userID=805c870e-4aa2-4b3d-b939-8593fdf96e07 time="2026-09-17T09:48:15Z" msg="Job finished" time="2026-09-17T09:48:15Z" msg="All child jobs completed" sync- time="2026-09-17T09:48:15Z" msg="Synced messages" time="2026-09-17T09:48:15Z" msg="Finished user sync" .112311ms time="2026-09-17T09:48:15Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:48:15Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:48:15Z" msg="200 OK: POST https://127.0.0.1:39573/mail/v4/messages/import" /client userID=805c870e-4aa2-4b3d-b939-8593fdf96e07 time="2026-09-17T09:48:15Z" msg="200 OK: GET https://127.0.0.1:39573/mail/v4/messages/f3740146-a1e2-47a6-9004-ed7e49beace8" /client userID=805c870e-4aa2-4b3d-b939-8593fdf96e07 Scenario: Import message as latin1 without content type # features/imap/message/import.feature:113 When IMAP client "1" appends "plain/text_plain_unknown_latin1.eml" to "INBOX" # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:48:15Z" msg="Determined encoding by reading body" time="2026-09-17T09:48:15Z" msg="Frontend service stopped" time="2026-09-17T09:48:15Z" msg="Frontend client stopped" time="2026-09-17T09:48:15Z" msg="Closing bridge" time="2026-09-17T09:48:15Z" msg="Stopping service" time="2026-09-17T09:48:15Z" msg="Closing user" userID=805c870e-4aa2-4b3d-b939-8593fdf96e07 time="2026-09-17T09:48:15Z" msg="De-registering user client, ID:805c870e-4aa2-4b3d-b939-8593fdf96e07" time="2026-09-17T09:48:15Z" msg="Exiting IMAP Service" time="2026-09-17T09:48:15Z" msg="Exiting service main loop" time="2026-09-17T09:48:15Z" msg="Exiting service main loop" time="2026-09-17T09:48:15Z" msg="Exiting Service" time="2026-09-17T09:48:15Z" msg="Exiting service main loop" time="2026-09-17T09:48:15Z" msg="Exiting service" time="2026-09-17T09:48:15Z" msg="Closing IMAP Listener" time="2026-09-17T09:48:15Z" msg="Closing IMAP server" time="2026-09-17T09:48:15Z" msg="Closing SMTP Listener" time="2026-09-17T09:48:15Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:48:15Z" msg="Closing SMTP server" time="2026-09-17T09:48:15Z" msg="Closing service" And IMAP client "1" eventually sees the following message in "INBOX" with this structure: # :1 -> *scenario """ { "from": "Sender ", "date": "01 Jan 80 00:00 +0000", "to": "Receiver ", "content": { "content-type": "text/plain", "body-is": "ééééééé" } } """ time="2026-09-17T09:48:15Z" msg="User '70f542d4-3f54-477d-9b24-1b104e292563' created with " /server/backend time="2026-09-17T09:48:15Z" msg="Starting bridge" time="2026-09-17T09:48:15Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/093/config2452438959/grpcFocusServerConfig.json /service time="2026-09-17T09:48:15Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/093/cache370027196/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:48:15Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/093/cache370027196/notifications/notification_cache: no such file or directory" time="2026-09-17T09:48:15Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/093/data2429237356/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/093/data2429237356/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:48:15Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:48:15Z" msg="Starting IMAP server" time="2026-09-17T09:48:15Z" msg="Starting SMTP server" time="2026-09-17T09:48:15Z" msg="Starting service" time="2026-09-17T09:48:15Z" msg="Starting service" time="2026-09-17T09:48:15Z" msg="Starting receiver service" time="2026-09-17T09:48:15Z" msg="Starting frontend service" time="2026-09-17T09:48:15Z" msg="Starting poll service" time="2026-09-17T09:48:15Z" msg="Loading users" /user time="2026-09-17T09:48:15Z" msg="Checking for updates" time="2026-09-17T09:48:15Z" msg="Finished loading users" /user time="2026-09-17T09:48:15Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/093/config2452438959/grpcServerConfig.json time="2026-09-17T09:48:15Z" msg="gRPC server listening on /tmp/bridge1686" time="2026-09-17T09:48:15Z" msg="Frontend service started" time="2026-09-17T09:48:15Z" msg="Starting frontend client" time="2026-09-17T09:48:15Z" msg="Not monitoring parent PID" time="2026-09-17T09:48:15Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:48:15Z" msg="200 OK: GET https://127.0.0.1:36727/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:48:15Z" msg="Frontend client started" time="2026-09-17T09:48:15Z" msg="Performing full user login" /user username="******** (12c9ea79)" time="2026-09-17T09:48:15Z" msg="Authorizing user for login" /user username="******** (12c9ea79)" time="2026-09-17T09:48:15Z" msg="200 OK: POST https://127.0.0.1:36727/auth/v4/info" /manager time="2026-09-17T09:48:16Z" msg="200 OK: POST https://127.0.0.1:36727/auth/v4" /manager time="2026-09-17T09:48:16Z" msg="Logging in authorized user" /user userID=dd03a27d-a5b9-4f4f-aa61-77c63a30eab5 time="2026-09-17T09:48:16Z" msg="Adding vault user" userID=dd03a27d-a5b9-4f4f-aa61-77c63a30eab5 time="2026-09-17T09:48:16Z" msg="Creating new user" userID=dd03a27d-a5b9-4f4f-aa61-77c63a30eab5 time="2026-09-17T09:48:16Z" msg="404 GET https://127.0.0.1:36727/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:48:16Z" msg="404 GET https://127.0.0.1:36727/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:48:16Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:36727/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:48:16Z" msg="Creating user object" authUID=d6b9edf7-50a0-4346-bada-b640383e1412 numA numL userID=dd03a27d-a5b9-4f4f-aa61-77c63a30eab5 time="2026-09-17T09:48:16Z" msg="200 OK: GET https://127.0.0.1:36727/core/v4/events/latest" /client userID=dd03a27d-a5b9-4f4f-aa61-77c63a30eab5 time="2026-09-17T09:48:16Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:48:16Z" msg="200 OK: GET https://127.0.0.1:36727/core/v4/settings" /client userID=dd03a27d-a5b9-4f4f-aa61-77c63a30eab5 time="2026-09-17T09:48:16Z" msg="Registering user client, ID:dd03a27d-a5b9-4f4f-aa61-77c63a30eab5" time="2026-09-17T09:48:16Z" msg="Starting service main loop" time="2026-09-17T09:48:16Z" msg="Starting user identity service" numA time="2026-09-17T09:48:16Z" msg="Starting service main loop" time="2026-09-17T09:48:16Z" msg="Starting service main loop" time="2026-09-17T09:48:16Z" msg="200 OK: GET https://127.0.0.1:36727/core/v4/labels?T" /client userID=dd03a27d-a5b9-4f4f-aa61-77c63a30eab5 time="2026-09-17T09:48:16Z" msg="200 OK: GET https://127.0.0.1:36727/core/v4/labels?T" /client userID=dd03a27d-a5b9-4f4f-aa61-77c63a30eab5 time="2026-09-17T09:48:16Z" msg="200 OK: GET https://127.0.0.1:36727/core/v4/labels?T" /client userID=dd03a27d-a5b9-4f4f-aa61-77c63a30eab5 time="2026-09-17T09:48:16Z" msg="Setting labels" labelIDs="[7 8 9 12 2 3 4 10 0 1 5 6]" time="2026-09-17T09:48:16Z" msg="Adding user to imap server" addrID=e46f32cf-7bbe-4f91-98e7-e73f81495d18 time="2026-09-17T09:48:16Z" msg="Creating new IMAP user" addrID=e46f32cf-7bbe-4f91-98e7-e73f81495d18 time="2026-09-17T09:48:16Z" msg="Setting gluon ID" addrID=e46f32cf-7bbe-4f91-98e7-e73f81495d18 gluonID=2aea34e0-d91b-425e-a6b2-5c47a8e684cd userID=dd03a27d-a5b9-4f4f-aa61-77c63a30eab5 time="2026-09-17T09:48:16Z" msg="Received mailbox message count" gluonID=2aea34e0-d91b-425e-a6b2-5c47a8e684cd labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:48:16Z" msg="Created new IMAP user" addrID=e46f32cf-7bbe-4f91-98e7-e73f81495d18 gluonID=2aea34e0-d91b-425e-a6b2-5c47a8e684cd time="2026-09-17T09:48:16Z" msg="Validating Listener State" time="2026-09-17T09:48:16Z" time="2026-09-17T09:48:16Z" msg="Checking whether logged in user should re-sync. UserID:dd03a27d-a5b9-4f4f-aa61-77c63a30eab5" userID=dd03a27d-a5b9-4f4f-aa61-77c63a30eab5 time="2026-09-17T09:48:16Z" msg="Starting IMAP Service" time="2026-09-17T09:48:16Z" msg="Sync triggered" time="2026-09-17T09:48:16Z" msg="Beginning user sync" start="2026-09-17 09:48:16.252239544 +0000 UTC m=+184.744541840" time="2026-09-17T09:48:16Z" msg="Syncing labels" time="2026-09-17T09:48:16Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=2aea34e0-d91b-425e-a6b2-5c47a8e684cd time="2026-09-17T09:48:16Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=2aea34e0-d91b-425e-a6b2-5c47a8e684cd time="2026-09-17T09:48:16Z" msg="Mailbox created" /user remoteMailboxID=8 userID=2aea34e0-d91b-425e-a6b2-5c47a8e684cd time="2026-09-17T09:48:16Z" msg="Mailbox created" /user remoteMailboxID=10 userID=2aea34e0-d91b-425e-a6b2-5c47a8e684cd time="2026-09-17T09:48:16Z" msg="Mailbox created" /user remoteMailboxID=5 userID=2aea34e0-d91b-425e-a6b2-5c47a8e684cd time="2026-09-17T09:48:16Z" msg="Mailbox created" /user remoteMailboxID=7 userID=2aea34e0-d91b-425e-a6b2-5c47a8e684cd time="2026-09-17T09:48:16Z" msg="Mailbox created" /user remoteMailboxID=12 userID=2aea34e0-d91b-425e-a6b2-5c47a8e684cd time="2026-09-17T09:48:16Z" msg="Mailbox created" /user remoteMailboxID=3 userID=2aea34e0-d91b-425e-a6b2-5c47a8e684cd time="2026-09-17T09:48:16Z" msg="Mailbox created" /user remoteMailboxID=4 userID=2aea34e0-d91b-425e-a6b2-5c47a8e684cd time="2026-09-17T09:48:16Z" msg="Mailbox created" /user remoteMailboxID=0 userID=2aea34e0-d91b-425e-a6b2-5c47a8e684cd time="2026-09-17T09:48:16Z" msg="Mailbox created" /user remoteMailboxID=6 userID=2aea34e0-d91b-425e-a6b2-5c47a8e684cd time="2026-09-17T09:48:16Z" msg="Synced labels" time="2026-09-17T09:48:16Z" msg="200 OK: GET https://127.0.0.1:36727/mail/v4/messages/count" /client userID=dd03a27d-a5b9-4f4f-aa61-77c63a30eab5 time="2026-09-17T09:48:16Z" msg="Syncing messages" time="2026-09-17T09:48:16Z" msg="Job started" time="2026-09-17T09:48:16Z" msg="200 OK: POST https://127.0.0.1:36727/mail/v4/messages" /client userID=dd03a27d-a5b9-4f4f-aa61-77c63a30eab5 time="2026-09-17T09:48:16Z" msg="Job finished" time="2026-09-17T09:48:16Z" msg="All child jobs completed" sync- time="2026-09-17T09:48:16Z" msg="Synced messages" time="2026-09-17T09:48:16Z" msg="Finished user sync" .173356ms time="2026-09-17T09:48:16Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:48:16Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:48:16Z" msg="Message has an unknown charset" error="unknown charset: unknown charset: message: unhandled charset \"iso-8859-1\"" time="2026-09-17T09:48:16Z" msg="200 OK: POST https://127.0.0.1:36727/mail/v4/messages/import" /client userID=dd03a27d-a5b9-4f4f-aa61-77c63a30eab5 time="2026-09-17T09:48:16Z" msg="200 OK: GET https://127.0.0.1:36727/mail/v4/messages/7ba21d8f-117a-4c38-9fa2-36ed55e8fcc7" /client userID=dd03a27d-a5b9-4f4f-aa61-77c63a30eab5 Scenario: Import message as latin1 with content type # features/imap/message/import.feature:130 When IMAP client "1" appends "plain/text_plain_latin1.eml" to "INBOX" # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:48:16Z" msg="Frontend service stopped" time="2026-09-17T09:48:16Z" msg="Frontend client stopped" time="2026-09-17T09:48:16Z" msg="Closing bridge" time="2026-09-17T09:48:16Z" msg="Stopping service" time="2026-09-17T09:48:16Z" msg="Closing user" userID=dd03a27d-a5b9-4f4f-aa61-77c63a30eab5 time="2026-09-17T09:48:16Z" msg="De-registering user client, ID:dd03a27d-a5b9-4f4f-aa61-77c63a30eab5" time="2026-09-17T09:48:16Z" msg="Exiting IMAP Service" time="2026-09-17T09:48:16Z" msg="Exiting service main loop" time="2026-09-17T09:48:16Z" msg="Exiting service main loop" time="2026-09-17T09:48:16Z" msg="Exiting Service" time="2026-09-17T09:48:16Z" msg="Exiting service main loop" time="2026-09-17T09:48:16Z" msg="Exiting service" time="2026-09-17T09:48:16Z" msg="Closing IMAP Listener" time="2026-09-17T09:48:16Z" msg="Closing IMAP server" time="2026-09-17T09:48:16Z" msg="Closing SMTP Listener" time="2026-09-17T09:48:16Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:48:16Z" msg="Closing SMTP server" time="2026-09-17T09:48:16Z" msg="Closing service" And IMAP client "1" eventually sees the following message in "INBOX" with this structure: # :1 -> *scenario """ { "from": "Sender ", "date": "01 Jan 80 00:00 +0000", "to": "Receiver ", "content": { "content-type": "text/plain", "content-type-charset": "utf-8", "body-is": "ééééééé" } } """ time="2026-09-17T09:48:16Z" msg="User 'ab8a94f0-4014-4502-8403-3e5cd2d11621' created with " /server/backend time="2026-09-17T09:48:17Z" msg="Starting bridge" time="2026-09-17T09:48:17Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/094/config703282067/grpcFocusServerConfig.json /service time="2026-09-17T09:48:17Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/094/cache628349862/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:48:17Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/094/cache628349862/notifications/notification_cache: no such file or directory" time="2026-09-17T09:48:17Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/094/data2599142703/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/094/data2599142703/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:48:17Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:48:17Z" msg="Starting IMAP server" time="2026-09-17T09:48:17Z" msg="Starting SMTP server" time="2026-09-17T09:48:17Z" msg="Starting service" time="2026-09-17T09:48:17Z" msg="Starting service" time="2026-09-17T09:48:17Z" msg="Starting frontend service" time="2026-09-17T09:48:17Z" msg="Starting receiver service" time="2026-09-17T09:48:17Z" msg="Checking for updates" time="2026-09-17T09:48:17Z" msg="Loading users" /user time="2026-09-17T09:48:17Z" msg="Starting poll service" time="2026-09-17T09:48:17Z" msg="Finished loading users" /user time="2026-09-17T09:48:17Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/094/config703282067/grpcServerConfig.json time="2026-09-17T09:48:17Z" msg="gRPC server listening on /tmp/bridge0500" time="2026-09-17T09:48:17Z" msg="Frontend service started" time="2026-09-17T09:48:17Z" msg="Starting frontend client" time="2026-09-17T09:48:17Z" msg="Not monitoring parent PID" time="2026-09-17T09:48:17Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:48:17Z" msg="Frontend client started" time="2026-09-17T09:48:17Z" msg="Performing full user login" /user username="******** (ca398939)" time="2026-09-17T09:48:17Z" msg="Authorizing user for login" /user username="******** (ca398939)" time="2026-09-17T09:48:17Z" msg="200 OK: GET https://127.0.0.1:34731/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:48:17Z" msg="200 OK: POST https://127.0.0.1:34731/auth/v4/info" /manager time="2026-09-17T09:48:17Z" msg="200 OK: POST https://127.0.0.1:34731/auth/v4" /manager time="2026-09-17T09:48:17Z" msg="Logging in authorized user" /user userID=f802621d-2d70-406d-a448-fd5fba4f5585 time="2026-09-17T09:48:17Z" msg="Adding vault user" userID=f802621d-2d70-406d-a448-fd5fba4f5585 time="2026-09-17T09:48:17Z" msg="Creating new user" userID=f802621d-2d70-406d-a448-fd5fba4f5585 time="2026-09-17T09:48:17Z" msg="404 GET https://127.0.0.1:34731/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:48:17Z" msg="404 GET https://127.0.0.1:34731/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:48:17Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:34731/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:48:17Z" msg="Creating user object" authUID=7301c2b8-f978-4d66-8c3e-586830509f9d numA numL userID=f802621d-2d70-406d-a448-fd5fba4f5585 time="2026-09-17T09:48:17Z" msg="200 OK: GET https://127.0.0.1:34731/core/v4/events/latest" /client userID=f802621d-2d70-406d-a448-fd5fba4f5585 time="2026-09-17T09:48:17Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:48:17Z" msg="200 OK: GET https://127.0.0.1:34731/core/v4/settings" /client userID=f802621d-2d70-406d-a448-fd5fba4f5585 time="2026-09-17T09:48:17Z" msg="Registering user client, ID:f802621d-2d70-406d-a448-fd5fba4f5585" time="2026-09-17T09:48:17Z" msg="Starting service main loop" time="2026-09-17T09:48:17Z" msg="Starting service main loop" time="2026-09-17T09:48:17Z" msg="Starting user identity service" numA time="2026-09-17T09:48:17Z" msg="Starting service main loop" time="2026-09-17T09:48:17Z" msg="200 OK: GET https://127.0.0.1:34731/core/v4/labels?T" /client userID=f802621d-2d70-406d-a448-fd5fba4f5585 time="2026-09-17T09:48:17Z" msg="200 OK: GET https://127.0.0.1:34731/core/v4/labels?T" /client userID=f802621d-2d70-406d-a448-fd5fba4f5585 time="2026-09-17T09:48:17Z" msg="200 OK: GET https://127.0.0.1:34731/core/v4/labels?T" /client userID=f802621d-2d70-406d-a448-fd5fba4f5585 time="2026-09-17T09:48:17Z" msg="Setting labels" labelIDs="[0 4 5 7 8 10 12 1 2 3 6 9]" time="2026-09-17T09:48:17Z" msg="Adding user to imap server" addrID=3f675383-9570-4769-a466-93abf5fb0d5e time="2026-09-17T09:48:17Z" msg="Creating new IMAP user" addrID=3f675383-9570-4769-a466-93abf5fb0d5e time="2026-09-17T09:48:17Z" msg="Setting gluon ID" addrID=3f675383-9570-4769-a466-93abf5fb0d5e gluonID=8a2dcf0e-648b-4b89-b902-ea2fe17f9fd7 userID=f802621d-2d70-406d-a448-fd5fba4f5585 time="2026-09-17T09:48:17Z" msg="Received mailbox message count" gluonID=8a2dcf0e-648b-4b89-b902-ea2fe17f9fd7 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:48:17Z" msg="Created new IMAP user" addrID=3f675383-9570-4769-a466-93abf5fb0d5e gluonID=8a2dcf0e-648b-4b89-b902-ea2fe17f9fd7 time="2026-09-17T09:48:17Z" msg="Validating Listener State" time="2026-09-17T09:48:17Z" time="2026-09-17T09:48:17Z" msg="Checking whether logged in user should re-sync. UserID:f802621d-2d70-406d-a448-fd5fba4f5585" userID=f802621d-2d70-406d-a448-fd5fba4f5585 time="2026-09-17T09:48:17Z" msg="Starting IMAP Service" time="2026-09-17T09:48:17Z" msg="Sync triggered" time="2026-09-17T09:48:17Z" msg="Beginning user sync" start="2026-09-17 09:48:17.449376574 +0000 UTC m=+185.941678910" time="2026-09-17T09:48:17Z" msg="Syncing labels" time="2026-09-17T09:48:17Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=8a2dcf0e-648b-4b89-b902-ea2fe17f9fd7 time="2026-09-17T09:48:17Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=8a2dcf0e-648b-4b89-b902-ea2fe17f9fd7 time="2026-09-17T09:48:17Z" msg="Mailbox created" /user remoteMailboxID=5 userID=8a2dcf0e-648b-4b89-b902-ea2fe17f9fd7 time="2026-09-17T09:48:17Z" msg="Mailbox created" /user remoteMailboxID=7 userID=8a2dcf0e-648b-4b89-b902-ea2fe17f9fd7 time="2026-09-17T09:48:17Z" msg="Mailbox created" /user remoteMailboxID=10 userID=8a2dcf0e-648b-4b89-b902-ea2fe17f9fd7 time="2026-09-17T09:48:17Z" msg="Mailbox created" /user remoteMailboxID=3 userID=8a2dcf0e-648b-4b89-b902-ea2fe17f9fd7 time="2026-09-17T09:48:17Z" msg="Mailbox created" /user remoteMailboxID=6 userID=8a2dcf0e-648b-4b89-b902-ea2fe17f9fd7 time="2026-09-17T09:48:17Z" msg="Mailbox created" /user remoteMailboxID=0 userID=8a2dcf0e-648b-4b89-b902-ea2fe17f9fd7 time="2026-09-17T09:48:17Z" msg="Mailbox created" /user remoteMailboxID=8 userID=8a2dcf0e-648b-4b89-b902-ea2fe17f9fd7 time="2026-09-17T09:48:17Z" msg="Mailbox created" /user remoteMailboxID=12 userID=8a2dcf0e-648b-4b89-b902-ea2fe17f9fd7 time="2026-09-17T09:48:17Z" msg="Mailbox created" /user remoteMailboxID=4 userID=8a2dcf0e-648b-4b89-b902-ea2fe17f9fd7 time="2026-09-17T09:48:17Z" msg="Synced labels" time="2026-09-17T09:48:17Z" msg="200 OK: GET https://127.0.0.1:34731/mail/v4/messages/count" /client userID=f802621d-2d70-406d-a448-fd5fba4f5585 time="2026-09-17T09:48:17Z" msg="Syncing messages" time="2026-09-17T09:48:17Z" msg="Job started" time="2026-09-17T09:48:17Z" msg="200 OK: POST https://127.0.0.1:34731/mail/v4/messages" /client userID=f802621d-2d70-406d-a448-fd5fba4f5585 time="2026-09-17T09:48:17Z" msg="Job finished" time="2026-09-17T09:48:17Z" msg="All child jobs completed" sync- time="2026-09-17T09:48:17Z" msg="Synced messages" time="2026-09-17T09:48:17Z" msg="Finished user sync" .168765ms time="2026-09-17T09:48:17Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:48:17Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:48:17Z" msg="Message has an unknown charset" error="unknown charset: unknown charset: message: unhandled charset \"koi8r\"" time="2026-09-17T09:48:17Z" msg="200 OK: POST https://127.0.0.1:34731/mail/v4/messages/import" /client userID=f802621d-2d70-406d-a448-fd5fba4f5585 time="2026-09-17T09:48:17Z" msg="200 OK: GET https://127.0.0.1:34731/mail/v4/messages/aae7054e-7f43-49c4-baf1-3b55d4a33914" /client userID=f802621d-2d70-406d-a448-fd5fba4f5585 Scenario: Import message as latin1 with wrong content type # features/imap/message/import.feature:149 When IMAP client "1" appends "plain/text_plain_wrong_latin1.eml" to "INBOX" # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:48:17Z" msg="Frontend service stopped" time="2026-09-17T09:48:17Z" msg="Frontend client stopped" time="2026-09-17T09:48:17Z" msg="Closing bridge" time="2026-09-17T09:48:17Z" msg="Stopping service" time="2026-09-17T09:48:17Z" msg="Closing user" userID=f802621d-2d70-406d-a448-fd5fba4f5585 time="2026-09-17T09:48:17Z" msg="De-registering user client, ID:f802621d-2d70-406d-a448-fd5fba4f5585" time="2026-09-17T09:48:17Z" msg="Exiting IMAP Service" time="2026-09-17T09:48:17Z" msg="Exiting service main loop" time="2026-09-17T09:48:17Z" msg="Exiting service main loop" time="2026-09-17T09:48:17Z" msg="Exiting Service" time="2026-09-17T09:48:17Z" msg="Exiting service main loop" time="2026-09-17T09:48:17Z" msg="Exiting service" time="2026-09-17T09:48:17Z" msg="Closing IMAP Listener" time="2026-09-17T09:48:17Z" msg="Closing IMAP server" time="2026-09-17T09:48:17Z" msg="Closing SMTP Listener" time="2026-09-17T09:48:17Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:48:17Z" msg="Closing SMTP server" time="2026-09-17T09:48:17Z" msg="Closing service" And IMAP client "1" eventually sees the following message in "INBOX" with this structure: # :1 -> *scenario """ { "from": "Sender ", "date": "01 Jan 80 00:00 +0000", "to": "Receiver ", "content": { "content-type": "text/plain", "content-type-charset": "utf-8", "body-is": "" } } """ time="2026-09-17T09:48:17Z" msg="User '3fb81c22-b9ae-4c20-b863-38bc81a8e0ec' created with " /server/backend time="2026-09-17T09:48:18Z" msg="Starting bridge" time="2026-09-17T09:48:18Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/095/config3353357071/grpcFocusServerConfig.json /service time="2026-09-17T09:48:18Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/095/cache2500853383/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:48:18Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/095/cache2500853383/notifications/notification_cache: no such file or directory" time="2026-09-17T09:48:18Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/095/data2718005615/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/095/data2718005615/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:48:18Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:48:18Z" msg="Starting IMAP server" time="2026-09-17T09:48:18Z" msg="Starting SMTP server" time="2026-09-17T09:48:18Z" msg="Starting service" time="2026-09-17T09:48:18Z" msg="Starting service" time="2026-09-17T09:48:18Z" msg="Starting poll service" time="2026-09-17T09:48:18Z" msg="Checking for updates" time="2026-09-17T09:48:18Z" msg="Starting frontend service" time="2026-09-17T09:48:18Z" msg="Starting receiver service" time="2026-09-17T09:48:18Z" msg="Loading users" /user time="2026-09-17T09:48:18Z" msg="Finished loading users" /user time="2026-09-17T09:48:18Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/095/config3353357071/grpcServerConfig.json time="2026-09-17T09:48:18Z" msg="gRPC server listening on /tmp/bridge2926" time="2026-09-17T09:48:18Z" msg="Frontend service started" time="2026-09-17T09:48:18Z" msg="Starting frontend client" time="2026-09-17T09:48:18Z" msg="Not monitoring parent PID" time="2026-09-17T09:48:18Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:48:18Z" msg="200 OK: GET https://127.0.0.1:37695/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:48:18Z" msg="Frontend client started" time="2026-09-17T09:48:18Z" msg="Performing full user login" /user username="******** (39663a9d)" time="2026-09-17T09:48:18Z" msg="Authorizing user for login" /user username="******** (39663a9d)" time="2026-09-17T09:48:18Z" msg="200 OK: POST https://127.0.0.1:37695/auth/v4/info" /manager time="2026-09-17T09:48:18Z" msg="200 OK: POST https://127.0.0.1:37695/auth/v4" /manager time="2026-09-17T09:48:18Z" msg="Logging in authorized user" /user userID=af4a9888-5be7-4365-9f3b-102d8a0b6f78 time="2026-09-17T09:48:18Z" msg="Adding vault user" userID=af4a9888-5be7-4365-9f3b-102d8a0b6f78 time="2026-09-17T09:48:18Z" msg="Creating new user" userID=af4a9888-5be7-4365-9f3b-102d8a0b6f78 time="2026-09-17T09:48:18Z" msg="404 GET https://127.0.0.1:37695/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:48:18Z" msg="404 GET https://127.0.0.1:37695/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:48:18Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:37695/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:48:18Z" msg="Creating user object" authUID=1e7adc6c-3e20-4a3a-bd76-1a45c60ca934 numA numL userID=af4a9888-5be7-4365-9f3b-102d8a0b6f78 time="2026-09-17T09:48:18Z" msg="200 OK: GET https://127.0.0.1:37695/core/v4/events/latest" /client userID=af4a9888-5be7-4365-9f3b-102d8a0b6f78 time="2026-09-17T09:48:18Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:48:18Z" msg="200 OK: GET https://127.0.0.1:37695/core/v4/settings" /client userID=af4a9888-5be7-4365-9f3b-102d8a0b6f78 time="2026-09-17T09:48:18Z" msg="Registering user client, ID:af4a9888-5be7-4365-9f3b-102d8a0b6f78" time="2026-09-17T09:48:18Z" msg="Starting user identity service" numA time="2026-09-17T09:48:18Z" msg="Starting service main loop" time="2026-09-17T09:48:18Z" msg="Starting service main loop" time="2026-09-17T09:48:18Z" msg="Starting service main loop" time="2026-09-17T09:48:18Z" msg="200 OK: GET https://127.0.0.1:37695/core/v4/labels?T" /client userID=af4a9888-5be7-4365-9f3b-102d8a0b6f78 time="2026-09-17T09:48:18Z" msg="200 OK: GET https://127.0.0.1:37695/core/v4/labels?T" /client userID=af4a9888-5be7-4365-9f3b-102d8a0b6f78 time="2026-09-17T09:48:18Z" msg="200 OK: GET https://127.0.0.1:37695/core/v4/labels?T" /client userID=af4a9888-5be7-4365-9f3b-102d8a0b6f78 time="2026-09-17T09:48:18Z" msg="Setting labels" labelIDs="[0 1 3 10 12 2 4 5 6 7 8 9]" time="2026-09-17T09:48:18Z" msg="Adding user to imap server" addrID=371303b3-45e3-4884-929f-8cc39d7db3d3 time="2026-09-17T09:48:18Z" msg="Creating new IMAP user" addrID=371303b3-45e3-4884-929f-8cc39d7db3d3 time="2026-09-17T09:48:18Z" msg="Setting gluon ID" addrID=371303b3-45e3-4884-929f-8cc39d7db3d3 gluonID=511a95a6-1405-4b8b-bd83-2a9e1c3228e8 userID=af4a9888-5be7-4365-9f3b-102d8a0b6f78 time="2026-09-17T09:48:18Z" msg="Received mailbox message count" gluonID=511a95a6-1405-4b8b-bd83-2a9e1c3228e8 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:48:18Z" msg="Created new IMAP user" addrID=371303b3-45e3-4884-929f-8cc39d7db3d3 gluonID=511a95a6-1405-4b8b-bd83-2a9e1c3228e8 time="2026-09-17T09:48:18Z" msg="Validating Listener State" time="2026-09-17T09:48:18Z" time="2026-09-17T09:48:18Z" msg="Starting IMAP Service" time="2026-09-17T09:48:18Z" msg="Checking whether logged in user should re-sync. UserID:af4a9888-5be7-4365-9f3b-102d8a0b6f78" userID=af4a9888-5be7-4365-9f3b-102d8a0b6f78 time="2026-09-17T09:48:18Z" msg="Sync triggered" time="2026-09-17T09:48:18Z" msg="Beginning user sync" start="2026-09-17 09:48:18.662937597 +0000 UTC m=+187.155239933" time="2026-09-17T09:48:18Z" msg="Syncing labels" time="2026-09-17T09:48:18Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=511a95a6-1405-4b8b-bd83-2a9e1c3228e8 time="2026-09-17T09:48:18Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=511a95a6-1405-4b8b-bd83-2a9e1c3228e8 time="2026-09-17T09:48:18Z" msg="Mailbox created" /user remoteMailboxID=5 userID=511a95a6-1405-4b8b-bd83-2a9e1c3228e8 time="2026-09-17T09:48:18Z" msg="Mailbox created" /user remoteMailboxID=8 userID=511a95a6-1405-4b8b-bd83-2a9e1c3228e8 time="2026-09-17T09:48:18Z" msg="Mailbox created" /user remoteMailboxID=0 userID=511a95a6-1405-4b8b-bd83-2a9e1c3228e8 time="2026-09-17T09:48:18Z" msg="Mailbox created" /user remoteMailboxID=3 userID=511a95a6-1405-4b8b-bd83-2a9e1c3228e8 time="2026-09-17T09:48:18Z" msg="Mailbox created" /user remoteMailboxID=10 userID=511a95a6-1405-4b8b-bd83-2a9e1c3228e8 time="2026-09-17T09:48:18Z" msg="Mailbox created" /user remoteMailboxID=12 userID=511a95a6-1405-4b8b-bd83-2a9e1c3228e8 time="2026-09-17T09:48:18Z" msg="Mailbox created" /user remoteMailboxID=4 userID=511a95a6-1405-4b8b-bd83-2a9e1c3228e8 time="2026-09-17T09:48:18Z" msg="Mailbox created" /user remoteMailboxID=6 userID=511a95a6-1405-4b8b-bd83-2a9e1c3228e8 time="2026-09-17T09:48:18Z" msg="Mailbox created" /user remoteMailboxID=7 userID=511a95a6-1405-4b8b-bd83-2a9e1c3228e8 time="2026-09-17T09:48:18Z" msg="Synced labels" time="2026-09-17T09:48:18Z" msg="200 OK: GET https://127.0.0.1:37695/mail/v4/messages/count" /client userID=af4a9888-5be7-4365-9f3b-102d8a0b6f78 time="2026-09-17T09:48:18Z" msg="Syncing messages" time="2026-09-17T09:48:18Z" msg="Job started" time="2026-09-17T09:48:18Z" msg="200 OK: POST https://127.0.0.1:37695/mail/v4/messages" /client userID=af4a9888-5be7-4365-9f3b-102d8a0b6f78 time="2026-09-17T09:48:18Z" msg="Job finished" time="2026-09-17T09:48:18Z" msg="All child jobs completed" sync- time="2026-09-17T09:48:18Z" msg="Synced messages" time="2026-09-17T09:48:18Z" msg="Finished user sync" .506798ms time="2026-09-17T09:48:18Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:48:18Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:48:18Z" msg="200 OK: POST https://127.0.0.1:37695/mail/v4/messages/import" /client userID=af4a9888-5be7-4365-9f3b-102d8a0b6f78 time="2026-09-17T09:48:18Z" msg="200 OK: GET https://127.0.0.1:37695/mail/v4/messages/1bbf5931-1a38-41af-b253-99f745f3a972" /client userID=af4a9888-5be7-4365-9f3b-102d8a0b6f78 Scenario: Import received message to Sent # features/imap/message/import.feature:166 When IMAP client "1" appends the following message to "Sent": # :1 -> *scenario """ From: Foo Date: 01 Jan 1980 00:00:00 +0000 To: Bridge Test Subject: Hello Received: by 2002:0:0:0:0:0:0:0 with SMTP id 0123456789abcdef; Wed, 30 Dec 2020 01:23:45 0000 Hello """ Then it succeeds # :1 -> *scenario And IMAP client "1" eventually sees the following message in "Sent" with this structure: # :1 -> *scenario """ { "from": "Foo ", "date": "01 Jan 80 00:00 +0000", "to": "Bridge Test ", "subject": "Hello", "content": { "content-type": "text/plain", "body-is": "Hello" } } """ time="2026-09-17T09:48:18Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 8} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:48:18Z" msg="Frontend service stopped" time="2026-09-17T09:48:18Z" msg="Frontend client stopped" time="2026-09-17T09:48:18Z" msg="Closing bridge" time="2026-09-17T09:48:18Z" msg="Stopping service" time="2026-09-17T09:48:18Z" msg="Closing user" userID=af4a9888-5be7-4365-9f3b-102d8a0b6f78 time="2026-09-17T09:48:18Z" msg="De-registering user client, ID:af4a9888-5be7-4365-9f3b-102d8a0b6f78" time="2026-09-17T09:48:18Z" msg="Exiting IMAP Service" time="2026-09-17T09:48:18Z" msg="Exiting service main loop" time="2026-09-17T09:48:18Z" msg="Exiting service main loop" time="2026-09-17T09:48:18Z" msg="Exiting Service" time="2026-09-17T09:48:18Z" msg="Exiting service main loop" time="2026-09-17T09:48:18Z" msg="Exiting service" time="2026-09-17T09:48:18Z" msg="Closing IMAP Listener" time="2026-09-17T09:48:18Z" msg="Closing IMAP server" time="2026-09-17T09:48:18Z" msg="Closing SMTP Listener" time="2026-09-17T09:48:18Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:48:18Z" msg="Closing SMTP server" time="2026-09-17T09:48:18Z" msg="Closing service" And IMAP client "1" eventually sees 0 messages in "Inbox" # :1 -> *scenario time="2026-09-17T09:48:19Z" msg="User 'd302033b-38ad-4679-a7a9-7c2bb4c0ba5d' created with " /server/backend time="2026-09-17T09:48:19Z" msg="Starting bridge" time="2026-09-17T09:48:19Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/096/config3579868821/grpcFocusServerConfig.json /service time="2026-09-17T09:48:19Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/096/cache1321668701/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:48:19Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/096/cache1321668701/notifications/notification_cache: no such file or directory" time="2026-09-17T09:48:19Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/096/data4003882454/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/096/data4003882454/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:48:19Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:48:19Z" msg="Starting IMAP server" time="2026-09-17T09:48:19Z" msg="Starting SMTP server" time="2026-09-17T09:48:19Z" msg="Starting service" time="2026-09-17T09:48:19Z" msg="Starting service" time="2026-09-17T09:48:19Z" msg="Starting poll service" time="2026-09-17T09:48:19Z" msg="Checking for updates" time="2026-09-17T09:48:19Z" msg="Loading users" /user time="2026-09-17T09:48:19Z" msg="Starting receiver service" time="2026-09-17T09:48:19Z" msg="Starting frontend service" time="2026-09-17T09:48:19Z" msg="Finished loading users" /user time="2026-09-17T09:48:19Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/096/config3579868821/grpcServerConfig.json time="2026-09-17T09:48:19Z" msg="gRPC server listening on /tmp/bridge5426" time="2026-09-17T09:48:19Z" msg="Frontend service started" time="2026-09-17T09:48:19Z" msg="Starting frontend client" time="2026-09-17T09:48:19Z" msg="Not monitoring parent PID" time="2026-09-17T09:48:19Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:48:19Z" msg="200 OK: GET https://127.0.0.1:45575/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:48:19Z" msg="Frontend client started" time="2026-09-17T09:48:19Z" msg="Performing full user login" /user username="******** (bd7dfa6e)" time="2026-09-17T09:48:19Z" msg="Authorizing user for login" /user username="******** (bd7dfa6e)" time="2026-09-17T09:48:19Z" msg="200 OK: POST https://127.0.0.1:45575/auth/v4/info" /manager time="2026-09-17T09:48:19Z" msg="200 OK: POST https://127.0.0.1:45575/auth/v4" /manager time="2026-09-17T09:48:19Z" msg="Logging in authorized user" /user userID=0824ba60-8305-44c7-be5d-0be596a31458 time="2026-09-17T09:48:19Z" msg="Adding vault user" userID=0824ba60-8305-44c7-be5d-0be596a31458 time="2026-09-17T09:48:19Z" msg="Creating new user" userID=0824ba60-8305-44c7-be5d-0be596a31458 time="2026-09-17T09:48:19Z" msg="404 GET https://127.0.0.1:45575/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:48:19Z" msg="404 GET https://127.0.0.1:45575/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:48:19Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:45575/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:48:19Z" msg="Creating user object" authUID=8d4b5160-5eb3-4dd8-8a10-fda9eb52696f numA numL userID=0824ba60-8305-44c7-be5d-0be596a31458 time="2026-09-17T09:48:19Z" msg="200 OK: GET https://127.0.0.1:45575/core/v4/events/latest" /client userID=0824ba60-8305-44c7-be5d-0be596a31458 time="2026-09-17T09:48:19Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:48:19Z" msg="200 OK: GET https://127.0.0.1:45575/core/v4/settings" /client userID=0824ba60-8305-44c7-be5d-0be596a31458 time="2026-09-17T09:48:19Z" msg="Registering user client, ID:0824ba60-8305-44c7-be5d-0be596a31458" time="2026-09-17T09:48:19Z" msg="Starting user identity service" numA time="2026-09-17T09:48:19Z" msg="Starting service main loop" time="2026-09-17T09:48:19Z" msg="Starting service main loop" time="2026-09-17T09:48:19Z" msg="Starting service main loop" time="2026-09-17T09:48:19Z" msg="200 OK: GET https://127.0.0.1:45575/core/v4/labels?T" /client userID=0824ba60-8305-44c7-be5d-0be596a31458 time="2026-09-17T09:48:19Z" msg="200 OK: GET https://127.0.0.1:45575/core/v4/labels?T" /client userID=0824ba60-8305-44c7-be5d-0be596a31458 time="2026-09-17T09:48:19Z" msg="200 OK: GET https://127.0.0.1:45575/core/v4/labels?T" /client userID=0824ba60-8305-44c7-be5d-0be596a31458 time="2026-09-17T09:48:19Z" msg="Setting labels" labelIDs="[5 7 8 9 10 2 3 6 12 0 1 4]" time="2026-09-17T09:48:19Z" msg="Adding user to imap server" addrID=79664ca8-5d76-478e-9f6c-d32a66432580 time="2026-09-17T09:48:19Z" msg="Creating new IMAP user" addrID=79664ca8-5d76-478e-9f6c-d32a66432580 time="2026-09-17T09:48:19Z" msg="Setting gluon ID" addrID=79664ca8-5d76-478e-9f6c-d32a66432580 gluonID=92633f34-ccca-498d-936a-1be4916a9866 userID=0824ba60-8305-44c7-be5d-0be596a31458 time="2026-09-17T09:48:19Z" msg="Received mailbox message count" gluonID=92633f34-ccca-498d-936a-1be4916a9866 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:48:19Z" msg="Created new IMAP user" addrID=79664ca8-5d76-478e-9f6c-d32a66432580 gluonID=92633f34-ccca-498d-936a-1be4916a9866 time="2026-09-17T09:48:19Z" msg="Validating Listener State" time="2026-09-17T09:48:19Z" time="2026-09-17T09:48:19Z" msg="Starting IMAP Service" time="2026-09-17T09:48:19Z" msg="Checking whether logged in user should re-sync. UserID:0824ba60-8305-44c7-be5d-0be596a31458" userID=0824ba60-8305-44c7-be5d-0be596a31458 time="2026-09-17T09:48:19Z" msg="Sync triggered" time="2026-09-17T09:48:19Z" msg="Beginning user sync" start="2026-09-17 09:48:19.976463101 +0000 UTC m=+188.468765437" time="2026-09-17T09:48:19Z" msg="Syncing labels" time="2026-09-17T09:48:19Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=92633f34-ccca-498d-936a-1be4916a9866 time="2026-09-17T09:48:19Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=92633f34-ccca-498d-936a-1be4916a9866 time="2026-09-17T09:48:19Z" msg="Mailbox created" /user remoteMailboxID=7 userID=92633f34-ccca-498d-936a-1be4916a9866 time="2026-09-17T09:48:19Z" msg="Mailbox created" /user remoteMailboxID=10 userID=92633f34-ccca-498d-936a-1be4916a9866 time="2026-09-17T09:48:19Z" msg="Mailbox created" /user remoteMailboxID=12 userID=92633f34-ccca-498d-936a-1be4916a9866 time="2026-09-17T09:48:19Z" msg="Mailbox created" /user remoteMailboxID=5 userID=92633f34-ccca-498d-936a-1be4916a9866 time="2026-09-17T09:48:19Z" msg="Mailbox created" /user remoteMailboxID=8 userID=92633f34-ccca-498d-936a-1be4916a9866 time="2026-09-17T09:48:19Z" msg="Mailbox created" /user remoteMailboxID=3 userID=92633f34-ccca-498d-936a-1be4916a9866 time="2026-09-17T09:48:19Z" msg="Mailbox created" /user remoteMailboxID=6 userID=92633f34-ccca-498d-936a-1be4916a9866 time="2026-09-17T09:48:19Z" msg="Mailbox created" /user remoteMailboxID=0 userID=92633f34-ccca-498d-936a-1be4916a9866 time="2026-09-17T09:48:19Z" msg="Mailbox created" /user remoteMailboxID=4 userID=92633f34-ccca-498d-936a-1be4916a9866 time="2026-09-17T09:48:19Z" msg="Synced labels" time="2026-09-17T09:48:19Z" msg="200 OK: GET https://127.0.0.1:45575/mail/v4/messages/count" /client userID=0824ba60-8305-44c7-be5d-0be596a31458 time="2026-09-17T09:48:19Z" msg="Syncing messages" time="2026-09-17T09:48:19Z" msg="Job started" time="2026-09-17T09:48:19Z" msg="200 OK: POST https://127.0.0.1:45575/mail/v4/messages" /client userID=0824ba60-8305-44c7-be5d-0be596a31458 time="2026-09-17T09:48:19Z" msg="Job finished" time="2026-09-17T09:48:19Z" msg="All child jobs completed" sync- time="2026-09-17T09:48:19Z" msg="Synced messages" time="2026-09-17T09:48:19Z" msg="Finished user sync" .972248ms time="2026-09-17T09:48:19Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:48:19Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:48:20Z" msg="200 OK: POST https://127.0.0.1:45575/mail/v4/messages/import" /client userID=0824ba60-8305-44c7-be5d-0be596a31458 time="2026-09-17T09:48:20Z" msg="200 OK: GET https://127.0.0.1:45575/mail/v4/messages/344fdc0d-3a2e-4002-91e7-f23aa5b4964f" /client userID=0824ba60-8305-44c7-be5d-0be596a31458 Scenario: Import non-received message to Inbox # features/imap/message/import.feature:193 When IMAP client "1" appends the following message to "Inbox": # :1 -> *scenario """ From: Foo Date: 01 Jan 1980 00:00:00 +0000 To: Bridge Test Subject: Hello Hello """ Then it succeeds # :1 -> *scenario And IMAP client "1" eventually sees the following message in "INBOX" with this structure: # :1 -> *scenario """ { "from": "Foo ", "date": "01 Jan 80 00:00 +0000", "to": "Bridge Test ", "subject": "Hello", "content": { "content-type": "text/plain", "body-is": "Hello" } } """ time="2026-09-17T09:48:20Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 8} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:48:20Z" msg="Frontend service stopped" time="2026-09-17T09:48:20Z" msg="Frontend client stopped" time="2026-09-17T09:48:20Z" msg="Closing bridge" time="2026-09-17T09:48:20Z" msg="Stopping service" time="2026-09-17T09:48:20Z" msg="Closing user" userID=0824ba60-8305-44c7-be5d-0be596a31458 time="2026-09-17T09:48:20Z" msg="De-registering user client, ID:0824ba60-8305-44c7-be5d-0be596a31458" time="2026-09-17T09:48:20Z" msg="Exiting IMAP Service" time="2026-09-17T09:48:20Z" msg="Exiting service main loop" time="2026-09-17T09:48:20Z" msg="Exiting service main loop" time="2026-09-17T09:48:20Z" msg="Exiting Service" time="2026-09-17T09:48:20Z" msg="Exiting service main loop" time="2026-09-17T09:48:20Z" msg="Exiting service" time="2026-09-17T09:48:20Z" msg="Closing IMAP Listener" time="2026-09-17T09:48:20Z" msg="Closing IMAP server" time="2026-09-17T09:48:20Z" msg="Closing SMTP Listener" time="2026-09-17T09:48:20Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:48:20Z" msg="Closing SMTP server" time="2026-09-17T09:48:20Z" msg="Closing service" And IMAP client "1" eventually sees 0 messages in "Sent" # :1 -> *scenario time="2026-09-17T09:48:20Z" msg="User 'edcfec6d-2c11-4c32-b407-e0d701077890' created with " /server/backend time="2026-09-17T09:48:20Z" msg="Starting bridge" time="2026-09-17T09:48:20Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/097/config2623479496/grpcFocusServerConfig.json /service time="2026-09-17T09:48:20Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/097/cache411636022/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:48:20Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/097/cache411636022/notifications/notification_cache: no such file or directory" time="2026-09-17T09:48:20Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/097/data3938446272/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/097/data3938446272/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:48:20Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:48:20Z" msg="Starting IMAP server" time="2026-09-17T09:48:20Z" msg="Starting SMTP server" time="2026-09-17T09:48:20Z" msg="Starting service" time="2026-09-17T09:48:20Z" msg="Starting service" time="2026-09-17T09:48:20Z" msg="Starting poll service" time="2026-09-17T09:48:20Z" msg="Checking for updates" time="2026-09-17T09:48:20Z" msg="Starting frontend service" time="2026-09-17T09:48:20Z" msg="Starting receiver service" time="2026-09-17T09:48:20Z" msg="Loading users" /user time="2026-09-17T09:48:20Z" msg="Finished loading users" /user time="2026-09-17T09:48:20Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/097/config2623479496/grpcServerConfig.json time="2026-09-17T09:48:20Z" msg="gRPC server listening on /tmp/bridge7973" time="2026-09-17T09:48:20Z" msg="Frontend service started" time="2026-09-17T09:48:20Z" msg="Starting frontend client" time="2026-09-17T09:48:20Z" msg="Not monitoring parent PID" time="2026-09-17T09:48:20Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:48:20Z" msg="200 OK: GET https://127.0.0.1:36049/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:48:20Z" msg="Frontend client started" time="2026-09-17T09:48:20Z" msg="Performing full user login" /user username="******** (a142d8f3)" time="2026-09-17T09:48:20Z" msg="Authorizing user for login" /user username="******** (a142d8f3)" time="2026-09-17T09:48:20Z" msg="200 OK: POST https://127.0.0.1:36049/auth/v4/info" /manager time="2026-09-17T09:48:21Z" msg="200 OK: POST https://127.0.0.1:36049/auth/v4" /manager time="2026-09-17T09:48:21Z" msg="Logging in authorized user" /user userID=764ac38f-e022-4408-a413-e11cdd82a4a4 time="2026-09-17T09:48:21Z" msg="Adding vault user" userID=764ac38f-e022-4408-a413-e11cdd82a4a4 time="2026-09-17T09:48:21Z" msg="Creating new user" userID=764ac38f-e022-4408-a413-e11cdd82a4a4 time="2026-09-17T09:48:21Z" msg="404 GET https://127.0.0.1:36049/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:48:21Z" msg="404 GET https://127.0.0.1:36049/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:48:21Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:36049/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:48:21Z" msg="Creating user object" authUID=d28d97c9-4b3b-42f4-a268-0d8ced426b5c numA numL userID=764ac38f-e022-4408-a413-e11cdd82a4a4 time="2026-09-17T09:48:21Z" msg="200 OK: GET https://127.0.0.1:36049/core/v4/events/latest" /client userID=764ac38f-e022-4408-a413-e11cdd82a4a4 time="2026-09-17T09:48:21Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:48:21Z" msg="200 OK: GET https://127.0.0.1:36049/core/v4/settings" /client userID=764ac38f-e022-4408-a413-e11cdd82a4a4 time="2026-09-17T09:48:21Z" msg="Registering user client, ID:764ac38f-e022-4408-a413-e11cdd82a4a4" time="2026-09-17T09:48:21Z" msg="Starting service main loop" time="2026-09-17T09:48:21Z" msg="Starting user identity service" numA time="2026-09-17T09:48:21Z" msg="Starting service main loop" time="2026-09-17T09:48:21Z" msg="Starting service main loop" time="2026-09-17T09:48:21Z" msg="200 OK: GET https://127.0.0.1:36049/core/v4/labels?T" /client userID=764ac38f-e022-4408-a413-e11cdd82a4a4 time="2026-09-17T09:48:21Z" msg="200 OK: GET https://127.0.0.1:36049/core/v4/labels?T" /client userID=764ac38f-e022-4408-a413-e11cdd82a4a4 time="2026-09-17T09:48:21Z" msg="200 OK: GET https://127.0.0.1:36049/core/v4/labels?T" /client userID=764ac38f-e022-4408-a413-e11cdd82a4a4 time="2026-09-17T09:48:21Z" msg="Setting labels" labelIDs="[9 10 1 3 4 12 0 2 5 6 7 8]" time="2026-09-17T09:48:21Z" msg="Adding user to imap server" addrID=855e007f-0e7d-47b2-a938-f7cb51904dc1 time="2026-09-17T09:48:21Z" msg="Creating new IMAP user" addrID=855e007f-0e7d-47b2-a938-f7cb51904dc1 time="2026-09-17T09:48:21Z" msg="Setting gluon ID" addrID=855e007f-0e7d-47b2-a938-f7cb51904dc1 gluonID=f9ad545d-b3db-4b15-9ea5-f4b249f07fa2 userID=764ac38f-e022-4408-a413-e11cdd82a4a4 time="2026-09-17T09:48:21Z" msg="Received mailbox message count" gluonID=f9ad545d-b3db-4b15-9ea5-f4b249f07fa2 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:48:21Z" msg="Created new IMAP user" addrID=855e007f-0e7d-47b2-a938-f7cb51904dc1 gluonID=f9ad545d-b3db-4b15-9ea5-f4b249f07fa2 time="2026-09-17T09:48:21Z" msg="Validating Listener State" time="2026-09-17T09:48:21Z" time="2026-09-17T09:48:21Z" msg="Starting IMAP Service" time="2026-09-17T09:48:21Z" msg="Checking whether logged in user should re-sync. UserID:764ac38f-e022-4408-a413-e11cdd82a4a4" userID=764ac38f-e022-4408-a413-e11cdd82a4a4 time="2026-09-17T09:48:21Z" msg="Sync triggered" time="2026-09-17T09:48:21Z" msg="Beginning user sync" start="2026-09-17 09:48:21.300179409 +0000 UTC m=+189.792481665" time="2026-09-17T09:48:21Z" msg="Syncing labels" time="2026-09-17T09:48:21Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=f9ad545d-b3db-4b15-9ea5-f4b249f07fa2 time="2026-09-17T09:48:21Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=f9ad545d-b3db-4b15-9ea5-f4b249f07fa2 time="2026-09-17T09:48:21Z" msg="Mailbox created" /user remoteMailboxID=3 userID=f9ad545d-b3db-4b15-9ea5-f4b249f07fa2 time="2026-09-17T09:48:21Z" msg="Mailbox created" /user remoteMailboxID=4 userID=f9ad545d-b3db-4b15-9ea5-f4b249f07fa2 time="2026-09-17T09:48:21Z" msg="Mailbox created" /user remoteMailboxID=12 userID=f9ad545d-b3db-4b15-9ea5-f4b249f07fa2 time="2026-09-17T09:48:21Z" msg="Mailbox created" /user remoteMailboxID=5 userID=f9ad545d-b3db-4b15-9ea5-f4b249f07fa2 time="2026-09-17T09:48:21Z" msg="Mailbox created" /user remoteMailboxID=6 userID=f9ad545d-b3db-4b15-9ea5-f4b249f07fa2 time="2026-09-17T09:48:21Z" msg="Mailbox created" /user remoteMailboxID=7 userID=f9ad545d-b3db-4b15-9ea5-f4b249f07fa2 time="2026-09-17T09:48:21Z" msg="Mailbox created" /user remoteMailboxID=10 userID=f9ad545d-b3db-4b15-9ea5-f4b249f07fa2 time="2026-09-17T09:48:21Z" msg="Mailbox created" /user remoteMailboxID=0 userID=f9ad545d-b3db-4b15-9ea5-f4b249f07fa2 time="2026-09-17T09:48:21Z" msg="Mailbox created" /user remoteMailboxID=8 userID=f9ad545d-b3db-4b15-9ea5-f4b249f07fa2 time="2026-09-17T09:48:21Z" msg="Synced labels" time="2026-09-17T09:48:21Z" msg="200 OK: GET https://127.0.0.1:36049/mail/v4/messages/count" /client userID=764ac38f-e022-4408-a413-e11cdd82a4a4 time="2026-09-17T09:48:21Z" msg="Syncing messages" time="2026-09-17T09:48:21Z" msg="Job started" time="2026-09-17T09:48:21Z" msg="200 OK: POST https://127.0.0.1:36049/mail/v4/messages" /client userID=764ac38f-e022-4408-a413-e11cdd82a4a4 time="2026-09-17T09:48:21Z" msg="Job finished" time="2026-09-17T09:48:21Z" msg="All child jobs completed" sync- time="2026-09-17T09:48:21Z" msg="Synced messages" time="2026-09-17T09:48:21Z" msg="Finished user sync" .579514ms time="2026-09-17T09:48:21Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:48:21Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:48:21Z" msg="200 OK: POST https://127.0.0.1:36049/mail/v4/messages/import" /client userID=764ac38f-e022-4408-a413-e11cdd82a4a4 time="2026-09-17T09:48:21Z" msg="200 OK: GET https://127.0.0.1:36049/mail/v4/messages/720bc578-dfdc-4cc3-b9c1-fab8ef3b9801" /client userID=764ac38f-e022-4408-a413-e11cdd82a4a4 Scenario: Import non-received message to Sent # features/imap/message/import.feature:220 When IMAP client "1" appends the following message to "Sent": # :1 -> *scenario """ From: Foo Date: 01 Jan 1980 00:00:00 +0000 To: Bridge Test Subject: Hello Hello """ Then it succeeds # :1 -> *scenario And IMAP client "1" eventually sees 0 messages in "Inbox" # :1 -> *scenario time="2026-09-17T09:48:21Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 6} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:48:21Z" msg="Frontend service stopped" time="2026-09-17T09:48:21Z" msg="Frontend client stopped" time="2026-09-17T09:48:21Z" msg="Closing bridge" time="2026-09-17T09:48:21Z" msg="Stopping service" time="2026-09-17T09:48:21Z" msg="Closing user" userID=764ac38f-e022-4408-a413-e11cdd82a4a4 time="2026-09-17T09:48:21Z" msg="De-registering user client, ID:764ac38f-e022-4408-a413-e11cdd82a4a4" time="2026-09-17T09:48:21Z" msg="Exiting IMAP Service" time="2026-09-17T09:48:21Z" msg="Exiting service main loop" time="2026-09-17T09:48:21Z" msg="Exiting service main loop" time="2026-09-17T09:48:21Z" msg="Exiting Service" time="2026-09-17T09:48:21Z" msg="Exiting service main loop" time="2026-09-17T09:48:21Z" msg="Exiting service" time="2026-09-17T09:48:21Z" msg="Closing IMAP Listener" time="2026-09-17T09:48:21Z" msg="Closing IMAP server" time="2026-09-17T09:48:21Z" msg="Closing SMTP Listener" time="2026-09-17T09:48:21Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:48:21Z" msg="Closing SMTP server" time="2026-09-17T09:48:21Z" msg="Closing service" And IMAP client "1" eventually sees the following message in "Sent" with this structure: # :1 -> *scenario """ { "from": "Foo ", "date": "01 Jan 80 00:00 +0000", "to": "Bridge Test ", "subject": "Hello", "content": { "content-type": "text/plain", "body-is": "Hello" } } """ time="2026-09-17T09:48:21Z" msg="User 'e94e9120-7cab-47a9-a45c-cd3ee40c2702' created with " /server/backend time="2026-09-17T09:48:22Z" msg="Starting bridge" time="2026-09-17T09:48:22Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/098/config3204947906/grpcFocusServerConfig.json /service time="2026-09-17T09:48:22Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/098/cache2074124073/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:48:22Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/098/cache2074124073/notifications/notification_cache: no such file or directory" time="2026-09-17T09:48:22Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/098/data3916890307/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/098/data3916890307/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:48:22Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:48:22Z" msg="Starting IMAP server" time="2026-09-17T09:48:22Z" msg="Starting SMTP server" time="2026-09-17T09:48:22Z" msg="Starting service" time="2026-09-17T09:48:22Z" msg="Starting service" time="2026-09-17T09:48:22Z" msg="Starting poll service" time="2026-09-17T09:48:22Z" msg="Checking for updates" time="2026-09-17T09:48:22Z" msg="Loading users" /user time="2026-09-17T09:48:22Z" msg="Starting frontend service" time="2026-09-17T09:48:22Z" msg="Finished loading users" /user time="2026-09-17T09:48:22Z" msg="Starting receiver service" time="2026-09-17T09:48:22Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/098/config3204947906/grpcServerConfig.json time="2026-09-17T09:48:22Z" msg="gRPC server listening on /tmp/bridge1022" time="2026-09-17T09:48:22Z" msg="Frontend service started" time="2026-09-17T09:48:22Z" msg="Starting frontend client" time="2026-09-17T09:48:22Z" msg="Not monitoring parent PID" time="2026-09-17T09:48:22Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:48:22Z" msg="200 OK: GET https://127.0.0.1:41435/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:48:22Z" msg="Frontend client started" time="2026-09-17T09:48:22Z" msg="Performing full user login" /user username="******** (7056728f)" time="2026-09-17T09:48:22Z" msg="Authorizing user for login" /user username="******** (7056728f)" time="2026-09-17T09:48:22Z" msg="200 OK: POST https://127.0.0.1:41435/auth/v4/info" /manager time="2026-09-17T09:48:22Z" msg="200 OK: POST https://127.0.0.1:41435/auth/v4" /manager time="2026-09-17T09:48:22Z" msg="Logging in authorized user" /user userID=d0ceb2f0-33e9-429d-9f33-04c93f02504f time="2026-09-17T09:48:22Z" msg="Adding vault user" userID=d0ceb2f0-33e9-429d-9f33-04c93f02504f time="2026-09-17T09:48:22Z" msg="Creating new user" userID=d0ceb2f0-33e9-429d-9f33-04c93f02504f time="2026-09-17T09:48:22Z" msg="404 GET https://127.0.0.1:41435/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:48:22Z" msg="404 GET https://127.0.0.1:41435/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:48:22Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:41435/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:48:22Z" msg="Creating user object" authUID=51082967-1bb5-4334-a2e0-a77fc7167061 numA numL userID=d0ceb2f0-33e9-429d-9f33-04c93f02504f time="2026-09-17T09:48:22Z" msg="200 OK: GET https://127.0.0.1:41435/core/v4/events/latest" /client userID=d0ceb2f0-33e9-429d-9f33-04c93f02504f time="2026-09-17T09:48:22Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:48:22Z" msg="200 OK: GET https://127.0.0.1:41435/core/v4/settings" /client userID=d0ceb2f0-33e9-429d-9f33-04c93f02504f time="2026-09-17T09:48:22Z" msg="Registering user client, ID:d0ceb2f0-33e9-429d-9f33-04c93f02504f" time="2026-09-17T09:48:22Z" msg="Starting service main loop" time="2026-09-17T09:48:22Z" msg="Starting user identity service" numA time="2026-09-17T09:48:22Z" msg="Starting service main loop" time="2026-09-17T09:48:22Z" msg="Starting service main loop" time="2026-09-17T09:48:22Z" msg="200 OK: GET https://127.0.0.1:41435/core/v4/labels?T" /client userID=d0ceb2f0-33e9-429d-9f33-04c93f02504f time="2026-09-17T09:48:22Z" msg="200 OK: GET https://127.0.0.1:41435/core/v4/labels?T" /client userID=d0ceb2f0-33e9-429d-9f33-04c93f02504f time="2026-09-17T09:48:22Z" msg="200 OK: GET https://127.0.0.1:41435/core/v4/labels?T" /client userID=d0ceb2f0-33e9-429d-9f33-04c93f02504f time="2026-09-17T09:48:22Z" msg="Setting labels" labelIDs="[7 10 0 5 8 9 12 1 2 3 4 6]" time="2026-09-17T09:48:22Z" msg="Adding user to imap server" addrID=c3660297-cc08-4bf5-a3fc-5d385ee2f9e3 time="2026-09-17T09:48:22Z" msg="Creating new IMAP user" addrID=c3660297-cc08-4bf5-a3fc-5d385ee2f9e3 time="2026-09-17T09:48:22Z" msg="Setting gluon ID" addrID=c3660297-cc08-4bf5-a3fc-5d385ee2f9e3 gluonID=44330313-2285-4c37-a3e1-a4864d566f08 userID=d0ceb2f0-33e9-429d-9f33-04c93f02504f time="2026-09-17T09:48:22Z" msg="Received mailbox message count" gluonID=44330313-2285-4c37-a3e1-a4864d566f08 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:48:22Z" msg="Created new IMAP user" addrID=c3660297-cc08-4bf5-a3fc-5d385ee2f9e3 gluonID=44330313-2285-4c37-a3e1-a4864d566f08 time="2026-09-17T09:48:22Z" msg="Validating Listener State" time="2026-09-17T09:48:22Z" time="2026-09-17T09:48:22Z" msg="Starting IMAP Service" time="2026-09-17T09:48:22Z" msg="Sync triggered" time="2026-09-17T09:48:22Z" msg="Checking whether logged in user should re-sync. UserID:d0ceb2f0-33e9-429d-9f33-04c93f02504f" userID=d0ceb2f0-33e9-429d-9f33-04c93f02504f time="2026-09-17T09:48:22Z" msg="Beginning user sync" start="2026-09-17 09:48:22.613012471 +0000 UTC m=+191.105314807" time="2026-09-17T09:48:22Z" msg="Syncing labels" time="2026-09-17T09:48:22Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=44330313-2285-4c37-a3e1-a4864d566f08 time="2026-09-17T09:48:22Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=44330313-2285-4c37-a3e1-a4864d566f08 time="2026-09-17T09:48:22Z" msg="Mailbox created" /user remoteMailboxID=7 userID=44330313-2285-4c37-a3e1-a4864d566f08 time="2026-09-17T09:48:22Z" msg="Mailbox created" /user remoteMailboxID=10 userID=44330313-2285-4c37-a3e1-a4864d566f08 time="2026-09-17T09:48:22Z" msg="Mailbox created" /user remoteMailboxID=4 userID=44330313-2285-4c37-a3e1-a4864d566f08 time="2026-09-17T09:48:22Z" msg="Mailbox created" /user remoteMailboxID=6 userID=44330313-2285-4c37-a3e1-a4864d566f08 time="2026-09-17T09:48:22Z" msg="Mailbox created" /user remoteMailboxID=0 userID=44330313-2285-4c37-a3e1-a4864d566f08 time="2026-09-17T09:48:22Z" msg="Mailbox created" /user remoteMailboxID=5 userID=44330313-2285-4c37-a3e1-a4864d566f08 time="2026-09-17T09:48:22Z" msg="Mailbox created" /user remoteMailboxID=8 userID=44330313-2285-4c37-a3e1-a4864d566f08 time="2026-09-17T09:48:22Z" msg="Mailbox created" /user remoteMailboxID=12 userID=44330313-2285-4c37-a3e1-a4864d566f08 time="2026-09-17T09:48:22Z" msg="Mailbox created" /user remoteMailboxID=3 userID=44330313-2285-4c37-a3e1-a4864d566f08 time="2026-09-17T09:48:22Z" msg="Synced labels" time="2026-09-17T09:48:22Z" msg="200 OK: GET https://127.0.0.1:41435/mail/v4/messages/count" /client userID=d0ceb2f0-33e9-429d-9f33-04c93f02504f time="2026-09-17T09:48:22Z" msg="Syncing messages" time="2026-09-17T09:48:22Z" msg="Job started" time="2026-09-17T09:48:22Z" msg="200 OK: POST https://127.0.0.1:41435/mail/v4/messages" /client userID=d0ceb2f0-33e9-429d-9f33-04c93f02504f time="2026-09-17T09:48:22Z" msg="Job finished" time="2026-09-17T09:48:22Z" msg="All child jobs completed" sync- time="2026-09-17T09:48:22Z" msg="Synced messages" time="2026-09-17T09:48:22Z" msg="Finished user sync" .1574ms time="2026-09-17T09:48:22Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:48:22Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:48:22Z" msg="200 OK: POST https://127.0.0.1:41435/mail/v4/messages/import" /client userID=d0ceb2f0-33e9-429d-9f33-04c93f02504f time="2026-09-17T09:48:22Z" msg="200 OK: GET https://127.0.0.1:41435/mail/v4/messages/4866edd5-4d97-4573-a1f3-a62ebc36afce" /client userID=d0ceb2f0-33e9-429d-9f33-04c93f02504f Scenario Outline: Import message without sender to # features/imap/message/import.feature:246 time="2026-09-17T09:48:22Z" msg="Frontend service stopped" time="2026-09-17T09:48:22Z" msg="Frontend client stopped" time="2026-09-17T09:48:22Z" msg="Closing bridge" time="2026-09-17T09:48:22Z" msg="Stopping service" time="2026-09-17T09:48:22Z" msg="Closing user" userID=d0ceb2f0-33e9-429d-9f33-04c93f02504f time="2026-09-17T09:48:22Z" msg="De-registering user client, ID:d0ceb2f0-33e9-429d-9f33-04c93f02504f" time="2026-09-17T09:48:22Z" msg="Exiting IMAP Service" time="2026-09-17T09:48:22Z" msg="Exiting service main loop" time="2026-09-17T09:48:22Z" msg="Exiting service main loop" time="2026-09-17T09:48:22Z" msg="Exiting Service" time="2026-09-17T09:48:22Z" msg="Exiting service main loop" time="2026-09-17T09:48:22Z" msg="Exiting service" time="2026-09-17T09:48:22Z" msg="Closing IMAP Listener" time="2026-09-17T09:48:22Z" msg="Closing IMAP server" time="2026-09-17T09:48:22Z" msg="Closing SMTP Listener" time="2026-09-17T09:48:22Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:48:22Z" msg="Closing SMTP server" time="2026-09-17T09:48:22Z" msg="Closing service" Given there exists an account with username "[user:user]" and password "password" # :1 -> *scenario Then it succeeds # :1 -> *scenario When bridge starts # :1 -> *scenario And the user logs in with username "[user:user]" and password "password" # :1 -> *scenario And user "[user:user]" finishes syncing # :1 -> *scenario And user "[user:user]" connects and authenticates IMAP client "1" # :1 -> *scenario Then it succeeds # :1 -> *scenario When IMAP client "1" appends the following message to "": # :1 -> *scenario """ From: Somebody@somewhere.org Date: 01 Jan 1980 00:00:00 +0000 To: Lionel Richie Subject: RE: Hello, is it me you looking for? Nope. """ Then it succeeds # :1 -> *scenario And IMAP client "1" eventually sees the following message in "" with this structure: # :1 -> *scenario """ { "from": "Somebody@somewhere.org", "date": "01 Jan 80 00:00 +0000", "to": "Lionel Richie ", "subject": "RE: Hello, is it me you looking for?", "content": { "content-type": "text/plain", "content-type-charset":"utf-8", "transfer-encoding":"quoted-printable", "body-is": "Nope." } } """ Examples: | mailbox | | Archive | time="2026-09-17T09:48:22Z" msg="User 'cfe18f36-e6f1-46c2-a688-b7fbdfb4ae07' created with " /server/backend time="2026-09-17T09:48:23Z" msg="Starting bridge" time="2026-09-17T09:48:23Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/099/config4054278127/grpcFocusServerConfig.json /service time="2026-09-17T09:48:23Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/099/cache3227688881/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:48:23Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/099/cache3227688881/notifications/notification_cache: no such file or directory" time="2026-09-17T09:48:23Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/099/data2689473520/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/099/data2689473520/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:48:23Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:48:23Z" msg="Starting IMAP server" time="2026-09-17T09:48:23Z" msg="Starting SMTP server" time="2026-09-17T09:48:23Z" msg="Starting service" time="2026-09-17T09:48:23Z" msg="Starting service" time="2026-09-17T09:48:23Z" msg="Starting poll service" time="2026-09-17T09:48:23Z" msg="Loading users" /user time="2026-09-17T09:48:23Z" msg="Finished loading users" /user time="2026-09-17T09:48:23Z" msg="Starting receiver service" time="2026-09-17T09:48:23Z" msg="Starting frontend service" time="2026-09-17T09:48:23Z" msg="Checking for updates" time="2026-09-17T09:48:23Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/099/config4054278127/grpcServerConfig.json time="2026-09-17T09:48:23Z" msg="gRPC server listening on /tmp/bridge0542" time="2026-09-17T09:48:23Z" msg="Frontend service started" time="2026-09-17T09:48:23Z" msg="Starting frontend client" time="2026-09-17T09:48:23Z" msg="Not monitoring parent PID" time="2026-09-17T09:48:23Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:48:23Z" msg="200 OK: GET https://127.0.0.1:38561/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:48:23Z" msg="Frontend client started" time="2026-09-17T09:48:23Z" msg="Performing full user login" /user username="******** (69242255)" time="2026-09-17T09:48:23Z" msg="Authorizing user for login" /user username="******** (69242255)" time="2026-09-17T09:48:23Z" msg="200 OK: POST https://127.0.0.1:38561/auth/v4/info" /manager time="2026-09-17T09:48:23Z" msg="200 OK: POST https://127.0.0.1:38561/auth/v4" /manager time="2026-09-17T09:48:23Z" msg="Logging in authorized user" /user userID=cd38b705-073a-441b-9578-22930bd1df6f time="2026-09-17T09:48:23Z" msg="Adding vault user" userID=cd38b705-073a-441b-9578-22930bd1df6f time="2026-09-17T09:48:23Z" msg="Creating new user" userID=cd38b705-073a-441b-9578-22930bd1df6f time="2026-09-17T09:48:23Z" msg="404 GET https://127.0.0.1:38561/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:48:23Z" msg="404 GET https://127.0.0.1:38561/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:48:23Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:38561/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:48:23Z" msg="Creating user object" authUID=f828be29-7bf6-457e-95ee-5fe72317ae95 numA numL userID=cd38b705-073a-441b-9578-22930bd1df6f time="2026-09-17T09:48:23Z" msg="200 OK: GET https://127.0.0.1:38561/core/v4/events/latest" /client userID=cd38b705-073a-441b-9578-22930bd1df6f time="2026-09-17T09:48:23Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:48:23Z" msg="200 OK: GET https://127.0.0.1:38561/core/v4/settings" /client userID=cd38b705-073a-441b-9578-22930bd1df6f time="2026-09-17T09:48:23Z" msg="Registering user client, ID:cd38b705-073a-441b-9578-22930bd1df6f" time="2026-09-17T09:48:23Z" msg="Starting user identity service" numA time="2026-09-17T09:48:23Z" msg="Starting service main loop" time="2026-09-17T09:48:23Z" msg="Starting service main loop" time="2026-09-17T09:48:23Z" msg="Starting service main loop" time="2026-09-17T09:48:23Z" msg="200 OK: GET https://127.0.0.1:38561/core/v4/labels?T" /client userID=cd38b705-073a-441b-9578-22930bd1df6f time="2026-09-17T09:48:23Z" msg="200 OK: GET https://127.0.0.1:38561/core/v4/labels?T" /client userID=cd38b705-073a-441b-9578-22930bd1df6f time="2026-09-17T09:48:23Z" msg="200 OK: GET https://127.0.0.1:38561/core/v4/labels?T" /client userID=cd38b705-073a-441b-9578-22930bd1df6f time="2026-09-17T09:48:23Z" msg="Setting labels" labelIDs="[4 6 9 10 5 7 8 12 0 1 2 3]" time="2026-09-17T09:48:23Z" msg="Adding user to imap server" addrID=2f28a94c-cfce-4a22-8d9e-c1c4f2d67fb7 time="2026-09-17T09:48:23Z" msg="Creating new IMAP user" addrID=2f28a94c-cfce-4a22-8d9e-c1c4f2d67fb7 time="2026-09-17T09:48:23Z" msg="Setting gluon ID" addrID=2f28a94c-cfce-4a22-8d9e-c1c4f2d67fb7 gluonID=d1518f1b-4523-47ff-aa81-b1f2e41c53fa userID=cd38b705-073a-441b-9578-22930bd1df6f time="2026-09-17T09:48:23Z" msg="Received mailbox message count" gluonID=d1518f1b-4523-47ff-aa81-b1f2e41c53fa labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:48:23Z" msg="Created new IMAP user" addrID=2f28a94c-cfce-4a22-8d9e-c1c4f2d67fb7 gluonID=d1518f1b-4523-47ff-aa81-b1f2e41c53fa time="2026-09-17T09:48:23Z" msg="Validating Listener State" time="2026-09-17T09:48:23Z" time="2026-09-17T09:48:23Z" msg="Starting IMAP Service" time="2026-09-17T09:48:23Z" msg="Checking whether logged in user should re-sync. UserID:cd38b705-073a-441b-9578-22930bd1df6f" userID=cd38b705-073a-441b-9578-22930bd1df6f time="2026-09-17T09:48:23Z" msg="Sync triggered" time="2026-09-17T09:48:23Z" msg="Beginning user sync" start="2026-09-17 09:48:23.81387612 +0000 UTC m=+192.306178416" time="2026-09-17T09:48:23Z" msg="Syncing labels" time="2026-09-17T09:48:23Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=d1518f1b-4523-47ff-aa81-b1f2e41c53fa time="2026-09-17T09:48:23Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=d1518f1b-4523-47ff-aa81-b1f2e41c53fa time="2026-09-17T09:48:23Z" msg="Mailbox created" /user remoteMailboxID=12 userID=d1518f1b-4523-47ff-aa81-b1f2e41c53fa time="2026-09-17T09:48:23Z" msg="Mailbox created" /user remoteMailboxID=0 userID=d1518f1b-4523-47ff-aa81-b1f2e41c53fa time="2026-09-17T09:48:23Z" msg="Mailbox created" /user remoteMailboxID=4 userID=d1518f1b-4523-47ff-aa81-b1f2e41c53fa time="2026-09-17T09:48:23Z" msg="Mailbox created" /user remoteMailboxID=7 userID=d1518f1b-4523-47ff-aa81-b1f2e41c53fa time="2026-09-17T09:48:23Z" msg="Mailbox created" /user remoteMailboxID=3 userID=d1518f1b-4523-47ff-aa81-b1f2e41c53fa time="2026-09-17T09:48:23Z" msg="Mailbox created" /user remoteMailboxID=6 userID=d1518f1b-4523-47ff-aa81-b1f2e41c53fa time="2026-09-17T09:48:23Z" msg="Mailbox created" /user remoteMailboxID=10 userID=d1518f1b-4523-47ff-aa81-b1f2e41c53fa time="2026-09-17T09:48:23Z" msg="Mailbox created" /user remoteMailboxID=5 userID=d1518f1b-4523-47ff-aa81-b1f2e41c53fa time="2026-09-17T09:48:23Z" msg="Mailbox created" /user remoteMailboxID=8 userID=d1518f1b-4523-47ff-aa81-b1f2e41c53fa time="2026-09-17T09:48:23Z" msg="Synced labels" time="2026-09-17T09:48:23Z" msg="200 OK: GET https://127.0.0.1:38561/mail/v4/messages/count" /client userID=cd38b705-073a-441b-9578-22930bd1df6f time="2026-09-17T09:48:23Z" msg="Syncing messages" time="2026-09-17T09:48:23Z" msg="Job started" time="2026-09-17T09:48:23Z" msg="200 OK: POST https://127.0.0.1:38561/mail/v4/messages" /client userID=cd38b705-073a-441b-9578-22930bd1df6f time="2026-09-17T09:48:23Z" msg="Job finished" time="2026-09-17T09:48:23Z" msg="All child jobs completed" sync- time="2026-09-17T09:48:23Z" msg="Synced messages" time="2026-09-17T09:48:23Z" msg="Finished user sync" .310036ms time="2026-09-17T09:48:23Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:48:23Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:48:23Z" msg="200 OK: POST https://127.0.0.1:38561/mail/v4/messages/import" /client userID=cd38b705-073a-441b-9578-22930bd1df6f time="2026-09-17T09:48:23Z" msg="200 OK: GET https://127.0.0.1:38561/mail/v4/messages/9203baa4-6814-4aa3-8f88-657f082a2d96" /client userID=cd38b705-073a-441b-9578-22930bd1df6f time="2026-09-17T09:48:23Z" msg="Frontend service stopped" time="2026-09-17T09:48:23Z" msg="Frontend client stopped" time="2026-09-17T09:48:23Z" msg="Closing bridge" time="2026-09-17T09:48:23Z" msg="Stopping service" time="2026-09-17T09:48:23Z" msg="Closing user" userID=cd38b705-073a-441b-9578-22930bd1df6f time="2026-09-17T09:48:23Z" msg="De-registering user client, ID:cd38b705-073a-441b-9578-22930bd1df6f" time="2026-09-17T09:48:23Z" msg="Exiting IMAP Service" time="2026-09-17T09:48:23Z" msg="Exiting service main loop" time="2026-09-17T09:48:23Z" msg="Exiting service main loop" time="2026-09-17T09:48:23Z" msg="Exiting Service" time="2026-09-17T09:48:23Z" msg="Exiting service main loop" time="2026-09-17T09:48:23Z" msg="Exiting service" time="2026-09-17T09:48:23Z" msg="Closing IMAP Listener" time="2026-09-17T09:48:23Z" msg="Closing IMAP server" time="2026-09-17T09:48:23Z" msg="Closing SMTP Listener" time="2026-09-17T09:48:23Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:48:23Z" msg="Closing SMTP server" time="2026-09-17T09:48:23Z" msg="Closing service" | Sent | time="2026-09-17T09:48:24Z" msg="User 'ca74e252-3b76-459a-9c72-3e76dd0ffc08' created with " /server/backend time="2026-09-17T09:48:24Z" msg="Starting bridge" time="2026-09-17T09:48:24Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/100/config2704726352/grpcFocusServerConfig.json /service time="2026-09-17T09:48:24Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/100/cache576080425/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:48:24Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/100/cache576080425/notifications/notification_cache: no such file or directory" time="2026-09-17T09:48:24Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/100/data2498082845/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/100/data2498082845/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:48:24Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:48:24Z" msg="Starting IMAP server" time="2026-09-17T09:48:24Z" msg="Starting SMTP server" time="2026-09-17T09:48:24Z" msg="Starting service" time="2026-09-17T09:48:24Z" msg="Starting service" time="2026-09-17T09:48:24Z" msg="Starting poll service" time="2026-09-17T09:48:24Z" msg="Checking for updates" time="2026-09-17T09:48:24Z" msg="Loading users" /user time="2026-09-17T09:48:24Z" msg="Starting frontend service" time="2026-09-17T09:48:24Z" msg="Finished loading users" /user time="2026-09-17T09:48:24Z" msg="Starting receiver service" time="2026-09-17T09:48:24Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/100/config2704726352/grpcServerConfig.json time="2026-09-17T09:48:24Z" msg="gRPC server listening on /tmp/bridge4707" time="2026-09-17T09:48:24Z" msg="Frontend service started" time="2026-09-17T09:48:24Z" msg="Starting frontend client" time="2026-09-17T09:48:24Z" msg="Not monitoring parent PID" time="2026-09-17T09:48:24Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:48:24Z" msg="Frontend client started" time="2026-09-17T09:48:24Z" msg="Performing full user login" /user username="******** (dbbd0e33)" time="2026-09-17T09:48:24Z" msg="Authorizing user for login" /user username="******** (dbbd0e33)" time="2026-09-17T09:48:24Z" msg="200 OK: GET https://127.0.0.1:46677/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:48:24Z" msg="200 OK: POST https://127.0.0.1:46677/auth/v4/info" /manager time="2026-09-17T09:48:24Z" msg="200 OK: POST https://127.0.0.1:46677/auth/v4" /manager time="2026-09-17T09:48:24Z" msg="Logging in authorized user" /user userID=a6ac7b59-9dba-40f1-a853-c9a9b912a84c time="2026-09-17T09:48:24Z" msg="Adding vault user" userID=a6ac7b59-9dba-40f1-a853-c9a9b912a84c time="2026-09-17T09:48:24Z" msg="Creating new user" userID=a6ac7b59-9dba-40f1-a853-c9a9b912a84c time="2026-09-17T09:48:25Z" msg="404 GET https://127.0.0.1:46677/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:48:25Z" msg="404 GET https://127.0.0.1:46677/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:48:25Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:46677/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:48:25Z" msg="Creating user object" authUID=350965ed-58b6-49d7-a6b4-e9deebabdb01 numA numL userID=a6ac7b59-9dba-40f1-a853-c9a9b912a84c time="2026-09-17T09:48:25Z" msg="200 OK: GET https://127.0.0.1:46677/core/v4/events/latest" /client userID=a6ac7b59-9dba-40f1-a853-c9a9b912a84c time="2026-09-17T09:48:25Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:48:25Z" msg="200 OK: GET https://127.0.0.1:46677/core/v4/settings" /client userID=a6ac7b59-9dba-40f1-a853-c9a9b912a84c time="2026-09-17T09:48:25Z" msg="Registering user client, ID:a6ac7b59-9dba-40f1-a853-c9a9b912a84c" time="2026-09-17T09:48:25Z" msg="Starting service main loop" time="2026-09-17T09:48:25Z" msg="Starting user identity service" numA time="2026-09-17T09:48:25Z" msg="Starting service main loop" time="2026-09-17T09:48:25Z" msg="Starting service main loop" time="2026-09-17T09:48:25Z" msg="200 OK: GET https://127.0.0.1:46677/core/v4/labels?T" /client userID=a6ac7b59-9dba-40f1-a853-c9a9b912a84c time="2026-09-17T09:48:25Z" msg="200 OK: GET https://127.0.0.1:46677/core/v4/labels?T" /client userID=a6ac7b59-9dba-40f1-a853-c9a9b912a84c time="2026-09-17T09:48:25Z" msg="200 OK: GET https://127.0.0.1:46677/core/v4/labels?T" /client userID=a6ac7b59-9dba-40f1-a853-c9a9b912a84c time="2026-09-17T09:48:25Z" msg="Setting labels" labelIDs="[5 6 7 9 10 0 3 4 8 12 1 2]" time="2026-09-17T09:48:25Z" msg="Adding user to imap server" addrID=c008f578-9c20-4de3-a0ab-3836da575ef8 time="2026-09-17T09:48:25Z" msg="Creating new IMAP user" addrID=c008f578-9c20-4de3-a0ab-3836da575ef8 time="2026-09-17T09:48:25Z" msg="Setting gluon ID" addrID=c008f578-9c20-4de3-a0ab-3836da575ef8 gluonID=c68ec099-25e1-449a-bcf0-a63f6cfa896a userID=a6ac7b59-9dba-40f1-a853-c9a9b912a84c time="2026-09-17T09:48:25Z" msg="Received mailbox message count" gluonID=c68ec099-25e1-449a-bcf0-a63f6cfa896a labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:48:25Z" msg="Created new IMAP user" addrID=c008f578-9c20-4de3-a0ab-3836da575ef8 gluonID=c68ec099-25e1-449a-bcf0-a63f6cfa896a time="2026-09-17T09:48:25Z" msg="Validating Listener State" time="2026-09-17T09:48:25Z" time="2026-09-17T09:48:25Z" msg="Starting IMAP Service" time="2026-09-17T09:48:25Z" msg="Checking whether logged in user should re-sync. UserID:a6ac7b59-9dba-40f1-a853-c9a9b912a84c" userID=a6ac7b59-9dba-40f1-a853-c9a9b912a84c time="2026-09-17T09:48:25Z" msg="Sync triggered" time="2026-09-17T09:48:25Z" msg="Beginning user sync" start="2026-09-17 09:48:25.013341242 +0000 UTC m=+193.505643578" time="2026-09-17T09:48:25Z" msg="Syncing labels" time="2026-09-17T09:48:25Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=c68ec099-25e1-449a-bcf0-a63f6cfa896a time="2026-09-17T09:48:25Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=c68ec099-25e1-449a-bcf0-a63f6cfa896a time="2026-09-17T09:48:25Z" msg="Mailbox created" /user remoteMailboxID=8 userID=c68ec099-25e1-449a-bcf0-a63f6cfa896a time="2026-09-17T09:48:25Z" msg="Mailbox created" /user remoteMailboxID=5 userID=c68ec099-25e1-449a-bcf0-a63f6cfa896a time="2026-09-17T09:48:25Z" msg="Mailbox created" /user remoteMailboxID=7 userID=c68ec099-25e1-449a-bcf0-a63f6cfa896a time="2026-09-17T09:48:25Z" msg="Mailbox created" /user remoteMailboxID=10 userID=c68ec099-25e1-449a-bcf0-a63f6cfa896a time="2026-09-17T09:48:25Z" msg="Mailbox created" /user remoteMailboxID=3 userID=c68ec099-25e1-449a-bcf0-a63f6cfa896a time="2026-09-17T09:48:25Z" msg="Mailbox created" /user remoteMailboxID=4 userID=c68ec099-25e1-449a-bcf0-a63f6cfa896a time="2026-09-17T09:48:25Z" msg="Mailbox created" /user remoteMailboxID=12 userID=c68ec099-25e1-449a-bcf0-a63f6cfa896a time="2026-09-17T09:48:25Z" msg="Mailbox created" /user remoteMailboxID=6 userID=c68ec099-25e1-449a-bcf0-a63f6cfa896a time="2026-09-17T09:48:25Z" msg="Mailbox created" /user remoteMailboxID=0 userID=c68ec099-25e1-449a-bcf0-a63f6cfa896a time="2026-09-17T09:48:25Z" msg="Synced labels" time="2026-09-17T09:48:25Z" msg="200 OK: GET https://127.0.0.1:46677/mail/v4/messages/count" /client userID=a6ac7b59-9dba-40f1-a853-c9a9b912a84c time="2026-09-17T09:48:25Z" msg="Syncing messages" time="2026-09-17T09:48:25Z" msg="Job started" time="2026-09-17T09:48:25Z" msg="200 OK: POST https://127.0.0.1:46677/mail/v4/messages" /client userID=a6ac7b59-9dba-40f1-a853-c9a9b912a84c time="2026-09-17T09:48:25Z" msg="Job finished" time="2026-09-17T09:48:25Z" msg="All child jobs completed" sync- time="2026-09-17T09:48:25Z" msg="Synced messages" time="2026-09-17T09:48:25Z" msg="Finished user sync" .494042ms time="2026-09-17T09:48:25Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:48:25Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:48:25Z" msg="200 OK: POST https://127.0.0.1:46677/mail/v4/messages" /client userID=a6ac7b59-9dba-40f1-a853-c9a9b912a84c time="2026-09-17T09:48:25Z" msg="200 OK: GET https://127.0.0.1:46677/mail/v4/messages/24b1b049-c39a-47ff-a38b-c8f7d15dfeff" /client userID=a6ac7b59-9dba-40f1-a853-c9a9b912a84c Scenario: Import message without sender to Drafts # features/imap/message/import.feature:279 When IMAP client "1" appends the following message to "Drafts": # :1 -> *scenario """ From: Somebody@somewhere.org Date: 01 Jan 1980 00:00:00 +0000 To: Lionel Richie Subject: RE: Hello, is it me you looking for? Nope. """ Then it succeeds # :1 -> *scenario time="2026-09-17T09:48:25Z" msg="Frontend service stopped" time="2026-09-17T09:48:25Z" msg="Frontend client stopped" time="2026-09-17T09:48:25Z" msg="Closing bridge" time="2026-09-17T09:48:25Z" msg="Stopping service" time="2026-09-17T09:48:25Z" msg="Closing user" userID=a6ac7b59-9dba-40f1-a853-c9a9b912a84c time="2026-09-17T09:48:25Z" msg="De-registering user client, ID:a6ac7b59-9dba-40f1-a853-c9a9b912a84c" time="2026-09-17T09:48:25Z" msg="Exiting IMAP Service" time="2026-09-17T09:48:25Z" msg="Exiting service main loop" time="2026-09-17T09:48:25Z" msg="Exiting service main loop" time="2026-09-17T09:48:25Z" msg="Exiting Service" time="2026-09-17T09:48:25Z" msg="Exiting service main loop" time="2026-09-17T09:48:25Z" msg="Exiting service" time="2026-09-17T09:48:25Z" msg="Closing IMAP Listener" time="2026-09-17T09:48:25Z" msg="Closing IMAP server" time="2026-09-17T09:48:25Z" msg="Closing SMTP Listener" time="2026-09-17T09:48:25Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:48:25Z" msg="Closing SMTP server" time="2026-09-17T09:48:25Z" msg="Closing service" And IMAP client "1" eventually sees the following message in "Drafts" with this structure: # :1 -> *scenario """ { "date": "01 Jan 01 00:00 +0000", "to": "Lionel Richie ", "subject": "RE: Hello, is it me you looking for?", "content": { "content-type": "text/plain", "content-type-charset":"utf-8", "transfer-encoding":"quoted-printable", "body-is": "Nope." } } """ time="2026-09-17T09:48:25Z" msg="User '7ab31795-dbb4-4108-aadd-91a0f954fad0' created with " /server/backend time="2026-09-17T09:48:25Z" msg="Starting bridge" time="2026-09-17T09:48:25Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/101/config963838929/grpcFocusServerConfig.json /service time="2026-09-17T09:48:25Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/101/cache2035049877/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:48:25Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/101/cache2035049877/notifications/notification_cache: no such file or directory" time="2026-09-17T09:48:25Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/101/data2033565234/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/101/data2033565234/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:48:25Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:48:25Z" msg="Starting IMAP server" time="2026-09-17T09:48:25Z" msg="Starting SMTP server" time="2026-09-17T09:48:25Z" msg="Starting service" time="2026-09-17T09:48:25Z" msg="Starting service" time="2026-09-17T09:48:25Z" msg="Starting receiver service" time="2026-09-17T09:48:25Z" msg="Starting frontend service" time="2026-09-17T09:48:25Z" msg="Starting poll service" time="2026-09-17T09:48:25Z" msg="Checking for updates" time="2026-09-17T09:48:25Z" msg="Loading users" /user time="2026-09-17T09:48:25Z" msg="Finished loading users" /user time="2026-09-17T09:48:25Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/101/config963838929/grpcServerConfig.json time="2026-09-17T09:48:25Z" msg="gRPC server listening on /tmp/bridge5190" time="2026-09-17T09:48:25Z" msg="Frontend service started" time="2026-09-17T09:48:25Z" msg="Starting frontend client" time="2026-09-17T09:48:25Z" msg="Not monitoring parent PID" time="2026-09-17T09:48:25Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:48:25Z" msg="200 OK: GET https://127.0.0.1:34099/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:48:25Z" msg="Frontend client started" time="2026-09-17T09:48:25Z" msg="Performing full user login" /user username="******** (7261c8b4)" time="2026-09-17T09:48:25Z" msg="Authorizing user for login" /user username="******** (7261c8b4)" time="2026-09-17T09:48:25Z" msg="200 OK: POST https://127.0.0.1:34099/auth/v4/info" /manager time="2026-09-17T09:48:26Z" msg="200 OK: POST https://127.0.0.1:34099/auth/v4" /manager time="2026-09-17T09:48:26Z" msg="Logging in authorized user" /user userID=155e9b03-3db6-4533-8f7b-4286fc758d3f time="2026-09-17T09:48:26Z" msg="Adding vault user" userID=155e9b03-3db6-4533-8f7b-4286fc758d3f time="2026-09-17T09:48:26Z" msg="Creating new user" userID=155e9b03-3db6-4533-8f7b-4286fc758d3f time="2026-09-17T09:48:26Z" msg="404 GET https://127.0.0.1:34099/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:48:26Z" msg="404 GET https://127.0.0.1:34099/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:48:26Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:34099/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:48:26Z" msg="Creating user object" authUID=609aba7d-f540-4fe2-948e-8c4e86f20ca0 numA numL userID=155e9b03-3db6-4533-8f7b-4286fc758d3f time="2026-09-17T09:48:26Z" msg="200 OK: GET https://127.0.0.1:34099/core/v4/events/latest" /client userID=155e9b03-3db6-4533-8f7b-4286fc758d3f time="2026-09-17T09:48:26Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:48:26Z" msg="200 OK: GET https://127.0.0.1:34099/core/v4/settings" /client userID=155e9b03-3db6-4533-8f7b-4286fc758d3f time="2026-09-17T09:48:26Z" msg="Registering user client, ID:155e9b03-3db6-4533-8f7b-4286fc758d3f" time="2026-09-17T09:48:26Z" msg="Starting user identity service" numA time="2026-09-17T09:48:26Z" msg="Starting service main loop" time="2026-09-17T09:48:26Z" msg="Starting service main loop" time="2026-09-17T09:48:26Z" msg="Starting service main loop" time="2026-09-17T09:48:26Z" msg="200 OK: GET https://127.0.0.1:34099/core/v4/labels?T" /client userID=155e9b03-3db6-4533-8f7b-4286fc758d3f time="2026-09-17T09:48:26Z" msg="200 OK: GET https://127.0.0.1:34099/core/v4/labels?T" /client userID=155e9b03-3db6-4533-8f7b-4286fc758d3f time="2026-09-17T09:48:26Z" msg="200 OK: GET https://127.0.0.1:34099/core/v4/labels?T" /client userID=155e9b03-3db6-4533-8f7b-4286fc758d3f time="2026-09-17T09:48:26Z" msg="Setting labels" labelIDs="[0 1 3 4 5 6 8 10 2 7 9 12]" time="2026-09-17T09:48:26Z" msg="Adding user to imap server" addrID=5b231e3d-cf8d-4da3-bbc6-f7d54000d9e8 time="2026-09-17T09:48:26Z" msg="Creating new IMAP user" addrID=5b231e3d-cf8d-4da3-bbc6-f7d54000d9e8 time="2026-09-17T09:48:26Z" msg="Setting gluon ID" addrID=5b231e3d-cf8d-4da3-bbc6-f7d54000d9e8 gluonID=dfb0cbcd-ac25-4ff0-ad3f-77076e0e9efa userID=155e9b03-3db6-4533-8f7b-4286fc758d3f time="2026-09-17T09:48:26Z" msg="Received mailbox message count" gluonID=dfb0cbcd-ac25-4ff0-ad3f-77076e0e9efa labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:48:26Z" msg="Created new IMAP user" addrID=5b231e3d-cf8d-4da3-bbc6-f7d54000d9e8 gluonID=dfb0cbcd-ac25-4ff0-ad3f-77076e0e9efa time="2026-09-17T09:48:26Z" msg="Validating Listener State" time="2026-09-17T09:48:26Z" time="2026-09-17T09:48:26Z" msg="Checking whether logged in user should re-sync. UserID:155e9b03-3db6-4533-8f7b-4286fc758d3f" userID=155e9b03-3db6-4533-8f7b-4286fc758d3f time="2026-09-17T09:48:26Z" msg="Starting IMAP Service" time="2026-09-17T09:48:26Z" msg="Sync triggered" time="2026-09-17T09:48:26Z" msg="Beginning user sync" start="2026-09-17 09:48:26.223205972 +0000 UTC m=+194.715508308" time="2026-09-17T09:48:26Z" msg="Syncing labels" time="2026-09-17T09:48:26Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=dfb0cbcd-ac25-4ff0-ad3f-77076e0e9efa time="2026-09-17T09:48:26Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=dfb0cbcd-ac25-4ff0-ad3f-77076e0e9efa time="2026-09-17T09:48:26Z" msg="Mailbox created" /user remoteMailboxID=3 userID=dfb0cbcd-ac25-4ff0-ad3f-77076e0e9efa time="2026-09-17T09:48:26Z" msg="Mailbox created" /user remoteMailboxID=5 userID=dfb0cbcd-ac25-4ff0-ad3f-77076e0e9efa time="2026-09-17T09:48:26Z" msg="Mailbox created" /user remoteMailboxID=12 userID=dfb0cbcd-ac25-4ff0-ad3f-77076e0e9efa time="2026-09-17T09:48:26Z" msg="Mailbox created" /user remoteMailboxID=0 userID=dfb0cbcd-ac25-4ff0-ad3f-77076e0e9efa time="2026-09-17T09:48:26Z" msg="Mailbox created" /user remoteMailboxID=4 userID=dfb0cbcd-ac25-4ff0-ad3f-77076e0e9efa time="2026-09-17T09:48:26Z" msg="Mailbox created" /user remoteMailboxID=6 userID=dfb0cbcd-ac25-4ff0-ad3f-77076e0e9efa time="2026-09-17T09:48:26Z" msg="Mailbox created" /user remoteMailboxID=8 userID=dfb0cbcd-ac25-4ff0-ad3f-77076e0e9efa time="2026-09-17T09:48:26Z" msg="Mailbox created" /user remoteMailboxID=10 userID=dfb0cbcd-ac25-4ff0-ad3f-77076e0e9efa time="2026-09-17T09:48:26Z" msg="Mailbox created" /user remoteMailboxID=7 userID=dfb0cbcd-ac25-4ff0-ad3f-77076e0e9efa time="2026-09-17T09:48:26Z" msg="Synced labels" time="2026-09-17T09:48:26Z" msg="200 OK: GET https://127.0.0.1:34099/mail/v4/messages/count" /client userID=155e9b03-3db6-4533-8f7b-4286fc758d3f time="2026-09-17T09:48:26Z" msg="Syncing messages" time="2026-09-17T09:48:26Z" msg="Job started" time="2026-09-17T09:48:26Z" msg="200 OK: POST https://127.0.0.1:34099/mail/v4/messages" /client userID=155e9b03-3db6-4533-8f7b-4286fc758d3f time="2026-09-17T09:48:26Z" msg="Job finished" time="2026-09-17T09:48:26Z" msg="All child jobs completed" sync- time="2026-09-17T09:48:26Z" msg="Synced messages" time="2026-09-17T09:48:26Z" msg="Finished user sync" .1878ms time="2026-09-17T09:48:26Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:48:26Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:48:26Z" msg="200 OK: POST https://127.0.0.1:34099/mail/v4/messages/import" /client userID=155e9b03-3db6-4533-8f7b-4286fc758d3f time="2026-09-17T09:48:26Z" msg="200 OK: GET https://127.0.0.1:34099/mail/v4/messages/777ef46b-f87f-4692-956c-2964452abf97" /client userID=155e9b03-3db6-4533-8f7b-4286fc758d3f Scenario: Import embedded message # features/imap/message/import.feature:306 When IMAP client "1" appends the following message to "INBOX": # :1 -> *scenario """ From: Foo Date: 01 Jan 1980 00:00:00 +0000 To: Bridge Test Subject: Embedded message Content-Type: multipart/mixed; boundary="boundary" Received: by 2002:0:0:0:0:0:0:0 with SMTP id 0123456789abcdef; Wed, 30 Dec 2020 01:23:45 0000 This is a multi-part message in MIME format. --boundary Content-Type: text/plain; Content-Transfer-Encoding: 7bit Hello --boundary Content-Type: text/html; Content-Transfer-Encoding: 7bit

HELLO

--boundary Content-Type: message/rfc822; name="embedded.eml" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="embedded.eml" From: Bar To: Bridge Test Subject: (No Subject) Content-Type: text/plain; Content-Transfer-Encoding: quoted-printable hello --boundary-- """ Then it succeeds # :1 -> *scenario time="2026-09-17T09:48:26Z" msg="Frontend service stopped" time="2026-09-17T09:48:26Z" msg="Frontend client stopped" time="2026-09-17T09:48:26Z" msg="Closing bridge" time="2026-09-17T09:48:26Z" msg="Stopping service" time="2026-09-17T09:48:26Z" msg="Closing user" userID=155e9b03-3db6-4533-8f7b-4286fc758d3f time="2026-09-17T09:48:26Z" msg="De-registering user client, ID:155e9b03-3db6-4533-8f7b-4286fc758d3f" time="2026-09-17T09:48:26Z" msg="Exiting IMAP Service" time="2026-09-17T09:48:26Z" msg="Exiting service main loop" time="2026-09-17T09:48:26Z" msg="Exiting service main loop" time="2026-09-17T09:48:26Z" msg="Exiting Service" time="2026-09-17T09:48:26Z" msg="Exiting service main loop" time="2026-09-17T09:48:26Z" msg="Exiting service" time="2026-09-17T09:48:26Z" msg="Closing IMAP Listener" time="2026-09-17T09:48:26Z" msg="Closing IMAP server" time="2026-09-17T09:48:26Z" msg="Closing SMTP Listener" time="2026-09-17T09:48:26Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:48:26Z" msg="Closing SMTP server" time="2026-09-17T09:48:26Z" msg="Closing service" And IMAP client "1" eventually sees the following message in "INBOX" with this structure: # :1 -> *scenario """ { "from": "Foo ", "date": "01 Jan 80 00:00 +0000", "to": "Bridge Test ", "subject": "Embedded message", "body-contains": "Hello", "content": { "content-type": "multipart/mixed", "sections":[ { "content-type": "text/plain", "content-type-charset": "utf-8", "transfer-encoding": "7bit", "body-is": "Hello" }, { "content-type": "text/html", "content-type-charset": "utf-8", "transfer-encoding": "7bit", "body-contains": "HELLO" }, { "content-type": "message/rfc822", "content-type-name": "embedded.eml", "transfer-encoding": "7bit", "content-disposition": "attachment", "content-disposition-filename": "embedded.eml", "body-is": "From: Bar \nTo: Bridge Test \nSubject: (No Subject)\nContent-Type: text/plain; \nContent-Transfer-Encoding: quoted-printable\n\nhello" } ] } } """ time="2026-09-17T09:48:26Z" msg="User 'bbc510f4-2afe-401b-9608-1e4ee0865156' created with " /server/backend time="2026-09-17T09:48:26Z" msg="Starting bridge" time="2026-09-17T09:48:26Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/102/config1764335563/grpcFocusServerConfig.json /service time="2026-09-17T09:48:26Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/102/cache725478741/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:48:26Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/102/cache725478741/notifications/notification_cache: no such file or directory" time="2026-09-17T09:48:26Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/102/data2330470669/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/102/data2330470669/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:48:26Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:48:26Z" msg="Starting IMAP server" time="2026-09-17T09:48:26Z" msg="Starting SMTP server" time="2026-09-17T09:48:26Z" msg="Starting service" time="2026-09-17T09:48:26Z" msg="Starting service" time="2026-09-17T09:48:26Z" msg="Starting receiver service" time="2026-09-17T09:48:26Z" msg="Starting frontend service" time="2026-09-17T09:48:26Z" msg="Loading users" /user time="2026-09-17T09:48:26Z" msg="Starting poll service" time="2026-09-17T09:48:26Z" msg="Finished loading users" /user time="2026-09-17T09:48:26Z" msg="Checking for updates" time="2026-09-17T09:48:26Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/102/config1764335563/grpcServerConfig.json time="2026-09-17T09:48:26Z" msg="gRPC server listening on /tmp/bridge1396" time="2026-09-17T09:48:26Z" msg="Frontend service started" time="2026-09-17T09:48:26Z" msg="Starting frontend client" time="2026-09-17T09:48:26Z" msg="Not monitoring parent PID" time="2026-09-17T09:48:26Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:48:26Z" msg="200 OK: GET https://127.0.0.1:40627/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:48:26Z" msg="Frontend client started" time="2026-09-17T09:48:26Z" msg="Performing full user login" /user username="******** (4bbf6371)" time="2026-09-17T09:48:26Z" msg="Authorizing user for login" /user username="******** (4bbf6371)" time="2026-09-17T09:48:27Z" msg="200 OK: POST https://127.0.0.1:40627/auth/v4/info" /manager time="2026-09-17T09:48:27Z" msg="200 OK: POST https://127.0.0.1:40627/auth/v4" /manager time="2026-09-17T09:48:27Z" msg="Logging in authorized user" /user userID=61a93a02-aac1-4daa-8068-d27d65fe2366 time="2026-09-17T09:48:27Z" msg="Adding vault user" userID=61a93a02-aac1-4daa-8068-d27d65fe2366 time="2026-09-17T09:48:27Z" msg="Creating new user" userID=61a93a02-aac1-4daa-8068-d27d65fe2366 time="2026-09-17T09:48:27Z" msg="404 GET https://127.0.0.1:40627/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:48:27Z" msg="404 GET https://127.0.0.1:40627/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:48:27Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:40627/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:48:27Z" msg="Creating user object" authUID=b3c3b654-e46e-4020-b02c-3cbbdef9874a numA numL userID=61a93a02-aac1-4daa-8068-d27d65fe2366 time="2026-09-17T09:48:27Z" msg="200 OK: GET https://127.0.0.1:40627/core/v4/events/latest" /client userID=61a93a02-aac1-4daa-8068-d27d65fe2366 time="2026-09-17T09:48:27Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:48:27Z" msg="200 OK: GET https://127.0.0.1:40627/core/v4/settings" /client userID=61a93a02-aac1-4daa-8068-d27d65fe2366 time="2026-09-17T09:48:27Z" msg="Registering user client, ID:61a93a02-aac1-4daa-8068-d27d65fe2366" time="2026-09-17T09:48:27Z" msg="Starting service main loop" time="2026-09-17T09:48:27Z" msg="Starting user identity service" numA time="2026-09-17T09:48:27Z" msg="Starting service main loop" time="2026-09-17T09:48:27Z" msg="Starting service main loop" time="2026-09-17T09:48:27Z" msg="200 OK: GET https://127.0.0.1:40627/core/v4/labels?T" /client userID=61a93a02-aac1-4daa-8068-d27d65fe2366 time="2026-09-17T09:48:27Z" msg="200 OK: GET https://127.0.0.1:40627/core/v4/labels?T" /client userID=61a93a02-aac1-4daa-8068-d27d65fe2366 time="2026-09-17T09:48:27Z" msg="200 OK: GET https://127.0.0.1:40627/core/v4/labels?T" /client userID=61a93a02-aac1-4daa-8068-d27d65fe2366 time="2026-09-17T09:48:27Z" msg="Setting labels" labelIDs="[5 6 7 9 0 1 2 3 8 10 12 4]" time="2026-09-17T09:48:27Z" msg="Adding user to imap server" addrID=ffdf16e4-d9d0-46ef-8da6-680dd0d58a11 time="2026-09-17T09:48:27Z" msg="Creating new IMAP user" addrID=ffdf16e4-d9d0-46ef-8da6-680dd0d58a11 time="2026-09-17T09:48:27Z" msg="Setting gluon ID" addrID=ffdf16e4-d9d0-46ef-8da6-680dd0d58a11 gluonID=65223e54-bb3b-45ea-8abb-f3643ab5d901 userID=61a93a02-aac1-4daa-8068-d27d65fe2366 time="2026-09-17T09:48:27Z" msg="Received mailbox message count" gluonID=65223e54-bb3b-45ea-8abb-f3643ab5d901 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:48:27Z" msg="Created new IMAP user" addrID=ffdf16e4-d9d0-46ef-8da6-680dd0d58a11 gluonID=65223e54-bb3b-45ea-8abb-f3643ab5d901 time="2026-09-17T09:48:27Z" msg="Validating Listener State" time="2026-09-17T09:48:27Z" time="2026-09-17T09:48:27Z" msg="Checking whether logged in user should re-sync. UserID:61a93a02-aac1-4daa-8068-d27d65fe2366" userID=61a93a02-aac1-4daa-8068-d27d65fe2366 time="2026-09-17T09:48:27Z" msg="Starting IMAP Service" time="2026-09-17T09:48:27Z" msg="Sync triggered" time="2026-09-17T09:48:27Z" msg="Beginning user sync" start="2026-09-17 09:48:27.424350063 +0000 UTC m=+195.916652359" time="2026-09-17T09:48:27Z" msg="Syncing labels" time="2026-09-17T09:48:27Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=65223e54-bb3b-45ea-8abb-f3643ab5d901 time="2026-09-17T09:48:27Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=65223e54-bb3b-45ea-8abb-f3643ab5d901 time="2026-09-17T09:48:27Z" msg="Mailbox created" /user remoteMailboxID=0 userID=65223e54-bb3b-45ea-8abb-f3643ab5d901 time="2026-09-17T09:48:27Z" msg="Mailbox created" /user remoteMailboxID=3 userID=65223e54-bb3b-45ea-8abb-f3643ab5d901 time="2026-09-17T09:48:27Z" msg="Mailbox created" /user remoteMailboxID=10 userID=65223e54-bb3b-45ea-8abb-f3643ab5d901 time="2026-09-17T09:48:27Z" msg="Mailbox created" /user remoteMailboxID=12 userID=65223e54-bb3b-45ea-8abb-f3643ab5d901 time="2026-09-17T09:48:27Z" msg="Mailbox created" /user remoteMailboxID=5 userID=65223e54-bb3b-45ea-8abb-f3643ab5d901 time="2026-09-17T09:48:27Z" msg="Mailbox created" /user remoteMailboxID=7 userID=65223e54-bb3b-45ea-8abb-f3643ab5d901 time="2026-09-17T09:48:27Z" msg="Mailbox created" /user remoteMailboxID=8 userID=65223e54-bb3b-45ea-8abb-f3643ab5d901 time="2026-09-17T09:48:27Z" msg="Mailbox created" /user remoteMailboxID=4 userID=65223e54-bb3b-45ea-8abb-f3643ab5d901 time="2026-09-17T09:48:27Z" msg="Mailbox created" /user remoteMailboxID=6 userID=65223e54-bb3b-45ea-8abb-f3643ab5d901 time="2026-09-17T09:48:27Z" msg="Synced labels" time="2026-09-17T09:48:27Z" msg="200 OK: GET https://127.0.0.1:40627/mail/v4/messages/count" /client userID=61a93a02-aac1-4daa-8068-d27d65fe2366 time="2026-09-17T09:48:27Z" msg="Syncing messages" time="2026-09-17T09:48:27Z" msg="Job started" time="2026-09-17T09:48:27Z" msg="200 OK: POST https://127.0.0.1:40627/mail/v4/messages" /client userID=61a93a02-aac1-4daa-8068-d27d65fe2366 time="2026-09-17T09:48:27Z" msg="Job finished" time="2026-09-17T09:48:27Z" msg="All child jobs completed" sync- time="2026-09-17T09:48:27Z" msg="Synced messages" time="2026-09-17T09:48:27Z" msg="Finished user sync" .870492ms time="2026-09-17T09:48:27Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:48:27Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:48:27Z" msg="200 OK: POST https://127.0.0.1:40627/mail/v4/messages/import" /client userID=61a93a02-aac1-4daa-8068-d27d65fe2366 time="2026-09-17T09:48:27Z" msg="200 OK: GET https://127.0.0.1:40627/mail/v4/messages/ee996a47-6d03-484a-93db-ab63c666d586" /client userID=61a93a02-aac1-4daa-8068-d27d65fe2366 Scenario: Import message with inline image # features/imap/message/import.feature:470 When IMAP client "1" appends the following message to "Inbox": # :1 -> *scenario """ Date: 01 Jan 1980 00:00:00 +0000 From: Bridge Second Test To: Bridge Test Subject: Html Inline Importing Content-Disposition: inline User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.0 MIME-Version: 1.0 Content-Language: en-US Content-Type: multipart/related; boundary="61FA22A41A3F46E8E90EF528" This is a multi-part message in MIME format. --61FA22A41A3F46E8E90EF528 Content-Type: text/html; Content-Transfer-Encoding: 7bit


Behold! An inline

--61FA22A41A3F46E8E90EF528 Content-Type: image/gif; name="email-action-left.gif" Content-Transfer-Encoding: base64 Content-ID: Content-Disposition: inline; filename="email-action-left.gif" R0lGODlhAQABAAAAADs= --61FA22A41A3F46E8E90EF528-- """ Then it succeeds # :1 -> *scenario time="2026-09-17T09:48:27Z" msg="Frontend service stopped" time="2026-09-17T09:48:27Z" msg="Frontend client stopped" time="2026-09-17T09:48:27Z" msg="Closing bridge" time="2026-09-17T09:48:27Z" msg="Stopping service" time="2026-09-17T09:48:27Z" msg="Closing user" userID=61a93a02-aac1-4daa-8068-d27d65fe2366 time="2026-09-17T09:48:27Z" msg="De-registering user client, ID:61a93a02-aac1-4daa-8068-d27d65fe2366" time="2026-09-17T09:48:27Z" msg="Exiting IMAP Service" time="2026-09-17T09:48:27Z" msg="Exiting service main loop" time="2026-09-17T09:48:27Z" msg="Exiting service main loop" time="2026-09-17T09:48:27Z" msg="Exiting Service" time="2026-09-17T09:48:27Z" msg="Exiting service main loop" time="2026-09-17T09:48:27Z" msg="Exiting service" time="2026-09-17T09:48:27Z" msg="Closing IMAP Listener" time="2026-09-17T09:48:27Z" msg="Closing IMAP server" time="2026-09-17T09:48:27Z" msg="Closing SMTP Listener" time="2026-09-17T09:48:27Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:48:27Z" msg="Closing SMTP server" time="2026-09-17T09:48:27Z" msg="Closing service" And IMAP client "1" eventually sees the following message in "Inbox" with this structure: # :1 -> *scenario """ { "date": "01 Jan 80 00:00 +0000", "to": "Bridge Test ", "from": "Bridge Second Test ", "subject": "Html Inline Importing", "content": { "content-type": "multipart/mixed", "sections":[ { "content-type": "multipart/related", "sections":[ { "content-type": "text/html", "content-type-charset": "utf-8", "transfer-encoding": "7bit", "body-is": "\n\n\n\n\n


\n

\n

Behold! An inline \"\"\nwidth=\"24\"
\n

\n\n" }, { "content-type": "image/gif", "content-type-name": "email-action-left.gif", "content-disposition": "inline", "content-disposition-filename": "email-action-left.gif", "transfer-encoding": "base64", "body-is": "R0lGODlhAQABAAAAADs=" } ] } ] } } """ time="2026-09-17T09:48:27Z" msg="User '4a839b4b-27c2-42cd-9e47-f54ca06101e9' created with " /server/backend time="2026-09-17T09:48:28Z" msg="Starting bridge" time="2026-09-17T09:48:28Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/103/config1173662134/grpcFocusServerConfig.json /service time="2026-09-17T09:48:28Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/103/cache4097551641/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:48:28Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/103/cache4097551641/notifications/notification_cache: no such file or directory" time="2026-09-17T09:48:28Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/103/data2411558536/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/103/data2411558536/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:48:28Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:48:28Z" msg="Starting IMAP server" time="2026-09-17T09:48:28Z" msg="Starting SMTP server" time="2026-09-17T09:48:28Z" msg="Starting service" time="2026-09-17T09:48:28Z" msg="Starting service" time="2026-09-17T09:48:28Z" msg="Starting receiver service" time="2026-09-17T09:48:28Z" msg="Starting frontend service" time="2026-09-17T09:48:28Z" msg="Checking for updates" time="2026-09-17T09:48:28Z" msg="Loading users" /user time="2026-09-17T09:48:28Z" msg="Starting poll service" time="2026-09-17T09:48:28Z" msg="Finished loading users" /user time="2026-09-17T09:48:28Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/103/config1173662134/grpcServerConfig.json time="2026-09-17T09:48:28Z" msg="gRPC server listening on /tmp/bridge7832" time="2026-09-17T09:48:28Z" msg="Frontend service started" time="2026-09-17T09:48:28Z" msg="Starting frontend client" time="2026-09-17T09:48:28Z" msg="Not monitoring parent PID" time="2026-09-17T09:48:28Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:48:28Z" msg="Frontend client started" time="2026-09-17T09:48:28Z" msg="Performing full user login" /user username="******** (deac0fe1)" time="2026-09-17T09:48:28Z" msg="Authorizing user for login" /user username="******** (deac0fe1)" time="2026-09-17T09:48:28Z" msg="200 OK: GET https://127.0.0.1:36147/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:48:28Z" msg="200 OK: POST https://127.0.0.1:36147/auth/v4/info" /manager time="2026-09-17T09:48:28Z" msg="200 OK: POST https://127.0.0.1:36147/auth/v4" /manager time="2026-09-17T09:48:28Z" msg="Logging in authorized user" /user userID=53294c1a-b4fe-4269-93b9-a431bd4981d7 time="2026-09-17T09:48:28Z" msg="Adding vault user" userID=53294c1a-b4fe-4269-93b9-a431bd4981d7 time="2026-09-17T09:48:28Z" msg="Creating new user" userID=53294c1a-b4fe-4269-93b9-a431bd4981d7 time="2026-09-17T09:48:28Z" msg="404 GET https://127.0.0.1:36147/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:48:28Z" msg="404 GET https://127.0.0.1:36147/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:48:28Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:36147/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:48:28Z" msg="Creating user object" authUID=4b883957-58da-46d6-b35b-b23ef76bb689 numA numL userID=53294c1a-b4fe-4269-93b9-a431bd4981d7 time="2026-09-17T09:48:28Z" msg="200 OK: GET https://127.0.0.1:36147/core/v4/events/latest" /client userID=53294c1a-b4fe-4269-93b9-a431bd4981d7 time="2026-09-17T09:48:28Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:48:28Z" msg="200 OK: GET https://127.0.0.1:36147/core/v4/settings" /client userID=53294c1a-b4fe-4269-93b9-a431bd4981d7 time="2026-09-17T09:48:28Z" msg="Registering user client, ID:53294c1a-b4fe-4269-93b9-a431bd4981d7" time="2026-09-17T09:48:28Z" msg="Starting service main loop" time="2026-09-17T09:48:28Z" msg="Starting service main loop" time="2026-09-17T09:48:28Z" msg="Starting user identity service" numA time="2026-09-17T09:48:28Z" msg="Starting service main loop" time="2026-09-17T09:48:28Z" msg="200 OK: GET https://127.0.0.1:36147/core/v4/labels?T" /client userID=53294c1a-b4fe-4269-93b9-a431bd4981d7 time="2026-09-17T09:48:28Z" msg="200 OK: GET https://127.0.0.1:36147/core/v4/labels?T" /client userID=53294c1a-b4fe-4269-93b9-a431bd4981d7 time="2026-09-17T09:48:28Z" msg="200 OK: GET https://127.0.0.1:36147/core/v4/labels?T" /client userID=53294c1a-b4fe-4269-93b9-a431bd4981d7 time="2026-09-17T09:48:28Z" msg="Setting labels" labelIDs="[1 2 4 6 8 9 3 5 7 10 12 0]" time="2026-09-17T09:48:28Z" msg="Adding user to imap server" addrID=e3de448c-7d20-4a03-86e7-d243ee4b9a62 time="2026-09-17T09:48:28Z" msg="Creating new IMAP user" addrID=e3de448c-7d20-4a03-86e7-d243ee4b9a62 time="2026-09-17T09:48:28Z" msg="Setting gluon ID" addrID=e3de448c-7d20-4a03-86e7-d243ee4b9a62 gluonID=19d03224-79b2-4418-9496-8ba7d5e7a6af userID=53294c1a-b4fe-4269-93b9-a431bd4981d7 time="2026-09-17T09:48:28Z" msg="Received mailbox message count" gluonID=19d03224-79b2-4418-9496-8ba7d5e7a6af labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:48:28Z" msg="Created new IMAP user" addrID=e3de448c-7d20-4a03-86e7-d243ee4b9a62 gluonID=19d03224-79b2-4418-9496-8ba7d5e7a6af time="2026-09-17T09:48:28Z" msg="Validating Listener State" time="2026-09-17T09:48:28Z" time="2026-09-17T09:48:28Z" msg="Checking whether logged in user should re-sync. UserID:53294c1a-b4fe-4269-93b9-a431bd4981d7" userID=53294c1a-b4fe-4269-93b9-a431bd4981d7 time="2026-09-17T09:48:28Z" msg="Starting IMAP Service" time="2026-09-17T09:48:28Z" msg="Sync triggered" time="2026-09-17T09:48:28Z" msg="Beginning user sync" start="2026-09-17 09:48:28.635502798 +0000 UTC m=+197.127805094" time="2026-09-17T09:48:28Z" msg="Syncing labels" time="2026-09-17T09:48:28Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=19d03224-79b2-4418-9496-8ba7d5e7a6af time="2026-09-17T09:48:28Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=19d03224-79b2-4418-9496-8ba7d5e7a6af time="2026-09-17T09:48:28Z" msg="Mailbox created" /user remoteMailboxID=6 userID=19d03224-79b2-4418-9496-8ba7d5e7a6af time="2026-09-17T09:48:28Z" msg="Mailbox created" /user remoteMailboxID=7 userID=19d03224-79b2-4418-9496-8ba7d5e7a6af time="2026-09-17T09:48:28Z" msg="Mailbox created" /user remoteMailboxID=4 userID=19d03224-79b2-4418-9496-8ba7d5e7a6af time="2026-09-17T09:48:28Z" msg="Mailbox created" /user remoteMailboxID=8 userID=19d03224-79b2-4418-9496-8ba7d5e7a6af time="2026-09-17T09:48:28Z" msg="Mailbox created" /user remoteMailboxID=3 userID=19d03224-79b2-4418-9496-8ba7d5e7a6af time="2026-09-17T09:48:28Z" msg="Mailbox created" /user remoteMailboxID=5 userID=19d03224-79b2-4418-9496-8ba7d5e7a6af time="2026-09-17T09:48:28Z" msg="Mailbox created" /user remoteMailboxID=10 userID=19d03224-79b2-4418-9496-8ba7d5e7a6af time="2026-09-17T09:48:28Z" msg="Mailbox created" /user remoteMailboxID=12 userID=19d03224-79b2-4418-9496-8ba7d5e7a6af time="2026-09-17T09:48:28Z" msg="Mailbox created" /user remoteMailboxID=0 userID=19d03224-79b2-4418-9496-8ba7d5e7a6af time="2026-09-17T09:48:28Z" msg="Synced labels" time="2026-09-17T09:48:28Z" msg="200 OK: GET https://127.0.0.1:36147/mail/v4/messages/count" /client userID=53294c1a-b4fe-4269-93b9-a431bd4981d7 time="2026-09-17T09:48:28Z" msg="Syncing messages" time="2026-09-17T09:48:28Z" msg="Job started" time="2026-09-17T09:48:28Z" msg="200 OK: POST https://127.0.0.1:36147/mail/v4/messages" /client userID=53294c1a-b4fe-4269-93b9-a431bd4981d7 time="2026-09-17T09:48:28Z" msg="Job finished" time="2026-09-17T09:48:28Z" msg="All child jobs completed" sync- time="2026-09-17T09:48:28Z" msg="Synced messages" time="2026-09-17T09:48:28Z" msg="Finished user sync" .500007ms time="2026-09-17T09:48:28Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:48:28Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:48:28Z" msg="200 OK: POST https://127.0.0.1:36147/mail/v4/messages/import" /client userID=53294c1a-b4fe-4269-93b9-a431bd4981d7 time="2026-09-17T09:48:28Z" msg="200 OK: GET https://127.0.0.1:36147/mail/v4/messages/3771bc60-c82f-4a56-bd97-bef6444fe468" /client userID=53294c1a-b4fe-4269-93b9-a431bd4981d7 Scenario: Message import with text part and attachment # features/imap/message/import.feature:548 When IMAP client "1" appends the following message to "INBOX": # :1 -> *scenario """ From: Bridge Test Date: 01 Jan 1980 00:00:00 +0000 To: Internal Bridge Received: by 2002:0:0:0:0:0:0:0 with SMTP id 0123456789abcdef; Wed, 30 Dec 2020 01:23:45 0000 Subject: Message import with text part Content-Type: multipart/mixed; boundary="BOUNDARY" This is a multi-part message in MIME format. --BOUNDARY Content-Type: text/plain; Content-Transfer-Encoding: 7bit Hello World --BOUNDARY Content-Disposition: attachment; .png Content-Transfer-Encoding: base64 Content-Type: image/png iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQot tAAAAABJRU5ErkJggg== --BOUNDARY-- """ Then it succeeds # :1 -> *scenario time="2026-09-17T09:48:28Z" msg="Frontend service stopped" time="2026-09-17T09:48:28Z" msg="Frontend client stopped" time="2026-09-17T09:48:28Z" msg="Closing bridge" time="2026-09-17T09:48:28Z" msg="Stopping service" time="2026-09-17T09:48:28Z" msg="Closing user" userID=53294c1a-b4fe-4269-93b9-a431bd4981d7 time="2026-09-17T09:48:28Z" msg="De-registering user client, ID:53294c1a-b4fe-4269-93b9-a431bd4981d7" time="2026-09-17T09:48:28Z" msg="Exiting IMAP Service" time="2026-09-17T09:48:28Z" msg="Exiting service main loop" time="2026-09-17T09:48:28Z" msg="Exiting service main loop" time="2026-09-17T09:48:28Z" msg="Exiting Service" time="2026-09-17T09:48:28Z" msg="Exiting service main loop" time="2026-09-17T09:48:28Z" msg="Exiting service" time="2026-09-17T09:48:28Z" msg="Closing IMAP Listener" time="2026-09-17T09:48:28Z" msg="Closing IMAP server" time="2026-09-17T09:48:28Z" msg="Closing SMTP Listener" time="2026-09-17T09:48:28Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:48:28Z" msg="Closing SMTP server" time="2026-09-17T09:48:28Z" msg="Closing service" And IMAP client "1" eventually sees the following message in "INBOX" with this structure: # :1 -> *scenario """ { "from": "Bridge Test ", "date": "01 Jan 80 00:00 +0000", "to": "Internal Bridge ", "subject": "Message import with text part", "content": { "content-type": "multipart/mixed", "sections":[ { "content-type": "text/plain", "body-is": "Hello World" }, { "content-type": "image/png", "content-type-name": "image.png", "content-disposition": "attachment", "content-disposition-filename": "image.png", "transfer-encoding": "base64", "body-is": "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAA\r\nAABJRU5ErkJggg==" } ] } } """ time="2026-09-17T09:48:29Z" msg="User '7396043e-6139-4474-8941-c0945d16b5d1' created with " /server/backend time="2026-09-17T09:48:29Z" msg="Starting bridge" time="2026-09-17T09:48:29Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/104/config4169138764/grpcFocusServerConfig.json /service time="2026-09-17T09:48:29Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/104/cache2775168387/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:48:29Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/104/cache2775168387/notifications/notification_cache: no such file or directory" time="2026-09-17T09:48:29Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/104/data123066411/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/104/data123066411/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:48:29Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:48:29Z" msg="Starting IMAP server" time="2026-09-17T09:48:29Z" msg="Starting SMTP server" time="2026-09-17T09:48:29Z" msg="Starting service" time="2026-09-17T09:48:29Z" msg="Starting service" time="2026-09-17T09:48:29Z" msg="Starting poll service" time="2026-09-17T09:48:29Z" msg="Starting frontend service" time="2026-09-17T09:48:29Z" msg="Checking for updates" time="2026-09-17T09:48:29Z" msg="Loading users" /user time="2026-09-17T09:48:29Z" msg="Starting receiver service" time="2026-09-17T09:48:29Z" msg="Finished loading users" /user time="2026-09-17T09:48:29Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/104/config4169138764/grpcServerConfig.json time="2026-09-17T09:48:29Z" msg="gRPC server listening on /tmp/bridge6942" time="2026-09-17T09:48:29Z" msg="Frontend service started" time="2026-09-17T09:48:29Z" msg="Starting frontend client" time="2026-09-17T09:48:29Z" msg="Not monitoring parent PID" time="2026-09-17T09:48:29Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:48:29Z" msg="200 OK: GET https://127.0.0.1:45553/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:48:29Z" msg="Frontend client started" time="2026-09-17T09:48:29Z" msg="Performing full user login" /user username="******** (cbb94d93)" time="2026-09-17T09:48:29Z" msg="Authorizing user for login" /user username="******** (cbb94d93)" time="2026-09-17T09:48:29Z" msg="200 OK: POST https://127.0.0.1:45553/auth/v4/info" /manager time="2026-09-17T09:48:29Z" msg="200 OK: POST https://127.0.0.1:45553/auth/v4" /manager time="2026-09-17T09:48:29Z" msg="Logging in authorized user" /user userID=c2e62eb3-8fb9-4f6c-aa33-883abde309a4 time="2026-09-17T09:48:29Z" msg="Adding vault user" userID=c2e62eb3-8fb9-4f6c-aa33-883abde309a4 time="2026-09-17T09:48:29Z" msg="Creating new user" userID=c2e62eb3-8fb9-4f6c-aa33-883abde309a4 time="2026-09-17T09:48:29Z" msg="404 GET https://127.0.0.1:45553/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:48:29Z" msg="404 GET https://127.0.0.1:45553/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:48:29Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:45553/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:48:29Z" msg="Creating user object" authUID=8554d3af-847b-4485-b220-1dc7b90d32fb numA numL userID=c2e62eb3-8fb9-4f6c-aa33-883abde309a4 time="2026-09-17T09:48:29Z" msg="200 OK: GET https://127.0.0.1:45553/core/v4/events/latest" /client userID=c2e62eb3-8fb9-4f6c-aa33-883abde309a4 time="2026-09-17T09:48:29Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:48:29Z" msg="200 OK: GET https://127.0.0.1:45553/core/v4/settings" /client userID=c2e62eb3-8fb9-4f6c-aa33-883abde309a4 time="2026-09-17T09:48:29Z" msg="Registering user client, ID:c2e62eb3-8fb9-4f6c-aa33-883abde309a4" time="2026-09-17T09:48:29Z" msg="Starting service main loop" time="2026-09-17T09:48:29Z" msg="Starting user identity service" numA time="2026-09-17T09:48:29Z" msg="Starting service main loop" time="2026-09-17T09:48:29Z" msg="Starting service main loop" time="2026-09-17T09:48:29Z" msg="200 OK: GET https://127.0.0.1:45553/core/v4/labels?T" /client userID=c2e62eb3-8fb9-4f6c-aa33-883abde309a4 time="2026-09-17T09:48:29Z" msg="200 OK: GET https://127.0.0.1:45553/core/v4/labels?T" /client userID=c2e62eb3-8fb9-4f6c-aa33-883abde309a4 time="2026-09-17T09:48:29Z" msg="200 OK: GET https://127.0.0.1:45553/core/v4/labels?T" /client userID=c2e62eb3-8fb9-4f6c-aa33-883abde309a4 time="2026-09-17T09:48:29Z" msg="Setting labels" labelIDs="[7 10 0 2 4 5 8 9 12 1 3 6]" time="2026-09-17T09:48:29Z" msg="Adding user to imap server" addrID=803c2c25-af1f-44c6-a3e7-33a3e553e4c2 time="2026-09-17T09:48:29Z" msg="Creating new IMAP user" addrID=803c2c25-af1f-44c6-a3e7-33a3e553e4c2 time="2026-09-17T09:48:29Z" msg="Setting gluon ID" addrID=803c2c25-af1f-44c6-a3e7-33a3e553e4c2 gluonID=befbbb30-2116-4ca4-b603-ba88cd34c0d0 userID=c2e62eb3-8fb9-4f6c-aa33-883abde309a4 time="2026-09-17T09:48:29Z" msg="Received mailbox message count" gluonID=befbbb30-2116-4ca4-b603-ba88cd34c0d0 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:48:29Z" msg="Created new IMAP user" addrID=803c2c25-af1f-44c6-a3e7-33a3e553e4c2 gluonID=befbbb30-2116-4ca4-b603-ba88cd34c0d0 time="2026-09-17T09:48:29Z" msg="Validating Listener State" time="2026-09-17T09:48:29Z" time="2026-09-17T09:48:29Z" msg="Starting IMAP Service" time="2026-09-17T09:48:29Z" msg="Checking whether logged in user should re-sync. UserID:c2e62eb3-8fb9-4f6c-aa33-883abde309a4" userID=c2e62eb3-8fb9-4f6c-aa33-883abde309a4 time="2026-09-17T09:48:29Z" msg="Sync triggered" time="2026-09-17T09:48:29Z" msg="Beginning user sync" start="2026-09-17 09:48:29.840847029 +0000 UTC m=+198.333149325" time="2026-09-17T09:48:29Z" msg="Syncing labels" time="2026-09-17T09:48:29Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=befbbb30-2116-4ca4-b603-ba88cd34c0d0 time="2026-09-17T09:48:29Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=befbbb30-2116-4ca4-b603-ba88cd34c0d0 time="2026-09-17T09:48:29Z" msg="Mailbox created" /user remoteMailboxID=3 userID=befbbb30-2116-4ca4-b603-ba88cd34c0d0 time="2026-09-17T09:48:29Z" msg="Mailbox created" /user remoteMailboxID=7 userID=befbbb30-2116-4ca4-b603-ba88cd34c0d0 time="2026-09-17T09:48:29Z" msg="Mailbox created" /user remoteMailboxID=10 userID=befbbb30-2116-4ca4-b603-ba88cd34c0d0 time="2026-09-17T09:48:29Z" msg="Mailbox created" /user remoteMailboxID=0 userID=befbbb30-2116-4ca4-b603-ba88cd34c0d0 time="2026-09-17T09:48:29Z" msg="Mailbox created" /user remoteMailboxID=4 userID=befbbb30-2116-4ca4-b603-ba88cd34c0d0 time="2026-09-17T09:48:29Z" msg="Mailbox created" /user remoteMailboxID=8 userID=befbbb30-2116-4ca4-b603-ba88cd34c0d0 time="2026-09-17T09:48:29Z" msg="Mailbox created" /user remoteMailboxID=6 userID=befbbb30-2116-4ca4-b603-ba88cd34c0d0 time="2026-09-17T09:48:29Z" msg="Mailbox created" /user remoteMailboxID=5 userID=befbbb30-2116-4ca4-b603-ba88cd34c0d0 time="2026-09-17T09:48:29Z" msg="Mailbox created" /user remoteMailboxID=12 userID=befbbb30-2116-4ca4-b603-ba88cd34c0d0 time="2026-09-17T09:48:29Z" msg="Synced labels" time="2026-09-17T09:48:29Z" msg="200 OK: GET https://127.0.0.1:45553/mail/v4/messages/count" /client userID=c2e62eb3-8fb9-4f6c-aa33-883abde309a4 time="2026-09-17T09:48:29Z" msg="Syncing messages" time="2026-09-17T09:48:29Z" msg="Job started" time="2026-09-17T09:48:29Z" msg="200 OK: POST https://127.0.0.1:45553/mail/v4/messages" /client userID=c2e62eb3-8fb9-4f6c-aa33-883abde309a4 time="2026-09-17T09:48:29Z" msg="Job finished" time="2026-09-17T09:48:29Z" msg="All child jobs completed" sync- time="2026-09-17T09:48:29Z" msg="Synced messages" time="2026-09-17T09:48:29Z" msg="Finished user sync" .335992ms time="2026-09-17T09:48:29Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:48:29Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:48:29Z" msg="200 OK: POST https://127.0.0.1:45553/mail/v4/messages/import" /client userID=c2e62eb3-8fb9-4f6c-aa33-883abde309a4 time="2026-09-17T09:48:29Z" msg="200 OK: GET https://127.0.0.1:45553/mail/v4/messages/766db01c-7ae0-4f37-8fe2-62d8f5c89713" /client userID=c2e62eb3-8fb9-4f6c-aa33-883abde309a4 Scenario: Message import without text part # features/imap/message/import.feature:605 When IMAP client "1" appends the following message to "INBOX": # :1 -> *scenario """ From: Bridge Test Date: 01 Jan 1980 00:00:00 +0000 To: Internal Bridge Received: by 2002:0:0:0:0:0:0:0 with SMTP id 0123456789abcdef; Wed, 30 Dec 2020 01:23:45 0000 Subject: Message import without text part Content-Type: multipart/mixed; boundary="BOUNDARY" This is a multi-part message in MIME format. --BOUNDARY Content-Disposition: attachment; .png Content-Transfer-Encoding: base64 Content-Type: image/png iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQot tAAAAABJRU5ErkJggg== --BOUNDARY-- """ Then it succeeds # :1 -> *scenario time="2026-09-17T09:48:29Z" msg="Frontend service stopped" time="2026-09-17T09:48:29Z" msg="Frontend client stopped" time="2026-09-17T09:48:29Z" msg="Closing bridge" time="2026-09-17T09:48:29Z" msg="Stopping service" time="2026-09-17T09:48:29Z" msg="Closing user" userID=c2e62eb3-8fb9-4f6c-aa33-883abde309a4 time="2026-09-17T09:48:29Z" msg="De-registering user client, ID:c2e62eb3-8fb9-4f6c-aa33-883abde309a4" time="2026-09-17T09:48:29Z" msg="Exiting IMAP Service" time="2026-09-17T09:48:29Z" msg="Exiting service main loop" time="2026-09-17T09:48:29Z" msg="Exiting service main loop" time="2026-09-17T09:48:29Z" msg="Exiting Service" time="2026-09-17T09:48:29Z" msg="Exiting service main loop" time="2026-09-17T09:48:29Z" msg="Exiting service" time="2026-09-17T09:48:29Z" msg="Closing IMAP Listener" time="2026-09-17T09:48:29Z" msg="Closing IMAP server" time="2026-09-17T09:48:29Z" msg="Closing SMTP Listener" time="2026-09-17T09:48:29Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:48:29Z" msg="Closing SMTP server" time="2026-09-17T09:48:29Z" msg="Closing service" And IMAP client "1" eventually sees the following message in "INBOX" with this structure: # :1 -> *scenario """ { "from": "Bridge Test ", "date": "01 Jan 80 00:00 +0000", "to": "Internal Bridge ", "subject": "Message import without text part", "content": { "content-type": "multipart/mixed", "sections":[ { "content-type": "text/plain", "body-is": "" }, { "content-type": "image/png", "content-type-name": "image.png", "content-disposition": "attachment", "content-disposition-filename": "image.png", "transfer-encoding": "base64", "body-is": "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAA\r\nAABJRU5ErkJggg==" } ] } } """ time="2026-09-17T09:48:30Z" msg="User '63abfd64-db06-4170-92c0-8169a1bce4c7' created with " /server/backend time="2026-09-17T09:48:30Z" msg="Starting bridge" time="2026-09-17T09:48:30Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/105/config642492707/grpcFocusServerConfig.json /service time="2026-09-17T09:48:30Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/105/cache3808229776/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:48:30Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/105/cache3808229776/notifications/notification_cache: no such file or directory" time="2026-09-17T09:48:30Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/105/data597781749/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/105/data597781749/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:48:30Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:48:30Z" msg="Starting IMAP server" time="2026-09-17T09:48:30Z" msg="Starting SMTP server" time="2026-09-17T09:48:30Z" msg="Starting service" time="2026-09-17T09:48:30Z" msg="Starting service" time="2026-09-17T09:48:30Z" msg="Starting frontend service" time="2026-09-17T09:48:30Z" msg="Starting receiver service" time="2026-09-17T09:48:30Z" msg="Starting poll service" time="2026-09-17T09:48:30Z" msg="Loading users" /user time="2026-09-17T09:48:30Z" msg="Finished loading users" /user time="2026-09-17T09:48:30Z" msg="Checking for updates" time="2026-09-17T09:48:30Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/105/config642492707/grpcServerConfig.json time="2026-09-17T09:48:30Z" msg="gRPC server listening on /tmp/bridge8981" time="2026-09-17T09:48:30Z" msg="Frontend service started" time="2026-09-17T09:48:30Z" msg="Starting frontend client" time="2026-09-17T09:48:30Z" msg="Not monitoring parent PID" time="2026-09-17T09:48:30Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:48:30Z" msg="Frontend client started" time="2026-09-17T09:48:30Z" msg="Performing full user login" /user username="******** (a9dc6c23)" time="2026-09-17T09:48:30Z" msg="Authorizing user for login" /user username="******** (a9dc6c23)" time="2026-09-17T09:48:30Z" msg="200 OK: GET https://127.0.0.1:43297/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:48:30Z" msg="200 OK: POST https://127.0.0.1:43297/auth/v4/info" /manager time="2026-09-17T09:48:30Z" msg="200 OK: POST https://127.0.0.1:43297/auth/v4" /manager time="2026-09-17T09:48:30Z" msg="Logging in authorized user" /user userID=71e37e47-2611-46c8-b513-51b9c74e8f58 time="2026-09-17T09:48:31Z" msg="Adding vault user" userID=71e37e47-2611-46c8-b513-51b9c74e8f58 time="2026-09-17T09:48:31Z" msg="Creating new user" userID=71e37e47-2611-46c8-b513-51b9c74e8f58 time="2026-09-17T09:48:31Z" msg="404 GET https://127.0.0.1:43297/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:48:31Z" msg="404 GET https://127.0.0.1:43297/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:48:31Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:43297/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:48:31Z" msg="Creating user object" authUID=60e58a5e-402e-458a-806e-3b6e4f1688cf numA numL userID=71e37e47-2611-46c8-b513-51b9c74e8f58 time="2026-09-17T09:48:31Z" msg="200 OK: GET https://127.0.0.1:43297/core/v4/events/latest" /client userID=71e37e47-2611-46c8-b513-51b9c74e8f58 time="2026-09-17T09:48:31Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:48:31Z" msg="200 OK: GET https://127.0.0.1:43297/core/v4/settings" /client userID=71e37e47-2611-46c8-b513-51b9c74e8f58 time="2026-09-17T09:48:31Z" msg="Registering user client, ID:71e37e47-2611-46c8-b513-51b9c74e8f58" time="2026-09-17T09:48:31Z" msg="Starting user identity service" numA time="2026-09-17T09:48:31Z" msg="Starting service main loop" time="2026-09-17T09:48:31Z" msg="Starting service main loop" time="2026-09-17T09:48:31Z" msg="Starting service main loop" time="2026-09-17T09:48:31Z" msg="200 OK: GET https://127.0.0.1:43297/core/v4/labels?T" /client userID=71e37e47-2611-46c8-b513-51b9c74e8f58 time="2026-09-17T09:48:31Z" msg="200 OK: GET https://127.0.0.1:43297/core/v4/labels?T" /client userID=71e37e47-2611-46c8-b513-51b9c74e8f58 time="2026-09-17T09:48:31Z" msg="200 OK: GET https://127.0.0.1:43297/core/v4/labels?T" /client userID=71e37e47-2611-46c8-b513-51b9c74e8f58 time="2026-09-17T09:48:31Z" msg="Setting labels" labelIDs="[4 6 7 9 0 2 5 8 10 12 1 3]" time="2026-09-17T09:48:31Z" msg="Adding user to imap server" addrID=bfc4a3d5-b59c-4be3-a859-3cd9b8375d06 time="2026-09-17T09:48:31Z" msg="Creating new IMAP user" addrID=bfc4a3d5-b59c-4be3-a859-3cd9b8375d06 time="2026-09-17T09:48:31Z" msg="Setting gluon ID" addrID=bfc4a3d5-b59c-4be3-a859-3cd9b8375d06 gluonID=1072d658-ef84-4ad8-885d-cbf7369a8772 userID=71e37e47-2611-46c8-b513-51b9c74e8f58 time="2026-09-17T09:48:31Z" msg="Received mailbox message count" gluonID=1072d658-ef84-4ad8-885d-cbf7369a8772 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:48:31Z" msg="Created new IMAP user" addrID=bfc4a3d5-b59c-4be3-a859-3cd9b8375d06 gluonID=1072d658-ef84-4ad8-885d-cbf7369a8772 time="2026-09-17T09:48:31Z" msg="Validating Listener State" time="2026-09-17T09:48:31Z" time="2026-09-17T09:48:31Z" msg="Checking whether logged in user should re-sync. UserID:71e37e47-2611-46c8-b513-51b9c74e8f58" userID=71e37e47-2611-46c8-b513-51b9c74e8f58 time="2026-09-17T09:48:31Z" msg="Starting IMAP Service" time="2026-09-17T09:48:31Z" msg="Sync triggered" time="2026-09-17T09:48:31Z" msg="Beginning user sync" start="2026-09-17 09:48:31.048947352 +0000 UTC m=+199.541249688" time="2026-09-17T09:48:31Z" msg="Syncing labels" time="2026-09-17T09:48:31Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=1072d658-ef84-4ad8-885d-cbf7369a8772 time="2026-09-17T09:48:31Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=1072d658-ef84-4ad8-885d-cbf7369a8772 time="2026-09-17T09:48:31Z" msg="Mailbox created" /user remoteMailboxID=4 userID=1072d658-ef84-4ad8-885d-cbf7369a8772 time="2026-09-17T09:48:31Z" msg="Mailbox created" /user remoteMailboxID=10 userID=1072d658-ef84-4ad8-885d-cbf7369a8772 time="2026-09-17T09:48:31Z" msg="Mailbox created" /user remoteMailboxID=12 userID=1072d658-ef84-4ad8-885d-cbf7369a8772 time="2026-09-17T09:48:31Z" msg="Mailbox created" /user remoteMailboxID=3 userID=1072d658-ef84-4ad8-885d-cbf7369a8772 time="2026-09-17T09:48:31Z" msg="Mailbox created" /user remoteMailboxID=6 userID=1072d658-ef84-4ad8-885d-cbf7369a8772 time="2026-09-17T09:48:31Z" msg="Mailbox created" /user remoteMailboxID=7 userID=1072d658-ef84-4ad8-885d-cbf7369a8772 time="2026-09-17T09:48:31Z" msg="Mailbox created" /user remoteMailboxID=0 userID=1072d658-ef84-4ad8-885d-cbf7369a8772 time="2026-09-17T09:48:31Z" msg="Mailbox created" /user remoteMailboxID=5 userID=1072d658-ef84-4ad8-885d-cbf7369a8772 time="2026-09-17T09:48:31Z" msg="Mailbox created" /user remoteMailboxID=8 userID=1072d658-ef84-4ad8-885d-cbf7369a8772 time="2026-09-17T09:48:31Z" msg="Synced labels" time="2026-09-17T09:48:31Z" msg="200 OK: GET https://127.0.0.1:43297/mail/v4/messages/count" /client userID=71e37e47-2611-46c8-b513-51b9c74e8f58 time="2026-09-17T09:48:31Z" msg="Syncing messages" time="2026-09-17T09:48:31Z" msg="Job started" time="2026-09-17T09:48:31Z" msg="200 OK: POST https://127.0.0.1:43297/mail/v4/messages" /client userID=71e37e47-2611-46c8-b513-51b9c74e8f58 time="2026-09-17T09:48:31Z" msg="Job finished" time="2026-09-17T09:48:31Z" msg="All child jobs completed" sync- time="2026-09-17T09:48:31Z" msg="Synced messages" time="2026-09-17T09:48:31Z" msg="Finished user sync" .14972ms time="2026-09-17T09:48:31Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:48:31Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:48:31Z" msg="200 OK: POST https://127.0.0.1:43297/mail/v4/messages/import" /client userID=71e37e47-2611-46c8-b513-51b9c74e8f58 time="2026-09-17T09:48:31Z" msg="200 OK: GET https://127.0.0.1:43297/mail/v4/messages/13b568ba-6e63-4ea2-a001-661562abe9e8" /client userID=71e37e47-2611-46c8-b513-51b9c74e8f58 Scenario: Message import multipart/related with invalid boundary character # features/imap/message/import.feature:655 When IMAP client "1" appends the following message to "INBOX": # :1 -> *scenario """ From: Bridge Test Date: 01 Jan 1980 00:00:00 +0000 To: Internal Bridge Received: by 2002:0:0:0:0:0:0:0 with SMTP id 0123456789abcdef; Wed, 30 Dec 2020 01:23:45 0000 Subject: Message with invalid boundary Content-Type: multipart/related; boundary="------------123456789@tutanota" --------------123456789@tutanota Content-Type: text/html; Content-transfer-encoding: base64 PGRpdiBjbGFzcz0iIj4KPHAgY2xhc3M9IiI+PGEgbmFtZT0iX0hsazE5MDA1NjM2IiByZWw9Im5vb3 BlbmVyIG5vcmVmZXJyZXIiIHRhcmdldD0iX2JsYW5rIj48c3BhbiBzdHlsZT0ibXNvLWZhcmVhc3Qt --------------123456789@tutanota Content-Type: image/png; name==?UTF-8?B?MC5wbmc=?= Content-Transfer-Encoding: base64 Content-Disposition: attachment; .png iVBORw0KGgoAAAANSUhEUgAAACsAAAArCAYAAADhXXHAAAAPq3pUWHRSYXcgcHJvZmlsZSB0eXBlIG V4aWYAAHjarZlrliOpkoT/s4pZAuCAw3J4njM7mOXP54SUlZmV1bd7plNVEVIoAhx/mJsht//nv4/7 --------------123456789@tutanota Content-Type: image/png; name==?UTF-8?B?Mi5wbmc=?= Content-Transfer-Encoding: base64 Content-Disposition: attachment; .png iVBORw0KGgoAAAANSUhEUgAAACsAAAArCAYAAADhXXHAAAAR+HpUWHRSYXcgcHJvZmlsZSB0eXBlIG V4aWYAAHjarZprdhs5DoX/cxWzBD4Bcjl8njM7mOXPB5bsOI49SU+3nViKLFWxgIv7YMXt//z7uH/x --------------123456789@tutanota-- """ Then it succeeds # :1 -> *scenario time="2026-09-17T09:48:31Z" msg="Frontend service stopped" time="2026-09-17T09:48:31Z" msg="Frontend client stopped" time="2026-09-17T09:48:31Z" msg="Closing bridge" time="2026-09-17T09:48:31Z" msg="Stopping service" time="2026-09-17T09:48:31Z" msg="Closing user" userID=71e37e47-2611-46c8-b513-51b9c74e8f58 time="2026-09-17T09:48:31Z" msg="De-registering user client, ID:71e37e47-2611-46c8-b513-51b9c74e8f58" time="2026-09-17T09:48:31Z" msg="Exiting IMAP Service" time="2026-09-17T09:48:31Z" msg="Exiting service main loop" time="2026-09-17T09:48:31Z" msg="Exiting service main loop" time="2026-09-17T09:48:31Z" msg="Exiting Service" time="2026-09-17T09:48:31Z" msg="Exiting service main loop" time="2026-09-17T09:48:31Z" msg="Exiting service" time="2026-09-17T09:48:31Z" msg="Closing IMAP Listener" time="2026-09-17T09:48:31Z" msg="Closing IMAP server" time="2026-09-17T09:48:31Z" msg="Closing SMTP Listener" time="2026-09-17T09:48:31Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:48:31Z" msg="Closing SMTP server" time="2026-09-17T09:48:31Z" msg="Closing service" And IMAP client "1" eventually sees the following message in "INBOX" with this structure: # :1 -> *scenario """ { "from": "Bridge Test ", "date": "01 Jan 80 00:00 +0000", "to": "Internal Bridge ", "subject": "Message with invalid boundary", "content": { "content-type": "multipart/mixed", "sections":[ { "content-type": "multipart/related", "sections": [ { "content-type": "text/html", "transfer-encoding": "base64", "body-is": "PGRpdiBjbGFzcz0iIj4KPHAgY2xhc3M9IiI+PGEgbmFtZT0iX0hsazE5MDA1NjM2IiByZWw9Im5v\r\nb3BlbmVyIG5vcmVmZXJyZXIiIHRhcmdldD0iX2JsYW5rIj48c3BhbiBzdHlsZT0ibXNvLWZhcmVh\r\nc3Qt" }, { "content-type": "image/png", "transfer-encoding": "base64", "content-disposition": "attachment", "content-disposition-filename": "image1.png", "body-is": "iVBORw0KGgoAAAANSUhEUgAAACsAAAArCAYAAADhXXHAAAAPq3pUWHRSYXcgcHJvZmlsZSB0eXBl\r\nIGV4aWYAAHjarZlrliOpkoT/s4pZAuCAw3J4njM7mOXP54SUlZmV1bd7plNVEVIoAhx/mJsht//n\r\nv4/7" }, { "content-type": "image/png", "transfer-encoding": "base64", "content-disposition": "attachment", "content-disposition-filename": "img2.png", "body-is": "iVBORw0KGgoAAAANSUhEUgAAACsAAAArCAYAAADhXXHAAAAR+HpUWHRSYXcgcHJvZmlsZSB0eXBl\r\nIGV4aWYAAHjarZprdhs5DoX/cxWzBD4Bcjl8njM7mOXPB5bsOI49SU+3nViKLFWxgIv7YMXt//z7\r\nuH/x" } ] } ] } } """ Feature: IMAP import messages time="2026-09-17T09:48:31Z" msg="User '84c39159-12d8-47a4-97fe-0aa8cd27cf9d' created with " /server/backend Background: Given there exists an account with username "84c39159-12d8-47a4-97fe-0aa8cd27cf9d" and password "password" # :1 -> *scenario And the account "84c39159-12d8-47a4-97fe-0aa8cd27cf9d" has additional address "7bd1ed4d-9627-4080-b8da-955943bc455a@proton.local" # :1 -> *scenario And the account "84c39159-12d8-47a4-97fe-0aa8cd27cf9d" has additional disabled address "83d1a86b-f711-4400-b6df-3629a32a2275@proton.local" # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:48:32Z" msg="Starting bridge" time="2026-09-17T09:48:32Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/106/config2033889739/grpcFocusServerConfig.json /service time="2026-09-17T09:48:32Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/106/cache2522488137/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:48:32Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/106/cache2522488137/notifications/notification_cache: no such file or directory" time="2026-09-17T09:48:32Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/106/data2377503393/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/106/data2377503393/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:48:32Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:48:32Z" msg="Starting IMAP server" time="2026-09-17T09:48:32Z" msg="Starting SMTP server" time="2026-09-17T09:48:32Z" msg="Starting service" time="2026-09-17T09:48:32Z" msg="Starting service" time="2026-09-17T09:48:32Z" msg="Starting poll service" time="2026-09-17T09:48:32Z" msg="Checking for updates" time="2026-09-17T09:48:32Z" msg="Starting frontend service" time="2026-09-17T09:48:32Z" msg="Loading users" /user time="2026-09-17T09:48:32Z" msg="Finished loading users" /user time="2026-09-17T09:48:32Z" msg="Starting receiver service" time="2026-09-17T09:48:32Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/106/config2033889739/grpcServerConfig.json time="2026-09-17T09:48:32Z" msg="gRPC server listening on /tmp/bridge4231" time="2026-09-17T09:48:32Z" msg="Frontend service started" time="2026-09-17T09:48:32Z" msg="Starting frontend client" time="2026-09-17T09:48:32Z" msg="Not monitoring parent PID" time="2026-09-17T09:48:32Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:48:32Z" msg="200 OK: GET https://127.0.0.1:36849/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:48:32Z" msg="Frontend client started" When bridge starts # :1 -> *scenario time="2026-09-17T09:48:32Z" msg="Performing full user login" /user username="******** (8df6988a)" time="2026-09-17T09:48:32Z" msg="Authorizing user for login" /user username="******** (8df6988a)" time="2026-09-17T09:48:32Z" msg="200 OK: POST https://127.0.0.1:36849/auth/v4/info" /manager time="2026-09-17T09:48:33Z" msg="200 OK: POST https://127.0.0.1:36849/auth/v4" /manager time="2026-09-17T09:48:33Z" msg="Logging in authorized user" /user userID=2d0ad471-6457-4ad3-a264-017943a2648c time="2026-09-17T09:48:33Z" msg="Adding vault user" userID=2d0ad471-6457-4ad3-a264-017943a2648c time="2026-09-17T09:48:33Z" msg="Creating new user" userID=2d0ad471-6457-4ad3-a264-017943a2648c time="2026-09-17T09:48:33Z" msg="404 GET https://127.0.0.1:36849/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:48:33Z" msg="404 GET https://127.0.0.1:36849/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:48:33Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:36849/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:48:33Z" msg="Creating user object" authUID=0b817bfd-d404-465a-9fd2-f80a764e4db6 numA numL userID=2d0ad471-6457-4ad3-a264-017943a2648c time="2026-09-17T09:48:33Z" msg="200 OK: GET https://127.0.0.1:36849/core/v4/events/latest" /client userID=2d0ad471-6457-4ad3-a264-017943a2648c time="2026-09-17T09:48:33Z" msg="Starting service Last EventID=Ag==" time="2026-09-17T09:48:33Z" msg="200 OK: GET https://127.0.0.1:36849/core/v4/settings" /client userID=2d0ad471-6457-4ad3-a264-017943a2648c time="2026-09-17T09:48:33Z" msg="Registering user client, ID:2d0ad471-6457-4ad3-a264-017943a2648c" time="2026-09-17T09:48:33Z" msg="Starting service main loop" time="2026-09-17T09:48:33Z" msg="Starting user identity service" numA time="2026-09-17T09:48:33Z" msg="Starting service main loop" time="2026-09-17T09:48:33Z" msg="Starting service main loop" time="2026-09-17T09:48:33Z" msg="200 OK: GET https://127.0.0.1:36849/core/v4/labels?T" /client userID=2d0ad471-6457-4ad3-a264-017943a2648c time="2026-09-17T09:48:33Z" msg="200 OK: GET https://127.0.0.1:36849/core/v4/labels?T" /client userID=2d0ad471-6457-4ad3-a264-017943a2648c time="2026-09-17T09:48:33Z" msg="200 OK: GET https://127.0.0.1:36849/core/v4/labels?T" /client userID=2d0ad471-6457-4ad3-a264-017943a2648c time="2026-09-17T09:48:33Z" msg="Setting labels" labelIDs="[8 9 2 3 6 7 10 12 0 1 4 5]" time="2026-09-17T09:48:33Z" msg="Adding user to imap server" addrID=5a452710-1def-4299-9acf-37b5d7e5d80a time="2026-09-17T09:48:33Z" msg="Creating new IMAP user" addrID=5a452710-1def-4299-9acf-37b5d7e5d80a time="2026-09-17T09:48:33Z" msg="Setting gluon ID" addrID=5a452710-1def-4299-9acf-37b5d7e5d80a gluonID=c0bfeb02-89b5-4d28-a575-2d69ef1d3d1f userID=2d0ad471-6457-4ad3-a264-017943a2648c time="2026-09-17T09:48:33Z" msg="Received mailbox message count" gluonID=c0bfeb02-89b5-4d28-a575-2d69ef1d3d1f labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:48:33Z" msg="Created new IMAP user" addrID=5a452710-1def-4299-9acf-37b5d7e5d80a gluonID=c0bfeb02-89b5-4d28-a575-2d69ef1d3d1f time="2026-09-17T09:48:33Z" msg="Validating Listener State" time="2026-09-17T09:48:33Z" time="2026-09-17T09:48:33Z" msg="Starting IMAP Service" time="2026-09-17T09:48:33Z" msg="Checking whether logged in user should re-sync. UserID:2d0ad471-6457-4ad3-a264-017943a2648c" userID=2d0ad471-6457-4ad3-a264-017943a2648c And the user logs in with username "84c39159-12d8-47a4-97fe-0aa8cd27cf9d" and password "password" # :1 -> *scenario time="2026-09-17T09:48:33Z" msg="Sync triggered" time="2026-09-17T09:48:33Z" msg="Beginning user sync" start="2026-09-17 09:48:33.147978721 +0000 UTC m=+201.640281017" time="2026-09-17T09:48:33Z" msg="Syncing labels" time="2026-09-17T09:48:33Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=c0bfeb02-89b5-4d28-a575-2d69ef1d3d1f time="2026-09-17T09:48:33Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=c0bfeb02-89b5-4d28-a575-2d69ef1d3d1f time="2026-09-17T09:48:33Z" msg="Mailbox created" /user remoteMailboxID=5 userID=c0bfeb02-89b5-4d28-a575-2d69ef1d3d1f time="2026-09-17T09:48:33Z" msg="Mailbox created" /user remoteMailboxID=8 userID=c0bfeb02-89b5-4d28-a575-2d69ef1d3d1f time="2026-09-17T09:48:33Z" msg="Mailbox created" /user remoteMailboxID=3 userID=c0bfeb02-89b5-4d28-a575-2d69ef1d3d1f time="2026-09-17T09:48:33Z" msg="Mailbox created" /user remoteMailboxID=6 userID=c0bfeb02-89b5-4d28-a575-2d69ef1d3d1f time="2026-09-17T09:48:33Z" msg="Mailbox created" /user remoteMailboxID=7 userID=c0bfeb02-89b5-4d28-a575-2d69ef1d3d1f time="2026-09-17T09:48:33Z" msg="Mailbox created" /user remoteMailboxID=0 userID=c0bfeb02-89b5-4d28-a575-2d69ef1d3d1f time="2026-09-17T09:48:33Z" msg="Mailbox created" /user remoteMailboxID=10 userID=c0bfeb02-89b5-4d28-a575-2d69ef1d3d1f time="2026-09-17T09:48:33Z" msg="Mailbox created" /user remoteMailboxID=12 userID=c0bfeb02-89b5-4d28-a575-2d69ef1d3d1f time="2026-09-17T09:48:33Z" msg="Mailbox created" /user remoteMailboxID=4 userID=c0bfeb02-89b5-4d28-a575-2d69ef1d3d1f time="2026-09-17T09:48:33Z" msg="Synced labels" time="2026-09-17T09:48:33Z" msg="200 OK: GET https://127.0.0.1:36849/mail/v4/messages/count" /client userID=2d0ad471-6457-4ad3-a264-017943a2648c time="2026-09-17T09:48:33Z" msg="Syncing messages" time="2026-09-17T09:48:33Z" msg="Job started" time="2026-09-17T09:48:33Z" msg="200 OK: POST https://127.0.0.1:36849/mail/v4/messages" /client userID=2d0ad471-6457-4ad3-a264-017943a2648c time="2026-09-17T09:48:33Z" msg="Job finished" time="2026-09-17T09:48:33Z" msg="All child jobs completed" sync- time="2026-09-17T09:48:33Z" msg="Synced messages" time="2026-09-17T09:48:33Z" msg="Finished user sync" .939035ms time="2026-09-17T09:48:33Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:48:33Z" msg="Event loop reset" eventID="Ag==" And user "84c39159-12d8-47a4-97fe-0aa8cd27cf9d" finishes syncing # :1 -> *scenario And user "84c39159-12d8-47a4-97fe-0aa8cd27cf9d" connects and authenticates IMAP client "1" # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:48:33Z" msg="200 OK: POST https://127.0.0.1:36849/mail/v4/messages/import" /client userID=2d0ad471-6457-4ad3-a264-017943a2648c time="2026-09-17T09:48:33Z" msg="200 OK: GET https://127.0.0.1:36849/mail/v4/messages/bf0881a8-0c9a-4533-a948-66f98c4d6d5c" /client userID=2d0ad471-6457-4ad3-a264-017943a2648c Scenario: Messages imported with default address as sender are encrypted with the default address key # features/imap/message/import_key.feature:15 When IMAP client "1" appends the following message to "INBOX": # :1 -> *scenario """ From: Bridge Test <[user:user]@[domain]> Date: 01 Jan 1980 00:00:00 +0000 To: Internal Bridge Received: by 2002:0:0:0:0:0:0:0 with SMTP id 0123456789abcdef; Wed, 30 Dec 2020 01:23:45 0000 Subject: Basic text/plain message Content-Type: text/plain Hello """ Then it succeeds # :1 -> *scenario time="2026-09-17T09:48:33Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 6} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:48:33Z" msg="Frontend service stopped" time="2026-09-17T09:48:33Z" msg="Frontend client stopped" time="2026-09-17T09:48:33Z" msg="Closing bridge" time="2026-09-17T09:48:33Z" msg="Stopping service" time="2026-09-17T09:48:33Z" msg="Closing user" userID=2d0ad471-6457-4ad3-a264-017943a2648c time="2026-09-17T09:48:33Z" msg="De-registering user client, ID:2d0ad471-6457-4ad3-a264-017943a2648c" time="2026-09-17T09:48:33Z" msg="Exiting IMAP Service" time="2026-09-17T09:48:33Z" msg="Exiting service main loop" time="2026-09-17T09:48:33Z" msg="Exiting service main loop" time="2026-09-17T09:48:33Z" msg="Exiting Service" time="2026-09-17T09:48:33Z" msg="Exiting service main loop" time="2026-09-17T09:48:33Z" msg="Exiting service" time="2026-09-17T09:48:33Z" msg="Closing IMAP Listener" time="2026-09-17T09:48:33Z" msg="Closing IMAP server" time="2026-09-17T09:48:33Z" msg="Closing SMTP Listener" time="2026-09-17T09:48:33Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:48:33Z" msg="Closing SMTP server" time="2026-09-17T09:48:33Z" msg="Closing service" And the key for address "84c39159-12d8-47a4-97fe-0aa8cd27cf9d@proton.local" was used to import # :1 -> *scenario time="2026-09-17T09:48:33Z" msg="User '14c9db1c-00d4-4df8-b645-4bfb6eef6195' created with " /server/backend time="2026-09-17T09:48:35Z" msg="Starting bridge" time="2026-09-17T09:48:35Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/107/config950326228/grpcFocusServerConfig.json /service time="2026-09-17T09:48:35Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/107/cache3331591157/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:48:35Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/107/cache3331591157/notifications/notification_cache: no such file or directory" time="2026-09-17T09:48:35Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/107/data1895364644/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/107/data1895364644/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:48:35Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:48:35Z" msg="Starting IMAP server" time="2026-09-17T09:48:35Z" msg="Starting SMTP server" time="2026-09-17T09:48:35Z" msg="Starting service" time="2026-09-17T09:48:35Z" msg="Starting service" time="2026-09-17T09:48:35Z" msg="Starting frontend service" time="2026-09-17T09:48:35Z" msg="Starting receiver service" time="2026-09-17T09:48:35Z" msg="Starting poll service" time="2026-09-17T09:48:35Z" msg="Loading users" /user time="2026-09-17T09:48:35Z" msg="Finished loading users" /user time="2026-09-17T09:48:35Z" msg="Checking for updates" time="2026-09-17T09:48:35Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/107/config950326228/grpcServerConfig.json time="2026-09-17T09:48:35Z" msg="gRPC server listening on /tmp/bridge6140" time="2026-09-17T09:48:35Z" msg="Frontend service started" time="2026-09-17T09:48:35Z" msg="Starting frontend client" time="2026-09-17T09:48:35Z" msg="Not monitoring parent PID" time="2026-09-17T09:48:35Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:48:35Z" msg="Frontend client started" time="2026-09-17T09:48:35Z" msg="Performing full user login" /user username="******** (b4b68c04)" time="2026-09-17T09:48:35Z" msg="Authorizing user for login" /user username="******** (b4b68c04)" time="2026-09-17T09:48:35Z" msg="200 OK: GET https://127.0.0.1:37543/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:48:35Z" msg="200 OK: POST https://127.0.0.1:37543/auth/v4/info" /manager time="2026-09-17T09:48:35Z" msg="200 OK: POST https://127.0.0.1:37543/auth/v4" /manager time="2026-09-17T09:48:35Z" msg="Logging in authorized user" /user userID=6c02f8f5-92bf-4eb4-835f-56be92efc251 time="2026-09-17T09:48:35Z" msg="Adding vault user" userID=6c02f8f5-92bf-4eb4-835f-56be92efc251 time="2026-09-17T09:48:35Z" msg="Creating new user" userID=6c02f8f5-92bf-4eb4-835f-56be92efc251 time="2026-09-17T09:48:35Z" msg="404 GET https://127.0.0.1:37543/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:48:35Z" msg="404 GET https://127.0.0.1:37543/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:48:35Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:37543/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:48:35Z" msg="Creating user object" authUID=cc2646ef-9dc0-4101-b2c7-63b310089411 numA numL userID=6c02f8f5-92bf-4eb4-835f-56be92efc251 time="2026-09-17T09:48:35Z" msg="200 OK: GET https://127.0.0.1:37543/core/v4/events/latest" /client userID=6c02f8f5-92bf-4eb4-835f-56be92efc251 time="2026-09-17T09:48:35Z" msg="Starting service Last EventID=Ag==" time="2026-09-17T09:48:35Z" msg="200 OK: GET https://127.0.0.1:37543/core/v4/settings" /client userID=6c02f8f5-92bf-4eb4-835f-56be92efc251 time="2026-09-17T09:48:35Z" msg="Registering user client, ID:6c02f8f5-92bf-4eb4-835f-56be92efc251" time="2026-09-17T09:48:35Z" msg="Starting user identity service" numA time="2026-09-17T09:48:35Z" msg="Starting service main loop" time="2026-09-17T09:48:35Z" msg="Starting service main loop" time="2026-09-17T09:48:35Z" msg="Starting service main loop" time="2026-09-17T09:48:35Z" msg="200 OK: GET https://127.0.0.1:37543/core/v4/labels?T" /client userID=6c02f8f5-92bf-4eb4-835f-56be92efc251 time="2026-09-17T09:48:35Z" msg="200 OK: GET https://127.0.0.1:37543/core/v4/labels?T" /client userID=6c02f8f5-92bf-4eb4-835f-56be92efc251 time="2026-09-17T09:48:35Z" msg="200 OK: GET https://127.0.0.1:37543/core/v4/labels?T" /client userID=6c02f8f5-92bf-4eb4-835f-56be92efc251 time="2026-09-17T09:48:35Z" msg="Setting labels" labelIDs="[7 0 3 8 9 10 12 1 2 4 5 6]" time="2026-09-17T09:48:35Z" msg="Adding user to imap server" addrID=48865ed2-423c-46e5-8b8d-249939cc4371 time="2026-09-17T09:48:35Z" msg="Creating new IMAP user" addrID=48865ed2-423c-46e5-8b8d-249939cc4371 time="2026-09-17T09:48:35Z" msg="Setting gluon ID" addrID=48865ed2-423c-46e5-8b8d-249939cc4371 gluonID=822b4d1f-3ad7-49cb-8660-d12811e0b0f5 userID=6c02f8f5-92bf-4eb4-835f-56be92efc251 time="2026-09-17T09:48:35Z" msg="Received mailbox message count" gluonID=822b4d1f-3ad7-49cb-8660-d12811e0b0f5 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:48:35Z" msg="Created new IMAP user" addrID=48865ed2-423c-46e5-8b8d-249939cc4371 gluonID=822b4d1f-3ad7-49cb-8660-d12811e0b0f5 time="2026-09-17T09:48:35Z" msg="Validating Listener State" time="2026-09-17T09:48:35Z" time="2026-09-17T09:48:35Z" msg="Starting IMAP Service" time="2026-09-17T09:48:35Z" msg="Checking whether logged in user should re-sync. UserID:6c02f8f5-92bf-4eb4-835f-56be92efc251" userID=6c02f8f5-92bf-4eb4-835f-56be92efc251 time="2026-09-17T09:48:35Z" msg="Sync triggered" time="2026-09-17T09:48:35Z" msg="Beginning user sync" start="2026-09-17 09:48:35.599117564 +0000 UTC m=+204.091419860" time="2026-09-17T09:48:35Z" msg="Syncing labels" time="2026-09-17T09:48:35Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=822b4d1f-3ad7-49cb-8660-d12811e0b0f5 time="2026-09-17T09:48:35Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=822b4d1f-3ad7-49cb-8660-d12811e0b0f5 time="2026-09-17T09:48:35Z" msg="Mailbox created" /user remoteMailboxID=4 userID=822b4d1f-3ad7-49cb-8660-d12811e0b0f5 time="2026-09-17T09:48:35Z" msg="Mailbox created" /user remoteMailboxID=6 userID=822b4d1f-3ad7-49cb-8660-d12811e0b0f5 time="2026-09-17T09:48:35Z" msg="Mailbox created" /user remoteMailboxID=7 userID=822b4d1f-3ad7-49cb-8660-d12811e0b0f5 time="2026-09-17T09:48:35Z" msg="Mailbox created" /user remoteMailboxID=0 userID=822b4d1f-3ad7-49cb-8660-d12811e0b0f5 time="2026-09-17T09:48:35Z" msg="Mailbox created" /user remoteMailboxID=3 userID=822b4d1f-3ad7-49cb-8660-d12811e0b0f5 time="2026-09-17T09:48:35Z" msg="Mailbox created" /user remoteMailboxID=10 userID=822b4d1f-3ad7-49cb-8660-d12811e0b0f5 time="2026-09-17T09:48:35Z" msg="Mailbox created" /user remoteMailboxID=12 userID=822b4d1f-3ad7-49cb-8660-d12811e0b0f5 time="2026-09-17T09:48:35Z" msg="Mailbox created" /user remoteMailboxID=5 userID=822b4d1f-3ad7-49cb-8660-d12811e0b0f5 time="2026-09-17T09:48:35Z" msg="Mailbox created" /user remoteMailboxID=8 userID=822b4d1f-3ad7-49cb-8660-d12811e0b0f5 time="2026-09-17T09:48:35Z" msg="Synced labels" time="2026-09-17T09:48:35Z" msg="200 OK: GET https://127.0.0.1:37543/mail/v4/messages/count" /client userID=6c02f8f5-92bf-4eb4-835f-56be92efc251 time="2026-09-17T09:48:35Z" msg="Syncing messages" time="2026-09-17T09:48:35Z" msg="Job started" time="2026-09-17T09:48:35Z" msg="200 OK: POST https://127.0.0.1:37543/mail/v4/messages" /client userID=6c02f8f5-92bf-4eb4-835f-56be92efc251 time="2026-09-17T09:48:35Z" msg="Job finished" time="2026-09-17T09:48:35Z" msg="All child jobs completed" sync- time="2026-09-17T09:48:35Z" msg="Synced messages" time="2026-09-17T09:48:35Z" msg="Finished user sync" .425113ms time="2026-09-17T09:48:35Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:48:35Z" msg="Event loop reset" eventID="Ag==" time="2026-09-17T09:48:35Z" msg="200 OK: POST https://127.0.0.1:37543/mail/v4/messages/import" /client userID=6c02f8f5-92bf-4eb4-835f-56be92efc251 time="2026-09-17T09:48:35Z" msg="200 OK: GET https://127.0.0.1:37543/mail/v4/messages/1260ec4b-d522-4292-b995-158b3221b528" /client userID=6c02f8f5-92bf-4eb4-835f-56be92efc251 Scenario: Messages imported with alias as sender are encrypted with secondary address key # features/imap/message/import_key.feature:31 When IMAP client "1" appends the following message to "INBOX": # :1 -> *scenario """ From: Bridge Test <[alias:secondary]@[domain]> Date: 01 Jan 1980 00:00:00 +0000 To: Internal Bridge Received: by 2002:0:0:0:0:0:0:0 with SMTP id 0123456789abcdef; Wed, 30 Dec 2020 01:23:45 0000 Subject: Basic text/plain message Content-Type: text/plain Hello """ Then it succeeds # :1 -> *scenario time="2026-09-17T09:48:35Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 4} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:48:36Z" msg="Frontend service stopped" time="2026-09-17T09:48:36Z" msg="Frontend client stopped" time="2026-09-17T09:48:36Z" msg="Closing bridge" time="2026-09-17T09:48:36Z" msg="Stopping service" time="2026-09-17T09:48:36Z" msg="Closing user" userID=6c02f8f5-92bf-4eb4-835f-56be92efc251 time="2026-09-17T09:48:36Z" msg="De-registering user client, ID:6c02f8f5-92bf-4eb4-835f-56be92efc251" time="2026-09-17T09:48:36Z" msg="Exiting IMAP Service" time="2026-09-17T09:48:36Z" msg="Exiting service main loop" time="2026-09-17T09:48:36Z" msg="Exiting service main loop" time="2026-09-17T09:48:36Z" msg="Exiting Service" time="2026-09-17T09:48:36Z" msg="Exiting service main loop" time="2026-09-17T09:48:36Z" msg="Exiting service" time="2026-09-17T09:48:36Z" msg="Closing IMAP Listener" time="2026-09-17T09:48:36Z" msg="Closing IMAP server" time="2026-09-17T09:48:36Z" msg="Closing SMTP Listener" time="2026-09-17T09:48:36Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:48:36Z" msg="Closing SMTP server" time="2026-09-17T09:48:36Z" msg="Closing service" And the key for address "8ad8f5a4-6a42-4ffc-a406-037b2ba502ec@proton.local" was used to import # :1 -> *scenario time="2026-09-17T09:48:36Z" msg="User '862ffba0-d1d3-413f-997a-336e5b19ac2d' created with " /server/backend time="2026-09-17T09:48:37Z" msg="Starting bridge" time="2026-09-17T09:48:37Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/108/config2600594662/grpcFocusServerConfig.json /service time="2026-09-17T09:48:37Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/108/cache2957198111/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:48:37Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/108/cache2957198111/notifications/notification_cache: no such file or directory" time="2026-09-17T09:48:37Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/108/data4021828631/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/108/data4021828631/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:48:37Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:48:37Z" msg="Starting IMAP server" time="2026-09-17T09:48:37Z" msg="Starting SMTP server" time="2026-09-17T09:48:37Z" msg="Starting service" time="2026-09-17T09:48:37Z" msg="Starting service" time="2026-09-17T09:48:37Z" msg="Starting receiver service" time="2026-09-17T09:48:37Z" msg="Starting frontend service" time="2026-09-17T09:48:37Z" msg="Starting poll service" time="2026-09-17T09:48:37Z" msg="Loading users" /user time="2026-09-17T09:48:37Z" msg="Finished loading users" /user time="2026-09-17T09:48:37Z" msg="Checking for updates" time="2026-09-17T09:48:37Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/108/config2600594662/grpcServerConfig.json time="2026-09-17T09:48:37Z" msg="gRPC server listening on /tmp/bridge3156" time="2026-09-17T09:48:37Z" msg="Frontend service started" time="2026-09-17T09:48:37Z" msg="Starting frontend client" time="2026-09-17T09:48:37Z" msg="Not monitoring parent PID" time="2026-09-17T09:48:37Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:48:37Z" msg="200 OK: GET https://127.0.0.1:33721/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:48:37Z" msg="Frontend client started" time="2026-09-17T09:48:37Z" msg="Performing full user login" /user username="******** (7af3dbf9)" time="2026-09-17T09:48:37Z" msg="Authorizing user for login" /user username="******** (7af3dbf9)" time="2026-09-17T09:48:37Z" msg="200 OK: POST https://127.0.0.1:33721/auth/v4/info" /manager time="2026-09-17T09:48:37Z" msg="200 OK: POST https://127.0.0.1:33721/auth/v4" /manager time="2026-09-17T09:48:37Z" msg="Logging in authorized user" /user userID=696b2093-58eb-43ab-8a4c-78a19139a1e4 time="2026-09-17T09:48:38Z" msg="Adding vault user" userID=696b2093-58eb-43ab-8a4c-78a19139a1e4 time="2026-09-17T09:48:38Z" msg="Creating new user" userID=696b2093-58eb-43ab-8a4c-78a19139a1e4 time="2026-09-17T09:48:38Z" msg="404 GET https://127.0.0.1:33721/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:48:38Z" msg="404 GET https://127.0.0.1:33721/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:48:38Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:33721/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:48:38Z" msg="Creating user object" authUID=6361e93a-04ed-4923-888e-4ff073ec7ed1 numA numL userID=696b2093-58eb-43ab-8a4c-78a19139a1e4 time="2026-09-17T09:48:38Z" msg="200 OK: GET https://127.0.0.1:33721/core/v4/events/latest" /client userID=696b2093-58eb-43ab-8a4c-78a19139a1e4 time="2026-09-17T09:48:38Z" msg="Starting service Last EventID=Ag==" time="2026-09-17T09:48:38Z" msg="200 OK: GET https://127.0.0.1:33721/core/v4/settings" /client userID=696b2093-58eb-43ab-8a4c-78a19139a1e4 time="2026-09-17T09:48:38Z" msg="Registering user client, ID:696b2093-58eb-43ab-8a4c-78a19139a1e4" time="2026-09-17T09:48:38Z" msg="Starting user identity service" numA time="2026-09-17T09:48:38Z" msg="Starting service main loop" time="2026-09-17T09:48:38Z" msg="Starting service main loop" time="2026-09-17T09:48:38Z" msg="Starting service main loop" time="2026-09-17T09:48:38Z" msg="200 OK: GET https://127.0.0.1:33721/core/v4/labels?T" /client userID=696b2093-58eb-43ab-8a4c-78a19139a1e4 time="2026-09-17T09:48:38Z" msg="200 OK: GET https://127.0.0.1:33721/core/v4/labels?T" /client userID=696b2093-58eb-43ab-8a4c-78a19139a1e4 time="2026-09-17T09:48:38Z" msg="200 OK: GET https://127.0.0.1:33721/core/v4/labels?T" /client userID=696b2093-58eb-43ab-8a4c-78a19139a1e4 time="2026-09-17T09:48:38Z" msg="Setting labels" labelIDs="[6 8 9 10 1 4 7 12 0 2 3 5]" time="2026-09-17T09:48:38Z" msg="Adding user to imap server" addrID=1091692b-f992-424d-a631-462bdb16256a time="2026-09-17T09:48:38Z" msg="Creating new IMAP user" addrID=1091692b-f992-424d-a631-462bdb16256a time="2026-09-17T09:48:38Z" msg="Setting gluon ID" addrID=1091692b-f992-424d-a631-462bdb16256a gluonID=d28eac10-48e4-4e92-85cb-0b026836ed6d userID=696b2093-58eb-43ab-8a4c-78a19139a1e4 time="2026-09-17T09:48:38Z" msg="Received mailbox message count" gluonID=d28eac10-48e4-4e92-85cb-0b026836ed6d labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:48:38Z" msg="Created new IMAP user" addrID=1091692b-f992-424d-a631-462bdb16256a gluonID=d28eac10-48e4-4e92-85cb-0b026836ed6d time="2026-09-17T09:48:38Z" msg="Validating Listener State" time="2026-09-17T09:48:38Z" time="2026-09-17T09:48:38Z" msg="Starting IMAP Service" time="2026-09-17T09:48:38Z" msg="Checking whether logged in user should re-sync. UserID:696b2093-58eb-43ab-8a4c-78a19139a1e4" userID=696b2093-58eb-43ab-8a4c-78a19139a1e4 time="2026-09-17T09:48:38Z" msg="Sync triggered" time="2026-09-17T09:48:38Z" msg="Beginning user sync" start="2026-09-17 09:48:38.055052909 +0000 UTC m=+206.547355205" time="2026-09-17T09:48:38Z" msg="Syncing labels" time="2026-09-17T09:48:38Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=d28eac10-48e4-4e92-85cb-0b026836ed6d time="2026-09-17T09:48:38Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=d28eac10-48e4-4e92-85cb-0b026836ed6d time="2026-09-17T09:48:38Z" msg="Mailbox created" /user remoteMailboxID=0 userID=d28eac10-48e4-4e92-85cb-0b026836ed6d time="2026-09-17T09:48:38Z" msg="Mailbox created" /user remoteMailboxID=3 userID=d28eac10-48e4-4e92-85cb-0b026836ed6d time="2026-09-17T09:48:38Z" msg="Mailbox created" /user remoteMailboxID=10 userID=d28eac10-48e4-4e92-85cb-0b026836ed6d time="2026-09-17T09:48:38Z" msg="Mailbox created" /user remoteMailboxID=4 userID=d28eac10-48e4-4e92-85cb-0b026836ed6d time="2026-09-17T09:48:38Z" msg="Mailbox created" /user remoteMailboxID=7 userID=d28eac10-48e4-4e92-85cb-0b026836ed6d time="2026-09-17T09:48:38Z" msg="Mailbox created" /user remoteMailboxID=12 userID=d28eac10-48e4-4e92-85cb-0b026836ed6d time="2026-09-17T09:48:38Z" msg="Mailbox created" /user remoteMailboxID=5 userID=d28eac10-48e4-4e92-85cb-0b026836ed6d time="2026-09-17T09:48:38Z" msg="Mailbox created" /user remoteMailboxID=6 userID=d28eac10-48e4-4e92-85cb-0b026836ed6d time="2026-09-17T09:48:38Z" msg="Mailbox created" /user remoteMailboxID=8 userID=d28eac10-48e4-4e92-85cb-0b026836ed6d time="2026-09-17T09:48:38Z" msg="Synced labels" time="2026-09-17T09:48:38Z" msg="200 OK: GET https://127.0.0.1:33721/mail/v4/messages/count" /client userID=696b2093-58eb-43ab-8a4c-78a19139a1e4 time="2026-09-17T09:48:38Z" msg="Syncing messages" time="2026-09-17T09:48:38Z" msg="Job started" time="2026-09-17T09:48:38Z" msg="200 OK: POST https://127.0.0.1:33721/mail/v4/messages" /client userID=696b2093-58eb-43ab-8a4c-78a19139a1e4 time="2026-09-17T09:48:38Z" msg="Job finished" time="2026-09-17T09:48:38Z" msg="All child jobs completed" sync- time="2026-09-17T09:48:38Z" msg="Synced messages" time="2026-09-17T09:48:38Z" msg="Finished user sync" .409393ms time="2026-09-17T09:48:38Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:48:38Z" msg="Event loop reset" eventID="Ag==" time="2026-09-17T09:48:38Z" msg="200 OK: POST https://127.0.0.1:33721/mail/v4/messages/import" /client userID=696b2093-58eb-43ab-8a4c-78a19139a1e4 time="2026-09-17T09:48:38Z" msg="200 OK: GET https://127.0.0.1:33721/mail/v4/messages/19ae4d97-9821-4211-89ee-4e14306e2875" /client userID=696b2093-58eb-43ab-8a4c-78a19139a1e4 Scenario: Messages imported with a disabled alias as sender are encrypted with the disabled address key # features/imap/message/import_key.feature:47 When IMAP client "1" appends the following message to "INBOX": # :1 -> *scenario """ From: Bridge Test <[alias:disabled]@[domain]> Date: 01 Jan 1980 00:00:00 +0000 To: Internal Bridge Received: by 2002:0:0:0:0:0:0:0 with SMTP id 0123456789abcdef; Wed, 30 Dec 2020 01:23:45 0000 Subject: Basic text/plain message Content-Type: text/plain Hello """ Then it succeeds # :1 -> *scenario time="2026-09-17T09:48:38Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 7} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:48:38Z" msg="Frontend service stopped" time="2026-09-17T09:48:38Z" msg="Frontend client stopped" time="2026-09-17T09:48:38Z" msg="Closing bridge" time="2026-09-17T09:48:38Z" msg="Stopping service" time="2026-09-17T09:48:38Z" msg="Closing user" userID=696b2093-58eb-43ab-8a4c-78a19139a1e4 time="2026-09-17T09:48:38Z" msg="De-registering user client, ID:696b2093-58eb-43ab-8a4c-78a19139a1e4" time="2026-09-17T09:48:38Z" msg="Exiting IMAP Service" time="2026-09-17T09:48:38Z" msg="Exiting service main loop" time="2026-09-17T09:48:38Z" msg="Exiting service main loop" time="2026-09-17T09:48:38Z" msg="Exiting Service" time="2026-09-17T09:48:38Z" msg="Exiting service main loop" time="2026-09-17T09:48:38Z" msg="Exiting service" time="2026-09-17T09:48:38Z" msg="Closing IMAP Listener" time="2026-09-17T09:48:38Z" msg="Closing IMAP server" time="2026-09-17T09:48:38Z" msg="Closing SMTP Listener" time="2026-09-17T09:48:38Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:48:38Z" msg="Closing SMTP server" time="2026-09-17T09:48:38Z" msg="Closing service" And the key for address "5872a6e8-4436-41e2-973d-f46cc38e5b85@proton.local" was used to import # :1 -> *scenario time="2026-09-17T09:48:38Z" msg="User 'e24609eb-487b-4325-a91a-0b36da5b2008' created with " /server/backend time="2026-09-17T09:48:40Z" msg="Starting bridge" time="2026-09-17T09:48:40Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/109/config3673592273/grpcFocusServerConfig.json /service time="2026-09-17T09:48:40Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/109/cache330395683/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:48:40Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/109/cache330395683/notifications/notification_cache: no such file or directory" time="2026-09-17T09:48:40Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/109/data3570397515/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/109/data3570397515/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:48:40Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:48:40Z" msg="Starting IMAP server" time="2026-09-17T09:48:40Z" msg="Starting SMTP server" time="2026-09-17T09:48:40Z" msg="Starting service" time="2026-09-17T09:48:40Z" msg="Starting service" time="2026-09-17T09:48:40Z" msg="Starting frontend service" time="2026-09-17T09:48:40Z" msg="Starting poll service" time="2026-09-17T09:48:40Z" msg="Loading users" /user time="2026-09-17T09:48:40Z" msg="Finished loading users" /user time="2026-09-17T09:48:40Z" msg="Starting receiver service" time="2026-09-17T09:48:40Z" msg="Checking for updates" time="2026-09-17T09:48:40Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/109/config3673592273/grpcServerConfig.json time="2026-09-17T09:48:40Z" msg="gRPC server listening on /tmp/bridge4788" time="2026-09-17T09:48:40Z" msg="Frontend service started" time="2026-09-17T09:48:40Z" msg="Starting frontend client" time="2026-09-17T09:48:40Z" msg="Not monitoring parent PID" time="2026-09-17T09:48:40Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:48:40Z" msg="Frontend client started" time="2026-09-17T09:48:40Z" msg="Performing full user login" /user username="******** (8358e48b)" time="2026-09-17T09:48:40Z" msg="Authorizing user for login" /user username="******** (8358e48b)" time="2026-09-17T09:48:40Z" msg="200 OK: GET https://127.0.0.1:45449/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:48:40Z" msg="200 OK: POST https://127.0.0.1:45449/auth/v4/info" /manager time="2026-09-17T09:48:40Z" msg="200 OK: POST https://127.0.0.1:45449/auth/v4" /manager time="2026-09-17T09:48:40Z" msg="Logging in authorized user" /user userID=b7bb3512-75af-4e36-af54-689872fa1577 time="2026-09-17T09:48:40Z" msg="Adding vault user" userID=b7bb3512-75af-4e36-af54-689872fa1577 time="2026-09-17T09:48:40Z" msg="Creating new user" userID=b7bb3512-75af-4e36-af54-689872fa1577 time="2026-09-17T09:48:40Z" msg="404 GET https://127.0.0.1:45449/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:48:40Z" msg="404 GET https://127.0.0.1:45449/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:48:40Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:45449/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:48:40Z" msg="Creating user object" authUID=9b869a3d-21a6-4f1a-b94f-1036883f2f44 numA numL userID=b7bb3512-75af-4e36-af54-689872fa1577 time="2026-09-17T09:48:40Z" msg="200 OK: GET https://127.0.0.1:45449/core/v4/events/latest" /client userID=b7bb3512-75af-4e36-af54-689872fa1577 time="2026-09-17T09:48:40Z" msg="Starting service Last EventID=Ag==" time="2026-09-17T09:48:40Z" msg="200 OK: GET https://127.0.0.1:45449/core/v4/settings" /client userID=b7bb3512-75af-4e36-af54-689872fa1577 time="2026-09-17T09:48:40Z" msg="Registering user client, ID:b7bb3512-75af-4e36-af54-689872fa1577" time="2026-09-17T09:48:40Z" msg="Starting user identity service" numA time="2026-09-17T09:48:40Z" msg="Starting service main loop" time="2026-09-17T09:48:40Z" msg="Starting service main loop" time="2026-09-17T09:48:40Z" msg="Starting service main loop" time="2026-09-17T09:48:40Z" msg="200 OK: GET https://127.0.0.1:45449/core/v4/labels?T" /client userID=b7bb3512-75af-4e36-af54-689872fa1577 time="2026-09-17T09:48:40Z" msg="200 OK: GET https://127.0.0.1:45449/core/v4/labels?T" /client userID=b7bb3512-75af-4e36-af54-689872fa1577 time="2026-09-17T09:48:40Z" msg="200 OK: GET https://127.0.0.1:45449/core/v4/labels?T" /client userID=b7bb3512-75af-4e36-af54-689872fa1577 time="2026-09-17T09:48:40Z" msg="Setting labels" labelIDs="[12 4 5 6 8 9 0 1 2 3 7 10]" time="2026-09-17T09:48:40Z" msg="Adding user to imap server" addrID=187ee044-d4a6-4645-b177-ca218bd150e5 time="2026-09-17T09:48:40Z" msg="Creating new IMAP user" addrID=187ee044-d4a6-4645-b177-ca218bd150e5 time="2026-09-17T09:48:40Z" msg="Setting gluon ID" addrID=187ee044-d4a6-4645-b177-ca218bd150e5 gluonID=c8ad2d66-f72e-494b-a4eb-7402fd29122c userID=b7bb3512-75af-4e36-af54-689872fa1577 time="2026-09-17T09:48:40Z" msg="Received mailbox message count" gluonID=c8ad2d66-f72e-494b-a4eb-7402fd29122c labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:48:40Z" msg="Created new IMAP user" addrID=187ee044-d4a6-4645-b177-ca218bd150e5 gluonID=c8ad2d66-f72e-494b-a4eb-7402fd29122c time="2026-09-17T09:48:40Z" msg="Validating Listener State" time="2026-09-17T09:48:40Z" time="2026-09-17T09:48:40Z" msg="Checking whether logged in user should re-sync. UserID:b7bb3512-75af-4e36-af54-689872fa1577" userID=b7bb3512-75af-4e36-af54-689872fa1577 time="2026-09-17T09:48:40Z" msg="Starting IMAP Service" time="2026-09-17T09:48:40Z" msg="Sync triggered" time="2026-09-17T09:48:40Z" msg="Beginning user sync" start="2026-09-17 09:48:40.52302647 +0000 UTC m=+209.015328766" time="2026-09-17T09:48:40Z" msg="Syncing labels" time="2026-09-17T09:48:40Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=c8ad2d66-f72e-494b-a4eb-7402fd29122c time="2026-09-17T09:48:40Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=c8ad2d66-f72e-494b-a4eb-7402fd29122c time="2026-09-17T09:48:40Z" msg="Mailbox created" /user remoteMailboxID=4 userID=c8ad2d66-f72e-494b-a4eb-7402fd29122c time="2026-09-17T09:48:40Z" msg="Mailbox created" /user remoteMailboxID=5 userID=c8ad2d66-f72e-494b-a4eb-7402fd29122c time="2026-09-17T09:48:40Z" msg="Mailbox created" /user remoteMailboxID=6 userID=c8ad2d66-f72e-494b-a4eb-7402fd29122c time="2026-09-17T09:48:40Z" msg="Mailbox created" /user remoteMailboxID=0 userID=c8ad2d66-f72e-494b-a4eb-7402fd29122c time="2026-09-17T09:48:40Z" msg="Mailbox created" /user remoteMailboxID=12 userID=c8ad2d66-f72e-494b-a4eb-7402fd29122c time="2026-09-17T09:48:40Z" msg="Mailbox created" /user remoteMailboxID=8 userID=c8ad2d66-f72e-494b-a4eb-7402fd29122c time="2026-09-17T09:48:40Z" msg="Mailbox created" /user remoteMailboxID=3 userID=c8ad2d66-f72e-494b-a4eb-7402fd29122c time="2026-09-17T09:48:40Z" msg="Mailbox created" /user remoteMailboxID=7 userID=c8ad2d66-f72e-494b-a4eb-7402fd29122c time="2026-09-17T09:48:40Z" msg="Mailbox created" /user remoteMailboxID=10 userID=c8ad2d66-f72e-494b-a4eb-7402fd29122c time="2026-09-17T09:48:40Z" msg="Synced labels" time="2026-09-17T09:48:40Z" msg="200 OK: GET https://127.0.0.1:45449/mail/v4/messages/count" /client userID=b7bb3512-75af-4e36-af54-689872fa1577 time="2026-09-17T09:48:40Z" msg="Syncing messages" time="2026-09-17T09:48:40Z" msg="Job started" time="2026-09-17T09:48:40Z" msg="200 OK: POST https://127.0.0.1:45449/mail/v4/messages" /client userID=b7bb3512-75af-4e36-af54-689872fa1577 time="2026-09-17T09:48:40Z" msg="Job finished" time="2026-09-17T09:48:40Z" msg="All child jobs completed" sync- time="2026-09-17T09:48:40Z" msg="Synced messages" time="2026-09-17T09:48:40Z" msg="Finished user sync" .438397ms time="2026-09-17T09:48:40Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:48:40Z" msg="Event loop reset" eventID="Ag==" time="2026-09-17T09:48:40Z" msg="200 OK: POST https://127.0.0.1:45449/mail/v4/messages/import" /client userID=b7bb3512-75af-4e36-af54-689872fa1577 time="2026-09-17T09:48:40Z" msg="200 OK: GET https://127.0.0.1:45449/mail/v4/messages/7c147b52-ecb1-4117-9b7f-c9a9e0c69ddd" /client userID=b7bb3512-75af-4e36-af54-689872fa1577 Scenario: Messages imported with an unknown address as sender are encrypted with primary address key # features/imap/message/import_key.feature:63 When IMAP client "1" appends the following message to "INBOX": # :1 -> *scenario """ From: Bridge Test Date: 01 Jan 1980 00:00:00 +0000 To: Internal Bridge Received: by 2002:0:0:0:0:0:0:0 with SMTP id 0123456789abcdef; Wed, 30 Dec 2020 01:23:45 0000 Subject: Basic text/plain message Content-Type: text/plain Hello """ Then it succeeds # :1 -> *scenario time="2026-09-17T09:48:40Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 2} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:48:40Z" msg="Frontend service stopped" time="2026-09-17T09:48:40Z" msg="Frontend client stopped" time="2026-09-17T09:48:40Z" msg="Closing bridge" time="2026-09-17T09:48:40Z" msg="Stopping service" time="2026-09-17T09:48:40Z" msg="Closing user" userID=b7bb3512-75af-4e36-af54-689872fa1577 time="2026-09-17T09:48:40Z" msg="De-registering user client, ID:b7bb3512-75af-4e36-af54-689872fa1577" time="2026-09-17T09:48:40Z" msg="Exiting IMAP Service" time="2026-09-17T09:48:40Z" msg="Exiting service main loop" time="2026-09-17T09:48:40Z" msg="Exiting service main loop" time="2026-09-17T09:48:40Z" msg="Exiting Service" time="2026-09-17T09:48:40Z" msg="Exiting service main loop" time="2026-09-17T09:48:40Z" msg="Exiting service" time="2026-09-17T09:48:40Z" msg="Closing IMAP Listener" time="2026-09-17T09:48:40Z" msg="Closing IMAP server" time="2026-09-17T09:48:40Z" msg="Closing SMTP Listener" time="2026-09-17T09:48:40Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:48:40Z" msg="Closing SMTP server" time="2026-09-17T09:48:40Z" msg="Closing service" And the key for address "e24609eb-487b-4325-a91a-0b36da5b2008@proton.local" was used to import # :1 -> *scenario time="2026-09-17T09:48:41Z" msg="User 'aec00471-88bd-4cf3-b153-a1fef6393bee' created with " /server/backend time="2026-09-17T09:48:42Z" msg="Starting bridge" time="2026-09-17T09:48:42Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/110/config3928750322/grpcFocusServerConfig.json /service time="2026-09-17T09:48:42Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/110/cache3553405171/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:48:42Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/110/cache3553405171/notifications/notification_cache: no such file or directory" time="2026-09-17T09:48:42Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/110/data1509374214/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/110/data1509374214/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:48:42Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:48:42Z" msg="Starting IMAP server" time="2026-09-17T09:48:42Z" msg="Starting SMTP server" time="2026-09-17T09:48:42Z" msg="Starting service" time="2026-09-17T09:48:42Z" msg="Starting service" time="2026-09-17T09:48:42Z" msg="Starting frontend service" time="2026-09-17T09:48:42Z" msg="Starting poll service" time="2026-09-17T09:48:42Z" msg="Checking for updates" time="2026-09-17T09:48:42Z" msg="Starting receiver service" time="2026-09-17T09:48:42Z" msg="Loading users" /user time="2026-09-17T09:48:42Z" msg="Finished loading users" /user time="2026-09-17T09:48:42Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/110/config3928750322/grpcServerConfig.json time="2026-09-17T09:48:42Z" msg="gRPC server listening on /tmp/bridge9631" time="2026-09-17T09:48:42Z" msg="Frontend service started" time="2026-09-17T09:48:42Z" msg="Starting frontend client" time="2026-09-17T09:48:42Z" msg="Not monitoring parent PID" time="2026-09-17T09:48:42Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:48:42Z" msg="Frontend client started" time="2026-09-17T09:48:42Z" msg="Performing full user login" /user username="******** (aaf556fe)" time="2026-09-17T09:48:42Z" msg="Authorizing user for login" /user username="******** (aaf556fe)" time="2026-09-17T09:48:42Z" msg="200 OK: GET https://127.0.0.1:43037/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:48:42Z" msg="200 OK: POST https://127.0.0.1:43037/auth/v4/info" /manager time="2026-09-17T09:48:42Z" msg="200 OK: POST https://127.0.0.1:43037/auth/v4" /manager time="2026-09-17T09:48:42Z" msg="Logging in authorized user" /user userID=87493e24-f6ba-49aa-926d-2757d38562f9 time="2026-09-17T09:48:42Z" msg="Adding vault user" userID=87493e24-f6ba-49aa-926d-2757d38562f9 time="2026-09-17T09:48:42Z" msg="Creating new user" userID=87493e24-f6ba-49aa-926d-2757d38562f9 time="2026-09-17T09:48:42Z" msg="404 GET https://127.0.0.1:43037/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:48:42Z" msg="404 GET https://127.0.0.1:43037/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:48:42Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:43037/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:48:42Z" msg="Creating user object" authUID=7e05eed9-4617-4e72-bb92-75f14e7639b7 numA numL userID=87493e24-f6ba-49aa-926d-2757d38562f9 time="2026-09-17T09:48:42Z" msg="200 OK: GET https://127.0.0.1:43037/core/v4/events/latest" /client userID=87493e24-f6ba-49aa-926d-2757d38562f9 time="2026-09-17T09:48:42Z" msg="Starting service Last EventID=Ag==" time="2026-09-17T09:48:42Z" msg="200 OK: GET https://127.0.0.1:43037/core/v4/settings" /client userID=87493e24-f6ba-49aa-926d-2757d38562f9 time="2026-09-17T09:48:42Z" msg="Registering user client, ID:87493e24-f6ba-49aa-926d-2757d38562f9" time="2026-09-17T09:48:42Z" msg="Starting user identity service" numA time="2026-09-17T09:48:42Z" msg="Starting service main loop" time="2026-09-17T09:48:42Z" msg="Starting service main loop" time="2026-09-17T09:48:42Z" msg="Starting service main loop" time="2026-09-17T09:48:42Z" msg="200 OK: GET https://127.0.0.1:43037/core/v4/labels?T" /client userID=87493e24-f6ba-49aa-926d-2757d38562f9 time="2026-09-17T09:48:42Z" msg="200 OK: GET https://127.0.0.1:43037/core/v4/labels?T" /client userID=87493e24-f6ba-49aa-926d-2757d38562f9 time="2026-09-17T09:48:42Z" msg="200 OK: GET https://127.0.0.1:43037/core/v4/labels?T" /client userID=87493e24-f6ba-49aa-926d-2757d38562f9 time="2026-09-17T09:48:42Z" msg="Setting labels" labelIDs="[3 5 6 7 9 12 1 4 8 10 0 2]" time="2026-09-17T09:48:42Z" msg="Adding user to imap server" addrID=5d9d16f5-da64-41c1-9cda-6f409c68d170 time="2026-09-17T09:48:42Z" msg="Creating new IMAP user" addrID=5d9d16f5-da64-41c1-9cda-6f409c68d170 time="2026-09-17T09:48:42Z" msg="Setting gluon ID" addrID=5d9d16f5-da64-41c1-9cda-6f409c68d170 gluonID=351bcddf-1fea-4d9f-9cdb-397e631ca4db userID=87493e24-f6ba-49aa-926d-2757d38562f9 time="2026-09-17T09:48:42Z" msg="Received mailbox message count" gluonID=351bcddf-1fea-4d9f-9cdb-397e631ca4db labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:48:42Z" msg="Created new IMAP user" addrID=5d9d16f5-da64-41c1-9cda-6f409c68d170 gluonID=351bcddf-1fea-4d9f-9cdb-397e631ca4db time="2026-09-17T09:48:42Z" msg="Validating Listener State" time="2026-09-17T09:48:42Z" time="2026-09-17T09:48:42Z" msg="Starting IMAP Service" time="2026-09-17T09:48:42Z" msg="Checking whether logged in user should re-sync. UserID:87493e24-f6ba-49aa-926d-2757d38562f9" userID=87493e24-f6ba-49aa-926d-2757d38562f9 time="2026-09-17T09:48:42Z" msg="Sync triggered" time="2026-09-17T09:48:42Z" msg="Beginning user sync" start="2026-09-17 09:48:42.974546799 +0000 UTC m=+211.466849095" time="2026-09-17T09:48:42Z" msg="Syncing labels" time="2026-09-17T09:48:42Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=351bcddf-1fea-4d9f-9cdb-397e631ca4db time="2026-09-17T09:48:42Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=351bcddf-1fea-4d9f-9cdb-397e631ca4db time="2026-09-17T09:48:42Z" msg="Mailbox created" /user remoteMailboxID=6 userID=351bcddf-1fea-4d9f-9cdb-397e631ca4db time="2026-09-17T09:48:42Z" msg="Mailbox created" /user remoteMailboxID=7 userID=351bcddf-1fea-4d9f-9cdb-397e631ca4db time="2026-09-17T09:48:42Z" msg="Mailbox created" /user remoteMailboxID=0 userID=351bcddf-1fea-4d9f-9cdb-397e631ca4db time="2026-09-17T09:48:42Z" msg="Mailbox created" /user remoteMailboxID=3 userID=351bcddf-1fea-4d9f-9cdb-397e631ca4db time="2026-09-17T09:48:42Z" msg="Mailbox created" /user remoteMailboxID=5 userID=351bcddf-1fea-4d9f-9cdb-397e631ca4db time="2026-09-17T09:48:42Z" msg="Mailbox created" /user remoteMailboxID=12 userID=351bcddf-1fea-4d9f-9cdb-397e631ca4db time="2026-09-17T09:48:42Z" msg="Mailbox created" /user remoteMailboxID=4 userID=351bcddf-1fea-4d9f-9cdb-397e631ca4db time="2026-09-17T09:48:42Z" msg="Mailbox created" /user remoteMailboxID=8 userID=351bcddf-1fea-4d9f-9cdb-397e631ca4db time="2026-09-17T09:48:42Z" msg="Mailbox created" /user remoteMailboxID=10 userID=351bcddf-1fea-4d9f-9cdb-397e631ca4db time="2026-09-17T09:48:42Z" msg="Synced labels" time="2026-09-17T09:48:42Z" msg="200 OK: GET https://127.0.0.1:43037/mail/v4/messages/count" /client userID=87493e24-f6ba-49aa-926d-2757d38562f9 time="2026-09-17T09:48:42Z" msg="Syncing messages" time="2026-09-17T09:48:42Z" msg="Job started" time="2026-09-17T09:48:42Z" msg="200 OK: POST https://127.0.0.1:43037/mail/v4/messages" /client userID=87493e24-f6ba-49aa-926d-2757d38562f9 time="2026-09-17T09:48:42Z" msg="Job finished" time="2026-09-17T09:48:42Z" msg="All child jobs completed" sync- time="2026-09-17T09:48:42Z" msg="Synced messages" time="2026-09-17T09:48:42Z" msg="Finished user sync" .504042ms time="2026-09-17T09:48:42Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:48:42Z" msg="Event loop reset" eventID="Ag==" time="2026-09-17T09:48:43Z" msg="200 OK: POST https://127.0.0.1:43037/mail/v4/messages" /client userID=87493e24-f6ba-49aa-926d-2757d38562f9 time="2026-09-17T09:48:43Z" msg="200 OK: GET https://127.0.0.1:43037/mail/v4/messages/d974991b-6205-44c1-867a-0935695ac5fb" /client userID=87493e24-f6ba-49aa-926d-2757d38562f9 Scenario: Drafts imported with default address as sender are encrypted with the default address key # features/imap/message/import_key.feature:79 When IMAP client "1" appends the following message to "Drafts": # :1 -> *scenario """ From: Bridge Test <[user:user]@[domain]> Date: 01 Jan 1980 00:00:00 +0000 To: Internal Bridge Subject: Basic text/plain message Content-Type: text/plain Hello """ Then it succeeds # :1 -> *scenario time="2026-09-17T09:48:43Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 9} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:48:43Z" msg="Frontend service stopped" time="2026-09-17T09:48:43Z" msg="Frontend client stopped" time="2026-09-17T09:48:43Z" msg="Closing bridge" time="2026-09-17T09:48:43Z" msg="Stopping service" time="2026-09-17T09:48:43Z" msg="Closing user" userID=87493e24-f6ba-49aa-926d-2757d38562f9 time="2026-09-17T09:48:43Z" msg="De-registering user client, ID:87493e24-f6ba-49aa-926d-2757d38562f9" time="2026-09-17T09:48:43Z" msg="Exiting IMAP Service" time="2026-09-17T09:48:43Z" msg="Exiting service main loop" time="2026-09-17T09:48:43Z" msg="Exiting service main loop" time="2026-09-17T09:48:43Z" msg="Exiting Service" time="2026-09-17T09:48:43Z" msg="Exiting service main loop" time="2026-09-17T09:48:43Z" msg="Exiting service" time="2026-09-17T09:48:43Z" msg="Closing IMAP Listener" time="2026-09-17T09:48:43Z" msg="Closing IMAP server" time="2026-09-17T09:48:43Z" msg="Closing SMTP Listener" time="2026-09-17T09:48:43Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:48:43Z" msg="Closing SMTP server" time="2026-09-17T09:48:43Z" msg="Closing service" And the key for address "aec00471-88bd-4cf3-b153-a1fef6393bee@proton.local" was used to create draft # :1 -> *scenario time="2026-09-17T09:48:43Z" msg="User '69c273b0-e97e-4f3a-b5f2-f7edf042deb4' created with " /server/backend time="2026-09-17T09:48:44Z" msg="Starting bridge" time="2026-09-17T09:48:44Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/111/config181601443/grpcFocusServerConfig.json /service time="2026-09-17T09:48:44Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/111/cache1764357259/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:48:44Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/111/cache1764357259/notifications/notification_cache: no such file or directory" time="2026-09-17T09:48:44Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/111/data3462282972/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/111/data3462282972/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:48:44Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:48:44Z" msg="Starting IMAP server" time="2026-09-17T09:48:44Z" msg="Starting SMTP server" time="2026-09-17T09:48:44Z" msg="Starting service" time="2026-09-17T09:48:44Z" msg="Starting service" time="2026-09-17T09:48:44Z" msg="Starting poll service" time="2026-09-17T09:48:44Z" msg="Loading users" /user time="2026-09-17T09:48:44Z" msg="Finished loading users" /user time="2026-09-17T09:48:44Z" msg="Checking for updates" time="2026-09-17T09:48:44Z" msg="Starting receiver service" time="2026-09-17T09:48:44Z" msg="Starting frontend service" time="2026-09-17T09:48:44Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/111/config181601443/grpcServerConfig.json time="2026-09-17T09:48:44Z" msg="gRPC server listening on /tmp/bridge2063" time="2026-09-17T09:48:44Z" msg="Frontend service started" time="2026-09-17T09:48:44Z" msg="Starting frontend client" time="2026-09-17T09:48:44Z" msg="Not monitoring parent PID" time="2026-09-17T09:48:44Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:48:45Z" msg="200 OK: GET https://127.0.0.1:33013/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:48:45Z" msg="Frontend client started" time="2026-09-17T09:48:45Z" msg="Performing full user login" /user username="******** (ba1b6efc)" time="2026-09-17T09:48:45Z" msg="Authorizing user for login" /user username="******** (ba1b6efc)" time="2026-09-17T09:48:45Z" msg="200 OK: POST https://127.0.0.1:33013/auth/v4/info" /manager time="2026-09-17T09:48:45Z" msg="200 OK: POST https://127.0.0.1:33013/auth/v4" /manager time="2026-09-17T09:48:45Z" msg="Logging in authorized user" /user userID=ff5d8ea0-8b8d-473a-9dba-d58a6ffd0d42 time="2026-09-17T09:48:45Z" msg="Adding vault user" userID=ff5d8ea0-8b8d-473a-9dba-d58a6ffd0d42 time="2026-09-17T09:48:45Z" msg="Creating new user" userID=ff5d8ea0-8b8d-473a-9dba-d58a6ffd0d42 time="2026-09-17T09:48:45Z" msg="404 GET https://127.0.0.1:33013/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:48:45Z" msg="404 GET https://127.0.0.1:33013/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:48:45Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:33013/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:48:45Z" msg="Creating user object" authUID=0e2e89af-bedc-4db2-a391-42d0ceaff7d2 numA numL userID=ff5d8ea0-8b8d-473a-9dba-d58a6ffd0d42 time="2026-09-17T09:48:45Z" msg="200 OK: GET https://127.0.0.1:33013/core/v4/events/latest" /client userID=ff5d8ea0-8b8d-473a-9dba-d58a6ffd0d42 time="2026-09-17T09:48:45Z" msg="Starting service Last EventID=Ag==" time="2026-09-17T09:48:45Z" msg="200 OK: GET https://127.0.0.1:33013/core/v4/settings" /client userID=ff5d8ea0-8b8d-473a-9dba-d58a6ffd0d42 time="2026-09-17T09:48:45Z" msg="Registering user client, ID:ff5d8ea0-8b8d-473a-9dba-d58a6ffd0d42" time="2026-09-17T09:48:45Z" msg="Starting user identity service" numA time="2026-09-17T09:48:45Z" msg="Starting service main loop" time="2026-09-17T09:48:45Z" msg="Starting service main loop" time="2026-09-17T09:48:45Z" msg="Starting service main loop" time="2026-09-17T09:48:45Z" msg="200 OK: GET https://127.0.0.1:33013/core/v4/labels?T" /client userID=ff5d8ea0-8b8d-473a-9dba-d58a6ffd0d42 time="2026-09-17T09:48:45Z" msg="200 OK: GET https://127.0.0.1:33013/core/v4/labels?T" /client userID=ff5d8ea0-8b8d-473a-9dba-d58a6ffd0d42 time="2026-09-17T09:48:45Z" msg="200 OK: GET https://127.0.0.1:33013/core/v4/labels?T" /client userID=ff5d8ea0-8b8d-473a-9dba-d58a6ffd0d42 time="2026-09-17T09:48:45Z" msg="Setting labels" labelIDs="[2 5 7 10 12 0 3 4 6 8 9 1]" time="2026-09-17T09:48:45Z" msg="Adding user to imap server" addrID=f8d8e299-c8b8-402f-a8cc-2dd49b84d7e4 time="2026-09-17T09:48:45Z" msg="Creating new IMAP user" addrID=f8d8e299-c8b8-402f-a8cc-2dd49b84d7e4 time="2026-09-17T09:48:45Z" msg="Setting gluon ID" addrID=f8d8e299-c8b8-402f-a8cc-2dd49b84d7e4 gluonID=06500916-5ec0-4c4e-959f-6e38a18323bf userID=ff5d8ea0-8b8d-473a-9dba-d58a6ffd0d42 time="2026-09-17T09:48:45Z" msg="Received mailbox message count" gluonID=06500916-5ec0-4c4e-959f-6e38a18323bf labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:48:45Z" msg="Created new IMAP user" addrID=f8d8e299-c8b8-402f-a8cc-2dd49b84d7e4 gluonID=06500916-5ec0-4c4e-959f-6e38a18323bf time="2026-09-17T09:48:45Z" msg="Validating Listener State" time="2026-09-17T09:48:45Z" time="2026-09-17T09:48:45Z" msg="Starting IMAP Service" time="2026-09-17T09:48:45Z" msg="Checking whether logged in user should re-sync. UserID:ff5d8ea0-8b8d-473a-9dba-d58a6ffd0d42" userID=ff5d8ea0-8b8d-473a-9dba-d58a6ffd0d42 time="2026-09-17T09:48:45Z" msg="Sync triggered" time="2026-09-17T09:48:45Z" msg="Beginning user sync" start="2026-09-17 09:48:45.438048742 +0000 UTC m=+213.930351038" time="2026-09-17T09:48:45Z" msg="Syncing labels" time="2026-09-17T09:48:45Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=06500916-5ec0-4c4e-959f-6e38a18323bf time="2026-09-17T09:48:45Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=06500916-5ec0-4c4e-959f-6e38a18323bf time="2026-09-17T09:48:45Z" msg="Mailbox created" /user remoteMailboxID=10 userID=06500916-5ec0-4c4e-959f-6e38a18323bf time="2026-09-17T09:48:45Z" msg="Mailbox created" /user remoteMailboxID=12 userID=06500916-5ec0-4c4e-959f-6e38a18323bf time="2026-09-17T09:48:45Z" msg="Mailbox created" /user remoteMailboxID=0 userID=06500916-5ec0-4c4e-959f-6e38a18323bf time="2026-09-17T09:48:45Z" msg="Mailbox created" /user remoteMailboxID=3 userID=06500916-5ec0-4c4e-959f-6e38a18323bf time="2026-09-17T09:48:45Z" msg="Mailbox created" /user remoteMailboxID=8 userID=06500916-5ec0-4c4e-959f-6e38a18323bf time="2026-09-17T09:48:45Z" msg="Mailbox created" /user remoteMailboxID=5 userID=06500916-5ec0-4c4e-959f-6e38a18323bf time="2026-09-17T09:48:45Z" msg="Mailbox created" /user remoteMailboxID=7 userID=06500916-5ec0-4c4e-959f-6e38a18323bf time="2026-09-17T09:48:45Z" msg="Mailbox created" /user remoteMailboxID=4 userID=06500916-5ec0-4c4e-959f-6e38a18323bf time="2026-09-17T09:48:45Z" msg="Mailbox created" /user remoteMailboxID=6 userID=06500916-5ec0-4c4e-959f-6e38a18323bf time="2026-09-17T09:48:45Z" msg="Synced labels" time="2026-09-17T09:48:45Z" msg="200 OK: GET https://127.0.0.1:33013/mail/v4/messages/count" /client userID=ff5d8ea0-8b8d-473a-9dba-d58a6ffd0d42 time="2026-09-17T09:48:45Z" msg="Syncing messages" time="2026-09-17T09:48:45Z" msg="Job started" time="2026-09-17T09:48:45Z" msg="200 OK: POST https://127.0.0.1:33013/mail/v4/messages" /client userID=ff5d8ea0-8b8d-473a-9dba-d58a6ffd0d42 time="2026-09-17T09:48:45Z" msg="Job finished" time="2026-09-17T09:48:45Z" msg="All child jobs completed" sync- time="2026-09-17T09:48:45Z" msg="Synced messages" time="2026-09-17T09:48:45Z" msg="Finished user sync" .786875ms time="2026-09-17T09:48:45Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:48:45Z" msg="Event loop reset" eventID="Ag==" time="2026-09-17T09:48:45Z" msg="200 OK: POST https://127.0.0.1:33013/mail/v4/messages" /client userID=ff5d8ea0-8b8d-473a-9dba-d58a6ffd0d42 time="2026-09-17T09:48:45Z" msg="200 OK: GET https://127.0.0.1:33013/mail/v4/messages/3943cbd9-9622-4e02-aced-be64ee4a73ff" /client userID=ff5d8ea0-8b8d-473a-9dba-d58a6ffd0d42 Scenario: Drafts imported with alias as sender are encrypted with secondary key # features/imap/message/import_key.feature:94 When IMAP client "1" appends the following message to "Drafts": # :1 -> *scenario """ From: Bridge Test <[alias:secondary]@[domain]> Date: 01 Jan 1980 00:00:00 +0000 To: Internal Bridge Subject: Basic text/plain message Content-Type: text/plain Hello """ Then it succeeds # :1 -> *scenario time="2026-09-17T09:48:45Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 6} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:48:45Z" msg="Frontend service stopped" time="2026-09-17T09:48:45Z" msg="Frontend client stopped" time="2026-09-17T09:48:45Z" msg="Closing bridge" time="2026-09-17T09:48:45Z" msg="Stopping service" time="2026-09-17T09:48:45Z" msg="Closing user" userID=ff5d8ea0-8b8d-473a-9dba-d58a6ffd0d42 time="2026-09-17T09:48:45Z" msg="De-registering user client, ID:ff5d8ea0-8b8d-473a-9dba-d58a6ffd0d42" time="2026-09-17T09:48:45Z" msg="Exiting IMAP Service" time="2026-09-17T09:48:45Z" msg="Exiting service main loop" time="2026-09-17T09:48:45Z" msg="Exiting service main loop" time="2026-09-17T09:48:45Z" msg="Exiting Service" time="2026-09-17T09:48:45Z" msg="Exiting service main loop" time="2026-09-17T09:48:45Z" msg="Exiting service" time="2026-09-17T09:48:45Z" msg="Closing IMAP Listener" time="2026-09-17T09:48:45Z" msg="Closing IMAP server" time="2026-09-17T09:48:45Z" msg="Closing SMTP Listener" time="2026-09-17T09:48:45Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:48:45Z" msg="Closing SMTP server" time="2026-09-17T09:48:45Z" msg="Closing service" And the key for address "2badca4d-b489-4b97-a691-95d1a7ec6990@proton.local" was used to create draft # :1 -> *scenario time="2026-09-17T09:48:46Z" msg="User '6cc0be15-3a68-480a-9ab0-c49bfa204713' created with " /server/backend time="2026-09-17T09:48:47Z" msg="Starting bridge" time="2026-09-17T09:48:47Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/112/config992594725/grpcFocusServerConfig.json /service time="2026-09-17T09:48:47Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/112/cache673311875/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:48:47Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/112/cache673311875/notifications/notification_cache: no such file or directory" time="2026-09-17T09:48:47Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/112/data1415185516/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/112/data1415185516/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:48:47Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:48:47Z" msg="Starting IMAP server" time="2026-09-17T09:48:47Z" msg="Starting SMTP server" time="2026-09-17T09:48:47Z" msg="Starting service" time="2026-09-17T09:48:47Z" msg="Starting service" time="2026-09-17T09:48:47Z" msg="Starting receiver service" time="2026-09-17T09:48:47Z" msg="Starting frontend service" time="2026-09-17T09:48:47Z" msg="Checking for updates" time="2026-09-17T09:48:47Z" msg="Starting poll service" time="2026-09-17T09:48:47Z" msg="Loading users" /user time="2026-09-17T09:48:47Z" msg="Finished loading users" /user time="2026-09-17T09:48:47Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/112/config992594725/grpcServerConfig.json time="2026-09-17T09:48:47Z" msg="gRPC server listening on /tmp/bridge6688" time="2026-09-17T09:48:47Z" msg="Frontend service started" time="2026-09-17T09:48:47Z" msg="Starting frontend client" time="2026-09-17T09:48:47Z" msg="Not monitoring parent PID" time="2026-09-17T09:48:47Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:48:47Z" msg="200 OK: GET https://127.0.0.1:38467/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:48:47Z" msg="Frontend client started" time="2026-09-17T09:48:47Z" msg="Performing full user login" /user username="******** (e864e1dc)" time="2026-09-17T09:48:47Z" msg="Authorizing user for login" /user username="******** (e864e1dc)" time="2026-09-17T09:48:47Z" msg="200 OK: POST https://127.0.0.1:38467/auth/v4/info" /manager time="2026-09-17T09:48:47Z" msg="200 OK: POST https://127.0.0.1:38467/auth/v4" /manager time="2026-09-17T09:48:47Z" msg="Logging in authorized user" /user userID=72cb0095-e2a1-4383-a048-ad302179f22e time="2026-09-17T09:48:47Z" msg="Adding vault user" userID=72cb0095-e2a1-4383-a048-ad302179f22e time="2026-09-17T09:48:47Z" msg="Creating new user" userID=72cb0095-e2a1-4383-a048-ad302179f22e time="2026-09-17T09:48:47Z" msg="404 GET https://127.0.0.1:38467/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:48:47Z" msg="404 GET https://127.0.0.1:38467/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:48:47Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:38467/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:48:47Z" msg="Creating user object" authUID=2a492368-881e-4ff7-a391-a9726a321954 numA numL userID=72cb0095-e2a1-4383-a048-ad302179f22e time="2026-09-17T09:48:47Z" msg="200 OK: GET https://127.0.0.1:38467/core/v4/events/latest" /client userID=72cb0095-e2a1-4383-a048-ad302179f22e time="2026-09-17T09:48:47Z" msg="Starting service Last EventID=Ag==" time="2026-09-17T09:48:47Z" msg="200 OK: GET https://127.0.0.1:38467/core/v4/settings" /client userID=72cb0095-e2a1-4383-a048-ad302179f22e time="2026-09-17T09:48:47Z" msg="Registering user client, ID:72cb0095-e2a1-4383-a048-ad302179f22e" time="2026-09-17T09:48:47Z" msg="Starting service main loop" time="2026-09-17T09:48:47Z" msg="Starting user identity service" numA time="2026-09-17T09:48:47Z" msg="Starting service main loop" time="2026-09-17T09:48:47Z" msg="Starting service main loop" time="2026-09-17T09:48:47Z" msg="200 OK: GET https://127.0.0.1:38467/core/v4/labels?T" /client userID=72cb0095-e2a1-4383-a048-ad302179f22e time="2026-09-17T09:48:47Z" msg="200 OK: GET https://127.0.0.1:38467/core/v4/labels?T" /client userID=72cb0095-e2a1-4383-a048-ad302179f22e time="2026-09-17T09:48:47Z" msg="200 OK: GET https://127.0.0.1:38467/core/v4/labels?T" /client userID=72cb0095-e2a1-4383-a048-ad302179f22e time="2026-09-17T09:48:47Z" msg="Setting labels" labelIDs="[5 6 8 9 10 12 0 3 4 7 1 2]" time="2026-09-17T09:48:47Z" msg="Adding user to imap server" addrID=e71c30fc-db04-44c9-a277-cf4ce533b424 time="2026-09-17T09:48:47Z" msg="Creating new IMAP user" addrID=e71c30fc-db04-44c9-a277-cf4ce533b424 time="2026-09-17T09:48:47Z" msg="Setting gluon ID" addrID=e71c30fc-db04-44c9-a277-cf4ce533b424 gluonID=9379d099-24fe-4e28-88ae-8711416bb547 userID=72cb0095-e2a1-4383-a048-ad302179f22e time="2026-09-17T09:48:47Z" msg="Received mailbox message count" gluonID=9379d099-24fe-4e28-88ae-8711416bb547 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:48:47Z" msg="Created new IMAP user" addrID=e71c30fc-db04-44c9-a277-cf4ce533b424 gluonID=9379d099-24fe-4e28-88ae-8711416bb547 time="2026-09-17T09:48:47Z" msg="Validating Listener State" time="2026-09-17T09:48:47Z" time="2026-09-17T09:48:47Z" msg="Checking whether logged in user should re-sync. UserID:72cb0095-e2a1-4383-a048-ad302179f22e" userID=72cb0095-e2a1-4383-a048-ad302179f22e time="2026-09-17T09:48:47Z" msg="Starting IMAP Service" time="2026-09-17T09:48:47Z" msg="Sync triggered" time="2026-09-17T09:48:47Z" msg="Beginning user sync" start="2026-09-17 09:48:47.888859312 +0000 UTC m=+216.381161688" time="2026-09-17T09:48:47Z" msg="Syncing labels" time="2026-09-17T09:48:47Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=9379d099-24fe-4e28-88ae-8711416bb547 time="2026-09-17T09:48:47Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=9379d099-24fe-4e28-88ae-8711416bb547 time="2026-09-17T09:48:47Z" msg="Mailbox created" /user remoteMailboxID=10 userID=9379d099-24fe-4e28-88ae-8711416bb547 time="2026-09-17T09:48:47Z" msg="Mailbox created" /user remoteMailboxID=4 userID=9379d099-24fe-4e28-88ae-8711416bb547 time="2026-09-17T09:48:47Z" msg="Mailbox created" /user remoteMailboxID=7 userID=9379d099-24fe-4e28-88ae-8711416bb547 time="2026-09-17T09:48:47Z" msg="Mailbox created" /user remoteMailboxID=5 userID=9379d099-24fe-4e28-88ae-8711416bb547 time="2026-09-17T09:48:47Z" msg="Mailbox created" /user remoteMailboxID=6 userID=9379d099-24fe-4e28-88ae-8711416bb547 time="2026-09-17T09:48:47Z" msg="Mailbox created" /user remoteMailboxID=8 userID=9379d099-24fe-4e28-88ae-8711416bb547 time="2026-09-17T09:48:47Z" msg="Mailbox created" /user remoteMailboxID=12 userID=9379d099-24fe-4e28-88ae-8711416bb547 time="2026-09-17T09:48:47Z" msg="Mailbox created" /user remoteMailboxID=0 userID=9379d099-24fe-4e28-88ae-8711416bb547 time="2026-09-17T09:48:47Z" msg="Mailbox created" /user remoteMailboxID=3 userID=9379d099-24fe-4e28-88ae-8711416bb547 time="2026-09-17T09:48:47Z" msg="Synced labels" time="2026-09-17T09:48:47Z" msg="200 OK: GET https://127.0.0.1:38467/mail/v4/messages/count" /client userID=72cb0095-e2a1-4383-a048-ad302179f22e time="2026-09-17T09:48:47Z" msg="Syncing messages" time="2026-09-17T09:48:47Z" msg="Job started" time="2026-09-17T09:48:47Z" msg="200 OK: POST https://127.0.0.1:38467/mail/v4/messages" /client userID=72cb0095-e2a1-4383-a048-ad302179f22e time="2026-09-17T09:48:47Z" msg="Job finished" time="2026-09-17T09:48:47Z" msg="All child jobs completed" sync- time="2026-09-17T09:48:47Z" msg="Synced messages" time="2026-09-17T09:48:47Z" msg="Finished user sync" .870443ms time="2026-09-17T09:48:47Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:48:47Z" msg="Event loop reset" eventID="Ag==" time="2026-09-17T09:48:47Z" msg="200 OK: POST https://127.0.0.1:38467/mail/v4/messages" /client userID=72cb0095-e2a1-4383-a048-ad302179f22e time="2026-09-17T09:48:47Z" msg="200 OK: GET https://127.0.0.1:38467/mail/v4/messages/86487c6a-ecb3-480c-8906-868d7ce758ea" /client userID=72cb0095-e2a1-4383-a048-ad302179f22e Scenario: Drafts imported with a disabled alias as sender are encrypted with the disabled address key # features/imap/message/import_key.feature:109 When IMAP client "1" appends the following message to "Drafts": # :1 -> *scenario """ From: Bridge Test <[alias:disabled]@[domain]> Date: 01 Jan 1980 00:00:00 +0000 To: Internal Bridge Subject: Basic text/plain message Content-Type: text/plain Hello """ Then it succeeds # :1 -> *scenario time="2026-09-17T09:48:48Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 8} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:48:48Z" msg="Frontend service stopped" time="2026-09-17T09:48:48Z" msg="Frontend client stopped" time="2026-09-17T09:48:48Z" msg="Closing bridge" time="2026-09-17T09:48:48Z" msg="Stopping service" time="2026-09-17T09:48:48Z" msg="Closing user" userID=72cb0095-e2a1-4383-a048-ad302179f22e time="2026-09-17T09:48:48Z" msg="De-registering user client, ID:72cb0095-e2a1-4383-a048-ad302179f22e" time="2026-09-17T09:48:48Z" msg="Exiting IMAP Service" time="2026-09-17T09:48:48Z" msg="Exiting service main loop" time="2026-09-17T09:48:48Z" msg="Exiting service main loop" time="2026-09-17T09:48:48Z" msg="Exiting Service" time="2026-09-17T09:48:48Z" msg="Exiting service main loop" time="2026-09-17T09:48:48Z" msg="Exiting service" time="2026-09-17T09:48:48Z" msg="Closing IMAP Listener" time="2026-09-17T09:48:48Z" msg="Closing IMAP server" time="2026-09-17T09:48:48Z" msg="Closing SMTP Listener" time="2026-09-17T09:48:48Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:48:48Z" msg="Closing SMTP server" time="2026-09-17T09:48:48Z" msg="Closing service" And the key for address "6cc0be15-3a68-480a-9ab0-c49bfa204713@proton.local" was used to create drafts # :1 -> *scenario time="2026-09-17T09:48:48Z" msg="User 'baf31b45-e4a6-4d88-87f2-b6a9c6b8978b' created with " /server/backend time="2026-09-17T09:48:49Z" msg="Starting bridge" time="2026-09-17T09:48:49Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/113/config3809124484/grpcFocusServerConfig.json /service time="2026-09-17T09:48:49Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/113/cache1883024231/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:48:49Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/113/cache1883024231/notifications/notification_cache: no such file or directory" time="2026-09-17T09:48:49Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/113/data1896429452/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/113/data1896429452/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:48:49Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:48:49Z" msg="Starting IMAP server" time="2026-09-17T09:48:49Z" msg="Starting SMTP server" time="2026-09-17T09:48:49Z" msg="Starting service" time="2026-09-17T09:48:49Z" msg="Starting service" time="2026-09-17T09:48:49Z" msg="Starting frontend service" time="2026-09-17T09:48:49Z" msg="Starting poll service" time="2026-09-17T09:48:49Z" msg="Starting receiver service" time="2026-09-17T09:48:49Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/113/config3809124484/grpcServerConfig.json time="2026-09-17T09:48:49Z" msg="Checking for updates" time="2026-09-17T09:48:49Z" msg="gRPC server listening on /tmp/bridge8461" time="2026-09-17T09:48:49Z" msg="Frontend service started" time="2026-09-17T09:48:49Z" msg="Starting frontend client" time="2026-09-17T09:48:49Z" msg="Loading users" /user time="2026-09-17T09:48:49Z" msg="Finished loading users" /user time="2026-09-17T09:48:49Z" msg="Not monitoring parent PID" time="2026-09-17T09:48:49Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:48:49Z" msg="200 OK: GET https://127.0.0.1:35025/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:48:49Z" msg="Frontend client started" time="2026-09-17T09:48:49Z" msg="Performing full user login" /user username="******** (7b8e3419)" time="2026-09-17T09:48:49Z" msg="Authorizing user for login" /user username="******** (7b8e3419)" time="2026-09-17T09:48:49Z" msg="200 OK: POST https://127.0.0.1:35025/auth/v4/info" /manager time="2026-09-17T09:48:50Z" msg="200 OK: POST https://127.0.0.1:35025/auth/v4" /manager time="2026-09-17T09:48:50Z" msg="Logging in authorized user" /user userID=0113ef39-0a8b-40e2-8112-fe9086f9f5a9 time="2026-09-17T09:48:50Z" msg="Adding vault user" userID=0113ef39-0a8b-40e2-8112-fe9086f9f5a9 time="2026-09-17T09:48:50Z" msg="Creating new user" userID=0113ef39-0a8b-40e2-8112-fe9086f9f5a9 time="2026-09-17T09:48:50Z" msg="404 GET https://127.0.0.1:35025/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:48:50Z" msg="404 GET https://127.0.0.1:35025/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:48:50Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:35025/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:48:50Z" msg="Creating user object" authUID=f2001939-3fc4-4057-9c6a-e7b1214bb1a3 numA numL userID=0113ef39-0a8b-40e2-8112-fe9086f9f5a9 time="2026-09-17T09:48:50Z" msg="200 OK: GET https://127.0.0.1:35025/core/v4/events/latest" /client userID=0113ef39-0a8b-40e2-8112-fe9086f9f5a9 time="2026-09-17T09:48:50Z" msg="Starting service Last EventID=Ag==" time="2026-09-17T09:48:50Z" msg="200 OK: GET https://127.0.0.1:35025/core/v4/settings" /client userID=0113ef39-0a8b-40e2-8112-fe9086f9f5a9 time="2026-09-17T09:48:50Z" msg="Registering user client, ID:0113ef39-0a8b-40e2-8112-fe9086f9f5a9" time="2026-09-17T09:48:50Z" msg="Starting user identity service" numA time="2026-09-17T09:48:50Z" msg="Starting service main loop" time="2026-09-17T09:48:50Z" msg="Starting service main loop" time="2026-09-17T09:48:50Z" msg="Starting service main loop" time="2026-09-17T09:48:50Z" msg="200 OK: GET https://127.0.0.1:35025/core/v4/labels?T" /client userID=0113ef39-0a8b-40e2-8112-fe9086f9f5a9 time="2026-09-17T09:48:50Z" msg="200 OK: GET https://127.0.0.1:35025/core/v4/labels?T" /client userID=0113ef39-0a8b-40e2-8112-fe9086f9f5a9 time="2026-09-17T09:48:50Z" msg="200 OK: GET https://127.0.0.1:35025/core/v4/labels?T" /client userID=0113ef39-0a8b-40e2-8112-fe9086f9f5a9 time="2026-09-17T09:48:50Z" msg="Setting labels" labelIDs="[2 9 12 0 3 4 5 6 7 8 10 1]" time="2026-09-17T09:48:50Z" msg="Adding user to imap server" addrID=40e4a608-c90b-4785-a133-decea10e12a5 time="2026-09-17T09:48:50Z" msg="Creating new IMAP user" addrID=40e4a608-c90b-4785-a133-decea10e12a5 time="2026-09-17T09:48:50Z" msg="Setting gluon ID" addrID=40e4a608-c90b-4785-a133-decea10e12a5 gluonID=00ddcedf-006c-45a5-b4ef-91a934a431df userID=0113ef39-0a8b-40e2-8112-fe9086f9f5a9 time="2026-09-17T09:48:50Z" msg="Received mailbox message count" gluonID=00ddcedf-006c-45a5-b4ef-91a934a431df labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:48:50Z" msg="Created new IMAP user" addrID=40e4a608-c90b-4785-a133-decea10e12a5 gluonID=00ddcedf-006c-45a5-b4ef-91a934a431df time="2026-09-17T09:48:50Z" msg="Validating Listener State" time="2026-09-17T09:48:50Z" time="2026-09-17T09:48:50Z" msg="Starting IMAP Service" time="2026-09-17T09:48:50Z" msg="Checking whether logged in user should re-sync. UserID:0113ef39-0a8b-40e2-8112-fe9086f9f5a9" userID=0113ef39-0a8b-40e2-8112-fe9086f9f5a9 time="2026-09-17T09:48:50Z" msg="Sync triggered" time="2026-09-17T09:48:50Z" msg="Beginning user sync" start="2026-09-17 09:48:50.341979933 +0000 UTC m=+218.834282269" time="2026-09-17T09:48:50Z" msg="Syncing labels" time="2026-09-17T09:48:50Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=00ddcedf-006c-45a5-b4ef-91a934a431df time="2026-09-17T09:48:50Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=00ddcedf-006c-45a5-b4ef-91a934a431df time="2026-09-17T09:48:50Z" msg="Mailbox created" /user remoteMailboxID=12 userID=00ddcedf-006c-45a5-b4ef-91a934a431df time="2026-09-17T09:48:50Z" msg="Mailbox created" /user remoteMailboxID=0 userID=00ddcedf-006c-45a5-b4ef-91a934a431df time="2026-09-17T09:48:50Z" msg="Mailbox created" /user remoteMailboxID=3 userID=00ddcedf-006c-45a5-b4ef-91a934a431df time="2026-09-17T09:48:50Z" msg="Mailbox created" /user remoteMailboxID=4 userID=00ddcedf-006c-45a5-b4ef-91a934a431df time="2026-09-17T09:48:50Z" msg="Mailbox created" /user remoteMailboxID=5 userID=00ddcedf-006c-45a5-b4ef-91a934a431df time="2026-09-17T09:48:50Z" msg="Mailbox created" /user remoteMailboxID=6 userID=00ddcedf-006c-45a5-b4ef-91a934a431df time="2026-09-17T09:48:50Z" msg="Mailbox created" /user remoteMailboxID=7 userID=00ddcedf-006c-45a5-b4ef-91a934a431df time="2026-09-17T09:48:50Z" msg="Mailbox created" /user remoteMailboxID=8 userID=00ddcedf-006c-45a5-b4ef-91a934a431df time="2026-09-17T09:48:50Z" msg="Mailbox created" /user remoteMailboxID=10 userID=00ddcedf-006c-45a5-b4ef-91a934a431df time="2026-09-17T09:48:50Z" msg="Synced labels" time="2026-09-17T09:48:50Z" msg="200 OK: GET https://127.0.0.1:35025/mail/v4/messages/count" /client userID=0113ef39-0a8b-40e2-8112-fe9086f9f5a9 time="2026-09-17T09:48:50Z" msg="Syncing messages" time="2026-09-17T09:48:50Z" msg="Job started" time="2026-09-17T09:48:50Z" msg="200 OK: POST https://127.0.0.1:35025/mail/v4/messages" /client userID=0113ef39-0a8b-40e2-8112-fe9086f9f5a9 time="2026-09-17T09:48:50Z" msg="Job finished" time="2026-09-17T09:48:50Z" msg="All child jobs completed" sync- time="2026-09-17T09:48:50Z" msg="Synced messages" time="2026-09-17T09:48:50Z" msg="Finished user sync" .533677ms time="2026-09-17T09:48:50Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:48:50Z" msg="Event loop reset" eventID="Ag==" time="2026-09-17T09:48:50Z" msg="200 OK: POST https://127.0.0.1:35025/mail/v4/messages" /client userID=0113ef39-0a8b-40e2-8112-fe9086f9f5a9 time="2026-09-17T09:48:50Z" msg="200 OK: GET https://127.0.0.1:35025/mail/v4/messages/fdd6a59c-6730-4dbe-9108-488142595555" /client userID=0113ef39-0a8b-40e2-8112-fe9086f9f5a9 Scenario: Drafts imported with an unknown address as sender are encrypted with primary address key # features/imap/message/import_key.feature:124 When IMAP client "1" appends the following message to "Drafts": # :1 -> *scenario """ From: Bridge Test Date: 01 Jan 1980 00:00:00 +0000 To: Internal Bridge Subject: Basic text/plain message Content-Type: text/plain Hello """ Then it succeeds # :1 -> *scenario time="2026-09-17T09:48:50Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 8} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:48:50Z" msg="Frontend service stopped" time="2026-09-17T09:48:50Z" msg="Frontend client stopped" time="2026-09-17T09:48:50Z" msg="Closing bridge" time="2026-09-17T09:48:50Z" msg="Stopping service" time="2026-09-17T09:48:50Z" msg="Closing user" userID=0113ef39-0a8b-40e2-8112-fe9086f9f5a9 time="2026-09-17T09:48:50Z" msg="De-registering user client, ID:0113ef39-0a8b-40e2-8112-fe9086f9f5a9" time="2026-09-17T09:48:50Z" msg="Exiting IMAP Service" time="2026-09-17T09:48:50Z" msg="Exiting service main loop" time="2026-09-17T09:48:50Z" msg="Exiting service main loop" time="2026-09-17T09:48:50Z" msg="Exiting Service" time="2026-09-17T09:48:50Z" msg="Exiting service main loop" time="2026-09-17T09:48:50Z" msg="Exiting service" time="2026-09-17T09:48:50Z" msg="Closing IMAP Listener" time="2026-09-17T09:48:50Z" msg="Closing IMAP server" time="2026-09-17T09:48:50Z" msg="Closing SMTP Listener" time="2026-09-17T09:48:50Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:48:50Z" msg="Closing SMTP server" time="2026-09-17T09:48:50Z" msg="Closing service" And the key for address "baf31b45-e4a6-4d88-87f2-b6a9c6b8978b@proton.local" was used to create draft # :1 -> *scenario Feature: IMAP move messages time="2026-09-17T09:48:51Z" msg="User 'c23cd202-be4b-4547-87b3-20ccc6d5a4c7' created with " /server/backend Background: Given there exists an account with username "c23cd202-be4b-4547-87b3-20ccc6d5a4c7" and password "password" # :1 -> *scenario And the account "c23cd202-be4b-4547-87b3-20ccc6d5a4c7" has the following custom mailboxes: # :1 -> *scenario | name | type | | mbox | folder | | label | label | | label2 | label | And the address "c23cd202-be4b-4547-87b3-20ccc6d5a4c7@proton.local" of account "c23cd202-be4b-4547-87b3-20ccc6d5a4c7" has the following messages in "Inbox": # :1 -> *scenario | from | to | subject | unread | | john.doe@mail.com | c23cd202-be4b-4547-87b3-20ccc6d5a4c7@proton.local | foo | false | | jane.doe@mail.com | name@proton.local | bar | true | And the address "c23cd202-be4b-4547-87b3-20ccc6d5a4c7@proton.local" of account "c23cd202-be4b-4547-87b3-20ccc6d5a4c7" has the following messages in "Labels/label2": # :1 -> *scenario | from | to | subject | unread | | john.doe@mail.com | c23cd202-be4b-4547-87b3-20ccc6d5a4c7@proton.local | baz | false | And the address "c23cd202-be4b-4547-87b3-20ccc6d5a4c7@proton.local" of account "c23cd202-be4b-4547-87b3-20ccc6d5a4c7" has the following messages in "Sent": # :1 -> *scenario | from | to | subject | unread | | john.doe@mail.com | c23cd202-be4b-4547-87b3-20ccc6d5a4c7@proton.local | bax | false | Then it succeeds # :1 -> *scenario time="2026-09-17T09:48:54Z" msg="Starting bridge" time="2026-09-17T09:48:54Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/114/config1182808452/grpcFocusServerConfig.json /service time="2026-09-17T09:48:54Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/114/cache441226738/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:48:54Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/114/cache441226738/notifications/notification_cache: no such file or directory" time="2026-09-17T09:48:54Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/114/data1548154837/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/114/data1548154837/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:48:54Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:48:54Z" msg="Starting IMAP server" time="2026-09-17T09:48:54Z" msg="Starting SMTP server" time="2026-09-17T09:48:54Z" msg="Starting service" time="2026-09-17T09:48:54Z" msg="Starting service" time="2026-09-17T09:48:54Z" msg="Starting frontend service" time="2026-09-17T09:48:54Z" msg="Starting poll service" time="2026-09-17T09:48:54Z" msg="Starting receiver service" time="2026-09-17T09:48:54Z" msg="Loading users" /user time="2026-09-17T09:48:54Z" msg="Checking for updates" time="2026-09-17T09:48:54Z" msg="Finished loading users" /user time="2026-09-17T09:48:54Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/114/config1182808452/grpcServerConfig.json time="2026-09-17T09:48:54Z" msg="gRPC server listening on /tmp/bridge8427" time="2026-09-17T09:48:54Z" msg="Frontend service started" time="2026-09-17T09:48:54Z" msg="Starting frontend client" time="2026-09-17T09:48:54Z" msg="Not monitoring parent PID" time="2026-09-17T09:48:54Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:48:54Z" msg="200 OK: GET https://127.0.0.1:34997/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:48:54Z" msg="Frontend client started" When bridge starts # :1 -> *scenario time="2026-09-17T09:48:54Z" msg="Performing full user login" /user username="******** (685b3603)" time="2026-09-17T09:48:54Z" msg="Authorizing user for login" /user username="******** (685b3603)" time="2026-09-17T09:48:54Z" msg="200 OK: POST https://127.0.0.1:34997/auth/v4/info" /manager time="2026-09-17T09:48:54Z" msg="200 OK: POST https://127.0.0.1:34997/auth/v4" /manager time="2026-09-17T09:48:54Z" msg="Logging in authorized user" /user userID=2e0d6b33-0910-4340-ba6b-1468b940020f time="2026-09-17T09:48:54Z" msg="Adding vault user" userID=2e0d6b33-0910-4340-ba6b-1468b940020f time="2026-09-17T09:48:54Z" msg="Creating new user" userID=2e0d6b33-0910-4340-ba6b-1468b940020f time="2026-09-17T09:48:54Z" msg="404 GET https://127.0.0.1:34997/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:48:54Z" msg="404 GET https://127.0.0.1:34997/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:48:54Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:34997/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:48:54Z" msg="Creating user object" authUID=d85aa6db-0d62-4007-b4f9-67a6f92d5c99 numA numL userID=2e0d6b33-0910-4340-ba6b-1468b940020f time="2026-09-17T09:48:54Z" msg="200 OK: GET https://127.0.0.1:34997/core/v4/events/latest" /client userID=2e0d6b33-0910-4340-ba6b-1468b940020f time="2026-09-17T09:48:54Z" msg="Starting service Last EventID=Bw==" time="2026-09-17T09:48:54Z" msg="200 OK: GET https://127.0.0.1:34997/core/v4/settings" /client userID=2e0d6b33-0910-4340-ba6b-1468b940020f time="2026-09-17T09:48:54Z" msg="Registering user client, ID:2e0d6b33-0910-4340-ba6b-1468b940020f" time="2026-09-17T09:48:54Z" msg="Starting user identity service" numA time="2026-09-17T09:48:54Z" msg="Starting service main loop" time="2026-09-17T09:48:54Z" msg="Starting service main loop" time="2026-09-17T09:48:54Z" msg="Starting service main loop" time="2026-09-17T09:48:54Z" msg="200 OK: GET https://127.0.0.1:34997/core/v4/labels?T" /client userID=2e0d6b33-0910-4340-ba6b-1468b940020f time="2026-09-17T09:48:54Z" msg="200 OK: GET https://127.0.0.1:34997/core/v4/labels?T" /client userID=2e0d6b33-0910-4340-ba6b-1468b940020f time="2026-09-17T09:48:54Z" msg="200 OK: GET https://127.0.0.1:34997/core/v4/labels?T" /client userID=2e0d6b33-0910-4340-ba6b-1468b940020f time="2026-09-17T09:48:54Z" msg="Setting labels" labelIDs="[0 1 5 8 9 10 2 3 4 6 7 12 05a6748c-e658-4b6c-a299-5e457eefcd18 b8e7333a-a289-4123-a263-79db6dbddcb4 0ce79a35-b304-4f0e-95d3-e7a2707efcc0]" time="2026-09-17T09:48:54Z" msg="Adding user to imap server" addrID=2beb3e25-43be-4b14-9d14-db8e447d5bc8 time="2026-09-17T09:48:54Z" msg="Creating new IMAP user" addrID=2beb3e25-43be-4b14-9d14-db8e447d5bc8 time="2026-09-17T09:48:54Z" msg="Setting gluon ID" addrID=2beb3e25-43be-4b14-9d14-db8e447d5bc8 gluonID=dbe9e2a5-2736-42e2-839a-834da086bcaf userID=2e0d6b33-0910-4340-ba6b-1468b940020f time="2026-09-17T09:48:54Z" msg="Received mailbox message count" gluonID=dbe9e2a5-2736-42e2-839a-834da086bcaf labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:48:54Z" msg="Created new IMAP user" addrID=2beb3e25-43be-4b14-9d14-db8e447d5bc8 gluonID=dbe9e2a5-2736-42e2-839a-834da086bcaf time="2026-09-17T09:48:54Z" msg="Validating Listener State" time="2026-09-17T09:48:54Z" time="2026-09-17T09:48:54Z" msg="Checking whether logged in user should re-sync. UserID:2e0d6b33-0910-4340-ba6b-1468b940020f" userID=2e0d6b33-0910-4340-ba6b-1468b940020f time="2026-09-17T09:48:54Z" msg="Starting IMAP Service" And the user logs in with username "c23cd202-be4b-4547-87b3-20ccc6d5a4c7" and password "password" # :1 -> *scenario time="2026-09-17T09:48:54Z" msg="Sync triggered" time="2026-09-17T09:48:54Z" msg="Beginning user sync" start="2026-09-17 09:48:54.619987207 +0000 UTC m=+223.112289543" time="2026-09-17T09:48:54Z" msg="Syncing labels" time="2026-09-17T09:48:54Z" msg="Label not found in DB, creating mailbox." labelID=0ce79a35-b304-4f0e-95d3-e7a2707efcc0 labelPath="AUFssb0Jn4BktyyOswfmjNccbC5+NIS37B9EgC88SIg=" numberOfC /labelConflictResolver time="2026-09-17T09:48:54Z" msg="Label not found in DB, creating mailbox." labelID=05a6748c-e658-4b6c-a299-5e457eefcd18 labelPath="jm2pV8GS7FVFPTesFaU5jW/EhDgcEQCxeWTMDFRvNjU=" numberOfC /labelConflictResolver time="2026-09-17T09:48:54Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=dbe9e2a5-2736-42e2-839a-834da086bcaf time="2026-09-17T09:48:54Z" msg="Label not found in DB, creating mailbox." labelID=b8e7333a-a289-4123-a263-79db6dbddcb4 labelPath="mHoyd+am6bmNoUvxRZ/ZRvBIQnwu+1OQWf1jSR3oA+s=" numberOfC /labelConflictResolver time="2026-09-17T09:48:54Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=dbe9e2a5-2736-42e2-839a-834da086bcaf time="2026-09-17T09:48:54Z" msg="Mailbox created" /user remoteMailboxID=10 userID=dbe9e2a5-2736-42e2-839a-834da086bcaf time="2026-09-17T09:48:54Z" msg="Mailbox created" /user remoteMailboxID=6 userID=dbe9e2a5-2736-42e2-839a-834da086bcaf time="2026-09-17T09:48:54Z" msg="Mailbox created" /user remoteMailboxID=5 userID=dbe9e2a5-2736-42e2-839a-834da086bcaf time="2026-09-17T09:48:54Z" msg="Mailbox created" /user remoteMailboxID=8 userID=dbe9e2a5-2736-42e2-839a-834da086bcaf time="2026-09-17T09:48:54Z" msg="Mailbox created" /user remoteMailboxID=3 userID=dbe9e2a5-2736-42e2-839a-834da086bcaf time="2026-09-17T09:48:54Z" msg="Mailbox created" /user remoteMailboxID=12 userID=dbe9e2a5-2736-42e2-839a-834da086bcaf time="2026-09-17T09:48:54Z" msg="Mailbox created" /user remoteMailboxID=0ce79a35-b304-4f0e-95d3-e7a2707efcc0 userID=dbe9e2a5-2736-42e2-839a-834da086bcaf time="2026-09-17T09:48:54Z" msg="Mailbox created" /user remoteMailboxID=0 userID=dbe9e2a5-2736-42e2-839a-834da086bcaf time="2026-09-17T09:48:54Z" msg="Mailbox created" /user remoteMailboxID=4 userID=dbe9e2a5-2736-42e2-839a-834da086bcaf time="2026-09-17T09:48:54Z" msg="Mailbox created" /user remoteMailboxID=7 userID=dbe9e2a5-2736-42e2-839a-834da086bcaf time="2026-09-17T09:48:54Z" msg="Mailbox created" /user remoteMailboxID=05a6748c-e658-4b6c-a299-5e457eefcd18 userID=dbe9e2a5-2736-42e2-839a-834da086bcaf time="2026-09-17T09:48:54Z" msg="Mailbox created" /user remoteMailboxID=b8e7333a-a289-4123-a263-79db6dbddcb4 userID=dbe9e2a5-2736-42e2-839a-834da086bcaf time="2026-09-17T09:48:54Z" msg="Synced labels" time="2026-09-17T09:48:54Z" msg="200 OK: GET https://127.0.0.1:34997/mail/v4/messages/count" /client userID=2e0d6b33-0910-4340-ba6b-1468b940020f time="2026-09-17T09:48:54Z" msg="Syncing messages" time="2026-09-17T09:48:54Z" msg="Job started" time="2026-09-17T09:48:54Z" msg="200 OK: POST https://127.0.0.1:34997/mail/v4/messages" /client userID=2e0d6b33-0910-4340-ba6b-1468b940020f time="2026-09-17T09:48:54Z" msg="200 OK: POST https://127.0.0.1:34997/mail/v4/messages" /client userID=2e0d6b33-0910-4340-ba6b-1468b940020f time="2026-09-17T09:48:54Z" msg="Creating new child job" time="2026-09-17T09:48:54Z" msg="Job finished" time="2026-09-17T09:48:54Z" msg="200 OK: GET https://127.0.0.1:34997/mail/v4/messages/0b5c333e-cbfc-4cca-bce1-336dd37a6df4" /client userID=2e0d6b33-0910-4340-ba6b-1468b940020f time="2026-09-17T09:48:54Z" msg="200 OK: GET https://127.0.0.1:34997/mail/v4/messages/7bc1bbe8-3352-40bb-9a44-d2afc6d7386c" /client userID=2e0d6b33-0910-4340-ba6b-1468b940020f time="2026-09-17T09:48:54Z" msg="200 OK: GET https://127.0.0.1:34997/mail/v4/messages/4f2d146b-6d86-4008-a687-68dbf068f05f" /client userID=2e0d6b33-0910-4340-ba6b-1468b940020f time="2026-09-17T09:48:54Z" msg="200 OK: GET https://127.0.0.1:34997/mail/v4/messages/ff635b3d-e1b0-4b9e-8c4b-6a44c75117f5" /client userID=2e0d6b33-0910-4340-ba6b-1468b940020f time="2026-09-17T09:48:54Z" msg="Sending observability data." time="2026-09-17T09:48:54Z" msg="200 OK: POST https://127.0.0.1:34997/data/v1/metrics" /client userID=2e0d6b33-0910-4340-ba6b-1468b940020f time="2026-09-17T09:48:54Z" msg="Successfully sent observability data." time="2026-09-17T09:48:54Z" msg="Scheduling observability data sending" time="2026-09-17T09:48:54Z" msg="Child job finished" time="2026-09-17T09:48:54Z" msg="All child jobs completed" sync- time="2026-09-17T09:48:54Z" msg="Synced messages" time="2026-09-17T09:48:54Z" msg="Finished user sync" .047485ms time="2026-09-17T09:48:54Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:48:54Z" msg="Event loop reset" eventID="Bw==" And user "c23cd202-be4b-4547-87b3-20ccc6d5a4c7" finishes syncing # :1 -> *scenario And user "c23cd202-be4b-4547-87b3-20ccc6d5a4c7" connects and authenticates IMAP client "1" # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:48:54Z" msg="200 OK: PUT https://127.0.0.1:34997/mail/v4/messages/label" /client userID=2e0d6b33-0910-4340-ba6b-1468b940020f Scenario: Move message from folder to label (keeps in folder) # features/imap/message/move.feature:26 When IMAP client "1" moves the message with subject "foo" from "INBOX" to "Labels/label" # :1 -> *scenario And it succeeds # :1 -> *scenario And IMAP client "1" eventually sees the following messages in "INBOX": # :1 -> *scenario | from | to | subject | unread | | john.doe@mail.com | c23cd202-be4b-4547-87b3-20ccc6d5a4c7@proton.local | foo | false | | jane.doe@mail.com | name@proton.local | bar | true | time="2026-09-17T09:48:54Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 7} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:48:54Z" msg="Frontend service stopped" time="2026-09-17T09:48:54Z" msg="Frontend client stopped" time="2026-09-17T09:48:54Z" msg="Closing bridge" time="2026-09-17T09:48:54Z" msg="Stopping service" time="2026-09-17T09:48:54Z" msg="Closing user" userID=2e0d6b33-0910-4340-ba6b-1468b940020f time="2026-09-17T09:48:54Z" msg="De-registering user client, ID:2e0d6b33-0910-4340-ba6b-1468b940020f" time="2026-09-17T09:48:54Z" msg="Exiting IMAP Service" time="2026-09-17T09:48:54Z" msg="Exiting service main loop" time="2026-09-17T09:48:54Z" msg="Exiting service main loop" time="2026-09-17T09:48:54Z" msg="Exiting Service" time="2026-09-17T09:48:54Z" msg="Exiting service main loop" time="2026-09-17T09:48:54Z" msg="Exiting service" time="2026-09-17T09:48:54Z" msg="Closing IMAP Listener" time="2026-09-17T09:48:54Z" msg="Closing IMAP server" time="2026-09-17T09:48:54Z" msg="Closing SMTP Listener" time="2026-09-17T09:48:54Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:48:54Z" msg="Closing SMTP server" time="2026-09-17T09:48:54Z" msg="Closing service" And IMAP client "1" eventually sees the following messages in "Labels/label": # :1 -> *scenario | from | to | subject | unread | | john.doe@mail.com | c23cd202-be4b-4547-87b3-20ccc6d5a4c7@proton.local | foo | false | time="2026-09-17T09:48:55Z" msg="User '51559ed3-fc27-4a32-bdb3-a3ea8654e93f' created with " /server/backend time="2026-09-17T09:48:58Z" msg="Starting bridge" time="2026-09-17T09:48:58Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/115/config1050502412/grpcFocusServerConfig.json /service time="2026-09-17T09:48:58Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/115/cache2190810207/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:48:58Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/115/cache2190810207/notifications/notification_cache: no such file or directory" time="2026-09-17T09:48:58Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/115/data175840055/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/115/data175840055/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:48:58Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:48:58Z" msg="Starting IMAP server" time="2026-09-17T09:48:58Z" msg="Starting SMTP server" time="2026-09-17T09:48:58Z" msg="Starting service" time="2026-09-17T09:48:58Z" msg="Starting service" time="2026-09-17T09:48:58Z" msg="Starting frontend service" time="2026-09-17T09:48:58Z" msg="Starting poll service" time="2026-09-17T09:48:58Z" msg="Starting receiver service" time="2026-09-17T09:48:58Z" msg="Loading users" /user time="2026-09-17T09:48:58Z" msg="Finished loading users" /user time="2026-09-17T09:48:58Z" msg="Checking for updates" time="2026-09-17T09:48:58Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/115/config1050502412/grpcServerConfig.json time="2026-09-17T09:48:58Z" msg="gRPC server listening on /tmp/bridge0258" time="2026-09-17T09:48:58Z" msg="Frontend service started" time="2026-09-17T09:48:58Z" msg="Starting frontend client" time="2026-09-17T09:48:58Z" msg="Not monitoring parent PID" time="2026-09-17T09:48:58Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:48:58Z" msg="200 OK: GET https://127.0.0.1:37445/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:48:58Z" msg="Frontend client started" time="2026-09-17T09:48:58Z" msg="Performing full user login" /user username="******** (8ca61ec8)" time="2026-09-17T09:48:58Z" msg="Authorizing user for login" /user username="******** (8ca61ec8)" time="2026-09-17T09:48:58Z" msg="200 OK: POST https://127.0.0.1:37445/auth/v4/info" /manager time="2026-09-17T09:48:58Z" msg="200 OK: POST https://127.0.0.1:37445/auth/v4" /manager time="2026-09-17T09:48:58Z" msg="Logging in authorized user" /user userID=c851c01b-d634-402e-9f89-a4e4d807e705 time="2026-09-17T09:48:58Z" msg="Adding vault user" userID=c851c01b-d634-402e-9f89-a4e4d807e705 time="2026-09-17T09:48:58Z" msg="Creating new user" userID=c851c01b-d634-402e-9f89-a4e4d807e705 time="2026-09-17T09:48:58Z" msg="404 GET https://127.0.0.1:37445/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:48:58Z" msg="404 GET https://127.0.0.1:37445/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:48:58Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:37445/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:48:58Z" msg="Creating user object" authUID=5c4174fb-0903-4263-8b0a-87f84c0db965 numA numL userID=c851c01b-d634-402e-9f89-a4e4d807e705 time="2026-09-17T09:48:58Z" msg="200 OK: GET https://127.0.0.1:37445/core/v4/events/latest" /client userID=c851c01b-d634-402e-9f89-a4e4d807e705 time="2026-09-17T09:48:58Z" msg="Starting service Last EventID=Bw==" time="2026-09-17T09:48:58Z" msg="200 OK: GET https://127.0.0.1:37445/core/v4/settings" /client userID=c851c01b-d634-402e-9f89-a4e4d807e705 time="2026-09-17T09:48:58Z" msg="Registering user client, ID:c851c01b-d634-402e-9f89-a4e4d807e705" time="2026-09-17T09:48:58Z" msg="Starting user identity service" numA time="2026-09-17T09:48:58Z" msg="Starting service main loop" time="2026-09-17T09:48:58Z" msg="Starting service main loop" time="2026-09-17T09:48:58Z" msg="Starting service main loop" time="2026-09-17T09:48:58Z" msg="200 OK: GET https://127.0.0.1:37445/core/v4/labels?T" /client userID=c851c01b-d634-402e-9f89-a4e4d807e705 time="2026-09-17T09:48:58Z" msg="200 OK: GET https://127.0.0.1:37445/core/v4/labels?T" /client userID=c851c01b-d634-402e-9f89-a4e4d807e705 time="2026-09-17T09:48:58Z" msg="200 OK: GET https://127.0.0.1:37445/core/v4/labels?T" /client userID=c851c01b-d634-402e-9f89-a4e4d807e705 time="2026-09-17T09:48:58Z" msg="Setting labels" labelIDs="[5 6 12 2 7 8 9 10 0 1 3 4 f7811c3f-0e2d-42a3-b945-94b54e62ab1a 358b3e9f-4444-453e-b0b9-13ba2c879fc4 74e020b0-c687-4d81-81fd-fbf3aef8b0a4]" time="2026-09-17T09:48:58Z" msg="Adding user to imap server" addrID=b69c0d67-3341-45d6-b3ff-2ce72ec35bbc time="2026-09-17T09:48:58Z" msg="Creating new IMAP user" addrID=b69c0d67-3341-45d6-b3ff-2ce72ec35bbc time="2026-09-17T09:48:58Z" msg="Setting gluon ID" addrID=b69c0d67-3341-45d6-b3ff-2ce72ec35bbc gluonID=b56bcb5e-4049-4477-8694-0efb4b8ca8f5 userID=c851c01b-d634-402e-9f89-a4e4d807e705 time="2026-09-17T09:48:58Z" msg="Received mailbox message count" gluonID=b56bcb5e-4049-4477-8694-0efb4b8ca8f5 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:48:58Z" msg="Created new IMAP user" addrID=b69c0d67-3341-45d6-b3ff-2ce72ec35bbc gluonID=b56bcb5e-4049-4477-8694-0efb4b8ca8f5 time="2026-09-17T09:48:58Z" msg="Validating Listener State" time="2026-09-17T09:48:58Z" time="2026-09-17T09:48:58Z" msg="Starting IMAP Service" time="2026-09-17T09:48:58Z" msg="Checking whether logged in user should re-sync. UserID:c851c01b-d634-402e-9f89-a4e4d807e705" userID=c851c01b-d634-402e-9f89-a4e4d807e705 time="2026-09-17T09:48:58Z" msg="Sync triggered" time="2026-09-17T09:48:58Z" msg="Beginning user sync" start="2026-09-17 09:48:58.654137451 +0000 UTC m=+227.146439827" time="2026-09-17T09:48:58Z" msg="Syncing labels" time="2026-09-17T09:48:58Z" msg="Label not found in DB, creating mailbox." labelID=74e020b0-c687-4d81-81fd-fbf3aef8b0a4 labelPath="AUFssb0Jn4BktyyOswfmjNccbC5+NIS37B9EgC88SIg=" numberOfC /labelConflictResolver time="2026-09-17T09:48:58Z" msg="Label not found in DB, creating mailbox." labelID=358b3e9f-4444-453e-b0b9-13ba2c879fc4 labelPath="mHoyd+am6bmNoUvxRZ/ZRvBIQnwu+1OQWf1jSR3oA+s=" numberOfC /labelConflictResolver time="2026-09-17T09:48:58Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=b56bcb5e-4049-4477-8694-0efb4b8ca8f5 time="2026-09-17T09:48:58Z" msg="Label not found in DB, creating mailbox." labelID=f7811c3f-0e2d-42a3-b945-94b54e62ab1a labelPath="jm2pV8GS7FVFPTesFaU5jW/EhDgcEQCxeWTMDFRvNjU=" numberOfC /labelConflictResolver time="2026-09-17T09:48:58Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=b56bcb5e-4049-4477-8694-0efb4b8ca8f5 time="2026-09-17T09:48:58Z" msg="Mailbox created" /user remoteMailboxID=4 userID=b56bcb5e-4049-4477-8694-0efb4b8ca8f5 time="2026-09-17T09:48:58Z" msg="Mailbox created" /user remoteMailboxID=74e020b0-c687-4d81-81fd-fbf3aef8b0a4 userID=b56bcb5e-4049-4477-8694-0efb4b8ca8f5 time="2026-09-17T09:48:58Z" msg="Mailbox created" /user remoteMailboxID=5 userID=b56bcb5e-4049-4477-8694-0efb4b8ca8f5 time="2026-09-17T09:48:58Z" msg="Mailbox created" /user remoteMailboxID=7 userID=b56bcb5e-4049-4477-8694-0efb4b8ca8f5 time="2026-09-17T09:48:58Z" msg="Mailbox created" /user remoteMailboxID=8 userID=b56bcb5e-4049-4477-8694-0efb4b8ca8f5 time="2026-09-17T09:48:58Z" msg="Mailbox created" /user remoteMailboxID=10 userID=b56bcb5e-4049-4477-8694-0efb4b8ca8f5 time="2026-09-17T09:48:58Z" msg="Mailbox created" /user remoteMailboxID=3 userID=b56bcb5e-4049-4477-8694-0efb4b8ca8f5 time="2026-09-17T09:48:58Z" msg="Mailbox created" /user remoteMailboxID=12 userID=b56bcb5e-4049-4477-8694-0efb4b8ca8f5 time="2026-09-17T09:48:58Z" msg="Mailbox created" /user remoteMailboxID=358b3e9f-4444-453e-b0b9-13ba2c879fc4 userID=b56bcb5e-4049-4477-8694-0efb4b8ca8f5 time="2026-09-17T09:48:58Z" msg="Mailbox created" /user remoteMailboxID=6 userID=b56bcb5e-4049-4477-8694-0efb4b8ca8f5 time="2026-09-17T09:48:58Z" msg="Mailbox created" /user remoteMailboxID=0 userID=b56bcb5e-4049-4477-8694-0efb4b8ca8f5 time="2026-09-17T09:48:58Z" msg="Mailbox created" /user remoteMailboxID=f7811c3f-0e2d-42a3-b945-94b54e62ab1a userID=b56bcb5e-4049-4477-8694-0efb4b8ca8f5 time="2026-09-17T09:48:58Z" msg="Synced labels" time="2026-09-17T09:48:58Z" msg="200 OK: GET https://127.0.0.1:37445/mail/v4/messages/count" /client userID=c851c01b-d634-402e-9f89-a4e4d807e705 time="2026-09-17T09:48:58Z" msg="Syncing messages" time="2026-09-17T09:48:58Z" msg="Job started" time="2026-09-17T09:48:58Z" msg="200 OK: POST https://127.0.0.1:37445/mail/v4/messages" /client userID=c851c01b-d634-402e-9f89-a4e4d807e705 time="2026-09-17T09:48:58Z" msg="200 OK: POST https://127.0.0.1:37445/mail/v4/messages" /client userID=c851c01b-d634-402e-9f89-a4e4d807e705 time="2026-09-17T09:48:58Z" msg="Creating new child job" time="2026-09-17T09:48:58Z" msg="Job finished" time="2026-09-17T09:48:58Z" msg="200 OK: GET https://127.0.0.1:37445/mail/v4/messages/da7db6ae-6a20-44a6-a2c8-1314ef28fffb" /client userID=c851c01b-d634-402e-9f89-a4e4d807e705 time="2026-09-17T09:48:58Z" msg="200 OK: GET https://127.0.0.1:37445/mail/v4/messages/01701fbb-dd8b-4690-9421-ff34366e83de" /client userID=c851c01b-d634-402e-9f89-a4e4d807e705 time="2026-09-17T09:48:58Z" msg="200 OK: GET https://127.0.0.1:37445/mail/v4/messages/b0e9c5c6-7ec4-4055-9e9a-96afac2a2baf" /client userID=c851c01b-d634-402e-9f89-a4e4d807e705 time="2026-09-17T09:48:58Z" msg="200 OK: GET https://127.0.0.1:37445/mail/v4/messages/e9d3a08c-c186-4bbc-bdf4-b0e756fd1962" /client userID=c851c01b-d634-402e-9f89-a4e4d807e705 time="2026-09-17T09:48:58Z" msg="Sending observability data." time="2026-09-17T09:48:58Z" msg="200 OK: POST https://127.0.0.1:37445/data/v1/metrics" /client userID=c851c01b-d634-402e-9f89-a4e4d807e705 time="2026-09-17T09:48:58Z" msg="Successfully sent observability data." time="2026-09-17T09:48:58Z" msg="Scheduling observability data sending" time="2026-09-17T09:48:58Z" msg="Child job finished" time="2026-09-17T09:48:58Z" msg="All child jobs completed" sync- time="2026-09-17T09:48:58Z" msg="Synced messages" time="2026-09-17T09:48:58Z" msg="Finished user sync" .24612ms time="2026-09-17T09:48:58Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:48:58Z" msg="Event loop reset" eventID="Bw==" Scenario: Move message from folder to label with append expunge does not keep message in origin folder # features/imap/message/move.feature:39 When user "51559ed3-fc27-4a32-bdb3-a3ea8654e93f" connects and authenticates IMAP client "source" # :1 -> *scenario And user "51559ed3-fc27-4a32-bdb3-a3ea8654e93f" connects and authenticates IMAP client "target" # :1 -> *scenario And IMAP client "source" selects "INBOX" # :1 -> *scenario And IMAP client "target" selects "Labels/label" # :1 -> *scenario time="2026-09-17T09:48:58Z" msg="200 OK: PUT https://127.0.0.1:37445/mail/v4/messages/label" /client userID=c851c01b-d634-402e-9f89-a4e4d807e705 time="2026-09-17T09:48:58Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 7} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:48:58Z" msg="200 OK: PUT https://127.0.0.1:37445/mail/v4/messages/unlabel" /client userID=c851c01b-d634-402e-9f89-a4e4d807e705 And IMAP clients "source" and "target" move message with subject "foo" of "51559ed3-fc27-4a32-bdb3-a3ea8654e93f" to "Labels/label" by APPEND DELETE EXPUNGE # :1 -> *scenario And it succeeds # :1 -> *scenario Then IMAP client "source" eventually sees the following messages in "INBOX": # :1 -> *scenario | from | to | subject | unread | | jane.doe@mail.com | name@proton.local | bar | true | time="2026-09-17T09:48:59Z" msg="Frontend service stopped" time="2026-09-17T09:48:59Z" msg="Frontend client stopped" time="2026-09-17T09:48:59Z" msg="Closing bridge" time="2026-09-17T09:48:59Z" msg="Stopping service" time="2026-09-17T09:48:59Z" msg="Closing user" userID=c851c01b-d634-402e-9f89-a4e4d807e705 time="2026-09-17T09:48:59Z" msg="De-registering user client, ID:c851c01b-d634-402e-9f89-a4e4d807e705" time="2026-09-17T09:48:59Z" msg="Exiting IMAP Service" time="2026-09-17T09:48:59Z" msg="Exiting service main loop" time="2026-09-17T09:48:59Z" msg="Exiting service main loop" time="2026-09-17T09:48:59Z" msg="Exiting Service" time="2026-09-17T09:48:59Z" msg="Exiting service main loop" time="2026-09-17T09:48:59Z" msg="Exiting service" time="2026-09-17T09:48:59Z" msg="Closing IMAP Listener" time="2026-09-17T09:48:59Z" msg="Closing IMAP server" time="2026-09-17T09:48:59Z" msg="Closing SMTP Listener" time="2026-09-17T09:48:59Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:48:59Z" msg="Closing SMTP server" time="2026-09-17T09:48:59Z" msg="Closing service" And IMAP client "target" eventually sees the following messages in "Labels/label": # :1 -> *scenario | from | to | subject | unread | | john.doe@mail.com | 51559ed3-fc27-4a32-bdb3-a3ea8654e93f@proton.local | foo | false | time="2026-09-17T09:48:59Z" msg="User 'ea928cc7-fa2c-4b40-a8ed-4623b8ada2e9' created with " /server/backend time="2026-09-17T09:49:02Z" msg="Starting bridge" time="2026-09-17T09:49:02Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/116/config3910506356/grpcFocusServerConfig.json /service time="2026-09-17T09:49:02Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/116/cache3865031192/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:49:02Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/116/cache3865031192/notifications/notification_cache: no such file or directory" time="2026-09-17T09:49:02Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/116/data2620804152/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/116/data2620804152/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:49:02Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:49:02Z" msg="Starting IMAP server" time="2026-09-17T09:49:02Z" msg="Starting SMTP server" time="2026-09-17T09:49:02Z" msg="Starting service" time="2026-09-17T09:49:02Z" msg="Starting service" time="2026-09-17T09:49:02Z" msg="Starting receiver service" time="2026-09-17T09:49:02Z" msg="Starting poll service" time="2026-09-17T09:49:02Z" msg="Checking for updates" time="2026-09-17T09:49:02Z" msg="Starting frontend service" time="2026-09-17T09:49:02Z" msg="Loading users" /user time="2026-09-17T09:49:02Z" msg="Finished loading users" /user time="2026-09-17T09:49:02Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/116/config3910506356/grpcServerConfig.json time="2026-09-17T09:49:02Z" msg="gRPC server listening on /tmp/bridge2396" time="2026-09-17T09:49:02Z" msg="Frontend service started" time="2026-09-17T09:49:02Z" msg="Starting frontend client" time="2026-09-17T09:49:02Z" msg="Not monitoring parent PID" time="2026-09-17T09:49:02Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:49:02Z" msg="200 OK: GET https://127.0.0.1:45209/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:49:02Z" msg="Frontend client started" time="2026-09-17T09:49:02Z" msg="Performing full user login" /user username="******** (8313dba9)" time="2026-09-17T09:49:02Z" msg="Authorizing user for login" /user username="******** (8313dba9)" time="2026-09-17T09:49:02Z" msg="200 OK: POST https://127.0.0.1:45209/auth/v4/info" /manager time="2026-09-17T09:49:02Z" msg="200 OK: POST https://127.0.0.1:45209/auth/v4" /manager time="2026-09-17T09:49:02Z" msg="Logging in authorized user" /user userID=00ad68e5-e89c-45d9-8beb-fc82663580e0 time="2026-09-17T09:49:03Z" msg="Adding vault user" userID=00ad68e5-e89c-45d9-8beb-fc82663580e0 time="2026-09-17T09:49:03Z" msg="Creating new user" userID=00ad68e5-e89c-45d9-8beb-fc82663580e0 time="2026-09-17T09:49:03Z" msg="404 GET https://127.0.0.1:45209/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:49:03Z" msg="404 GET https://127.0.0.1:45209/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:49:03Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:45209/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:49:03Z" msg="Creating user object" authUID=0beab7f5-eeb5-4f49-ad79-29f0a951bf4f numA numL userID=00ad68e5-e89c-45d9-8beb-fc82663580e0 time="2026-09-17T09:49:03Z" msg="200 OK: GET https://127.0.0.1:45209/core/v4/events/latest" /client userID=00ad68e5-e89c-45d9-8beb-fc82663580e0 time="2026-09-17T09:49:03Z" msg="Starting service Last EventID=Bw==" time="2026-09-17T09:49:03Z" msg="200 OK: GET https://127.0.0.1:45209/core/v4/settings" /client userID=00ad68e5-e89c-45d9-8beb-fc82663580e0 time="2026-09-17T09:49:03Z" msg="Registering user client, ID:00ad68e5-e89c-45d9-8beb-fc82663580e0" time="2026-09-17T09:49:03Z" msg="Starting user identity service" numA time="2026-09-17T09:49:03Z" msg="Starting service main loop" time="2026-09-17T09:49:03Z" msg="Starting service main loop" time="2026-09-17T09:49:03Z" msg="Starting service main loop" time="2026-09-17T09:49:03Z" msg="200 OK: GET https://127.0.0.1:45209/core/v4/labels?T" /client userID=00ad68e5-e89c-45d9-8beb-fc82663580e0 time="2026-09-17T09:49:03Z" msg="200 OK: GET https://127.0.0.1:45209/core/v4/labels?T" /client userID=00ad68e5-e89c-45d9-8beb-fc82663580e0 time="2026-09-17T09:49:03Z" msg="200 OK: GET https://127.0.0.1:45209/core/v4/labels?T" /client userID=00ad68e5-e89c-45d9-8beb-fc82663580e0 time="2026-09-17T09:49:03Z" msg="Setting labels" labelIDs="[0 1 2 4 6 9 10 12 3 5 7 8 fcbd83ec-13e5-4336-9ded-bfc88985f108 50d58eb5-4500-4937-9611-9a86155d378d f5a6abd2-51c0-4d71-ab56-5c65143ea034]" time="2026-09-17T09:49:03Z" msg="Adding user to imap server" addrID=9c456f0e-0e93-4790-a366-10c4dbdc3e80 time="2026-09-17T09:49:03Z" msg="Creating new IMAP user" addrID=9c456f0e-0e93-4790-a366-10c4dbdc3e80 time="2026-09-17T09:49:03Z" msg="Setting gluon ID" addrID=9c456f0e-0e93-4790-a366-10c4dbdc3e80 gluonID=1445fcd3-641e-4530-a878-192cf756179d userID=00ad68e5-e89c-45d9-8beb-fc82663580e0 time="2026-09-17T09:49:03Z" msg="Received mailbox message count" gluonID=1445fcd3-641e-4530-a878-192cf756179d labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:49:03Z" msg="Created new IMAP user" addrID=9c456f0e-0e93-4790-a366-10c4dbdc3e80 gluonID=1445fcd3-641e-4530-a878-192cf756179d time="2026-09-17T09:49:03Z" msg="Validating Listener State" time="2026-09-17T09:49:03Z" time="2026-09-17T09:49:03Z" msg="Checking whether logged in user should re-sync. UserID:00ad68e5-e89c-45d9-8beb-fc82663580e0" userID=00ad68e5-e89c-45d9-8beb-fc82663580e0 time="2026-09-17T09:49:03Z" msg="Starting IMAP Service" time="2026-09-17T09:49:03Z" msg="Sync triggered" time="2026-09-17T09:49:03Z" msg="Beginning user sync" start="2026-09-17 09:49:03.014705259 +0000 UTC m=+231.507007595" time="2026-09-17T09:49:03Z" msg="Syncing labels" time="2026-09-17T09:49:03Z" msg="Label not found in DB, creating mailbox." labelID=fcbd83ec-13e5-4336-9ded-bfc88985f108 labelPath="jm2pV8GS7FVFPTesFaU5jW/EhDgcEQCxeWTMDFRvNjU=" numberOfC /labelConflictResolver time="2026-09-17T09:49:03Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=1445fcd3-641e-4530-a878-192cf756179d time="2026-09-17T09:49:03Z" msg="Label not found in DB, creating mailbox." labelID=50d58eb5-4500-4937-9611-9a86155d378d labelPath="mHoyd+am6bmNoUvxRZ/ZRvBIQnwu+1OQWf1jSR3oA+s=" numberOfC /labelConflictResolver time="2026-09-17T09:49:03Z" msg="Label not found in DB, creating mailbox." labelID=f5a6abd2-51c0-4d71-ab56-5c65143ea034 labelPath="AUFssb0Jn4BktyyOswfmjNccbC5+NIS37B9EgC88SIg=" numberOfC /labelConflictResolver time="2026-09-17T09:49:03Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=1445fcd3-641e-4530-a878-192cf756179d time="2026-09-17T09:49:03Z" msg="Mailbox created" /user remoteMailboxID=12 userID=1445fcd3-641e-4530-a878-192cf756179d time="2026-09-17T09:49:03Z" msg="Mailbox created" /user remoteMailboxID=10 userID=1445fcd3-641e-4530-a878-192cf756179d time="2026-09-17T09:49:03Z" msg="Mailbox created" /user remoteMailboxID=3 userID=1445fcd3-641e-4530-a878-192cf756179d time="2026-09-17T09:49:03Z" msg="Mailbox created" /user remoteMailboxID=5 userID=1445fcd3-641e-4530-a878-192cf756179d time="2026-09-17T09:49:03Z" msg="Mailbox created" /user remoteMailboxID=8 userID=1445fcd3-641e-4530-a878-192cf756179d time="2026-09-17T09:49:03Z" msg="Mailbox created" /user remoteMailboxID=4 userID=1445fcd3-641e-4530-a878-192cf756179d time="2026-09-17T09:49:03Z" msg="Mailbox created" /user remoteMailboxID=7 userID=1445fcd3-641e-4530-a878-192cf756179d time="2026-09-17T09:49:03Z" msg="Mailbox created" /user remoteMailboxID=fcbd83ec-13e5-4336-9ded-bfc88985f108 userID=1445fcd3-641e-4530-a878-192cf756179d time="2026-09-17T09:49:03Z" msg="Mailbox created" /user remoteMailboxID=50d58eb5-4500-4937-9611-9a86155d378d userID=1445fcd3-641e-4530-a878-192cf756179d time="2026-09-17T09:49:03Z" msg="Mailbox created" /user remoteMailboxID=f5a6abd2-51c0-4d71-ab56-5c65143ea034 userID=1445fcd3-641e-4530-a878-192cf756179d time="2026-09-17T09:49:03Z" msg="Mailbox created" /user remoteMailboxID=0 userID=1445fcd3-641e-4530-a878-192cf756179d time="2026-09-17T09:49:03Z" msg="Mailbox created" /user remoteMailboxID=6 userID=1445fcd3-641e-4530-a878-192cf756179d time="2026-09-17T09:49:03Z" msg="Synced labels" time="2026-09-17T09:49:03Z" msg="200 OK: GET https://127.0.0.1:45209/mail/v4/messages/count" /client userID=00ad68e5-e89c-45d9-8beb-fc82663580e0 time="2026-09-17T09:49:03Z" msg="Syncing messages" time="2026-09-17T09:49:03Z" msg="Job started" time="2026-09-17T09:49:03Z" msg="200 OK: POST https://127.0.0.1:45209/mail/v4/messages" /client userID=00ad68e5-e89c-45d9-8beb-fc82663580e0 time="2026-09-17T09:49:03Z" msg="200 OK: POST https://127.0.0.1:45209/mail/v4/messages" /client userID=00ad68e5-e89c-45d9-8beb-fc82663580e0 time="2026-09-17T09:49:03Z" msg="Creating new child job" time="2026-09-17T09:49:03Z" msg="Job finished" time="2026-09-17T09:49:03Z" msg="200 OK: GET https://127.0.0.1:45209/mail/v4/messages/f219696b-df39-4720-84c5-ca6afd1bc762" /client userID=00ad68e5-e89c-45d9-8beb-fc82663580e0 time="2026-09-17T09:49:03Z" msg="200 OK: GET https://127.0.0.1:45209/mail/v4/messages/e1e9cfe6-a5e9-4eeb-9ce4-078b6da80750" /client userID=00ad68e5-e89c-45d9-8beb-fc82663580e0 time="2026-09-17T09:49:03Z" msg="200 OK: GET https://127.0.0.1:45209/mail/v4/messages/830e281d-e01c-4d1b-9e73-9f2b1950ac84" /client userID=00ad68e5-e89c-45d9-8beb-fc82663580e0 time="2026-09-17T09:49:03Z" msg="200 OK: GET https://127.0.0.1:45209/mail/v4/messages/7df3c048-fece-48db-a063-4cde17c5c95d" /client userID=00ad68e5-e89c-45d9-8beb-fc82663580e0 time="2026-09-17T09:49:03Z" msg="Sending observability data." time="2026-09-17T09:49:03Z" msg="200 OK: POST https://127.0.0.1:45209/data/v1/metrics" /client userID=00ad68e5-e89c-45d9-8beb-fc82663580e0 time="2026-09-17T09:49:03Z" msg="Successfully sent observability data." time="2026-09-17T09:49:03Z" msg="Scheduling observability data sending" time="2026-09-17T09:49:03Z" msg="Child job finished" time="2026-09-17T09:49:03Z" msg="All child jobs completed" sync- time="2026-09-17T09:49:03Z" msg="Synced messages" time="2026-09-17T09:49:03Z" msg="Finished user sync" .898323ms time="2026-09-17T09:49:03Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:49:03Z" msg="Event loop reset" eventID="Bw==" time="2026-09-17T09:49:03Z" msg="200 OK: PUT https://127.0.0.1:45209/mail/v4/messages/label" /client userID=00ad68e5-e89c-45d9-8beb-fc82663580e0 time="2026-09-17T09:49:03Z" msg="200 OK: PUT https://127.0.0.1:45209/mail/v4/messages/unlabel" /client userID=00ad68e5-e89c-45d9-8beb-fc82663580e0 Scenario: Move message from label to folder # features/imap/message/move.feature:53 When IMAP client "1" moves the message with subject "baz" from "Labels/label2" to "Folders/mbox" # :1 -> *scenario And it succeeds # :1 -> *scenario And IMAP client "1" eventually sees the following messages in "Folders/mbox": # :1 -> *scenario | from | to | subject | unread | | john.doe@mail.com | ea928cc7-fa2c-4b40-a8ed-4623b8ada2e9@proton.local | baz | false | time="2026-09-17T09:49:03Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 8} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:49:03Z" msg="Frontend service stopped" time="2026-09-17T09:49:03Z" msg="Frontend client stopped" time="2026-09-17T09:49:03Z" msg="Closing bridge" time="2026-09-17T09:49:03Z" msg="Stopping service" time="2026-09-17T09:49:03Z" msg="Closing user" userID=00ad68e5-e89c-45d9-8beb-fc82663580e0 time="2026-09-17T09:49:03Z" msg="De-registering user client, ID:00ad68e5-e89c-45d9-8beb-fc82663580e0" time="2026-09-17T09:49:03Z" msg="Exiting IMAP Service" time="2026-09-17T09:49:03Z" msg="Exiting service main loop" time="2026-09-17T09:49:03Z" msg="Exiting service main loop" time="2026-09-17T09:49:03Z" msg="Exiting Service" time="2026-09-17T09:49:03Z" msg="Exiting service main loop" time="2026-09-17T09:49:03Z" msg="Exiting service" time="2026-09-17T09:49:03Z" msg="Closing IMAP Listener" time="2026-09-17T09:49:03Z" msg="Closing IMAP server" time="2026-09-17T09:49:03Z" msg="Closing SMTP Listener" time="2026-09-17T09:49:03Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:49:03Z" msg="Closing SMTP server" time="2026-09-17T09:49:03Z" msg="Closing service" And IMAP client "1" eventually sees 0 messages in "Labels/label2" # :1 -> *scenario time="2026-09-17T09:49:03Z" msg="User '98a199c1-120b-4d62-98e0-3c967e9d8091' created with " /server/backend time="2026-09-17T09:49:06Z" msg="Starting bridge" time="2026-09-17T09:49:06Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/117/config792867321/grpcFocusServerConfig.json /service time="2026-09-17T09:49:06Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/117/cache1836613566/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:49:06Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/117/cache1836613566/notifications/notification_cache: no such file or directory" time="2026-09-17T09:49:06Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/117/data2568304179/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/117/data2568304179/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:49:06Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:49:06Z" msg="Starting IMAP server" time="2026-09-17T09:49:06Z" msg="Starting SMTP server" time="2026-09-17T09:49:06Z" msg="Starting service" time="2026-09-17T09:49:06Z" msg="Starting service" time="2026-09-17T09:49:06Z" msg="Starting poll service" time="2026-09-17T09:49:06Z" msg="Starting receiver service" time="2026-09-17T09:49:06Z" msg="Loading users" /user time="2026-09-17T09:49:06Z" msg="Checking for updates" time="2026-09-17T09:49:06Z" msg="Starting frontend service" time="2026-09-17T09:49:06Z" msg="Finished loading users" /user time="2026-09-17T09:49:06Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/117/config792867321/grpcServerConfig.json time="2026-09-17T09:49:06Z" msg="gRPC server listening on /tmp/bridge1272" time="2026-09-17T09:49:06Z" msg="Frontend service started" time="2026-09-17T09:49:06Z" msg="Starting frontend client" time="2026-09-17T09:49:06Z" msg="Not monitoring parent PID" time="2026-09-17T09:49:06Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:49:06Z" msg="200 OK: GET https://127.0.0.1:33897/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:49:06Z" msg="Frontend client started" time="2026-09-17T09:49:06Z" msg="Performing full user login" /user username="******** (ef7abbe6)" time="2026-09-17T09:49:06Z" msg="Authorizing user for login" /user username="******** (ef7abbe6)" time="2026-09-17T09:49:06Z" msg="200 OK: POST https://127.0.0.1:33897/auth/v4/info" /manager time="2026-09-17T09:49:06Z" msg="200 OK: POST https://127.0.0.1:33897/auth/v4" /manager time="2026-09-17T09:49:06Z" msg="Logging in authorized user" /user userID=89bc25d7-a011-4c92-972d-27d904c5b92f time="2026-09-17T09:49:07Z" msg="Adding vault user" userID=89bc25d7-a011-4c92-972d-27d904c5b92f time="2026-09-17T09:49:07Z" msg="Creating new user" userID=89bc25d7-a011-4c92-972d-27d904c5b92f time="2026-09-17T09:49:07Z" msg="404 GET https://127.0.0.1:33897/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:49:07Z" msg="404 GET https://127.0.0.1:33897/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:49:07Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:33897/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:49:07Z" msg="Creating user object" authUID=38829b35-6939-402f-bbd3-67affd0c9ba7 numA numL userID=89bc25d7-a011-4c92-972d-27d904c5b92f time="2026-09-17T09:49:07Z" msg="200 OK: GET https://127.0.0.1:33897/core/v4/events/latest" /client userID=89bc25d7-a011-4c92-972d-27d904c5b92f time="2026-09-17T09:49:07Z" msg="Starting service Last EventID=Bw==" time="2026-09-17T09:49:07Z" msg="200 OK: GET https://127.0.0.1:33897/core/v4/settings" /client userID=89bc25d7-a011-4c92-972d-27d904c5b92f time="2026-09-17T09:49:07Z" msg="Registering user client, ID:89bc25d7-a011-4c92-972d-27d904c5b92f" time="2026-09-17T09:49:07Z" msg="Starting user identity service" numA time="2026-09-17T09:49:07Z" msg="Starting service main loop" time="2026-09-17T09:49:07Z" msg="Starting service main loop" time="2026-09-17T09:49:07Z" msg="Starting service main loop" time="2026-09-17T09:49:07Z" msg="200 OK: GET https://127.0.0.1:33897/core/v4/labels?T" /client userID=89bc25d7-a011-4c92-972d-27d904c5b92f time="2026-09-17T09:49:07Z" msg="200 OK: GET https://127.0.0.1:33897/core/v4/labels?T" /client userID=89bc25d7-a011-4c92-972d-27d904c5b92f time="2026-09-17T09:49:07Z" msg="200 OK: GET https://127.0.0.1:33897/core/v4/labels?T" /client userID=89bc25d7-a011-4c92-972d-27d904c5b92f time="2026-09-17T09:49:07Z" msg="Setting labels" labelIDs="[0 1 4 6 7 8 12 2 3 5 9 10 b4c26bb7-1ed9-411d-bf7e-5ed033aa587c 27ffc3d3-43b7-4b6b-8473-107d26d8d988 0390bf99-e5aa-4aa5-a860-1ef71a347e15]" time="2026-09-17T09:49:07Z" msg="Adding user to imap server" addrID=9b87eb9b-7029-4b43-ab7d-471ef568a2c5 time="2026-09-17T09:49:07Z" msg="Creating new IMAP user" addrID=9b87eb9b-7029-4b43-ab7d-471ef568a2c5 time="2026-09-17T09:49:07Z" msg="Setting gluon ID" addrID=9b87eb9b-7029-4b43-ab7d-471ef568a2c5 gluonID=66906b4a-aba5-422b-ab5a-7d887d4b5539 userID=89bc25d7-a011-4c92-972d-27d904c5b92f time="2026-09-17T09:49:07Z" msg="Created new IMAP user" addrID=9b87eb9b-7029-4b43-ab7d-471ef568a2c5 gluonID=66906b4a-aba5-422b-ab5a-7d887d4b5539 time="2026-09-17T09:49:07Z" msg="Validating Listener State" time="2026-09-17T09:49:07Z" time="2026-09-17T09:49:07Z" msg="Received mailbox message count" gluonID=66906b4a-aba5-422b-ab5a-7d887d4b5539 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:49:07Z" msg="Starting IMAP Service" time="2026-09-17T09:49:07Z" msg="Checking whether logged in user should re-sync. UserID:89bc25d7-a011-4c92-972d-27d904c5b92f" userID=89bc25d7-a011-4c92-972d-27d904c5b92f time="2026-09-17T09:49:07Z" msg="Sync triggered" time="2026-09-17T09:49:07Z" msg="Beginning user sync" start="2026-09-17 09:49:07.041271598 +0000 UTC m=+235.533573934" time="2026-09-17T09:49:07Z" msg="Syncing labels" time="2026-09-17T09:49:07Z" msg="Label not found in DB, creating mailbox." labelID=0390bf99-e5aa-4aa5-a860-1ef71a347e15 labelPath="AUFssb0Jn4BktyyOswfmjNccbC5+NIS37B9EgC88SIg=" numberOfC /labelConflictResolver time="2026-09-17T09:49:07Z" msg="Label not found in DB, creating mailbox." labelID=b4c26bb7-1ed9-411d-bf7e-5ed033aa587c labelPath="jm2pV8GS7FVFPTesFaU5jW/EhDgcEQCxeWTMDFRvNjU=" numberOfC /labelConflictResolver time="2026-09-17T09:49:07Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=66906b4a-aba5-422b-ab5a-7d887d4b5539 time="2026-09-17T09:49:07Z" msg="Label not found in DB, creating mailbox." labelID=27ffc3d3-43b7-4b6b-8473-107d26d8d988 labelPath="mHoyd+am6bmNoUvxRZ/ZRvBIQnwu+1OQWf1jSR3oA+s=" numberOfC /labelConflictResolver time="2026-09-17T09:49:07Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=66906b4a-aba5-422b-ab5a-7d887d4b5539 time="2026-09-17T09:49:07Z" msg="Mailbox created" /user remoteMailboxID=4 userID=66906b4a-aba5-422b-ab5a-7d887d4b5539 time="2026-09-17T09:49:07Z" msg="Mailbox created" /user remoteMailboxID=12 userID=66906b4a-aba5-422b-ab5a-7d887d4b5539 time="2026-09-17T09:49:07Z" msg="Mailbox created" /user remoteMailboxID=10 userID=66906b4a-aba5-422b-ab5a-7d887d4b5539 time="2026-09-17T09:49:07Z" msg="Mailbox created" /user remoteMailboxID=0390bf99-e5aa-4aa5-a860-1ef71a347e15 userID=66906b4a-aba5-422b-ab5a-7d887d4b5539 time="2026-09-17T09:49:07Z" msg="Mailbox created" /user remoteMailboxID=8 userID=66906b4a-aba5-422b-ab5a-7d887d4b5539 time="2026-09-17T09:49:07Z" msg="Mailbox created" /user remoteMailboxID=3 userID=66906b4a-aba5-422b-ab5a-7d887d4b5539 time="2026-09-17T09:49:07Z" msg="Mailbox created" /user remoteMailboxID=7 userID=66906b4a-aba5-422b-ab5a-7d887d4b5539 time="2026-09-17T09:49:07Z" msg="Mailbox created" /user remoteMailboxID=5 userID=66906b4a-aba5-422b-ab5a-7d887d4b5539 time="2026-09-17T09:49:07Z" msg="Mailbox created" /user remoteMailboxID=b4c26bb7-1ed9-411d-bf7e-5ed033aa587c userID=66906b4a-aba5-422b-ab5a-7d887d4b5539 time="2026-09-17T09:49:07Z" msg="Mailbox created" /user remoteMailboxID=27ffc3d3-43b7-4b6b-8473-107d26d8d988 userID=66906b4a-aba5-422b-ab5a-7d887d4b5539 time="2026-09-17T09:49:07Z" msg="Mailbox created" /user remoteMailboxID=6 userID=66906b4a-aba5-422b-ab5a-7d887d4b5539 time="2026-09-17T09:49:07Z" msg="Mailbox created" /user remoteMailboxID=0 userID=66906b4a-aba5-422b-ab5a-7d887d4b5539 time="2026-09-17T09:49:07Z" msg="Synced labels" time="2026-09-17T09:49:07Z" msg="200 OK: GET https://127.0.0.1:33897/mail/v4/messages/count" /client userID=89bc25d7-a011-4c92-972d-27d904c5b92f time="2026-09-17T09:49:07Z" msg="Syncing messages" time="2026-09-17T09:49:07Z" msg="Job started" time="2026-09-17T09:49:07Z" msg="200 OK: POST https://127.0.0.1:33897/mail/v4/messages" /client userID=89bc25d7-a011-4c92-972d-27d904c5b92f time="2026-09-17T09:49:07Z" msg="200 OK: POST https://127.0.0.1:33897/mail/v4/messages" /client userID=89bc25d7-a011-4c92-972d-27d904c5b92f time="2026-09-17T09:49:07Z" msg="Creating new child job" time="2026-09-17T09:49:07Z" msg="Job finished" time="2026-09-17T09:49:07Z" msg="200 OK: GET https://127.0.0.1:33897/mail/v4/messages/59769baa-c8e9-4bd4-9b38-164086358764" /client userID=89bc25d7-a011-4c92-972d-27d904c5b92f time="2026-09-17T09:49:07Z" msg="200 OK: GET https://127.0.0.1:33897/mail/v4/messages/7147618b-1bbf-4dc3-af7c-bd2c31f53dbf" /client userID=89bc25d7-a011-4c92-972d-27d904c5b92f time="2026-09-17T09:49:07Z" msg="200 OK: GET https://127.0.0.1:33897/mail/v4/messages/de44390b-6cf8-4467-b19f-c2d2bc06e797" /client userID=89bc25d7-a011-4c92-972d-27d904c5b92f time="2026-09-17T09:49:07Z" msg="200 OK: GET https://127.0.0.1:33897/mail/v4/messages/aaec9f7e-8ee6-4c51-a7a2-04a2c129449b" /client userID=89bc25d7-a011-4c92-972d-27d904c5b92f time="2026-09-17T09:49:07Z" msg="Sending observability data." time="2026-09-17T09:49:07Z" msg="200 OK: POST https://127.0.0.1:33897/data/v1/metrics" /client userID=89bc25d7-a011-4c92-972d-27d904c5b92f time="2026-09-17T09:49:07Z" msg="Successfully sent observability data." time="2026-09-17T09:49:07Z" msg="Scheduling observability data sending" time="2026-09-17T09:49:07Z" msg="Child job finished" time="2026-09-17T09:49:07Z" msg="All child jobs completed" sync- time="2026-09-17T09:49:07Z" msg="Synced messages" time="2026-09-17T09:49:07Z" msg="Finished user sync" .648713ms time="2026-09-17T09:49:07Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:49:07Z" msg="Event loop reset" eventID="Bw==" time="2026-09-17T09:49:07Z" msg="200 OK: PUT https://127.0.0.1:33897/mail/v4/messages/label" /client userID=89bc25d7-a011-4c92-972d-27d904c5b92f time="2026-09-17T09:49:07Z" msg="200 OK: PUT https://127.0.0.1:33897/mail/v4/messages/unlabel" /client userID=89bc25d7-a011-4c92-972d-27d904c5b92f Scenario: Move message from label to label # features/imap/message/move.feature:61 When IMAP client "1" moves the message with subject "baz" from "Labels/label2" to "Labels/label" # :1 -> *scenario And it succeeds # :1 -> *scenario And IMAP client "1" eventually sees the following messages in "Labels/label": # :1 -> *scenario | from | to | subject | unread | | john.doe@mail.com | 98a199c1-120b-4d62-98e0-3c967e9d8091@proton.local | baz | false | time="2026-09-17T09:49:07Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 4} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:49:07Z" msg="Frontend service stopped" time="2026-09-17T09:49:07Z" msg="Frontend client stopped" time="2026-09-17T09:49:07Z" msg="Closing bridge" time="2026-09-17T09:49:07Z" msg="Stopping service" time="2026-09-17T09:49:07Z" msg="Closing user" userID=89bc25d7-a011-4c92-972d-27d904c5b92f time="2026-09-17T09:49:07Z" msg="De-registering user client, ID:89bc25d7-a011-4c92-972d-27d904c5b92f" time="2026-09-17T09:49:07Z" msg="Exiting IMAP Service" time="2026-09-17T09:49:07Z" msg="Exiting service main loop" time="2026-09-17T09:49:07Z" msg="Exiting service main loop" time="2026-09-17T09:49:07Z" msg="Exiting Service" time="2026-09-17T09:49:07Z" msg="Exiting service main loop" time="2026-09-17T09:49:07Z" msg="Exiting service" time="2026-09-17T09:49:07Z" msg="Closing IMAP Listener" time="2026-09-17T09:49:07Z" msg="Closing IMAP server" time="2026-09-17T09:49:07Z" msg="Closing SMTP Listener" time="2026-09-17T09:49:07Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:49:07Z" msg="Closing SMTP server" time="2026-09-17T09:49:07Z" msg="Closing service" And IMAP client "1" eventually sees 0 messages in "Labels/label2" # :1 -> *scenario time="2026-09-17T09:49:07Z" msg="User '90c88ebf-4fe9-4a54-8cb0-7006a89c14ea' created with " /server/backend time="2026-09-17T09:49:10Z" msg="Starting bridge" time="2026-09-17T09:49:10Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/118/config281386618/grpcFocusServerConfig.json /service time="2026-09-17T09:49:10Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/118/cache2688464417/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:49:10Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/118/cache2688464417/notifications/notification_cache: no such file or directory" time="2026-09-17T09:49:10Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/118/data542237624/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/118/data542237624/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:49:10Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:49:10Z" msg="Starting IMAP server" time="2026-09-17T09:49:10Z" msg="Starting SMTP server" time="2026-09-17T09:49:10Z" msg="Starting service" time="2026-09-17T09:49:10Z" msg="Starting service" time="2026-09-17T09:49:10Z" msg="Starting receiver service" time="2026-09-17T09:49:10Z" msg="Checking for updates" time="2026-09-17T09:49:10Z" msg="Loading users" /user time="2026-09-17T09:49:10Z" msg="Starting poll service" time="2026-09-17T09:49:10Z" msg="Finished loading users" /user time="2026-09-17T09:49:10Z" msg="Starting frontend service" time="2026-09-17T09:49:10Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/118/config281386618/grpcServerConfig.json time="2026-09-17T09:49:10Z" msg="gRPC server listening on /tmp/bridge6905" time="2026-09-17T09:49:10Z" msg="Frontend service started" time="2026-09-17T09:49:10Z" msg="Starting frontend client" time="2026-09-17T09:49:10Z" msg="Not monitoring parent PID" time="2026-09-17T09:49:10Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:49:10Z" msg="Frontend client started" time="2026-09-17T09:49:10Z" msg="Performing full user login" /user username="******** (44763d46)" time="2026-09-17T09:49:10Z" msg="Authorizing user for login" /user username="******** (44763d46)" time="2026-09-17T09:49:10Z" msg="200 OK: GET https://127.0.0.1:38857/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:49:10Z" msg="200 OK: POST https://127.0.0.1:38857/auth/v4/info" /manager time="2026-09-17T09:49:11Z" msg="200 OK: POST https://127.0.0.1:38857/auth/v4" /manager time="2026-09-17T09:49:11Z" msg="Logging in authorized user" /user userID=f9cb3a7e-8749-4bad-b244-96b7947b22e1 time="2026-09-17T09:49:11Z" msg="Adding vault user" userID=f9cb3a7e-8749-4bad-b244-96b7947b22e1 time="2026-09-17T09:49:11Z" msg="Creating new user" userID=f9cb3a7e-8749-4bad-b244-96b7947b22e1 time="2026-09-17T09:49:11Z" msg="404 GET https://127.0.0.1:38857/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:49:11Z" msg="404 GET https://127.0.0.1:38857/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:49:11Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:38857/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:49:11Z" msg="Creating user object" authUID=2df2e600-a209-4471-ae19-b02658ec6604 numA numL userID=f9cb3a7e-8749-4bad-b244-96b7947b22e1 time="2026-09-17T09:49:11Z" msg="200 OK: GET https://127.0.0.1:38857/core/v4/events/latest" /client userID=f9cb3a7e-8749-4bad-b244-96b7947b22e1 time="2026-09-17T09:49:11Z" msg="Starting service Last EventID=Bw==" time="2026-09-17T09:49:11Z" msg="200 OK: GET https://127.0.0.1:38857/core/v4/settings" /client userID=f9cb3a7e-8749-4bad-b244-96b7947b22e1 time="2026-09-17T09:49:11Z" msg="Registering user client, ID:f9cb3a7e-8749-4bad-b244-96b7947b22e1" time="2026-09-17T09:49:11Z" msg="Starting service main loop" time="2026-09-17T09:49:11Z" msg="Starting service main loop" time="2026-09-17T09:49:11Z" msg="Starting user identity service" numA time="2026-09-17T09:49:11Z" msg="Starting service main loop" time="2026-09-17T09:49:11Z" msg="200 OK: GET https://127.0.0.1:38857/core/v4/labels?T" /client userID=f9cb3a7e-8749-4bad-b244-96b7947b22e1 time="2026-09-17T09:49:11Z" msg="200 OK: GET https://127.0.0.1:38857/core/v4/labels?T" /client userID=f9cb3a7e-8749-4bad-b244-96b7947b22e1 time="2026-09-17T09:49:11Z" msg="200 OK: GET https://127.0.0.1:38857/core/v4/labels?T" /client userID=f9cb3a7e-8749-4bad-b244-96b7947b22e1 time="2026-09-17T09:49:11Z" msg="Setting labels" labelIDs="[9 10 12 0 1 2 3 5 6 8 4 7 b4c2514f-be5e-459d-958c-6fc18a105f8b 1365605e-6985-46b2-b55f-c16eda67b258 83a056bb-947d-4818-aef0-7a6943a02a07]" time="2026-09-17T09:49:11Z" msg="Adding user to imap server" addrID=1d370bed-5448-4cbb-9adb-948539954934 time="2026-09-17T09:49:11Z" msg="Creating new IMAP user" addrID=1d370bed-5448-4cbb-9adb-948539954934 time="2026-09-17T09:49:11Z" msg="Setting gluon ID" addrID=1d370bed-5448-4cbb-9adb-948539954934 gluonID=a8e3d473-db41-427c-a192-112b396d0d4e userID=f9cb3a7e-8749-4bad-b244-96b7947b22e1 time="2026-09-17T09:49:11Z" msg="Created new IMAP user" addrID=1d370bed-5448-4cbb-9adb-948539954934 gluonID=a8e3d473-db41-427c-a192-112b396d0d4e time="2026-09-17T09:49:11Z" msg="Validating Listener State" time="2026-09-17T09:49:11Z" time="2026-09-17T09:49:11Z" msg="Received mailbox message count" gluonID=a8e3d473-db41-427c-a192-112b396d0d4e labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:49:11Z" msg="Starting IMAP Service" time="2026-09-17T09:49:11Z" msg="Checking whether logged in user should re-sync. UserID:f9cb3a7e-8749-4bad-b244-96b7947b22e1" userID=f9cb3a7e-8749-4bad-b244-96b7947b22e1 time="2026-09-17T09:49:11Z" msg="Sync triggered" time="2026-09-17T09:49:11Z" msg="Beginning user sync" start="2026-09-17 09:49:11.134494475 +0000 UTC m=+239.626796771" time="2026-09-17T09:49:11Z" msg="Syncing labels" time="2026-09-17T09:49:11Z" msg="Label not found in DB, creating mailbox." labelID=b4c2514f-be5e-459d-958c-6fc18a105f8b labelPath="jm2pV8GS7FVFPTesFaU5jW/EhDgcEQCxeWTMDFRvNjU=" numberOfC /labelConflictResolver time="2026-09-17T09:49:11Z" msg="Label not found in DB, creating mailbox." labelID=1365605e-6985-46b2-b55f-c16eda67b258 labelPath="mHoyd+am6bmNoUvxRZ/ZRvBIQnwu+1OQWf1jSR3oA+s=" numberOfC /labelConflictResolver time="2026-09-17T09:49:11Z" msg="Label not found in DB, creating mailbox." labelID=83a056bb-947d-4818-aef0-7a6943a02a07 labelPath="AUFssb0Jn4BktyyOswfmjNccbC5+NIS37B9EgC88SIg=" numberOfC /labelConflictResolver time="2026-09-17T09:49:11Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=a8e3d473-db41-427c-a192-112b396d0d4e time="2026-09-17T09:49:11Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=a8e3d473-db41-427c-a192-112b396d0d4e time="2026-09-17T09:49:11Z" msg="Mailbox created" /user remoteMailboxID=0 userID=a8e3d473-db41-427c-a192-112b396d0d4e time="2026-09-17T09:49:11Z" msg="Mailbox created" /user remoteMailboxID=3 userID=a8e3d473-db41-427c-a192-112b396d0d4e time="2026-09-17T09:49:11Z" msg="Mailbox created" /user remoteMailboxID=5 userID=a8e3d473-db41-427c-a192-112b396d0d4e time="2026-09-17T09:49:11Z" msg="Mailbox created" /user remoteMailboxID=4 userID=a8e3d473-db41-427c-a192-112b396d0d4e time="2026-09-17T09:49:11Z" msg="Mailbox created" /user remoteMailboxID=8 userID=a8e3d473-db41-427c-a192-112b396d0d4e time="2026-09-17T09:49:11Z" msg="Mailbox created" /user remoteMailboxID=10 userID=a8e3d473-db41-427c-a192-112b396d0d4e time="2026-09-17T09:49:11Z" msg="Mailbox created" /user remoteMailboxID=b4c2514f-be5e-459d-958c-6fc18a105f8b userID=a8e3d473-db41-427c-a192-112b396d0d4e time="2026-09-17T09:49:11Z" msg="Mailbox created" /user remoteMailboxID=12 userID=a8e3d473-db41-427c-a192-112b396d0d4e time="2026-09-17T09:49:11Z" msg="Mailbox created" /user remoteMailboxID=6 userID=a8e3d473-db41-427c-a192-112b396d0d4e time="2026-09-17T09:49:11Z" msg="Mailbox created" /user remoteMailboxID=7 userID=a8e3d473-db41-427c-a192-112b396d0d4e time="2026-09-17T09:49:11Z" msg="Mailbox created" /user remoteMailboxID=1365605e-6985-46b2-b55f-c16eda67b258 userID=a8e3d473-db41-427c-a192-112b396d0d4e time="2026-09-17T09:49:11Z" msg="Mailbox created" /user remoteMailboxID=83a056bb-947d-4818-aef0-7a6943a02a07 userID=a8e3d473-db41-427c-a192-112b396d0d4e time="2026-09-17T09:49:11Z" msg="Synced labels" time="2026-09-17T09:49:11Z" msg="200 OK: GET https://127.0.0.1:38857/mail/v4/messages/count" /client userID=f9cb3a7e-8749-4bad-b244-96b7947b22e1 time="2026-09-17T09:49:11Z" msg="Syncing messages" time="2026-09-17T09:49:11Z" msg="Job started" time="2026-09-17T09:49:11Z" msg="200 OK: POST https://127.0.0.1:38857/mail/v4/messages" /client userID=f9cb3a7e-8749-4bad-b244-96b7947b22e1 time="2026-09-17T09:49:11Z" msg="200 OK: POST https://127.0.0.1:38857/mail/v4/messages" /client userID=f9cb3a7e-8749-4bad-b244-96b7947b22e1 time="2026-09-17T09:49:11Z" msg="Creating new child job" time="2026-09-17T09:49:11Z" msg="Job finished" time="2026-09-17T09:49:11Z" msg="200 OK: GET https://127.0.0.1:38857/mail/v4/messages/d02ea14a-3475-4386-9677-311859a975fc" /client userID=f9cb3a7e-8749-4bad-b244-96b7947b22e1 time="2026-09-17T09:49:11Z" msg="200 OK: GET https://127.0.0.1:38857/mail/v4/messages/c2cca51c-af68-424a-a31b-ca62321372a7" /client userID=f9cb3a7e-8749-4bad-b244-96b7947b22e1 time="2026-09-17T09:49:11Z" msg="200 OK: GET https://127.0.0.1:38857/mail/v4/messages/80e37e2f-0e2b-4a40-8110-0dc0e2ba6e08" /client userID=f9cb3a7e-8749-4bad-b244-96b7947b22e1 time="2026-09-17T09:49:11Z" msg="200 OK: GET https://127.0.0.1:38857/mail/v4/messages/07fd9537-c2a9-4a53-bfed-12332b4f00e2" /client userID=f9cb3a7e-8749-4bad-b244-96b7947b22e1 time="2026-09-17T09:49:11Z" msg="Sending observability data." time="2026-09-17T09:49:11Z" msg="200 OK: POST https://127.0.0.1:38857/data/v1/metrics" /client userID=f9cb3a7e-8749-4bad-b244-96b7947b22e1 time="2026-09-17T09:49:11Z" msg="Successfully sent observability data." time="2026-09-17T09:49:11Z" msg="Scheduling observability data sending" time="2026-09-17T09:49:11Z" msg="Child job finished" time="2026-09-17T09:49:11Z" msg="All child jobs completed" sync- time="2026-09-17T09:49:11Z" msg="Synced messages" time="2026-09-17T09:49:11Z" msg="Finished user sync" .302312ms time="2026-09-17T09:49:11Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:49:11Z" msg="Event loop reset" eventID="Bw==" time="2026-09-17T09:49:11Z" msg="200 OK: PUT https://127.0.0.1:38857/mail/v4/messages/label" /client userID=f9cb3a7e-8749-4bad-b244-96b7947b22e1 time="2026-09-17T09:49:11Z" msg="200 OK: PUT https://127.0.0.1:38857/mail/v4/messages/unlabel" /client userID=f9cb3a7e-8749-4bad-b244-96b7947b22e1 Scenario: Move message from system label to system label # features/imap/message/move.feature:69 When IMAP client "1" moves the message with subject "foo" from "INBOX" to "Trash" # :1 -> *scenario And it succeeds # :1 -> *scenario And IMAP client "1" eventually sees the following messages in "INBOX": # :1 -> *scenario | from | to | subject | unread | | jane.doe@mail.com | name@proton.local | bar | true | time="2026-09-17T09:49:11Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 7} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:49:11Z" msg="Frontend service stopped" time="2026-09-17T09:49:11Z" msg="Frontend client stopped" time="2026-09-17T09:49:11Z" msg="Closing bridge" time="2026-09-17T09:49:11Z" msg="Stopping service" time="2026-09-17T09:49:11Z" msg="Closing user" userID=f9cb3a7e-8749-4bad-b244-96b7947b22e1 time="2026-09-17T09:49:11Z" msg="De-registering user client, ID:f9cb3a7e-8749-4bad-b244-96b7947b22e1" time="2026-09-17T09:49:11Z" msg="Exiting IMAP Service" time="2026-09-17T09:49:11Z" msg="Exiting service main loop" time="2026-09-17T09:49:11Z" msg="Exiting service main loop" time="2026-09-17T09:49:11Z" msg="Exiting Service" time="2026-09-17T09:49:11Z" msg="Exiting service main loop" time="2026-09-17T09:49:11Z" msg="Exiting service" time="2026-09-17T09:49:11Z" msg="Closing IMAP Listener" time="2026-09-17T09:49:11Z" msg="Closing IMAP server" time="2026-09-17T09:49:11Z" msg="Closing SMTP Listener" time="2026-09-17T09:49:11Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:49:11Z" msg="Closing SMTP server" time="2026-09-17T09:49:11Z" msg="Closing service" And IMAP client "1" eventually sees the following messages in "Trash": # :1 -> *scenario | from | to | subject | unread | | john.doe@mail.com | 90c88ebf-4fe9-4a54-8cb0-7006a89c14ea@proton.local | foo | false | time="2026-09-17T09:49:11Z" msg="User '2e9a5de8-5ebd-49f8-811d-234fc82b20c6' created with " /server/backend time="2026-09-17T09:49:14Z" msg="Starting bridge" time="2026-09-17T09:49:14Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/119/config280383317/grpcFocusServerConfig.json /service time="2026-09-17T09:49:14Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/119/cache2224273864/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:49:14Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/119/cache2224273864/notifications/notification_cache: no such file or directory" time="2026-09-17T09:49:14Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/119/data3983066461/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/119/data3983066461/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:49:14Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:49:14Z" msg="Starting IMAP server" time="2026-09-17T09:49:14Z" msg="Starting SMTP server" time="2026-09-17T09:49:14Z" msg="Starting service" time="2026-09-17T09:49:14Z" msg="Starting service" time="2026-09-17T09:49:14Z" msg="Starting poll service" time="2026-09-17T09:49:14Z" msg="Loading users" /user time="2026-09-17T09:49:14Z" msg="Finished loading users" /user time="2026-09-17T09:49:14Z" msg="Starting frontend service" time="2026-09-17T09:49:14Z" msg="Starting receiver service" time="2026-09-17T09:49:14Z" msg="Checking for updates" time="2026-09-17T09:49:14Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/119/config280383317/grpcServerConfig.json time="2026-09-17T09:49:14Z" msg="gRPC server listening on /tmp/bridge7756" time="2026-09-17T09:49:14Z" msg="Frontend service started" time="2026-09-17T09:49:14Z" msg="Starting frontend client" time="2026-09-17T09:49:14Z" msg="Not monitoring parent PID" time="2026-09-17T09:49:14Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:49:14Z" msg="Frontend client started" time="2026-09-17T09:49:14Z" msg="Performing full user login" /user username="******** (b5f81519)" time="2026-09-17T09:49:14Z" msg="Authorizing user for login" /user username="******** (b5f81519)" time="2026-09-17T09:49:14Z" msg="200 OK: GET https://127.0.0.1:41155/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:49:14Z" msg="200 OK: POST https://127.0.0.1:41155/auth/v4/info" /manager time="2026-09-17T09:49:15Z" msg="200 OK: POST https://127.0.0.1:41155/auth/v4" /manager time="2026-09-17T09:49:15Z" msg="Logging in authorized user" /user userID=95450a0b-a108-4c6f-ae3d-3e79e9e333f4 time="2026-09-17T09:49:15Z" msg="Adding vault user" userID=95450a0b-a108-4c6f-ae3d-3e79e9e333f4 time="2026-09-17T09:49:15Z" msg="Creating new user" userID=95450a0b-a108-4c6f-ae3d-3e79e9e333f4 time="2026-09-17T09:49:15Z" msg="404 GET https://127.0.0.1:41155/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:49:15Z" msg="404 GET https://127.0.0.1:41155/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:49:15Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:41155/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:49:15Z" msg="Creating user object" authUID=81445b68-a787-4e80-b140-99064f68bab0 numA numL userID=95450a0b-a108-4c6f-ae3d-3e79e9e333f4 time="2026-09-17T09:49:15Z" msg="200 OK: GET https://127.0.0.1:41155/core/v4/events/latest" /client userID=95450a0b-a108-4c6f-ae3d-3e79e9e333f4 time="2026-09-17T09:49:15Z" msg="Starting service Last EventID=Bw==" time="2026-09-17T09:49:15Z" msg="200 OK: GET https://127.0.0.1:41155/core/v4/settings" /client userID=95450a0b-a108-4c6f-ae3d-3e79e9e333f4 time="2026-09-17T09:49:15Z" msg="Registering user client, ID:95450a0b-a108-4c6f-ae3d-3e79e9e333f4" time="2026-09-17T09:49:15Z" msg="Starting service main loop" time="2026-09-17T09:49:15Z" msg="Starting user identity service" numA time="2026-09-17T09:49:15Z" msg="Starting service main loop" time="2026-09-17T09:49:15Z" msg="Starting service main loop" time="2026-09-17T09:49:15Z" msg="200 OK: GET https://127.0.0.1:41155/core/v4/labels?T" /client userID=95450a0b-a108-4c6f-ae3d-3e79e9e333f4 time="2026-09-17T09:49:15Z" msg="200 OK: GET https://127.0.0.1:41155/core/v4/labels?T" /client userID=95450a0b-a108-4c6f-ae3d-3e79e9e333f4 time="2026-09-17T09:49:15Z" msg="200 OK: GET https://127.0.0.1:41155/core/v4/labels?T" /client userID=95450a0b-a108-4c6f-ae3d-3e79e9e333f4 time="2026-09-17T09:49:15Z" msg="Setting labels" labelIDs="[0 1 2 4 6 9 10 3 5 7 8 12 afc1848d-9dcf-4ead-9691-b28f97f98dd7 85b1d810-7e71-492b-8c53-7c9c297452c7 e7ecf44f-3327-4e7d-b20b-9e486cf5a696]" time="2026-09-17T09:49:15Z" msg="Adding user to imap server" addrID=94a69005-527f-4869-a47a-a61cd7259729 time="2026-09-17T09:49:15Z" msg="Creating new IMAP user" addrID=94a69005-527f-4869-a47a-a61cd7259729 time="2026-09-17T09:49:15Z" msg="Setting gluon ID" addrID=94a69005-527f-4869-a47a-a61cd7259729 gluonID=6e113b2f-7d27-4b4d-9aaa-3f3d39fb633f userID=95450a0b-a108-4c6f-ae3d-3e79e9e333f4 time="2026-09-17T09:49:15Z" msg="Received mailbox message count" gluonID=6e113b2f-7d27-4b4d-9aaa-3f3d39fb633f labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:49:15Z" msg="Created new IMAP user" addrID=94a69005-527f-4869-a47a-a61cd7259729 gluonID=6e113b2f-7d27-4b4d-9aaa-3f3d39fb633f time="2026-09-17T09:49:15Z" msg="Validating Listener State" time="2026-09-17T09:49:15Z" time="2026-09-17T09:49:15Z" msg="Starting IMAP Service" time="2026-09-17T09:49:15Z" msg="Checking whether logged in user should re-sync. UserID:95450a0b-a108-4c6f-ae3d-3e79e9e333f4" userID=95450a0b-a108-4c6f-ae3d-3e79e9e333f4 time="2026-09-17T09:49:15Z" msg="Sync triggered" time="2026-09-17T09:49:15Z" msg="Beginning user sync" start="2026-09-17 09:49:15.183622161 +0000 UTC m=+243.675924497" time="2026-09-17T09:49:15Z" msg="Syncing labels" time="2026-09-17T09:49:15Z" msg="Label not found in DB, creating mailbox." labelID=afc1848d-9dcf-4ead-9691-b28f97f98dd7 labelPath="jm2pV8GS7FVFPTesFaU5jW/EhDgcEQCxeWTMDFRvNjU=" numberOfC /labelConflictResolver time="2026-09-17T09:49:15Z" msg="Label not found in DB, creating mailbox." labelID=e7ecf44f-3327-4e7d-b20b-9e486cf5a696 labelPath="AUFssb0Jn4BktyyOswfmjNccbC5+NIS37B9EgC88SIg=" numberOfC /labelConflictResolver time="2026-09-17T09:49:15Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=6e113b2f-7d27-4b4d-9aaa-3f3d39fb633f time="2026-09-17T09:49:15Z" msg="Label not found in DB, creating mailbox." labelID=85b1d810-7e71-492b-8c53-7c9c297452c7 labelPath="mHoyd+am6bmNoUvxRZ/ZRvBIQnwu+1OQWf1jSR3oA+s=" numberOfC /labelConflictResolver time="2026-09-17T09:49:15Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=6e113b2f-7d27-4b4d-9aaa-3f3d39fb633f time="2026-09-17T09:49:15Z" msg="Mailbox created" /user remoteMailboxID=6 userID=6e113b2f-7d27-4b4d-9aaa-3f3d39fb633f time="2026-09-17T09:49:15Z" msg="Mailbox created" /user remoteMailboxID=3 userID=6e113b2f-7d27-4b4d-9aaa-3f3d39fb633f time="2026-09-17T09:49:15Z" msg="Mailbox created" /user remoteMailboxID=afc1848d-9dcf-4ead-9691-b28f97f98dd7 userID=6e113b2f-7d27-4b4d-9aaa-3f3d39fb633f time="2026-09-17T09:49:15Z" msg="Mailbox created" /user remoteMailboxID=e7ecf44f-3327-4e7d-b20b-9e486cf5a696 userID=6e113b2f-7d27-4b4d-9aaa-3f3d39fb633f time="2026-09-17T09:49:15Z" msg="Mailbox created" /user remoteMailboxID=0 userID=6e113b2f-7d27-4b4d-9aaa-3f3d39fb633f time="2026-09-17T09:49:15Z" msg="Mailbox created" /user remoteMailboxID=7 userID=6e113b2f-7d27-4b4d-9aaa-3f3d39fb633f time="2026-09-17T09:49:15Z" msg="Mailbox created" /user remoteMailboxID=12 userID=6e113b2f-7d27-4b4d-9aaa-3f3d39fb633f time="2026-09-17T09:49:15Z" msg="Mailbox created" /user remoteMailboxID=10 userID=6e113b2f-7d27-4b4d-9aaa-3f3d39fb633f time="2026-09-17T09:49:15Z" msg="Mailbox created" /user remoteMailboxID=5 userID=6e113b2f-7d27-4b4d-9aaa-3f3d39fb633f time="2026-09-17T09:49:15Z" msg="Mailbox created" /user remoteMailboxID=8 userID=6e113b2f-7d27-4b4d-9aaa-3f3d39fb633f time="2026-09-17T09:49:15Z" msg="Mailbox created" /user remoteMailboxID=4 userID=6e113b2f-7d27-4b4d-9aaa-3f3d39fb633f time="2026-09-17T09:49:15Z" msg="Mailbox created" /user remoteMailboxID=85b1d810-7e71-492b-8c53-7c9c297452c7 userID=6e113b2f-7d27-4b4d-9aaa-3f3d39fb633f time="2026-09-17T09:49:15Z" msg="Synced labels" time="2026-09-17T09:49:15Z" msg="200 OK: GET https://127.0.0.1:41155/mail/v4/messages/count" /client userID=95450a0b-a108-4c6f-ae3d-3e79e9e333f4 time="2026-09-17T09:49:15Z" msg="Syncing messages" time="2026-09-17T09:49:15Z" msg="Job started" time="2026-09-17T09:49:15Z" msg="200 OK: POST https://127.0.0.1:41155/mail/v4/messages" /client userID=95450a0b-a108-4c6f-ae3d-3e79e9e333f4 time="2026-09-17T09:49:15Z" msg="200 OK: POST https://127.0.0.1:41155/mail/v4/messages" /client userID=95450a0b-a108-4c6f-ae3d-3e79e9e333f4 time="2026-09-17T09:49:15Z" msg="Creating new child job" time="2026-09-17T09:49:15Z" msg="Job finished" time="2026-09-17T09:49:15Z" msg="200 OK: GET https://127.0.0.1:41155/mail/v4/messages/25a8fe20-b6bc-481e-b7b0-af17fdc3a7d8" /client userID=95450a0b-a108-4c6f-ae3d-3e79e9e333f4 time="2026-09-17T09:49:15Z" msg="200 OK: GET https://127.0.0.1:41155/mail/v4/messages/4da26e82-bda0-43e0-bcf4-04bac90baced" /client userID=95450a0b-a108-4c6f-ae3d-3e79e9e333f4 time="2026-09-17T09:49:15Z" msg="200 OK: GET https://127.0.0.1:41155/mail/v4/messages/5d14cdc9-ce85-4707-b580-bea72d01b5e2" /client userID=95450a0b-a108-4c6f-ae3d-3e79e9e333f4 time="2026-09-17T09:49:15Z" msg="200 OK: GET https://127.0.0.1:41155/mail/v4/messages/56802b9e-76f9-46cd-ae86-7c15a2c9e742" /client userID=95450a0b-a108-4c6f-ae3d-3e79e9e333f4 time="2026-09-17T09:49:15Z" msg="Sending observability data." time="2026-09-17T09:49:15Z" msg="200 OK: POST https://127.0.0.1:41155/data/v1/metrics" /client userID=95450a0b-a108-4c6f-ae3d-3e79e9e333f4 time="2026-09-17T09:49:15Z" msg="Successfully sent observability data." time="2026-09-17T09:49:15Z" msg="Scheduling observability data sending" time="2026-09-17T09:49:15Z" msg="Child job finished" time="2026-09-17T09:49:15Z" msg="All child jobs completed" sync- time="2026-09-17T09:49:15Z" msg="Synced messages" time="2026-09-17T09:49:15Z" msg="Finished user sync" .098733ms time="2026-09-17T09:49:15Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:49:15Z" msg="Event loop reset" eventID="Bw==" time="2026-09-17T09:49:15Z" msg="200 OK: PUT https://127.0.0.1:41155/mail/v4/messages/label" /client userID=95450a0b-a108-4c6f-ae3d-3e79e9e333f4 time="2026-09-17T09:49:15Z" msg="200 OK: PUT https://127.0.0.1:41155/mail/v4/messages/unlabel" /client userID=95450a0b-a108-4c6f-ae3d-3e79e9e333f4 Scenario: Move message from folder to system label # features/imap/message/move.feature:79 When IMAP client "1" moves the message with subject "baz" from "Labels/label2" to "Folders/mbox" # :1 -> *scenario And it succeeds # :1 -> *scenario And IMAP client "1" eventually sees the following messages in "Folders/mbox": # :1 -> *scenario | from | to | subject | unread | | john.doe@mail.com | 2e9a5de8-5ebd-49f8-811d-234fc82b20c6@proton.local | baz | false | time="2026-09-17T09:49:15Z" msg="200 OK: PUT https://127.0.0.1:41155/mail/v4/messages/label" /client userID=95450a0b-a108-4c6f-ae3d-3e79e9e333f4 time="2026-09-17T09:49:15Z" msg="200 OK: PUT https://127.0.0.1:41155/mail/v4/messages/unlabel" /client userID=95450a0b-a108-4c6f-ae3d-3e79e9e333f4 When IMAP client "1" moves the message with subject "baz" from "Folders/mbox" to "Trash" # :1 -> *scenario And it succeeds # :1 -> *scenario time="2026-09-17T09:49:15Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 7} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" And IMAP client "1" eventually sees 0 messages in "Folders/mbox" # :1 -> *scenario time="2026-09-17T09:49:15Z" msg="Frontend service stopped" time="2026-09-17T09:49:15Z" msg="Frontend client stopped" time="2026-09-17T09:49:15Z" msg="Closing bridge" time="2026-09-17T09:49:15Z" msg="Stopping service" time="2026-09-17T09:49:15Z" msg="Closing user" userID=95450a0b-a108-4c6f-ae3d-3e79e9e333f4 time="2026-09-17T09:49:15Z" msg="De-registering user client, ID:95450a0b-a108-4c6f-ae3d-3e79e9e333f4" time="2026-09-17T09:49:15Z" msg="Exiting IMAP Service" time="2026-09-17T09:49:15Z" msg="Exiting service main loop" time="2026-09-17T09:49:15Z" msg="Exiting service main loop" time="2026-09-17T09:49:15Z" msg="Exiting Service" time="2026-09-17T09:49:15Z" msg="Exiting service main loop" time="2026-09-17T09:49:15Z" msg="Exiting service" time="2026-09-17T09:49:15Z" msg="Closing IMAP Listener" time="2026-09-17T09:49:15Z" msg="Closing IMAP server" time="2026-09-17T09:49:15Z" msg="Closing SMTP Listener" time="2026-09-17T09:49:15Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:49:15Z" msg="Closing SMTP server" time="2026-09-17T09:49:15Z" msg="Closing service" And IMAP client "1" eventually sees the following messages in "Trash": # :1 -> *scenario | from | to | subject | unread | | john.doe@mail.com | 2e9a5de8-5ebd-49f8-811d-234fc82b20c6@proton.local | baz | false | time="2026-09-17T09:49:15Z" msg="User '51bf3db9-7d46-4fb6-8953-fe802a068382' created with " /server/backend time="2026-09-17T09:49:18Z" msg="Starting bridge" time="2026-09-17T09:49:18Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/120/config1950271568/grpcFocusServerConfig.json /service time="2026-09-17T09:49:18Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/120/cache4136409730/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:49:18Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/120/cache4136409730/notifications/notification_cache: no such file or directory" time="2026-09-17T09:49:18Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/120/data2973266848/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/120/data2973266848/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:49:18Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:49:18Z" msg="Starting IMAP server" time="2026-09-17T09:49:18Z" msg="Starting SMTP server" time="2026-09-17T09:49:18Z" msg="Starting service" time="2026-09-17T09:49:18Z" msg="Starting service" time="2026-09-17T09:49:18Z" msg="Starting receiver service" time="2026-09-17T09:49:18Z" msg="Starting poll service" time="2026-09-17T09:49:18Z" msg="Checking for updates" time="2026-09-17T09:49:18Z" msg="Loading users" /user time="2026-09-17T09:49:18Z" msg="Starting frontend service" time="2026-09-17T09:49:18Z" msg="Finished loading users" /user time="2026-09-17T09:49:18Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/120/config1950271568/grpcServerConfig.json time="2026-09-17T09:49:18Z" msg="gRPC server listening on /tmp/bridge4589" time="2026-09-17T09:49:18Z" msg="Frontend service started" time="2026-09-17T09:49:18Z" msg="Starting frontend client" time="2026-09-17T09:49:18Z" msg="Not monitoring parent PID" time="2026-09-17T09:49:18Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:49:18Z" msg="200 OK: GET https://127.0.0.1:40917/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:49:18Z" msg="Frontend client started" time="2026-09-17T09:49:18Z" msg="Performing full user login" /user username="******** (63a229b4)" time="2026-09-17T09:49:18Z" msg="Authorizing user for login" /user username="******** (63a229b4)" time="2026-09-17T09:49:18Z" msg="200 OK: POST https://127.0.0.1:40917/auth/v4/info" /manager time="2026-09-17T09:49:19Z" msg="200 OK: POST https://127.0.0.1:40917/auth/v4" /manager time="2026-09-17T09:49:19Z" msg="Logging in authorized user" /user userID=47d1c75f-57e1-4c09-9335-f5139c69ad87 time="2026-09-17T09:49:19Z" msg="Adding vault user" userID=47d1c75f-57e1-4c09-9335-f5139c69ad87 time="2026-09-17T09:49:19Z" msg="Creating new user" userID=47d1c75f-57e1-4c09-9335-f5139c69ad87 time="2026-09-17T09:49:19Z" msg="404 GET https://127.0.0.1:40917/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:49:19Z" msg="404 GET https://127.0.0.1:40917/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:49:19Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:40917/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:49:19Z" msg="Creating user object" authUID=1f413d99-5d87-4afc-bc37-d5f6201484bc numA numL userID=47d1c75f-57e1-4c09-9335-f5139c69ad87 time="2026-09-17T09:49:19Z" msg="200 OK: GET https://127.0.0.1:40917/core/v4/events/latest" /client userID=47d1c75f-57e1-4c09-9335-f5139c69ad87 time="2026-09-17T09:49:19Z" msg="Starting service Last EventID=Bw==" time="2026-09-17T09:49:19Z" msg="200 OK: GET https://127.0.0.1:40917/core/v4/settings" /client userID=47d1c75f-57e1-4c09-9335-f5139c69ad87 time="2026-09-17T09:49:19Z" msg="Registering user client, ID:47d1c75f-57e1-4c09-9335-f5139c69ad87" time="2026-09-17T09:49:19Z" msg="Starting service main loop" time="2026-09-17T09:49:19Z" msg="Starting service main loop" time="2026-09-17T09:49:19Z" msg="Starting user identity service" numA time="2026-09-17T09:49:19Z" msg="Starting service main loop" time="2026-09-17T09:49:19Z" msg="200 OK: GET https://127.0.0.1:40917/core/v4/labels?T" /client userID=47d1c75f-57e1-4c09-9335-f5139c69ad87 time="2026-09-17T09:49:19Z" msg="200 OK: GET https://127.0.0.1:40917/core/v4/labels?T" /client userID=47d1c75f-57e1-4c09-9335-f5139c69ad87 time="2026-09-17T09:49:19Z" msg="200 OK: GET https://127.0.0.1:40917/core/v4/labels?T" /client userID=47d1c75f-57e1-4c09-9335-f5139c69ad87 time="2026-09-17T09:49:19Z" msg="Setting labels" labelIDs="[6 9 12 0 2 3 4 5 7 8 10 1 8e5451da-c554-4dbe-9f4f-bf8ee520574e 7d27d27f-ac80-4936-bfca-511713c1bc00 1b81dfb2-99ef-4add-99ea-4f51fc0718c6]" time="2026-09-17T09:49:19Z" msg="Adding user to imap server" addrID=9107e821-39bc-4c0f-915e-4eda0962e1d0 time="2026-09-17T09:49:19Z" msg="Creating new IMAP user" addrID=9107e821-39bc-4c0f-915e-4eda0962e1d0 time="2026-09-17T09:49:19Z" msg="Setting gluon ID" addrID=9107e821-39bc-4c0f-915e-4eda0962e1d0 gluonID=2d59996d-7c8f-4f28-9fa1-d1b33a0f6fd7 userID=47d1c75f-57e1-4c09-9335-f5139c69ad87 time="2026-09-17T09:49:19Z" msg="Received mailbox message count" gluonID=2d59996d-7c8f-4f28-9fa1-d1b33a0f6fd7 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:49:19Z" msg="Created new IMAP user" addrID=9107e821-39bc-4c0f-915e-4eda0962e1d0 gluonID=2d59996d-7c8f-4f28-9fa1-d1b33a0f6fd7 time="2026-09-17T09:49:19Z" msg="Validating Listener State" time="2026-09-17T09:49:19Z" time="2026-09-17T09:49:19Z" msg="Checking whether logged in user should re-sync. UserID:47d1c75f-57e1-4c09-9335-f5139c69ad87" userID=47d1c75f-57e1-4c09-9335-f5139c69ad87 time="2026-09-17T09:49:19Z" msg="Starting IMAP Service" time="2026-09-17T09:49:19Z" msg="Sync triggered" time="2026-09-17T09:49:19Z" msg="Beginning user sync" start="2026-09-17 09:49:19.333443097 +0000 UTC m=+247.825745433" time="2026-09-17T09:49:19Z" msg="Syncing labels" time="2026-09-17T09:49:19Z" msg="Label not found in DB, creating mailbox." labelID=1b81dfb2-99ef-4add-99ea-4f51fc0718c6 labelPath="AUFssb0Jn4BktyyOswfmjNccbC5+NIS37B9EgC88SIg=" numberOfC /labelConflictResolver time="2026-09-17T09:49:19Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=2d59996d-7c8f-4f28-9fa1-d1b33a0f6fd7 time="2026-09-17T09:49:19Z" msg="Label not found in DB, creating mailbox." labelID=8e5451da-c554-4dbe-9f4f-bf8ee520574e labelPath="jm2pV8GS7FVFPTesFaU5jW/EhDgcEQCxeWTMDFRvNjU=" numberOfC /labelConflictResolver time="2026-09-17T09:49:19Z" msg="Label not found in DB, creating mailbox." labelID=7d27d27f-ac80-4936-bfca-511713c1bc00 labelPath="mHoyd+am6bmNoUvxRZ/ZRvBIQnwu+1OQWf1jSR3oA+s=" numberOfC /labelConflictResolver time="2026-09-17T09:49:19Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=2d59996d-7c8f-4f28-9fa1-d1b33a0f6fd7 time="2026-09-17T09:49:19Z" msg="Mailbox created" /user remoteMailboxID=6 userID=2d59996d-7c8f-4f28-9fa1-d1b33a0f6fd7 time="2026-09-17T09:49:19Z" msg="Mailbox created" /user remoteMailboxID=7 userID=2d59996d-7c8f-4f28-9fa1-d1b33a0f6fd7 time="2026-09-17T09:49:19Z" msg="Mailbox created" /user remoteMailboxID=1b81dfb2-99ef-4add-99ea-4f51fc0718c6 userID=2d59996d-7c8f-4f28-9fa1-d1b33a0f6fd7 time="2026-09-17T09:49:19Z" msg="Mailbox created" /user remoteMailboxID=0 userID=2d59996d-7c8f-4f28-9fa1-d1b33a0f6fd7 time="2026-09-17T09:49:19Z" msg="Mailbox created" /user remoteMailboxID=3 userID=2d59996d-7c8f-4f28-9fa1-d1b33a0f6fd7 time="2026-09-17T09:49:19Z" msg="Mailbox created" /user remoteMailboxID=8 userID=2d59996d-7c8f-4f28-9fa1-d1b33a0f6fd7 time="2026-09-17T09:49:19Z" msg="Mailbox created" /user remoteMailboxID=10 userID=2d59996d-7c8f-4f28-9fa1-d1b33a0f6fd7 time="2026-09-17T09:49:19Z" msg="Mailbox created" /user remoteMailboxID=12 userID=2d59996d-7c8f-4f28-9fa1-d1b33a0f6fd7 time="2026-09-17T09:49:19Z" msg="Mailbox created" /user remoteMailboxID=4 userID=2d59996d-7c8f-4f28-9fa1-d1b33a0f6fd7 time="2026-09-17T09:49:19Z" msg="Mailbox created" /user remoteMailboxID=8e5451da-c554-4dbe-9f4f-bf8ee520574e userID=2d59996d-7c8f-4f28-9fa1-d1b33a0f6fd7 time="2026-09-17T09:49:19Z" msg="Mailbox created" /user remoteMailboxID=7d27d27f-ac80-4936-bfca-511713c1bc00 userID=2d59996d-7c8f-4f28-9fa1-d1b33a0f6fd7 time="2026-09-17T09:49:19Z" msg="Mailbox created" /user remoteMailboxID=5 userID=2d59996d-7c8f-4f28-9fa1-d1b33a0f6fd7 time="2026-09-17T09:49:19Z" msg="Synced labels" time="2026-09-17T09:49:19Z" msg="200 OK: GET https://127.0.0.1:40917/mail/v4/messages/count" /client userID=47d1c75f-57e1-4c09-9335-f5139c69ad87 time="2026-09-17T09:49:19Z" msg="Syncing messages" time="2026-09-17T09:49:19Z" msg="Job started" time="2026-09-17T09:49:19Z" msg="200 OK: POST https://127.0.0.1:40917/mail/v4/messages" /client userID=47d1c75f-57e1-4c09-9335-f5139c69ad87 time="2026-09-17T09:49:19Z" msg="200 OK: POST https://127.0.0.1:40917/mail/v4/messages" /client userID=47d1c75f-57e1-4c09-9335-f5139c69ad87 time="2026-09-17T09:49:19Z" msg="Creating new child job" time="2026-09-17T09:49:19Z" msg="Job finished" time="2026-09-17T09:49:19Z" msg="200 OK: GET https://127.0.0.1:40917/mail/v4/messages/18c3553d-6a20-4b13-afbd-25dd5783be01" /client userID=47d1c75f-57e1-4c09-9335-f5139c69ad87 time="2026-09-17T09:49:19Z" msg="200 OK: GET https://127.0.0.1:40917/mail/v4/messages/907bbb68-ec58-44b6-ab0b-49c791ff3dc9" /client userID=47d1c75f-57e1-4c09-9335-f5139c69ad87 time="2026-09-17T09:49:19Z" msg="200 OK: GET https://127.0.0.1:40917/mail/v4/messages/b26137d6-a39b-406c-9a42-26838636d4d9" /client userID=47d1c75f-57e1-4c09-9335-f5139c69ad87 time="2026-09-17T09:49:19Z" msg="200 OK: GET https://127.0.0.1:40917/mail/v4/messages/4783ba7c-2ae7-4b32-8a3d-8206938c497c" /client userID=47d1c75f-57e1-4c09-9335-f5139c69ad87 time="2026-09-17T09:49:19Z" msg="Sending observability data." time="2026-09-17T09:49:19Z" msg="200 OK: POST https://127.0.0.1:40917/data/v1/metrics" /client userID=47d1c75f-57e1-4c09-9335-f5139c69ad87 time="2026-09-17T09:49:19Z" msg="Successfully sent observability data." time="2026-09-17T09:49:19Z" msg="Scheduling observability data sending" time="2026-09-17T09:49:19Z" msg="Child job finished" time="2026-09-17T09:49:19Z" msg="All child jobs completed" sync- time="2026-09-17T09:49:19Z" msg="Synced messages" time="2026-09-17T09:49:19Z" msg="Finished user sync" .42377ms time="2026-09-17T09:49:19Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:49:19Z" msg="Event loop reset" eventID="Bw==" time="2026-09-17T09:49:19Z" msg="200 OK: PUT https://127.0.0.1:40917/mail/v4/messages/label" /client userID=47d1c75f-57e1-4c09-9335-f5139c69ad87 time="2026-09-17T09:49:19Z" msg="200 OK: PUT https://127.0.0.1:40917/mail/v4/messages/unlabel" /client userID=47d1c75f-57e1-4c09-9335-f5139c69ad87 Scenario: Move message from system label to system label # features/imap/message/move.feature:92 When IMAP client "1" moves the message with subject "foo" from "INBOX" to "Trash" # :1 -> *scenario And it succeeds # :1 -> *scenario And IMAP client "1" eventually sees the following messages in "INBOX": # :1 -> *scenario | from | to | subject | unread | | jane.doe@mail.com | name@proton.local | bar | true | time="2026-09-17T09:49:19Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 4} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:49:19Z" msg="Frontend service stopped" time="2026-09-17T09:49:19Z" msg="Frontend client stopped" time="2026-09-17T09:49:19Z" msg="Closing bridge" time="2026-09-17T09:49:19Z" msg="Stopping service" time="2026-09-17T09:49:19Z" msg="Closing user" userID=47d1c75f-57e1-4c09-9335-f5139c69ad87 time="2026-09-17T09:49:19Z" msg="De-registering user client, ID:47d1c75f-57e1-4c09-9335-f5139c69ad87" time="2026-09-17T09:49:19Z" msg="Exiting IMAP Service" time="2026-09-17T09:49:19Z" msg="Exiting service main loop" time="2026-09-17T09:49:19Z" msg="Exiting service main loop" time="2026-09-17T09:49:19Z" msg="Exiting Service" time="2026-09-17T09:49:19Z" msg="Exiting service main loop" time="2026-09-17T09:49:19Z" msg="Exiting service" time="2026-09-17T09:49:19Z" msg="Closing IMAP Listener" time="2026-09-17T09:49:19Z" msg="Closing IMAP server" time="2026-09-17T09:49:19Z" msg="Closing SMTP Listener" time="2026-09-17T09:49:19Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:49:19Z" msg="Closing SMTP server" time="2026-09-17T09:49:19Z" msg="Closing service" And IMAP client "1" eventually sees the following messages in "Trash": # :1 -> *scenario | from | to | subject | unread | | john.doe@mail.com | 51bf3db9-7d46-4fb6-8953-fe802a068382@proton.local | foo | false | time="2026-09-17T09:49:19Z" msg="User '9c5ca463-9ca1-4c52-a97d-edd1b9c8b89a' created with " /server/backend time="2026-09-17T09:49:22Z" msg="Starting bridge" time="2026-09-17T09:49:22Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/121/config2506555756/grpcFocusServerConfig.json /service time="2026-09-17T09:49:22Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/121/cache220646721/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:49:22Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/121/cache220646721/notifications/notification_cache: no such file or directory" time="2026-09-17T09:49:22Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/121/data1832122108/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/121/data1832122108/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:49:22Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:49:22Z" msg="Starting IMAP server" time="2026-09-17T09:49:22Z" msg="Starting SMTP server" time="2026-09-17T09:49:22Z" msg="Starting service" time="2026-09-17T09:49:22Z" msg="Starting service" time="2026-09-17T09:49:22Z" msg="Starting frontend service" time="2026-09-17T09:49:22Z" msg="Starting poll service" time="2026-09-17T09:49:22Z" msg="Loading users" /user time="2026-09-17T09:49:22Z" msg="Finished loading users" /user time="2026-09-17T09:49:22Z" msg="Checking for updates" time="2026-09-17T09:49:22Z" msg="Starting receiver service" time="2026-09-17T09:49:22Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/121/config2506555756/grpcServerConfig.json time="2026-09-17T09:49:22Z" msg="gRPC server listening on /tmp/bridge4577" time="2026-09-17T09:49:22Z" msg="Frontend service started" time="2026-09-17T09:49:22Z" msg="Starting frontend client" time="2026-09-17T09:49:22Z" msg="Not monitoring parent PID" time="2026-09-17T09:49:22Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:49:22Z" msg="200 OK: GET https://127.0.0.1:38233/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:49:22Z" msg="Frontend client started" time="2026-09-17T09:49:22Z" msg="Performing full user login" /user username="******** (f3cd6060)" time="2026-09-17T09:49:22Z" msg="Authorizing user for login" /user username="******** (f3cd6060)" time="2026-09-17T09:49:22Z" msg="200 OK: POST https://127.0.0.1:38233/auth/v4/info" /manager time="2026-09-17T09:49:23Z" msg="200 OK: POST https://127.0.0.1:38233/auth/v4" /manager time="2026-09-17T09:49:23Z" msg="Logging in authorized user" /user userID=3c0e8e02-4e72-41a6-811e-0ec467fa434f time="2026-09-17T09:49:23Z" msg="Adding vault user" userID=3c0e8e02-4e72-41a6-811e-0ec467fa434f time="2026-09-17T09:49:23Z" msg="Creating new user" userID=3c0e8e02-4e72-41a6-811e-0ec467fa434f time="2026-09-17T09:49:23Z" msg="404 GET https://127.0.0.1:38233/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:49:23Z" msg="404 GET https://127.0.0.1:38233/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:49:23Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:38233/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:49:23Z" msg="Creating user object" authUID=1b8287ac-1c15-42b6-91b2-eff61405863a numA numL userID=3c0e8e02-4e72-41a6-811e-0ec467fa434f time="2026-09-17T09:49:23Z" msg="200 OK: GET https://127.0.0.1:38233/core/v4/events/latest" /client userID=3c0e8e02-4e72-41a6-811e-0ec467fa434f time="2026-09-17T09:49:23Z" msg="Starting service Last EventID=Bw==" time="2026-09-17T09:49:23Z" msg="200 OK: GET https://127.0.0.1:38233/core/v4/settings" /client userID=3c0e8e02-4e72-41a6-811e-0ec467fa434f time="2026-09-17T09:49:23Z" msg="Registering user client, ID:3c0e8e02-4e72-41a6-811e-0ec467fa434f" time="2026-09-17T09:49:23Z" msg="Starting user identity service" numA time="2026-09-17T09:49:23Z" msg="Starting service main loop" time="2026-09-17T09:49:23Z" msg="Starting service main loop" time="2026-09-17T09:49:23Z" msg="Starting service main loop" time="2026-09-17T09:49:23Z" msg="200 OK: GET https://127.0.0.1:38233/core/v4/labels?T" /client userID=3c0e8e02-4e72-41a6-811e-0ec467fa434f time="2026-09-17T09:49:23Z" msg="200 OK: GET https://127.0.0.1:38233/core/v4/labels?T" /client userID=3c0e8e02-4e72-41a6-811e-0ec467fa434f time="2026-09-17T09:49:23Z" msg="200 OK: GET https://127.0.0.1:38233/core/v4/labels?T" /client userID=3c0e8e02-4e72-41a6-811e-0ec467fa434f time="2026-09-17T09:49:23Z" msg="Setting labels" labelIDs="[9 2 8 10 12 0 1 3 4 5 6 7 4e64839d-efa8-464f-a600-dad1e7705211 a794f2f7-1606-443d-b9d9-5862b249f1ac d0dd677f-a2be-4c59-8daa-5c40070a6ceb]" time="2026-09-17T09:49:23Z" msg="Adding user to imap server" addrID=38a73755-4ae7-49f4-bb85-5d640367bd08 time="2026-09-17T09:49:23Z" msg="Creating new IMAP user" addrID=38a73755-4ae7-49f4-bb85-5d640367bd08 time="2026-09-17T09:49:23Z" msg="Setting gluon ID" addrID=38a73755-4ae7-49f4-bb85-5d640367bd08 gluonID=3fa04a78-1f2a-43a4-818c-e101bf36528e userID=3c0e8e02-4e72-41a6-811e-0ec467fa434f time="2026-09-17T09:49:23Z" msg="Received mailbox message count" gluonID=3fa04a78-1f2a-43a4-818c-e101bf36528e labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:49:23Z" msg="Created new IMAP user" addrID=38a73755-4ae7-49f4-bb85-5d640367bd08 gluonID=3fa04a78-1f2a-43a4-818c-e101bf36528e time="2026-09-17T09:49:23Z" msg="Validating Listener State" time="2026-09-17T09:49:23Z" time="2026-09-17T09:49:23Z" msg="Starting IMAP Service" time="2026-09-17T09:49:23Z" msg="Checking whether logged in user should re-sync. UserID:3c0e8e02-4e72-41a6-811e-0ec467fa434f" userID=3c0e8e02-4e72-41a6-811e-0ec467fa434f time="2026-09-17T09:49:23Z" msg="Sync triggered" time="2026-09-17T09:49:23Z" msg="Beginning user sync" start="2026-09-17 09:49:23.366576681 +0000 UTC m=+251.858879017" time="2026-09-17T09:49:23Z" msg="Syncing labels" time="2026-09-17T09:49:23Z" msg="Label not found in DB, creating mailbox." labelID=4e64839d-efa8-464f-a600-dad1e7705211 labelPath="jm2pV8GS7FVFPTesFaU5jW/EhDgcEQCxeWTMDFRvNjU=" numberOfC /labelConflictResolver time="2026-09-17T09:49:23Z" msg="Label not found in DB, creating mailbox." labelID=d0dd677f-a2be-4c59-8daa-5c40070a6ceb labelPath="AUFssb0Jn4BktyyOswfmjNccbC5+NIS37B9EgC88SIg=" numberOfC /labelConflictResolver time="2026-09-17T09:49:23Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=3fa04a78-1f2a-43a4-818c-e101bf36528e time="2026-09-17T09:49:23Z" msg="Label not found in DB, creating mailbox." labelID=a794f2f7-1606-443d-b9d9-5862b249f1ac labelPath="mHoyd+am6bmNoUvxRZ/ZRvBIQnwu+1OQWf1jSR3oA+s=" numberOfC /labelConflictResolver time="2026-09-17T09:49:23Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=3fa04a78-1f2a-43a4-818c-e101bf36528e time="2026-09-17T09:49:23Z" msg="Mailbox created" /user remoteMailboxID=0 userID=3fa04a78-1f2a-43a4-818c-e101bf36528e time="2026-09-17T09:49:23Z" msg="Mailbox created" /user remoteMailboxID=3 userID=3fa04a78-1f2a-43a4-818c-e101bf36528e time="2026-09-17T09:49:23Z" msg="Mailbox created" /user remoteMailboxID=5 userID=3fa04a78-1f2a-43a4-818c-e101bf36528e time="2026-09-17T09:49:23Z" msg="Mailbox created" /user remoteMailboxID=12 userID=3fa04a78-1f2a-43a4-818c-e101bf36528e time="2026-09-17T09:49:23Z" msg="Mailbox created" /user remoteMailboxID=4 userID=3fa04a78-1f2a-43a4-818c-e101bf36528e time="2026-09-17T09:49:23Z" msg="Mailbox created" /user remoteMailboxID=7 userID=3fa04a78-1f2a-43a4-818c-e101bf36528e time="2026-09-17T09:49:23Z" msg="Mailbox created" /user remoteMailboxID=4e64839d-efa8-464f-a600-dad1e7705211 userID=3fa04a78-1f2a-43a4-818c-e101bf36528e time="2026-09-17T09:49:23Z" msg="Mailbox created" /user remoteMailboxID=d0dd677f-a2be-4c59-8daa-5c40070a6ceb userID=3fa04a78-1f2a-43a4-818c-e101bf36528e time="2026-09-17T09:49:23Z" msg="Mailbox created" /user remoteMailboxID=10 userID=3fa04a78-1f2a-43a4-818c-e101bf36528e time="2026-09-17T09:49:23Z" msg="Mailbox created" /user remoteMailboxID=a794f2f7-1606-443d-b9d9-5862b249f1ac userID=3fa04a78-1f2a-43a4-818c-e101bf36528e time="2026-09-17T09:49:23Z" msg="Mailbox created" /user remoteMailboxID=8 userID=3fa04a78-1f2a-43a4-818c-e101bf36528e time="2026-09-17T09:49:23Z" msg="Mailbox created" /user remoteMailboxID=6 userID=3fa04a78-1f2a-43a4-818c-e101bf36528e time="2026-09-17T09:49:23Z" msg="Synced labels" time="2026-09-17T09:49:23Z" msg="200 OK: GET https://127.0.0.1:38233/mail/v4/messages/count" /client userID=3c0e8e02-4e72-41a6-811e-0ec467fa434f time="2026-09-17T09:49:23Z" msg="Syncing messages" time="2026-09-17T09:49:23Z" msg="Job started" time="2026-09-17T09:49:23Z" msg="200 OK: POST https://127.0.0.1:38233/mail/v4/messages" /client userID=3c0e8e02-4e72-41a6-811e-0ec467fa434f time="2026-09-17T09:49:23Z" msg="200 OK: POST https://127.0.0.1:38233/mail/v4/messages" /client userID=3c0e8e02-4e72-41a6-811e-0ec467fa434f time="2026-09-17T09:49:23Z" msg="Creating new child job" time="2026-09-17T09:49:23Z" msg="Job finished" time="2026-09-17T09:49:23Z" msg="200 OK: GET https://127.0.0.1:38233/mail/v4/messages/a945c115-047d-4ab5-87b4-fe3ca81af521" /client userID=3c0e8e02-4e72-41a6-811e-0ec467fa434f time="2026-09-17T09:49:23Z" msg="200 OK: GET https://127.0.0.1:38233/mail/v4/messages/05767089-551d-4ca4-bb21-99f8e86fb7e0" /client userID=3c0e8e02-4e72-41a6-811e-0ec467fa434f time="2026-09-17T09:49:23Z" msg="200 OK: GET https://127.0.0.1:38233/mail/v4/messages/12c21a4d-c0d4-44f4-bd4f-b4294ab6d6f7" /client userID=3c0e8e02-4e72-41a6-811e-0ec467fa434f time="2026-09-17T09:49:23Z" msg="200 OK: GET https://127.0.0.1:38233/mail/v4/messages/5e59605e-27c5-404b-8f56-a6a13c20402b" /client userID=3c0e8e02-4e72-41a6-811e-0ec467fa434f time="2026-09-17T09:49:23Z" msg="Sending observability data." time="2026-09-17T09:49:23Z" msg="200 OK: POST https://127.0.0.1:38233/data/v1/metrics" /client userID=3c0e8e02-4e72-41a6-811e-0ec467fa434f time="2026-09-17T09:49:23Z" msg="Successfully sent observability data." time="2026-09-17T09:49:23Z" msg="Scheduling observability data sending" time="2026-09-17T09:49:23Z" msg="Child job finished" time="2026-09-17T09:49:23Z" msg="All child jobs completed" sync- time="2026-09-17T09:49:23Z" msg="Synced messages" time="2026-09-17T09:49:23Z" msg="Finished user sync" .821297ms time="2026-09-17T09:49:23Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:49:23Z" msg="Event loop reset" eventID="Bw==" time="2026-09-17T09:49:23Z" msg="200 OK: PUT https://127.0.0.1:38233/mail/v4/messages/label" /client userID=3c0e8e02-4e72-41a6-811e-0ec467fa434f time="2026-09-17T09:49:23Z" msg="200 OK: PUT https://127.0.0.1:38233/mail/v4/messages/unlabel" /client userID=3c0e8e02-4e72-41a6-811e-0ec467fa434f Scenario: Move message from folder to system label # features/imap/message/move.feature:102 When IMAP client "1" moves the message with subject "baz" from "Labels/label2" to "Folders/mbox" # :1 -> *scenario And it succeeds # :1 -> *scenario And IMAP client "1" eventually sees the following messages in "Folders/mbox": # :1 -> *scenario | from | to | subject | unread | | john.doe@mail.com | 9c5ca463-9ca1-4c52-a97d-edd1b9c8b89a@proton.local | baz | false | time="2026-09-17T09:49:23Z" msg="200 OK: PUT https://127.0.0.1:38233/mail/v4/messages/label" /client userID=3c0e8e02-4e72-41a6-811e-0ec467fa434f time="2026-09-17T09:49:23Z" msg="200 OK: PUT https://127.0.0.1:38233/mail/v4/messages/unlabel" /client userID=3c0e8e02-4e72-41a6-811e-0ec467fa434f When IMAP client "1" moves the message with subject "baz" from "Folders/mbox" to "Trash" # :1 -> *scenario And it succeeds # :1 -> *scenario time="2026-09-17T09:49:23Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 7} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" And IMAP client "1" eventually sees 0 messages in "Folders/mbox" # :1 -> *scenario time="2026-09-17T09:49:23Z" msg="Frontend service stopped" time="2026-09-17T09:49:23Z" msg="Frontend client stopped" time="2026-09-17T09:49:23Z" msg="Closing bridge" time="2026-09-17T09:49:23Z" msg="Stopping service" time="2026-09-17T09:49:23Z" msg="Closing user" userID=3c0e8e02-4e72-41a6-811e-0ec467fa434f time="2026-09-17T09:49:23Z" msg="De-registering user client, ID:3c0e8e02-4e72-41a6-811e-0ec467fa434f" time="2026-09-17T09:49:23Z" msg="Exiting IMAP Service" time="2026-09-17T09:49:23Z" msg="Exiting service main loop" time="2026-09-17T09:49:23Z" msg="Exiting service main loop" time="2026-09-17T09:49:23Z" msg="Exiting Service" time="2026-09-17T09:49:23Z" msg="Exiting service main loop" time="2026-09-17T09:49:23Z" msg="Exiting service" time="2026-09-17T09:49:23Z" msg="Closing IMAP Listener" time="2026-09-17T09:49:23Z" msg="Closing IMAP server" time="2026-09-17T09:49:23Z" msg="Closing SMTP Listener" time="2026-09-17T09:49:23Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:49:23Z" msg="Closing SMTP server" time="2026-09-17T09:49:23Z" msg="Closing service" And IMAP client "1" eventually sees the following messages in "Trash": # :1 -> *scenario | from | to | subject | unread | | john.doe@mail.com | 9c5ca463-9ca1-4c52-a97d-edd1b9c8b89a@proton.local | baz | false | time="2026-09-17T09:49:23Z" msg="User 'dd74e499-0553-47fa-b030-0830380e18aa' created with " /server/backend time="2026-09-17T09:49:27Z" msg="Starting bridge" time="2026-09-17T09:49:27Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/122/config608608565/grpcFocusServerConfig.json /service time="2026-09-17T09:49:27Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/122/cache4063778842/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:49:27Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/122/cache4063778842/notifications/notification_cache: no such file or directory" time="2026-09-17T09:49:27Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/122/data1673774242/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/122/data1673774242/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:49:27Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:49:27Z" msg="Starting IMAP server" time="2026-09-17T09:49:27Z" msg="Starting SMTP server" time="2026-09-17T09:49:27Z" msg="Starting service" time="2026-09-17T09:49:27Z" msg="Starting service" time="2026-09-17T09:49:27Z" msg="Starting poll service" time="2026-09-17T09:49:27Z" msg="Checking for updates" time="2026-09-17T09:49:27Z" msg="Starting frontend service" time="2026-09-17T09:49:27Z" msg="Loading users" /user time="2026-09-17T09:49:27Z" msg="Finished loading users" /user time="2026-09-17T09:49:27Z" msg="Starting receiver service" time="2026-09-17T09:49:27Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/122/config608608565/grpcServerConfig.json time="2026-09-17T09:49:27Z" msg="gRPC server listening on /tmp/bridge4705" time="2026-09-17T09:49:27Z" msg="Frontend service started" time="2026-09-17T09:49:27Z" msg="Starting frontend client" time="2026-09-17T09:49:27Z" msg="Not monitoring parent PID" time="2026-09-17T09:49:27Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:49:27Z" msg="Frontend client started" time="2026-09-17T09:49:27Z" msg="Performing full user login" /user username="******** (22210d57)" time="2026-09-17T09:49:27Z" msg="Authorizing user for login" /user username="******** (22210d57)" time="2026-09-17T09:49:27Z" msg="200 OK: GET https://127.0.0.1:33785/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:49:27Z" msg="200 OK: POST https://127.0.0.1:33785/auth/v4/info" /manager time="2026-09-17T09:49:27Z" msg="200 OK: POST https://127.0.0.1:33785/auth/v4" /manager time="2026-09-17T09:49:27Z" msg="Logging in authorized user" /user userID=aa976703-f427-45e1-9831-34c35d5b835f time="2026-09-17T09:49:27Z" msg="Adding vault user" userID=aa976703-f427-45e1-9831-34c35d5b835f time="2026-09-17T09:49:27Z" msg="Creating new user" userID=aa976703-f427-45e1-9831-34c35d5b835f time="2026-09-17T09:49:27Z" msg="404 GET https://127.0.0.1:33785/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:49:27Z" msg="404 GET https://127.0.0.1:33785/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:49:27Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:33785/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:49:27Z" msg="Creating user object" authUID=93234b8d-4a8d-4fa7-b90e-4526b8128397 numA numL userID=aa976703-f427-45e1-9831-34c35d5b835f time="2026-09-17T09:49:27Z" msg="200 OK: GET https://127.0.0.1:33785/core/v4/events/latest" /client userID=aa976703-f427-45e1-9831-34c35d5b835f time="2026-09-17T09:49:27Z" msg="Starting service Last EventID=Bw==" time="2026-09-17T09:49:27Z" msg="200 OK: GET https://127.0.0.1:33785/core/v4/settings" /client userID=aa976703-f427-45e1-9831-34c35d5b835f time="2026-09-17T09:49:27Z" msg="Registering user client, ID:aa976703-f427-45e1-9831-34c35d5b835f" time="2026-09-17T09:49:27Z" msg="Starting service main loop" time="2026-09-17T09:49:27Z" msg="Starting service main loop" time="2026-09-17T09:49:27Z" msg="Starting user identity service" numA time="2026-09-17T09:49:27Z" msg="Starting service main loop" time="2026-09-17T09:49:27Z" msg="200 OK: GET https://127.0.0.1:33785/core/v4/labels?T" /client userID=aa976703-f427-45e1-9831-34c35d5b835f time="2026-09-17T09:49:27Z" msg="200 OK: GET https://127.0.0.1:33785/core/v4/labels?T" /client userID=aa976703-f427-45e1-9831-34c35d5b835f time="2026-09-17T09:49:27Z" msg="200 OK: GET https://127.0.0.1:33785/core/v4/labels?T" /client userID=aa976703-f427-45e1-9831-34c35d5b835f time="2026-09-17T09:49:27Z" msg="Setting labels" labelIDs="[1 9 10 12 0 2 3 4 5 6 7 8 a3099f1b-1fda-4fdd-a56b-ee9a44d56425 871ebe5d-f07d-402e-83f1-21f40dd6f29d 061272dc-469a-4555-99e8-e6c3ce50c2ac]" time="2026-09-17T09:49:27Z" msg="Adding user to imap server" addrID=eb08efd0-ceec-4763-a168-b9e2f6f0190c time="2026-09-17T09:49:27Z" msg="Creating new IMAP user" addrID=eb08efd0-ceec-4763-a168-b9e2f6f0190c time="2026-09-17T09:49:27Z" msg="Setting gluon ID" addrID=eb08efd0-ceec-4763-a168-b9e2f6f0190c gluonID=f20f8c88-333f-4bbe-bd05-65c10473ab2f userID=aa976703-f427-45e1-9831-34c35d5b835f time="2026-09-17T09:49:27Z" msg="Received mailbox message count" gluonID=f20f8c88-333f-4bbe-bd05-65c10473ab2f labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:49:27Z" msg="Created new IMAP user" addrID=eb08efd0-ceec-4763-a168-b9e2f6f0190c gluonID=f20f8c88-333f-4bbe-bd05-65c10473ab2f time="2026-09-17T09:49:27Z" msg="Validating Listener State" time="2026-09-17T09:49:27Z" time="2026-09-17T09:49:27Z" msg="Checking whether logged in user should re-sync. UserID:aa976703-f427-45e1-9831-34c35d5b835f" userID=aa976703-f427-45e1-9831-34c35d5b835f time="2026-09-17T09:49:27Z" msg="Starting IMAP Service" time="2026-09-17T09:49:27Z" msg="Sync triggered" time="2026-09-17T09:49:27Z" msg="Beginning user sync" start="2026-09-17 09:49:27.518438034 +0000 UTC m=+256.010740410" time="2026-09-17T09:49:27Z" msg="Syncing labels" time="2026-09-17T09:49:27Z" msg="Label not found in DB, creating mailbox." labelID=a3099f1b-1fda-4fdd-a56b-ee9a44d56425 labelPath="jm2pV8GS7FVFPTesFaU5jW/EhDgcEQCxeWTMDFRvNjU=" numberOfC /labelConflictResolver time="2026-09-17T09:49:27Z" msg="Label not found in DB, creating mailbox." labelID=871ebe5d-f07d-402e-83f1-21f40dd6f29d labelPath="mHoyd+am6bmNoUvxRZ/ZRvBIQnwu+1OQWf1jSR3oA+s=" numberOfC /labelConflictResolver time="2026-09-17T09:49:27Z" msg="Label not found in DB, creating mailbox." labelID=061272dc-469a-4555-99e8-e6c3ce50c2ac labelPath="AUFssb0Jn4BktyyOswfmjNccbC5+NIS37B9EgC88SIg=" numberOfC /labelConflictResolver time="2026-09-17T09:49:27Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=f20f8c88-333f-4bbe-bd05-65c10473ab2f time="2026-09-17T09:49:27Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=f20f8c88-333f-4bbe-bd05-65c10473ab2f time="2026-09-17T09:49:27Z" msg="Mailbox created" /user remoteMailboxID=3 userID=f20f8c88-333f-4bbe-bd05-65c10473ab2f time="2026-09-17T09:49:27Z" msg="Mailbox created" /user remoteMailboxID=8 userID=f20f8c88-333f-4bbe-bd05-65c10473ab2f time="2026-09-17T09:49:27Z" msg="Mailbox created" /user remoteMailboxID=12 userID=f20f8c88-333f-4bbe-bd05-65c10473ab2f time="2026-09-17T09:49:27Z" msg="Mailbox created" /user remoteMailboxID=0 userID=f20f8c88-333f-4bbe-bd05-65c10473ab2f time="2026-09-17T09:49:27Z" msg="Mailbox created" /user remoteMailboxID=5 userID=f20f8c88-333f-4bbe-bd05-65c10473ab2f time="2026-09-17T09:49:27Z" msg="Mailbox created" /user remoteMailboxID=7 userID=f20f8c88-333f-4bbe-bd05-65c10473ab2f time="2026-09-17T09:49:27Z" msg="Mailbox created" /user remoteMailboxID=4 userID=f20f8c88-333f-4bbe-bd05-65c10473ab2f time="2026-09-17T09:49:27Z" msg="Mailbox created" /user remoteMailboxID=6 userID=f20f8c88-333f-4bbe-bd05-65c10473ab2f time="2026-09-17T09:49:27Z" msg="Mailbox created" /user remoteMailboxID=a3099f1b-1fda-4fdd-a56b-ee9a44d56425 userID=f20f8c88-333f-4bbe-bd05-65c10473ab2f time="2026-09-17T09:49:27Z" msg="Mailbox created" /user remoteMailboxID=10 userID=f20f8c88-333f-4bbe-bd05-65c10473ab2f time="2026-09-17T09:49:27Z" msg="Mailbox created" /user remoteMailboxID=871ebe5d-f07d-402e-83f1-21f40dd6f29d userID=f20f8c88-333f-4bbe-bd05-65c10473ab2f time="2026-09-17T09:49:27Z" msg="Mailbox created" /user remoteMailboxID=061272dc-469a-4555-99e8-e6c3ce50c2ac userID=f20f8c88-333f-4bbe-bd05-65c10473ab2f time="2026-09-17T09:49:27Z" msg="Synced labels" time="2026-09-17T09:49:27Z" msg="200 OK: GET https://127.0.0.1:33785/mail/v4/messages/count" /client userID=aa976703-f427-45e1-9831-34c35d5b835f time="2026-09-17T09:49:27Z" msg="Syncing messages" time="2026-09-17T09:49:27Z" msg="Job started" time="2026-09-17T09:49:27Z" msg="200 OK: POST https://127.0.0.1:33785/mail/v4/messages" /client userID=aa976703-f427-45e1-9831-34c35d5b835f time="2026-09-17T09:49:27Z" msg="200 OK: POST https://127.0.0.1:33785/mail/v4/messages" /client userID=aa976703-f427-45e1-9831-34c35d5b835f time="2026-09-17T09:49:27Z" msg="Creating new child job" time="2026-09-17T09:49:27Z" msg="Job finished" time="2026-09-17T09:49:27Z" msg="200 OK: GET https://127.0.0.1:33785/mail/v4/messages/c74bbdf1-1d92-4794-9d60-d90a379b8753" /client userID=aa976703-f427-45e1-9831-34c35d5b835f time="2026-09-17T09:49:27Z" msg="200 OK: GET https://127.0.0.1:33785/mail/v4/messages/27c6795a-667f-4b32-b235-f3a04c3820b4" /client userID=aa976703-f427-45e1-9831-34c35d5b835f time="2026-09-17T09:49:27Z" msg="200 OK: GET https://127.0.0.1:33785/mail/v4/messages/7c0bf7ee-0b6d-47ad-85a3-3ecaf536b75e" /client userID=aa976703-f427-45e1-9831-34c35d5b835f time="2026-09-17T09:49:27Z" msg="200 OK: GET https://127.0.0.1:33785/mail/v4/messages/18944667-1968-4ef7-bdab-c3fe28e51725" /client userID=aa976703-f427-45e1-9831-34c35d5b835f time="2026-09-17T09:49:27Z" msg="Sending observability data." time="2026-09-17T09:49:27Z" msg="200 OK: POST https://127.0.0.1:33785/data/v1/metrics" /client userID=aa976703-f427-45e1-9831-34c35d5b835f time="2026-09-17T09:49:27Z" msg="Successfully sent observability data." time="2026-09-17T09:49:27Z" msg="Scheduling observability data sending" time="2026-09-17T09:49:27Z" msg="Child job finished" time="2026-09-17T09:49:27Z" msg="All child jobs completed" sync- time="2026-09-17T09:49:27Z" msg="Synced messages" time="2026-09-17T09:49:27Z" msg="Finished user sync" .340979ms time="2026-09-17T09:49:27Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:49:27Z" msg="Event loop reset" eventID="Bw==" Scenario: Move message from All Mail is not possible # features/imap/message/move.feature:115 When IMAP client "1" moves the message with subject "baz" from "All Mail" to "Folders/folder" # :1 -> *scenario Then it fails # :1 -> *scenario time="2026-09-17T09:49:27Z" msg="Frontend service stopped" time="2026-09-17T09:49:27Z" msg="Frontend client stopped" time="2026-09-17T09:49:27Z" msg="Closing bridge" time="2026-09-17T09:49:27Z" msg="Stopping service" time="2026-09-17T09:49:27Z" msg="Closing user" userID=aa976703-f427-45e1-9831-34c35d5b835f time="2026-09-17T09:49:27Z" msg="De-registering user client, ID:aa976703-f427-45e1-9831-34c35d5b835f" time="2026-09-17T09:49:27Z" msg="Exiting IMAP Service" time="2026-09-17T09:49:27Z" msg="Exiting service main loop" time="2026-09-17T09:49:27Z" msg="Exiting service main loop" time="2026-09-17T09:49:27Z" msg="Exiting Service" time="2026-09-17T09:49:27Z" msg="Exiting service main loop" time="2026-09-17T09:49:27Z" msg="Exiting service" time="2026-09-17T09:49:27Z" msg="Closing IMAP Listener" time="2026-09-17T09:49:27Z" msg="Closing IMAP server" time="2026-09-17T09:49:27Z" msg="Closing SMTP Listener" time="2026-09-17T09:49:27Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:49:27Z" msg="Closing SMTP server" time="2026-09-17T09:49:27Z" msg="Closing service" And IMAP client "1" eventually sees the following messages in "All Mail": # :1 -> *scenario | from | to | subject | unread | | john.doe@mail.com | dd74e499-0553-47fa-b030-0830380e18aa@proton.local | foo | false | | jane.doe@mail.com | name@proton.local | bar | true | | john.doe@mail.com | dd74e499-0553-47fa-b030-0830380e18aa@proton.local | baz | false | | john.doe@mail.com | dd74e499-0553-47fa-b030-0830380e18aa@proton.local | bax | false | time="2026-09-17T09:49:27Z" msg="User '70627937-b115-459c-9948-314d193faaad' created with " /server/backend time="2026-09-17T09:49:30Z" msg="Starting bridge" time="2026-09-17T09:49:30Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/123/config698258576/grpcFocusServerConfig.json /service time="2026-09-17T09:49:30Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/123/cache3883020486/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:49:30Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/123/cache3883020486/notifications/notification_cache: no such file or directory" time="2026-09-17T09:49:30Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/123/data373696843/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/123/data373696843/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:49:30Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:49:30Z" msg="Starting IMAP server" time="2026-09-17T09:49:30Z" msg="Starting SMTP server" time="2026-09-17T09:49:30Z" msg="Starting service" time="2026-09-17T09:49:30Z" msg="Starting service" time="2026-09-17T09:49:30Z" msg="Starting receiver service" time="2026-09-17T09:49:30Z" msg="Starting poll service" time="2026-09-17T09:49:30Z" msg="Checking for updates" time="2026-09-17T09:49:30Z" msg="Loading users" /user time="2026-09-17T09:49:30Z" msg="Finished loading users" /user time="2026-09-17T09:49:30Z" msg="Starting frontend service" time="2026-09-17T09:49:30Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/123/config698258576/grpcServerConfig.json time="2026-09-17T09:49:30Z" msg="gRPC server listening on /tmp/bridge0703" time="2026-09-17T09:49:30Z" msg="Frontend service started" time="2026-09-17T09:49:30Z" msg="Starting frontend client" time="2026-09-17T09:49:30Z" msg="Not monitoring parent PID" time="2026-09-17T09:49:30Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:49:31Z" msg="Frontend client started" time="2026-09-17T09:49:31Z" msg="Performing full user login" /user username="******** (f89a7de4)" time="2026-09-17T09:49:31Z" msg="Authorizing user for login" /user username="******** (f89a7de4)" time="2026-09-17T09:49:31Z" msg="200 OK: GET https://127.0.0.1:44657/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:49:31Z" msg="200 OK: POST https://127.0.0.1:44657/auth/v4/info" /manager time="2026-09-17T09:49:31Z" msg="200 OK: POST https://127.0.0.1:44657/auth/v4" /manager time="2026-09-17T09:49:31Z" msg="Logging in authorized user" /user userID=0f9c71a3-4f66-4103-9f24-2d9d74e85ee0 time="2026-09-17T09:49:31Z" msg="Adding vault user" userID=0f9c71a3-4f66-4103-9f24-2d9d74e85ee0 time="2026-09-17T09:49:31Z" msg="Creating new user" userID=0f9c71a3-4f66-4103-9f24-2d9d74e85ee0 time="2026-09-17T09:49:31Z" msg="404 GET https://127.0.0.1:44657/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:49:31Z" msg="404 GET https://127.0.0.1:44657/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:49:31Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:44657/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:49:31Z" msg="Creating user object" authUID=50da047e-787e-43a7-9d61-a0ef9e83dfd0 numA numL userID=0f9c71a3-4f66-4103-9f24-2d9d74e85ee0 time="2026-09-17T09:49:31Z" msg="200 OK: GET https://127.0.0.1:44657/core/v4/events/latest" /client userID=0f9c71a3-4f66-4103-9f24-2d9d74e85ee0 time="2026-09-17T09:49:31Z" msg="Starting service Last EventID=Bw==" time="2026-09-17T09:49:31Z" msg="200 OK: GET https://127.0.0.1:44657/core/v4/settings" /client userID=0f9c71a3-4f66-4103-9f24-2d9d74e85ee0 time="2026-09-17T09:49:31Z" msg="Registering user client, ID:0f9c71a3-4f66-4103-9f24-2d9d74e85ee0" time="2026-09-17T09:49:31Z" msg="Starting user identity service" numA time="2026-09-17T09:49:31Z" msg="Starting service main loop" time="2026-09-17T09:49:31Z" msg="Starting service main loop" time="2026-09-17T09:49:31Z" msg="Starting service main loop" time="2026-09-17T09:49:31Z" msg="200 OK: GET https://127.0.0.1:44657/core/v4/labels?T" /client userID=0f9c71a3-4f66-4103-9f24-2d9d74e85ee0 time="2026-09-17T09:49:31Z" msg="200 OK: GET https://127.0.0.1:44657/core/v4/labels?T" /client userID=0f9c71a3-4f66-4103-9f24-2d9d74e85ee0 time="2026-09-17T09:49:31Z" msg="200 OK: GET https://127.0.0.1:44657/core/v4/labels?T" /client userID=0f9c71a3-4f66-4103-9f24-2d9d74e85ee0 time="2026-09-17T09:49:31Z" msg="Setting labels" labelIDs="[6 7 8 9 10 12 0 1 2 3 4 5 ab878873-568e-41f4-ac4b-050b25a0c3c7 20ed231c-64d0-49d1-a05d-df72fca60f51 d94a577e-ef24-426f-b006-0d61713763e8]" time="2026-09-17T09:49:31Z" msg="Adding user to imap server" addrID=705a1c47-74ed-45b3-9fe4-00c89ae641c4 time="2026-09-17T09:49:31Z" msg="Creating new IMAP user" addrID=705a1c47-74ed-45b3-9fe4-00c89ae641c4 time="2026-09-17T09:49:31Z" msg="Setting gluon ID" addrID=705a1c47-74ed-45b3-9fe4-00c89ae641c4 gluonID=0b2fde4b-1d78-45a6-88c0-2fa08ff8f221 userID=0f9c71a3-4f66-4103-9f24-2d9d74e85ee0 time="2026-09-17T09:49:31Z" msg="Received mailbox message count" gluonID=0b2fde4b-1d78-45a6-88c0-2fa08ff8f221 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:49:31Z" msg="Created new IMAP user" addrID=705a1c47-74ed-45b3-9fe4-00c89ae641c4 gluonID=0b2fde4b-1d78-45a6-88c0-2fa08ff8f221 time="2026-09-17T09:49:31Z" msg="Validating Listener State" time="2026-09-17T09:49:31Z" time="2026-09-17T09:49:31Z" msg="Starting IMAP Service" time="2026-09-17T09:49:31Z" msg="Checking whether logged in user should re-sync. UserID:0f9c71a3-4f66-4103-9f24-2d9d74e85ee0" userID=0f9c71a3-4f66-4103-9f24-2d9d74e85ee0 time="2026-09-17T09:49:31Z" msg="Sync triggered" time="2026-09-17T09:49:31Z" msg="Beginning user sync" start="2026-09-17 09:49:31.438910569 +0000 UTC m=+259.931212865" time="2026-09-17T09:49:31Z" msg="Syncing labels" time="2026-09-17T09:49:31Z" msg="Label not found in DB, creating mailbox." labelID=ab878873-568e-41f4-ac4b-050b25a0c3c7 labelPath="jm2pV8GS7FVFPTesFaU5jW/EhDgcEQCxeWTMDFRvNjU=" numberOfC /labelConflictResolver time="2026-09-17T09:49:31Z" msg="Label not found in DB, creating mailbox." labelID=d94a577e-ef24-426f-b006-0d61713763e8 labelPath="AUFssb0Jn4BktyyOswfmjNccbC5+NIS37B9EgC88SIg=" numberOfC /labelConflictResolver time="2026-09-17T09:49:31Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=0b2fde4b-1d78-45a6-88c0-2fa08ff8f221 time="2026-09-17T09:49:31Z" msg="Label not found in DB, creating mailbox." labelID=20ed231c-64d0-49d1-a05d-df72fca60f51 labelPath="mHoyd+am6bmNoUvxRZ/ZRvBIQnwu+1OQWf1jSR3oA+s=" numberOfC /labelConflictResolver time="2026-09-17T09:49:31Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=0b2fde4b-1d78-45a6-88c0-2fa08ff8f221 time="2026-09-17T09:49:31Z" msg="Mailbox created" /user remoteMailboxID=ab878873-568e-41f4-ac4b-050b25a0c3c7 userID=0b2fde4b-1d78-45a6-88c0-2fa08ff8f221 time="2026-09-17T09:49:31Z" msg="Mailbox created" /user remoteMailboxID=10 userID=0b2fde4b-1d78-45a6-88c0-2fa08ff8f221 time="2026-09-17T09:49:31Z" msg="Mailbox created" /user remoteMailboxID=3 userID=0b2fde4b-1d78-45a6-88c0-2fa08ff8f221 time="2026-09-17T09:49:31Z" msg="Mailbox created" /user remoteMailboxID=4 userID=0b2fde4b-1d78-45a6-88c0-2fa08ff8f221 time="2026-09-17T09:49:31Z" msg="Mailbox created" /user remoteMailboxID=d94a577e-ef24-426f-b006-0d61713763e8 userID=0b2fde4b-1d78-45a6-88c0-2fa08ff8f221 time="2026-09-17T09:49:31Z" msg="Mailbox created" /user remoteMailboxID=6 userID=0b2fde4b-1d78-45a6-88c0-2fa08ff8f221 time="2026-09-17T09:49:31Z" msg="Mailbox created" /user remoteMailboxID=7 userID=0b2fde4b-1d78-45a6-88c0-2fa08ff8f221 time="2026-09-17T09:49:31Z" msg="Mailbox created" /user remoteMailboxID=8 userID=0b2fde4b-1d78-45a6-88c0-2fa08ff8f221 time="2026-09-17T09:49:31Z" msg="Mailbox created" /user remoteMailboxID=12 userID=0b2fde4b-1d78-45a6-88c0-2fa08ff8f221 time="2026-09-17T09:49:31Z" msg="Mailbox created" /user remoteMailboxID=0 userID=0b2fde4b-1d78-45a6-88c0-2fa08ff8f221 time="2026-09-17T09:49:31Z" msg="Mailbox created" /user remoteMailboxID=5 userID=0b2fde4b-1d78-45a6-88c0-2fa08ff8f221 time="2026-09-17T09:49:31Z" msg="Mailbox created" /user remoteMailboxID=20ed231c-64d0-49d1-a05d-df72fca60f51 userID=0b2fde4b-1d78-45a6-88c0-2fa08ff8f221 time="2026-09-17T09:49:31Z" msg="Synced labels" time="2026-09-17T09:49:31Z" msg="200 OK: GET https://127.0.0.1:44657/mail/v4/messages/count" /client userID=0f9c71a3-4f66-4103-9f24-2d9d74e85ee0 time="2026-09-17T09:49:31Z" msg="Syncing messages" time="2026-09-17T09:49:31Z" msg="Job started" time="2026-09-17T09:49:31Z" msg="200 OK: POST https://127.0.0.1:44657/mail/v4/messages" /client userID=0f9c71a3-4f66-4103-9f24-2d9d74e85ee0 time="2026-09-17T09:49:31Z" msg="200 OK: POST https://127.0.0.1:44657/mail/v4/messages" /client userID=0f9c71a3-4f66-4103-9f24-2d9d74e85ee0 time="2026-09-17T09:49:31Z" msg="Creating new child job" time="2026-09-17T09:49:31Z" msg="Job finished" time="2026-09-17T09:49:31Z" msg="200 OK: GET https://127.0.0.1:44657/mail/v4/messages/70e63b4c-bda3-4d3e-ac45-9c30be17dccc" /client userID=0f9c71a3-4f66-4103-9f24-2d9d74e85ee0 time="2026-09-17T09:49:31Z" msg="200 OK: GET https://127.0.0.1:44657/mail/v4/messages/8ffdcfdf-aa6a-4fe9-9604-20a2a50adb6a" /client userID=0f9c71a3-4f66-4103-9f24-2d9d74e85ee0 time="2026-09-17T09:49:31Z" msg="200 OK: GET https://127.0.0.1:44657/mail/v4/messages/70842c46-360b-41c9-9301-0b06abf9e2d0" /client userID=0f9c71a3-4f66-4103-9f24-2d9d74e85ee0 time="2026-09-17T09:49:31Z" msg="200 OK: GET https://127.0.0.1:44657/mail/v4/messages/e21e30a6-2863-45fc-86a1-a71e7df89472" /client userID=0f9c71a3-4f66-4103-9f24-2d9d74e85ee0 time="2026-09-17T09:49:31Z" msg="Sending observability data." time="2026-09-17T09:49:31Z" msg="200 OK: POST https://127.0.0.1:44657/data/v1/metrics" /client userID=0f9c71a3-4f66-4103-9f24-2d9d74e85ee0 time="2026-09-17T09:49:31Z" msg="Successfully sent observability data." time="2026-09-17T09:49:31Z" msg="Scheduling observability data sending" time="2026-09-17T09:49:31Z" msg="Child job finished" time="2026-09-17T09:49:31Z" msg="All child jobs completed" sync- time="2026-09-17T09:49:31Z" msg="Synced messages" time="2026-09-17T09:49:31Z" msg="Finished user sync" .059671ms time="2026-09-17T09:49:31Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:49:31Z" msg="Event loop reset" eventID="Bw==" Scenario: Move message from Inbox to Sent is not possible # features/imap/message/move.feature:126 Given test skips reporter checks # :1 -> *scenario time="2026-09-17T09:49:31Z" msg="Command failed" cmd="UID MOVE [1:1] 'wWvIK/HwTt4E0bwL33FLGi5SOsX6Bv7nuUZsbS1Urx4='" error="operation not allowed" /session When IMAP client "1" moves the message with subject "bar" from "Inbox" to "Sent" # :1 -> *scenario time="2026-09-17T09:49:31Z" msg="Frontend service stopped" time="2026-09-17T09:49:31Z" msg="Frontend client stopped" time="2026-09-17T09:49:31Z" msg="Closing bridge" time="2026-09-17T09:49:31Z" msg="Stopping service" time="2026-09-17T09:49:31Z" msg="Closing user" userID=0f9c71a3-4f66-4103-9f24-2d9d74e85ee0 time="2026-09-17T09:49:31Z" msg="De-registering user client, ID:0f9c71a3-4f66-4103-9f24-2d9d74e85ee0" time="2026-09-17T09:49:31Z" msg="Exiting IMAP Service" time="2026-09-17T09:49:31Z" msg="Exiting service main loop" time="2026-09-17T09:49:31Z" msg="Exiting service main loop" time="2026-09-17T09:49:31Z" msg="Exiting Service" time="2026-09-17T09:49:31Z" msg="Exiting service main loop" time="2026-09-17T09:49:31Z" msg="Exiting service" time="2026-09-17T09:49:31Z" msg="Closing IMAP Listener" time="2026-09-17T09:49:31Z" msg="Closing IMAP server" time="2026-09-17T09:49:31Z" msg="Closing SMTP Listener" time="2026-09-17T09:49:31Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:49:31Z" msg="Closing SMTP server" time="2026-09-17T09:49:31Z" msg="Closing service" Then it fails # :1 -> *scenario time="2026-09-17T09:49:31Z" msg="User 'ab43af88-68e1-4a16-b0e2-4295cd3aba92' created with " /server/backend time="2026-09-17T09:49:34Z" msg="Starting bridge" time="2026-09-17T09:49:34Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/124/config4177713583/grpcFocusServerConfig.json /service time="2026-09-17T09:49:34Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/124/cache4114129793/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:49:34Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/124/cache4114129793/notifications/notification_cache: no such file or directory" time="2026-09-17T09:49:34Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/124/data1558853805/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/124/data1558853805/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:49:34Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:49:34Z" msg="Starting IMAP server" time="2026-09-17T09:49:34Z" msg="Starting SMTP server" time="2026-09-17T09:49:34Z" msg="Starting service" time="2026-09-17T09:49:34Z" msg="Starting service" time="2026-09-17T09:49:34Z" msg="Starting receiver service" time="2026-09-17T09:49:34Z" msg="Starting poll service" time="2026-09-17T09:49:34Z" msg="Starting frontend service" time="2026-09-17T09:49:34Z" msg="Checking for updates" time="2026-09-17T09:49:34Z" msg="Loading users" /user time="2026-09-17T09:49:34Z" msg="Finished loading users" /user time="2026-09-17T09:49:34Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/124/config4177713583/grpcServerConfig.json time="2026-09-17T09:49:34Z" msg="gRPC server listening on /tmp/bridge9157" time="2026-09-17T09:49:34Z" msg="Frontend service started" time="2026-09-17T09:49:34Z" msg="Starting frontend client" time="2026-09-17T09:49:34Z" msg="Not monitoring parent PID" time="2026-09-17T09:49:34Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:49:34Z" msg="Frontend client started" time="2026-09-17T09:49:34Z" msg="Performing full user login" /user username="******** (a39dacc7)" time="2026-09-17T09:49:34Z" msg="Authorizing user for login" /user username="******** (a39dacc7)" time="2026-09-17T09:49:34Z" msg="200 OK: GET https://127.0.0.1:38315/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:49:34Z" msg="200 OK: POST https://127.0.0.1:38315/auth/v4/info" /manager time="2026-09-17T09:49:35Z" msg="200 OK: POST https://127.0.0.1:38315/auth/v4" /manager time="2026-09-17T09:49:35Z" msg="Logging in authorized user" /user userID=f42179a6-3b38-4f5d-8ef3-20e5d192b6ca time="2026-09-17T09:49:35Z" msg="Adding vault user" userID=f42179a6-3b38-4f5d-8ef3-20e5d192b6ca time="2026-09-17T09:49:35Z" msg="Creating new user" userID=f42179a6-3b38-4f5d-8ef3-20e5d192b6ca time="2026-09-17T09:49:35Z" msg="404 GET https://127.0.0.1:38315/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:49:35Z" msg="404 GET https://127.0.0.1:38315/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:49:35Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:38315/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:49:35Z" msg="Creating user object" authUID=21390cf1-b0b7-4635-ba14-3a28bce98685 numA numL userID=f42179a6-3b38-4f5d-8ef3-20e5d192b6ca time="2026-09-17T09:49:35Z" msg="200 OK: GET https://127.0.0.1:38315/core/v4/events/latest" /client userID=f42179a6-3b38-4f5d-8ef3-20e5d192b6ca time="2026-09-17T09:49:35Z" msg="Starting service Last EventID=Bw==" time="2026-09-17T09:49:35Z" msg="200 OK: GET https://127.0.0.1:38315/core/v4/settings" /client userID=f42179a6-3b38-4f5d-8ef3-20e5d192b6ca time="2026-09-17T09:49:35Z" msg="Registering user client, ID:f42179a6-3b38-4f5d-8ef3-20e5d192b6ca" time="2026-09-17T09:49:35Z" msg="Starting service main loop" time="2026-09-17T09:49:35Z" msg="Starting service main loop" time="2026-09-17T09:49:35Z" msg="Starting user identity service" numA time="2026-09-17T09:49:35Z" msg="Starting service main loop" time="2026-09-17T09:49:35Z" msg="200 OK: GET https://127.0.0.1:38315/core/v4/labels?T" /client userID=f42179a6-3b38-4f5d-8ef3-20e5d192b6ca time="2026-09-17T09:49:35Z" msg="200 OK: GET https://127.0.0.1:38315/core/v4/labels?T" /client userID=f42179a6-3b38-4f5d-8ef3-20e5d192b6ca time="2026-09-17T09:49:35Z" msg="200 OK: GET https://127.0.0.1:38315/core/v4/labels?T" /client userID=f42179a6-3b38-4f5d-8ef3-20e5d192b6ca time="2026-09-17T09:49:35Z" msg="Setting labels" labelIDs="[0 1 3 4 5 6 7 8 2 9 10 12 fa20ab9c-9789-439a-882d-d62d49532aa3 d5ab10c1-aa8c-4f89-8fb8-58fc905815c4 66364e56-bc4f-4552-a6ef-630dbce2521d]" time="2026-09-17T09:49:35Z" msg="Adding user to imap server" addrID=01dc80ad-6fe5-4c56-a48c-4a4fad53f07b time="2026-09-17T09:49:35Z" msg="Creating new IMAP user" addrID=01dc80ad-6fe5-4c56-a48c-4a4fad53f07b time="2026-09-17T09:49:35Z" msg="Setting gluon ID" addrID=01dc80ad-6fe5-4c56-a48c-4a4fad53f07b gluonID=f853a245-16d5-42ea-9a1b-e33f100543f7 userID=f42179a6-3b38-4f5d-8ef3-20e5d192b6ca time="2026-09-17T09:49:35Z" msg="Received mailbox message count" gluonID=f853a245-16d5-42ea-9a1b-e33f100543f7 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:49:35Z" msg="Created new IMAP user" addrID=01dc80ad-6fe5-4c56-a48c-4a4fad53f07b gluonID=f853a245-16d5-42ea-9a1b-e33f100543f7 time="2026-09-17T09:49:35Z" msg="Validating Listener State" time="2026-09-17T09:49:35Z" time="2026-09-17T09:49:35Z" msg="Starting IMAP Service" time="2026-09-17T09:49:35Z" msg="Sync triggered" time="2026-09-17T09:49:35Z" msg="Checking whether logged in user should re-sync. UserID:f42179a6-3b38-4f5d-8ef3-20e5d192b6ca" userID=f42179a6-3b38-4f5d-8ef3-20e5d192b6ca time="2026-09-17T09:49:35Z" msg="Beginning user sync" start="2026-09-17 09:49:35.271391397 +0000 UTC m=+263.763693773" time="2026-09-17T09:49:35Z" msg="Syncing labels" time="2026-09-17T09:49:35Z" msg="Label not found in DB, creating mailbox." labelID=d5ab10c1-aa8c-4f89-8fb8-58fc905815c4 labelPath="mHoyd+am6bmNoUvxRZ/ZRvBIQnwu+1OQWf1jSR3oA+s=" numberOfC /labelConflictResolver time="2026-09-17T09:49:35Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=f853a245-16d5-42ea-9a1b-e33f100543f7 time="2026-09-17T09:49:35Z" msg="Label not found in DB, creating mailbox." labelID=66364e56-bc4f-4552-a6ef-630dbce2521d labelPath="AUFssb0Jn4BktyyOswfmjNccbC5+NIS37B9EgC88SIg=" numberOfC /labelConflictResolver time="2026-09-17T09:49:35Z" msg="Label not found in DB, creating mailbox." labelID=fa20ab9c-9789-439a-882d-d62d49532aa3 labelPath="jm2pV8GS7FVFPTesFaU5jW/EhDgcEQCxeWTMDFRvNjU=" numberOfC /labelConflictResolver time="2026-09-17T09:49:35Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=f853a245-16d5-42ea-9a1b-e33f100543f7 time="2026-09-17T09:49:35Z" msg="Mailbox created" /user remoteMailboxID=5 userID=f853a245-16d5-42ea-9a1b-e33f100543f7 time="2026-09-17T09:49:35Z" msg="Mailbox created" /user remoteMailboxID=7 userID=f853a245-16d5-42ea-9a1b-e33f100543f7 time="2026-09-17T09:49:35Z" msg="Mailbox created" /user remoteMailboxID=10 userID=f853a245-16d5-42ea-9a1b-e33f100543f7 time="2026-09-17T09:49:35Z" msg="Mailbox created" /user remoteMailboxID=12 userID=f853a245-16d5-42ea-9a1b-e33f100543f7 time="2026-09-17T09:49:35Z" msg="Mailbox created" /user remoteMailboxID=3 userID=f853a245-16d5-42ea-9a1b-e33f100543f7 time="2026-09-17T09:49:35Z" msg="Mailbox created" /user remoteMailboxID=4 userID=f853a245-16d5-42ea-9a1b-e33f100543f7 time="2026-09-17T09:49:35Z" msg="Mailbox created" /user remoteMailboxID=6 userID=f853a245-16d5-42ea-9a1b-e33f100543f7 time="2026-09-17T09:49:35Z" msg="Mailbox created" /user remoteMailboxID=8 userID=f853a245-16d5-42ea-9a1b-e33f100543f7 time="2026-09-17T09:49:35Z" msg="Mailbox created" /user remoteMailboxID=d5ab10c1-aa8c-4f89-8fb8-58fc905815c4 userID=f853a245-16d5-42ea-9a1b-e33f100543f7 time="2026-09-17T09:49:35Z" msg="Mailbox created" /user remoteMailboxID=66364e56-bc4f-4552-a6ef-630dbce2521d userID=f853a245-16d5-42ea-9a1b-e33f100543f7 time="2026-09-17T09:49:35Z" msg="Mailbox created" /user remoteMailboxID=0 userID=f853a245-16d5-42ea-9a1b-e33f100543f7 time="2026-09-17T09:49:35Z" msg="Mailbox created" /user remoteMailboxID=fa20ab9c-9789-439a-882d-d62d49532aa3 userID=f853a245-16d5-42ea-9a1b-e33f100543f7 time="2026-09-17T09:49:35Z" msg="Synced labels" time="2026-09-17T09:49:35Z" msg="200 OK: GET https://127.0.0.1:38315/mail/v4/messages/count" /client userID=f42179a6-3b38-4f5d-8ef3-20e5d192b6ca time="2026-09-17T09:49:35Z" msg="Syncing messages" time="2026-09-17T09:49:35Z" msg="Job started" time="2026-09-17T09:49:35Z" msg="200 OK: POST https://127.0.0.1:38315/mail/v4/messages" /client userID=f42179a6-3b38-4f5d-8ef3-20e5d192b6ca time="2026-09-17T09:49:35Z" msg="200 OK: POST https://127.0.0.1:38315/mail/v4/messages" /client userID=f42179a6-3b38-4f5d-8ef3-20e5d192b6ca time="2026-09-17T09:49:35Z" msg="Creating new child job" time="2026-09-17T09:49:35Z" msg="Job finished" time="2026-09-17T09:49:35Z" msg="200 OK: GET https://127.0.0.1:38315/mail/v4/messages/6e62a6df-3bf8-44d9-8eb9-bd18cfb2f23f" /client userID=f42179a6-3b38-4f5d-8ef3-20e5d192b6ca time="2026-09-17T09:49:35Z" msg="200 OK: GET https://127.0.0.1:38315/mail/v4/messages/9b036969-2905-49c2-9323-7909dba15bc2" /client userID=f42179a6-3b38-4f5d-8ef3-20e5d192b6ca time="2026-09-17T09:49:35Z" msg="200 OK: GET https://127.0.0.1:38315/mail/v4/messages/62174ec3-bd76-444c-93e3-b8518f7b222c" /client userID=f42179a6-3b38-4f5d-8ef3-20e5d192b6ca time="2026-09-17T09:49:35Z" msg="200 OK: GET https://127.0.0.1:38315/mail/v4/messages/7a436d71-c780-4675-b7d6-7de15283fc57" /client userID=f42179a6-3b38-4f5d-8ef3-20e5d192b6ca time="2026-09-17T09:49:35Z" msg="Sending observability data." time="2026-09-17T09:49:35Z" msg="200 OK: POST https://127.0.0.1:38315/data/v1/metrics" /client userID=f42179a6-3b38-4f5d-8ef3-20e5d192b6ca time="2026-09-17T09:49:35Z" msg="Successfully sent observability data." time="2026-09-17T09:49:35Z" msg="Scheduling observability data sending" time="2026-09-17T09:49:35Z" msg="Child job finished" time="2026-09-17T09:49:35Z" msg="All child jobs completed" sync- time="2026-09-17T09:49:35Z" msg="Synced messages" time="2026-09-17T09:49:35Z" msg="Finished user sync" .746968ms time="2026-09-17T09:49:35Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:49:35Z" msg="Event loop reset" eventID="Bw==" Scenario: Move message from Sent to Inbox is not possible # features/imap/message/move.feature:131 Given test skips reporter checks # :1 -> *scenario time="2026-09-17T09:49:35Z" msg="Command failed" cmd="UID MOVE [1:1] 'g+y1Ib8yD2dyh+i5I4Cbs010utlij3E+0ODOTP4E8vg='" error="operation not allowed" /session When IMAP client "1" moves the message with subject "bax" from "Sent" to "Inbox" # :1 -> *scenario time="2026-09-17T09:49:35Z" msg="Frontend service stopped" time="2026-09-17T09:49:35Z" msg="Frontend client stopped" time="2026-09-17T09:49:35Z" msg="Closing bridge" time="2026-09-17T09:49:35Z" msg="Stopping service" time="2026-09-17T09:49:35Z" msg="Closing user" userID=f42179a6-3b38-4f5d-8ef3-20e5d192b6ca time="2026-09-17T09:49:35Z" msg="De-registering user client, ID:f42179a6-3b38-4f5d-8ef3-20e5d192b6ca" time="2026-09-17T09:49:35Z" msg="Exiting IMAP Service" time="2026-09-17T09:49:35Z" msg="Exiting service main loop" time="2026-09-17T09:49:35Z" msg="Exiting service main loop" time="2026-09-17T09:49:35Z" msg="Exiting Service" time="2026-09-17T09:49:35Z" msg="Exiting service main loop" time="2026-09-17T09:49:35Z" msg="Exiting service" time="2026-09-17T09:49:35Z" msg="Closing IMAP Listener" time="2026-09-17T09:49:35Z" msg="Closing IMAP server" time="2026-09-17T09:49:35Z" msg="Closing SMTP Listener" time="2026-09-17T09:49:35Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:49:35Z" msg="Closing SMTP server" time="2026-09-17T09:49:35Z" msg="Closing service" Then it fails # :1 -> *scenario Feature: IMAP move messages by append and delete (without MOVE support, e.g., Outlook) time="2026-09-17T09:49:35Z" msg="User '8b6609e7-b8e9-4bb9-be84-f14c0bf957f1' created with " /server/backend Background: Given there exists an account with username "8b6609e7-b8e9-4bb9-be84-f14c0bf957f1" and password "password" # :1 -> *scenario And the account "8b6609e7-b8e9-4bb9-be84-f14c0bf957f1" has the following custom mailboxes: # :1 -> *scenario | name | type | | mbox | folder | Then it succeeds # :1 -> *scenario time="2026-09-17T09:49:36Z" msg="Starting bridge" time="2026-09-17T09:49:36Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/125/config1492543484/grpcFocusServerConfig.json /service time="2026-09-17T09:49:36Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/125/cache415928065/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:49:36Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/125/cache415928065/notifications/notification_cache: no such file or directory" time="2026-09-17T09:49:36Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/125/data1178989939/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/125/data1178989939/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:49:36Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:49:36Z" msg="Starting IMAP server" time="2026-09-17T09:49:36Z" msg="Starting SMTP server" time="2026-09-17T09:49:36Z" msg="Starting service" time="2026-09-17T09:49:36Z" msg="Starting service" time="2026-09-17T09:49:36Z" msg="Starting poll service" time="2026-09-17T09:49:36Z" msg="Starting receiver service" time="2026-09-17T09:49:36Z" msg="Starting frontend service" time="2026-09-17T09:49:36Z" msg="Checking for updates" time="2026-09-17T09:49:36Z" msg="Loading users" /user time="2026-09-17T09:49:36Z" msg="Finished loading users" /user time="2026-09-17T09:49:36Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/125/config1492543484/grpcServerConfig.json time="2026-09-17T09:49:36Z" msg="gRPC server listening on /tmp/bridge8706" time="2026-09-17T09:49:36Z" msg="Frontend service started" time="2026-09-17T09:49:36Z" msg="Starting frontend client" time="2026-09-17T09:49:36Z" msg="Not monitoring parent PID" time="2026-09-17T09:49:36Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:49:36Z" msg="Frontend client started" When bridge starts # :1 -> *scenario time="2026-09-17T09:49:36Z" msg="Performing full user login" /user username="******** (5f10abbd)" time="2026-09-17T09:49:36Z" msg="Authorizing user for login" /user username="******** (5f10abbd)" time="2026-09-17T09:49:36Z" msg="200 OK: POST https://127.0.0.1:39791/auth/v4/info" /manager time="2026-09-17T09:49:36Z" msg="200 OK: POST https://127.0.0.1:39791/auth/v4" /manager time="2026-09-17T09:49:36Z" msg="Logging in authorized user" /user userID=984d10e5-fa07-46f2-8da5-a6f5886b2c77 time="2026-09-17T09:49:36Z" msg="Adding vault user" userID=984d10e5-fa07-46f2-8da5-a6f5886b2c77 time="2026-09-17T09:49:36Z" msg="Creating new user" userID=984d10e5-fa07-46f2-8da5-a6f5886b2c77 time="2026-09-17T09:49:36Z" msg="404 GET https://127.0.0.1:39791/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:49:36Z" msg="404 GET https://127.0.0.1:39791/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:49:36Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:39791/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:49:36Z" msg="Creating user object" authUID=ab2e3eb3-f1d6-4f04-96bc-64e3469c7c32 numA numL userID=984d10e5-fa07-46f2-8da5-a6f5886b2c77 time="2026-09-17T09:49:36Z" msg="200 OK: GET https://127.0.0.1:39791/core/v4/events/latest" /client userID=984d10e5-fa07-46f2-8da5-a6f5886b2c77 time="2026-09-17T09:49:36Z" msg="Starting service Last EventID=AQ==" time="2026-09-17T09:49:36Z" msg="200 OK: GET https://127.0.0.1:39791/core/v4/settings" /client userID=984d10e5-fa07-46f2-8da5-a6f5886b2c77 time="2026-09-17T09:49:36Z" msg="Registering user client, ID:984d10e5-fa07-46f2-8da5-a6f5886b2c77" time="2026-09-17T09:49:36Z" msg="Starting service main loop" time="2026-09-17T09:49:36Z" msg="Starting user identity service" numA time="2026-09-17T09:49:36Z" msg="Starting service main loop" time="2026-09-17T09:49:36Z" msg="Starting service main loop" time="2026-09-17T09:49:36Z" msg="200 OK: GET https://127.0.0.1:39791/core/v4/labels?T" /client userID=984d10e5-fa07-46f2-8da5-a6f5886b2c77 time="2026-09-17T09:49:36Z" msg="200 OK: GET https://127.0.0.1:39791/core/v4/labels?T" /client userID=984d10e5-fa07-46f2-8da5-a6f5886b2c77 time="2026-09-17T09:49:36Z" msg="200 OK: GET https://127.0.0.1:39791/core/v4/labels?T" /client userID=984d10e5-fa07-46f2-8da5-a6f5886b2c77 time="2026-09-17T09:49:36Z" msg="Setting labels" labelIDs="[1 2 4 5 6 8 10 12 0 3 7 9 338a2138-8d38-4293-9223-53cfcf08799a]" time="2026-09-17T09:49:36Z" msg="Adding user to imap server" addrID=f1662d21-c97d-43fb-8b23-3b0a560c221f time="2026-09-17T09:49:36Z" msg="Creating new IMAP user" addrID=f1662d21-c97d-43fb-8b23-3b0a560c221f time="2026-09-17T09:49:36Z" msg="Setting gluon ID" addrID=f1662d21-c97d-43fb-8b23-3b0a560c221f gluonID=aab2f3d3-8511-43f7-9cce-e8f2d2f275dc userID=984d10e5-fa07-46f2-8da5-a6f5886b2c77 time="2026-09-17T09:49:36Z" msg="Received mailbox message count" gluonID=aab2f3d3-8511-43f7-9cce-e8f2d2f275dc labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:49:36Z" msg="Created new IMAP user" addrID=f1662d21-c97d-43fb-8b23-3b0a560c221f gluonID=aab2f3d3-8511-43f7-9cce-e8f2d2f275dc time="2026-09-17T09:49:36Z" msg="Validating Listener State" time="2026-09-17T09:49:36Z" time="2026-09-17T09:49:36Z" msg="Starting IMAP Service" And the user logs in with username "8b6609e7-b8e9-4bb9-be84-f14c0bf957f1" and password "password" # :1 -> *scenario time="2026-09-17T09:49:36Z" msg="Checking whether logged in user should re-sync. UserID:984d10e5-fa07-46f2-8da5-a6f5886b2c77" userID=984d10e5-fa07-46f2-8da5-a6f5886b2c77 time="2026-09-17T09:49:36Z" msg="Sync triggered" time="2026-09-17T09:49:36Z" msg="Beginning user sync" start="2026-09-17 09:49:36.742858826 +0000 UTC m=+265.235161122" time="2026-09-17T09:49:36Z" msg="Syncing labels" time="2026-09-17T09:49:36Z" msg="Label not found in DB, creating mailbox." labelID=338a2138-8d38-4293-9223-53cfcf08799a labelPath="jm2pV8GS7FVFPTesFaU5jW/EhDgcEQCxeWTMDFRvNjU=" numberOfC /labelConflictResolver time="2026-09-17T09:49:36Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=aab2f3d3-8511-43f7-9cce-e8f2d2f275dc time="2026-09-17T09:49:36Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=aab2f3d3-8511-43f7-9cce-e8f2d2f275dc time="2026-09-17T09:49:36Z" msg="Mailbox created" /user remoteMailboxID=6 userID=aab2f3d3-8511-43f7-9cce-e8f2d2f275dc time="2026-09-17T09:49:36Z" msg="Mailbox created" /user remoteMailboxID=8 userID=aab2f3d3-8511-43f7-9cce-e8f2d2f275dc time="2026-09-17T09:49:36Z" msg="Mailbox created" /user remoteMailboxID=12 userID=aab2f3d3-8511-43f7-9cce-e8f2d2f275dc time="2026-09-17T09:49:36Z" msg="Mailbox created" /user remoteMailboxID=7 userID=aab2f3d3-8511-43f7-9cce-e8f2d2f275dc time="2026-09-17T09:49:36Z" msg="Mailbox created" /user remoteMailboxID=338a2138-8d38-4293-9223-53cfcf08799a userID=aab2f3d3-8511-43f7-9cce-e8f2d2f275dc time="2026-09-17T09:49:36Z" msg="Mailbox created" /user remoteMailboxID=4 userID=aab2f3d3-8511-43f7-9cce-e8f2d2f275dc time="2026-09-17T09:49:36Z" msg="Mailbox created" /user remoteMailboxID=5 userID=aab2f3d3-8511-43f7-9cce-e8f2d2f275dc time="2026-09-17T09:49:36Z" msg="Mailbox created" /user remoteMailboxID=10 userID=aab2f3d3-8511-43f7-9cce-e8f2d2f275dc time="2026-09-17T09:49:36Z" msg="Mailbox created" /user remoteMailboxID=0 userID=aab2f3d3-8511-43f7-9cce-e8f2d2f275dc time="2026-09-17T09:49:36Z" msg="Mailbox created" /user remoteMailboxID=3 userID=aab2f3d3-8511-43f7-9cce-e8f2d2f275dc time="2026-09-17T09:49:36Z" msg="Synced labels" time="2026-09-17T09:49:36Z" msg="200 OK: GET https://127.0.0.1:39791/mail/v4/messages/count" /client userID=984d10e5-fa07-46f2-8da5-a6f5886b2c77 time="2026-09-17T09:49:36Z" msg="Syncing messages" time="2026-09-17T09:49:36Z" msg="Job started" time="2026-09-17T09:49:36Z" msg="200 OK: POST https://127.0.0.1:39791/mail/v4/messages" /client userID=984d10e5-fa07-46f2-8da5-a6f5886b2c77 time="2026-09-17T09:49:36Z" msg="Job finished" time="2026-09-17T09:49:36Z" msg="All child jobs completed" sync- time="2026-09-17T09:49:36Z" msg="Synced messages" time="2026-09-17T09:49:36Z" msg="Finished user sync" .99508ms time="2026-09-17T09:49:36Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:49:36Z" msg="Event loop reset" eventID="AQ==" And user "8b6609e7-b8e9-4bb9-be84-f14c0bf957f1" finishes syncing # :1 -> *scenario And user "8b6609e7-b8e9-4bb9-be84-f14c0bf957f1" connects and authenticates IMAP client "source" # :1 -> *scenario And user "8b6609e7-b8e9-4bb9-be84-f14c0bf957f1" connects and authenticates IMAP client "target" # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:49:36Z" msg="200 OK: POST https://127.0.0.1:39791/mail/v4/messages/import" /client userID=984d10e5-fa07-46f2-8da5-a6f5886b2c77 time="2026-09-17T09:49:36Z" msg="200 OK: GET https://127.0.0.1:39791/mail/v4/messages/bb393b7a-0bb9-4343-a702-5c21f23f8110" /client userID=984d10e5-fa07-46f2-8da5-a6f5886b2c77 Scenario Outline: Move message from to by # features/imap/message/move_without_support.feature:15 time="2026-09-17T09:49:36Z" msg="200 OK: POST https://127.0.0.1:39791/mail/v4/messages/import" /client userID=984d10e5-fa07-46f2-8da5-a6f5886b2c77 time="2026-09-17T09:49:36Z" msg="200 OK: GET https://127.0.0.1:39791/mail/v4/messages/eddf480b-52fa-4a0a-98af-5c69f66a64d3" /client userID=984d10e5-fa07-46f2-8da5-a6f5886b2c77 time="2026-09-17T09:49:36Z" msg="200 OK: PUT https://127.0.0.1:39791/mail/v4/messages/label" /client userID=984d10e5-fa07-46f2-8da5-a6f5886b2c77 time="2026-09-17T09:49:36Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 7} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:49:36Z" msg="200 OK: PUT https://127.0.0.1:39791/mail/v4/messages/unlabel" /client userID=984d10e5-fa07-46f2-8da5-a6f5886b2c77 time="2026-09-17T09:49:36Z" msg="200 OK: POST https://127.0.0.1:39791/mail/v4/messages" /client userID=984d10e5-fa07-46f2-8da5-a6f5886b2c77 time="2026-09-17T09:49:36Z" msg="Message has not been marked for deletion due to remaining labels." addr- gluon- labels id(s)="[5 0]" mailboxID=3 messageID=eddf480b-52fa-4a0a-98af-5c69f66a64d3 remainingLabels="[eddf480b-52fa-4a0a-98af-5c69f66a64d3]" user- time="2026-09-17T09:49:37Z" msg="Frontend service stopped" time="2026-09-17T09:49:37Z" msg="Frontend client stopped" time="2026-09-17T09:49:37Z" msg="Closing bridge" time="2026-09-17T09:49:37Z" msg="Stopping service" time="2026-09-17T09:49:37Z" msg="Closing user" userID=984d10e5-fa07-46f2-8da5-a6f5886b2c77 time="2026-09-17T09:49:37Z" msg="De-registering user client, ID:984d10e5-fa07-46f2-8da5-a6f5886b2c77" time="2026-09-17T09:49:37Z" msg="Exiting IMAP Service" time="2026-09-17T09:49:37Z" msg="Exiting service main loop" time="2026-09-17T09:49:37Z" msg="Exiting service main loop" time="2026-09-17T09:49:37Z" msg="Exiting Service" time="2026-09-17T09:49:37Z" msg="Exiting service main loop" time="2026-09-17T09:49:37Z" msg="Exiting service" time="2026-09-17T09:49:37Z" msg="Closing IMAP Listener" time="2026-09-17T09:49:37Z" msg="Closing IMAP server" time="2026-09-17T09:49:37Z" msg="Closing SMTP Listener" time="2026-09-17T09:49:37Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:49:37Z" msg="Closing SMTP server" time="2026-09-17T09:49:37Z" msg="Closing service" Given there exists an account with username "[user:user]" and password "password" # :1 -> *scenario And the account "[user:user]" has the following custom mailboxes: # :1 -> *scenario | name | type | | mbox | folder | Then it succeeds # :1 -> *scenario When bridge starts # :1 -> *scenario And the user logs in with username "[user:user]" and password "password" # :1 -> *scenario And user "[user:user]" finishes syncing # :1 -> *scenario And user "[user:user]" connects and authenticates IMAP client "source" # :1 -> *scenario And user "[user:user]" connects and authenticates IMAP client "target" # :1 -> *scenario Then it succeeds # :1 -> *scenario When IMAP client "source" appends the following message to "": # :1 -> *scenario """ Received: by 2002:0:0:0:0:0:0:0 with SMTP id 0123456789abcdef; Wed, 30 Dec 2020 01:23:45 0000 From: sndr1@[domain] Date: 01 Jan 1980 00:00:00 +0000 To: rcvr1@[domain] Subject: subj1 body1 """ Then it succeeds # :1 -> *scenario When IMAP client "source" appends the following message to "": # :1 -> *scenario """ Received: by 2002:0:0:0:0:0:0:0 with SMTP id 0123456789abcdef; Wed, 30 Dec 2020 01:23:45 0000 From: sndr2@[domain] Date: 01 Jan 1980 00:00:00 +0000 To: rcvr2@[domain] Subject: subj2 body2 """ Then it succeeds # :1 -> *scenario And IMAP client "source" selects "" # :1 -> *scenario And IMAP client "target" selects "" # :1 -> *scenario When IMAP clients "source" and "target" move message with subject "subj2" of "[user:user]" to "" by # :1 -> *scenario And IMAP client "source" eventually sees 1 messages in "" # :1 -> *scenario And IMAP client "source" eventually sees the following messages in "": # :1 -> *scenario | from | to | subject | | sndr1@proton.local | rcvr1@proton.local | subj1 | And IMAP client "target" eventually sees 1 messages in "" # :1 -> *scenario And IMAP client "target" eventually sees the following messages in "": # :1 -> *scenario | from | to | subject | | sndr2@proton.local | rcvr2@proton.local | subj2 | Examples: | srcMailbox | dstMailbox | order | | Trash | INBOX | APPEND DELETE EXPUNGE | time="2026-09-17T09:49:37Z" msg="User '8dca7e10-08cd-4a44-8723-95027ab85910' created with " /server/backend time="2026-09-17T09:49:38Z" msg="Starting bridge" time="2026-09-17T09:49:38Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/126/config1142330313/grpcFocusServerConfig.json /service time="2026-09-17T09:49:38Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/126/cache2026324317/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:49:38Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/126/cache2026324317/notifications/notification_cache: no such file or directory" time="2026-09-17T09:49:38Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/126/data2641461882/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/126/data2641461882/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:49:38Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:49:38Z" msg="Starting IMAP server" time="2026-09-17T09:49:38Z" msg="Starting SMTP server" time="2026-09-17T09:49:38Z" msg="Starting service" time="2026-09-17T09:49:38Z" msg="Starting service" time="2026-09-17T09:49:38Z" msg="Starting receiver service" time="2026-09-17T09:49:38Z" msg="Starting frontend service" time="2026-09-17T09:49:38Z" msg="Starting poll service" time="2026-09-17T09:49:38Z" msg="Checking for updates" time="2026-09-17T09:49:38Z" msg="Loading users" /user time="2026-09-17T09:49:38Z" msg="Finished loading users" /user time="2026-09-17T09:49:38Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/126/config1142330313/grpcServerConfig.json time="2026-09-17T09:49:38Z" msg="gRPC server listening on /tmp/bridge2499" time="2026-09-17T09:49:38Z" msg="Frontend service started" time="2026-09-17T09:49:38Z" msg="Starting frontend client" time="2026-09-17T09:49:38Z" msg="Not monitoring parent PID" time="2026-09-17T09:49:38Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:49:38Z" msg="200 OK: GET https://127.0.0.1:33721/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:49:38Z" msg="Frontend client started" time="2026-09-17T09:49:38Z" msg="Performing full user login" /user username="******** (da5026db)" time="2026-09-17T09:49:38Z" msg="Authorizing user for login" /user username="******** (da5026db)" time="2026-09-17T09:49:38Z" msg="200 OK: POST https://127.0.0.1:33721/auth/v4/info" /manager time="2026-09-17T09:49:38Z" msg="200 OK: POST https://127.0.0.1:33721/auth/v4" /manager time="2026-09-17T09:49:38Z" msg="Logging in authorized user" /user userID=b7d8713b-397a-4bcd-922c-ce65f89b5303 time="2026-09-17T09:49:38Z" msg="Adding vault user" userID=b7d8713b-397a-4bcd-922c-ce65f89b5303 time="2026-09-17T09:49:38Z" msg="Creating new user" userID=b7d8713b-397a-4bcd-922c-ce65f89b5303 time="2026-09-17T09:49:38Z" msg="404 GET https://127.0.0.1:33721/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:49:38Z" msg="404 GET https://127.0.0.1:33721/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:49:38Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:33721/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:49:38Z" msg="Creating user object" authUID=1c871865-ed73-49bd-8aa3-e806ed10b71d numA numL userID=b7d8713b-397a-4bcd-922c-ce65f89b5303 time="2026-09-17T09:49:38Z" msg="200 OK: GET https://127.0.0.1:33721/core/v4/events/latest" /client userID=b7d8713b-397a-4bcd-922c-ce65f89b5303 time="2026-09-17T09:49:38Z" msg="Starting service Last EventID=AQ==" time="2026-09-17T09:49:38Z" msg="200 OK: GET https://127.0.0.1:33721/core/v4/settings" /client userID=b7d8713b-397a-4bcd-922c-ce65f89b5303 time="2026-09-17T09:49:38Z" msg="Registering user client, ID:b7d8713b-397a-4bcd-922c-ce65f89b5303" time="2026-09-17T09:49:38Z" msg="Starting service main loop" time="2026-09-17T09:49:38Z" msg="Starting user identity service" numA time="2026-09-17T09:49:38Z" msg="Starting service main loop" time="2026-09-17T09:49:38Z" msg="Starting service main loop" time="2026-09-17T09:49:38Z" msg="200 OK: GET https://127.0.0.1:33721/core/v4/labels?T" /client userID=b7d8713b-397a-4bcd-922c-ce65f89b5303 time="2026-09-17T09:49:38Z" msg="200 OK: GET https://127.0.0.1:33721/core/v4/labels?T" /client userID=b7d8713b-397a-4bcd-922c-ce65f89b5303 time="2026-09-17T09:49:38Z" msg="200 OK: GET https://127.0.0.1:33721/core/v4/labels?T" /client userID=b7d8713b-397a-4bcd-922c-ce65f89b5303 time="2026-09-17T09:49:38Z" msg="Setting labels" labelIDs="[6 7 8 9 2 4 10 12 0 1 3 5 ef6e11bf-9804-4b82-87c9-a44d18226786]" time="2026-09-17T09:49:38Z" msg="Adding user to imap server" addrID=59b904f4-462f-45c4-8032-2296df45f3ee time="2026-09-17T09:49:38Z" msg="Creating new IMAP user" addrID=59b904f4-462f-45c4-8032-2296df45f3ee time="2026-09-17T09:49:38Z" msg="Setting gluon ID" addrID=59b904f4-462f-45c4-8032-2296df45f3ee gluonID=62556ce0-ed61-4df2-839a-b51d40bbbc52 userID=b7d8713b-397a-4bcd-922c-ce65f89b5303 time="2026-09-17T09:49:38Z" msg="Received mailbox message count" gluonID=62556ce0-ed61-4df2-839a-b51d40bbbc52 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:49:38Z" msg="Created new IMAP user" addrID=59b904f4-462f-45c4-8032-2296df45f3ee gluonID=62556ce0-ed61-4df2-839a-b51d40bbbc52 time="2026-09-17T09:49:38Z" msg="Validating Listener State" time="2026-09-17T09:49:38Z" time="2026-09-17T09:49:38Z" msg="Starting IMAP Service" time="2026-09-17T09:49:38Z" msg="Checking whether logged in user should re-sync. UserID:b7d8713b-397a-4bcd-922c-ce65f89b5303" userID=b7d8713b-397a-4bcd-922c-ce65f89b5303 time="2026-09-17T09:49:38Z" msg="Sync triggered" time="2026-09-17T09:49:38Z" msg="Beginning user sync" start="2026-09-17 09:49:38.941603072 +0000 UTC m=+267.433905408" time="2026-09-17T09:49:38Z" msg="Syncing labels" time="2026-09-17T09:49:38Z" msg="Label not found in DB, creating mailbox." labelID=ef6e11bf-9804-4b82-87c9-a44d18226786 labelPath="jm2pV8GS7FVFPTesFaU5jW/EhDgcEQCxeWTMDFRvNjU=" numberOfC /labelConflictResolver time="2026-09-17T09:49:38Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=62556ce0-ed61-4df2-839a-b51d40bbbc52 time="2026-09-17T09:49:38Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=62556ce0-ed61-4df2-839a-b51d40bbbc52 time="2026-09-17T09:49:38Z" msg="Mailbox created" /user remoteMailboxID=6 userID=62556ce0-ed61-4df2-839a-b51d40bbbc52 time="2026-09-17T09:49:38Z" msg="Mailbox created" /user remoteMailboxID=8 userID=62556ce0-ed61-4df2-839a-b51d40bbbc52 time="2026-09-17T09:49:38Z" msg="Mailbox created" /user remoteMailboxID=12 userID=62556ce0-ed61-4df2-839a-b51d40bbbc52 time="2026-09-17T09:49:38Z" msg="Mailbox created" /user remoteMailboxID=0 userID=62556ce0-ed61-4df2-839a-b51d40bbbc52 time="2026-09-17T09:49:38Z" msg="Mailbox created" /user remoteMailboxID=ef6e11bf-9804-4b82-87c9-a44d18226786 userID=62556ce0-ed61-4df2-839a-b51d40bbbc52 time="2026-09-17T09:49:38Z" msg="Mailbox created" /user remoteMailboxID=7 userID=62556ce0-ed61-4df2-839a-b51d40bbbc52 time="2026-09-17T09:49:38Z" msg="Mailbox created" /user remoteMailboxID=4 userID=62556ce0-ed61-4df2-839a-b51d40bbbc52 time="2026-09-17T09:49:38Z" msg="Mailbox created" /user remoteMailboxID=10 userID=62556ce0-ed61-4df2-839a-b51d40bbbc52 time="2026-09-17T09:49:38Z" msg="Mailbox created" /user remoteMailboxID=3 userID=62556ce0-ed61-4df2-839a-b51d40bbbc52 time="2026-09-17T09:49:38Z" msg="Mailbox created" /user remoteMailboxID=5 userID=62556ce0-ed61-4df2-839a-b51d40bbbc52 time="2026-09-17T09:49:38Z" msg="Synced labels" time="2026-09-17T09:49:38Z" msg="200 OK: GET https://127.0.0.1:33721/mail/v4/messages/count" /client userID=b7d8713b-397a-4bcd-922c-ce65f89b5303 time="2026-09-17T09:49:38Z" msg="Syncing messages" time="2026-09-17T09:49:38Z" msg="Job started" time="2026-09-17T09:49:38Z" msg="200 OK: POST https://127.0.0.1:33721/mail/v4/messages" /client userID=b7d8713b-397a-4bcd-922c-ce65f89b5303 time="2026-09-17T09:49:38Z" msg="Job finished" time="2026-09-17T09:49:38Z" msg="All child jobs completed" sync- time="2026-09-17T09:49:38Z" msg="Synced messages" time="2026-09-17T09:49:38Z" msg="Finished user sync" .786932ms time="2026-09-17T09:49:38Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:49:38Z" msg="Event loop reset" eventID="AQ==" time="2026-09-17T09:49:38Z" msg="200 OK: POST https://127.0.0.1:33721/mail/v4/messages/import" /client userID=b7d8713b-397a-4bcd-922c-ce65f89b5303 time="2026-09-17T09:49:38Z" msg="200 OK: GET https://127.0.0.1:33721/mail/v4/messages/3f05b7d9-375f-47c5-b19d-2d67975984ed" /client userID=b7d8713b-397a-4bcd-922c-ce65f89b5303 time="2026-09-17T09:49:38Z" msg="200 OK: POST https://127.0.0.1:33721/mail/v4/messages/import" /client userID=b7d8713b-397a-4bcd-922c-ce65f89b5303 time="2026-09-17T09:49:38Z" msg="200 OK: GET https://127.0.0.1:33721/mail/v4/messages/12b6e0bb-e7d6-45d3-ab59-4d74b30e2ec0" /client userID=b7d8713b-397a-4bcd-922c-ce65f89b5303 time="2026-09-17T09:49:38Z" msg="200 OK: PUT https://127.0.0.1:33721/mail/v4/messages/label" /client userID=b7d8713b-397a-4bcd-922c-ce65f89b5303 time="2026-09-17T09:49:39Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 1} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:49:39Z" msg="200 OK: PUT https://127.0.0.1:33721/mail/v4/messages/unlabel" /client userID=b7d8713b-397a-4bcd-922c-ce65f89b5303 time="2026-09-17T09:49:39Z" msg="Frontend service stopped" time="2026-09-17T09:49:39Z" msg="Frontend client stopped" time="2026-09-17T09:49:39Z" msg="Closing bridge" time="2026-09-17T09:49:39Z" msg="Stopping service" time="2026-09-17T09:49:39Z" msg="Closing user" userID=b7d8713b-397a-4bcd-922c-ce65f89b5303 time="2026-09-17T09:49:39Z" msg="De-registering user client, ID:b7d8713b-397a-4bcd-922c-ce65f89b5303" time="2026-09-17T09:49:39Z" msg="Exiting IMAP Service" time="2026-09-17T09:49:39Z" msg="Exiting service main loop" time="2026-09-17T09:49:39Z" msg="Exiting service main loop" time="2026-09-17T09:49:39Z" msg="Exiting Service" time="2026-09-17T09:49:39Z" msg="Exiting service main loop" time="2026-09-17T09:49:39Z" msg="Exiting service" time="2026-09-17T09:49:39Z" msg="Closing IMAP Listener" time="2026-09-17T09:49:39Z" msg="Closing IMAP server" time="2026-09-17T09:49:39Z" msg="Closing SMTP Listener" time="2026-09-17T09:49:39Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:49:39Z" msg="Closing SMTP server" time="2026-09-17T09:49:39Z" msg="Closing service" | Spam | INBOX | APPEND DELETE EXPUNGE | time="2026-09-17T09:49:39Z" msg="User 'f603eaf9-bde1-4fce-9744-d0a355f828a5' created with " /server/backend time="2026-09-17T09:49:40Z" msg="Starting bridge" time="2026-09-17T09:49:40Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/127/config1919464584/grpcFocusServerConfig.json /service time="2026-09-17T09:49:40Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/127/cache705521625/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:49:40Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/127/cache705521625/notifications/notification_cache: no such file or directory" time="2026-09-17T09:49:40Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/127/data1579489768/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/127/data1579489768/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:49:40Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:49:40Z" msg="Starting IMAP server" time="2026-09-17T09:49:40Z" msg="Starting SMTP server" time="2026-09-17T09:49:40Z" msg="Starting service" time="2026-09-17T09:49:40Z" msg="Starting service" time="2026-09-17T09:49:40Z" msg="Starting frontend service" time="2026-09-17T09:49:40Z" msg="Starting poll service" time="2026-09-17T09:49:40Z" msg="Starting receiver service" time="2026-09-17T09:49:40Z" msg="Loading users" /user time="2026-09-17T09:49:40Z" msg="Finished loading users" /user time="2026-09-17T09:49:40Z" msg="Checking for updates" time="2026-09-17T09:49:40Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/127/config1919464584/grpcServerConfig.json time="2026-09-17T09:49:40Z" msg="gRPC server listening on /tmp/bridge0811" time="2026-09-17T09:49:40Z" msg="Frontend service started" time="2026-09-17T09:49:40Z" msg="Starting frontend client" time="2026-09-17T09:49:40Z" msg="Not monitoring parent PID" time="2026-09-17T09:49:40Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:49:40Z" msg="200 OK: GET https://127.0.0.1:41051/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:49:40Z" msg="Frontend client started" time="2026-09-17T09:49:40Z" msg="Performing full user login" /user username="******** (a4ed83da)" time="2026-09-17T09:49:40Z" msg="Authorizing user for login" /user username="******** (a4ed83da)" time="2026-09-17T09:49:40Z" msg="200 OK: POST https://127.0.0.1:41051/auth/v4/info" /manager time="2026-09-17T09:49:41Z" msg="200 OK: POST https://127.0.0.1:41051/auth/v4" /manager time="2026-09-17T09:49:41Z" msg="Logging in authorized user" /user userID=0095031b-abe6-4934-b39a-38c1af129b05 time="2026-09-17T09:49:41Z" msg="Adding vault user" userID=0095031b-abe6-4934-b39a-38c1af129b05 time="2026-09-17T09:49:41Z" msg="Creating new user" userID=0095031b-abe6-4934-b39a-38c1af129b05 time="2026-09-17T09:49:41Z" msg="404 GET https://127.0.0.1:41051/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:49:41Z" msg="404 GET https://127.0.0.1:41051/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:49:41Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:41051/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:49:41Z" msg="Creating user object" authUID=5b749fe0-790d-4ee1-8e25-e3243855eec8 numA numL userID=0095031b-abe6-4934-b39a-38c1af129b05 time="2026-09-17T09:49:41Z" msg="200 OK: GET https://127.0.0.1:41051/core/v4/events/latest" /client userID=0095031b-abe6-4934-b39a-38c1af129b05 time="2026-09-17T09:49:41Z" msg="Starting service Last EventID=AQ==" time="2026-09-17T09:49:41Z" msg="200 OK: GET https://127.0.0.1:41051/core/v4/settings" /client userID=0095031b-abe6-4934-b39a-38c1af129b05 time="2026-09-17T09:49:41Z" msg="Registering user client, ID:0095031b-abe6-4934-b39a-38c1af129b05" time="2026-09-17T09:49:41Z" msg="Starting user identity service" numA time="2026-09-17T09:49:41Z" msg="Starting service main loop" time="2026-09-17T09:49:41Z" msg="Starting service main loop" time="2026-09-17T09:49:41Z" msg="Starting service main loop" time="2026-09-17T09:49:41Z" msg="200 OK: GET https://127.0.0.1:41051/core/v4/labels?T" /client userID=0095031b-abe6-4934-b39a-38c1af129b05 time="2026-09-17T09:49:41Z" msg="200 OK: GET https://127.0.0.1:41051/core/v4/labels?T" /client userID=0095031b-abe6-4934-b39a-38c1af129b05 time="2026-09-17T09:49:41Z" msg="200 OK: GET https://127.0.0.1:41051/core/v4/labels?T" /client userID=0095031b-abe6-4934-b39a-38c1af129b05 time="2026-09-17T09:49:41Z" msg="Setting labels" labelIDs="[10 12 1 2 3 4 5 7 0 6 8 9 99d6bfaf-162f-4d72-99ad-73e4050b5f8f]" time="2026-09-17T09:49:41Z" msg="Adding user to imap server" addrID=74c983a6-fced-478e-8e97-4ce34a301430 time="2026-09-17T09:49:41Z" msg="Creating new IMAP user" addrID=74c983a6-fced-478e-8e97-4ce34a301430 time="2026-09-17T09:49:41Z" msg="Setting gluon ID" addrID=74c983a6-fced-478e-8e97-4ce34a301430 gluonID=5c53c3e1-e2b8-471a-bad5-06db01f5c760 userID=0095031b-abe6-4934-b39a-38c1af129b05 time="2026-09-17T09:49:41Z" msg="Received mailbox message count" gluonID=5c53c3e1-e2b8-471a-bad5-06db01f5c760 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:49:41Z" msg="Created new IMAP user" addrID=74c983a6-fced-478e-8e97-4ce34a301430 gluonID=5c53c3e1-e2b8-471a-bad5-06db01f5c760 time="2026-09-17T09:49:41Z" msg="Validating Listener State" time="2026-09-17T09:49:41Z" time="2026-09-17T09:49:41Z" msg="Checking whether logged in user should re-sync. UserID:0095031b-abe6-4934-b39a-38c1af129b05" userID=0095031b-abe6-4934-b39a-38c1af129b05 time="2026-09-17T09:49:41Z" msg="Starting IMAP Service" time="2026-09-17T09:49:41Z" msg="Sync triggered" time="2026-09-17T09:49:41Z" msg="Beginning user sync" start="2026-09-17 09:49:41.150536524 +0000 UTC m=+269.642838820" time="2026-09-17T09:49:41Z" msg="Syncing labels" time="2026-09-17T09:49:41Z" msg="Label not found in DB, creating mailbox." labelID=99d6bfaf-162f-4d72-99ad-73e4050b5f8f labelPath="jm2pV8GS7FVFPTesFaU5jW/EhDgcEQCxeWTMDFRvNjU=" numberOfC /labelConflictResolver time="2026-09-17T09:49:41Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=5c53c3e1-e2b8-471a-bad5-06db01f5c760 time="2026-09-17T09:49:41Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=5c53c3e1-e2b8-471a-bad5-06db01f5c760 time="2026-09-17T09:49:41Z" msg="Mailbox created" /user remoteMailboxID=8 userID=5c53c3e1-e2b8-471a-bad5-06db01f5c760 time="2026-09-17T09:49:41Z" msg="Mailbox created" /user remoteMailboxID=99d6bfaf-162f-4d72-99ad-73e4050b5f8f userID=5c53c3e1-e2b8-471a-bad5-06db01f5c760 time="2026-09-17T09:49:41Z" msg="Mailbox created" /user remoteMailboxID=10 userID=5c53c3e1-e2b8-471a-bad5-06db01f5c760 time="2026-09-17T09:49:41Z" msg="Mailbox created" /user remoteMailboxID=12 userID=5c53c3e1-e2b8-471a-bad5-06db01f5c760 time="2026-09-17T09:49:41Z" msg="Mailbox created" /user remoteMailboxID=3 userID=5c53c3e1-e2b8-471a-bad5-06db01f5c760 time="2026-09-17T09:49:41Z" msg="Mailbox created" /user remoteMailboxID=7 userID=5c53c3e1-e2b8-471a-bad5-06db01f5c760 time="2026-09-17T09:49:41Z" msg="Mailbox created" /user remoteMailboxID=0 userID=5c53c3e1-e2b8-471a-bad5-06db01f5c760 time="2026-09-17T09:49:41Z" msg="Mailbox created" /user remoteMailboxID=6 userID=5c53c3e1-e2b8-471a-bad5-06db01f5c760 time="2026-09-17T09:49:41Z" msg="Mailbox created" /user remoteMailboxID=4 userID=5c53c3e1-e2b8-471a-bad5-06db01f5c760 time="2026-09-17T09:49:41Z" msg="Mailbox created" /user remoteMailboxID=5 userID=5c53c3e1-e2b8-471a-bad5-06db01f5c760 time="2026-09-17T09:49:41Z" msg="Synced labels" time="2026-09-17T09:49:41Z" msg="200 OK: GET https://127.0.0.1:41051/mail/v4/messages/count" /client userID=0095031b-abe6-4934-b39a-38c1af129b05 time="2026-09-17T09:49:41Z" msg="Syncing messages" time="2026-09-17T09:49:41Z" msg="Job started" time="2026-09-17T09:49:41Z" msg="200 OK: POST https://127.0.0.1:41051/mail/v4/messages" /client userID=0095031b-abe6-4934-b39a-38c1af129b05 time="2026-09-17T09:49:41Z" msg="Job finished" time="2026-09-17T09:49:41Z" msg="All child jobs completed" sync- time="2026-09-17T09:49:41Z" msg="Synced messages" time="2026-09-17T09:49:41Z" msg="Finished user sync" .593158ms time="2026-09-17T09:49:41Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:49:41Z" msg="Event loop reset" eventID="AQ==" time="2026-09-17T09:49:41Z" msg="200 OK: POST https://127.0.0.1:41051/mail/v4/messages/import" /client userID=0095031b-abe6-4934-b39a-38c1af129b05 time="2026-09-17T09:49:41Z" msg="200 OK: GET https://127.0.0.1:41051/mail/v4/messages/fd1d3bc1-22bf-4cdb-bb90-6c464aa97540" /client userID=0095031b-abe6-4934-b39a-38c1af129b05 time="2026-09-17T09:49:41Z" msg="200 OK: POST https://127.0.0.1:41051/mail/v4/messages/import" /client userID=0095031b-abe6-4934-b39a-38c1af129b05 time="2026-09-17T09:49:41Z" msg="200 OK: GET https://127.0.0.1:41051/mail/v4/messages/0c8df896-b1c7-455a-a9a4-839e05f6dbd1" /client userID=0095031b-abe6-4934-b39a-38c1af129b05 time="2026-09-17T09:49:41Z" msg="200 OK: PUT https://127.0.0.1:41051/mail/v4/messages/label" /client userID=0095031b-abe6-4934-b39a-38c1af129b05 time="2026-09-17T09:49:41Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 7} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:49:41Z" msg="200 OK: PUT https://127.0.0.1:41051/mail/v4/messages/unlabel" /client userID=0095031b-abe6-4934-b39a-38c1af129b05 time="2026-09-17T09:49:41Z" msg="Frontend service stopped" time="2026-09-17T09:49:41Z" msg="Frontend client stopped" time="2026-09-17T09:49:41Z" msg="Closing bridge" time="2026-09-17T09:49:41Z" msg="Stopping service" time="2026-09-17T09:49:41Z" msg="Closing user" userID=0095031b-abe6-4934-b39a-38c1af129b05 time="2026-09-17T09:49:41Z" msg="De-registering user client, ID:0095031b-abe6-4934-b39a-38c1af129b05" time="2026-09-17T09:49:41Z" msg="Exiting IMAP Service" time="2026-09-17T09:49:41Z" msg="Exiting service main loop" time="2026-09-17T09:49:41Z" msg="Exiting service main loop" time="2026-09-17T09:49:41Z" msg="Exiting Service" time="2026-09-17T09:49:41Z" msg="Exiting service main loop" time="2026-09-17T09:49:41Z" msg="Exiting service" time="2026-09-17T09:49:41Z" msg="Closing IMAP Listener" time="2026-09-17T09:49:41Z" msg="Closing IMAP server" time="2026-09-17T09:49:41Z" msg="Closing SMTP Listener" time="2026-09-17T09:49:41Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:49:41Z" msg="Closing SMTP server" time="2026-09-17T09:49:41Z" msg="Closing service" | INBOX | Archive | APPEND DELETE EXPUNGE | time="2026-09-17T09:49:42Z" msg="User '670250ba-bcfc-4e62-be2b-b68cffdf2250' created with " /server/backend time="2026-09-17T09:49:42Z" msg="Starting bridge" time="2026-09-17T09:49:42Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/128/config1549494303/grpcFocusServerConfig.json /service time="2026-09-17T09:49:42Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/128/cache2632022968/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:49:42Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/128/cache2632022968/notifications/notification_cache: no such file or directory" time="2026-09-17T09:49:42Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/128/data2894511322/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/128/data2894511322/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:49:42Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:49:42Z" msg="Starting IMAP server" time="2026-09-17T09:49:42Z" msg="Starting SMTP server" time="2026-09-17T09:49:42Z" msg="Starting service" time="2026-09-17T09:49:42Z" msg="Starting service" time="2026-09-17T09:49:42Z" msg="Starting frontend service" time="2026-09-17T09:49:42Z" msg="Starting receiver service" time="2026-09-17T09:49:42Z" msg="Starting poll service" time="2026-09-17T09:49:42Z" msg="Loading users" /user time="2026-09-17T09:49:42Z" msg="Finished loading users" /user time="2026-09-17T09:49:42Z" msg="Checking for updates" time="2026-09-17T09:49:42Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/128/config1549494303/grpcServerConfig.json time="2026-09-17T09:49:42Z" msg="gRPC server listening on /tmp/bridge6909" time="2026-09-17T09:49:42Z" msg="Frontend service started" time="2026-09-17T09:49:42Z" msg="Starting frontend client" time="2026-09-17T09:49:42Z" msg="Not monitoring parent PID" time="2026-09-17T09:49:42Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:49:42Z" msg="200 OK: GET https://127.0.0.1:43277/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:49:42Z" msg="Frontend client started" time="2026-09-17T09:49:42Z" msg="Performing full user login" /user username="******** (5f019bdc)" time="2026-09-17T09:49:42Z" msg="Authorizing user for login" /user username="******** (5f019bdc)" time="2026-09-17T09:49:42Z" msg="200 OK: POST https://127.0.0.1:43277/auth/v4/info" /manager time="2026-09-17T09:49:43Z" msg="200 OK: POST https://127.0.0.1:43277/auth/v4" /manager time="2026-09-17T09:49:43Z" msg="Logging in authorized user" /user userID=d0c2a000-aefa-4cf1-ba88-8329ff4f21a1 time="2026-09-17T09:49:43Z" msg="Adding vault user" userID=d0c2a000-aefa-4cf1-ba88-8329ff4f21a1 time="2026-09-17T09:49:43Z" msg="Creating new user" userID=d0c2a000-aefa-4cf1-ba88-8329ff4f21a1 time="2026-09-17T09:49:43Z" msg="404 GET https://127.0.0.1:43277/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:49:43Z" msg="404 GET https://127.0.0.1:43277/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:49:43Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:43277/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:49:43Z" msg="Creating user object" authUID=a2106d02-3b26-4370-a2fa-ca5868a3eb17 numA numL userID=d0c2a000-aefa-4cf1-ba88-8329ff4f21a1 time="2026-09-17T09:49:43Z" msg="200 OK: GET https://127.0.0.1:43277/core/v4/events/latest" /client userID=d0c2a000-aefa-4cf1-ba88-8329ff4f21a1 time="2026-09-17T09:49:43Z" msg="Starting service Last EventID=AQ==" time="2026-09-17T09:49:43Z" msg="200 OK: GET https://127.0.0.1:43277/core/v4/settings" /client userID=d0c2a000-aefa-4cf1-ba88-8329ff4f21a1 time="2026-09-17T09:49:43Z" msg="Registering user client, ID:d0c2a000-aefa-4cf1-ba88-8329ff4f21a1" time="2026-09-17T09:49:43Z" msg="Starting user identity service" numA time="2026-09-17T09:49:43Z" msg="Starting service main loop" time="2026-09-17T09:49:43Z" msg="Starting service main loop" time="2026-09-17T09:49:43Z" msg="200 OK: GET https://127.0.0.1:43277/core/v4/labels?T" /client userID=d0c2a000-aefa-4cf1-ba88-8329ff4f21a1 time="2026-09-17T09:49:43Z" msg="Starting service main loop" time="2026-09-17T09:49:43Z" msg="200 OK: GET https://127.0.0.1:43277/core/v4/labels?T" /client userID=d0c2a000-aefa-4cf1-ba88-8329ff4f21a1 time="2026-09-17T09:49:43Z" msg="200 OK: GET https://127.0.0.1:43277/core/v4/labels?T" /client userID=d0c2a000-aefa-4cf1-ba88-8329ff4f21a1 time="2026-09-17T09:49:43Z" msg="Setting labels" labelIDs="[10 12 1 2 5 6 8 9 0 3 4 7 10494f69-729b-4243-b779-85b29fa78fde]" time="2026-09-17T09:49:43Z" msg="Adding user to imap server" addrID=e28d9dda-aa1c-4790-95d5-dbeaa035666f time="2026-09-17T09:49:43Z" msg="Creating new IMAP user" addrID=e28d9dda-aa1c-4790-95d5-dbeaa035666f time="2026-09-17T09:49:43Z" msg="Setting gluon ID" addrID=e28d9dda-aa1c-4790-95d5-dbeaa035666f gluonID=bef8ea8e-a509-45fa-bf32-28f038433033 userID=d0c2a000-aefa-4cf1-ba88-8329ff4f21a1 time="2026-09-17T09:49:43Z" msg="Received mailbox message count" gluonID=bef8ea8e-a509-45fa-bf32-28f038433033 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:49:43Z" msg="Created new IMAP user" addrID=e28d9dda-aa1c-4790-95d5-dbeaa035666f gluonID=bef8ea8e-a509-45fa-bf32-28f038433033 time="2026-09-17T09:49:43Z" msg="Validating Listener State" time="2026-09-17T09:49:43Z" time="2026-09-17T09:49:43Z" msg="Starting IMAP Service" time="2026-09-17T09:49:43Z" msg="Checking whether logged in user should re-sync. UserID:d0c2a000-aefa-4cf1-ba88-8329ff4f21a1" userID=d0c2a000-aefa-4cf1-ba88-8329ff4f21a1 time="2026-09-17T09:49:43Z" msg="Sync triggered" time="2026-09-17T09:49:43Z" msg="Beginning user sync" start="2026-09-17 09:49:43.335956674 +0000 UTC m=+271.828259010" time="2026-09-17T09:49:43Z" msg="Syncing labels" time="2026-09-17T09:49:43Z" msg="Label not found in DB, creating mailbox." labelID=10494f69-729b-4243-b779-85b29fa78fde labelPath="jm2pV8GS7FVFPTesFaU5jW/EhDgcEQCxeWTMDFRvNjU=" numberOfC /labelConflictResolver time="2026-09-17T09:49:43Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=bef8ea8e-a509-45fa-bf32-28f038433033 time="2026-09-17T09:49:43Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=bef8ea8e-a509-45fa-bf32-28f038433033 time="2026-09-17T09:49:43Z" msg="Mailbox created" /user remoteMailboxID=10 userID=bef8ea8e-a509-45fa-bf32-28f038433033 time="2026-09-17T09:49:43Z" msg="Mailbox created" /user remoteMailboxID=12 userID=bef8ea8e-a509-45fa-bf32-28f038433033 time="2026-09-17T09:49:43Z" msg="Mailbox created" /user remoteMailboxID=6 userID=bef8ea8e-a509-45fa-bf32-28f038433033 time="2026-09-17T09:49:43Z" msg="Mailbox created" /user remoteMailboxID=8 userID=bef8ea8e-a509-45fa-bf32-28f038433033 time="2026-09-17T09:49:43Z" msg="Mailbox created" /user remoteMailboxID=0 userID=bef8ea8e-a509-45fa-bf32-28f038433033 time="2026-09-17T09:49:43Z" msg="Mailbox created" /user remoteMailboxID=3 userID=bef8ea8e-a509-45fa-bf32-28f038433033 time="2026-09-17T09:49:43Z" msg="Mailbox created" /user remoteMailboxID=4 userID=bef8ea8e-a509-45fa-bf32-28f038433033 time="2026-09-17T09:49:43Z" msg="Mailbox created" /user remoteMailboxID=5 userID=bef8ea8e-a509-45fa-bf32-28f038433033 time="2026-09-17T09:49:43Z" msg="Mailbox created" /user remoteMailboxID=7 userID=bef8ea8e-a509-45fa-bf32-28f038433033 time="2026-09-17T09:49:43Z" msg="Mailbox created" /user remoteMailboxID=10494f69-729b-4243-b779-85b29fa78fde userID=bef8ea8e-a509-45fa-bf32-28f038433033 time="2026-09-17T09:49:43Z" msg="Synced labels" time="2026-09-17T09:49:43Z" msg="200 OK: GET https://127.0.0.1:43277/mail/v4/messages/count" /client userID=d0c2a000-aefa-4cf1-ba88-8329ff4f21a1 time="2026-09-17T09:49:43Z" msg="Syncing messages" time="2026-09-17T09:49:43Z" msg="Job started" time="2026-09-17T09:49:43Z" msg="200 OK: POST https://127.0.0.1:43277/mail/v4/messages" /client userID=d0c2a000-aefa-4cf1-ba88-8329ff4f21a1 time="2026-09-17T09:49:43Z" msg="Job finished" time="2026-09-17T09:49:43Z" msg="All child jobs completed" sync- time="2026-09-17T09:49:43Z" msg="Synced messages" time="2026-09-17T09:49:43Z" msg="Finished user sync" .945519ms time="2026-09-17T09:49:43Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:49:43Z" msg="Event loop reset" eventID="AQ==" time="2026-09-17T09:49:43Z" msg="200 OK: POST https://127.0.0.1:43277/mail/v4/messages/import" /client userID=d0c2a000-aefa-4cf1-ba88-8329ff4f21a1 time="2026-09-17T09:49:43Z" msg="200 OK: GET https://127.0.0.1:43277/mail/v4/messages/ee16f94d-f80c-4737-a6ed-d3adb0ca5cb3" /client userID=d0c2a000-aefa-4cf1-ba88-8329ff4f21a1 time="2026-09-17T09:49:43Z" msg="200 OK: POST https://127.0.0.1:43277/mail/v4/messages/import" /client userID=d0c2a000-aefa-4cf1-ba88-8329ff4f21a1 time="2026-09-17T09:49:43Z" msg="200 OK: GET https://127.0.0.1:43277/mail/v4/messages/b073b79c-ee0f-43ff-aaa1-edac9b776bc6" /client userID=d0c2a000-aefa-4cf1-ba88-8329ff4f21a1 time="2026-09-17T09:49:43Z" msg="200 OK: PUT https://127.0.0.1:43277/mail/v4/messages/label" /client userID=d0c2a000-aefa-4cf1-ba88-8329ff4f21a1 time="2026-09-17T09:49:43Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 6} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:49:43Z" msg="200 OK: PUT https://127.0.0.1:43277/mail/v4/messages/unlabel" /client userID=d0c2a000-aefa-4cf1-ba88-8329ff4f21a1 time="2026-09-17T09:49:44Z" msg="Frontend service stopped" time="2026-09-17T09:49:44Z" msg="Frontend client stopped" time="2026-09-17T09:49:44Z" msg="Closing bridge" time="2026-09-17T09:49:44Z" msg="Stopping service" time="2026-09-17T09:49:44Z" msg="Closing user" userID=d0c2a000-aefa-4cf1-ba88-8329ff4f21a1 time="2026-09-17T09:49:44Z" msg="De-registering user client, ID:d0c2a000-aefa-4cf1-ba88-8329ff4f21a1" time="2026-09-17T09:49:44Z" msg="Exiting IMAP Service" time="2026-09-17T09:49:44Z" msg="Exiting service main loop" time="2026-09-17T09:49:44Z" msg="Exiting service main loop" time="2026-09-17T09:49:44Z" msg="Exiting Service" time="2026-09-17T09:49:44Z" msg="Exiting service main loop" time="2026-09-17T09:49:44Z" msg="Exiting service" time="2026-09-17T09:49:44Z" msg="Closing IMAP Listener" time="2026-09-17T09:49:44Z" msg="Closing IMAP server" time="2026-09-17T09:49:44Z" msg="Closing SMTP Listener" time="2026-09-17T09:49:44Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:49:44Z" msg="Closing SMTP server" time="2026-09-17T09:49:44Z" msg="Closing service" | INBOX | Folders/mbox | APPEND DELETE EXPUNGE | time="2026-09-17T09:49:44Z" msg="User '8575abb9-b9e9-405c-96dd-e581bcae38d1' created with " /server/backend time="2026-09-17T09:49:45Z" msg="Starting bridge" time="2026-09-17T09:49:45Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/129/config557430652/grpcFocusServerConfig.json /service time="2026-09-17T09:49:45Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/129/cache3136608465/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:49:45Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/129/cache3136608465/notifications/notification_cache: no such file or directory" time="2026-09-17T09:49:45Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/129/data2222713785/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/129/data2222713785/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:49:45Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:49:45Z" msg="Starting IMAP server" time="2026-09-17T09:49:45Z" msg="Starting SMTP server" time="2026-09-17T09:49:45Z" msg="Starting service" time="2026-09-17T09:49:45Z" msg="Starting service" time="2026-09-17T09:49:45Z" msg="Starting poll service" time="2026-09-17T09:49:45Z" msg="Checking for updates" time="2026-09-17T09:49:45Z" msg="Loading users" /user time="2026-09-17T09:49:45Z" msg="Finished loading users" /user time="2026-09-17T09:49:45Z" msg="Starting frontend service" time="2026-09-17T09:49:45Z" msg="Starting receiver service" time="2026-09-17T09:49:45Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/129/config557430652/grpcServerConfig.json time="2026-09-17T09:49:45Z" msg="gRPC server listening on /tmp/bridge0685" time="2026-09-17T09:49:45Z" msg="Frontend service started" time="2026-09-17T09:49:45Z" msg="Starting frontend client" time="2026-09-17T09:49:45Z" msg="Not monitoring parent PID" time="2026-09-17T09:49:45Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:49:45Z" msg="Frontend client started" time="2026-09-17T09:49:45Z" msg="Performing full user login" /user username="******** (4f5cec67)" time="2026-09-17T09:49:45Z" msg="Authorizing user for login" /user username="******** (4f5cec67)" time="2026-09-17T09:49:45Z" msg="200 OK: GET https://127.0.0.1:42235/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:49:45Z" msg="200 OK: POST https://127.0.0.1:42235/auth/v4/info" /manager time="2026-09-17T09:49:45Z" msg="200 OK: POST https://127.0.0.1:42235/auth/v4" /manager time="2026-09-17T09:49:45Z" msg="Logging in authorized user" /user userID=ef377c2b-e655-4043-9620-0b67cbfba920 time="2026-09-17T09:49:45Z" msg="Adding vault user" userID=ef377c2b-e655-4043-9620-0b67cbfba920 time="2026-09-17T09:49:45Z" msg="Creating new user" userID=ef377c2b-e655-4043-9620-0b67cbfba920 time="2026-09-17T09:49:45Z" msg="404 GET https://127.0.0.1:42235/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:49:45Z" msg="404 GET https://127.0.0.1:42235/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:49:45Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:42235/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:49:45Z" msg="Creating user object" authUID=a27d7dd9-c89f-48ac-8c4a-c19b18461439 numA numL userID=ef377c2b-e655-4043-9620-0b67cbfba920 time="2026-09-17T09:49:45Z" msg="200 OK: GET https://127.0.0.1:42235/core/v4/events/latest" /client userID=ef377c2b-e655-4043-9620-0b67cbfba920 time="2026-09-17T09:49:45Z" msg="Starting service Last EventID=AQ==" time="2026-09-17T09:49:45Z" msg="200 OK: GET https://127.0.0.1:42235/core/v4/settings" /client userID=ef377c2b-e655-4043-9620-0b67cbfba920 time="2026-09-17T09:49:45Z" msg="Registering user client, ID:ef377c2b-e655-4043-9620-0b67cbfba920" time="2026-09-17T09:49:45Z" msg="Starting service main loop" time="2026-09-17T09:49:45Z" msg="Starting user identity service" numA time="2026-09-17T09:49:45Z" msg="Starting service main loop" time="2026-09-17T09:49:45Z" msg="Starting service main loop" time="2026-09-17T09:49:45Z" msg="200 OK: GET https://127.0.0.1:42235/core/v4/labels?T" /client userID=ef377c2b-e655-4043-9620-0b67cbfba920 time="2026-09-17T09:49:45Z" msg="200 OK: GET https://127.0.0.1:42235/core/v4/labels?T" /client userID=ef377c2b-e655-4043-9620-0b67cbfba920 time="2026-09-17T09:49:45Z" msg="200 OK: GET https://127.0.0.1:42235/core/v4/labels?T" /client userID=ef377c2b-e655-4043-9620-0b67cbfba920 time="2026-09-17T09:49:45Z" msg="Setting labels" labelIDs="[2 3 6 10 12 0 1 4 5 7 8 9 5f407ab1-810c-4524-a6ee-060367d84850]" time="2026-09-17T09:49:45Z" msg="Adding user to imap server" addrID=da20e2ca-15fa-4c15-9cbe-0389cf6bff15 time="2026-09-17T09:49:45Z" msg="Creating new IMAP user" addrID=da20e2ca-15fa-4c15-9cbe-0389cf6bff15 time="2026-09-17T09:49:45Z" msg="Setting gluon ID" addrID=da20e2ca-15fa-4c15-9cbe-0389cf6bff15 gluonID=8d63e06d-4aed-4be8-971d-ee84d37098b4 userID=ef377c2b-e655-4043-9620-0b67cbfba920 time="2026-09-17T09:49:45Z" msg="Received mailbox message count" gluonID=8d63e06d-4aed-4be8-971d-ee84d37098b4 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:49:45Z" msg="Created new IMAP user" addrID=da20e2ca-15fa-4c15-9cbe-0389cf6bff15 gluonID=8d63e06d-4aed-4be8-971d-ee84d37098b4 time="2026-09-17T09:49:45Z" msg="Validating Listener State" time="2026-09-17T09:49:45Z" time="2026-09-17T09:49:45Z" msg="Starting IMAP Service" time="2026-09-17T09:49:45Z" msg="Checking whether logged in user should re-sync. UserID:ef377c2b-e655-4043-9620-0b67cbfba920" userID=ef377c2b-e655-4043-9620-0b67cbfba920 time="2026-09-17T09:49:45Z" msg="Sync triggered" time="2026-09-17T09:49:45Z" msg="Beginning user sync" start="2026-09-17 09:49:45.52253191 +0000 UTC m=+274.014834206" time="2026-09-17T09:49:45Z" msg="Syncing labels" time="2026-09-17T09:49:45Z" msg="Label not found in DB, creating mailbox." labelID=5f407ab1-810c-4524-a6ee-060367d84850 labelPath="jm2pV8GS7FVFPTesFaU5jW/EhDgcEQCxeWTMDFRvNjU=" numberOfC /labelConflictResolver time="2026-09-17T09:49:45Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=8d63e06d-4aed-4be8-971d-ee84d37098b4 time="2026-09-17T09:49:45Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=8d63e06d-4aed-4be8-971d-ee84d37098b4 time="2026-09-17T09:49:45Z" msg="Mailbox created" /user remoteMailboxID=3 userID=8d63e06d-4aed-4be8-971d-ee84d37098b4 time="2026-09-17T09:49:45Z" msg="Mailbox created" /user remoteMailboxID=6 userID=8d63e06d-4aed-4be8-971d-ee84d37098b4 time="2026-09-17T09:49:45Z" msg="Mailbox created" /user remoteMailboxID=12 userID=8d63e06d-4aed-4be8-971d-ee84d37098b4 time="2026-09-17T09:49:45Z" msg="Mailbox created" /user remoteMailboxID=0 userID=8d63e06d-4aed-4be8-971d-ee84d37098b4 time="2026-09-17T09:49:45Z" msg="Mailbox created" /user remoteMailboxID=7 userID=8d63e06d-4aed-4be8-971d-ee84d37098b4 time="2026-09-17T09:49:45Z" msg="Mailbox created" /user remoteMailboxID=8 userID=8d63e06d-4aed-4be8-971d-ee84d37098b4 time="2026-09-17T09:49:45Z" msg="Mailbox created" /user remoteMailboxID=10 userID=8d63e06d-4aed-4be8-971d-ee84d37098b4 time="2026-09-17T09:49:45Z" msg="Mailbox created" /user remoteMailboxID=4 userID=8d63e06d-4aed-4be8-971d-ee84d37098b4 time="2026-09-17T09:49:45Z" msg="Mailbox created" /user remoteMailboxID=5 userID=8d63e06d-4aed-4be8-971d-ee84d37098b4 time="2026-09-17T09:49:45Z" msg="Mailbox created" /user remoteMailboxID=5f407ab1-810c-4524-a6ee-060367d84850 userID=8d63e06d-4aed-4be8-971d-ee84d37098b4 time="2026-09-17T09:49:45Z" msg="Synced labels" time="2026-09-17T09:49:45Z" msg="200 OK: GET https://127.0.0.1:42235/mail/v4/messages/count" /client userID=ef377c2b-e655-4043-9620-0b67cbfba920 time="2026-09-17T09:49:45Z" msg="Syncing messages" time="2026-09-17T09:49:45Z" msg="Job started" time="2026-09-17T09:49:45Z" msg="200 OK: POST https://127.0.0.1:42235/mail/v4/messages" /client userID=ef377c2b-e655-4043-9620-0b67cbfba920 time="2026-09-17T09:49:45Z" msg="Job finished" time="2026-09-17T09:49:45Z" msg="All child jobs completed" sync- time="2026-09-17T09:49:45Z" msg="Synced messages" time="2026-09-17T09:49:45Z" msg="Finished user sync" .412477ms time="2026-09-17T09:49:45Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:49:45Z" msg="Event loop reset" eventID="AQ==" time="2026-09-17T09:49:45Z" msg="200 OK: POST https://127.0.0.1:42235/mail/v4/messages/import" /client userID=ef377c2b-e655-4043-9620-0b67cbfba920 time="2026-09-17T09:49:45Z" msg="200 OK: GET https://127.0.0.1:42235/mail/v4/messages/77617466-1d27-494a-b123-beedf03e011d" /client userID=ef377c2b-e655-4043-9620-0b67cbfba920 time="2026-09-17T09:49:45Z" msg="200 OK: POST https://127.0.0.1:42235/mail/v4/messages/import" /client userID=ef377c2b-e655-4043-9620-0b67cbfba920 time="2026-09-17T09:49:45Z" msg="200 OK: GET https://127.0.0.1:42235/mail/v4/messages/35800c5e-b633-449d-b112-6c300c833a58" /client userID=ef377c2b-e655-4043-9620-0b67cbfba920 time="2026-09-17T09:49:45Z" msg="200 OK: PUT https://127.0.0.1:42235/mail/v4/messages/label" /client userID=ef377c2b-e655-4043-9620-0b67cbfba920 time="2026-09-17T09:49:45Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 6} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:49:45Z" msg="200 OK: PUT https://127.0.0.1:42235/mail/v4/messages/unlabel" /client userID=ef377c2b-e655-4043-9620-0b67cbfba920 time="2026-09-17T09:49:46Z" msg="Frontend service stopped" time="2026-09-17T09:49:46Z" msg="Frontend client stopped" time="2026-09-17T09:49:46Z" msg="Closing bridge" time="2026-09-17T09:49:46Z" msg="Stopping service" time="2026-09-17T09:49:46Z" msg="Closing user" userID=ef377c2b-e655-4043-9620-0b67cbfba920 time="2026-09-17T09:49:46Z" msg="De-registering user client, ID:ef377c2b-e655-4043-9620-0b67cbfba920" time="2026-09-17T09:49:46Z" msg="Exiting IMAP Service" time="2026-09-17T09:49:46Z" msg="Exiting service main loop" time="2026-09-17T09:49:46Z" msg="Exiting service main loop" time="2026-09-17T09:49:46Z" msg="Exiting Service" time="2026-09-17T09:49:46Z" msg="Exiting service main loop" time="2026-09-17T09:49:46Z" msg="Exiting service" time="2026-09-17T09:49:46Z" msg="Closing IMAP Listener" time="2026-09-17T09:49:46Z" msg="Closing IMAP server" time="2026-09-17T09:49:46Z" msg="Closing SMTP Listener" time="2026-09-17T09:49:46Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:49:46Z" msg="Closing SMTP server" time="2026-09-17T09:49:46Z" msg="Closing service" | INBOX | Spam | APPEND DELETE EXPUNGE | time="2026-09-17T09:49:46Z" msg="User 'fe0fb0e1-a138-483f-8ca5-7fdcc714d177' created with " /server/backend time="2026-09-17T09:49:47Z" msg="Starting bridge" time="2026-09-17T09:49:47Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/130/config2322305405/grpcFocusServerConfig.json /service time="2026-09-17T09:49:47Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/130/cache3705444141/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:49:47Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/130/cache3705444141/notifications/notification_cache: no such file or directory" time="2026-09-17T09:49:47Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/130/data1334184382/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/130/data1334184382/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:49:47Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:49:47Z" msg="Starting IMAP server" time="2026-09-17T09:49:47Z" msg="Starting SMTP server" time="2026-09-17T09:49:47Z" msg="Starting service" time="2026-09-17T09:49:47Z" msg="Starting service" time="2026-09-17T09:49:47Z" msg="Starting poll service" time="2026-09-17T09:49:47Z" msg="Checking for updates" time="2026-09-17T09:49:47Z" msg="Loading users" /user time="2026-09-17T09:49:47Z" msg="Starting receiver service" time="2026-09-17T09:49:47Z" msg="Starting frontend service" time="2026-09-17T09:49:47Z" msg="Finished loading users" /user time="2026-09-17T09:49:47Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/130/config2322305405/grpcServerConfig.json time="2026-09-17T09:49:47Z" msg="gRPC server listening on /tmp/bridge9745" time="2026-09-17T09:49:47Z" msg="Frontend service started" time="2026-09-17T09:49:47Z" msg="Starting frontend client" time="2026-09-17T09:49:47Z" msg="Not monitoring parent PID" time="2026-09-17T09:49:47Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:49:47Z" msg="Frontend client started" time="2026-09-17T09:49:47Z" msg="Performing full user login" /user username="******** (9f2dda34)" time="2026-09-17T09:49:47Z" msg="Authorizing user for login" /user username="******** (9f2dda34)" time="2026-09-17T09:49:47Z" msg="200 OK: GET https://127.0.0.1:40037/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:49:47Z" msg="200 OK: POST https://127.0.0.1:40037/auth/v4/info" /manager time="2026-09-17T09:49:47Z" msg="200 OK: POST https://127.0.0.1:40037/auth/v4" /manager time="2026-09-17T09:49:47Z" msg="Logging in authorized user" /user userID=cb403eaf-b4b8-46c2-9b70-7ac39aefc764 time="2026-09-17T09:49:47Z" msg="Adding vault user" userID=cb403eaf-b4b8-46c2-9b70-7ac39aefc764 time="2026-09-17T09:49:47Z" msg="Creating new user" userID=cb403eaf-b4b8-46c2-9b70-7ac39aefc764 time="2026-09-17T09:49:47Z" msg="404 GET https://127.0.0.1:40037/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:49:47Z" msg="404 GET https://127.0.0.1:40037/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:49:47Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:40037/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:49:47Z" msg="Creating user object" authUID=6abbb2ae-4d5c-441b-9c4b-0e5f8e54e8a7 numA numL userID=cb403eaf-b4b8-46c2-9b70-7ac39aefc764 time="2026-09-17T09:49:47Z" msg="200 OK: GET https://127.0.0.1:40037/core/v4/events/latest" /client userID=cb403eaf-b4b8-46c2-9b70-7ac39aefc764 time="2026-09-17T09:49:47Z" msg="Starting service Last EventID=AQ==" time="2026-09-17T09:49:47Z" msg="200 OK: GET https://127.0.0.1:40037/core/v4/settings" /client userID=cb403eaf-b4b8-46c2-9b70-7ac39aefc764 time="2026-09-17T09:49:47Z" msg="Registering user client, ID:cb403eaf-b4b8-46c2-9b70-7ac39aefc764" time="2026-09-17T09:49:47Z" msg="Starting service main loop" time="2026-09-17T09:49:47Z" msg="Starting service main loop" time="2026-09-17T09:49:47Z" msg="Starting user identity service" numA time="2026-09-17T09:49:47Z" msg="Starting service main loop" time="2026-09-17T09:49:47Z" msg="200 OK: GET https://127.0.0.1:40037/core/v4/labels?T" /client userID=cb403eaf-b4b8-46c2-9b70-7ac39aefc764 time="2026-09-17T09:49:47Z" msg="200 OK: GET https://127.0.0.1:40037/core/v4/labels?T" /client userID=cb403eaf-b4b8-46c2-9b70-7ac39aefc764 time="2026-09-17T09:49:47Z" msg="200 OK: GET https://127.0.0.1:40037/core/v4/labels?T" /client userID=cb403eaf-b4b8-46c2-9b70-7ac39aefc764 time="2026-09-17T09:49:47Z" msg="Setting labels" labelIDs="[3 4 5 6 8 12 1 7 9 10 0 2 cb7dcdb7-5bd3-4b84-80e3-556532e30243]" time="2026-09-17T09:49:47Z" msg="Adding user to imap server" addrID=cb5d5dc7-2826-4a1e-8f0e-16dee1a21949 time="2026-09-17T09:49:47Z" msg="Creating new IMAP user" addrID=cb5d5dc7-2826-4a1e-8f0e-16dee1a21949 time="2026-09-17T09:49:47Z" msg="Setting gluon ID" addrID=cb5d5dc7-2826-4a1e-8f0e-16dee1a21949 gluonID=4fe0c1d2-3ef9-42b4-afae-e93ebf9f308c userID=cb403eaf-b4b8-46c2-9b70-7ac39aefc764 time="2026-09-17T09:49:47Z" msg="Received mailbox message count" gluonID=4fe0c1d2-3ef9-42b4-afae-e93ebf9f308c labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:49:47Z" msg="Created new IMAP user" addrID=cb5d5dc7-2826-4a1e-8f0e-16dee1a21949 gluonID=4fe0c1d2-3ef9-42b4-afae-e93ebf9f308c time="2026-09-17T09:49:47Z" msg="Validating Listener State" time="2026-09-17T09:49:47Z" time="2026-09-17T09:49:47Z" msg="Starting IMAP Service" time="2026-09-17T09:49:47Z" msg="Checking whether logged in user should re-sync. UserID:cb403eaf-b4b8-46c2-9b70-7ac39aefc764" userID=cb403eaf-b4b8-46c2-9b70-7ac39aefc764 time="2026-09-17T09:49:47Z" msg="Sync triggered" time="2026-09-17T09:49:47Z" msg="Beginning user sync" start="2026-09-17 09:49:47.718084546 +0000 UTC m=+276.210386842" time="2026-09-17T09:49:47Z" msg="Syncing labels" time="2026-09-17T09:49:47Z" msg="Label not found in DB, creating mailbox." labelID=cb7dcdb7-5bd3-4b84-80e3-556532e30243 labelPath="jm2pV8GS7FVFPTesFaU5jW/EhDgcEQCxeWTMDFRvNjU=" numberOfC /labelConflictResolver time="2026-09-17T09:49:47Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=4fe0c1d2-3ef9-42b4-afae-e93ebf9f308c time="2026-09-17T09:49:47Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=4fe0c1d2-3ef9-42b4-afae-e93ebf9f308c time="2026-09-17T09:49:47Z" msg="Mailbox created" /user remoteMailboxID=6 userID=4fe0c1d2-3ef9-42b4-afae-e93ebf9f308c time="2026-09-17T09:49:47Z" msg="Mailbox created" /user remoteMailboxID=8 userID=4fe0c1d2-3ef9-42b4-afae-e93ebf9f308c time="2026-09-17T09:49:47Z" msg="Mailbox created" /user remoteMailboxID=7 userID=4fe0c1d2-3ef9-42b4-afae-e93ebf9f308c time="2026-09-17T09:49:47Z" msg="Mailbox created" /user remoteMailboxID=0 userID=4fe0c1d2-3ef9-42b4-afae-e93ebf9f308c time="2026-09-17T09:49:47Z" msg="Mailbox created" /user remoteMailboxID=3 userID=4fe0c1d2-3ef9-42b4-afae-e93ebf9f308c time="2026-09-17T09:49:47Z" msg="Mailbox created" /user remoteMailboxID=4 userID=4fe0c1d2-3ef9-42b4-afae-e93ebf9f308c time="2026-09-17T09:49:47Z" msg="Mailbox created" /user remoteMailboxID=12 userID=4fe0c1d2-3ef9-42b4-afae-e93ebf9f308c time="2026-09-17T09:49:47Z" msg="Mailbox created" /user remoteMailboxID=10 userID=4fe0c1d2-3ef9-42b4-afae-e93ebf9f308c time="2026-09-17T09:49:47Z" msg="Mailbox created" /user remoteMailboxID=cb7dcdb7-5bd3-4b84-80e3-556532e30243 userID=4fe0c1d2-3ef9-42b4-afae-e93ebf9f308c time="2026-09-17T09:49:47Z" msg="Mailbox created" /user remoteMailboxID=5 userID=4fe0c1d2-3ef9-42b4-afae-e93ebf9f308c time="2026-09-17T09:49:47Z" msg="Synced labels" time="2026-09-17T09:49:47Z" msg="200 OK: GET https://127.0.0.1:40037/mail/v4/messages/count" /client userID=cb403eaf-b4b8-46c2-9b70-7ac39aefc764 time="2026-09-17T09:49:47Z" msg="Syncing messages" time="2026-09-17T09:49:47Z" msg="Job started" time="2026-09-17T09:49:47Z" msg="200 OK: POST https://127.0.0.1:40037/mail/v4/messages" /client userID=cb403eaf-b4b8-46c2-9b70-7ac39aefc764 time="2026-09-17T09:49:47Z" msg="Job finished" time="2026-09-17T09:49:47Z" msg="All child jobs completed" sync- time="2026-09-17T09:49:47Z" msg="Synced messages" time="2026-09-17T09:49:47Z" msg="Finished user sync" .716977ms time="2026-09-17T09:49:47Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:49:47Z" msg="Event loop reset" eventID="AQ==" time="2026-09-17T09:49:47Z" msg="200 OK: POST https://127.0.0.1:40037/mail/v4/messages/import" /client userID=cb403eaf-b4b8-46c2-9b70-7ac39aefc764 time="2026-09-17T09:49:47Z" msg="200 OK: GET https://127.0.0.1:40037/mail/v4/messages/b9531fea-0fd9-45c2-a4fe-4948fefe5357" /client userID=cb403eaf-b4b8-46c2-9b70-7ac39aefc764 time="2026-09-17T09:49:47Z" msg="200 OK: POST https://127.0.0.1:40037/mail/v4/messages/import" /client userID=cb403eaf-b4b8-46c2-9b70-7ac39aefc764 time="2026-09-17T09:49:47Z" msg="200 OK: GET https://127.0.0.1:40037/mail/v4/messages/5c28215d-12ee-40ab-b7c0-311a72e7097c" /client userID=cb403eaf-b4b8-46c2-9b70-7ac39aefc764 time="2026-09-17T09:49:47Z" msg="200 OK: PUT https://127.0.0.1:40037/mail/v4/messages/label" /client userID=cb403eaf-b4b8-46c2-9b70-7ac39aefc764 time="2026-09-17T09:49:47Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 1} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:49:47Z" msg="200 OK: PUT https://127.0.0.1:40037/mail/v4/messages/unlabel" /client userID=cb403eaf-b4b8-46c2-9b70-7ac39aefc764 time="2026-09-17T09:49:48Z" msg="Frontend service stopped" time="2026-09-17T09:49:48Z" msg="Frontend client stopped" time="2026-09-17T09:49:48Z" msg="Closing bridge" time="2026-09-17T09:49:48Z" msg="Stopping service" time="2026-09-17T09:49:48Z" msg="Closing user" userID=cb403eaf-b4b8-46c2-9b70-7ac39aefc764 time="2026-09-17T09:49:48Z" msg="De-registering user client, ID:cb403eaf-b4b8-46c2-9b70-7ac39aefc764" time="2026-09-17T09:49:48Z" msg="Exiting IMAP Service" time="2026-09-17T09:49:48Z" msg="Exiting service main loop" time="2026-09-17T09:49:48Z" msg="Exiting service main loop" time="2026-09-17T09:49:48Z" msg="Exiting Service" time="2026-09-17T09:49:48Z" msg="Exiting service main loop" time="2026-09-17T09:49:48Z" msg="Exiting service" time="2026-09-17T09:49:48Z" msg="Closing IMAP Listener" time="2026-09-17T09:49:48Z" msg="Closing IMAP server" time="2026-09-17T09:49:48Z" msg="Closing SMTP Listener" time="2026-09-17T09:49:48Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:49:48Z" msg="Closing SMTP server" time="2026-09-17T09:49:48Z" msg="Closing service" | INBOX | Trash | APPEND DELETE EXPUNGE | time="2026-09-17T09:49:48Z" msg="User 'e8139f16-4852-4113-ad52-d964e4905ffc' created with " /server/backend time="2026-09-17T09:49:49Z" msg="Starting bridge" time="2026-09-17T09:49:49Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/131/config2034565654/grpcFocusServerConfig.json /service time="2026-09-17T09:49:49Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/131/cache4219704553/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:49:49Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/131/cache4219704553/notifications/notification_cache: no such file or directory" time="2026-09-17T09:49:49Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/131/data525140850/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/131/data525140850/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:49:49Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:49:49Z" msg="Starting IMAP server" time="2026-09-17T09:49:49Z" msg="Starting SMTP server" time="2026-09-17T09:49:49Z" msg="Starting service" time="2026-09-17T09:49:49Z" msg="Starting service" time="2026-09-17T09:49:49Z" msg="Starting frontend service" time="2026-09-17T09:49:49Z" msg="Starting poll service" time="2026-09-17T09:49:49Z" msg="Starting receiver service" time="2026-09-17T09:49:49Z" msg="Checking for updates" time="2026-09-17T09:49:49Z" msg="Loading users" /user time="2026-09-17T09:49:49Z" msg="Finished loading users" /user time="2026-09-17T09:49:49Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/131/config2034565654/grpcServerConfig.json time="2026-09-17T09:49:49Z" msg="gRPC server listening on /tmp/bridge3276" time="2026-09-17T09:49:49Z" msg="Frontend service started" time="2026-09-17T09:49:49Z" msg="Starting frontend client" time="2026-09-17T09:49:49Z" msg="Not monitoring parent PID" time="2026-09-17T09:49:49Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:49:49Z" msg="Frontend client started" time="2026-09-17T09:49:49Z" msg="Performing full user login" /user username="******** (fdbeac79)" time="2026-09-17T09:49:49Z" msg="Authorizing user for login" /user username="******** (fdbeac79)" time="2026-09-17T09:49:49Z" msg="200 OK: GET https://127.0.0.1:45699/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:49:49Z" msg="200 OK: POST https://127.0.0.1:45699/auth/v4/info" /manager time="2026-09-17T09:49:49Z" msg="200 OK: POST https://127.0.0.1:45699/auth/v4" /manager time="2026-09-17T09:49:49Z" msg="Logging in authorized user" /user userID=6bbe26f0-f15f-46f4-ac9a-d9e488d786b8 time="2026-09-17T09:49:49Z" msg="Adding vault user" userID=6bbe26f0-f15f-46f4-ac9a-d9e488d786b8 time="2026-09-17T09:49:49Z" msg="Creating new user" userID=6bbe26f0-f15f-46f4-ac9a-d9e488d786b8 time="2026-09-17T09:49:49Z" msg="404 GET https://127.0.0.1:45699/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:49:49Z" msg="404 GET https://127.0.0.1:45699/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:49:49Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:45699/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:49:49Z" msg="Creating user object" authUID=c972ff7e-5a30-403e-829c-868c78326283 numA numL userID=6bbe26f0-f15f-46f4-ac9a-d9e488d786b8 time="2026-09-17T09:49:49Z" msg="200 OK: GET https://127.0.0.1:45699/core/v4/events/latest" /client userID=6bbe26f0-f15f-46f4-ac9a-d9e488d786b8 time="2026-09-17T09:49:49Z" msg="Starting service Last EventID=AQ==" time="2026-09-17T09:49:49Z" msg="200 OK: GET https://127.0.0.1:45699/core/v4/settings" /client userID=6bbe26f0-f15f-46f4-ac9a-d9e488d786b8 time="2026-09-17T09:49:49Z" msg="Registering user client, ID:6bbe26f0-f15f-46f4-ac9a-d9e488d786b8" time="2026-09-17T09:49:49Z" msg="Starting service main loop" time="2026-09-17T09:49:49Z" msg="Starting user identity service" numA time="2026-09-17T09:49:49Z" msg="Starting service main loop" time="2026-09-17T09:49:49Z" msg="Starting service main loop" time="2026-09-17T09:49:49Z" msg="200 OK: GET https://127.0.0.1:45699/core/v4/labels?T" /client userID=6bbe26f0-f15f-46f4-ac9a-d9e488d786b8 time="2026-09-17T09:49:49Z" msg="200 OK: GET https://127.0.0.1:45699/core/v4/labels?T" /client userID=6bbe26f0-f15f-46f4-ac9a-d9e488d786b8 time="2026-09-17T09:49:49Z" msg="200 OK: GET https://127.0.0.1:45699/core/v4/labels?T" /client userID=6bbe26f0-f15f-46f4-ac9a-d9e488d786b8 time="2026-09-17T09:49:49Z" msg="Setting labels" labelIDs="[0 1 2 3 4 5 6 8 7 9 10 12 632ec81a-2915-46fd-abfe-5742a9f74698]" time="2026-09-17T09:49:49Z" msg="Adding user to imap server" addrID=ea92b0d7-000d-4eb3-81cb-8422494b7052 time="2026-09-17T09:49:49Z" msg="Creating new IMAP user" addrID=ea92b0d7-000d-4eb3-81cb-8422494b7052 time="2026-09-17T09:49:49Z" msg="Setting gluon ID" addrID=ea92b0d7-000d-4eb3-81cb-8422494b7052 gluonID=6f7b1921-94f3-430f-bae3-6417d2c257eb userID=6bbe26f0-f15f-46f4-ac9a-d9e488d786b8 time="2026-09-17T09:49:49Z" msg="Received mailbox message count" gluonID=6f7b1921-94f3-430f-bae3-6417d2c257eb labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:49:49Z" msg="Created new IMAP user" addrID=ea92b0d7-000d-4eb3-81cb-8422494b7052 gluonID=6f7b1921-94f3-430f-bae3-6417d2c257eb time="2026-09-17T09:49:49Z" msg="Validating Listener State" time="2026-09-17T09:49:49Z" time="2026-09-17T09:49:49Z" msg="Starting IMAP Service" time="2026-09-17T09:49:49Z" msg="Checking whether logged in user should re-sync. UserID:6bbe26f0-f15f-46f4-ac9a-d9e488d786b8" userID=6bbe26f0-f15f-46f4-ac9a-d9e488d786b8 time="2026-09-17T09:49:49Z" msg="Sync triggered" time="2026-09-17T09:49:49Z" msg="Beginning user sync" start="2026-09-17 09:49:49.919283889 +0000 UTC m=+278.411586185" time="2026-09-17T09:49:49Z" msg="Syncing labels" time="2026-09-17T09:49:49Z" msg="Label not found in DB, creating mailbox." labelID=632ec81a-2915-46fd-abfe-5742a9f74698 labelPath="jm2pV8GS7FVFPTesFaU5jW/EhDgcEQCxeWTMDFRvNjU=" numberOfC /labelConflictResolver time="2026-09-17T09:49:49Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=6f7b1921-94f3-430f-bae3-6417d2c257eb time="2026-09-17T09:49:49Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=6f7b1921-94f3-430f-bae3-6417d2c257eb time="2026-09-17T09:49:49Z" msg="Mailbox created" /user remoteMailboxID=3 userID=6f7b1921-94f3-430f-bae3-6417d2c257eb time="2026-09-17T09:49:49Z" msg="Mailbox created" /user remoteMailboxID=6 userID=6f7b1921-94f3-430f-bae3-6417d2c257eb time="2026-09-17T09:49:49Z" msg="Mailbox created" /user remoteMailboxID=8 userID=6f7b1921-94f3-430f-bae3-6417d2c257eb time="2026-09-17T09:49:49Z" msg="Mailbox created" /user remoteMailboxID=7 userID=6f7b1921-94f3-430f-bae3-6417d2c257eb time="2026-09-17T09:49:49Z" msg="Mailbox created" /user remoteMailboxID=10 userID=6f7b1921-94f3-430f-bae3-6417d2c257eb time="2026-09-17T09:49:49Z" msg="Mailbox created" /user remoteMailboxID=12 userID=6f7b1921-94f3-430f-bae3-6417d2c257eb time="2026-09-17T09:49:49Z" msg="Mailbox created" /user remoteMailboxID=632ec81a-2915-46fd-abfe-5742a9f74698 userID=6f7b1921-94f3-430f-bae3-6417d2c257eb time="2026-09-17T09:49:49Z" msg="Mailbox created" /user remoteMailboxID=0 userID=6f7b1921-94f3-430f-bae3-6417d2c257eb time="2026-09-17T09:49:49Z" msg="Mailbox created" /user remoteMailboxID=4 userID=6f7b1921-94f3-430f-bae3-6417d2c257eb time="2026-09-17T09:49:49Z" msg="Mailbox created" /user remoteMailboxID=5 userID=6f7b1921-94f3-430f-bae3-6417d2c257eb time="2026-09-17T09:49:49Z" msg="Synced labels" time="2026-09-17T09:49:49Z" msg="200 OK: GET https://127.0.0.1:45699/mail/v4/messages/count" /client userID=6bbe26f0-f15f-46f4-ac9a-d9e488d786b8 time="2026-09-17T09:49:49Z" msg="Syncing messages" time="2026-09-17T09:49:49Z" msg="Job started" time="2026-09-17T09:49:49Z" msg="200 OK: POST https://127.0.0.1:45699/mail/v4/messages" /client userID=6bbe26f0-f15f-46f4-ac9a-d9e488d786b8 time="2026-09-17T09:49:49Z" msg="Job finished" time="2026-09-17T09:49:49Z" msg="All child jobs completed" sync- time="2026-09-17T09:49:49Z" msg="Synced messages" time="2026-09-17T09:49:49Z" msg="Finished user sync" .719496ms time="2026-09-17T09:49:49Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:49:49Z" msg="Event loop reset" eventID="AQ==" time="2026-09-17T09:49:49Z" msg="200 OK: POST https://127.0.0.1:45699/mail/v4/messages/import" /client userID=6bbe26f0-f15f-46f4-ac9a-d9e488d786b8 time="2026-09-17T09:49:49Z" msg="200 OK: GET https://127.0.0.1:45699/mail/v4/messages/9ec7bb03-81c3-4028-b28a-301b20f113bf" /client userID=6bbe26f0-f15f-46f4-ac9a-d9e488d786b8 time="2026-09-17T09:49:49Z" msg="200 OK: POST https://127.0.0.1:45699/mail/v4/messages/import" /client userID=6bbe26f0-f15f-46f4-ac9a-d9e488d786b8 time="2026-09-17T09:49:49Z" msg="200 OK: GET https://127.0.0.1:45699/mail/v4/messages/d50389c4-2c0f-426f-93aa-abeeac7d9e63" /client userID=6bbe26f0-f15f-46f4-ac9a-d9e488d786b8 time="2026-09-17T09:49:50Z" msg="200 OK: PUT https://127.0.0.1:45699/mail/v4/messages/label" /client userID=6bbe26f0-f15f-46f4-ac9a-d9e488d786b8 time="2026-09-17T09:49:50Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 2} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:49:50Z" msg="200 OK: PUT https://127.0.0.1:45699/mail/v4/messages/unlabel" /client userID=6bbe26f0-f15f-46f4-ac9a-d9e488d786b8 time="2026-09-17T09:49:50Z" msg="200 OK: POST https://127.0.0.1:45699/mail/v4/messages" /client userID=6bbe26f0-f15f-46f4-ac9a-d9e488d786b8 time="2026-09-17T09:49:50Z" msg="Message has not been marked for deletion due to remaining labels." addr- gluon- labels id(s)="[5 0]" mailboxID=3 messageID=d50389c4-2c0f-426f-93aa-abeeac7d9e63 remainingLabels="[d50389c4-2c0f-426f-93aa-abeeac7d9e63]" user- time="2026-09-17T09:49:50Z" msg="Frontend service stopped" time="2026-09-17T09:49:50Z" msg="Frontend client stopped" time="2026-09-17T09:49:50Z" msg="Closing bridge" time="2026-09-17T09:49:50Z" msg="Stopping service" time="2026-09-17T09:49:50Z" msg="Closing user" userID=6bbe26f0-f15f-46f4-ac9a-d9e488d786b8 time="2026-09-17T09:49:50Z" msg="De-registering user client, ID:6bbe26f0-f15f-46f4-ac9a-d9e488d786b8" time="2026-09-17T09:49:50Z" msg="Exiting IMAP Service" time="2026-09-17T09:49:50Z" msg="Exiting service main loop" time="2026-09-17T09:49:50Z" msg="Exiting service main loop" time="2026-09-17T09:49:50Z" msg="Exiting Service" time="2026-09-17T09:49:50Z" msg="Exiting service main loop" time="2026-09-17T09:49:50Z" msg="Exiting service" time="2026-09-17T09:49:50Z" msg="Closing IMAP Listener" time="2026-09-17T09:49:50Z" msg="Closing IMAP server" time="2026-09-17T09:49:50Z" msg="Closing SMTP Listener" time="2026-09-17T09:49:50Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:49:50Z" msg="Closing SMTP server" time="2026-09-17T09:49:50Z" msg="Closing service" | Trash | INBOX | DELETE APPEND EXPUNGE | time="2026-09-17T09:49:50Z" msg="User '47c2f945-35a7-492b-8627-3fd4912b1b5c' created with " /server/backend time="2026-09-17T09:49:51Z" msg="Starting bridge" time="2026-09-17T09:49:51Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/132/config3959671282/grpcFocusServerConfig.json /service time="2026-09-17T09:49:51Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/132/cache1687202946/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:49:51Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/132/cache1687202946/notifications/notification_cache: no such file or directory" time="2026-09-17T09:49:51Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/132/data1324862732/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/132/data1324862732/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:49:51Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:49:51Z" msg="Starting IMAP server" time="2026-09-17T09:49:51Z" msg="Starting SMTP server" time="2026-09-17T09:49:51Z" msg="Starting service" time="2026-09-17T09:49:51Z" msg="Starting service" time="2026-09-17T09:49:51Z" msg="Starting receiver service" time="2026-09-17T09:49:51Z" msg="Starting frontend service" time="2026-09-17T09:49:51Z" msg="Checking for updates" time="2026-09-17T09:49:51Z" msg="Loading users" /user time="2026-09-17T09:49:51Z" msg="Starting poll service" time="2026-09-17T09:49:51Z" msg="Finished loading users" /user time="2026-09-17T09:49:51Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/132/config3959671282/grpcServerConfig.json time="2026-09-17T09:49:51Z" msg="gRPC server listening on /tmp/bridge2067" time="2026-09-17T09:49:51Z" msg="Frontend service started" time="2026-09-17T09:49:51Z" msg="Starting frontend client" time="2026-09-17T09:49:51Z" msg="Not monitoring parent PID" time="2026-09-17T09:49:51Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:49:51Z" msg="200 OK: GET https://127.0.0.1:38129/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:49:51Z" msg="Frontend client started" time="2026-09-17T09:49:51Z" msg="Performing full user login" /user username="******** (2fa3975b)" time="2026-09-17T09:49:51Z" msg="Authorizing user for login" /user username="******** (2fa3975b)" time="2026-09-17T09:49:51Z" msg="200 OK: POST https://127.0.0.1:38129/auth/v4/info" /manager time="2026-09-17T09:49:52Z" msg="200 OK: POST https://127.0.0.1:38129/auth/v4" /manager time="2026-09-17T09:49:52Z" msg="Logging in authorized user" /user userID=5c1d1110-f206-4485-887c-0175bacff01c time="2026-09-17T09:49:52Z" msg="Adding vault user" userID=5c1d1110-f206-4485-887c-0175bacff01c time="2026-09-17T09:49:52Z" msg="Creating new user" userID=5c1d1110-f206-4485-887c-0175bacff01c time="2026-09-17T09:49:52Z" msg="404 GET https://127.0.0.1:38129/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:49:52Z" msg="404 GET https://127.0.0.1:38129/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:49:52Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:38129/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:49:52Z" msg="Creating user object" authUID=6790be68-ff11-427d-b460-f335fcb58d72 numA numL userID=5c1d1110-f206-4485-887c-0175bacff01c time="2026-09-17T09:49:52Z" msg="200 OK: GET https://127.0.0.1:38129/core/v4/events/latest" /client userID=5c1d1110-f206-4485-887c-0175bacff01c time="2026-09-17T09:49:52Z" msg="Starting service Last EventID=AQ==" time="2026-09-17T09:49:52Z" msg="200 OK: GET https://127.0.0.1:38129/core/v4/settings" /client userID=5c1d1110-f206-4485-887c-0175bacff01c time="2026-09-17T09:49:52Z" msg="Registering user client, ID:5c1d1110-f206-4485-887c-0175bacff01c" time="2026-09-17T09:49:52Z" msg="Starting user identity service" numA time="2026-09-17T09:49:52Z" msg="Starting service main loop" time="2026-09-17T09:49:52Z" msg="Starting service main loop" time="2026-09-17T09:49:52Z" msg="Starting service main loop" time="2026-09-17T09:49:52Z" msg="200 OK: GET https://127.0.0.1:38129/core/v4/labels?T" /client userID=5c1d1110-f206-4485-887c-0175bacff01c time="2026-09-17T09:49:52Z" msg="200 OK: GET https://127.0.0.1:38129/core/v4/labels?T" /client userID=5c1d1110-f206-4485-887c-0175bacff01c time="2026-09-17T09:49:52Z" msg="200 OK: GET https://127.0.0.1:38129/core/v4/labels?T" /client userID=5c1d1110-f206-4485-887c-0175bacff01c time="2026-09-17T09:49:52Z" msg="Setting labels" labelIDs="[10 12 0 2 3 5 6 1 4 7 8 9 8c801ec1-05ee-4c5e-8b94-c9300c02525d]" time="2026-09-17T09:49:52Z" msg="Adding user to imap server" addrID=e1beb342-17d7-4941-9296-987da9a37f1d time="2026-09-17T09:49:52Z" msg="Creating new IMAP user" addrID=e1beb342-17d7-4941-9296-987da9a37f1d time="2026-09-17T09:49:52Z" msg="Setting gluon ID" addrID=e1beb342-17d7-4941-9296-987da9a37f1d gluonID=d45a0c15-4505-4de0-a143-643c14921df5 userID=5c1d1110-f206-4485-887c-0175bacff01c time="2026-09-17T09:49:52Z" msg="Received mailbox message count" gluonID=d45a0c15-4505-4de0-a143-643c14921df5 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:49:52Z" msg="Created new IMAP user" addrID=e1beb342-17d7-4941-9296-987da9a37f1d gluonID=d45a0c15-4505-4de0-a143-643c14921df5 time="2026-09-17T09:49:52Z" msg="Validating Listener State" time="2026-09-17T09:49:52Z" time="2026-09-17T09:49:52Z" msg="Starting IMAP Service" time="2026-09-17T09:49:52Z" msg="Checking whether logged in user should re-sync. UserID:5c1d1110-f206-4485-887c-0175bacff01c" userID=5c1d1110-f206-4485-887c-0175bacff01c time="2026-09-17T09:49:52Z" msg="Sync triggered" time="2026-09-17T09:49:52Z" msg="Beginning user sync" start="2026-09-17 09:49:52.119124067 +0000 UTC m=+280.611426363" time="2026-09-17T09:49:52Z" msg="Syncing labels" time="2026-09-17T09:49:52Z" msg="Label not found in DB, creating mailbox." labelID=8c801ec1-05ee-4c5e-8b94-c9300c02525d labelPath="jm2pV8GS7FVFPTesFaU5jW/EhDgcEQCxeWTMDFRvNjU=" numberOfC /labelConflictResolver time="2026-09-17T09:49:52Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=d45a0c15-4505-4de0-a143-643c14921df5 time="2026-09-17T09:49:52Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=d45a0c15-4505-4de0-a143-643c14921df5 time="2026-09-17T09:49:52Z" msg="Mailbox created" /user remoteMailboxID=3 userID=d45a0c15-4505-4de0-a143-643c14921df5 time="2026-09-17T09:49:52Z" msg="Mailbox created" /user remoteMailboxID=5 userID=d45a0c15-4505-4de0-a143-643c14921df5 time="2026-09-17T09:49:52Z" msg="Mailbox created" /user remoteMailboxID=4 userID=d45a0c15-4505-4de0-a143-643c14921df5 time="2026-09-17T09:49:52Z" msg="Mailbox created" /user remoteMailboxID=7 userID=d45a0c15-4505-4de0-a143-643c14921df5 time="2026-09-17T09:49:52Z" msg="Mailbox created" /user remoteMailboxID=8c801ec1-05ee-4c5e-8b94-c9300c02525d userID=d45a0c15-4505-4de0-a143-643c14921df5 time="2026-09-17T09:49:52Z" msg="Mailbox created" /user remoteMailboxID=6 userID=d45a0c15-4505-4de0-a143-643c14921df5 time="2026-09-17T09:49:52Z" msg="Mailbox created" /user remoteMailboxID=8 userID=d45a0c15-4505-4de0-a143-643c14921df5 time="2026-09-17T09:49:52Z" msg="Mailbox created" /user remoteMailboxID=10 userID=d45a0c15-4505-4de0-a143-643c14921df5 time="2026-09-17T09:49:52Z" msg="Mailbox created" /user remoteMailboxID=12 userID=d45a0c15-4505-4de0-a143-643c14921df5 time="2026-09-17T09:49:52Z" msg="Mailbox created" /user remoteMailboxID=0 userID=d45a0c15-4505-4de0-a143-643c14921df5 time="2026-09-17T09:49:52Z" msg="Synced labels" time="2026-09-17T09:49:52Z" msg="200 OK: GET https://127.0.0.1:38129/mail/v4/messages/count" /client userID=5c1d1110-f206-4485-887c-0175bacff01c time="2026-09-17T09:49:52Z" msg="Syncing messages" time="2026-09-17T09:49:52Z" msg="Job started" time="2026-09-17T09:49:52Z" msg="200 OK: POST https://127.0.0.1:38129/mail/v4/messages" /client userID=5c1d1110-f206-4485-887c-0175bacff01c time="2026-09-17T09:49:52Z" msg="Job finished" time="2026-09-17T09:49:52Z" msg="All child jobs completed" sync- time="2026-09-17T09:49:52Z" msg="Synced messages" time="2026-09-17T09:49:52Z" msg="Finished user sync" .31245ms time="2026-09-17T09:49:52Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:49:52Z" msg="Event loop reset" eventID="AQ==" time="2026-09-17T09:49:52Z" msg="200 OK: POST https://127.0.0.1:38129/mail/v4/messages/import" /client userID=5c1d1110-f206-4485-887c-0175bacff01c time="2026-09-17T09:49:52Z" msg="200 OK: GET https://127.0.0.1:38129/mail/v4/messages/7340bbe3-208c-4ed0-9fdd-f901736f4221" /client userID=5c1d1110-f206-4485-887c-0175bacff01c time="2026-09-17T09:49:52Z" msg="200 OK: POST https://127.0.0.1:38129/mail/v4/messages/import" /client userID=5c1d1110-f206-4485-887c-0175bacff01c time="2026-09-17T09:49:52Z" msg="200 OK: GET https://127.0.0.1:38129/mail/v4/messages/a5bdc784-264d-4234-af59-ffcdf878dc0c" /client userID=5c1d1110-f206-4485-887c-0175bacff01c time="2026-09-17T09:49:52Z" msg="200 OK: PUT https://127.0.0.1:38129/mail/v4/messages/label" /client userID=5c1d1110-f206-4485-887c-0175bacff01c time="2026-09-17T09:49:52Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 4} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:49:52Z" msg="200 OK: PUT https://127.0.0.1:38129/mail/v4/messages/unlabel" /client userID=5c1d1110-f206-4485-887c-0175bacff01c time="2026-09-17T09:49:52Z" msg="Frontend service stopped" time="2026-09-17T09:49:52Z" msg="Frontend client stopped" time="2026-09-17T09:49:52Z" msg="Closing bridge" time="2026-09-17T09:49:52Z" msg="Stopping service" time="2026-09-17T09:49:52Z" msg="Closing user" userID=5c1d1110-f206-4485-887c-0175bacff01c time="2026-09-17T09:49:52Z" msg="De-registering user client, ID:5c1d1110-f206-4485-887c-0175bacff01c" time="2026-09-17T09:49:52Z" msg="Exiting IMAP Service" time="2026-09-17T09:49:52Z" msg="Exiting service main loop" time="2026-09-17T09:49:52Z" msg="Exiting service main loop" time="2026-09-17T09:49:52Z" msg="Exiting Service" time="2026-09-17T09:49:52Z" msg="Exiting service main loop" time="2026-09-17T09:49:52Z" msg="Exiting service" time="2026-09-17T09:49:52Z" msg="Closing IMAP Listener" time="2026-09-17T09:49:52Z" msg="Closing IMAP server" time="2026-09-17T09:49:52Z" msg="Closing SMTP Listener" time="2026-09-17T09:49:52Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:49:52Z" msg="Closing SMTP server" time="2026-09-17T09:49:52Z" msg="Closing service" | Spam | INBOX | DELETE APPEND EXPUNGE | time="2026-09-17T09:49:53Z" msg="User 'eeb40904-d208-44d7-b4c8-45a11eb9e7bd' created with " /server/backend time="2026-09-17T09:49:53Z" msg="Starting bridge" time="2026-09-17T09:49:53Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/133/config2494925497/grpcFocusServerConfig.json /service time="2026-09-17T09:49:53Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/133/cache3110076184/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:49:53Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/133/cache3110076184/notifications/notification_cache: no such file or directory" time="2026-09-17T09:49:53Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/133/data10031421/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/133/data10031421/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:49:53Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:49:53Z" msg="Starting IMAP server" time="2026-09-17T09:49:53Z" msg="Starting SMTP server" time="2026-09-17T09:49:53Z" msg="Starting service" time="2026-09-17T09:49:53Z" msg="Starting service" time="2026-09-17T09:49:53Z" msg="Starting receiver service" time="2026-09-17T09:49:53Z" msg="Starting poll service" time="2026-09-17T09:49:53Z" msg="Loading users" /user time="2026-09-17T09:49:53Z" msg="Finished loading users" /user time="2026-09-17T09:49:53Z" msg="Starting frontend service" time="2026-09-17T09:49:53Z" msg="Checking for updates" time="2026-09-17T09:49:53Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/133/config2494925497/grpcServerConfig.json time="2026-09-17T09:49:53Z" msg="gRPC server listening on /tmp/bridge6110" time="2026-09-17T09:49:53Z" msg="Frontend service started" time="2026-09-17T09:49:53Z" msg="Starting frontend client" time="2026-09-17T09:49:53Z" msg="Not monitoring parent PID" time="2026-09-17T09:49:53Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:49:53Z" msg="Frontend client started" time="2026-09-17T09:49:53Z" msg="Performing full user login" /user username="******** (eb68534f)" time="2026-09-17T09:49:53Z" msg="Authorizing user for login" /user username="******** (eb68534f)" time="2026-09-17T09:49:53Z" msg="200 OK: GET https://127.0.0.1:44509/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:49:53Z" msg="200 OK: POST https://127.0.0.1:44509/auth/v4/info" /manager time="2026-09-17T09:49:54Z" msg="200 OK: POST https://127.0.0.1:44509/auth/v4" /manager time="2026-09-17T09:49:54Z" msg="Logging in authorized user" /user userID=70045fcb-f4af-4875-8fa0-e70a378053ae time="2026-09-17T09:49:54Z" msg="Adding vault user" userID=70045fcb-f4af-4875-8fa0-e70a378053ae time="2026-09-17T09:49:54Z" msg="Creating new user" userID=70045fcb-f4af-4875-8fa0-e70a378053ae time="2026-09-17T09:49:54Z" msg="404 GET https://127.0.0.1:44509/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:49:54Z" msg="404 GET https://127.0.0.1:44509/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:49:54Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:44509/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:49:54Z" msg="Creating user object" authUID=b30ac176-aae1-48bd-8d55-bc349e8e7246 numA numL userID=70045fcb-f4af-4875-8fa0-e70a378053ae time="2026-09-17T09:49:54Z" msg="200 OK: GET https://127.0.0.1:44509/core/v4/events/latest" /client userID=70045fcb-f4af-4875-8fa0-e70a378053ae time="2026-09-17T09:49:54Z" msg="Starting service Last EventID=AQ==" time="2026-09-17T09:49:54Z" msg="200 OK: GET https://127.0.0.1:44509/core/v4/settings" /client userID=70045fcb-f4af-4875-8fa0-e70a378053ae time="2026-09-17T09:49:54Z" msg="Registering user client, ID:70045fcb-f4af-4875-8fa0-e70a378053ae" time="2026-09-17T09:49:54Z" msg="Starting user identity service" numA time="2026-09-17T09:49:54Z" msg="Starting service main loop" time="2026-09-17T09:49:54Z" msg="Starting service main loop" time="2026-09-17T09:49:54Z" msg="Starting service main loop" time="2026-09-17T09:49:54Z" msg="200 OK: GET https://127.0.0.1:44509/core/v4/labels?T" /client userID=70045fcb-f4af-4875-8fa0-e70a378053ae time="2026-09-17T09:49:54Z" msg="200 OK: GET https://127.0.0.1:44509/core/v4/labels?T" /client userID=70045fcb-f4af-4875-8fa0-e70a378053ae time="2026-09-17T09:49:54Z" msg="200 OK: GET https://127.0.0.1:44509/core/v4/labels?T" /client userID=70045fcb-f4af-4875-8fa0-e70a378053ae time="2026-09-17T09:49:54Z" msg="Setting labels" labelIDs="[9 12 0 5 7 8 10 1 2 3 4 6 53682427-26aa-4b5e-98ef-44619129882a]" time="2026-09-17T09:49:54Z" msg="Adding user to imap server" addrID=cf965cd6-f6a3-40f4-b88c-f23200f1f158 time="2026-09-17T09:49:54Z" msg="Creating new IMAP user" addrID=cf965cd6-f6a3-40f4-b88c-f23200f1f158 time="2026-09-17T09:49:54Z" msg="Setting gluon ID" addrID=cf965cd6-f6a3-40f4-b88c-f23200f1f158 gluonID=5b89698c-fdb2-49c5-99b7-286cce4272ad userID=70045fcb-f4af-4875-8fa0-e70a378053ae time="2026-09-17T09:49:54Z" msg="Received mailbox message count" gluonID=5b89698c-fdb2-49c5-99b7-286cce4272ad labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:49:54Z" msg="Created new IMAP user" addrID=cf965cd6-f6a3-40f4-b88c-f23200f1f158 gluonID=5b89698c-fdb2-49c5-99b7-286cce4272ad time="2026-09-17T09:49:54Z" msg="Validating Listener State" time="2026-09-17T09:49:54Z" time="2026-09-17T09:49:54Z" msg="Starting IMAP Service" time="2026-09-17T09:49:54Z" msg="Checking whether logged in user should re-sync. UserID:70045fcb-f4af-4875-8fa0-e70a378053ae" userID=70045fcb-f4af-4875-8fa0-e70a378053ae time="2026-09-17T09:49:54Z" msg="Sync triggered" time="2026-09-17T09:49:54Z" msg="Beginning user sync" start="2026-09-17 09:49:54.316603275 +0000 UTC m=+282.808905531" time="2026-09-17T09:49:54Z" msg="Syncing labels" time="2026-09-17T09:49:54Z" msg="Label not found in DB, creating mailbox." labelID=53682427-26aa-4b5e-98ef-44619129882a labelPath="jm2pV8GS7FVFPTesFaU5jW/EhDgcEQCxeWTMDFRvNjU=" numberOfC /labelConflictResolver time="2026-09-17T09:49:54Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=5b89698c-fdb2-49c5-99b7-286cce4272ad time="2026-09-17T09:49:54Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=5b89698c-fdb2-49c5-99b7-286cce4272ad time="2026-09-17T09:49:54Z" msg="Mailbox created" /user remoteMailboxID=10 userID=5b89698c-fdb2-49c5-99b7-286cce4272ad time="2026-09-17T09:49:54Z" msg="Mailbox created" /user remoteMailboxID=4 userID=5b89698c-fdb2-49c5-99b7-286cce4272ad time="2026-09-17T09:49:54Z" msg="Mailbox created" /user remoteMailboxID=6 userID=5b89698c-fdb2-49c5-99b7-286cce4272ad time="2026-09-17T09:49:54Z" msg="Mailbox created" /user remoteMailboxID=53682427-26aa-4b5e-98ef-44619129882a userID=5b89698c-fdb2-49c5-99b7-286cce4272ad time="2026-09-17T09:49:54Z" msg="Mailbox created" /user remoteMailboxID=0 userID=5b89698c-fdb2-49c5-99b7-286cce4272ad time="2026-09-17T09:49:54Z" msg="Mailbox created" /user remoteMailboxID=5 userID=5b89698c-fdb2-49c5-99b7-286cce4272ad time="2026-09-17T09:49:54Z" msg="Mailbox created" /user remoteMailboxID=7 userID=5b89698c-fdb2-49c5-99b7-286cce4272ad time="2026-09-17T09:49:54Z" msg="Mailbox created" /user remoteMailboxID=8 userID=5b89698c-fdb2-49c5-99b7-286cce4272ad time="2026-09-17T09:49:54Z" msg="Mailbox created" /user remoteMailboxID=3 userID=5b89698c-fdb2-49c5-99b7-286cce4272ad time="2026-09-17T09:49:54Z" msg="Mailbox created" /user remoteMailboxID=12 userID=5b89698c-fdb2-49c5-99b7-286cce4272ad time="2026-09-17T09:49:54Z" msg="Synced labels" time="2026-09-17T09:49:54Z" msg="200 OK: GET https://127.0.0.1:44509/mail/v4/messages/count" /client userID=70045fcb-f4af-4875-8fa0-e70a378053ae time="2026-09-17T09:49:54Z" msg="Syncing messages" time="2026-09-17T09:49:54Z" msg="Job started" time="2026-09-17T09:49:54Z" msg="200 OK: POST https://127.0.0.1:44509/mail/v4/messages" /client userID=70045fcb-f4af-4875-8fa0-e70a378053ae time="2026-09-17T09:49:54Z" msg="Job finished" time="2026-09-17T09:49:54Z" msg="All child jobs completed" sync- time="2026-09-17T09:49:54Z" msg="Synced messages" time="2026-09-17T09:49:54Z" msg="Finished user sync" .175921ms time="2026-09-17T09:49:54Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:49:54Z" msg="Event loop reset" eventID="AQ==" time="2026-09-17T09:49:54Z" msg="200 OK: POST https://127.0.0.1:44509/mail/v4/messages/import" /client userID=70045fcb-f4af-4875-8fa0-e70a378053ae time="2026-09-17T09:49:54Z" msg="200 OK: GET https://127.0.0.1:44509/mail/v4/messages/f742e765-4ac4-48de-9df0-96ad8532dfc8" /client userID=70045fcb-f4af-4875-8fa0-e70a378053ae time="2026-09-17T09:49:54Z" msg="200 OK: POST https://127.0.0.1:44509/mail/v4/messages/import" /client userID=70045fcb-f4af-4875-8fa0-e70a378053ae time="2026-09-17T09:49:54Z" msg="200 OK: GET https://127.0.0.1:44509/mail/v4/messages/f10a203b-4664-4a4f-98ef-097043c5c3da" /client userID=70045fcb-f4af-4875-8fa0-e70a378053ae time="2026-09-17T09:49:54Z" msg="200 OK: PUT https://127.0.0.1:44509/mail/v4/messages/label" /client userID=70045fcb-f4af-4875-8fa0-e70a378053ae time="2026-09-17T09:49:54Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 0} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:49:54Z" msg="200 OK: PUT https://127.0.0.1:44509/mail/v4/messages/unlabel" /client userID=70045fcb-f4af-4875-8fa0-e70a378053ae time="2026-09-17T09:49:55Z" msg="Frontend service stopped" time="2026-09-17T09:49:55Z" msg="Frontend client stopped" time="2026-09-17T09:49:55Z" msg="Closing bridge" time="2026-09-17T09:49:55Z" msg="Stopping service" time="2026-09-17T09:49:55Z" msg="Closing user" userID=70045fcb-f4af-4875-8fa0-e70a378053ae time="2026-09-17T09:49:55Z" msg="De-registering user client, ID:70045fcb-f4af-4875-8fa0-e70a378053ae" time="2026-09-17T09:49:55Z" msg="Exiting IMAP Service" time="2026-09-17T09:49:55Z" msg="Exiting service main loop" time="2026-09-17T09:49:55Z" msg="Exiting service main loop" time="2026-09-17T09:49:55Z" msg="Exiting Service" time="2026-09-17T09:49:55Z" msg="Exiting service main loop" time="2026-09-17T09:49:55Z" msg="Exiting service" time="2026-09-17T09:49:55Z" msg="Closing IMAP Listener" time="2026-09-17T09:49:55Z" msg="Closing IMAP server" time="2026-09-17T09:49:55Z" msg="Closing SMTP Listener" time="2026-09-17T09:49:55Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:49:55Z" msg="Closing SMTP server" time="2026-09-17T09:49:55Z" msg="Closing service" | INBOX | Archive | DELETE APPEND EXPUNGE | time="2026-09-17T09:49:55Z" msg="User '2956aa8e-d518-4cbc-b3b4-321a56a8badf' created with " /server/backend time="2026-09-17T09:49:56Z" msg="Starting bridge" time="2026-09-17T09:49:56Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/134/config3905778630/grpcFocusServerConfig.json /service time="2026-09-17T09:49:56Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/134/cache2232870047/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:49:56Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/134/cache2232870047/notifications/notification_cache: no such file or directory" time="2026-09-17T09:49:56Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/134/data3298747168/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/134/data3298747168/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:49:56Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:49:56Z" msg="Starting IMAP server" time="2026-09-17T09:49:56Z" msg="Starting SMTP server" time="2026-09-17T09:49:56Z" msg="Starting service" time="2026-09-17T09:49:56Z" msg="Starting service" time="2026-09-17T09:49:56Z" msg="Starting poll service" time="2026-09-17T09:49:56Z" msg="Starting receiver service" time="2026-09-17T09:49:56Z" msg="Starting frontend service" time="2026-09-17T09:49:56Z" msg="Checking for updates" time="2026-09-17T09:49:56Z" msg="Loading users" /user time="2026-09-17T09:49:56Z" msg="Finished loading users" /user time="2026-09-17T09:49:56Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/134/config3905778630/grpcServerConfig.json time="2026-09-17T09:49:56Z" msg="gRPC server listening on /tmp/bridge3352" time="2026-09-17T09:49:56Z" msg="Frontend service started" time="2026-09-17T09:49:56Z" msg="Starting frontend client" time="2026-09-17T09:49:56Z" msg="Not monitoring parent PID" time="2026-09-17T09:49:56Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:49:56Z" msg="Frontend client started" time="2026-09-17T09:49:56Z" msg="Performing full user login" /user username="******** (1a5b9494)" time="2026-09-17T09:49:56Z" msg="Authorizing user for login" /user username="******** (1a5b9494)" time="2026-09-17T09:49:56Z" msg="200 OK: POST https://127.0.0.1:40513/auth/v4/info" /manager time="2026-09-17T09:49:56Z" msg="200 OK: POST https://127.0.0.1:40513/auth/v4" /manager time="2026-09-17T09:49:56Z" msg="Logging in authorized user" /user userID=526b30e0-44ce-427c-93ff-4aa8aeda69f0 time="2026-09-17T09:49:56Z" msg="Adding vault user" userID=526b30e0-44ce-427c-93ff-4aa8aeda69f0 time="2026-09-17T09:49:56Z" msg="Creating new user" userID=526b30e0-44ce-427c-93ff-4aa8aeda69f0 time="2026-09-17T09:49:56Z" msg="404 GET https://127.0.0.1:40513/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:49:56Z" msg="404 GET https://127.0.0.1:40513/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:49:56Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:40513/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:49:56Z" msg="Creating user object" authUID=3438e756-bdfb-4532-9e70-c94c9dd0c5ad numA numL userID=526b30e0-44ce-427c-93ff-4aa8aeda69f0 time="2026-09-17T09:49:56Z" msg="200 OK: GET https://127.0.0.1:40513/core/v4/events/latest" /client userID=526b30e0-44ce-427c-93ff-4aa8aeda69f0 time="2026-09-17T09:49:56Z" msg="Starting service Last EventID=AQ==" time="2026-09-17T09:49:56Z" msg="200 OK: GET https://127.0.0.1:40513/core/v4/settings" /client userID=526b30e0-44ce-427c-93ff-4aa8aeda69f0 time="2026-09-17T09:49:56Z" msg="Registering user client, ID:526b30e0-44ce-427c-93ff-4aa8aeda69f0" time="2026-09-17T09:49:56Z" msg="Starting service main loop" time="2026-09-17T09:49:56Z" msg="Starting user identity service" numA time="2026-09-17T09:49:56Z" msg="Starting service main loop" time="2026-09-17T09:49:56Z" msg="Starting service main loop" time="2026-09-17T09:49:56Z" msg="200 OK: GET https://127.0.0.1:40513/core/v4/labels?T" /client userID=526b30e0-44ce-427c-93ff-4aa8aeda69f0 time="2026-09-17T09:49:56Z" msg="200 OK: GET https://127.0.0.1:40513/core/v4/labels?T" /client userID=526b30e0-44ce-427c-93ff-4aa8aeda69f0 time="2026-09-17T09:49:56Z" msg="200 OK: GET https://127.0.0.1:40513/core/v4/labels?T" /client userID=526b30e0-44ce-427c-93ff-4aa8aeda69f0 time="2026-09-17T09:49:56Z" msg="Setting labels" labelIDs="[2 3 4 5 7 8 0 1 6 9 10 12 63359499-45aa-4ca9-8668-5c3f6629e541]" time="2026-09-17T09:49:56Z" msg="Adding user to imap server" addrID=88d77031-1142-47b2-8d7e-a27153d852c5 time="2026-09-17T09:49:56Z" msg="Creating new IMAP user" addrID=88d77031-1142-47b2-8d7e-a27153d852c5 time="2026-09-17T09:49:56Z" msg="Setting gluon ID" addrID=88d77031-1142-47b2-8d7e-a27153d852c5 gluonID=ebb06128-6807-4dc2-a94d-6af48aa79e8e userID=526b30e0-44ce-427c-93ff-4aa8aeda69f0 time="2026-09-17T09:49:56Z" msg="Received mailbox message count" gluonID=ebb06128-6807-4dc2-a94d-6af48aa79e8e labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:49:56Z" msg="Created new IMAP user" addrID=88d77031-1142-47b2-8d7e-a27153d852c5 gluonID=ebb06128-6807-4dc2-a94d-6af48aa79e8e time="2026-09-17T09:49:56Z" msg="Validating Listener State" time="2026-09-17T09:49:56Z" time="2026-09-17T09:49:56Z" msg="Checking whether logged in user should re-sync. UserID:526b30e0-44ce-427c-93ff-4aa8aeda69f0" userID=526b30e0-44ce-427c-93ff-4aa8aeda69f0 time="2026-09-17T09:49:56Z" msg="Starting IMAP Service" time="2026-09-17T09:49:56Z" msg="Sync triggered" time="2026-09-17T09:49:56Z" msg="Beginning user sync" start="2026-09-17 09:49:56.513849484 +0000 UTC m=+285.006151860" time="2026-09-17T09:49:56Z" msg="Syncing labels" time="2026-09-17T09:49:56Z" msg="Label not found in DB, creating mailbox." labelID=63359499-45aa-4ca9-8668-5c3f6629e541 labelPath="jm2pV8GS7FVFPTesFaU5jW/EhDgcEQCxeWTMDFRvNjU=" numberOfC /labelConflictResolver time="2026-09-17T09:49:56Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=ebb06128-6807-4dc2-a94d-6af48aa79e8e time="2026-09-17T09:49:56Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=ebb06128-6807-4dc2-a94d-6af48aa79e8e time="2026-09-17T09:49:56Z" msg="Mailbox created" /user remoteMailboxID=3 userID=ebb06128-6807-4dc2-a94d-6af48aa79e8e time="2026-09-17T09:49:56Z" msg="Mailbox created" /user remoteMailboxID=4 userID=ebb06128-6807-4dc2-a94d-6af48aa79e8e time="2026-09-17T09:49:56Z" msg="Mailbox created" /user remoteMailboxID=5 userID=ebb06128-6807-4dc2-a94d-6af48aa79e8e time="2026-09-17T09:49:56Z" msg="Mailbox created" /user remoteMailboxID=7 userID=ebb06128-6807-4dc2-a94d-6af48aa79e8e time="2026-09-17T09:49:56Z" msg="Mailbox created" /user remoteMailboxID=8 userID=ebb06128-6807-4dc2-a94d-6af48aa79e8e time="2026-09-17T09:49:56Z" msg="Mailbox created" /user remoteMailboxID=10 userID=ebb06128-6807-4dc2-a94d-6af48aa79e8e time="2026-09-17T09:49:56Z" msg="Mailbox created" /user remoteMailboxID=12 userID=ebb06128-6807-4dc2-a94d-6af48aa79e8e time="2026-09-17T09:49:56Z" msg="Mailbox created" /user remoteMailboxID=0 userID=ebb06128-6807-4dc2-a94d-6af48aa79e8e time="2026-09-17T09:49:56Z" msg="Mailbox created" /user remoteMailboxID=6 userID=ebb06128-6807-4dc2-a94d-6af48aa79e8e time="2026-09-17T09:49:56Z" msg="Mailbox created" /user remoteMailboxID=63359499-45aa-4ca9-8668-5c3f6629e541 userID=ebb06128-6807-4dc2-a94d-6af48aa79e8e time="2026-09-17T09:49:56Z" msg="Synced labels" time="2026-09-17T09:49:56Z" msg="200 OK: GET https://127.0.0.1:40513/mail/v4/messages/count" /client userID=526b30e0-44ce-427c-93ff-4aa8aeda69f0 time="2026-09-17T09:49:56Z" msg="Syncing messages" time="2026-09-17T09:49:56Z" msg="Job started" time="2026-09-17T09:49:56Z" msg="200 OK: POST https://127.0.0.1:40513/mail/v4/messages" /client userID=526b30e0-44ce-427c-93ff-4aa8aeda69f0 time="2026-09-17T09:49:56Z" msg="Job finished" time="2026-09-17T09:49:56Z" msg="All child jobs completed" sync- time="2026-09-17T09:49:56Z" msg="Synced messages" time="2026-09-17T09:49:56Z" msg="Finished user sync" .896244ms time="2026-09-17T09:49:56Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:49:56Z" msg="Event loop reset" eventID="AQ==" time="2026-09-17T09:49:56Z" msg="200 OK: POST https://127.0.0.1:40513/mail/v4/messages/import" /client userID=526b30e0-44ce-427c-93ff-4aa8aeda69f0 time="2026-09-17T09:49:56Z" msg="200 OK: GET https://127.0.0.1:40513/mail/v4/messages/ee57b26e-3a71-4195-b3c7-0d11e0d7f0bb" /client userID=526b30e0-44ce-427c-93ff-4aa8aeda69f0 time="2026-09-17T09:49:56Z" msg="200 OK: POST https://127.0.0.1:40513/mail/v4/messages/import" /client userID=526b30e0-44ce-427c-93ff-4aa8aeda69f0 time="2026-09-17T09:49:56Z" msg="200 OK: GET https://127.0.0.1:40513/mail/v4/messages/74f77e08-13fb-4912-814f-6a85ff7d3112" /client userID=526b30e0-44ce-427c-93ff-4aa8aeda69f0 time="2026-09-17T09:49:56Z" msg="200 OK: PUT https://127.0.0.1:40513/mail/v4/messages/label" /client userID=526b30e0-44ce-427c-93ff-4aa8aeda69f0 time="2026-09-17T09:49:56Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 5} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:49:56Z" msg="200 OK: PUT https://127.0.0.1:40513/mail/v4/messages/unlabel" /client userID=526b30e0-44ce-427c-93ff-4aa8aeda69f0 time="2026-09-17T09:49:57Z" msg="Frontend service stopped" time="2026-09-17T09:49:57Z" msg="Frontend client stopped" time="2026-09-17T09:49:57Z" msg="Closing bridge" time="2026-09-17T09:49:57Z" msg="Stopping service" time="2026-09-17T09:49:57Z" msg="Closing user" userID=526b30e0-44ce-427c-93ff-4aa8aeda69f0 time="2026-09-17T09:49:57Z" msg="De-registering user client, ID:526b30e0-44ce-427c-93ff-4aa8aeda69f0" time="2026-09-17T09:49:57Z" msg="Exiting IMAP Service" time="2026-09-17T09:49:57Z" msg="Exiting service main loop" time="2026-09-17T09:49:57Z" msg="Exiting service main loop" time="2026-09-17T09:49:57Z" msg="Exiting Service" time="2026-09-17T09:49:57Z" msg="Exiting service main loop" time="2026-09-17T09:49:57Z" msg="Exiting service" time="2026-09-17T09:49:57Z" msg="Closing IMAP Listener" time="2026-09-17T09:49:57Z" msg="Closing IMAP server" time="2026-09-17T09:49:57Z" msg="Closing SMTP Listener" time="2026-09-17T09:49:57Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:49:57Z" msg="Closing SMTP server" time="2026-09-17T09:49:57Z" msg="Closing service" | INBOX | Folders/mbox | DELETE APPEND EXPUNGE | time="2026-09-17T09:49:57Z" msg="User '3f9d3ebc-fed6-44c8-a716-d1210d52f586' created with " /server/backend time="2026-09-17T09:49:58Z" msg="Starting bridge" time="2026-09-17T09:49:58Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/135/config2543634760/grpcFocusServerConfig.json /service time="2026-09-17T09:49:58Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/135/cache450083926/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:49:58Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/135/cache450083926/notifications/notification_cache: no such file or directory" time="2026-09-17T09:49:58Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/135/data2356473011/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/135/data2356473011/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:49:58Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:49:58Z" msg="Starting IMAP server" time="2026-09-17T09:49:58Z" msg="Starting SMTP server" time="2026-09-17T09:49:58Z" msg="Starting service" time="2026-09-17T09:49:58Z" msg="Starting service" time="2026-09-17T09:49:58Z" msg="Starting frontend service" time="2026-09-17T09:49:58Z" msg="Starting receiver service" time="2026-09-17T09:49:58Z" msg="Starting poll service" time="2026-09-17T09:49:58Z" msg="Checking for updates" time="2026-09-17T09:49:58Z" msg="Loading users" /user time="2026-09-17T09:49:58Z" msg="Finished loading users" /user time="2026-09-17T09:49:58Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/135/config2543634760/grpcServerConfig.json time="2026-09-17T09:49:58Z" msg="gRPC server listening on /tmp/bridge3252" time="2026-09-17T09:49:58Z" msg="Frontend service started" time="2026-09-17T09:49:58Z" msg="Starting frontend client" time="2026-09-17T09:49:58Z" msg="Not monitoring parent PID" time="2026-09-17T09:49:58Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:49:58Z" msg="200 OK: GET https://127.0.0.1:43479/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:49:58Z" msg="Frontend client started" time="2026-09-17T09:49:58Z" msg="Performing full user login" /user username="******** (e78f7cd7)" time="2026-09-17T09:49:58Z" msg="Authorizing user for login" /user username="******** (e78f7cd7)" time="2026-09-17T09:49:58Z" msg="200 OK: POST https://127.0.0.1:43479/auth/v4/info" /manager time="2026-09-17T09:49:58Z" msg="200 OK: POST https://127.0.0.1:43479/auth/v4" /manager time="2026-09-17T09:49:58Z" msg="Logging in authorized user" /user userID=5ddb3a67-cf8a-452f-abd9-570f7b568b99 time="2026-09-17T09:49:58Z" msg="Adding vault user" userID=5ddb3a67-cf8a-452f-abd9-570f7b568b99 time="2026-09-17T09:49:58Z" msg="Creating new user" userID=5ddb3a67-cf8a-452f-abd9-570f7b568b99 time="2026-09-17T09:49:58Z" msg="404 GET https://127.0.0.1:43479/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:49:58Z" msg="404 GET https://127.0.0.1:43479/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:49:58Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:43479/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:49:58Z" msg="Creating user object" authUID=2f8cce47-85a8-4f44-b9a8-706928473418 numA numL userID=5ddb3a67-cf8a-452f-abd9-570f7b568b99 time="2026-09-17T09:49:58Z" msg="200 OK: GET https://127.0.0.1:43479/core/v4/events/latest" /client userID=5ddb3a67-cf8a-452f-abd9-570f7b568b99 time="2026-09-17T09:49:58Z" msg="Starting service Last EventID=AQ==" time="2026-09-17T09:49:58Z" msg="200 OK: GET https://127.0.0.1:43479/core/v4/settings" /client userID=5ddb3a67-cf8a-452f-abd9-570f7b568b99 time="2026-09-17T09:49:58Z" msg="Registering user client, ID:5ddb3a67-cf8a-452f-abd9-570f7b568b99" time="2026-09-17T09:49:58Z" msg="Starting service main loop" time="2026-09-17T09:49:58Z" msg="Starting user identity service" numA time="2026-09-17T09:49:58Z" msg="Starting service main loop" time="2026-09-17T09:49:58Z" msg="Starting service main loop" time="2026-09-17T09:49:58Z" msg="200 OK: GET https://127.0.0.1:43479/core/v4/labels?T" /client userID=5ddb3a67-cf8a-452f-abd9-570f7b568b99 time="2026-09-17T09:49:58Z" msg="200 OK: GET https://127.0.0.1:43479/core/v4/labels?T" /client userID=5ddb3a67-cf8a-452f-abd9-570f7b568b99 time="2026-09-17T09:49:58Z" msg="200 OK: GET https://127.0.0.1:43479/core/v4/labels?T" /client userID=5ddb3a67-cf8a-452f-abd9-570f7b568b99 time="2026-09-17T09:49:58Z" msg="Setting labels" labelIDs="[12 1 3 4 6 7 8 9 0 2 5 10 438d843a-7c40-43e2-b6c4-c0b0fc870908]" time="2026-09-17T09:49:58Z" msg="Adding user to imap server" addrID=5a9c551c-7f59-40b3-a3b9-67329d5eb315 time="2026-09-17T09:49:58Z" msg="Creating new IMAP user" addrID=5a9c551c-7f59-40b3-a3b9-67329d5eb315 time="2026-09-17T09:49:58Z" msg="Setting gluon ID" addrID=5a9c551c-7f59-40b3-a3b9-67329d5eb315 gluonID=f1620921-4487-452b-a913-09c74eafbb72 userID=5ddb3a67-cf8a-452f-abd9-570f7b568b99 time="2026-09-17T09:49:58Z" msg="Received mailbox message count" gluonID=f1620921-4487-452b-a913-09c74eafbb72 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:49:58Z" msg="Created new IMAP user" addrID=5a9c551c-7f59-40b3-a3b9-67329d5eb315 gluonID=f1620921-4487-452b-a913-09c74eafbb72 time="2026-09-17T09:49:58Z" msg="Validating Listener State" time="2026-09-17T09:49:58Z" time="2026-09-17T09:49:58Z" msg="Starting IMAP Service" time="2026-09-17T09:49:58Z" msg="Checking whether logged in user should re-sync. UserID:5ddb3a67-cf8a-452f-abd9-570f7b568b99" userID=5ddb3a67-cf8a-452f-abd9-570f7b568b99 time="2026-09-17T09:49:58Z" msg="Sync triggered" time="2026-09-17T09:49:58Z" msg="Beginning user sync" start="2026-09-17 09:49:58.707120036 +0000 UTC m=+287.199422372" time="2026-09-17T09:49:58Z" msg="Syncing labels" time="2026-09-17T09:49:58Z" msg="Label not found in DB, creating mailbox." labelID=438d843a-7c40-43e2-b6c4-c0b0fc870908 labelPath="jm2pV8GS7FVFPTesFaU5jW/EhDgcEQCxeWTMDFRvNjU=" numberOfC /labelConflictResolver time="2026-09-17T09:49:58Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=f1620921-4487-452b-a913-09c74eafbb72 time="2026-09-17T09:49:58Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=f1620921-4487-452b-a913-09c74eafbb72 time="2026-09-17T09:49:58Z" msg="Mailbox created" /user remoteMailboxID=3 userID=f1620921-4487-452b-a913-09c74eafbb72 time="2026-09-17T09:49:58Z" msg="Mailbox created" /user remoteMailboxID=4 userID=f1620921-4487-452b-a913-09c74eafbb72 time="2026-09-17T09:49:58Z" msg="Mailbox created" /user remoteMailboxID=6 userID=f1620921-4487-452b-a913-09c74eafbb72 time="2026-09-17T09:49:58Z" msg="Mailbox created" /user remoteMailboxID=7 userID=f1620921-4487-452b-a913-09c74eafbb72 time="2026-09-17T09:49:58Z" msg="Mailbox created" /user remoteMailboxID=10 userID=f1620921-4487-452b-a913-09c74eafbb72 time="2026-09-17T09:49:58Z" msg="Mailbox created" /user remoteMailboxID=12 userID=f1620921-4487-452b-a913-09c74eafbb72 time="2026-09-17T09:49:58Z" msg="Mailbox created" /user remoteMailboxID=8 userID=f1620921-4487-452b-a913-09c74eafbb72 time="2026-09-17T09:49:58Z" msg="Mailbox created" /user remoteMailboxID=0 userID=f1620921-4487-452b-a913-09c74eafbb72 time="2026-09-17T09:49:58Z" msg="Mailbox created" /user remoteMailboxID=5 userID=f1620921-4487-452b-a913-09c74eafbb72 time="2026-09-17T09:49:58Z" msg="Mailbox created" /user remoteMailboxID=438d843a-7c40-43e2-b6c4-c0b0fc870908 userID=f1620921-4487-452b-a913-09c74eafbb72 time="2026-09-17T09:49:58Z" msg="Synced labels" time="2026-09-17T09:49:58Z" msg="200 OK: GET https://127.0.0.1:43479/mail/v4/messages/count" /client userID=5ddb3a67-cf8a-452f-abd9-570f7b568b99 time="2026-09-17T09:49:58Z" msg="Syncing messages" time="2026-09-17T09:49:58Z" msg="Job started" time="2026-09-17T09:49:58Z" msg="200 OK: POST https://127.0.0.1:43479/mail/v4/messages" /client userID=5ddb3a67-cf8a-452f-abd9-570f7b568b99 time="2026-09-17T09:49:58Z" msg="Job finished" time="2026-09-17T09:49:58Z" msg="All child jobs completed" sync- time="2026-09-17T09:49:58Z" msg="Synced messages" time="2026-09-17T09:49:58Z" msg="Finished user sync" .603492ms time="2026-09-17T09:49:58Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:49:58Z" msg="Event loop reset" eventID="AQ==" time="2026-09-17T09:49:58Z" msg="200 OK: POST https://127.0.0.1:43479/mail/v4/messages/import" /client userID=5ddb3a67-cf8a-452f-abd9-570f7b568b99 time="2026-09-17T09:49:58Z" msg="200 OK: GET https://127.0.0.1:43479/mail/v4/messages/a458c7c4-061d-4913-8d93-934bc2d098c2" /client userID=5ddb3a67-cf8a-452f-abd9-570f7b568b99 time="2026-09-17T09:49:58Z" msg="200 OK: POST https://127.0.0.1:43479/mail/v4/messages/import" /client userID=5ddb3a67-cf8a-452f-abd9-570f7b568b99 time="2026-09-17T09:49:58Z" msg="200 OK: GET https://127.0.0.1:43479/mail/v4/messages/cebc270b-2e69-4f7c-911b-ae75c44a107a" /client userID=5ddb3a67-cf8a-452f-abd9-570f7b568b99 time="2026-09-17T09:49:58Z" msg="200 OK: PUT https://127.0.0.1:43479/mail/v4/messages/label" /client userID=5ddb3a67-cf8a-452f-abd9-570f7b568b99 time="2026-09-17T09:49:58Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 3} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:49:58Z" msg="200 OK: PUT https://127.0.0.1:43479/mail/v4/messages/unlabel" /client userID=5ddb3a67-cf8a-452f-abd9-570f7b568b99 time="2026-09-17T09:49:59Z" msg="Frontend service stopped" time="2026-09-17T09:49:59Z" msg="Frontend client stopped" time="2026-09-17T09:49:59Z" msg="Closing bridge" time="2026-09-17T09:49:59Z" msg="Stopping service" time="2026-09-17T09:49:59Z" msg="Closing user" userID=5ddb3a67-cf8a-452f-abd9-570f7b568b99 time="2026-09-17T09:49:59Z" msg="De-registering user client, ID:5ddb3a67-cf8a-452f-abd9-570f7b568b99" time="2026-09-17T09:49:59Z" msg="Exiting IMAP Service" time="2026-09-17T09:49:59Z" msg="Exiting service main loop" time="2026-09-17T09:49:59Z" msg="Exiting service main loop" time="2026-09-17T09:49:59Z" msg="Exiting Service" time="2026-09-17T09:49:59Z" msg="Exiting service main loop" time="2026-09-17T09:49:59Z" msg="Exiting service" time="2026-09-17T09:49:59Z" msg="Closing IMAP Listener" time="2026-09-17T09:49:59Z" msg="Closing IMAP server" time="2026-09-17T09:49:59Z" msg="Closing SMTP Listener" time="2026-09-17T09:49:59Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:49:59Z" msg="Closing SMTP server" time="2026-09-17T09:49:59Z" msg="Closing service" | INBOX | Spam | DELETE APPEND EXPUNGE | time="2026-09-17T09:49:59Z" msg="User '6e482b68-d950-404b-86d6-54ae841b4c7f' created with " /server/backend time="2026-09-17T09:50:00Z" msg="Starting bridge" time="2026-09-17T09:50:00Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/136/config1490731363/grpcFocusServerConfig.json /service time="2026-09-17T09:50:00Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/136/cache1945362715/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:50:00Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/136/cache1945362715/notifications/notification_cache: no such file or directory" time="2026-09-17T09:50:00Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/136/data1233331236/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/136/data1233331236/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:50:00Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:50:00Z" msg="Starting IMAP server" time="2026-09-17T09:50:00Z" msg="Starting SMTP server" time="2026-09-17T09:50:00Z" msg="Starting service" time="2026-09-17T09:50:00Z" msg="Starting service" time="2026-09-17T09:50:00Z" msg="Starting receiver service" time="2026-09-17T09:50:00Z" msg="Starting frontend service" time="2026-09-17T09:50:00Z" msg="Loading users" /user time="2026-09-17T09:50:00Z" msg="Checking for updates" time="2026-09-17T09:50:00Z" msg="Finished loading users" /user time="2026-09-17T09:50:00Z" msg="Starting poll service" time="2026-09-17T09:50:00Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/136/config1490731363/grpcServerConfig.json time="2026-09-17T09:50:00Z" msg="gRPC server listening on /tmp/bridge0120" time="2026-09-17T09:50:00Z" msg="Frontend service started" time="2026-09-17T09:50:00Z" msg="Starting frontend client" time="2026-09-17T09:50:00Z" msg="Not monitoring parent PID" time="2026-09-17T09:50:00Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:50:00Z" msg="200 OK: GET https://127.0.0.1:33547/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:50:00Z" msg="Frontend client started" time="2026-09-17T09:50:00Z" msg="Performing full user login" /user username="******** (9a70786e)" time="2026-09-17T09:50:00Z" msg="Authorizing user for login" /user username="******** (9a70786e)" time="2026-09-17T09:50:00Z" msg="200 OK: POST https://127.0.0.1:33547/auth/v4/info" /manager time="2026-09-17T09:50:00Z" msg="200 OK: POST https://127.0.0.1:33547/auth/v4" /manager time="2026-09-17T09:50:00Z" msg="Logging in authorized user" /user userID=d67e58dd-8686-4647-ba12-ab3769018138 time="2026-09-17T09:50:00Z" msg="Adding vault user" userID=d67e58dd-8686-4647-ba12-ab3769018138 time="2026-09-17T09:50:00Z" msg="Creating new user" userID=d67e58dd-8686-4647-ba12-ab3769018138 time="2026-09-17T09:50:00Z" msg="404 GET https://127.0.0.1:33547/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:50:00Z" msg="404 GET https://127.0.0.1:33547/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:50:00Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:33547/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:50:00Z" msg="Creating user object" authUID=f1fb7dad-d951-48fe-92f3-ab282677164e numA numL userID=d67e58dd-8686-4647-ba12-ab3769018138 time="2026-09-17T09:50:00Z" msg="200 OK: GET https://127.0.0.1:33547/core/v4/events/latest" /client userID=d67e58dd-8686-4647-ba12-ab3769018138 time="2026-09-17T09:50:00Z" msg="Starting service Last EventID=AQ==" time="2026-09-17T09:50:00Z" msg="200 OK: GET https://127.0.0.1:33547/core/v4/settings" /client userID=d67e58dd-8686-4647-ba12-ab3769018138 time="2026-09-17T09:50:00Z" msg="Registering user client, ID:d67e58dd-8686-4647-ba12-ab3769018138" time="2026-09-17T09:50:00Z" msg="Starting user identity service" numA time="2026-09-17T09:50:00Z" msg="Starting service main loop" time="2026-09-17T09:50:00Z" msg="Starting service main loop" time="2026-09-17T09:50:00Z" msg="Starting service main loop" time="2026-09-17T09:50:00Z" msg="200 OK: GET https://127.0.0.1:33547/core/v4/labels?T" /client userID=d67e58dd-8686-4647-ba12-ab3769018138 time="2026-09-17T09:50:00Z" msg="200 OK: GET https://127.0.0.1:33547/core/v4/labels?T" /client userID=d67e58dd-8686-4647-ba12-ab3769018138 time="2026-09-17T09:50:00Z" msg="200 OK: GET https://127.0.0.1:33547/core/v4/labels?T" /client userID=d67e58dd-8686-4647-ba12-ab3769018138 time="2026-09-17T09:50:00Z" msg="Setting labels" labelIDs="[8 0 5 9 10 12 1 2 3 4 6 7 85ddc7d9-5d6c-477b-92c8-d9cbc1ff384d]" time="2026-09-17T09:50:00Z" msg="Adding user to imap server" addrID=e628f031-401c-4197-819d-5e1e695daf5b time="2026-09-17T09:50:00Z" msg="Creating new IMAP user" addrID=e628f031-401c-4197-819d-5e1e695daf5b time="2026-09-17T09:50:00Z" msg="Setting gluon ID" addrID=e628f031-401c-4197-819d-5e1e695daf5b gluonID=ee2da9bd-959a-479e-9536-a785a265eac4 userID=d67e58dd-8686-4647-ba12-ab3769018138 time="2026-09-17T09:50:00Z" msg="Created new IMAP user" addrID=e628f031-401c-4197-819d-5e1e695daf5b gluonID=ee2da9bd-959a-479e-9536-a785a265eac4 time="2026-09-17T09:50:00Z" msg="Validating Listener State" time="2026-09-17T09:50:00Z" time="2026-09-17T09:50:00Z" msg="Received mailbox message count" gluonID=ee2da9bd-959a-479e-9536-a785a265eac4 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:50:00Z" msg="Checking whether logged in user should re-sync. UserID:d67e58dd-8686-4647-ba12-ab3769018138" userID=d67e58dd-8686-4647-ba12-ab3769018138 time="2026-09-17T09:50:00Z" msg="Starting IMAP Service" time="2026-09-17T09:50:00Z" msg="Sync triggered" time="2026-09-17T09:50:00Z" msg="Beginning user sync" start="2026-09-17 09:50:00.905288771 +0000 UTC m=+289.397591107" time="2026-09-17T09:50:00Z" msg="Syncing labels" time="2026-09-17T09:50:00Z" msg="Label not found in DB, creating mailbox." labelID=85ddc7d9-5d6c-477b-92c8-d9cbc1ff384d labelPath="jm2pV8GS7FVFPTesFaU5jW/EhDgcEQCxeWTMDFRvNjU=" numberOfC /labelConflictResolver time="2026-09-17T09:50:00Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=ee2da9bd-959a-479e-9536-a785a265eac4 time="2026-09-17T09:50:00Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=ee2da9bd-959a-479e-9536-a785a265eac4 time="2026-09-17T09:50:00Z" msg="Mailbox created" /user remoteMailboxID=6 userID=ee2da9bd-959a-479e-9536-a785a265eac4 time="2026-09-17T09:50:00Z" msg="Mailbox created" /user remoteMailboxID=85ddc7d9-5d6c-477b-92c8-d9cbc1ff384d userID=ee2da9bd-959a-479e-9536-a785a265eac4 time="2026-09-17T09:50:00Z" msg="Mailbox created" /user remoteMailboxID=8 userID=ee2da9bd-959a-479e-9536-a785a265eac4 time="2026-09-17T09:50:00Z" msg="Mailbox created" /user remoteMailboxID=5 userID=ee2da9bd-959a-479e-9536-a785a265eac4 time="2026-09-17T09:50:00Z" msg="Mailbox created" /user remoteMailboxID=10 userID=ee2da9bd-959a-479e-9536-a785a265eac4 time="2026-09-17T09:50:00Z" msg="Mailbox created" /user remoteMailboxID=12 userID=ee2da9bd-959a-479e-9536-a785a265eac4 time="2026-09-17T09:50:00Z" msg="Mailbox created" /user remoteMailboxID=4 userID=ee2da9bd-959a-479e-9536-a785a265eac4 time="2026-09-17T09:50:00Z" msg="Mailbox created" /user remoteMailboxID=7 userID=ee2da9bd-959a-479e-9536-a785a265eac4 time="2026-09-17T09:50:00Z" msg="Mailbox created" /user remoteMailboxID=0 userID=ee2da9bd-959a-479e-9536-a785a265eac4 time="2026-09-17T09:50:00Z" msg="Mailbox created" /user remoteMailboxID=3 userID=ee2da9bd-959a-479e-9536-a785a265eac4 time="2026-09-17T09:50:00Z" msg="Synced labels" time="2026-09-17T09:50:00Z" msg="200 OK: GET https://127.0.0.1:33547/mail/v4/messages/count" /client userID=d67e58dd-8686-4647-ba12-ab3769018138 time="2026-09-17T09:50:00Z" msg="Syncing messages" time="2026-09-17T09:50:00Z" msg="Job started" time="2026-09-17T09:50:00Z" msg="200 OK: POST https://127.0.0.1:33547/mail/v4/messages" /client userID=d67e58dd-8686-4647-ba12-ab3769018138 time="2026-09-17T09:50:00Z" msg="Job finished" time="2026-09-17T09:50:00Z" msg="All child jobs completed" sync- time="2026-09-17T09:50:00Z" msg="Synced messages" time="2026-09-17T09:50:00Z" msg="Finished user sync" .320366ms time="2026-09-17T09:50:00Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:50:00Z" msg="Event loop reset" eventID="AQ==" time="2026-09-17T09:50:00Z" msg="200 OK: POST https://127.0.0.1:33547/mail/v4/messages/import" /client userID=d67e58dd-8686-4647-ba12-ab3769018138 time="2026-09-17T09:50:00Z" msg="200 OK: GET https://127.0.0.1:33547/mail/v4/messages/ff55b96e-802d-4779-8206-b2206e1f5efa" /client userID=d67e58dd-8686-4647-ba12-ab3769018138 time="2026-09-17T09:50:00Z" msg="200 OK: POST https://127.0.0.1:33547/mail/v4/messages/import" /client userID=d67e58dd-8686-4647-ba12-ab3769018138 time="2026-09-17T09:50:00Z" msg="200 OK: GET https://127.0.0.1:33547/mail/v4/messages/9865ed40-131e-4c64-92af-6578855b540e" /client userID=d67e58dd-8686-4647-ba12-ab3769018138 time="2026-09-17T09:50:01Z" msg="200 OK: PUT https://127.0.0.1:33547/mail/v4/messages/label" /client userID=d67e58dd-8686-4647-ba12-ab3769018138 time="2026-09-17T09:50:01Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 0} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:50:01Z" msg="200 OK: PUT https://127.0.0.1:33547/mail/v4/messages/unlabel" /client userID=d67e58dd-8686-4647-ba12-ab3769018138 time="2026-09-17T09:50:01Z" msg="Frontend service stopped" time="2026-09-17T09:50:01Z" msg="Frontend client stopped" time="2026-09-17T09:50:01Z" msg="Closing bridge" time="2026-09-17T09:50:01Z" msg="Stopping service" time="2026-09-17T09:50:01Z" msg="Closing user" userID=d67e58dd-8686-4647-ba12-ab3769018138 time="2026-09-17T09:50:01Z" msg="De-registering user client, ID:d67e58dd-8686-4647-ba12-ab3769018138" time="2026-09-17T09:50:01Z" msg="Exiting IMAP Service" time="2026-09-17T09:50:01Z" msg="Exiting service main loop" time="2026-09-17T09:50:01Z" msg="Exiting service main loop" time="2026-09-17T09:50:01Z" msg="Exiting Service" time="2026-09-17T09:50:01Z" msg="Exiting service main loop" time="2026-09-17T09:50:01Z" msg="Exiting service" time="2026-09-17T09:50:01Z" msg="Closing IMAP Listener" time="2026-09-17T09:50:01Z" msg="Closing IMAP server" time="2026-09-17T09:50:01Z" msg="Closing SMTP Listener" time="2026-09-17T09:50:01Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:50:01Z" msg="Closing SMTP server" time="2026-09-17T09:50:01Z" msg="Closing service" | INBOX | Trash | DELETE APPEND EXPUNGE | time="2026-09-17T09:50:01Z" msg="User '0427bd34-2aa3-4759-87f3-114c2d6e472c' created with " /server/backend time="2026-09-17T09:50:02Z" msg="Starting bridge" time="2026-09-17T09:50:02Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/137/config813329718/grpcFocusServerConfig.json /service time="2026-09-17T09:50:02Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/137/cache3901547907/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:50:02Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/137/cache3901547907/notifications/notification_cache: no such file or directory" time="2026-09-17T09:50:02Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/137/data2511452623/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/137/data2511452623/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:50:02Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:50:02Z" msg="Starting IMAP server" time="2026-09-17T09:50:02Z" msg="Starting SMTP server" time="2026-09-17T09:50:02Z" msg="Starting service" time="2026-09-17T09:50:02Z" msg="Starting service" time="2026-09-17T09:50:02Z" msg="Starting poll service" time="2026-09-17T09:50:02Z" msg="Starting frontend service" time="2026-09-17T09:50:02Z" msg="Starting receiver service" time="2026-09-17T09:50:02Z" msg="Checking for updates" time="2026-09-17T09:50:02Z" msg="Loading users" /user time="2026-09-17T09:50:02Z" msg="Finished loading users" /user time="2026-09-17T09:50:02Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/137/config813329718/grpcServerConfig.json time="2026-09-17T09:50:02Z" msg="gRPC server listening on /tmp/bridge7599" time="2026-09-17T09:50:02Z" msg="Frontend service started" time="2026-09-17T09:50:02Z" msg="Starting frontend client" time="2026-09-17T09:50:02Z" msg="Not monitoring parent PID" time="2026-09-17T09:50:02Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:50:02Z" msg="200 OK: GET https://127.0.0.1:34847/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:50:02Z" msg="Frontend client started" time="2026-09-17T09:50:02Z" msg="Performing full user login" /user username="******** (8c4a6720)" time="2026-09-17T09:50:02Z" msg="Authorizing user for login" /user username="******** (8c4a6720)" time="2026-09-17T09:50:02Z" msg="200 OK: POST https://127.0.0.1:34847/auth/v4/info" /manager time="2026-09-17T09:50:03Z" msg="200 OK: POST https://127.0.0.1:34847/auth/v4" /manager time="2026-09-17T09:50:03Z" msg="Logging in authorized user" /user userID=bb13d931-2a98-4b0a-8a4c-3f79d4d6bf81 time="2026-09-17T09:50:03Z" msg="Adding vault user" userID=bb13d931-2a98-4b0a-8a4c-3f79d4d6bf81 time="2026-09-17T09:50:03Z" msg="Creating new user" userID=bb13d931-2a98-4b0a-8a4c-3f79d4d6bf81 time="2026-09-17T09:50:03Z" msg="404 GET https://127.0.0.1:34847/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:50:03Z" msg="404 GET https://127.0.0.1:34847/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:50:03Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:34847/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:50:03Z" msg="Creating user object" authUID=d7f76797-72fd-46fd-87ba-b456d297d64e numA numL userID=bb13d931-2a98-4b0a-8a4c-3f79d4d6bf81 time="2026-09-17T09:50:03Z" msg="200 OK: GET https://127.0.0.1:34847/core/v4/events/latest" /client userID=bb13d931-2a98-4b0a-8a4c-3f79d4d6bf81 time="2026-09-17T09:50:03Z" msg="Starting service Last EventID=AQ==" time="2026-09-17T09:50:03Z" msg="200 OK: GET https://127.0.0.1:34847/core/v4/settings" /client userID=bb13d931-2a98-4b0a-8a4c-3f79d4d6bf81 time="2026-09-17T09:50:03Z" msg="Registering user client, ID:bb13d931-2a98-4b0a-8a4c-3f79d4d6bf81" time="2026-09-17T09:50:03Z" msg="Starting service main loop" time="2026-09-17T09:50:03Z" msg="Starting user identity service" numA time="2026-09-17T09:50:03Z" msg="Starting service main loop" time="2026-09-17T09:50:03Z" msg="Starting service main loop" time="2026-09-17T09:50:03Z" msg="200 OK: GET https://127.0.0.1:34847/core/v4/labels?T" /client userID=bb13d931-2a98-4b0a-8a4c-3f79d4d6bf81 time="2026-09-17T09:50:03Z" msg="200 OK: GET https://127.0.0.1:34847/core/v4/labels?T" /client userID=bb13d931-2a98-4b0a-8a4c-3f79d4d6bf81 time="2026-09-17T09:50:03Z" msg="200 OK: GET https://127.0.0.1:34847/core/v4/labels?T" /client userID=bb13d931-2a98-4b0a-8a4c-3f79d4d6bf81 time="2026-09-17T09:50:03Z" msg="Setting labels" labelIDs="[0 1 2 3 4 5 7 8 6 9 10 12 e2712ef7-93b1-4235-a13d-61ce6504c8f9]" time="2026-09-17T09:50:03Z" msg="Adding user to imap server" addrID=5aecaccd-6835-440e-b312-ae07d098e4d2 time="2026-09-17T09:50:03Z" msg="Creating new IMAP user" addrID=5aecaccd-6835-440e-b312-ae07d098e4d2 time="2026-09-17T09:50:03Z" msg="Setting gluon ID" addrID=5aecaccd-6835-440e-b312-ae07d098e4d2 gluonID=be8d9f25-c3db-47ba-b97d-35c8c3ff2d24 userID=bb13d931-2a98-4b0a-8a4c-3f79d4d6bf81 time="2026-09-17T09:50:03Z" msg="Received mailbox message count" gluonID=be8d9f25-c3db-47ba-b97d-35c8c3ff2d24 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:50:03Z" msg="Created new IMAP user" addrID=5aecaccd-6835-440e-b312-ae07d098e4d2 gluonID=be8d9f25-c3db-47ba-b97d-35c8c3ff2d24 time="2026-09-17T09:50:03Z" msg="Validating Listener State" time="2026-09-17T09:50:03Z" time="2026-09-17T09:50:03Z" msg="Checking whether logged in user should re-sync. UserID:bb13d931-2a98-4b0a-8a4c-3f79d4d6bf81" userID=bb13d931-2a98-4b0a-8a4c-3f79d4d6bf81 time="2026-09-17T09:50:03Z" msg="Starting IMAP Service" time="2026-09-17T09:50:03Z" msg="Sync triggered" time="2026-09-17T09:50:03Z" msg="Beginning user sync" start="2026-09-17 09:50:03.109259533 +0000 UTC m=+291.601561869" time="2026-09-17T09:50:03Z" msg="Syncing labels" time="2026-09-17T09:50:03Z" msg="Label not found in DB, creating mailbox." labelID=e2712ef7-93b1-4235-a13d-61ce6504c8f9 labelPath="jm2pV8GS7FVFPTesFaU5jW/EhDgcEQCxeWTMDFRvNjU=" numberOfC /labelConflictResolver time="2026-09-17T09:50:03Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=be8d9f25-c3db-47ba-b97d-35c8c3ff2d24 time="2026-09-17T09:50:03Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=be8d9f25-c3db-47ba-b97d-35c8c3ff2d24 time="2026-09-17T09:50:03Z" msg="Mailbox created" /user remoteMailboxID=0 userID=be8d9f25-c3db-47ba-b97d-35c8c3ff2d24 time="2026-09-17T09:50:03Z" msg="Mailbox created" /user remoteMailboxID=3 userID=be8d9f25-c3db-47ba-b97d-35c8c3ff2d24 time="2026-09-17T09:50:03Z" msg="Mailbox created" /user remoteMailboxID=4 userID=be8d9f25-c3db-47ba-b97d-35c8c3ff2d24 time="2026-09-17T09:50:03Z" msg="Mailbox created" /user remoteMailboxID=5 userID=be8d9f25-c3db-47ba-b97d-35c8c3ff2d24 time="2026-09-17T09:50:03Z" msg="Mailbox created" /user remoteMailboxID=8 userID=be8d9f25-c3db-47ba-b97d-35c8c3ff2d24 time="2026-09-17T09:50:03Z" msg="Mailbox created" /user remoteMailboxID=12 userID=be8d9f25-c3db-47ba-b97d-35c8c3ff2d24 time="2026-09-17T09:50:03Z" msg="Mailbox created" /user remoteMailboxID=7 userID=be8d9f25-c3db-47ba-b97d-35c8c3ff2d24 time="2026-09-17T09:50:03Z" msg="Mailbox created" /user remoteMailboxID=6 userID=be8d9f25-c3db-47ba-b97d-35c8c3ff2d24 time="2026-09-17T09:50:03Z" msg="Mailbox created" /user remoteMailboxID=10 userID=be8d9f25-c3db-47ba-b97d-35c8c3ff2d24 time="2026-09-17T09:50:03Z" msg="Mailbox created" /user remoteMailboxID=e2712ef7-93b1-4235-a13d-61ce6504c8f9 userID=be8d9f25-c3db-47ba-b97d-35c8c3ff2d24 time="2026-09-17T09:50:03Z" msg="Synced labels" time="2026-09-17T09:50:03Z" msg="200 OK: GET https://127.0.0.1:34847/mail/v4/messages/count" /client userID=bb13d931-2a98-4b0a-8a4c-3f79d4d6bf81 time="2026-09-17T09:50:03Z" msg="Syncing messages" time="2026-09-17T09:50:03Z" msg="Job started" time="2026-09-17T09:50:03Z" msg="200 OK: POST https://127.0.0.1:34847/mail/v4/messages" /client userID=bb13d931-2a98-4b0a-8a4c-3f79d4d6bf81 time="2026-09-17T09:50:03Z" msg="Job finished" time="2026-09-17T09:50:03Z" msg="All child jobs completed" sync- time="2026-09-17T09:50:03Z" msg="Synced messages" time="2026-09-17T09:50:03Z" msg="Finished user sync" .079765ms time="2026-09-17T09:50:03Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:50:03Z" msg="Event loop reset" eventID="AQ==" time="2026-09-17T09:50:03Z" msg="200 OK: POST https://127.0.0.1:34847/mail/v4/messages/import" /client userID=bb13d931-2a98-4b0a-8a4c-3f79d4d6bf81 time="2026-09-17T09:50:03Z" msg="200 OK: GET https://127.0.0.1:34847/mail/v4/messages/0c64adea-2595-4437-a6d5-4af05d901d7e" /client userID=bb13d931-2a98-4b0a-8a4c-3f79d4d6bf81 time="2026-09-17T09:50:03Z" msg="200 OK: POST https://127.0.0.1:34847/mail/v4/messages/import" /client userID=bb13d931-2a98-4b0a-8a4c-3f79d4d6bf81 time="2026-09-17T09:50:03Z" msg="200 OK: GET https://127.0.0.1:34847/mail/v4/messages/d618c0b0-ceb4-4c77-b6ba-7a0ba4556e8e" /client userID=bb13d931-2a98-4b0a-8a4c-3f79d4d6bf81 time="2026-09-17T09:50:03Z" msg="200 OK: PUT https://127.0.0.1:34847/mail/v4/messages/unlabel" /client userID=bb13d931-2a98-4b0a-8a4c-3f79d4d6bf81 time="2026-09-17T09:50:03Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 4} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:50:03Z" msg="200 OK: PUT https://127.0.0.1:34847/mail/v4/messages/label" /client userID=bb13d931-2a98-4b0a-8a4c-3f79d4d6bf81 time="2026-09-17T09:50:03Z" msg="Frontend service stopped" time="2026-09-17T09:50:03Z" msg="Frontend client stopped" time="2026-09-17T09:50:03Z" msg="Closing bridge" time="2026-09-17T09:50:03Z" msg="Stopping service" time="2026-09-17T09:50:03Z" msg="Closing user" userID=bb13d931-2a98-4b0a-8a4c-3f79d4d6bf81 time="2026-09-17T09:50:03Z" msg="De-registering user client, ID:bb13d931-2a98-4b0a-8a4c-3f79d4d6bf81" time="2026-09-17T09:50:03Z" msg="Exiting IMAP Service" time="2026-09-17T09:50:03Z" msg="Exiting service main loop" time="2026-09-17T09:50:03Z" msg="Exiting service main loop" time="2026-09-17T09:50:03Z" msg="Exiting Service" time="2026-09-17T09:50:03Z" msg="Exiting service main loop" time="2026-09-17T09:50:03Z" msg="Exiting service" time="2026-09-17T09:50:03Z" msg="Closing IMAP Listener" time="2026-09-17T09:50:03Z" msg="Closing IMAP server" time="2026-09-17T09:50:03Z" msg="Closing SMTP Listener" time="2026-09-17T09:50:03Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:50:03Z" msg="Closing SMTP server" time="2026-09-17T09:50:03Z" msg="Closing service" | Spam | INBOX | DELETE EXPUNGE APPEND | time="2026-09-17T09:50:04Z" msg="User '7277c460-20f0-45c3-971b-5f7ee315bf6c' created with " /server/backend time="2026-09-17T09:50:04Z" msg="Starting bridge" time="2026-09-17T09:50:04Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/138/config4244190717/grpcFocusServerConfig.json /service time="2026-09-17T09:50:04Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/138/cache2987081848/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:50:04Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/138/cache2987081848/notifications/notification_cache: no such file or directory" time="2026-09-17T09:50:04Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/138/data1768828113/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/138/data1768828113/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:50:04Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:50:04Z" msg="Starting IMAP server" time="2026-09-17T09:50:04Z" msg="Starting SMTP server" time="2026-09-17T09:50:04Z" msg="Starting service" time="2026-09-17T09:50:04Z" msg="Starting service" time="2026-09-17T09:50:04Z" msg="Starting poll service" time="2026-09-17T09:50:04Z" msg="Checking for updates" time="2026-09-17T09:50:04Z" msg="Loading users" /user time="2026-09-17T09:50:04Z" msg="Starting receiver service" time="2026-09-17T09:50:04Z" msg="Finished loading users" /user time="2026-09-17T09:50:04Z" msg="Starting frontend service" time="2026-09-17T09:50:04Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/138/config4244190717/grpcServerConfig.json time="2026-09-17T09:50:04Z" msg="gRPC server listening on /tmp/bridge0030" time="2026-09-17T09:50:04Z" msg="Frontend service started" time="2026-09-17T09:50:04Z" msg="Starting frontend client" time="2026-09-17T09:50:04Z" msg="Not monitoring parent PID" time="2026-09-17T09:50:04Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:50:04Z" msg="200 OK: GET https://127.0.0.1:41553/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:50:04Z" msg="Frontend client started" time="2026-09-17T09:50:04Z" msg="Performing full user login" /user username="******** (e94134fa)" time="2026-09-17T09:50:04Z" msg="Authorizing user for login" /user username="******** (e94134fa)" time="2026-09-17T09:50:04Z" msg="200 OK: POST https://127.0.0.1:41553/auth/v4/info" /manager time="2026-09-17T09:50:05Z" msg="200 OK: POST https://127.0.0.1:41553/auth/v4" /manager time="2026-09-17T09:50:05Z" msg="Logging in authorized user" /user userID=a37209e5-b127-4758-aed1-86845bf45698 time="2026-09-17T09:50:05Z" msg="Adding vault user" userID=a37209e5-b127-4758-aed1-86845bf45698 time="2026-09-17T09:50:05Z" msg="Creating new user" userID=a37209e5-b127-4758-aed1-86845bf45698 time="2026-09-17T09:50:05Z" msg="404 GET https://127.0.0.1:41553/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:50:05Z" msg="404 GET https://127.0.0.1:41553/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:50:05Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:41553/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:50:05Z" msg="Creating user object" authUID=e5d6f3da-40bd-4a7c-8f26-b7c060d69585 numA numL userID=a37209e5-b127-4758-aed1-86845bf45698 time="2026-09-17T09:50:05Z" msg="200 OK: GET https://127.0.0.1:41553/core/v4/events/latest" /client userID=a37209e5-b127-4758-aed1-86845bf45698 time="2026-09-17T09:50:05Z" msg="Starting service Last EventID=AQ==" time="2026-09-17T09:50:05Z" msg="200 OK: GET https://127.0.0.1:41553/core/v4/settings" /client userID=a37209e5-b127-4758-aed1-86845bf45698 time="2026-09-17T09:50:05Z" msg="Registering user client, ID:a37209e5-b127-4758-aed1-86845bf45698" time="2026-09-17T09:50:05Z" msg="Starting service main loop" time="2026-09-17T09:50:05Z" msg="Starting user identity service" numA time="2026-09-17T09:50:05Z" msg="Starting service main loop" time="2026-09-17T09:50:05Z" msg="Starting service main loop" time="2026-09-17T09:50:05Z" msg="200 OK: GET https://127.0.0.1:41553/core/v4/labels?T" /client userID=a37209e5-b127-4758-aed1-86845bf45698 time="2026-09-17T09:50:05Z" msg="200 OK: GET https://127.0.0.1:41553/core/v4/labels?T" /client userID=a37209e5-b127-4758-aed1-86845bf45698 time="2026-09-17T09:50:05Z" msg="200 OK: GET https://127.0.0.1:41553/core/v4/labels?T" /client userID=a37209e5-b127-4758-aed1-86845bf45698 time="2026-09-17T09:50:05Z" msg="Setting labels" labelIDs="[0 2 3 4 6 9 10 12 1 5 7 8 1dfc36c8-e23a-4de6-9f20-d6295618add4]" time="2026-09-17T09:50:05Z" msg="Adding user to imap server" addrID=f72510cf-314e-4516-9230-738560618eee time="2026-09-17T09:50:05Z" msg="Creating new IMAP user" addrID=f72510cf-314e-4516-9230-738560618eee time="2026-09-17T09:50:05Z" msg="Setting gluon ID" addrID=f72510cf-314e-4516-9230-738560618eee gluonID=71d69b5a-7b80-4269-9aa5-5781c5149b6c userID=a37209e5-b127-4758-aed1-86845bf45698 time="2026-09-17T09:50:05Z" msg="Received mailbox message count" gluonID=71d69b5a-7b80-4269-9aa5-5781c5149b6c labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:50:05Z" msg="Created new IMAP user" addrID=f72510cf-314e-4516-9230-738560618eee gluonID=71d69b5a-7b80-4269-9aa5-5781c5149b6c time="2026-09-17T09:50:05Z" msg="Validating Listener State" time="2026-09-17T09:50:05Z" time="2026-09-17T09:50:05Z" msg="Starting IMAP Service" time="2026-09-17T09:50:05Z" msg="Sync triggered" time="2026-09-17T09:50:05Z" msg="Beginning user sync" start="2026-09-17 09:50:05.309271999 +0000 UTC m=+293.801574335" time="2026-09-17T09:50:05Z" msg="Checking whether logged in user should re-sync. UserID:a37209e5-b127-4758-aed1-86845bf45698" userID=a37209e5-b127-4758-aed1-86845bf45698 time="2026-09-17T09:50:05Z" msg="Syncing labels" time="2026-09-17T09:50:05Z" msg="Label not found in DB, creating mailbox." labelID=1dfc36c8-e23a-4de6-9f20-d6295618add4 labelPath="jm2pV8GS7FVFPTesFaU5jW/EhDgcEQCxeWTMDFRvNjU=" numberOfC /labelConflictResolver time="2026-09-17T09:50:05Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=71d69b5a-7b80-4269-9aa5-5781c5149b6c time="2026-09-17T09:50:05Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=71d69b5a-7b80-4269-9aa5-5781c5149b6c time="2026-09-17T09:50:05Z" msg="Mailbox created" /user remoteMailboxID=10 userID=71d69b5a-7b80-4269-9aa5-5781c5149b6c time="2026-09-17T09:50:05Z" msg="Mailbox created" /user remoteMailboxID=12 userID=71d69b5a-7b80-4269-9aa5-5781c5149b6c time="2026-09-17T09:50:05Z" msg="Mailbox created" /user remoteMailboxID=5 userID=71d69b5a-7b80-4269-9aa5-5781c5149b6c time="2026-09-17T09:50:05Z" msg="Mailbox created" /user remoteMailboxID=0 userID=71d69b5a-7b80-4269-9aa5-5781c5149b6c time="2026-09-17T09:50:05Z" msg="Mailbox created" /user remoteMailboxID=7 userID=71d69b5a-7b80-4269-9aa5-5781c5149b6c time="2026-09-17T09:50:05Z" msg="Mailbox created" /user remoteMailboxID=8 userID=71d69b5a-7b80-4269-9aa5-5781c5149b6c time="2026-09-17T09:50:05Z" msg="Mailbox created" /user remoteMailboxID=1dfc36c8-e23a-4de6-9f20-d6295618add4 userID=71d69b5a-7b80-4269-9aa5-5781c5149b6c time="2026-09-17T09:50:05Z" msg="Mailbox created" /user remoteMailboxID=3 userID=71d69b5a-7b80-4269-9aa5-5781c5149b6c time="2026-09-17T09:50:05Z" msg="Mailbox created" /user remoteMailboxID=4 userID=71d69b5a-7b80-4269-9aa5-5781c5149b6c time="2026-09-17T09:50:05Z" msg="Mailbox created" /user remoteMailboxID=6 userID=71d69b5a-7b80-4269-9aa5-5781c5149b6c time="2026-09-17T09:50:05Z" msg="Synced labels" time="2026-09-17T09:50:05Z" msg="200 OK: GET https://127.0.0.1:41553/mail/v4/messages/count" /client userID=a37209e5-b127-4758-aed1-86845bf45698 time="2026-09-17T09:50:05Z" msg="Syncing messages" time="2026-09-17T09:50:05Z" msg="Job started" time="2026-09-17T09:50:05Z" msg="200 OK: POST https://127.0.0.1:41553/mail/v4/messages" /client userID=a37209e5-b127-4758-aed1-86845bf45698 time="2026-09-17T09:50:05Z" msg="Job finished" time="2026-09-17T09:50:05Z" msg="All child jobs completed" sync- time="2026-09-17T09:50:05Z" msg="Synced messages" time="2026-09-17T09:50:05Z" msg="Finished user sync" .551077ms time="2026-09-17T09:50:05Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:50:05Z" msg="Event loop reset" eventID="AQ==" time="2026-09-17T09:50:05Z" msg="200 OK: POST https://127.0.0.1:41553/mail/v4/messages/import" /client userID=a37209e5-b127-4758-aed1-86845bf45698 time="2026-09-17T09:50:05Z" msg="200 OK: GET https://127.0.0.1:41553/mail/v4/messages/4b2d78e4-a925-42f0-ab50-e4af70dfa6b3" /client userID=a37209e5-b127-4758-aed1-86845bf45698 time="2026-09-17T09:50:05Z" msg="200 OK: POST https://127.0.0.1:41553/mail/v4/messages/import" /client userID=a37209e5-b127-4758-aed1-86845bf45698 time="2026-09-17T09:50:05Z" msg="200 OK: GET https://127.0.0.1:41553/mail/v4/messages/bd9d78e1-a094-4ca8-a890-6c7500651243" /client userID=a37209e5-b127-4758-aed1-86845bf45698 time="2026-09-17T09:50:05Z" msg="200 OK: PUT https://127.0.0.1:41553/mail/v4/messages/unlabel" /client userID=a37209e5-b127-4758-aed1-86845bf45698 time="2026-09-17T09:50:05Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 7} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:50:05Z" msg="200 OK: PUT https://127.0.0.1:41553/mail/v4/messages/label" /client userID=a37209e5-b127-4758-aed1-86845bf45698 time="2026-09-17T09:50:06Z" msg="Frontend service stopped" time="2026-09-17T09:50:06Z" msg="Frontend client stopped" time="2026-09-17T09:50:06Z" msg="Closing bridge" time="2026-09-17T09:50:06Z" msg="Stopping service" time="2026-09-17T09:50:06Z" msg="Closing user" userID=a37209e5-b127-4758-aed1-86845bf45698 time="2026-09-17T09:50:06Z" msg="De-registering user client, ID:a37209e5-b127-4758-aed1-86845bf45698" time="2026-09-17T09:50:06Z" msg="Exiting IMAP Service" time="2026-09-17T09:50:06Z" msg="Exiting service main loop" time="2026-09-17T09:50:06Z" msg="Exiting service main loop" time="2026-09-17T09:50:06Z" msg="Exiting Service" time="2026-09-17T09:50:06Z" msg="Exiting service main loop" time="2026-09-17T09:50:06Z" msg="Exiting service" time="2026-09-17T09:50:06Z" msg="Closing IMAP Listener" time="2026-09-17T09:50:06Z" msg="Closing IMAP server" time="2026-09-17T09:50:06Z" msg="Closing SMTP Listener" time="2026-09-17T09:50:06Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:50:06Z" msg="Closing SMTP server" time="2026-09-17T09:50:06Z" msg="Closing service" | INBOX | Archive | DELETE EXPUNGE APPEND | time="2026-09-17T09:50:06Z" msg="User '9fd0d708-b093-4c61-9987-097154eb9e5b' created with " /server/backend time="2026-09-17T09:50:07Z" msg="Starting bridge" time="2026-09-17T09:50:07Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/139/config4286163704/grpcFocusServerConfig.json /service time="2026-09-17T09:50:07Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/139/cache2906114246/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:50:07Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/139/cache2906114246/notifications/notification_cache: no such file or directory" time="2026-09-17T09:50:07Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/139/data4007970441/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/139/data4007970441/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:50:07Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:50:07Z" msg="Starting IMAP server" time="2026-09-17T09:50:07Z" msg="Starting SMTP server" time="2026-09-17T09:50:07Z" msg="Starting service" time="2026-09-17T09:50:07Z" msg="Starting service" time="2026-09-17T09:50:07Z" msg="Starting frontend service" time="2026-09-17T09:50:07Z" msg="Starting poll service" time="2026-09-17T09:50:07Z" msg="Loading users" /user time="2026-09-17T09:50:07Z" msg="Finished loading users" /user time="2026-09-17T09:50:07Z" msg="Checking for updates" time="2026-09-17T09:50:07Z" msg="Starting receiver service" time="2026-09-17T09:50:07Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/139/config4286163704/grpcServerConfig.json time="2026-09-17T09:50:07Z" msg="gRPC server listening on /tmp/bridge4710" time="2026-09-17T09:50:07Z" msg="Frontend service started" time="2026-09-17T09:50:07Z" msg="Starting frontend client" time="2026-09-17T09:50:07Z" msg="Not monitoring parent PID" time="2026-09-17T09:50:07Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:50:07Z" msg="200 OK: GET https://127.0.0.1:33943/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:50:07Z" msg="Frontend client started" time="2026-09-17T09:50:07Z" msg="Performing full user login" /user username="******** (e4fe82cc)" time="2026-09-17T09:50:07Z" msg="Authorizing user for login" /user username="******** (e4fe82cc)" time="2026-09-17T09:50:07Z" msg="200 OK: POST https://127.0.0.1:33943/auth/v4/info" /manager time="2026-09-17T09:50:07Z" msg="200 OK: POST https://127.0.0.1:33943/auth/v4" /manager time="2026-09-17T09:50:07Z" msg="Logging in authorized user" /user userID=004ef879-f68f-4645-a3f6-0dd8e1e66a82 time="2026-09-17T09:50:07Z" msg="Adding vault user" userID=004ef879-f68f-4645-a3f6-0dd8e1e66a82 time="2026-09-17T09:50:07Z" msg="Creating new user" userID=004ef879-f68f-4645-a3f6-0dd8e1e66a82 time="2026-09-17T09:50:07Z" msg="404 GET https://127.0.0.1:33943/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:50:07Z" msg="404 GET https://127.0.0.1:33943/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:50:07Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:33943/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:50:07Z" msg="Creating user object" authUID=10db2ca2-fbec-4f5c-9750-e8b84ff83d52 numA numL userID=004ef879-f68f-4645-a3f6-0dd8e1e66a82 time="2026-09-17T09:50:07Z" msg="200 OK: GET https://127.0.0.1:33943/core/v4/events/latest" /client userID=004ef879-f68f-4645-a3f6-0dd8e1e66a82 time="2026-09-17T09:50:07Z" msg="Starting service Last EventID=AQ==" time="2026-09-17T09:50:07Z" msg="200 OK: GET https://127.0.0.1:33943/core/v4/settings" /client userID=004ef879-f68f-4645-a3f6-0dd8e1e66a82 time="2026-09-17T09:50:07Z" msg="Registering user client, ID:004ef879-f68f-4645-a3f6-0dd8e1e66a82" time="2026-09-17T09:50:07Z" msg="Starting service main loop" time="2026-09-17T09:50:07Z" msg="Starting user identity service" numA time="2026-09-17T09:50:07Z" msg="Starting service main loop" time="2026-09-17T09:50:07Z" msg="Starting service main loop" time="2026-09-17T09:50:07Z" msg="200 OK: GET https://127.0.0.1:33943/core/v4/labels?T" /client userID=004ef879-f68f-4645-a3f6-0dd8e1e66a82 time="2026-09-17T09:50:07Z" msg="200 OK: GET https://127.0.0.1:33943/core/v4/labels?T" /client userID=004ef879-f68f-4645-a3f6-0dd8e1e66a82 time="2026-09-17T09:50:07Z" msg="200 OK: GET https://127.0.0.1:33943/core/v4/labels?T" /client userID=004ef879-f68f-4645-a3f6-0dd8e1e66a82 time="2026-09-17T09:50:07Z" msg="Setting labels" labelIDs="[10 12 0 1 3 4 5 6 7 8 2 9 e69b884c-a7fd-4ddc-99f0-e6e13fa17b3f]" time="2026-09-17T09:50:07Z" msg="Adding user to imap server" addrID=174b48c1-0605-4679-936b-a1f021863bf9 time="2026-09-17T09:50:07Z" msg="Creating new IMAP user" addrID=174b48c1-0605-4679-936b-a1f021863bf9 time="2026-09-17T09:50:07Z" msg="Setting gluon ID" addrID=174b48c1-0605-4679-936b-a1f021863bf9 gluonID=17cbd663-01fd-4626-ab70-9f782398ccc1 userID=004ef879-f68f-4645-a3f6-0dd8e1e66a82 time="2026-09-17T09:50:07Z" msg="Received mailbox message count" gluonID=17cbd663-01fd-4626-ab70-9f782398ccc1 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:50:07Z" msg="Created new IMAP user" addrID=174b48c1-0605-4679-936b-a1f021863bf9 gluonID=17cbd663-01fd-4626-ab70-9f782398ccc1 time="2026-09-17T09:50:07Z" msg="Validating Listener State" time="2026-09-17T09:50:07Z" time="2026-09-17T09:50:07Z" msg="Starting IMAP Service" time="2026-09-17T09:50:07Z" msg="Checking whether logged in user should re-sync. UserID:004ef879-f68f-4645-a3f6-0dd8e1e66a82" userID=004ef879-f68f-4645-a3f6-0dd8e1e66a82 time="2026-09-17T09:50:07Z" msg="Sync triggered" time="2026-09-17T09:50:07Z" msg="Beginning user sync" start="2026-09-17 09:50:07.509710147 +0000 UTC m=+296.002012443" time="2026-09-17T09:50:07Z" msg="Syncing labels" time="2026-09-17T09:50:07Z" msg="Label not found in DB, creating mailbox." labelID=e69b884c-a7fd-4ddc-99f0-e6e13fa17b3f labelPath="jm2pV8GS7FVFPTesFaU5jW/EhDgcEQCxeWTMDFRvNjU=" numberOfC /labelConflictResolver time="2026-09-17T09:50:07Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=17cbd663-01fd-4626-ab70-9f782398ccc1 time="2026-09-17T09:50:07Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=17cbd663-01fd-4626-ab70-9f782398ccc1 time="2026-09-17T09:50:07Z" msg="Mailbox created" /user remoteMailboxID=6 userID=17cbd663-01fd-4626-ab70-9f782398ccc1 time="2026-09-17T09:50:07Z" msg="Mailbox created" /user remoteMailboxID=8 userID=17cbd663-01fd-4626-ab70-9f782398ccc1 time="2026-09-17T09:50:07Z" msg="Mailbox created" /user remoteMailboxID=10 userID=17cbd663-01fd-4626-ab70-9f782398ccc1 time="2026-09-17T09:50:07Z" msg="Mailbox created" /user remoteMailboxID=3 userID=17cbd663-01fd-4626-ab70-9f782398ccc1 time="2026-09-17T09:50:07Z" msg="Mailbox created" /user remoteMailboxID=4 userID=17cbd663-01fd-4626-ab70-9f782398ccc1 time="2026-09-17T09:50:07Z" msg="Mailbox created" /user remoteMailboxID=7 userID=17cbd663-01fd-4626-ab70-9f782398ccc1 time="2026-09-17T09:50:07Z" msg="Mailbox created" /user remoteMailboxID=e69b884c-a7fd-4ddc-99f0-e6e13fa17b3f userID=17cbd663-01fd-4626-ab70-9f782398ccc1 time="2026-09-17T09:50:07Z" msg="Mailbox created" /user remoteMailboxID=12 userID=17cbd663-01fd-4626-ab70-9f782398ccc1 time="2026-09-17T09:50:07Z" msg="Mailbox created" /user remoteMailboxID=0 userID=17cbd663-01fd-4626-ab70-9f782398ccc1 time="2026-09-17T09:50:07Z" msg="Mailbox created" /user remoteMailboxID=5 userID=17cbd663-01fd-4626-ab70-9f782398ccc1 time="2026-09-17T09:50:07Z" msg="Synced labels" time="2026-09-17T09:50:07Z" msg="200 OK: GET https://127.0.0.1:33943/mail/v4/messages/count" /client userID=004ef879-f68f-4645-a3f6-0dd8e1e66a82 time="2026-09-17T09:50:07Z" msg="Syncing messages" time="2026-09-17T09:50:07Z" msg="Job started" time="2026-09-17T09:50:07Z" msg="200 OK: POST https://127.0.0.1:33943/mail/v4/messages" /client userID=004ef879-f68f-4645-a3f6-0dd8e1e66a82 time="2026-09-17T09:50:07Z" msg="Job finished" time="2026-09-17T09:50:07Z" msg="All child jobs completed" sync- time="2026-09-17T09:50:07Z" msg="Synced messages" time="2026-09-17T09:50:07Z" msg="Finished user sync" .817203ms time="2026-09-17T09:50:07Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:50:07Z" msg="Event loop reset" eventID="AQ==" time="2026-09-17T09:50:07Z" msg="200 OK: POST https://127.0.0.1:33943/mail/v4/messages/import" /client userID=004ef879-f68f-4645-a3f6-0dd8e1e66a82 time="2026-09-17T09:50:07Z" msg="200 OK: GET https://127.0.0.1:33943/mail/v4/messages/530c8d7e-c231-42c5-8168-6e36d081bb6b" /client userID=004ef879-f68f-4645-a3f6-0dd8e1e66a82 time="2026-09-17T09:50:07Z" msg="200 OK: POST https://127.0.0.1:33943/mail/v4/messages/import" /client userID=004ef879-f68f-4645-a3f6-0dd8e1e66a82 time="2026-09-17T09:50:07Z" msg="200 OK: GET https://127.0.0.1:33943/mail/v4/messages/7688dd78-a001-4895-9768-de56e9c16a47" /client userID=004ef879-f68f-4645-a3f6-0dd8e1e66a82 time="2026-09-17T09:50:07Z" msg="200 OK: PUT https://127.0.0.1:33943/mail/v4/messages/unlabel" /client userID=004ef879-f68f-4645-a3f6-0dd8e1e66a82 time="2026-09-17T09:50:07Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 8} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:50:07Z" msg="200 OK: PUT https://127.0.0.1:33943/mail/v4/messages/label" /client userID=004ef879-f68f-4645-a3f6-0dd8e1e66a82 time="2026-09-17T09:50:08Z" msg="Frontend service stopped" time="2026-09-17T09:50:08Z" msg="Frontend client stopped" time="2026-09-17T09:50:08Z" msg="Closing bridge" time="2026-09-17T09:50:08Z" msg="Stopping service" time="2026-09-17T09:50:08Z" msg="Closing user" userID=004ef879-f68f-4645-a3f6-0dd8e1e66a82 time="2026-09-17T09:50:08Z" msg="De-registering user client, ID:004ef879-f68f-4645-a3f6-0dd8e1e66a82" time="2026-09-17T09:50:08Z" msg="Exiting IMAP Service" time="2026-09-17T09:50:08Z" msg="Exiting service main loop" time="2026-09-17T09:50:08Z" msg="Exiting service main loop" time="2026-09-17T09:50:08Z" msg="Exiting Service" time="2026-09-17T09:50:08Z" msg="Exiting service main loop" time="2026-09-17T09:50:08Z" msg="Exiting service" time="2026-09-17T09:50:08Z" msg="Closing IMAP Listener" time="2026-09-17T09:50:08Z" msg="Closing IMAP server" time="2026-09-17T09:50:08Z" msg="Closing SMTP Listener" time="2026-09-17T09:50:08Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:50:08Z" msg="Closing SMTP server" time="2026-09-17T09:50:08Z" msg="Closing service" | INBOX | Folders/mbox | DELETE EXPUNGE APPEND | time="2026-09-17T09:50:08Z" msg="User '364b7d37-2cc1-4db1-9314-746e0625e4b4' created with " /server/backend time="2026-09-17T09:50:09Z" msg="Starting bridge" time="2026-09-17T09:50:09Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/140/config424206727/grpcFocusServerConfig.json /service time="2026-09-17T09:50:09Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/140/cache3491972061/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:50:09Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/140/cache3491972061/notifications/notification_cache: no such file or directory" time="2026-09-17T09:50:09Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/140/data1502347787/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/140/data1502347787/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:50:09Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:50:09Z" msg="Starting IMAP server" time="2026-09-17T09:50:09Z" msg="Starting SMTP server" time="2026-09-17T09:50:09Z" msg="Starting service" time="2026-09-17T09:50:09Z" msg="Starting service" time="2026-09-17T09:50:09Z" msg="Starting poll service" time="2026-09-17T09:50:09Z" msg="Checking for updates" time="2026-09-17T09:50:09Z" msg="Loading users" /user time="2026-09-17T09:50:09Z" msg="Starting receiver service" time="2026-09-17T09:50:09Z" msg="Finished loading users" /user time="2026-09-17T09:50:09Z" msg="Starting frontend service" time="2026-09-17T09:50:09Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/140/config424206727/grpcServerConfig.json time="2026-09-17T09:50:09Z" msg="gRPC server listening on /tmp/bridge2866" time="2026-09-17T09:50:09Z" msg="Frontend service started" time="2026-09-17T09:50:09Z" msg="Starting frontend client" time="2026-09-17T09:50:09Z" msg="Not monitoring parent PID" time="2026-09-17T09:50:09Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:50:09Z" msg="Frontend client started" time="2026-09-17T09:50:09Z" msg="Performing full user login" /user username="******** (93294de6)" time="2026-09-17T09:50:09Z" msg="Authorizing user for login" /user username="******** (93294de6)" time="2026-09-17T09:50:09Z" msg="200 OK: GET https://127.0.0.1:44037/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:50:09Z" msg="200 OK: POST https://127.0.0.1:44037/auth/v4/info" /manager time="2026-09-17T09:50:09Z" msg="200 OK: POST https://127.0.0.1:44037/auth/v4" /manager time="2026-09-17T09:50:09Z" msg="Logging in authorized user" /user userID=7567b571-6e54-4e66-8bc9-5809d7ca6119 time="2026-09-17T09:50:09Z" msg="Adding vault user" userID=7567b571-6e54-4e66-8bc9-5809d7ca6119 time="2026-09-17T09:50:09Z" msg="Creating new user" userID=7567b571-6e54-4e66-8bc9-5809d7ca6119 time="2026-09-17T09:50:09Z" msg="404 GET https://127.0.0.1:44037/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:50:09Z" msg="404 GET https://127.0.0.1:44037/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:50:09Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:44037/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:50:09Z" msg="Creating user object" authUID=27380069-0a4e-4634-8cd7-d41d78504968 numA numL userID=7567b571-6e54-4e66-8bc9-5809d7ca6119 time="2026-09-17T09:50:09Z" msg="200 OK: GET https://127.0.0.1:44037/core/v4/events/latest" /client userID=7567b571-6e54-4e66-8bc9-5809d7ca6119 time="2026-09-17T09:50:09Z" msg="Starting service Last EventID=AQ==" time="2026-09-17T09:50:09Z" msg="200 OK: GET https://127.0.0.1:44037/core/v4/settings" /client userID=7567b571-6e54-4e66-8bc9-5809d7ca6119 time="2026-09-17T09:50:09Z" msg="Registering user client, ID:7567b571-6e54-4e66-8bc9-5809d7ca6119" time="2026-09-17T09:50:09Z" msg="Starting service main loop" time="2026-09-17T09:50:09Z" msg="Starting user identity service" numA time="2026-09-17T09:50:09Z" msg="Starting service main loop" time="2026-09-17T09:50:09Z" msg="Starting service main loop" time="2026-09-17T09:50:09Z" msg="200 OK: GET https://127.0.0.1:44037/core/v4/labels?T" /client userID=7567b571-6e54-4e66-8bc9-5809d7ca6119 time="2026-09-17T09:50:09Z" msg="200 OK: GET https://127.0.0.1:44037/core/v4/labels?T" /client userID=7567b571-6e54-4e66-8bc9-5809d7ca6119 time="2026-09-17T09:50:09Z" msg="200 OK: GET https://127.0.0.1:44037/core/v4/labels?T" /client userID=7567b571-6e54-4e66-8bc9-5809d7ca6119 time="2026-09-17T09:50:09Z" msg="Setting labels" labelIDs="[0 1 7 10 2 3 4 5 6 8 9 12 855ba9bc-f9a1-4d62-96dd-0e7b261b34d8]" time="2026-09-17T09:50:09Z" msg="Adding user to imap server" addrID=234b3892-94d8-4432-80c7-587985e519bc time="2026-09-17T09:50:09Z" msg="Creating new IMAP user" addrID=234b3892-94d8-4432-80c7-587985e519bc time="2026-09-17T09:50:09Z" msg="Setting gluon ID" addrID=234b3892-94d8-4432-80c7-587985e519bc gluonID=b87422fd-b130-4c04-80da-daded7903c8b userID=7567b571-6e54-4e66-8bc9-5809d7ca6119 time="2026-09-17T09:50:09Z" msg="Received mailbox message count" gluonID=b87422fd-b130-4c04-80da-daded7903c8b labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:50:09Z" msg="Created new IMAP user" addrID=234b3892-94d8-4432-80c7-587985e519bc gluonID=b87422fd-b130-4c04-80da-daded7903c8b time="2026-09-17T09:50:09Z" msg="Validating Listener State" time="2026-09-17T09:50:09Z" time="2026-09-17T09:50:09Z" msg="Checking whether logged in user should re-sync. UserID:7567b571-6e54-4e66-8bc9-5809d7ca6119" userID=7567b571-6e54-4e66-8bc9-5809d7ca6119 time="2026-09-17T09:50:09Z" msg="Starting IMAP Service" time="2026-09-17T09:50:09Z" msg="Sync triggered" time="2026-09-17T09:50:09Z" msg="Beginning user sync" start="2026-09-17 09:50:09.725511444 +0000 UTC m=+298.217813780" time="2026-09-17T09:50:09Z" msg="Syncing labels" time="2026-09-17T09:50:09Z" msg="Label not found in DB, creating mailbox." labelID=855ba9bc-f9a1-4d62-96dd-0e7b261b34d8 labelPath="jm2pV8GS7FVFPTesFaU5jW/EhDgcEQCxeWTMDFRvNjU=" numberOfC /labelConflictResolver time="2026-09-17T09:50:09Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=b87422fd-b130-4c04-80da-daded7903c8b time="2026-09-17T09:50:09Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=b87422fd-b130-4c04-80da-daded7903c8b time="2026-09-17T09:50:09Z" msg="Mailbox created" /user remoteMailboxID=0 userID=b87422fd-b130-4c04-80da-daded7903c8b time="2026-09-17T09:50:09Z" msg="Mailbox created" /user remoteMailboxID=7 userID=b87422fd-b130-4c04-80da-daded7903c8b time="2026-09-17T09:50:09Z" msg="Mailbox created" /user remoteMailboxID=10 userID=b87422fd-b130-4c04-80da-daded7903c8b time="2026-09-17T09:50:09Z" msg="Mailbox created" /user remoteMailboxID=3 userID=b87422fd-b130-4c04-80da-daded7903c8b time="2026-09-17T09:50:09Z" msg="Mailbox created" /user remoteMailboxID=4 userID=b87422fd-b130-4c04-80da-daded7903c8b time="2026-09-17T09:50:09Z" msg="Mailbox created" /user remoteMailboxID=6 userID=b87422fd-b130-4c04-80da-daded7903c8b time="2026-09-17T09:50:09Z" msg="Mailbox created" /user remoteMailboxID=8 userID=b87422fd-b130-4c04-80da-daded7903c8b time="2026-09-17T09:50:09Z" msg="Mailbox created" /user remoteMailboxID=855ba9bc-f9a1-4d62-96dd-0e7b261b34d8 userID=b87422fd-b130-4c04-80da-daded7903c8b time="2026-09-17T09:50:09Z" msg="Mailbox created" /user remoteMailboxID=5 userID=b87422fd-b130-4c04-80da-daded7903c8b time="2026-09-17T09:50:09Z" msg="Mailbox created" /user remoteMailboxID=12 userID=b87422fd-b130-4c04-80da-daded7903c8b time="2026-09-17T09:50:09Z" msg="Synced labels" time="2026-09-17T09:50:09Z" msg="200 OK: GET https://127.0.0.1:44037/mail/v4/messages/count" /client userID=7567b571-6e54-4e66-8bc9-5809d7ca6119 time="2026-09-17T09:50:09Z" msg="Syncing messages" time="2026-09-17T09:50:09Z" msg="Job started" time="2026-09-17T09:50:09Z" msg="200 OK: POST https://127.0.0.1:44037/mail/v4/messages" /client userID=7567b571-6e54-4e66-8bc9-5809d7ca6119 time="2026-09-17T09:50:09Z" msg="Job finished" time="2026-09-17T09:50:09Z" msg="All child jobs completed" sync- time="2026-09-17T09:50:09Z" msg="Synced messages" time="2026-09-17T09:50:09Z" msg="Finished user sync" .10961ms time="2026-09-17T09:50:09Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:50:09Z" msg="Event loop reset" eventID="AQ==" time="2026-09-17T09:50:09Z" msg="200 OK: POST https://127.0.0.1:44037/mail/v4/messages/import" /client userID=7567b571-6e54-4e66-8bc9-5809d7ca6119 time="2026-09-17T09:50:09Z" msg="200 OK: GET https://127.0.0.1:44037/mail/v4/messages/72bb476e-905d-463a-ba52-faa6e514a972" /client userID=7567b571-6e54-4e66-8bc9-5809d7ca6119 time="2026-09-17T09:50:09Z" msg="200 OK: POST https://127.0.0.1:44037/mail/v4/messages/import" /client userID=7567b571-6e54-4e66-8bc9-5809d7ca6119 time="2026-09-17T09:50:09Z" msg="200 OK: GET https://127.0.0.1:44037/mail/v4/messages/95d7aafc-7629-49ec-abca-b95f61d6dd57" /client userID=7567b571-6e54-4e66-8bc9-5809d7ca6119 time="2026-09-17T09:50:09Z" msg="200 OK: PUT https://127.0.0.1:44037/mail/v4/messages/unlabel" /client userID=7567b571-6e54-4e66-8bc9-5809d7ca6119 time="2026-09-17T09:50:09Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 6} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:50:09Z" msg="200 OK: PUT https://127.0.0.1:44037/mail/v4/messages/label" /client userID=7567b571-6e54-4e66-8bc9-5809d7ca6119 time="2026-09-17T09:50:10Z" msg="Frontend service stopped" time="2026-09-17T09:50:10Z" msg="Frontend client stopped" time="2026-09-17T09:50:10Z" msg="Closing bridge" time="2026-09-17T09:50:10Z" msg="Stopping service" time="2026-09-17T09:50:10Z" msg="Closing user" userID=7567b571-6e54-4e66-8bc9-5809d7ca6119 time="2026-09-17T09:50:10Z" msg="De-registering user client, ID:7567b571-6e54-4e66-8bc9-5809d7ca6119" time="2026-09-17T09:50:10Z" msg="Exiting IMAP Service" time="2026-09-17T09:50:10Z" msg="Exiting service main loop" time="2026-09-17T09:50:10Z" msg="Exiting service main loop" time="2026-09-17T09:50:10Z" msg="Exiting Service" time="2026-09-17T09:50:10Z" msg="Exiting service main loop" time="2026-09-17T09:50:10Z" msg="Exiting service" time="2026-09-17T09:50:10Z" msg="Closing IMAP Listener" time="2026-09-17T09:50:10Z" msg="Closing IMAP server" time="2026-09-17T09:50:10Z" msg="Closing SMTP Listener" time="2026-09-17T09:50:10Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:50:10Z" msg="Closing SMTP server" time="2026-09-17T09:50:10Z" msg="Closing service" | INBOX | Spam | DELETE EXPUNGE APPEND | time="2026-09-17T09:50:10Z" msg="User 'b605d173-e5f9-49fb-9ec3-41a79f39d20f' created with " /server/backend time="2026-09-17T09:50:11Z" msg="Starting bridge" time="2026-09-17T09:50:11Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/141/config1061053050/grpcFocusServerConfig.json /service time="2026-09-17T09:50:11Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/141/cache3393517859/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:50:11Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/141/cache3393517859/notifications/notification_cache: no such file or directory" time="2026-09-17T09:50:11Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/141/data695331385/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/141/data695331385/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:50:11Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:50:11Z" msg="Starting IMAP server" time="2026-09-17T09:50:11Z" msg="Starting SMTP server" time="2026-09-17T09:50:11Z" msg="Starting service" time="2026-09-17T09:50:11Z" msg="Starting service" time="2026-09-17T09:50:11Z" msg="Starting poll service" time="2026-09-17T09:50:11Z" msg="Starting receiver service" time="2026-09-17T09:50:11Z" msg="Loading users" /user time="2026-09-17T09:50:11Z" msg="Finished loading users" /user time="2026-09-17T09:50:11Z" msg="Starting frontend service" time="2026-09-17T09:50:11Z" msg="Checking for updates" time="2026-09-17T09:50:11Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/141/config1061053050/grpcServerConfig.json time="2026-09-17T09:50:11Z" msg="gRPC server listening on /tmp/bridge8144" time="2026-09-17T09:50:11Z" msg="Frontend service started" time="2026-09-17T09:50:11Z" msg="Starting frontend client" time="2026-09-17T09:50:11Z" msg="Not monitoring parent PID" time="2026-09-17T09:50:11Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:50:11Z" msg="200 OK: GET https://127.0.0.1:36069/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:50:11Z" msg="Frontend client started" time="2026-09-17T09:50:11Z" msg="Performing full user login" /user username="******** (23b54ef0)" time="2026-09-17T09:50:11Z" msg="Authorizing user for login" /user username="******** (23b54ef0)" time="2026-09-17T09:50:11Z" msg="200 OK: POST https://127.0.0.1:36069/auth/v4/info" /manager time="2026-09-17T09:50:11Z" msg="200 OK: POST https://127.0.0.1:36069/auth/v4" /manager time="2026-09-17T09:50:11Z" msg="Logging in authorized user" /user userID=85d31df5-8c00-4f50-a6e7-10aeb870cef6 time="2026-09-17T09:50:11Z" msg="Adding vault user" userID=85d31df5-8c00-4f50-a6e7-10aeb870cef6 time="2026-09-17T09:50:11Z" msg="Creating new user" userID=85d31df5-8c00-4f50-a6e7-10aeb870cef6 time="2026-09-17T09:50:11Z" msg="404 GET https://127.0.0.1:36069/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:50:11Z" msg="404 GET https://127.0.0.1:36069/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:50:11Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:36069/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:50:11Z" msg="Creating user object" authUID=670f7ea3-8e65-47ec-a3fc-761abaa264ef numA numL userID=85d31df5-8c00-4f50-a6e7-10aeb870cef6 time="2026-09-17T09:50:11Z" msg="200 OK: GET https://127.0.0.1:36069/core/v4/events/latest" /client userID=85d31df5-8c00-4f50-a6e7-10aeb870cef6 time="2026-09-17T09:50:11Z" msg="Starting service Last EventID=AQ==" time="2026-09-17T09:50:11Z" msg="200 OK: GET https://127.0.0.1:36069/core/v4/settings" /client userID=85d31df5-8c00-4f50-a6e7-10aeb870cef6 time="2026-09-17T09:50:11Z" msg="Registering user client, ID:85d31df5-8c00-4f50-a6e7-10aeb870cef6" time="2026-09-17T09:50:11Z" msg="Starting service main loop" time="2026-09-17T09:50:11Z" msg="Starting user identity service" numA time="2026-09-17T09:50:11Z" msg="Starting service main loop" time="2026-09-17T09:50:11Z" msg="Starting service main loop" time="2026-09-17T09:50:11Z" msg="200 OK: GET https://127.0.0.1:36069/core/v4/labels?T" /client userID=85d31df5-8c00-4f50-a6e7-10aeb870cef6 time="2026-09-17T09:50:11Z" msg="200 OK: GET https://127.0.0.1:36069/core/v4/labels?T" /client userID=85d31df5-8c00-4f50-a6e7-10aeb870cef6 time="2026-09-17T09:50:11Z" msg="200 OK: GET https://127.0.0.1:36069/core/v4/labels?T" /client userID=85d31df5-8c00-4f50-a6e7-10aeb870cef6 time="2026-09-17T09:50:11Z" msg="Setting labels" labelIDs="[10 0 5 6 7 9 12 1 2 3 4 8 ccc32ff1-57a7-44b7-8dc5-bcb082134d13]" time="2026-09-17T09:50:11Z" msg="Adding user to imap server" addrID=7c2fd647-66b8-4325-b22c-d76234394a6e time="2026-09-17T09:50:11Z" msg="Creating new IMAP user" addrID=7c2fd647-66b8-4325-b22c-d76234394a6e time="2026-09-17T09:50:11Z" msg="Setting gluon ID" addrID=7c2fd647-66b8-4325-b22c-d76234394a6e gluonID=9272c963-7a5a-4718-a04b-c80e656d386c userID=85d31df5-8c00-4f50-a6e7-10aeb870cef6 time="2026-09-17T09:50:11Z" msg="Received mailbox message count" gluonID=9272c963-7a5a-4718-a04b-c80e656d386c labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:50:11Z" msg="Created new IMAP user" addrID=7c2fd647-66b8-4325-b22c-d76234394a6e gluonID=9272c963-7a5a-4718-a04b-c80e656d386c time="2026-09-17T09:50:11Z" msg="Validating Listener State" time="2026-09-17T09:50:11Z" time="2026-09-17T09:50:11Z" msg="Starting IMAP Service" time="2026-09-17T09:50:11Z" msg="Sync triggered" time="2026-09-17T09:50:11Z" msg="Beginning user sync" start="2026-09-17 09:50:11.938776052 +0000 UTC m=+300.431078348" time="2026-09-17T09:50:11Z" msg="Checking whether logged in user should re-sync. UserID:85d31df5-8c00-4f50-a6e7-10aeb870cef6" userID=85d31df5-8c00-4f50-a6e7-10aeb870cef6 time="2026-09-17T09:50:11Z" msg="Syncing labels" time="2026-09-17T09:50:11Z" msg="Label not found in DB, creating mailbox." labelID=ccc32ff1-57a7-44b7-8dc5-bcb082134d13 labelPath="jm2pV8GS7FVFPTesFaU5jW/EhDgcEQCxeWTMDFRvNjU=" numberOfC /labelConflictResolver time="2026-09-17T09:50:11Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=9272c963-7a5a-4718-a04b-c80e656d386c time="2026-09-17T09:50:11Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=9272c963-7a5a-4718-a04b-c80e656d386c time="2026-09-17T09:50:11Z" msg="Mailbox created" /user remoteMailboxID=8 userID=9272c963-7a5a-4718-a04b-c80e656d386c time="2026-09-17T09:50:11Z" msg="Mailbox created" /user remoteMailboxID=ccc32ff1-57a7-44b7-8dc5-bcb082134d13 userID=9272c963-7a5a-4718-a04b-c80e656d386c time="2026-09-17T09:50:11Z" msg="Mailbox created" /user remoteMailboxID=10 userID=9272c963-7a5a-4718-a04b-c80e656d386c time="2026-09-17T09:50:11Z" msg="Mailbox created" /user remoteMailboxID=0 userID=9272c963-7a5a-4718-a04b-c80e656d386c time="2026-09-17T09:50:11Z" msg="Mailbox created" /user remoteMailboxID=6 userID=9272c963-7a5a-4718-a04b-c80e656d386c time="2026-09-17T09:50:11Z" msg="Mailbox created" /user remoteMailboxID=7 userID=9272c963-7a5a-4718-a04b-c80e656d386c time="2026-09-17T09:50:11Z" msg="Mailbox created" /user remoteMailboxID=12 userID=9272c963-7a5a-4718-a04b-c80e656d386c time="2026-09-17T09:50:11Z" msg="Mailbox created" /user remoteMailboxID=4 userID=9272c963-7a5a-4718-a04b-c80e656d386c time="2026-09-17T09:50:11Z" msg="Mailbox created" /user remoteMailboxID=5 userID=9272c963-7a5a-4718-a04b-c80e656d386c time="2026-09-17T09:50:11Z" msg="Mailbox created" /user remoteMailboxID=3 userID=9272c963-7a5a-4718-a04b-c80e656d386c time="2026-09-17T09:50:11Z" msg="Synced labels" time="2026-09-17T09:50:11Z" msg="200 OK: GET https://127.0.0.1:36069/mail/v4/messages/count" /client userID=85d31df5-8c00-4f50-a6e7-10aeb870cef6 time="2026-09-17T09:50:11Z" msg="Syncing messages" time="2026-09-17T09:50:11Z" msg="Job started" time="2026-09-17T09:50:11Z" msg="200 OK: POST https://127.0.0.1:36069/mail/v4/messages" /client userID=85d31df5-8c00-4f50-a6e7-10aeb870cef6 time="2026-09-17T09:50:11Z" msg="Job finished" time="2026-09-17T09:50:11Z" msg="All child jobs completed" sync- time="2026-09-17T09:50:11Z" msg="Synced messages" time="2026-09-17T09:50:11Z" msg="Finished user sync" .987444ms time="2026-09-17T09:50:11Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:50:11Z" msg="Event loop reset" eventID="AQ==" time="2026-09-17T09:50:11Z" msg="200 OK: POST https://127.0.0.1:36069/mail/v4/messages/import" /client userID=85d31df5-8c00-4f50-a6e7-10aeb870cef6 time="2026-09-17T09:50:11Z" msg="200 OK: GET https://127.0.0.1:36069/mail/v4/messages/ce170ca9-54ff-4a6f-b0fa-c00f9965bb55" /client userID=85d31df5-8c00-4f50-a6e7-10aeb870cef6 time="2026-09-17T09:50:11Z" msg="200 OK: POST https://127.0.0.1:36069/mail/v4/messages/import" /client userID=85d31df5-8c00-4f50-a6e7-10aeb870cef6 time="2026-09-17T09:50:11Z" msg="200 OK: GET https://127.0.0.1:36069/mail/v4/messages/3241790c-5ec2-4651-8656-bbb116a519fe" /client userID=85d31df5-8c00-4f50-a6e7-10aeb870cef6 time="2026-09-17T09:50:12Z" msg="200 OK: PUT https://127.0.0.1:36069/mail/v4/messages/unlabel" /client userID=85d31df5-8c00-4f50-a6e7-10aeb870cef6 time="2026-09-17T09:50:12Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 4} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:50:12Z" msg="200 OK: PUT https://127.0.0.1:36069/mail/v4/messages/label" /client userID=85d31df5-8c00-4f50-a6e7-10aeb870cef6 time="2026-09-17T09:50:12Z" msg="Frontend service stopped" time="2026-09-17T09:50:12Z" msg="Frontend client stopped" time="2026-09-17T09:50:12Z" msg="Closing bridge" time="2026-09-17T09:50:12Z" msg="Stopping service" time="2026-09-17T09:50:12Z" msg="Closing user" userID=85d31df5-8c00-4f50-a6e7-10aeb870cef6 time="2026-09-17T09:50:12Z" msg="De-registering user client, ID:85d31df5-8c00-4f50-a6e7-10aeb870cef6" time="2026-09-17T09:50:12Z" msg="Exiting IMAP Service" time="2026-09-17T09:50:12Z" msg="Exiting service main loop" time="2026-09-17T09:50:12Z" msg="Exiting service main loop" time="2026-09-17T09:50:12Z" msg="Exiting Service" time="2026-09-17T09:50:12Z" msg="Exiting service main loop" time="2026-09-17T09:50:12Z" msg="Exiting service" time="2026-09-17T09:50:12Z" msg="Closing IMAP Listener" time="2026-09-17T09:50:12Z" msg="Closing IMAP server" time="2026-09-17T09:50:12Z" msg="Closing SMTP Listener" time="2026-09-17T09:50:12Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:50:12Z" msg="Closing SMTP server" time="2026-09-17T09:50:12Z" msg="Closing service" | INBOX | Trash | DELETE EXPUNGE APPEND | time="2026-09-17T09:50:12Z" msg="User 'a241ee91-0817-4b6a-bdd1-bb18770394e4' created with " /server/backend time="2026-09-17T09:50:13Z" msg="Starting bridge" time="2026-09-17T09:50:13Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/142/config2999794146/grpcFocusServerConfig.json /service time="2026-09-17T09:50:13Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/142/cache2052217961/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:50:13Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/142/cache2052217961/notifications/notification_cache: no such file or directory" time="2026-09-17T09:50:13Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/142/data2357489036/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/142/data2357489036/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:50:13Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:50:13Z" msg="Starting IMAP server" time="2026-09-17T09:50:13Z" msg="Starting SMTP server" time="2026-09-17T09:50:13Z" msg="Starting service" time="2026-09-17T09:50:13Z" msg="Starting service" time="2026-09-17T09:50:13Z" msg="Starting receiver service" time="2026-09-17T09:50:13Z" msg="Checking for updates" time="2026-09-17T09:50:13Z" msg="Loading users" /user time="2026-09-17T09:50:13Z" msg="Starting frontend service" time="2026-09-17T09:50:13Z" msg="Starting poll service" time="2026-09-17T09:50:13Z" msg="Finished loading users" /user time="2026-09-17T09:50:13Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/142/config2999794146/grpcServerConfig.json time="2026-09-17T09:50:13Z" msg="gRPC server listening on /tmp/bridge5012" time="2026-09-17T09:50:13Z" msg="Frontend service started" time="2026-09-17T09:50:13Z" msg="Starting frontend client" time="2026-09-17T09:50:13Z" msg="Not monitoring parent PID" time="2026-09-17T09:50:13Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:50:13Z" msg="Frontend client started" time="2026-09-17T09:50:13Z" msg="200 OK: GET https://127.0.0.1:33463/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:50:13Z" msg="Performing full user login" /user username="******** (ba8a7f90)" time="2026-09-17T09:50:13Z" msg="Authorizing user for login" /user username="******** (ba8a7f90)" time="2026-09-17T09:50:13Z" msg="200 OK: POST https://127.0.0.1:33463/auth/v4/info" /manager time="2026-09-17T09:50:14Z" msg="200 OK: POST https://127.0.0.1:33463/auth/v4" /manager time="2026-09-17T09:50:14Z" msg="Logging in authorized user" /user userID=c4dd72fa-5dd8-4592-90f8-558cf98e5a07 time="2026-09-17T09:50:14Z" msg="Adding vault user" userID=c4dd72fa-5dd8-4592-90f8-558cf98e5a07 time="2026-09-17T09:50:14Z" msg="Creating new user" userID=c4dd72fa-5dd8-4592-90f8-558cf98e5a07 time="2026-09-17T09:50:14Z" msg="404 GET https://127.0.0.1:33463/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:50:14Z" msg="404 GET https://127.0.0.1:33463/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:50:14Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:33463/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:50:14Z" msg="Creating user object" authUID=0d1ce4c3-25ff-4f64-88c2-95b88f42b0cf numA numL userID=c4dd72fa-5dd8-4592-90f8-558cf98e5a07 time="2026-09-17T09:50:14Z" msg="200 OK: GET https://127.0.0.1:33463/core/v4/events/latest" /client userID=c4dd72fa-5dd8-4592-90f8-558cf98e5a07 time="2026-09-17T09:50:14Z" msg="Starting service Last EventID=AQ==" time="2026-09-17T09:50:14Z" msg="200 OK: GET https://127.0.0.1:33463/core/v4/settings" /client userID=c4dd72fa-5dd8-4592-90f8-558cf98e5a07 time="2026-09-17T09:50:14Z" msg="Registering user client, ID:c4dd72fa-5dd8-4592-90f8-558cf98e5a07" time="2026-09-17T09:50:14Z" msg="Starting service main loop" time="2026-09-17T09:50:14Z" msg="Starting user identity service" numA time="2026-09-17T09:50:14Z" msg="Starting service main loop" time="2026-09-17T09:50:14Z" msg="Starting service main loop" time="2026-09-17T09:50:14Z" msg="200 OK: GET https://127.0.0.1:33463/core/v4/labels?T" /client userID=c4dd72fa-5dd8-4592-90f8-558cf98e5a07 time="2026-09-17T09:50:14Z" msg="200 OK: GET https://127.0.0.1:33463/core/v4/labels?T" /client userID=c4dd72fa-5dd8-4592-90f8-558cf98e5a07 time="2026-09-17T09:50:14Z" msg="200 OK: GET https://127.0.0.1:33463/core/v4/labels?T" /client userID=c4dd72fa-5dd8-4592-90f8-558cf98e5a07 time="2026-09-17T09:50:14Z" msg="Setting labels" labelIDs="[0 1 3 5 6 12 2 4 7 8 9 10 e00691f9-a846-40a2-9d40-ed4ae7265340]" time="2026-09-17T09:50:14Z" msg="Adding user to imap server" addrID=a3691396-9dec-4b88-bc48-a484b380f6ca time="2026-09-17T09:50:14Z" msg="Creating new IMAP user" addrID=a3691396-9dec-4b88-bc48-a484b380f6ca time="2026-09-17T09:50:14Z" msg="Setting gluon ID" addrID=a3691396-9dec-4b88-bc48-a484b380f6ca gluonID=f86aa804-3930-4862-98f1-e580c65fadf8 userID=c4dd72fa-5dd8-4592-90f8-558cf98e5a07 time="2026-09-17T09:50:14Z" msg="Received mailbox message count" gluonID=f86aa804-3930-4862-98f1-e580c65fadf8 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:50:14Z" msg="Created new IMAP user" addrID=a3691396-9dec-4b88-bc48-a484b380f6ca gluonID=f86aa804-3930-4862-98f1-e580c65fadf8 time="2026-09-17T09:50:14Z" msg="Validating Listener State" time="2026-09-17T09:50:14Z" time="2026-09-17T09:50:14Z" msg="Starting IMAP Service" time="2026-09-17T09:50:14Z" msg="Checking whether logged in user should re-sync. UserID:c4dd72fa-5dd8-4592-90f8-558cf98e5a07" userID=c4dd72fa-5dd8-4592-90f8-558cf98e5a07 time="2026-09-17T09:50:14Z" msg="Sync triggered" time="2026-09-17T09:50:14Z" msg="Beginning user sync" start="2026-09-17 09:50:14.128903878 +0000 UTC m=+302.621206254" time="2026-09-17T09:50:14Z" msg="Syncing labels" time="2026-09-17T09:50:14Z" msg="Label not found in DB, creating mailbox." labelID=e00691f9-a846-40a2-9d40-ed4ae7265340 labelPath="jm2pV8GS7FVFPTesFaU5jW/EhDgcEQCxeWTMDFRvNjU=" numberOfC /labelConflictResolver time="2026-09-17T09:50:14Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=f86aa804-3930-4862-98f1-e580c65fadf8 time="2026-09-17T09:50:14Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=f86aa804-3930-4862-98f1-e580c65fadf8 time="2026-09-17T09:50:14Z" msg="Mailbox created" /user remoteMailboxID=10 userID=f86aa804-3930-4862-98f1-e580c65fadf8 time="2026-09-17T09:50:14Z" msg="Mailbox created" /user remoteMailboxID=0 userID=f86aa804-3930-4862-98f1-e580c65fadf8 time="2026-09-17T09:50:14Z" msg="Mailbox created" /user remoteMailboxID=5 userID=f86aa804-3930-4862-98f1-e580c65fadf8 time="2026-09-17T09:50:14Z" msg="Mailbox created" /user remoteMailboxID=4 userID=f86aa804-3930-4862-98f1-e580c65fadf8 time="2026-09-17T09:50:14Z" msg="Mailbox created" /user remoteMailboxID=8 userID=f86aa804-3930-4862-98f1-e580c65fadf8 time="2026-09-17T09:50:14Z" msg="Mailbox created" /user remoteMailboxID=e00691f9-a846-40a2-9d40-ed4ae7265340 userID=f86aa804-3930-4862-98f1-e580c65fadf8 time="2026-09-17T09:50:14Z" msg="Mailbox created" /user remoteMailboxID=3 userID=f86aa804-3930-4862-98f1-e580c65fadf8 time="2026-09-17T09:50:14Z" msg="Mailbox created" /user remoteMailboxID=6 userID=f86aa804-3930-4862-98f1-e580c65fadf8 time="2026-09-17T09:50:14Z" msg="Mailbox created" /user remoteMailboxID=12 userID=f86aa804-3930-4862-98f1-e580c65fadf8 time="2026-09-17T09:50:14Z" msg="Mailbox created" /user remoteMailboxID=7 userID=f86aa804-3930-4862-98f1-e580c65fadf8 time="2026-09-17T09:50:14Z" msg="Synced labels" time="2026-09-17T09:50:14Z" msg="200 OK: GET https://127.0.0.1:33463/mail/v4/messages/count" /client userID=c4dd72fa-5dd8-4592-90f8-558cf98e5a07 time="2026-09-17T09:50:14Z" msg="Syncing messages" time="2026-09-17T09:50:14Z" msg="Job started" time="2026-09-17T09:50:14Z" msg="200 OK: POST https://127.0.0.1:33463/mail/v4/messages" /client userID=c4dd72fa-5dd8-4592-90f8-558cf98e5a07 time="2026-09-17T09:50:14Z" msg="Job finished" time="2026-09-17T09:50:14Z" msg="All child jobs completed" sync- time="2026-09-17T09:50:14Z" msg="Synced messages" time="2026-09-17T09:50:14Z" msg="Finished user sync" .132934ms time="2026-09-17T09:50:14Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:50:14Z" msg="Event loop reset" eventID="AQ==" time="2026-09-17T09:50:14Z" msg="200 OK: POST https://127.0.0.1:33463/mail/v4/messages/import" /client userID=c4dd72fa-5dd8-4592-90f8-558cf98e5a07 time="2026-09-17T09:50:14Z" msg="200 OK: GET https://127.0.0.1:33463/mail/v4/messages/5c4c0db3-4642-4d39-b7b3-7533ff037264" /client userID=c4dd72fa-5dd8-4592-90f8-558cf98e5a07 Scenario Outline: Move message from to by , second batch # features/imap/message/move_without_support.feature:71 time="2026-09-17T09:50:14Z" msg="200 OK: POST https://127.0.0.1:33463/mail/v4/messages/import" /client userID=c4dd72fa-5dd8-4592-90f8-558cf98e5a07 time="2026-09-17T09:50:14Z" msg="200 OK: GET https://127.0.0.1:33463/mail/v4/messages/2241ea0d-b3ce-4d1c-a9cb-365389243c95" /client userID=c4dd72fa-5dd8-4592-90f8-558cf98e5a07 time="2026-09-17T09:50:14Z" msg="200 OK: PUT https://127.0.0.1:33463/mail/v4/messages/unlabel" /client userID=c4dd72fa-5dd8-4592-90f8-558cf98e5a07 time="2026-09-17T09:50:14Z" msg="200 OK: POST https://127.0.0.1:33463/mail/v4/messages" /client userID=c4dd72fa-5dd8-4592-90f8-558cf98e5a07 time="2026-09-17T09:50:14Z" msg="Message has been marked for deletion" addr- gluon- labels id(s)="[5]" mailboxID=3 messageID=2241ea0d-b3ce-4d1c-a9cb-365389243c95 user- time="2026-09-17T09:50:14Z" msg="200 OK: PUT https://127.0.0.1:33463/mail/v4/messages/delete" /client userID=c4dd72fa-5dd8-4592-90f8-558cf98e5a07 time="2026-09-17T09:50:14Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 1} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:50:14Z" msg="200 OK: PUT https://127.0.0.1:33463/mail/v4/messages/label" /client userID=c4dd72fa-5dd8-4592-90f8-558cf98e5a07 time="2026-09-17T09:50:14Z" msg="Frontend service stopped" time="2026-09-17T09:50:14Z" msg="Frontend client stopped" time="2026-09-17T09:50:14Z" msg="Closing bridge" time="2026-09-17T09:50:14Z" msg="Stopping service" time="2026-09-17T09:50:14Z" msg="Closing user" userID=c4dd72fa-5dd8-4592-90f8-558cf98e5a07 time="2026-09-17T09:50:14Z" msg="De-registering user client, ID:c4dd72fa-5dd8-4592-90f8-558cf98e5a07" time="2026-09-17T09:50:14Z" msg="Exiting IMAP Service" time="2026-09-17T09:50:14Z" msg="Exiting service main loop" time="2026-09-17T09:50:14Z" msg="Exiting service main loop" time="2026-09-17T09:50:14Z" msg="Exiting Service" time="2026-09-17T09:50:14Z" msg="Exiting service main loop" time="2026-09-17T09:50:14Z" msg="Exiting service" time="2026-09-17T09:50:14Z" msg="Closing IMAP Listener" time="2026-09-17T09:50:14Z" msg="Closing IMAP server" time="2026-09-17T09:50:14Z" msg="Closing SMTP Listener" time="2026-09-17T09:50:14Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:50:14Z" msg="Closing SMTP server" time="2026-09-17T09:50:14Z" msg="Closing service" Given there exists an account with username "[user:user]" and password "password" # :1 -> *scenario And the account "[user:user]" has the following custom mailboxes: # :1 -> *scenario | name | type | | mbox | folder | Then it succeeds # :1 -> *scenario When bridge starts # :1 -> *scenario And the user logs in with username "[user:user]" and password "password" # :1 -> *scenario And user "[user:user]" finishes syncing # :1 -> *scenario And user "[user:user]" connects and authenticates IMAP client "source" # :1 -> *scenario And user "[user:user]" connects and authenticates IMAP client "target" # :1 -> *scenario Then it succeeds # :1 -> *scenario When IMAP client "source" appends the following message to "": # :1 -> *scenario """ Received: by 2002:0:0:0:0:0:0:0 with SMTP id 0123456789abcdef; Wed, 30 Dec 2020 01:23:45 0000 From: sndr1@[domain] Date: 01 Jan 1980 00:00:00 +0000 To: rcvr1@[domain] Subject: subj1 body1 """ Then it succeeds # :1 -> *scenario When IMAP client "source" appends the following message to "": # :1 -> *scenario """ Received: by 2002:0:0:0:0:0:0:0 with SMTP id 0123456789abcdef; Wed, 30 Dec 2020 01:23:45 0000 From: sndr2@[domain] Date: 01 Jan 1980 00:00:00 +0000 To: rcvr2@[domain] Subject: subj2 body2 """ Then it succeeds # :1 -> *scenario And IMAP client "source" selects "" # :1 -> *scenario And IMAP client "target" selects "" # :1 -> *scenario When IMAP clients "source" and "target" move message with subject "subj2" of "[user:user]" to "" by # :1 -> *scenario And IMAP client "source" eventually sees 1 messages in "" # :1 -> *scenario And IMAP client "source" eventually sees the following messages in "": # :1 -> *scenario | from | to | subject | | sndr1@proton.local | rcvr1@proton.local | subj1 | And IMAP client "target" eventually sees 1 messages in "" # :1 -> *scenario And IMAP client "target" eventually sees the following messages in "": # :1 -> *scenario | from | to | subject | | sndr2@proton.local | rcvr2@proton.local | subj2 | Examples: | srcMailbox | dstMailbox | order | | Trash | INBOX | DELETE EXPUNGE APPEND | Feature: IMAP interaction with scheduled time="2026-09-17T09:50:15Z" msg="User 'fb28720a-c2b6-4bdf-9080-60d05c5d5b29' created with " /server/backend Scenario: Not possible to delete from Scheduled and expunge does nothing # features/imap/message/scheduled.feature:5 Given there exists an account with username "fb28720a-c2b6-4bdf-9080-60d05c5d5b29" and password "password" # :1 -> *scenario And the account "fb28720a-c2b6-4bdf-9080-60d05c5d5b29" has the following custom mailboxes: # :1 -> *scenario | name | type | | mbox | folder | | label | label | And the address "fb28720a-c2b6-4bdf-9080-60d05c5d5b29@proton.local" of account "fb28720a-c2b6-4bdf-9080-60d05c5d5b29" has 10 messages in "Folders/mbox" # :1 -> *scenario And the address "fb28720a-c2b6-4bdf-9080-60d05c5d5b29@proton.local" of account "fb28720a-c2b6-4bdf-9080-60d05c5d5b29" has 1 messages in "Scheduled" # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:50:17Z" msg="Starting bridge" time="2026-09-17T09:50:17Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/143/config150224238/grpcFocusServerConfig.json /service time="2026-09-17T09:50:17Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/143/cache2927225568/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:50:17Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/143/cache2927225568/notifications/notification_cache: no such file or directory" time="2026-09-17T09:50:17Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/143/data3541987295/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/143/data3541987295/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:50:17Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:50:17Z" msg="Starting IMAP server" time="2026-09-17T09:50:17Z" msg="Starting SMTP server" time="2026-09-17T09:50:17Z" msg="Starting service" time="2026-09-17T09:50:17Z" msg="Starting service" time="2026-09-17T09:50:17Z" msg="Starting frontend service" time="2026-09-17T09:50:17Z" msg="Checking for updates" time="2026-09-17T09:50:17Z" msg="Loading users" /user time="2026-09-17T09:50:17Z" msg="Finished loading users" /user time="2026-09-17T09:50:17Z" msg="Starting poll service" time="2026-09-17T09:50:17Z" msg="Starting receiver service" time="2026-09-17T09:50:17Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/143/config150224238/grpcServerConfig.json time="2026-09-17T09:50:17Z" msg="gRPC server listening on /tmp/bridge6863" time="2026-09-17T09:50:17Z" msg="Frontend service started" time="2026-09-17T09:50:17Z" msg="Starting frontend client" time="2026-09-17T09:50:17Z" msg="Not monitoring parent PID" time="2026-09-17T09:50:17Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:50:17Z" msg="Frontend client started" When bridge starts # :1 -> *scenario time="2026-09-17T09:50:17Z" msg="Performing full user login" /user username="******** (c4477605)" time="2026-09-17T09:50:17Z" msg="Authorizing user for login" /user username="******** (c4477605)" time="2026-09-17T09:50:17Z" msg="200 OK: GET https://127.0.0.1:46671/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:50:17Z" msg="200 OK: POST https://127.0.0.1:46671/auth/v4/info" /manager time="2026-09-17T09:50:17Z" msg="200 OK: POST https://127.0.0.1:46671/auth/v4" /manager time="2026-09-17T09:50:17Z" msg="Logging in authorized user" /user userID=25ba9601-e6c8-46b9-86ca-fde54a43114b time="2026-09-17T09:50:17Z" msg="Adding vault user" userID=25ba9601-e6c8-46b9-86ca-fde54a43114b time="2026-09-17T09:50:17Z" msg="Creating new user" userID=25ba9601-e6c8-46b9-86ca-fde54a43114b time="2026-09-17T09:50:17Z" msg="404 GET https://127.0.0.1:46671/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:50:17Z" msg="404 GET https://127.0.0.1:46671/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:50:17Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:46671/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:50:17Z" msg="Creating user object" authUID=10139e09-06f3-4ecf-b2d0-858523244b5a numA numL userID=25ba9601-e6c8-46b9-86ca-fde54a43114b time="2026-09-17T09:50:17Z" msg="200 OK: GET https://127.0.0.1:46671/core/v4/events/latest" /client userID=25ba9601-e6c8-46b9-86ca-fde54a43114b time="2026-09-17T09:50:17Z" msg="Starting service Last EventID=DQ==" time="2026-09-17T09:50:17Z" msg="200 OK: GET https://127.0.0.1:46671/core/v4/settings" /client userID=25ba9601-e6c8-46b9-86ca-fde54a43114b time="2026-09-17T09:50:17Z" msg="Registering user client, ID:25ba9601-e6c8-46b9-86ca-fde54a43114b" time="2026-09-17T09:50:17Z" msg="Starting user identity service" numA time="2026-09-17T09:50:17Z" msg="Starting service main loop" time="2026-09-17T09:50:17Z" msg="Starting service main loop" time="2026-09-17T09:50:17Z" msg="Starting service main loop" time="2026-09-17T09:50:17Z" msg="200 OK: GET https://127.0.0.1:46671/core/v4/labels?T" /client userID=25ba9601-e6c8-46b9-86ca-fde54a43114b time="2026-09-17T09:50:17Z" msg="200 OK: GET https://127.0.0.1:46671/core/v4/labels?T" /client userID=25ba9601-e6c8-46b9-86ca-fde54a43114b time="2026-09-17T09:50:17Z" msg="200 OK: GET https://127.0.0.1:46671/core/v4/labels?T" /client userID=25ba9601-e6c8-46b9-86ca-fde54a43114b time="2026-09-17T09:50:17Z" msg="Setting labels" labelIDs="[9 1 2 7 10 12 0 3 4 5 6 8 bce855e0-f1ec-481e-b6bf-1c6ac98960a9 e5a1e57c-5b29-4485-820b-1843dad35d39]" time="2026-09-17T09:50:17Z" msg="Adding user to imap server" addrID=70654594-f7f4-4cc2-b4e1-a8970b44ac0f time="2026-09-17T09:50:17Z" msg="Creating new IMAP user" addrID=70654594-f7f4-4cc2-b4e1-a8970b44ac0f time="2026-09-17T09:50:17Z" msg="Setting gluon ID" addrID=70654594-f7f4-4cc2-b4e1-a8970b44ac0f gluonID=7328dcc0-b96a-4ded-93a1-30818b1837f8 userID=25ba9601-e6c8-46b9-86ca-fde54a43114b time="2026-09-17T09:50:17Z" msg="Received mailbox message count" gluonID=7328dcc0-b96a-4ded-93a1-30818b1837f8 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:50:17Z" msg="Created new IMAP user" addrID=70654594-f7f4-4cc2-b4e1-a8970b44ac0f gluonID=7328dcc0-b96a-4ded-93a1-30818b1837f8 time="2026-09-17T09:50:17Z" msg="Validating Listener State" time="2026-09-17T09:50:17Z" time="2026-09-17T09:50:17Z" msg="Starting IMAP Service" time="2026-09-17T09:50:17Z" msg="Checking whether logged in user should re-sync. UserID:25ba9601-e6c8-46b9-86ca-fde54a43114b" userID=25ba9601-e6c8-46b9-86ca-fde54a43114b And the user logs in with username "fb28720a-c2b6-4bdf-9080-60d05c5d5b29" and password "password" # :1 -> *scenario time="2026-09-17T09:50:17Z" msg="Sync triggered" time="2026-09-17T09:50:17Z" msg="Beginning user sync" start="2026-09-17 09:50:17.976474732 +0000 UTC m=+306.468777028" time="2026-09-17T09:50:17Z" msg="Syncing labels" time="2026-09-17T09:50:17Z" msg="Label not found in DB, creating mailbox." labelID=bce855e0-f1ec-481e-b6bf-1c6ac98960a9 labelPath="jm2pV8GS7FVFPTesFaU5jW/EhDgcEQCxeWTMDFRvNjU=" numberOfC /labelConflictResolver time="2026-09-17T09:50:17Z" msg="Label not found in DB, creating mailbox." labelID=e5a1e57c-5b29-4485-820b-1843dad35d39 labelPath="mHoyd+am6bmNoUvxRZ/ZRvBIQnwu+1OQWf1jSR3oA+s=" numberOfC /labelConflictResolver time="2026-09-17T09:50:17Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=7328dcc0-b96a-4ded-93a1-30818b1837f8 time="2026-09-17T09:50:17Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=7328dcc0-b96a-4ded-93a1-30818b1837f8 time="2026-09-17T09:50:17Z" msg="Mailbox created" /user remoteMailboxID=4 userID=7328dcc0-b96a-4ded-93a1-30818b1837f8 time="2026-09-17T09:50:17Z" msg="Mailbox created" /user remoteMailboxID=5 userID=7328dcc0-b96a-4ded-93a1-30818b1837f8 time="2026-09-17T09:50:17Z" msg="Mailbox created" /user remoteMailboxID=6 userID=7328dcc0-b96a-4ded-93a1-30818b1837f8 time="2026-09-17T09:50:17Z" msg="Mailbox created" /user remoteMailboxID=bce855e0-f1ec-481e-b6bf-1c6ac98960a9 userID=7328dcc0-b96a-4ded-93a1-30818b1837f8 time="2026-09-17T09:50:17Z" msg="Mailbox created" /user remoteMailboxID=12 userID=7328dcc0-b96a-4ded-93a1-30818b1837f8 time="2026-09-17T09:50:17Z" msg="Mailbox created" /user remoteMailboxID=0 userID=7328dcc0-b96a-4ded-93a1-30818b1837f8 time="2026-09-17T09:50:17Z" msg="Mailbox created" /user remoteMailboxID=8 userID=7328dcc0-b96a-4ded-93a1-30818b1837f8 time="2026-09-17T09:50:17Z" msg="Mailbox created" /user remoteMailboxID=e5a1e57c-5b29-4485-820b-1843dad35d39 userID=7328dcc0-b96a-4ded-93a1-30818b1837f8 time="2026-09-17T09:50:17Z" msg="Mailbox created" /user remoteMailboxID=7 userID=7328dcc0-b96a-4ded-93a1-30818b1837f8 time="2026-09-17T09:50:17Z" msg="Mailbox created" /user remoteMailboxID=10 userID=7328dcc0-b96a-4ded-93a1-30818b1837f8 time="2026-09-17T09:50:17Z" msg="Mailbox created" /user remoteMailboxID=3 userID=7328dcc0-b96a-4ded-93a1-30818b1837f8 time="2026-09-17T09:50:17Z" msg="Synced labels" time="2026-09-17T09:50:17Z" msg="200 OK: GET https://127.0.0.1:46671/mail/v4/messages/count" /client userID=25ba9601-e6c8-46b9-86ca-fde54a43114b time="2026-09-17T09:50:17Z" msg="Syncing messages" time="2026-09-17T09:50:17Z" msg="Job started" time="2026-09-17T09:50:17Z" msg="200 OK: POST https://127.0.0.1:46671/mail/v4/messages" /client userID=25ba9601-e6c8-46b9-86ca-fde54a43114b time="2026-09-17T09:50:17Z" msg="200 OK: POST https://127.0.0.1:46671/mail/v4/messages" /client userID=25ba9601-e6c8-46b9-86ca-fde54a43114b time="2026-09-17T09:50:17Z" msg="Creating new child job" time="2026-09-17T09:50:17Z" msg="Job finished" time="2026-09-17T09:50:17Z" msg="200 OK: GET https://127.0.0.1:46671/mail/v4/messages/1007e264-ff0e-4676-964b-cff62cde1ae4" /client userID=25ba9601-e6c8-46b9-86ca-fde54a43114b time="2026-09-17T09:50:17Z" msg="200 OK: GET https://127.0.0.1:46671/mail/v4/messages/9e82ff79-a321-41bb-bec0-e916b53fa9d2" /client userID=25ba9601-e6c8-46b9-86ca-fde54a43114b time="2026-09-17T09:50:17Z" msg="200 OK: GET https://127.0.0.1:46671/mail/v4/messages/24683257-8a70-4673-a059-59c5a3c12d9b" /client userID=25ba9601-e6c8-46b9-86ca-fde54a43114b time="2026-09-17T09:50:17Z" msg="200 OK: GET https://127.0.0.1:46671/mail/v4/messages/76cf12a0-2d4e-4f55-8775-bc511aba3445" /client userID=25ba9601-e6c8-46b9-86ca-fde54a43114b time="2026-09-17T09:50:17Z" msg="200 OK: GET https://127.0.0.1:46671/mail/v4/messages/12ffb368-d478-4092-830c-826a6a737ce3" /client userID=25ba9601-e6c8-46b9-86ca-fde54a43114b time="2026-09-17T09:50:17Z" msg="200 OK: GET https://127.0.0.1:46671/mail/v4/messages/50f711f1-a6c5-4ef9-aa6f-7e9e5191b9f9" /client userID=25ba9601-e6c8-46b9-86ca-fde54a43114b time="2026-09-17T09:50:17Z" msg="200 OK: GET https://127.0.0.1:46671/mail/v4/messages/1c9b17b0-91d5-40c0-94d7-bf0899d9519f" /client userID=25ba9601-e6c8-46b9-86ca-fde54a43114b time="2026-09-17T09:50:17Z" msg="200 OK: GET https://127.0.0.1:46671/mail/v4/messages/1aef1bce-5533-4f57-bc8f-47480b9c759c" /client userID=25ba9601-e6c8-46b9-86ca-fde54a43114b time="2026-09-17T09:50:17Z" msg="200 OK: GET https://127.0.0.1:46671/mail/v4/messages/c9fd2a15-c081-49be-a16e-e5849d878d46" /client userID=25ba9601-e6c8-46b9-86ca-fde54a43114b time="2026-09-17T09:50:17Z" msg="200 OK: GET https://127.0.0.1:46671/mail/v4/messages/192fd667-7b68-4d02-a73b-613ce33689f4" /client userID=25ba9601-e6c8-46b9-86ca-fde54a43114b time="2026-09-17T09:50:17Z" msg="200 OK: GET https://127.0.0.1:46671/mail/v4/messages/256ecc02-7a37-47a7-96d9-50358fcd1aaa" /client userID=25ba9601-e6c8-46b9-86ca-fde54a43114b time="2026-09-17T09:50:18Z" msg="Sending observability data." time="2026-09-17T09:50:18Z" msg="200 OK: POST https://127.0.0.1:46671/data/v1/metrics" /client userID=25ba9601-e6c8-46b9-86ca-fde54a43114b time="2026-09-17T09:50:18Z" msg="Successfully sent observability data." time="2026-09-17T09:50:18Z" msg="Scheduling observability data sending" time="2026-09-17T09:50:18Z" msg="Child job finished" time="2026-09-17T09:50:18Z" msg="All child jobs completed" sync- time="2026-09-17T09:50:18Z" msg="Synced messages" time="2026-09-17T09:50:18Z" msg="Finished user sync" .869483ms time="2026-09-17T09:50:18Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:50:18Z" msg="Event loop reset" eventID="DQ==" And user "fb28720a-c2b6-4bdf-9080-60d05c5d5b29" finishes syncing # :1 -> *scenario And user "fb28720a-c2b6-4bdf-9080-60d05c5d5b29" connects and authenticates IMAP client "1" # :1 -> *scenario Then it succeeds # :1 -> *scenario When IMAP client "1" selects "Scheduled" # :1 -> *scenario And IMAP client "1" marks message 1 as deleted # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:50:18Z" msg="Command failed" error="operation not allowed" /session And IMAP client "1" expunges # :1 -> *scenario time="2026-09-17T09:50:18Z" msg="Frontend service stopped" time="2026-09-17T09:50:18Z" msg="Frontend client stopped" time="2026-09-17T09:50:18Z" msg="Closing bridge" time="2026-09-17T09:50:18Z" msg="Stopping service" time="2026-09-17T09:50:18Z" msg="Closing user" userID=25ba9601-e6c8-46b9-86ca-fde54a43114b time="2026-09-17T09:50:18Z" msg="De-registering user client, ID:25ba9601-e6c8-46b9-86ca-fde54a43114b" time="2026-09-17T09:50:18Z" msg="Exiting IMAP Service" time="2026-09-17T09:50:18Z" msg="Exiting service main loop" time="2026-09-17T09:50:18Z" msg="Exiting service main loop" time="2026-09-17T09:50:18Z" msg="Exiting Service" time="2026-09-17T09:50:18Z" msg="Exiting service main loop" time="2026-09-17T09:50:18Z" msg="Exiting service" time="2026-09-17T09:50:18Z" msg="Closing IMAP Listener" time="2026-09-17T09:50:18Z" msg="Closing IMAP server" time="2026-09-17T09:50:18Z" msg="Closing SMTP Listener" time="2026-09-17T09:50:18Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:50:18Z" msg="Closing SMTP server" time="2026-09-17T09:50:18Z" msg="Closing service" Then it fails # :1 -> *scenario time="2026-09-17T09:50:18Z" msg="User '0e0794ce-be4d-401a-84ec-94bbf6a477ae' created with " /server/backend Scenario: Move message from Scheduled is not possible # features/imap/message/scheduled.feature:25 Given there exists an account with username "0e0794ce-be4d-401a-84ec-94bbf6a477ae" and password "password" # :1 -> *scenario And the account "0e0794ce-be4d-401a-84ec-94bbf6a477ae" has the following custom mailboxes: # :1 -> *scenario | name | type | | mbox | folder | | label | label | | label2 | label | And the address "0e0794ce-be4d-401a-84ec-94bbf6a477ae@proton.local" of account "0e0794ce-be4d-401a-84ec-94bbf6a477ae" has the following messages in "Inbox": # :1 -> *scenario | from | to | subject | unread | | john.doe@mail.com | 0e0794ce-be4d-401a-84ec-94bbf6a477ae@proton.local | foo | false | | jane.doe@mail.com | name@proton.local | bar | true | And the address "0e0794ce-be4d-401a-84ec-94bbf6a477ae@proton.local" of account "0e0794ce-be4d-401a-84ec-94bbf6a477ae" has the following messages in "Labels/label2": # :1 -> *scenario | from | to | subject | unread | | john.doe@mail.com | 0e0794ce-be4d-401a-84ec-94bbf6a477ae@proton.local | baz | false | And the address "0e0794ce-be4d-401a-84ec-94bbf6a477ae@proton.local" of account "0e0794ce-be4d-401a-84ec-94bbf6a477ae" has the following messages in "Sent": # :1 -> *scenario | from | to | subject | unread | | john.doe@mail.com | 0e0794ce-be4d-401a-84ec-94bbf6a477ae@proton.local | bax | false | And the address "0e0794ce-be4d-401a-84ec-94bbf6a477ae@proton.local" of account "0e0794ce-be4d-401a-84ec-94bbf6a477ae" has the following messages in "Scheduled": # :1 -> *scenario | from | to | subject | unread | | john.doe@mail.com | 0e0794ce-be4d-401a-84ec-94bbf6a477ae@proton.local | sch | false | Then it succeeds # :1 -> *scenario time="2026-09-17T09:50:22Z" msg="Starting bridge" time="2026-09-17T09:50:22Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/144/config870956538/grpcFocusServerConfig.json /service time="2026-09-17T09:50:22Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/144/cache3520975092/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:50:22Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/144/cache3520975092/notifications/notification_cache: no such file or directory" time="2026-09-17T09:50:22Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/144/data3981879963/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/144/data3981879963/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:50:22Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:50:22Z" msg="Starting IMAP server" time="2026-09-17T09:50:22Z" msg="Starting SMTP server" time="2026-09-17T09:50:22Z" msg="Starting service" time="2026-09-17T09:50:22Z" msg="Starting service" time="2026-09-17T09:50:22Z" msg="Starting poll service" time="2026-09-17T09:50:22Z" msg="Starting frontend service" time="2026-09-17T09:50:22Z" msg="Checking for updates" time="2026-09-17T09:50:22Z" msg="Starting receiver service" time="2026-09-17T09:50:22Z" msg="Loading users" /user time="2026-09-17T09:50:22Z" msg="Finished loading users" /user time="2026-09-17T09:50:22Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/144/config870956538/grpcServerConfig.json time="2026-09-17T09:50:22Z" msg="gRPC server listening on /tmp/bridge6222" time="2026-09-17T09:50:22Z" msg="Frontend service started" time="2026-09-17T09:50:22Z" msg="Starting frontend client" time="2026-09-17T09:50:22Z" msg="Not monitoring parent PID" time="2026-09-17T09:50:22Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:50:22Z" msg="200 OK: GET https://127.0.0.1:41823/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:50:22Z" msg="Frontend client started" When bridge starts # :1 -> *scenario time="2026-09-17T09:50:22Z" msg="Performing full user login" /user username="******** (1ac18cf4)" time="2026-09-17T09:50:22Z" msg="Authorizing user for login" /user username="******** (1ac18cf4)" time="2026-09-17T09:50:22Z" msg="200 OK: POST https://127.0.0.1:41823/auth/v4/info" /manager time="2026-09-17T09:50:22Z" msg="200 OK: POST https://127.0.0.1:41823/auth/v4" /manager time="2026-09-17T09:50:22Z" msg="Logging in authorized user" /user userID=d27cbc96-a598-4d9b-980f-b7491904ed60 time="2026-09-17T09:50:22Z" msg="Adding vault user" userID=d27cbc96-a598-4d9b-980f-b7491904ed60 time="2026-09-17T09:50:22Z" msg="Creating new user" userID=d27cbc96-a598-4d9b-980f-b7491904ed60 time="2026-09-17T09:50:22Z" msg="404 GET https://127.0.0.1:41823/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:50:22Z" msg="404 GET https://127.0.0.1:41823/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:50:22Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:41823/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:50:22Z" msg="Creating user object" authUID=3d27aefa-767a-4e1a-98a3-f49a10187413 numA numL userID=d27cbc96-a598-4d9b-980f-b7491904ed60 time="2026-09-17T09:50:22Z" msg="200 OK: GET https://127.0.0.1:41823/core/v4/events/latest" /client userID=d27cbc96-a598-4d9b-980f-b7491904ed60 time="2026-09-17T09:50:22Z" msg="Starting service Last EventID=CA==" time="2026-09-17T09:50:22Z" msg="200 OK: GET https://127.0.0.1:41823/core/v4/settings" /client userID=d27cbc96-a598-4d9b-980f-b7491904ed60 time="2026-09-17T09:50:22Z" msg="Registering user client, ID:d27cbc96-a598-4d9b-980f-b7491904ed60" time="2026-09-17T09:50:22Z" msg="Starting user identity service" numA time="2026-09-17T09:50:22Z" msg="Starting service main loop" time="2026-09-17T09:50:22Z" msg="Starting service main loop" time="2026-09-17T09:50:22Z" msg="Starting service main loop" time="2026-09-17T09:50:22Z" msg="200 OK: GET https://127.0.0.1:41823/core/v4/labels?T" /client userID=d27cbc96-a598-4d9b-980f-b7491904ed60 time="2026-09-17T09:50:22Z" msg="200 OK: GET https://127.0.0.1:41823/core/v4/labels?T" /client userID=d27cbc96-a598-4d9b-980f-b7491904ed60 time="2026-09-17T09:50:22Z" msg="200 OK: GET https://127.0.0.1:41823/core/v4/labels?T" /client userID=d27cbc96-a598-4d9b-980f-b7491904ed60 time="2026-09-17T09:50:22Z" msg="Setting labels" labelIDs="[1 2 5 8 9 0 3 4 6 7 10 12 6de9d6ae-b476-4b7e-8085-15f1a7c51014 7d95b10e-5041-4789-96a5-7c962e1a1f7d 7ee176e3-d644-40dd-8873-48d1ed88b375]" time="2026-09-17T09:50:22Z" msg="Adding user to imap server" addrID=e412e486-e95c-4f2c-9818-283dd2b255b8 time="2026-09-17T09:50:22Z" msg="Creating new IMAP user" addrID=e412e486-e95c-4f2c-9818-283dd2b255b8 time="2026-09-17T09:50:22Z" msg="Setting gluon ID" addrID=e412e486-e95c-4f2c-9818-283dd2b255b8 gluonID=5a587f3a-d057-4ce0-b681-c55c55c79aac userID=d27cbc96-a598-4d9b-980f-b7491904ed60 time="2026-09-17T09:50:22Z" msg="Created new IMAP user" addrID=e412e486-e95c-4f2c-9818-283dd2b255b8 gluonID=5a587f3a-d057-4ce0-b681-c55c55c79aac time="2026-09-17T09:50:22Z" msg="Validating Listener State" time="2026-09-17T09:50:22Z" msg="Received mailbox message count" gluonID=5a587f3a-d057-4ce0-b681-c55c55c79aac labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:50:22Z" time="2026-09-17T09:50:22Z" msg="Starting IMAP Service" time="2026-09-17T09:50:22Z" msg="Checking whether logged in user should re-sync. UserID:d27cbc96-a598-4d9b-980f-b7491904ed60" userID=d27cbc96-a598-4d9b-980f-b7491904ed60 time="2026-09-17T09:50:22Z" msg="Sync triggered" time="2026-09-17T09:50:22Z" msg="Beginning user sync" start="2026-09-17 09:50:22.610923798 +0000 UTC m=+311.103226134" And the user logs in with username "0e0794ce-be4d-401a-84ec-94bbf6a477ae" and password "password" # :1 -> *scenario time="2026-09-17T09:50:22Z" msg="Syncing labels" time="2026-09-17T09:50:22Z" msg="Label not found in DB, creating mailbox." labelID=6de9d6ae-b476-4b7e-8085-15f1a7c51014 labelPath="jm2pV8GS7FVFPTesFaU5jW/EhDgcEQCxeWTMDFRvNjU=" numberOfC /labelConflictResolver time="2026-09-17T09:50:22Z" msg="Label not found in DB, creating mailbox." labelID=7ee176e3-d644-40dd-8873-48d1ed88b375 labelPath="AUFssb0Jn4BktyyOswfmjNccbC5+NIS37B9EgC88SIg=" numberOfC /labelConflictResolver time="2026-09-17T09:50:22Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=5a587f3a-d057-4ce0-b681-c55c55c79aac time="2026-09-17T09:50:22Z" msg="Label not found in DB, creating mailbox." labelID=7d95b10e-5041-4789-96a5-7c962e1a1f7d labelPath="mHoyd+am6bmNoUvxRZ/ZRvBIQnwu+1OQWf1jSR3oA+s=" numberOfC /labelConflictResolver time="2026-09-17T09:50:22Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=5a587f3a-d057-4ce0-b681-c55c55c79aac time="2026-09-17T09:50:22Z" msg="Mailbox created" /user remoteMailboxID=8 userID=5a587f3a-d057-4ce0-b681-c55c55c79aac time="2026-09-17T09:50:22Z" msg="Mailbox created" /user remoteMailboxID=4 userID=5a587f3a-d057-4ce0-b681-c55c55c79aac time="2026-09-17T09:50:22Z" msg="Mailbox created" /user remoteMailboxID=12 userID=5a587f3a-d057-4ce0-b681-c55c55c79aac time="2026-09-17T09:50:22Z" msg="Mailbox created" /user remoteMailboxID=6de9d6ae-b476-4b7e-8085-15f1a7c51014 userID=5a587f3a-d057-4ce0-b681-c55c55c79aac time="2026-09-17T09:50:22Z" msg="Mailbox created" /user remoteMailboxID=7ee176e3-d644-40dd-8873-48d1ed88b375 userID=5a587f3a-d057-4ce0-b681-c55c55c79aac time="2026-09-17T09:50:22Z" msg="Mailbox created" /user remoteMailboxID=3 userID=5a587f3a-d057-4ce0-b681-c55c55c79aac time="2026-09-17T09:50:22Z" msg="Mailbox created" /user remoteMailboxID=6 userID=5a587f3a-d057-4ce0-b681-c55c55c79aac time="2026-09-17T09:50:22Z" msg="Mailbox created" /user remoteMailboxID=10 userID=5a587f3a-d057-4ce0-b681-c55c55c79aac time="2026-09-17T09:50:22Z" msg="Mailbox created" /user remoteMailboxID=5 userID=5a587f3a-d057-4ce0-b681-c55c55c79aac time="2026-09-17T09:50:22Z" msg="Mailbox created" /user remoteMailboxID=0 userID=5a587f3a-d057-4ce0-b681-c55c55c79aac time="2026-09-17T09:50:22Z" msg="Mailbox created" /user remoteMailboxID=7 userID=5a587f3a-d057-4ce0-b681-c55c55c79aac time="2026-09-17T09:50:22Z" msg="Mailbox created" /user remoteMailboxID=7d95b10e-5041-4789-96a5-7c962e1a1f7d userID=5a587f3a-d057-4ce0-b681-c55c55c79aac time="2026-09-17T09:50:22Z" msg="Synced labels" time="2026-09-17T09:50:22Z" msg="200 OK: GET https://127.0.0.1:41823/mail/v4/messages/count" /client userID=d27cbc96-a598-4d9b-980f-b7491904ed60 time="2026-09-17T09:50:22Z" msg="Syncing messages" time="2026-09-17T09:50:22Z" msg="Job started" time="2026-09-17T09:50:22Z" msg="200 OK: POST https://127.0.0.1:41823/mail/v4/messages" /client userID=d27cbc96-a598-4d9b-980f-b7491904ed60 time="2026-09-17T09:50:22Z" msg="200 OK: POST https://127.0.0.1:41823/mail/v4/messages" /client userID=d27cbc96-a598-4d9b-980f-b7491904ed60 time="2026-09-17T09:50:22Z" msg="Creating new child job" time="2026-09-17T09:50:22Z" msg="Job finished" time="2026-09-17T09:50:22Z" msg="200 OK: GET https://127.0.0.1:41823/mail/v4/messages/76441f86-b70c-46c2-96ec-921bc609c7cd" /client userID=d27cbc96-a598-4d9b-980f-b7491904ed60 time="2026-09-17T09:50:22Z" msg="200 OK: GET https://127.0.0.1:41823/mail/v4/messages/d29e993c-3567-41c1-95d5-b2bc03423002" /client userID=d27cbc96-a598-4d9b-980f-b7491904ed60 time="2026-09-17T09:50:22Z" msg="200 OK: GET https://127.0.0.1:41823/mail/v4/messages/73641c8e-b760-447c-9d06-6a05d1514429" /client userID=d27cbc96-a598-4d9b-980f-b7491904ed60 time="2026-09-17T09:50:22Z" msg="200 OK: GET https://127.0.0.1:41823/mail/v4/messages/7ecbd5d7-911f-46cf-8826-185d01694822" /client userID=d27cbc96-a598-4d9b-980f-b7491904ed60 time="2026-09-17T09:50:22Z" msg="200 OK: GET https://127.0.0.1:41823/mail/v4/messages/e7fd7c72-b83a-4a0f-acf9-c0480cf9de65" /client userID=d27cbc96-a598-4d9b-980f-b7491904ed60 time="2026-09-17T09:50:22Z" msg="Sending observability data." time="2026-09-17T09:50:22Z" msg="200 OK: POST https://127.0.0.1:41823/data/v1/metrics" /client userID=d27cbc96-a598-4d9b-980f-b7491904ed60 time="2026-09-17T09:50:22Z" msg="Successfully sent observability data." time="2026-09-17T09:50:22Z" msg="Scheduling observability data sending" time="2026-09-17T09:50:22Z" msg="Child job finished" time="2026-09-17T09:50:22Z" msg="All child jobs completed" sync- time="2026-09-17T09:50:22Z" msg="Synced messages" time="2026-09-17T09:50:22Z" msg="Finished user sync" .35085ms time="2026-09-17T09:50:22Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:50:22Z" msg="Event loop reset" eventID="CA==" And user "0e0794ce-be4d-401a-84ec-94bbf6a477ae" finishes syncing # :1 -> *scenario And user "0e0794ce-be4d-401a-84ec-94bbf6a477ae" connects and authenticates IMAP client "1" # :1 -> *scenario Then it succeeds # :1 -> *scenario Given test skips reporter checks # :1 -> *scenario time="2026-09-17T09:50:22Z" msg="Command failed" cmd="UID MOVE [1:1] 'g+y1Ib8yD2dyh+i5I4Cbs010utlij3E+0ODOTP4E8vg='" error="operation not allowed" /session When IMAP client "1" moves the message with subject "sch" from "Scheduled" to "Inbox" # :1 -> *scenario Then it fails # :1 -> *scenario time="2026-09-17T09:50:22Z" msg="Frontend service stopped" time="2026-09-17T09:50:22Z" msg="Frontend client stopped" time="2026-09-17T09:50:22Z" msg="Closing bridge" time="2026-09-17T09:50:22Z" msg="Stopping service" time="2026-09-17T09:50:22Z" msg="Closing user" userID=d27cbc96-a598-4d9b-980f-b7491904ed60 time="2026-09-17T09:50:22Z" msg="De-registering user client, ID:d27cbc96-a598-4d9b-980f-b7491904ed60" time="2026-09-17T09:50:22Z" msg="Exiting IMAP Service" time="2026-09-17T09:50:22Z" msg="Exiting service main loop" time="2026-09-17T09:50:22Z" msg="Exiting service main loop" time="2026-09-17T09:50:22Z" msg="Exiting Service" time="2026-09-17T09:50:22Z" msg="Exiting service main loop" time="2026-09-17T09:50:22Z" msg="Exiting service" time="2026-09-17T09:50:22Z" msg="Closing IMAP Listener" time="2026-09-17T09:50:22Z" msg="Closing IMAP server" time="2026-09-17T09:50:22Z" msg="Closing SMTP Listener" time="2026-09-17T09:50:22Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:50:22Z" msg="Closing SMTP server" time="2026-09-17T09:50:22Z" msg="Closing service" And IMAP client "1" eventually sees the following messages in "Scheduled": # :1 -> *scenario | from | to | subject | unread | | john.doe@mail.com | 0e0794ce-be4d-401a-84ec-94bbf6a477ae@proton.local | sch | false | Feature: IMAP change state of message in mailbox time="2026-09-17T09:50:23Z" msg="User 'd920e218-61b8-46df-be34-b32d1cc78716' created with " /server/backend Background: Given there exists an account with username "d920e218-61b8-46df-be34-b32d1cc78716" and password "password" # :1 -> *scenario And the account "d920e218-61b8-46df-be34-b32d1cc78716" has the following custom mailboxes: # :1 -> *scenario | name | type | | one | folder | | two | folder | And the address "d920e218-61b8-46df-be34-b32d1cc78716@proton.local" of account "d920e218-61b8-46df-be34-b32d1cc78716" has 5 messages in "Folders/one" # :1 -> *scenario And the address "d920e218-61b8-46df-be34-b32d1cc78716@proton.local" of account "d920e218-61b8-46df-be34-b32d1cc78716" has 5 messages in "Folders/two" # :1 -> *scenario And the address "d920e218-61b8-46df-be34-b32d1cc78716@proton.local" of account "d920e218-61b8-46df-be34-b32d1cc78716" has the following messages in "Inbox": # :1 -> *scenario | from | to | subject | unread | | a@example.com | b@example.com | one | true | | c@example.com | d@example.com | two | false | time="2026-09-17T09:50:26Z" msg="Starting bridge" time="2026-09-17T09:50:26Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/145/config3989312153/grpcFocusServerConfig.json /service time="2026-09-17T09:50:26Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/145/cache2389297515/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:50:26Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/145/cache2389297515/notifications/notification_cache: no such file or directory" time="2026-09-17T09:50:26Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/145/data4265168318/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/145/data4265168318/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:50:26Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:50:26Z" msg="Starting IMAP server" time="2026-09-17T09:50:26Z" msg="Starting SMTP server" time="2026-09-17T09:50:26Z" msg="Starting service" time="2026-09-17T09:50:26Z" msg="Starting service" time="2026-09-17T09:50:26Z" msg="Starting frontend service" time="2026-09-17T09:50:26Z" msg="Starting poll service" time="2026-09-17T09:50:26Z" msg="Starting receiver service" time="2026-09-17T09:50:26Z" msg="Loading users" /user time="2026-09-17T09:50:26Z" msg="Finished loading users" /user time="2026-09-17T09:50:26Z" msg="Checking for updates" time="2026-09-17T09:50:26Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/145/config3989312153/grpcServerConfig.json time="2026-09-17T09:50:26Z" msg="gRPC server listening on /tmp/bridge7728" time="2026-09-17T09:50:26Z" msg="Frontend service started" time="2026-09-17T09:50:26Z" msg="Starting frontend client" time="2026-09-17T09:50:26Z" msg="Not monitoring parent PID" time="2026-09-17T09:50:26Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:50:26Z" msg="Frontend client started" And bridge starts # :1 -> *scenario time="2026-09-17T09:50:26Z" msg="200 OK: GET https://127.0.0.1:32811/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:50:26Z" msg="Performing full user login" /user username="******** (ad40ed84)" time="2026-09-17T09:50:26Z" msg="Authorizing user for login" /user username="******** (ad40ed84)" time="2026-09-17T09:50:26Z" msg="200 OK: POST https://127.0.0.1:32811/auth/v4/info" /manager time="2026-09-17T09:50:26Z" msg="200 OK: POST https://127.0.0.1:32811/auth/v4" /manager time="2026-09-17T09:50:26Z" msg="Logging in authorized user" /user userID=8790f1cd-3ebb-4c4c-9d87-2940a6d3b7e7 time="2026-09-17T09:50:26Z" msg="Adding vault user" userID=8790f1cd-3ebb-4c4c-9d87-2940a6d3b7e7 time="2026-09-17T09:50:26Z" msg="Creating new user" userID=8790f1cd-3ebb-4c4c-9d87-2940a6d3b7e7 time="2026-09-17T09:50:26Z" msg="404 GET https://127.0.0.1:32811/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:50:26Z" msg="404 GET https://127.0.0.1:32811/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:50:26Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:32811/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:50:26Z" msg="Creating user object" authUID=22d65821-24c8-4317-bef8-06b455c771f5 numA numL userID=8790f1cd-3ebb-4c4c-9d87-2940a6d3b7e7 time="2026-09-17T09:50:26Z" msg="200 OK: GET https://127.0.0.1:32811/core/v4/events/latest" /client userID=8790f1cd-3ebb-4c4c-9d87-2940a6d3b7e7 time="2026-09-17T09:50:26Z" msg="Starting service Last EventID=Dg==" time="2026-09-17T09:50:26Z" msg="200 OK: GET https://127.0.0.1:32811/core/v4/settings" /client userID=8790f1cd-3ebb-4c4c-9d87-2940a6d3b7e7 time="2026-09-17T09:50:26Z" msg="Registering user client, ID:8790f1cd-3ebb-4c4c-9d87-2940a6d3b7e7" time="2026-09-17T09:50:26Z" msg="Starting user identity service" numA time="2026-09-17T09:50:26Z" msg="Starting service main loop" time="2026-09-17T09:50:26Z" msg="Starting service main loop" time="2026-09-17T09:50:26Z" msg="Starting service main loop" time="2026-09-17T09:50:26Z" msg="200 OK: GET https://127.0.0.1:32811/core/v4/labels?T" /client userID=8790f1cd-3ebb-4c4c-9d87-2940a6d3b7e7 time="2026-09-17T09:50:26Z" msg="200 OK: GET https://127.0.0.1:32811/core/v4/labels?T" /client userID=8790f1cd-3ebb-4c4c-9d87-2940a6d3b7e7 time="2026-09-17T09:50:26Z" msg="200 OK: GET https://127.0.0.1:32811/core/v4/labels?T" /client userID=8790f1cd-3ebb-4c4c-9d87-2940a6d3b7e7 time="2026-09-17T09:50:26Z" msg="Setting labels" labelIDs="[2 3 4 5 7 8 10 12 0 1 6 9 ed94a2c3-a5ea-46c4-8872-75c2ccc5dbfa 36bf44fa-3c49-4a29-8000-85188ea43921]" time="2026-09-17T09:50:26Z" msg="Adding user to imap server" addrID=749c4e55-573d-4806-b52c-5932bb935466 time="2026-09-17T09:50:26Z" msg="Creating new IMAP user" addrID=749c4e55-573d-4806-b52c-5932bb935466 time="2026-09-17T09:50:26Z" msg="Setting gluon ID" addrID=749c4e55-573d-4806-b52c-5932bb935466 gluonID=2c2775c6-b811-4cc4-8a44-5be461f5567d userID=8790f1cd-3ebb-4c4c-9d87-2940a6d3b7e7 time="2026-09-17T09:50:26Z" msg="Received mailbox message count" gluonID=2c2775c6-b811-4cc4-8a44-5be461f5567d labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:50:26Z" msg="Created new IMAP user" addrID=749c4e55-573d-4806-b52c-5932bb935466 gluonID=2c2775c6-b811-4cc4-8a44-5be461f5567d time="2026-09-17T09:50:26Z" msg="Validating Listener State" time="2026-09-17T09:50:26Z" time="2026-09-17T09:50:26Z" msg="Starting IMAP Service" time="2026-09-17T09:50:26Z" msg="Checking whether logged in user should re-sync. UserID:8790f1cd-3ebb-4c4c-9d87-2940a6d3b7e7" userID=8790f1cd-3ebb-4c4c-9d87-2940a6d3b7e7 And the user logs in with username "d920e218-61b8-46df-be34-b32d1cc78716" and password "password" # :1 -> *scenario time="2026-09-17T09:50:26Z" msg="Sync triggered" time="2026-09-17T09:50:26Z" msg="Beginning user sync" start="2026-09-17 09:50:26.578078229 +0000 UTC m=+315.070380525" time="2026-09-17T09:50:26Z" msg="Syncing labels" time="2026-09-17T09:50:26Z" msg="Label not found in DB, creating mailbox." labelID=ed94a2c3-a5ea-46c4-8872-75c2ccc5dbfa labelPath="RPijXXq+/66TBq1ekOxGR3YfSJRztJQJY+kK3/gH+Uo=" numberOfC /labelConflictResolver time="2026-09-17T09:50:26Z" msg="Label not found in DB, creating mailbox." labelID=36bf44fa-3c49-4a29-8000-85188ea43921 labelPath="AuO2iVbU1q9LVsySXNr4nwhO38HWlDdfMbr5xs56MzY=" numberOfC /labelConflictResolver time="2026-09-17T09:50:26Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=2c2775c6-b811-4cc4-8a44-5be461f5567d time="2026-09-17T09:50:26Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=2c2775c6-b811-4cc4-8a44-5be461f5567d time="2026-09-17T09:50:26Z" msg="Mailbox created" /user remoteMailboxID=3 userID=2c2775c6-b811-4cc4-8a44-5be461f5567d time="2026-09-17T09:50:26Z" msg="Mailbox created" /user remoteMailboxID=4 userID=2c2775c6-b811-4cc4-8a44-5be461f5567d time="2026-09-17T09:50:26Z" msg="Mailbox created" /user remoteMailboxID=5 userID=2c2775c6-b811-4cc4-8a44-5be461f5567d time="2026-09-17T09:50:26Z" msg="Mailbox created" /user remoteMailboxID=10 userID=2c2775c6-b811-4cc4-8a44-5be461f5567d time="2026-09-17T09:50:26Z" msg="Mailbox created" /user remoteMailboxID=12 userID=2c2775c6-b811-4cc4-8a44-5be461f5567d time="2026-09-17T09:50:26Z" msg="Mailbox created" /user remoteMailboxID=0 userID=2c2775c6-b811-4cc4-8a44-5be461f5567d time="2026-09-17T09:50:26Z" msg="Mailbox created" /user remoteMailboxID=ed94a2c3-a5ea-46c4-8872-75c2ccc5dbfa userID=2c2775c6-b811-4cc4-8a44-5be461f5567d time="2026-09-17T09:50:26Z" msg="Mailbox created" /user remoteMailboxID=7 userID=2c2775c6-b811-4cc4-8a44-5be461f5567d time="2026-09-17T09:50:26Z" msg="Mailbox created" /user remoteMailboxID=8 userID=2c2775c6-b811-4cc4-8a44-5be461f5567d time="2026-09-17T09:50:26Z" msg="Mailbox created" /user remoteMailboxID=6 userID=2c2775c6-b811-4cc4-8a44-5be461f5567d time="2026-09-17T09:50:26Z" msg="Mailbox created" /user remoteMailboxID=36bf44fa-3c49-4a29-8000-85188ea43921 userID=2c2775c6-b811-4cc4-8a44-5be461f5567d time="2026-09-17T09:50:26Z" msg="Synced labels" time="2026-09-17T09:50:26Z" msg="200 OK: GET https://127.0.0.1:32811/mail/v4/messages/count" /client userID=8790f1cd-3ebb-4c4c-9d87-2940a6d3b7e7 time="2026-09-17T09:50:26Z" msg="Syncing messages" time="2026-09-17T09:50:26Z" msg="Job started" time="2026-09-17T09:50:26Z" msg="200 OK: POST https://127.0.0.1:32811/mail/v4/messages" /client userID=8790f1cd-3ebb-4c4c-9d87-2940a6d3b7e7 time="2026-09-17T09:50:26Z" msg="200 OK: POST https://127.0.0.1:32811/mail/v4/messages" /client userID=8790f1cd-3ebb-4c4c-9d87-2940a6d3b7e7 time="2026-09-17T09:50:26Z" msg="Creating new child job" time="2026-09-17T09:50:26Z" msg="Job finished" time="2026-09-17T09:50:26Z" msg="200 OK: GET https://127.0.0.1:32811/mail/v4/messages/6e190bcf-4a33-4416-bbab-b3c454f8d32c" /client userID=8790f1cd-3ebb-4c4c-9d87-2940a6d3b7e7 time="2026-09-17T09:50:26Z" msg="200 OK: GET https://127.0.0.1:32811/mail/v4/messages/afbe9c10-d453-48ae-905b-dce21b5e94b0" /client userID=8790f1cd-3ebb-4c4c-9d87-2940a6d3b7e7 time="2026-09-17T09:50:26Z" msg="200 OK: GET https://127.0.0.1:32811/mail/v4/messages/f56f4b03-3d99-4ad6-97db-3d1d3cbe3b6d" /client userID=8790f1cd-3ebb-4c4c-9d87-2940a6d3b7e7 time="2026-09-17T09:50:26Z" msg="200 OK: GET https://127.0.0.1:32811/mail/v4/messages/c9d6b8c1-b155-41a1-81b0-cfefc4898258" /client userID=8790f1cd-3ebb-4c4c-9d87-2940a6d3b7e7 time="2026-09-17T09:50:26Z" msg="200 OK: GET https://127.0.0.1:32811/mail/v4/messages/491454c4-b0d0-4313-b1d2-7e05c725aedb" /client userID=8790f1cd-3ebb-4c4c-9d87-2940a6d3b7e7 time="2026-09-17T09:50:26Z" msg="200 OK: GET https://127.0.0.1:32811/mail/v4/messages/03b382d4-5538-44f1-a26d-38b5acdfba01" /client userID=8790f1cd-3ebb-4c4c-9d87-2940a6d3b7e7 time="2026-09-17T09:50:26Z" msg="200 OK: GET https://127.0.0.1:32811/mail/v4/messages/2d8d1aba-6d39-487c-8c80-9d5277e48f77" /client userID=8790f1cd-3ebb-4c4c-9d87-2940a6d3b7e7 time="2026-09-17T09:50:26Z" msg="200 OK: GET https://127.0.0.1:32811/mail/v4/messages/a31fd3c4-95ce-42ec-8428-f34a0361b67d" /client userID=8790f1cd-3ebb-4c4c-9d87-2940a6d3b7e7 time="2026-09-17T09:50:26Z" msg="200 OK: GET https://127.0.0.1:32811/mail/v4/messages/dfe07117-6e9e-4bb7-99d3-d2537c7963dc" /client userID=8790f1cd-3ebb-4c4c-9d87-2940a6d3b7e7 time="2026-09-17T09:50:26Z" msg="200 OK: GET https://127.0.0.1:32811/mail/v4/messages/41a03270-c67e-412b-9dff-3136d195634d" /client userID=8790f1cd-3ebb-4c4c-9d87-2940a6d3b7e7 time="2026-09-17T09:50:26Z" msg="200 OK: GET https://127.0.0.1:32811/mail/v4/messages/56e7f829-23d0-43f8-a8da-734b8bfbc33d" /client userID=8790f1cd-3ebb-4c4c-9d87-2940a6d3b7e7 time="2026-09-17T09:50:26Z" msg="200 OK: GET https://127.0.0.1:32811/mail/v4/messages/8c1f8137-531e-4816-87e9-532b9a799ef4" /client userID=8790f1cd-3ebb-4c4c-9d87-2940a6d3b7e7 time="2026-09-17T09:50:26Z" msg="Sending observability data." time="2026-09-17T09:50:26Z" msg="200 OK: POST https://127.0.0.1:32811/data/v1/metrics" /client userID=8790f1cd-3ebb-4c4c-9d87-2940a6d3b7e7 time="2026-09-17T09:50:26Z" msg="Successfully sent observability data." time="2026-09-17T09:50:26Z" msg="Scheduling observability data sending" time="2026-09-17T09:50:26Z" msg="Child job finished" time="2026-09-17T09:50:26Z" msg="All child jobs completed" sync- time="2026-09-17T09:50:26Z" msg="Synced messages" time="2026-09-17T09:50:26Z" msg="Finished user sync" .268432ms time="2026-09-17T09:50:26Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:50:26Z" msg="Event loop reset" eventID="Dg==" And user "d920e218-61b8-46df-be34-b32d1cc78716" finishes syncing # :1 -> *scenario And user "d920e218-61b8-46df-be34-b32d1cc78716" connects and authenticates IMAP client "1" # :1 -> *scenario Scenario: Mark message as read # features/imap/message/state.feature:19 When IMAP client "1" selects "Folders/one" # :1 -> *scenario And IMAP client "1" marks message 1 as "read" # :1 -> *scenario And it succeeds # :1 -> *scenario time="2026-09-17T09:50:26Z" msg="Frontend service stopped" time="2026-09-17T09:50:26Z" msg="Frontend client stopped" time="2026-09-17T09:50:26Z" msg="Closing bridge" time="2026-09-17T09:50:26Z" msg="Stopping service" time="2026-09-17T09:50:26Z" msg="Closing user" userID=8790f1cd-3ebb-4c4c-9d87-2940a6d3b7e7 time="2026-09-17T09:50:26Z" msg="De-registering user client, ID:8790f1cd-3ebb-4c4c-9d87-2940a6d3b7e7" time="2026-09-17T09:50:26Z" msg="Exiting IMAP Service" time="2026-09-17T09:50:26Z" msg="Exiting service main loop" time="2026-09-17T09:50:26Z" msg="Exiting service main loop" time="2026-09-17T09:50:26Z" msg="Exiting Service" time="2026-09-17T09:50:26Z" msg="Exiting service main loop" time="2026-09-17T09:50:26Z" msg="Exiting service" time="2026-09-17T09:50:26Z" msg="Closing IMAP Listener" time="2026-09-17T09:50:26Z" msg="Closing IMAP server" time="2026-09-17T09:50:26Z" msg="Closing SMTP Listener" time="2026-09-17T09:50:26Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:50:26Z" msg="Closing SMTP server" time="2026-09-17T09:50:26Z" msg="Closing service" Then IMAP client "1" eventually sees that message at row 1 has the flag "\Seen" # :1 -> *scenario time="2026-09-17T09:50:26Z" msg="User '4aef4192-0c8d-4f09-a661-abf564beaa68' created with " /server/backend time="2026-09-17T09:50:30Z" msg="Starting bridge" time="2026-09-17T09:50:30Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/146/config179072592/grpcFocusServerConfig.json /service time="2026-09-17T09:50:30Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/146/cache3461699286/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:50:30Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/146/cache3461699286/notifications/notification_cache: no such file or directory" time="2026-09-17T09:50:30Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/146/data3817192484/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/146/data3817192484/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:50:30Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:50:30Z" msg="Starting IMAP server" time="2026-09-17T09:50:30Z" msg="Starting SMTP server" time="2026-09-17T09:50:30Z" msg="Starting service" time="2026-09-17T09:50:30Z" msg="Starting service" time="2026-09-17T09:50:30Z" msg="Starting receiver service" time="2026-09-17T09:50:30Z" msg="Starting poll service" time="2026-09-17T09:50:30Z" msg="Loading users" /user time="2026-09-17T09:50:30Z" msg="Finished loading users" /user time="2026-09-17T09:50:30Z" msg="Starting frontend service" time="2026-09-17T09:50:30Z" msg="Checking for updates" time="2026-09-17T09:50:30Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/146/config179072592/grpcServerConfig.json time="2026-09-17T09:50:30Z" msg="gRPC server listening on /tmp/bridge0079" time="2026-09-17T09:50:30Z" msg="Frontend service started" time="2026-09-17T09:50:30Z" msg="Starting frontend client" time="2026-09-17T09:50:30Z" msg="Not monitoring parent PID" time="2026-09-17T09:50:30Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:50:30Z" msg="200 OK: GET https://127.0.0.1:33629/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:50:30Z" msg="Frontend client started" time="2026-09-17T09:50:30Z" msg="Performing full user login" /user username="******** (d9474e98)" time="2026-09-17T09:50:30Z" msg="Authorizing user for login" /user username="******** (d9474e98)" time="2026-09-17T09:50:30Z" msg="200 OK: POST https://127.0.0.1:33629/auth/v4/info" /manager time="2026-09-17T09:50:30Z" msg="200 OK: POST https://127.0.0.1:33629/auth/v4" /manager time="2026-09-17T09:50:30Z" msg="Logging in authorized user" /user userID=0136f8ab-8170-4fc3-9215-67990d3fb8ca time="2026-09-17T09:50:30Z" msg="Adding vault user" userID=0136f8ab-8170-4fc3-9215-67990d3fb8ca time="2026-09-17T09:50:30Z" msg="Creating new user" userID=0136f8ab-8170-4fc3-9215-67990d3fb8ca time="2026-09-17T09:50:30Z" msg="404 GET https://127.0.0.1:33629/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:50:30Z" msg="404 GET https://127.0.0.1:33629/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:50:30Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:33629/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:50:30Z" msg="Creating user object" authUID=83345533-b92c-4c68-8ccd-42b14013a9e6 numA numL userID=0136f8ab-8170-4fc3-9215-67990d3fb8ca time="2026-09-17T09:50:30Z" msg="200 OK: GET https://127.0.0.1:33629/core/v4/events/latest" /client userID=0136f8ab-8170-4fc3-9215-67990d3fb8ca time="2026-09-17T09:50:30Z" msg="Starting service Last EventID=Dg==" time="2026-09-17T09:50:30Z" msg="200 OK: GET https://127.0.0.1:33629/core/v4/settings" /client userID=0136f8ab-8170-4fc3-9215-67990d3fb8ca time="2026-09-17T09:50:30Z" msg="Registering user client, ID:0136f8ab-8170-4fc3-9215-67990d3fb8ca" time="2026-09-17T09:50:30Z" msg="Starting service main loop" time="2026-09-17T09:50:30Z" msg="Starting service main loop" time="2026-09-17T09:50:30Z" msg="Starting user identity service" numA time="2026-09-17T09:50:30Z" msg="Starting service main loop" time="2026-09-17T09:50:30Z" msg="200 OK: GET https://127.0.0.1:33629/core/v4/labels?T" /client userID=0136f8ab-8170-4fc3-9215-67990d3fb8ca time="2026-09-17T09:50:30Z" msg="200 OK: GET https://127.0.0.1:33629/core/v4/labels?T" /client userID=0136f8ab-8170-4fc3-9215-67990d3fb8ca time="2026-09-17T09:50:30Z" msg="200 OK: GET https://127.0.0.1:33629/core/v4/labels?T" /client userID=0136f8ab-8170-4fc3-9215-67990d3fb8ca time="2026-09-17T09:50:30Z" msg="Setting labels" labelIDs="[2 3 4 9 12 0 1 5 6 7 8 10 08151839-5edc-460b-936c-41c00392ff71 2f9b015e-712a-407a-aaae-cc746e2b426f]" time="2026-09-17T09:50:30Z" msg="Adding user to imap server" addrID=4ede5477-8013-46e4-80e7-22e209874a1d time="2026-09-17T09:50:30Z" msg="Creating new IMAP user" addrID=4ede5477-8013-46e4-80e7-22e209874a1d time="2026-09-17T09:50:30Z" msg="Setting gluon ID" addrID=4ede5477-8013-46e4-80e7-22e209874a1d gluonID=f9a8d16e-4054-40c2-a3e3-bed610c480ac userID=0136f8ab-8170-4fc3-9215-67990d3fb8ca time="2026-09-17T09:50:30Z" msg="Received mailbox message count" gluonID=f9a8d16e-4054-40c2-a3e3-bed610c480ac labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:50:30Z" msg="Created new IMAP user" addrID=4ede5477-8013-46e4-80e7-22e209874a1d gluonID=f9a8d16e-4054-40c2-a3e3-bed610c480ac time="2026-09-17T09:50:30Z" msg="Validating Listener State" time="2026-09-17T09:50:30Z" time="2026-09-17T09:50:30Z" msg="Starting IMAP Service" time="2026-09-17T09:50:30Z" msg="Checking whether logged in user should re-sync. UserID:0136f8ab-8170-4fc3-9215-67990d3fb8ca" userID=0136f8ab-8170-4fc3-9215-67990d3fb8ca time="2026-09-17T09:50:30Z" msg="Sync triggered" time="2026-09-17T09:50:30Z" msg="Beginning user sync" start="2026-09-17 09:50:30.558034121 +0000 UTC m=+319.050336417" time="2026-09-17T09:50:30Z" msg="Syncing labels" time="2026-09-17T09:50:30Z" msg="Label not found in DB, creating mailbox." labelID=08151839-5edc-460b-936c-41c00392ff71 labelPath="RPijXXq+/66TBq1ekOxGR3YfSJRztJQJY+kK3/gH+Uo=" numberOfC /labelConflictResolver time="2026-09-17T09:50:30Z" msg="Label not found in DB, creating mailbox." labelID=2f9b015e-712a-407a-aaae-cc746e2b426f labelPath="AuO2iVbU1q9LVsySXNr4nwhO38HWlDdfMbr5xs56MzY=" numberOfC /labelConflictResolver time="2026-09-17T09:50:30Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=f9a8d16e-4054-40c2-a3e3-bed610c480ac time="2026-09-17T09:50:30Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=f9a8d16e-4054-40c2-a3e3-bed610c480ac time="2026-09-17T09:50:30Z" msg="Mailbox created" /user remoteMailboxID=6 userID=f9a8d16e-4054-40c2-a3e3-bed610c480ac time="2026-09-17T09:50:30Z" msg="Mailbox created" /user remoteMailboxID=10 userID=f9a8d16e-4054-40c2-a3e3-bed610c480ac time="2026-09-17T09:50:30Z" msg="Mailbox created" /user remoteMailboxID=08151839-5edc-460b-936c-41c00392ff71 userID=f9a8d16e-4054-40c2-a3e3-bed610c480ac time="2026-09-17T09:50:30Z" msg="Mailbox created" /user remoteMailboxID=2f9b015e-712a-407a-aaae-cc746e2b426f userID=f9a8d16e-4054-40c2-a3e3-bed610c480ac time="2026-09-17T09:50:30Z" msg="Mailbox created" /user remoteMailboxID=3 userID=f9a8d16e-4054-40c2-a3e3-bed610c480ac time="2026-09-17T09:50:30Z" msg="Mailbox created" /user remoteMailboxID=5 userID=f9a8d16e-4054-40c2-a3e3-bed610c480ac time="2026-09-17T09:50:30Z" msg="Mailbox created" /user remoteMailboxID=7 userID=f9a8d16e-4054-40c2-a3e3-bed610c480ac time="2026-09-17T09:50:30Z" msg="Mailbox created" /user remoteMailboxID=8 userID=f9a8d16e-4054-40c2-a3e3-bed610c480ac time="2026-09-17T09:50:30Z" msg="Mailbox created" /user remoteMailboxID=4 userID=f9a8d16e-4054-40c2-a3e3-bed610c480ac time="2026-09-17T09:50:30Z" msg="Mailbox created" /user remoteMailboxID=12 userID=f9a8d16e-4054-40c2-a3e3-bed610c480ac time="2026-09-17T09:50:30Z" msg="Mailbox created" /user remoteMailboxID=0 userID=f9a8d16e-4054-40c2-a3e3-bed610c480ac time="2026-09-17T09:50:30Z" msg="Synced labels" time="2026-09-17T09:50:30Z" msg="200 OK: GET https://127.0.0.1:33629/mail/v4/messages/count" /client userID=0136f8ab-8170-4fc3-9215-67990d3fb8ca time="2026-09-17T09:50:30Z" msg="Syncing messages" time="2026-09-17T09:50:30Z" msg="Job started" time="2026-09-17T09:50:30Z" msg="200 OK: POST https://127.0.0.1:33629/mail/v4/messages" /client userID=0136f8ab-8170-4fc3-9215-67990d3fb8ca time="2026-09-17T09:50:30Z" msg="200 OK: POST https://127.0.0.1:33629/mail/v4/messages" /client userID=0136f8ab-8170-4fc3-9215-67990d3fb8ca time="2026-09-17T09:50:30Z" msg="Creating new child job" time="2026-09-17T09:50:30Z" msg="Job finished" time="2026-09-17T09:50:30Z" msg="200 OK: GET https://127.0.0.1:33629/mail/v4/messages/a1ff40a1-9982-4ce8-99cb-813b6fd7640a" /client userID=0136f8ab-8170-4fc3-9215-67990d3fb8ca time="2026-09-17T09:50:30Z" msg="200 OK: GET https://127.0.0.1:33629/mail/v4/messages/0d7372c7-2849-42c4-b950-ed59d36202d0" /client userID=0136f8ab-8170-4fc3-9215-67990d3fb8ca time="2026-09-17T09:50:30Z" msg="200 OK: GET https://127.0.0.1:33629/mail/v4/messages/0e01b6ea-6a3a-418b-8d29-b6cc24d53d0b" /client userID=0136f8ab-8170-4fc3-9215-67990d3fb8ca time="2026-09-17T09:50:30Z" msg="200 OK: GET https://127.0.0.1:33629/mail/v4/messages/27c56058-7b5e-4d7b-ad6b-96e10b2040e7" /client userID=0136f8ab-8170-4fc3-9215-67990d3fb8ca time="2026-09-17T09:50:30Z" msg="200 OK: GET https://127.0.0.1:33629/mail/v4/messages/35a95c26-8f7d-4519-8bfc-fe83e2acf3c0" /client userID=0136f8ab-8170-4fc3-9215-67990d3fb8ca time="2026-09-17T09:50:30Z" msg="200 OK: GET https://127.0.0.1:33629/mail/v4/messages/63cbd821-f4d2-43ab-89c4-f7ae1cdcb659" /client userID=0136f8ab-8170-4fc3-9215-67990d3fb8ca time="2026-09-17T09:50:30Z" msg="200 OK: GET https://127.0.0.1:33629/mail/v4/messages/7472f492-1369-4168-bb2f-e6744196edc8" /client userID=0136f8ab-8170-4fc3-9215-67990d3fb8ca time="2026-09-17T09:50:30Z" msg="200 OK: GET https://127.0.0.1:33629/mail/v4/messages/b99324ba-77eb-497e-9fc5-15aecbed4aa2" /client userID=0136f8ab-8170-4fc3-9215-67990d3fb8ca time="2026-09-17T09:50:30Z" msg="200 OK: GET https://127.0.0.1:33629/mail/v4/messages/54209c0b-bae4-46c6-a047-df995b7dcfe3" /client userID=0136f8ab-8170-4fc3-9215-67990d3fb8ca time="2026-09-17T09:50:30Z" msg="200 OK: GET https://127.0.0.1:33629/mail/v4/messages/4050b4f0-7a05-4b93-9e35-4dde02fde404" /client userID=0136f8ab-8170-4fc3-9215-67990d3fb8ca time="2026-09-17T09:50:30Z" msg="200 OK: GET https://127.0.0.1:33629/mail/v4/messages/8aefb155-2de1-4f22-90e0-86fb95a81cfe" /client userID=0136f8ab-8170-4fc3-9215-67990d3fb8ca time="2026-09-17T09:50:30Z" msg="200 OK: GET https://127.0.0.1:33629/mail/v4/messages/2ed79c0d-afce-40e5-bbdb-cb00d8e87417" /client userID=0136f8ab-8170-4fc3-9215-67990d3fb8ca time="2026-09-17T09:50:30Z" msg="Sending observability data." time="2026-09-17T09:50:30Z" msg="200 OK: POST https://127.0.0.1:33629/data/v1/metrics" /client userID=0136f8ab-8170-4fc3-9215-67990d3fb8ca time="2026-09-17T09:50:30Z" msg="Successfully sent observability data." time="2026-09-17T09:50:30Z" msg="Scheduling observability data sending" time="2026-09-17T09:50:30Z" msg="Child job finished" time="2026-09-17T09:50:30Z" msg="All child jobs completed" sync- time="2026-09-17T09:50:30Z" msg="Synced messages" time="2026-09-17T09:50:30Z" msg="Finished user sync" .527718ms time="2026-09-17T09:50:30Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:50:30Z" msg="Event loop reset" eventID="Dg==" Scenario: Mark message as unread # features/imap/message/state.feature:25 When IMAP client "1" selects "Folders/one" # :1 -> *scenario time="2026-09-17T09:50:30Z" msg="200 OK: PUT https://127.0.0.1:33629/mail/v4/messages/unread" /client userID=0136f8ab-8170-4fc3-9215-67990d3fb8ca And IMAP client "1" marks message 1 as "unread" # :1 -> *scenario And it succeeds # :1 -> *scenario time="2026-09-17T09:50:30Z" msg="Frontend service stopped" time="2026-09-17T09:50:30Z" msg="Frontend client stopped" time="2026-09-17T09:50:30Z" msg="Closing bridge" time="2026-09-17T09:50:30Z" msg="Stopping service" time="2026-09-17T09:50:30Z" msg="Closing user" userID=0136f8ab-8170-4fc3-9215-67990d3fb8ca time="2026-09-17T09:50:30Z" msg="De-registering user client, ID:0136f8ab-8170-4fc3-9215-67990d3fb8ca" time="2026-09-17T09:50:30Z" msg="Exiting IMAP Service" time="2026-09-17T09:50:30Z" msg="Exiting service main loop" time="2026-09-17T09:50:30Z" msg="Exiting service main loop" time="2026-09-17T09:50:30Z" msg="Exiting Service" time="2026-09-17T09:50:30Z" msg="Exiting service main loop" time="2026-09-17T09:50:30Z" msg="Exiting service" time="2026-09-17T09:50:30Z" msg="Closing IMAP Listener" time="2026-09-17T09:50:30Z" msg="Closing IMAP server" time="2026-09-17T09:50:30Z" msg="Closing SMTP Listener" time="2026-09-17T09:50:30Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:50:30Z" msg="Closing SMTP server" time="2026-09-17T09:50:30Z" msg="Closing service" 2026/09/17 09:50:30 http: TLS handshake error from 127.0.0.1:38582: write tcp 127.0.0.1:33629->127.0.0.1:38582: use of closed network connection Then IMAP client "1" eventually sees that message at row 1 does not have the flag "\Seen" # :1 -> *scenario time="2026-09-17T09:50:30Z" msg="User '780c32a6-6a7d-4c38-bcf3-9b73b61dfb57' created with " /server/backend time="2026-09-17T09:50:33Z" msg="Starting bridge" time="2026-09-17T09:50:33Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/147/config1015588842/grpcFocusServerConfig.json /service time="2026-09-17T09:50:33Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/147/cache3568907196/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:50:33Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/147/cache3568907196/notifications/notification_cache: no such file or directory" time="2026-09-17T09:50:33Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/147/data407843738/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/147/data407843738/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:50:33Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:50:33Z" msg="Starting IMAP server" time="2026-09-17T09:50:33Z" msg="Starting SMTP server" time="2026-09-17T09:50:33Z" msg="Starting service" time="2026-09-17T09:50:33Z" msg="Starting service" time="2026-09-17T09:50:33Z" msg="Starting frontend service" time="2026-09-17T09:50:33Z" msg="Starting poll service" time="2026-09-17T09:50:33Z" msg="Starting receiver service" time="2026-09-17T09:50:33Z" msg="Loading users" /user time="2026-09-17T09:50:33Z" msg="Checking for updates" time="2026-09-17T09:50:33Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/147/config1015588842/grpcServerConfig.json time="2026-09-17T09:50:33Z" msg="Finished loading users" /user time="2026-09-17T09:50:33Z" msg="gRPC server listening on /tmp/bridge0116" time="2026-09-17T09:50:33Z" msg="Frontend service started" time="2026-09-17T09:50:33Z" msg="Starting frontend client" time="2026-09-17T09:50:33Z" msg="Not monitoring parent PID" time="2026-09-17T09:50:33Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:50:33Z" msg="Frontend client started" time="2026-09-17T09:50:33Z" msg="Performing full user login" /user username="******** (369fc4cc)" time="2026-09-17T09:50:33Z" msg="Authorizing user for login" /user username="******** (369fc4cc)" time="2026-09-17T09:50:33Z" msg="200 OK: GET https://127.0.0.1:38885/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:50:34Z" msg="200 OK: POST https://127.0.0.1:38885/auth/v4/info" /manager time="2026-09-17T09:50:34Z" msg="200 OK: POST https://127.0.0.1:38885/auth/v4" /manager time="2026-09-17T09:50:34Z" msg="Logging in authorized user" /user userID=97bfcd0a-119c-4679-86bd-65e3bff58a7f time="2026-09-17T09:50:34Z" msg="Adding vault user" userID=97bfcd0a-119c-4679-86bd-65e3bff58a7f time="2026-09-17T09:50:34Z" msg="Creating new user" userID=97bfcd0a-119c-4679-86bd-65e3bff58a7f time="2026-09-17T09:50:34Z" msg="404 GET https://127.0.0.1:38885/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:50:34Z" msg="404 GET https://127.0.0.1:38885/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:50:34Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:38885/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:50:34Z" msg="Creating user object" authUID=8a1e1e6b-d41e-425c-8511-16588764750c numA numL userID=97bfcd0a-119c-4679-86bd-65e3bff58a7f time="2026-09-17T09:50:34Z" msg="200 OK: GET https://127.0.0.1:38885/core/v4/events/latest" /client userID=97bfcd0a-119c-4679-86bd-65e3bff58a7f time="2026-09-17T09:50:34Z" msg="Starting service Last EventID=Dg==" time="2026-09-17T09:50:34Z" msg="200 OK: GET https://127.0.0.1:38885/core/v4/settings" /client userID=97bfcd0a-119c-4679-86bd-65e3bff58a7f time="2026-09-17T09:50:34Z" msg="Registering user client, ID:97bfcd0a-119c-4679-86bd-65e3bff58a7f" time="2026-09-17T09:50:34Z" msg="Starting service main loop" time="2026-09-17T09:50:34Z" msg="Starting user identity service" numA time="2026-09-17T09:50:34Z" msg="Starting service main loop" time="2026-09-17T09:50:34Z" msg="Starting service main loop" time="2026-09-17T09:50:34Z" msg="200 OK: GET https://127.0.0.1:38885/core/v4/labels?T" /client userID=97bfcd0a-119c-4679-86bd-65e3bff58a7f time="2026-09-17T09:50:34Z" msg="200 OK: GET https://127.0.0.1:38885/core/v4/labels?T" /client userID=97bfcd0a-119c-4679-86bd-65e3bff58a7f time="2026-09-17T09:50:34Z" msg="200 OK: GET https://127.0.0.1:38885/core/v4/labels?T" /client userID=97bfcd0a-119c-4679-86bd-65e3bff58a7f time="2026-09-17T09:50:34Z" msg="Setting labels" labelIDs="[3 4 8 9 12 0 5 6 7 10 1 2 60fad784-f5c4-47a1-93a1-e7aefe6df828 389d2c1d-be4e-4859-ba97-7c55274e6a4a]" time="2026-09-17T09:50:34Z" msg="Adding user to imap server" addrID=d190dde6-4349-47d3-b35f-a4a9dc6ac10b time="2026-09-17T09:50:34Z" msg="Creating new IMAP user" addrID=d190dde6-4349-47d3-b35f-a4a9dc6ac10b time="2026-09-17T09:50:34Z" msg="Setting gluon ID" addrID=d190dde6-4349-47d3-b35f-a4a9dc6ac10b gluonID=2c4473c4-cb0d-4479-a845-869b5127beb5 userID=97bfcd0a-119c-4679-86bd-65e3bff58a7f time="2026-09-17T09:50:34Z" msg="Received mailbox message count" gluonID=2c4473c4-cb0d-4479-a845-869b5127beb5 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:50:34Z" msg="Created new IMAP user" addrID=d190dde6-4349-47d3-b35f-a4a9dc6ac10b gluonID=2c4473c4-cb0d-4479-a845-869b5127beb5 time="2026-09-17T09:50:34Z" msg="Validating Listener State" time="2026-09-17T09:50:34Z" time="2026-09-17T09:50:34Z" msg="Checking whether logged in user should re-sync. UserID:97bfcd0a-119c-4679-86bd-65e3bff58a7f" userID=97bfcd0a-119c-4679-86bd-65e3bff58a7f time="2026-09-17T09:50:34Z" msg="Starting IMAP Service" time="2026-09-17T09:50:34Z" msg="Sync triggered" time="2026-09-17T09:50:34Z" msg="Beginning user sync" start="2026-09-17 09:50:34.435661842 +0000 UTC m=+322.927964298" time="2026-09-17T09:50:34Z" msg="Syncing labels" time="2026-09-17T09:50:34Z" msg="Label not found in DB, creating mailbox." labelID=60fad784-f5c4-47a1-93a1-e7aefe6df828 labelPath="RPijXXq+/66TBq1ekOxGR3YfSJRztJQJY+kK3/gH+Uo=" numberOfC /labelConflictResolver time="2026-09-17T09:50:34Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=2c4473c4-cb0d-4479-a845-869b5127beb5 time="2026-09-17T09:50:34Z" msg="Label not found in DB, creating mailbox." labelID=389d2c1d-be4e-4859-ba97-7c55274e6a4a labelPath="AuO2iVbU1q9LVsySXNr4nwhO38HWlDdfMbr5xs56MzY=" numberOfC /labelConflictResolver time="2026-09-17T09:50:34Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=2c4473c4-cb0d-4479-a845-869b5127beb5 time="2026-09-17T09:50:34Z" msg="Mailbox created" /user remoteMailboxID=0 userID=2c4473c4-cb0d-4479-a845-869b5127beb5 time="2026-09-17T09:50:34Z" msg="Mailbox created" /user remoteMailboxID=6 userID=2c4473c4-cb0d-4479-a845-869b5127beb5 time="2026-09-17T09:50:34Z" msg="Mailbox created" /user remoteMailboxID=10 userID=2c4473c4-cb0d-4479-a845-869b5127beb5 time="2026-09-17T09:50:34Z" msg="Mailbox created" /user remoteMailboxID=60fad784-f5c4-47a1-93a1-e7aefe6df828 userID=2c4473c4-cb0d-4479-a845-869b5127beb5 time="2026-09-17T09:50:34Z" msg="Mailbox created" /user remoteMailboxID=3 userID=2c4473c4-cb0d-4479-a845-869b5127beb5 time="2026-09-17T09:50:34Z" msg="Mailbox created" /user remoteMailboxID=5 userID=2c4473c4-cb0d-4479-a845-869b5127beb5 time="2026-09-17T09:50:34Z" msg="Mailbox created" /user remoteMailboxID=7 userID=2c4473c4-cb0d-4479-a845-869b5127beb5 time="2026-09-17T09:50:34Z" msg="Mailbox created" /user remoteMailboxID=389d2c1d-be4e-4859-ba97-7c55274e6a4a userID=2c4473c4-cb0d-4479-a845-869b5127beb5 time="2026-09-17T09:50:34Z" msg="Mailbox created" /user remoteMailboxID=4 userID=2c4473c4-cb0d-4479-a845-869b5127beb5 time="2026-09-17T09:50:34Z" msg="Mailbox created" /user remoteMailboxID=8 userID=2c4473c4-cb0d-4479-a845-869b5127beb5 time="2026-09-17T09:50:34Z" msg="Mailbox created" /user remoteMailboxID=12 userID=2c4473c4-cb0d-4479-a845-869b5127beb5 time="2026-09-17T09:50:34Z" msg="Synced labels" time="2026-09-17T09:50:34Z" msg="200 OK: GET https://127.0.0.1:38885/mail/v4/messages/count" /client userID=97bfcd0a-119c-4679-86bd-65e3bff58a7f time="2026-09-17T09:50:34Z" msg="Syncing messages" time="2026-09-17T09:50:34Z" msg="Job started" time="2026-09-17T09:50:34Z" msg="200 OK: POST https://127.0.0.1:38885/mail/v4/messages" /client userID=97bfcd0a-119c-4679-86bd-65e3bff58a7f time="2026-09-17T09:50:34Z" msg="200 OK: POST https://127.0.0.1:38885/mail/v4/messages" /client userID=97bfcd0a-119c-4679-86bd-65e3bff58a7f time="2026-09-17T09:50:34Z" msg="Creating new child job" time="2026-09-17T09:50:34Z" msg="Job finished" time="2026-09-17T09:50:34Z" msg="200 OK: GET https://127.0.0.1:38885/mail/v4/messages/f9915142-fb22-454b-abbf-c08bf8c2161d" /client userID=97bfcd0a-119c-4679-86bd-65e3bff58a7f time="2026-09-17T09:50:34Z" msg="200 OK: GET https://127.0.0.1:38885/mail/v4/messages/b5bee4df-d969-455b-abde-4c38a38a0038" /client userID=97bfcd0a-119c-4679-86bd-65e3bff58a7f time="2026-09-17T09:50:34Z" msg="200 OK: GET https://127.0.0.1:38885/mail/v4/messages/0ff65b36-c782-4652-8be9-837d24258624" /client userID=97bfcd0a-119c-4679-86bd-65e3bff58a7f time="2026-09-17T09:50:34Z" msg="200 OK: GET https://127.0.0.1:38885/mail/v4/messages/c0c634fd-220f-4b12-a95d-2a1a72a4a373" /client userID=97bfcd0a-119c-4679-86bd-65e3bff58a7f time="2026-09-17T09:50:34Z" msg="200 OK: GET https://127.0.0.1:38885/mail/v4/messages/ef6adb13-2588-41d4-b591-4af62ec1bfff" /client userID=97bfcd0a-119c-4679-86bd-65e3bff58a7f time="2026-09-17T09:50:34Z" msg="200 OK: GET https://127.0.0.1:38885/mail/v4/messages/0a2c2a69-b365-42ca-bc7c-53e503ed7448" /client userID=97bfcd0a-119c-4679-86bd-65e3bff58a7f time="2026-09-17T09:50:34Z" msg="200 OK: GET https://127.0.0.1:38885/mail/v4/messages/481b8bcc-9305-4308-bdd9-c55e51b81663" /client userID=97bfcd0a-119c-4679-86bd-65e3bff58a7f time="2026-09-17T09:50:34Z" msg="200 OK: GET https://127.0.0.1:38885/mail/v4/messages/392d4572-200c-4712-b21a-ab16eb55e3a5" /client userID=97bfcd0a-119c-4679-86bd-65e3bff58a7f time="2026-09-17T09:50:34Z" msg="200 OK: GET https://127.0.0.1:38885/mail/v4/messages/c8ade3e6-45fc-4d84-979c-1c841962b861" /client userID=97bfcd0a-119c-4679-86bd-65e3bff58a7f time="2026-09-17T09:50:34Z" msg="200 OK: GET https://127.0.0.1:38885/mail/v4/messages/36bee710-7d92-403f-99e4-c78fe82a381c" /client userID=97bfcd0a-119c-4679-86bd-65e3bff58a7f time="2026-09-17T09:50:34Z" msg="200 OK: GET https://127.0.0.1:38885/mail/v4/messages/3286c79a-f1ad-4879-86a1-90004ffc8e3b" /client userID=97bfcd0a-119c-4679-86bd-65e3bff58a7f time="2026-09-17T09:50:34Z" msg="200 OK: GET https://127.0.0.1:38885/mail/v4/messages/c16c31ac-71ec-4622-8eb2-0997a64263a3" /client userID=97bfcd0a-119c-4679-86bd-65e3bff58a7f time="2026-09-17T09:50:34Z" msg="Sending observability data." time="2026-09-17T09:50:34Z" msg="200 OK: POST https://127.0.0.1:38885/data/v1/metrics" /client userID=97bfcd0a-119c-4679-86bd-65e3bff58a7f time="2026-09-17T09:50:34Z" msg="Successfully sent observability data." time="2026-09-17T09:50:34Z" msg="Scheduling observability data sending" time="2026-09-17T09:50:34Z" msg="Child job finished" time="2026-09-17T09:50:34Z" msg="All child jobs completed" sync- time="2026-09-17T09:50:34Z" msg="Synced messages" time="2026-09-17T09:50:34Z" msg="Finished user sync" .682736ms time="2026-09-17T09:50:34Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:50:34Z" msg="Event loop reset" eventID="Dg==" Scenario: Mark message as starred # features/imap/message/state.feature:31 When IMAP client "1" selects "Folders/one" # :1 -> *scenario time="2026-09-17T09:50:34Z" msg="200 OK: PUT https://127.0.0.1:38885/mail/v4/messages/label" /client userID=97bfcd0a-119c-4679-86bd-65e3bff58a7f And IMAP client "1" marks message 1 as "starred" # :1 -> *scenario And it succeeds # :1 -> *scenario time="2026-09-17T09:50:34Z" msg="Frontend service stopped" time="2026-09-17T09:50:34Z" msg="Frontend client stopped" time="2026-09-17T09:50:34Z" msg="Closing bridge" time="2026-09-17T09:50:34Z" msg="Stopping service" time="2026-09-17T09:50:34Z" msg="Closing user" userID=97bfcd0a-119c-4679-86bd-65e3bff58a7f time="2026-09-17T09:50:34Z" msg="De-registering user client, ID:97bfcd0a-119c-4679-86bd-65e3bff58a7f" time="2026-09-17T09:50:34Z" msg="Exiting IMAP Service" time="2026-09-17T09:50:34Z" msg="Exiting service main loop" time="2026-09-17T09:50:34Z" msg="Exiting service main loop" time="2026-09-17T09:50:34Z" msg="Exiting Service" time="2026-09-17T09:50:34Z" msg="Exiting service main loop" time="2026-09-17T09:50:34Z" msg="Exiting service" time="2026-09-17T09:50:34Z" msg="Closing IMAP Listener" time="2026-09-17T09:50:34Z" msg="Closing IMAP server" time="2026-09-17T09:50:34Z" msg="Closing SMTP Listener" time="2026-09-17T09:50:34Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:50:34Z" msg="Closing SMTP server" time="2026-09-17T09:50:34Z" msg="Closing service" Then IMAP client "1" eventually sees that message at row 1 has the flag "\Flagged" # :1 -> *scenario time="2026-09-17T09:50:34Z" msg="User 'de4092fb-2e1a-40c8-b4e5-4284d947e203' created with " /server/backend time="2026-09-17T09:50:37Z" msg="Starting bridge" time="2026-09-17T09:50:37Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/148/config3049997923/grpcFocusServerConfig.json /service time="2026-09-17T09:50:37Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/148/cache3795599844/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:50:37Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/148/cache3795599844/notifications/notification_cache: no such file or directory" time="2026-09-17T09:50:37Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/148/data2553022130/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/148/data2553022130/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:50:37Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:50:37Z" msg="Starting IMAP server" time="2026-09-17T09:50:37Z" msg="Starting SMTP server" time="2026-09-17T09:50:37Z" msg="Starting service" time="2026-09-17T09:50:37Z" msg="Starting service" time="2026-09-17T09:50:37Z" msg="Starting poll service" time="2026-09-17T09:50:37Z" msg="Starting receiver service" time="2026-09-17T09:50:37Z" msg="Starting frontend service" time="2026-09-17T09:50:37Z" msg="Checking for updates" time="2026-09-17T09:50:37Z" msg="Loading users" /user time="2026-09-17T09:50:37Z" msg="Finished loading users" /user time="2026-09-17T09:50:37Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/148/config3049997923/grpcServerConfig.json time="2026-09-17T09:50:37Z" msg="gRPC server listening on /tmp/bridge9715" time="2026-09-17T09:50:37Z" msg="Frontend service started" time="2026-09-17T09:50:37Z" msg="Starting frontend client" time="2026-09-17T09:50:37Z" msg="Not monitoring parent PID" time="2026-09-17T09:50:37Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:50:37Z" msg="Frontend client started" time="2026-09-17T09:50:37Z" msg="Performing full user login" /user username="******** (cdfa2b7b)" time="2026-09-17T09:50:37Z" msg="Authorizing user for login" /user username="******** (cdfa2b7b)" time="2026-09-17T09:50:38Z" msg="200 OK: POST https://127.0.0.1:38437/auth/v4/info" /manager time="2026-09-17T09:50:38Z" msg="200 OK: POST https://127.0.0.1:38437/auth/v4" /manager time="2026-09-17T09:50:38Z" msg="Logging in authorized user" /user userID=825ee905-7a09-458b-bc17-a73668f57e12 time="2026-09-17T09:50:38Z" msg="Adding vault user" userID=825ee905-7a09-458b-bc17-a73668f57e12 time="2026-09-17T09:50:38Z" msg="Creating new user" userID=825ee905-7a09-458b-bc17-a73668f57e12 time="2026-09-17T09:50:38Z" msg="404 GET https://127.0.0.1:38437/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:50:38Z" msg="404 GET https://127.0.0.1:38437/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:50:38Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:38437/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:50:38Z" msg="Creating user object" authUID=e1735546-d90f-415b-9bc4-72733f1ebc16 numA numL userID=825ee905-7a09-458b-bc17-a73668f57e12 time="2026-09-17T09:50:38Z" msg="200 OK: GET https://127.0.0.1:38437/core/v4/events/latest" /client userID=825ee905-7a09-458b-bc17-a73668f57e12 time="2026-09-17T09:50:38Z" msg="Starting service Last EventID=Dg==" time="2026-09-17T09:50:38Z" msg="200 OK: GET https://127.0.0.1:38437/core/v4/settings" /client userID=825ee905-7a09-458b-bc17-a73668f57e12 time="2026-09-17T09:50:38Z" msg="Registering user client, ID:825ee905-7a09-458b-bc17-a73668f57e12" time="2026-09-17T09:50:38Z" msg="Starting user identity service" numA time="2026-09-17T09:50:38Z" msg="Starting service main loop" time="2026-09-17T09:50:38Z" msg="Starting service main loop" time="2026-09-17T09:50:38Z" msg="Starting service main loop" time="2026-09-17T09:50:38Z" msg="200 OK: GET https://127.0.0.1:38437/core/v4/labels?T" /client userID=825ee905-7a09-458b-bc17-a73668f57e12 time="2026-09-17T09:50:38Z" msg="200 OK: GET https://127.0.0.1:38437/core/v4/labels?T" /client userID=825ee905-7a09-458b-bc17-a73668f57e12 time="2026-09-17T09:50:38Z" msg="200 OK: GET https://127.0.0.1:38437/core/v4/labels?T" /client userID=825ee905-7a09-458b-bc17-a73668f57e12 time="2026-09-17T09:50:38Z" msg="Setting labels" labelIDs="[3 7 8 9 10 12 0 2 4 5 6 1 01a5fdcb-3e6a-43e6-88b3-ec86d97be6b2 1b1d82c3-af99-4809-bf35-df036f909129]" time="2026-09-17T09:50:38Z" msg="Adding user to imap server" addrID=d0002932-9617-46ad-b250-27b4ebd468d3 time="2026-09-17T09:50:38Z" msg="Creating new IMAP user" addrID=d0002932-9617-46ad-b250-27b4ebd468d3 time="2026-09-17T09:50:38Z" msg="Setting gluon ID" addrID=d0002932-9617-46ad-b250-27b4ebd468d3 gluonID=1d2894d3-a29f-412e-af29-aaa84508ff05 userID=825ee905-7a09-458b-bc17-a73668f57e12 time="2026-09-17T09:50:38Z" msg="Received mailbox message count" gluonID=1d2894d3-a29f-412e-af29-aaa84508ff05 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:50:38Z" msg="Created new IMAP user" addrID=d0002932-9617-46ad-b250-27b4ebd468d3 gluonID=1d2894d3-a29f-412e-af29-aaa84508ff05 time="2026-09-17T09:50:38Z" msg="Validating Listener State" time="2026-09-17T09:50:38Z" time="2026-09-17T09:50:38Z" msg="Starting IMAP Service" time="2026-09-17T09:50:38Z" msg="Checking whether logged in user should re-sync. UserID:825ee905-7a09-458b-bc17-a73668f57e12" userID=825ee905-7a09-458b-bc17-a73668f57e12 time="2026-09-17T09:50:38Z" msg="Sync triggered" time="2026-09-17T09:50:38Z" msg="Beginning user sync" start="2026-09-17 09:50:38.433279099 +0000 UTC m=+326.925581435" time="2026-09-17T09:50:38Z" msg="Syncing labels" time="2026-09-17T09:50:38Z" msg="Label not found in DB, creating mailbox." labelID=01a5fdcb-3e6a-43e6-88b3-ec86d97be6b2 labelPath="RPijXXq+/66TBq1ekOxGR3YfSJRztJQJY+kK3/gH+Uo=" numberOfC /labelConflictResolver time="2026-09-17T09:50:38Z" msg="Label not found in DB, creating mailbox." labelID=1b1d82c3-af99-4809-bf35-df036f909129 labelPath="AuO2iVbU1q9LVsySXNr4nwhO38HWlDdfMbr5xs56MzY=" numberOfC /labelConflictResolver time="2026-09-17T09:50:38Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=1d2894d3-a29f-412e-af29-aaa84508ff05 time="2026-09-17T09:50:38Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=1d2894d3-a29f-412e-af29-aaa84508ff05 time="2026-09-17T09:50:38Z" msg="Mailbox created" /user remoteMailboxID=3 userID=1d2894d3-a29f-412e-af29-aaa84508ff05 time="2026-09-17T09:50:38Z" msg="Mailbox created" /user remoteMailboxID=7 userID=1d2894d3-a29f-412e-af29-aaa84508ff05 time="2026-09-17T09:50:38Z" msg="Mailbox created" /user remoteMailboxID=8 userID=1d2894d3-a29f-412e-af29-aaa84508ff05 time="2026-09-17T09:50:38Z" msg="Mailbox created" /user remoteMailboxID=10 userID=1d2894d3-a29f-412e-af29-aaa84508ff05 time="2026-09-17T09:50:38Z" msg="Mailbox created" /user remoteMailboxID=0 userID=1d2894d3-a29f-412e-af29-aaa84508ff05 time="2026-09-17T09:50:38Z" msg="Mailbox created" /user remoteMailboxID=4 userID=1d2894d3-a29f-412e-af29-aaa84508ff05 time="2026-09-17T09:50:38Z" msg="Mailbox created" /user remoteMailboxID=12 userID=1d2894d3-a29f-412e-af29-aaa84508ff05 time="2026-09-17T09:50:38Z" msg="Mailbox created" /user remoteMailboxID=5 userID=1d2894d3-a29f-412e-af29-aaa84508ff05 time="2026-09-17T09:50:38Z" msg="Mailbox created" /user remoteMailboxID=6 userID=1d2894d3-a29f-412e-af29-aaa84508ff05 time="2026-09-17T09:50:38Z" msg="Mailbox created" /user remoteMailboxID=01a5fdcb-3e6a-43e6-88b3-ec86d97be6b2 userID=1d2894d3-a29f-412e-af29-aaa84508ff05 time="2026-09-17T09:50:38Z" msg="Mailbox created" /user remoteMailboxID=1b1d82c3-af99-4809-bf35-df036f909129 userID=1d2894d3-a29f-412e-af29-aaa84508ff05 time="2026-09-17T09:50:38Z" msg="Synced labels" time="2026-09-17T09:50:38Z" msg="200 OK: GET https://127.0.0.1:38437/mail/v4/messages/count" /client userID=825ee905-7a09-458b-bc17-a73668f57e12 time="2026-09-17T09:50:38Z" msg="Syncing messages" time="2026-09-17T09:50:38Z" msg="Job started" time="2026-09-17T09:50:38Z" msg="200 OK: POST https://127.0.0.1:38437/mail/v4/messages" /client userID=825ee905-7a09-458b-bc17-a73668f57e12 time="2026-09-17T09:50:38Z" msg="200 OK: POST https://127.0.0.1:38437/mail/v4/messages" /client userID=825ee905-7a09-458b-bc17-a73668f57e12 time="2026-09-17T09:50:38Z" msg="Creating new child job" time="2026-09-17T09:50:38Z" msg="Job finished" time="2026-09-17T09:50:38Z" msg="200 OK: GET https://127.0.0.1:38437/mail/v4/messages/564a6f6a-462c-4b00-b938-a67c7d5f99ec" /client userID=825ee905-7a09-458b-bc17-a73668f57e12 time="2026-09-17T09:50:38Z" msg="200 OK: GET https://127.0.0.1:38437/mail/v4/messages/f77ea89f-0e6f-4e00-8145-476175b46383" /client userID=825ee905-7a09-458b-bc17-a73668f57e12 time="2026-09-17T09:50:38Z" msg="200 OK: GET https://127.0.0.1:38437/mail/v4/messages/e449f67f-e460-4250-b371-70be5f3e237b" /client userID=825ee905-7a09-458b-bc17-a73668f57e12 time="2026-09-17T09:50:38Z" msg="200 OK: GET https://127.0.0.1:38437/mail/v4/messages/ab8604a8-f74f-44cd-b864-f61f5d2bbdb9" /client userID=825ee905-7a09-458b-bc17-a73668f57e12 time="2026-09-17T09:50:38Z" msg="200 OK: GET https://127.0.0.1:38437/mail/v4/messages/96fb04b5-0c37-498b-901e-e871c3994fde" /client userID=825ee905-7a09-458b-bc17-a73668f57e12 time="2026-09-17T09:50:38Z" msg="200 OK: GET https://127.0.0.1:38437/mail/v4/messages/581470a2-e0b4-4196-8393-f7bba47433bb" /client userID=825ee905-7a09-458b-bc17-a73668f57e12 time="2026-09-17T09:50:38Z" msg="200 OK: GET https://127.0.0.1:38437/mail/v4/messages/349c4152-cfab-40c6-80c4-5aef2eefb0bc" /client userID=825ee905-7a09-458b-bc17-a73668f57e12 time="2026-09-17T09:50:38Z" msg="200 OK: GET https://127.0.0.1:38437/mail/v4/messages/8142c3bf-cd23-4e1e-ba2f-17eec6bad7c8" /client userID=825ee905-7a09-458b-bc17-a73668f57e12 time="2026-09-17T09:50:38Z" msg="200 OK: GET https://127.0.0.1:38437/mail/v4/messages/fb2989a2-8dc3-4d89-938c-13d512b8e0e0" /client userID=825ee905-7a09-458b-bc17-a73668f57e12 time="2026-09-17T09:50:38Z" msg="200 OK: GET https://127.0.0.1:38437/mail/v4/messages/114845d6-5361-49c8-8d72-7efee0087882" /client userID=825ee905-7a09-458b-bc17-a73668f57e12 time="2026-09-17T09:50:38Z" msg="200 OK: GET https://127.0.0.1:38437/mail/v4/messages/6b9dc9df-a15f-40ba-b658-d61ba5800c25" /client userID=825ee905-7a09-458b-bc17-a73668f57e12 time="2026-09-17T09:50:38Z" msg="200 OK: GET https://127.0.0.1:38437/mail/v4/messages/a8dbdd41-64b4-44e0-8d8c-a3e4ef2a5141" /client userID=825ee905-7a09-458b-bc17-a73668f57e12 time="2026-09-17T09:50:38Z" msg="Sending observability data." time="2026-09-17T09:50:38Z" msg="200 OK: POST https://127.0.0.1:38437/data/v1/metrics" /client userID=825ee905-7a09-458b-bc17-a73668f57e12 time="2026-09-17T09:50:38Z" msg="Successfully sent observability data." time="2026-09-17T09:50:38Z" msg="Scheduling observability data sending" time="2026-09-17T09:50:38Z" msg="Child job finished" time="2026-09-17T09:50:38Z" msg="All child jobs completed" sync- time="2026-09-17T09:50:38Z" msg="Synced messages" time="2026-09-17T09:50:38Z" msg="Finished user sync" .894759ms time="2026-09-17T09:50:38Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:50:38Z" msg="Event loop reset" eventID="Dg==" Scenario: Mark message as unstarred # features/imap/message/state.feature:37 When IMAP client "1" selects "Folders/one" # :1 -> *scenario And IMAP client "1" marks message 1 as "unstarred" # :1 -> *scenario And it succeeds # :1 -> *scenario time="2026-09-17T09:50:38Z" msg="Frontend service stopped" time="2026-09-17T09:50:38Z" msg="Frontend client stopped" time="2026-09-17T09:50:38Z" msg="Closing bridge" time="2026-09-17T09:50:38Z" msg="Stopping service" time="2026-09-17T09:50:38Z" msg="Closing user" userID=825ee905-7a09-458b-bc17-a73668f57e12 time="2026-09-17T09:50:38Z" msg="De-registering user client, ID:825ee905-7a09-458b-bc17-a73668f57e12" time="2026-09-17T09:50:38Z" msg="Exiting IMAP Service" time="2026-09-17T09:50:38Z" msg="Exiting service main loop" time="2026-09-17T09:50:38Z" msg="Exiting service main loop" time="2026-09-17T09:50:38Z" msg="Exiting Service" time="2026-09-17T09:50:38Z" msg="Exiting service main loop" time="2026-09-17T09:50:38Z" msg="Exiting service" time="2026-09-17T09:50:38Z" msg="Closing IMAP Listener" time="2026-09-17T09:50:38Z" msg="Closing IMAP server" time="2026-09-17T09:50:38Z" msg="Closing SMTP Listener" time="2026-09-17T09:50:38Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:50:38Z" msg="Closing SMTP server" time="2026-09-17T09:50:38Z" msg="Closing service" 2026/09/17 09:50:38 http: TLS handshake error from 127.0.0.1:55260: write tcp 127.0.0.1:38437->127.0.0.1:55260: use of closed network connection Then IMAP client "1" eventually sees that message at row 1 does not have the flag "\Flagged" # :1 -> *scenario time="2026-09-17T09:50:38Z" msg="User 'b71080af-208f-405a-998f-050ca3967d50' created with " /server/backend time="2026-09-17T09:50:41Z" msg="Starting bridge" time="2026-09-17T09:50:41Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/149/config1559720742/grpcFocusServerConfig.json /service time="2026-09-17T09:50:41Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/149/cache2965479100/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:50:41Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/149/cache2965479100/notifications/notification_cache: no such file or directory" time="2026-09-17T09:50:41Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/149/data603439560/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/149/data603439560/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:50:41Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:50:41Z" msg="Starting IMAP server" time="2026-09-17T09:50:41Z" msg="Starting SMTP server" time="2026-09-17T09:50:41Z" msg="Starting service" time="2026-09-17T09:50:41Z" msg="Starting service" time="2026-09-17T09:50:41Z" msg="Starting poll service" time="2026-09-17T09:50:41Z" msg="Checking for updates" time="2026-09-17T09:50:41Z" msg="Starting receiver service" time="2026-09-17T09:50:41Z" msg="Starting frontend service" time="2026-09-17T09:50:41Z" msg="Loading users" /user time="2026-09-17T09:50:41Z" msg="Finished loading users" /user time="2026-09-17T09:50:41Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/149/config1559720742/grpcServerConfig.json time="2026-09-17T09:50:41Z" msg="gRPC server listening on /tmp/bridge9783" time="2026-09-17T09:50:41Z" msg="Frontend service started" time="2026-09-17T09:50:41Z" msg="Starting frontend client" time="2026-09-17T09:50:41Z" msg="Not monitoring parent PID" time="2026-09-17T09:50:41Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:50:41Z" msg="200 OK: GET https://127.0.0.1:46215/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:50:41Z" msg="Frontend client started" time="2026-09-17T09:50:41Z" msg="Performing full user login" /user username="******** (f18f4870)" time="2026-09-17T09:50:41Z" msg="Authorizing user for login" /user username="******** (f18f4870)" time="2026-09-17T09:50:41Z" msg="200 OK: POST https://127.0.0.1:46215/auth/v4/info" /manager time="2026-09-17T09:50:42Z" msg="200 OK: POST https://127.0.0.1:46215/auth/v4" /manager time="2026-09-17T09:50:42Z" msg="Logging in authorized user" /user userID=d8c8b5ac-53b3-404a-8e63-6b8e69419325 time="2026-09-17T09:50:42Z" msg="Adding vault user" userID=d8c8b5ac-53b3-404a-8e63-6b8e69419325 time="2026-09-17T09:50:42Z" msg="Creating new user" userID=d8c8b5ac-53b3-404a-8e63-6b8e69419325 time="2026-09-17T09:50:42Z" msg="404 GET https://127.0.0.1:46215/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:50:42Z" msg="404 GET https://127.0.0.1:46215/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:50:42Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:46215/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:50:42Z" msg="Creating user object" authUID=ee59d415-087d-4c5a-aeef-90d83a63db12 numA numL userID=d8c8b5ac-53b3-404a-8e63-6b8e69419325 time="2026-09-17T09:50:42Z" msg="200 OK: GET https://127.0.0.1:46215/core/v4/events/latest" /client userID=d8c8b5ac-53b3-404a-8e63-6b8e69419325 time="2026-09-17T09:50:42Z" msg="Starting service Last EventID=Dg==" time="2026-09-17T09:50:42Z" msg="200 OK: GET https://127.0.0.1:46215/core/v4/settings" /client userID=d8c8b5ac-53b3-404a-8e63-6b8e69419325 time="2026-09-17T09:50:42Z" msg="Registering user client, ID:d8c8b5ac-53b3-404a-8e63-6b8e69419325" time="2026-09-17T09:50:42Z" msg="Starting service main loop" time="2026-09-17T09:50:42Z" msg="Starting user identity service" numA time="2026-09-17T09:50:42Z" msg="Starting service main loop" time="2026-09-17T09:50:42Z" msg="Starting service main loop" time="2026-09-17T09:50:42Z" msg="200 OK: GET https://127.0.0.1:46215/core/v4/labels?T" /client userID=d8c8b5ac-53b3-404a-8e63-6b8e69419325 time="2026-09-17T09:50:42Z" msg="200 OK: GET https://127.0.0.1:46215/core/v4/labels?T" /client userID=d8c8b5ac-53b3-404a-8e63-6b8e69419325 time="2026-09-17T09:50:42Z" msg="200 OK: GET https://127.0.0.1:46215/core/v4/labels?T" /client userID=d8c8b5ac-53b3-404a-8e63-6b8e69419325 time="2026-09-17T09:50:42Z" msg="Setting labels" labelIDs="[2 5 7 8 10 12 0 3 4 6 9 1 92900d26-5d75-4e3a-8f82-ce5e48c1261a 01e4b72f-4d12-4a42-93bf-a058f272dcd5]" time="2026-09-17T09:50:42Z" msg="Adding user to imap server" addrID=28dbbb48-c3d7-43c8-90c8-cf4ef742b477 time="2026-09-17T09:50:42Z" msg="Creating new IMAP user" addrID=28dbbb48-c3d7-43c8-90c8-cf4ef742b477 time="2026-09-17T09:50:42Z" msg="Setting gluon ID" addrID=28dbbb48-c3d7-43c8-90c8-cf4ef742b477 gluonID=b68429bb-6c2f-4963-be3f-42f153208651 userID=d8c8b5ac-53b3-404a-8e63-6b8e69419325 time="2026-09-17T09:50:42Z" msg="Received mailbox message count" gluonID=b68429bb-6c2f-4963-be3f-42f153208651 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:50:42Z" msg="Created new IMAP user" addrID=28dbbb48-c3d7-43c8-90c8-cf4ef742b477 gluonID=b68429bb-6c2f-4963-be3f-42f153208651 time="2026-09-17T09:50:42Z" msg="Validating Listener State" time="2026-09-17T09:50:42Z" time="2026-09-17T09:50:42Z" msg="Starting IMAP Service" time="2026-09-17T09:50:42Z" msg="Checking whether logged in user should re-sync. UserID:d8c8b5ac-53b3-404a-8e63-6b8e69419325" userID=d8c8b5ac-53b3-404a-8e63-6b8e69419325 time="2026-09-17T09:50:42Z" msg="Sync triggered" time="2026-09-17T09:50:42Z" msg="Beginning user sync" start="2026-09-17 09:50:42.315158806 +0000 UTC m=+330.807461102" time="2026-09-17T09:50:42Z" msg="Syncing labels" time="2026-09-17T09:50:42Z" msg="Label not found in DB, creating mailbox." labelID=92900d26-5d75-4e3a-8f82-ce5e48c1261a labelPath="RPijXXq+/66TBq1ekOxGR3YfSJRztJQJY+kK3/gH+Uo=" numberOfC /labelConflictResolver time="2026-09-17T09:50:42Z" msg="Label not found in DB, creating mailbox." labelID=01e4b72f-4d12-4a42-93bf-a058f272dcd5 labelPath="AuO2iVbU1q9LVsySXNr4nwhO38HWlDdfMbr5xs56MzY=" numberOfC /labelConflictResolver time="2026-09-17T09:50:42Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=b68429bb-6c2f-4963-be3f-42f153208651 time="2026-09-17T09:50:42Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=b68429bb-6c2f-4963-be3f-42f153208651 time="2026-09-17T09:50:42Z" msg="Mailbox created" /user remoteMailboxID=92900d26-5d75-4e3a-8f82-ce5e48c1261a userID=b68429bb-6c2f-4963-be3f-42f153208651 time="2026-09-17T09:50:42Z" msg="Mailbox created" /user remoteMailboxID=7 userID=b68429bb-6c2f-4963-be3f-42f153208651 time="2026-09-17T09:50:42Z" msg="Mailbox created" /user remoteMailboxID=0 userID=b68429bb-6c2f-4963-be3f-42f153208651 time="2026-09-17T09:50:42Z" msg="Mailbox created" /user remoteMailboxID=4 userID=b68429bb-6c2f-4963-be3f-42f153208651 time="2026-09-17T09:50:42Z" msg="Mailbox created" /user remoteMailboxID=6 userID=b68429bb-6c2f-4963-be3f-42f153208651 time="2026-09-17T09:50:42Z" msg="Mailbox created" /user remoteMailboxID=01e4b72f-4d12-4a42-93bf-a058f272dcd5 userID=b68429bb-6c2f-4963-be3f-42f153208651 time="2026-09-17T09:50:42Z" msg="Mailbox created" /user remoteMailboxID=5 userID=b68429bb-6c2f-4963-be3f-42f153208651 time="2026-09-17T09:50:42Z" msg="Mailbox created" /user remoteMailboxID=8 userID=b68429bb-6c2f-4963-be3f-42f153208651 time="2026-09-17T09:50:42Z" msg="Mailbox created" /user remoteMailboxID=10 userID=b68429bb-6c2f-4963-be3f-42f153208651 time="2026-09-17T09:50:42Z" msg="Mailbox created" /user remoteMailboxID=12 userID=b68429bb-6c2f-4963-be3f-42f153208651 time="2026-09-17T09:50:42Z" msg="Mailbox created" /user remoteMailboxID=3 userID=b68429bb-6c2f-4963-be3f-42f153208651 time="2026-09-17T09:50:42Z" msg="Synced labels" time="2026-09-17T09:50:42Z" msg="200 OK: GET https://127.0.0.1:46215/mail/v4/messages/count" /client userID=d8c8b5ac-53b3-404a-8e63-6b8e69419325 time="2026-09-17T09:50:42Z" msg="Syncing messages" time="2026-09-17T09:50:42Z" msg="Job started" time="2026-09-17T09:50:42Z" msg="200 OK: POST https://127.0.0.1:46215/mail/v4/messages" /client userID=d8c8b5ac-53b3-404a-8e63-6b8e69419325 time="2026-09-17T09:50:42Z" msg="200 OK: POST https://127.0.0.1:46215/mail/v4/messages" /client userID=d8c8b5ac-53b3-404a-8e63-6b8e69419325 time="2026-09-17T09:50:42Z" msg="Creating new child job" time="2026-09-17T09:50:42Z" msg="Job finished" time="2026-09-17T09:50:42Z" msg="200 OK: GET https://127.0.0.1:46215/mail/v4/messages/e31f734e-2bce-43fe-a87e-3de5156b5d97" /client userID=d8c8b5ac-53b3-404a-8e63-6b8e69419325 time="2026-09-17T09:50:42Z" msg="200 OK: GET https://127.0.0.1:46215/mail/v4/messages/87fd847b-c39d-4527-a3e6-23585600370c" /client userID=d8c8b5ac-53b3-404a-8e63-6b8e69419325 time="2026-09-17T09:50:42Z" msg="200 OK: GET https://127.0.0.1:46215/mail/v4/messages/7f51e434-0b4f-4b3d-b62b-b550b0d6f028" /client userID=d8c8b5ac-53b3-404a-8e63-6b8e69419325 time="2026-09-17T09:50:42Z" msg="200 OK: GET https://127.0.0.1:46215/mail/v4/messages/b62fe7cf-0cee-42d6-ab40-b848ea60f8f4" /client userID=d8c8b5ac-53b3-404a-8e63-6b8e69419325 time="2026-09-17T09:50:42Z" msg="200 OK: GET https://127.0.0.1:46215/mail/v4/messages/780597be-f68e-4490-9fca-5e25ee39d1a8" /client userID=d8c8b5ac-53b3-404a-8e63-6b8e69419325 time="2026-09-17T09:50:42Z" msg="200 OK: GET https://127.0.0.1:46215/mail/v4/messages/fc05c16e-8834-4fcc-8639-0c4281deebfe" /client userID=d8c8b5ac-53b3-404a-8e63-6b8e69419325 time="2026-09-17T09:50:42Z" msg="200 OK: GET https://127.0.0.1:46215/mail/v4/messages/0be6c28f-f0fb-4626-b8c3-4dc1f23e8ba4" /client userID=d8c8b5ac-53b3-404a-8e63-6b8e69419325 time="2026-09-17T09:50:42Z" msg="200 OK: GET https://127.0.0.1:46215/mail/v4/messages/79280054-5730-4a7a-9855-a7bad762f3c7" /client userID=d8c8b5ac-53b3-404a-8e63-6b8e69419325 time="2026-09-17T09:50:42Z" msg="200 OK: GET https://127.0.0.1:46215/mail/v4/messages/2142b70f-8dfa-4ffe-8182-77b730e65513" /client userID=d8c8b5ac-53b3-404a-8e63-6b8e69419325 time="2026-09-17T09:50:42Z" msg="200 OK: GET https://127.0.0.1:46215/mail/v4/messages/19ab545f-f847-4ecc-a92b-f1cff08e0c7a" /client userID=d8c8b5ac-53b3-404a-8e63-6b8e69419325 time="2026-09-17T09:50:42Z" msg="200 OK: GET https://127.0.0.1:46215/mail/v4/messages/b99b8701-ca25-451d-b176-1932d4c86887" /client userID=d8c8b5ac-53b3-404a-8e63-6b8e69419325 time="2026-09-17T09:50:42Z" msg="200 OK: GET https://127.0.0.1:46215/mail/v4/messages/bfde10b7-2d89-4e1c-99a4-f503a7953a27" /client userID=d8c8b5ac-53b3-404a-8e63-6b8e69419325 time="2026-09-17T09:50:42Z" msg="Sending observability data." time="2026-09-17T09:50:42Z" msg="200 OK: POST https://127.0.0.1:46215/data/v1/metrics" /client userID=d8c8b5ac-53b3-404a-8e63-6b8e69419325 time="2026-09-17T09:50:42Z" msg="Successfully sent observability data." time="2026-09-17T09:50:42Z" msg="Scheduling observability data sending" time="2026-09-17T09:50:42Z" msg="Child job finished" time="2026-09-17T09:50:42Z" msg="All child jobs completed" sync- time="2026-09-17T09:50:42Z" msg="Synced messages" time="2026-09-17T09:50:42Z" msg="Finished user sync" .878461ms time="2026-09-17T09:50:42Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:50:42Z" msg="Event loop reset" eventID="Dg==" Scenario: Mark message with subject as read/unread # features/imap/message/state.feature:43 When IMAP client "1" selects "Inbox" # :1 -> *scenario time="2026-09-17T09:50:42Z" msg="200 OK: PUT https://127.0.0.1:46215/mail/v4/messages/read" /client userID=d8c8b5ac-53b3-404a-8e63-6b8e69419325 And IMAP client "1" marks the message with subject "one" as "read" # :1 -> *scenario And it succeeds # :1 -> *scenario time="2026-09-17T09:50:42Z" msg="200 OK: PUT https://127.0.0.1:46215/mail/v4/messages/unread" /client userID=d8c8b5ac-53b3-404a-8e63-6b8e69419325 And IMAP client "1" marks the message with subject "two" as "unread" # :1 -> *scenario And it succeeds # :1 -> *scenario Then IMAP client "1" eventually sees that the message with subject "one" has the flag "\Seen" # :1 -> *scenario time="2026-09-17T09:50:42Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 9} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:50:42Z" msg="Frontend service stopped" time="2026-09-17T09:50:42Z" msg="Frontend client stopped" time="2026-09-17T09:50:42Z" msg="Closing bridge" time="2026-09-17T09:50:42Z" msg="Stopping service" time="2026-09-17T09:50:42Z" msg="Closing user" userID=d8c8b5ac-53b3-404a-8e63-6b8e69419325 time="2026-09-17T09:50:42Z" msg="De-registering user client, ID:d8c8b5ac-53b3-404a-8e63-6b8e69419325" time="2026-09-17T09:50:42Z" msg="Exiting IMAP Service" time="2026-09-17T09:50:42Z" msg="Exiting service main loop" time="2026-09-17T09:50:42Z" msg="Exiting service main loop" time="2026-09-17T09:50:42Z" msg="Exiting Service" time="2026-09-17T09:50:42Z" msg="Exiting service main loop" time="2026-09-17T09:50:42Z" msg="Exiting service" time="2026-09-17T09:50:42Z" msg="Closing IMAP Listener" time="2026-09-17T09:50:42Z" msg="Closing IMAP server" time="2026-09-17T09:50:42Z" msg="Closing SMTP Listener" time="2026-09-17T09:50:42Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:50:42Z" msg="Closing SMTP server" time="2026-09-17T09:50:42Z" msg="Closing service" And IMAP client "1" eventually sees that the message with subject "two" does not have the flag "\Seen" # :1 -> *scenario time="2026-09-17T09:50:42Z" msg="User '89987850-05ad-4430-9787-f1198dd76809' created with " /server/backend time="2026-09-17T09:50:45Z" msg="Starting bridge" time="2026-09-17T09:50:45Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/150/config1553183873/grpcFocusServerConfig.json /service time="2026-09-17T09:50:45Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/150/cache3012520972/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:50:45Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/150/cache3012520972/notifications/notification_cache: no such file or directory" time="2026-09-17T09:50:45Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/150/data3667759874/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/150/data3667759874/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:50:45Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:50:45Z" msg="Starting IMAP server" time="2026-09-17T09:50:45Z" msg="Starting SMTP server" time="2026-09-17T09:50:45Z" msg="Starting service" time="2026-09-17T09:50:45Z" msg="Starting service" time="2026-09-17T09:50:45Z" msg="Starting receiver service" time="2026-09-17T09:50:45Z" msg="Starting poll service" time="2026-09-17T09:50:45Z" msg="Checking for updates" time="2026-09-17T09:50:45Z" msg="Starting frontend service" time="2026-09-17T09:50:45Z" msg="Loading users" /user time="2026-09-17T09:50:45Z" msg="Finished loading users" /user time="2026-09-17T09:50:45Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/150/config1553183873/grpcServerConfig.json time="2026-09-17T09:50:45Z" msg="gRPC server listening on /tmp/bridge9701" time="2026-09-17T09:50:45Z" msg="Frontend service started" time="2026-09-17T09:50:45Z" msg="Starting frontend client" time="2026-09-17T09:50:45Z" msg="Not monitoring parent PID" time="2026-09-17T09:50:45Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:50:45Z" msg="Frontend client started" time="2026-09-17T09:50:45Z" msg="Performing full user login" /user username="******** (ce97102e)" time="2026-09-17T09:50:45Z" msg="Authorizing user for login" /user username="******** (ce97102e)" time="2026-09-17T09:50:45Z" msg="200 OK: GET https://127.0.0.1:42781/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:50:45Z" msg="200 OK: POST https://127.0.0.1:42781/auth/v4/info" /manager time="2026-09-17T09:50:46Z" msg="200 OK: POST https://127.0.0.1:42781/auth/v4" /manager time="2026-09-17T09:50:46Z" msg="Logging in authorized user" /user userID=a3fa8ebc-6e13-43ab-9ef3-10705e1cd5c2 time="2026-09-17T09:50:46Z" msg="Adding vault user" userID=a3fa8ebc-6e13-43ab-9ef3-10705e1cd5c2 time="2026-09-17T09:50:46Z" msg="Creating new user" userID=a3fa8ebc-6e13-43ab-9ef3-10705e1cd5c2 time="2026-09-17T09:50:46Z" msg="404 GET https://127.0.0.1:42781/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:50:46Z" msg="404 GET https://127.0.0.1:42781/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:50:46Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:42781/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:50:46Z" msg="Creating user object" authUID=8b711f44-0682-4527-a8d4-d560416a4e5a numA numL userID=a3fa8ebc-6e13-43ab-9ef3-10705e1cd5c2 time="2026-09-17T09:50:46Z" msg="200 OK: GET https://127.0.0.1:42781/core/v4/events/latest" /client userID=a3fa8ebc-6e13-43ab-9ef3-10705e1cd5c2 time="2026-09-17T09:50:46Z" msg="Starting service Last EventID=Dg==" time="2026-09-17T09:50:46Z" msg="200 OK: GET https://127.0.0.1:42781/core/v4/settings" /client userID=a3fa8ebc-6e13-43ab-9ef3-10705e1cd5c2 time="2026-09-17T09:50:46Z" msg="Registering user client, ID:a3fa8ebc-6e13-43ab-9ef3-10705e1cd5c2" time="2026-09-17T09:50:46Z" msg="Starting user identity service" numA time="2026-09-17T09:50:46Z" msg="Starting service main loop" time="2026-09-17T09:50:46Z" msg="Starting service main loop" time="2026-09-17T09:50:46Z" msg="Starting service main loop" time="2026-09-17T09:50:46Z" msg="200 OK: GET https://127.0.0.1:42781/core/v4/labels?T" /client userID=a3fa8ebc-6e13-43ab-9ef3-10705e1cd5c2 time="2026-09-17T09:50:46Z" msg="200 OK: GET https://127.0.0.1:42781/core/v4/labels?T" /client userID=a3fa8ebc-6e13-43ab-9ef3-10705e1cd5c2 time="2026-09-17T09:50:46Z" msg="200 OK: GET https://127.0.0.1:42781/core/v4/labels?T" /client userID=a3fa8ebc-6e13-43ab-9ef3-10705e1cd5c2 time="2026-09-17T09:50:46Z" msg="Setting labels" labelIDs="[2 6 7 12 3 4 5 8 9 10 0 1 4e6636ed-df81-4f82-80cd-ee426dc55664 6a53a76f-a827-455f-81d2-643201287232]" time="2026-09-17T09:50:46Z" msg="Adding user to imap server" addrID=fc53380c-2f8b-4d16-90e9-25cd1c4ab639 time="2026-09-17T09:50:46Z" msg="Creating new IMAP user" addrID=fc53380c-2f8b-4d16-90e9-25cd1c4ab639 time="2026-09-17T09:50:46Z" msg="Setting gluon ID" addrID=fc53380c-2f8b-4d16-90e9-25cd1c4ab639 gluonID=cbb5ba5d-5dfd-4b36-b214-f1e1b9bc44df userID=a3fa8ebc-6e13-43ab-9ef3-10705e1cd5c2 time="2026-09-17T09:50:46Z" msg="Created new IMAP user" addrID=fc53380c-2f8b-4d16-90e9-25cd1c4ab639 gluonID=cbb5ba5d-5dfd-4b36-b214-f1e1b9bc44df time="2026-09-17T09:50:46Z" msg="Validating Listener State" time="2026-09-17T09:50:46Z" time="2026-09-17T09:50:46Z" msg="Starting IMAP Service" time="2026-09-17T09:50:46Z" msg="Received mailbox message count" gluonID=cbb5ba5d-5dfd-4b36-b214-f1e1b9bc44df labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:50:46Z" msg="Checking whether logged in user should re-sync. UserID:a3fa8ebc-6e13-43ab-9ef3-10705e1cd5c2" userID=a3fa8ebc-6e13-43ab-9ef3-10705e1cd5c2 time="2026-09-17T09:50:46Z" msg="Sync triggered" time="2026-09-17T09:50:46Z" msg="Beginning user sync" start="2026-09-17 09:50:46.40972094 +0000 UTC m=+334.902023676" time="2026-09-17T09:50:46Z" msg="Syncing labels" time="2026-09-17T09:50:46Z" msg="Label not found in DB, creating mailbox." labelID=6a53a76f-a827-455f-81d2-643201287232 labelPath="AuO2iVbU1q9LVsySXNr4nwhO38HWlDdfMbr5xs56MzY=" numberOfC /labelConflictResolver time="2026-09-17T09:50:46Z" msg="Label not found in DB, creating mailbox." labelID=4e6636ed-df81-4f82-80cd-ee426dc55664 labelPath="RPijXXq+/66TBq1ekOxGR3YfSJRztJQJY+kK3/gH+Uo=" numberOfC /labelConflictResolver time="2026-09-17T09:50:46Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=cbb5ba5d-5dfd-4b36-b214-f1e1b9bc44df time="2026-09-17T09:50:46Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=cbb5ba5d-5dfd-4b36-b214-f1e1b9bc44df time="2026-09-17T09:50:46Z" msg="Mailbox created" /user remoteMailboxID=10 userID=cbb5ba5d-5dfd-4b36-b214-f1e1b9bc44df time="2026-09-17T09:50:46Z" msg="Mailbox created" /user remoteMailboxID=6a53a76f-a827-455f-81d2-643201287232 userID=cbb5ba5d-5dfd-4b36-b214-f1e1b9bc44df time="2026-09-17T09:50:46Z" msg="Mailbox created" /user remoteMailboxID=6 userID=cbb5ba5d-5dfd-4b36-b214-f1e1b9bc44df time="2026-09-17T09:50:46Z" msg="Mailbox created" /user remoteMailboxID=3 userID=cbb5ba5d-5dfd-4b36-b214-f1e1b9bc44df time="2026-09-17T09:50:46Z" msg="Mailbox created" /user remoteMailboxID=4 userID=cbb5ba5d-5dfd-4b36-b214-f1e1b9bc44df time="2026-09-17T09:50:46Z" msg="Mailbox created" /user remoteMailboxID=5 userID=cbb5ba5d-5dfd-4b36-b214-f1e1b9bc44df time="2026-09-17T09:50:46Z" msg="Mailbox created" /user remoteMailboxID=0 userID=cbb5ba5d-5dfd-4b36-b214-f1e1b9bc44df time="2026-09-17T09:50:46Z" msg="Mailbox created" /user remoteMailboxID=4e6636ed-df81-4f82-80cd-ee426dc55664 userID=cbb5ba5d-5dfd-4b36-b214-f1e1b9bc44df time="2026-09-17T09:50:46Z" msg="Mailbox created" /user remoteMailboxID=7 userID=cbb5ba5d-5dfd-4b36-b214-f1e1b9bc44df time="2026-09-17T09:50:46Z" msg="Mailbox created" /user remoteMailboxID=12 userID=cbb5ba5d-5dfd-4b36-b214-f1e1b9bc44df time="2026-09-17T09:50:46Z" msg="Mailbox created" /user remoteMailboxID=8 userID=cbb5ba5d-5dfd-4b36-b214-f1e1b9bc44df time="2026-09-17T09:50:46Z" msg="Synced labels" time="2026-09-17T09:50:46Z" msg="200 OK: GET https://127.0.0.1:42781/mail/v4/messages/count" /client userID=a3fa8ebc-6e13-43ab-9ef3-10705e1cd5c2 time="2026-09-17T09:50:46Z" msg="Syncing messages" time="2026-09-17T09:50:46Z" msg="Job started" time="2026-09-17T09:50:46Z" msg="200 OK: POST https://127.0.0.1:42781/mail/v4/messages" /client userID=a3fa8ebc-6e13-43ab-9ef3-10705e1cd5c2 time="2026-09-17T09:50:46Z" msg="200 OK: POST https://127.0.0.1:42781/mail/v4/messages" /client userID=a3fa8ebc-6e13-43ab-9ef3-10705e1cd5c2 time="2026-09-17T09:50:46Z" msg="Creating new child job" time="2026-09-17T09:50:46Z" msg="Job finished" time="2026-09-17T09:50:46Z" msg="200 OK: GET https://127.0.0.1:42781/mail/v4/messages/7cb5bf7a-2424-4e1f-9c2c-f25b63eb06c1" /client userID=a3fa8ebc-6e13-43ab-9ef3-10705e1cd5c2 time="2026-09-17T09:50:46Z" msg="200 OK: GET https://127.0.0.1:42781/mail/v4/messages/022cc4a8-0ab0-45ae-80b6-a18ed047edce" /client userID=a3fa8ebc-6e13-43ab-9ef3-10705e1cd5c2 time="2026-09-17T09:50:46Z" msg="200 OK: GET https://127.0.0.1:42781/mail/v4/messages/a03e5719-7135-4ed1-b9cc-2ea390dc0413" /client userID=a3fa8ebc-6e13-43ab-9ef3-10705e1cd5c2 time="2026-09-17T09:50:46Z" msg="200 OK: GET https://127.0.0.1:42781/mail/v4/messages/8b190b8c-1842-4ab1-b70c-9aefb5b1e3a1" /client userID=a3fa8ebc-6e13-43ab-9ef3-10705e1cd5c2 time="2026-09-17T09:50:46Z" msg="200 OK: GET https://127.0.0.1:42781/mail/v4/messages/3d529163-d0f4-46ca-a906-1552e09d9d50" /client userID=a3fa8ebc-6e13-43ab-9ef3-10705e1cd5c2 time="2026-09-17T09:50:46Z" msg="200 OK: GET https://127.0.0.1:42781/mail/v4/messages/852deb8c-68ff-44c7-baf1-ba47bede26b8" /client userID=a3fa8ebc-6e13-43ab-9ef3-10705e1cd5c2 time="2026-09-17T09:50:46Z" msg="200 OK: GET https://127.0.0.1:42781/mail/v4/messages/e0499548-874e-487e-92a7-7306fd9d0eb5" /client userID=a3fa8ebc-6e13-43ab-9ef3-10705e1cd5c2 time="2026-09-17T09:50:46Z" msg="200 OK: GET https://127.0.0.1:42781/mail/v4/messages/fb0cc5f5-ca96-43da-9c2b-aef900a96ede" /client userID=a3fa8ebc-6e13-43ab-9ef3-10705e1cd5c2 time="2026-09-17T09:50:46Z" msg="200 OK: GET https://127.0.0.1:42781/mail/v4/messages/6a659cf4-5cb2-4450-b768-f991598f9726" /client userID=a3fa8ebc-6e13-43ab-9ef3-10705e1cd5c2 time="2026-09-17T09:50:46Z" msg="200 OK: GET https://127.0.0.1:42781/mail/v4/messages/efd294ae-d7c0-4630-8408-4fcbbb34a78f" /client userID=a3fa8ebc-6e13-43ab-9ef3-10705e1cd5c2 time="2026-09-17T09:50:46Z" msg="200 OK: GET https://127.0.0.1:42781/mail/v4/messages/f2da3afd-e588-407b-b343-f94e39553b3f" /client userID=a3fa8ebc-6e13-43ab-9ef3-10705e1cd5c2 time="2026-09-17T09:50:46Z" msg="200 OK: GET https://127.0.0.1:42781/mail/v4/messages/ae6fce13-cc32-4b8c-b68f-42df7a90ab5f" /client userID=a3fa8ebc-6e13-43ab-9ef3-10705e1cd5c2 time="2026-09-17T09:50:46Z" msg="Sending observability data." time="2026-09-17T09:50:46Z" msg="200 OK: POST https://127.0.0.1:42781/data/v1/metrics" /client userID=a3fa8ebc-6e13-43ab-9ef3-10705e1cd5c2 time="2026-09-17T09:50:46Z" msg="Successfully sent observability data." time="2026-09-17T09:50:46Z" msg="Scheduling observability data sending" time="2026-09-17T09:50:46Z" msg="Child job finished" time="2026-09-17T09:50:46Z" msg="All child jobs completed" sync- time="2026-09-17T09:50:46Z" msg="Synced messages" time="2026-09-17T09:50:46Z" msg="Finished user sync" .27189ms time="2026-09-17T09:50:46Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:50:46Z" msg="Event loop reset" eventID="Dg==" Scenario: Mark all messages in folder as read/unread # features/imap/message/state.feature:52 When IMAP client "1" selects "Folders/two" # :1 -> *scenario And IMAP client "1" marks all messages as "read" # :1 -> *scenario And it succeeds # :1 -> *scenario Then IMAP client "1" eventually sees that all the messages have the flag "\Seen" # :1 -> *scenario time="2026-09-17T09:50:46Z" msg="200 OK: PUT https://127.0.0.1:42781/mail/v4/messages/unread" /client userID=a3fa8ebc-6e13-43ab-9ef3-10705e1cd5c2 When IMAP client "1" marks all messages as "unread" # :1 -> *scenario And it succeeds # :1 -> *scenario time="2026-09-17T09:50:46Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 1} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:50:46Z" msg="Frontend service stopped" time="2026-09-17T09:50:46Z" msg="Frontend client stopped" time="2026-09-17T09:50:46Z" msg="Closing bridge" time="2026-09-17T09:50:46Z" msg="Stopping service" time="2026-09-17T09:50:46Z" msg="Closing user" userID=a3fa8ebc-6e13-43ab-9ef3-10705e1cd5c2 time="2026-09-17T09:50:46Z" msg="De-registering user client, ID:a3fa8ebc-6e13-43ab-9ef3-10705e1cd5c2" time="2026-09-17T09:50:46Z" msg="Exiting IMAP Service" time="2026-09-17T09:50:46Z" msg="Exiting service main loop" time="2026-09-17T09:50:46Z" msg="Exiting service main loop" time="2026-09-17T09:50:46Z" msg="Exiting Service" time="2026-09-17T09:50:46Z" msg="Exiting service main loop" time="2026-09-17T09:50:46Z" msg="Exiting service" time="2026-09-17T09:50:46Z" msg="Closing IMAP Listener" time="2026-09-17T09:50:46Z" msg="Closing IMAP server" time="2026-09-17T09:50:46Z" msg="Closing SMTP Listener" time="2026-09-17T09:50:46Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:50:46Z" msg="Closing SMTP server" time="2026-09-17T09:50:46Z" msg="Closing service" Then IMAP client "1" eventually sees that all the messages do not have the flag "\Seen" # :1 -> *scenario Feature: IMAP marks messages as forwarded time="2026-09-17T09:50:46Z" msg="User 'e39205b5-417a-4d6c-962f-980a36ec3e26' created with " /server/backend Background: Given there exists an account with username "e39205b5-417a-4d6c-962f-980a36ec3e26" and password "password" # :1 -> *scenario And the account "e39205b5-417a-4d6c-962f-980a36ec3e26" has the following custom mailboxes: # :1 -> *scenario | name | type | | mbox | folder | And the address "e39205b5-417a-4d6c-962f-980a36ec3e26@proton.local" of account "e39205b5-417a-4d6c-962f-980a36ec3e26" has 1 messages in "Folders/mbox" # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:50:48Z" msg="Starting bridge" time="2026-09-17T09:50:48Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/151/config702002631/grpcFocusServerConfig.json /service time="2026-09-17T09:50:48Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/151/cache3384825283/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:50:48Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/151/cache3384825283/notifications/notification_cache: no such file or directory" time="2026-09-17T09:50:48Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/151/data1910348452/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/151/data1910348452/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:50:48Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:50:48Z" msg="Starting IMAP server" time="2026-09-17T09:50:48Z" msg="Starting SMTP server" time="2026-09-17T09:50:48Z" msg="Starting service" time="2026-09-17T09:50:48Z" msg="Starting service" time="2026-09-17T09:50:48Z" msg="Starting frontend service" time="2026-09-17T09:50:48Z" msg="Starting receiver service" time="2026-09-17T09:50:48Z" msg="Checking for updates" time="2026-09-17T09:50:48Z" msg="Loading users" /user time="2026-09-17T09:50:48Z" msg="Finished loading users" /user time="2026-09-17T09:50:48Z" msg="Starting poll service" time="2026-09-17T09:50:48Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/151/config702002631/grpcServerConfig.json time="2026-09-17T09:50:48Z" msg="gRPC server listening on /tmp/bridge5736" time="2026-09-17T09:50:48Z" msg="Frontend service started" time="2026-09-17T09:50:48Z" msg="Starting frontend client" time="2026-09-17T09:50:48Z" msg="Not monitoring parent PID" time="2026-09-17T09:50:48Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:50:48Z" msg="Frontend client started" When bridge starts # :1 -> *scenario time="2026-09-17T09:50:48Z" msg="Performing full user login" /user username="******** (4d0006be)" time="2026-09-17T09:50:48Z" msg="Authorizing user for login" /user username="******** (4d0006be)" time="2026-09-17T09:50:48Z" msg="200 OK: GET https://127.0.0.1:35259/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:50:48Z" msg="200 OK: POST https://127.0.0.1:35259/auth/v4/info" /manager time="2026-09-17T09:50:48Z" msg="200 OK: POST https://127.0.0.1:35259/auth/v4" /manager time="2026-09-17T09:50:48Z" msg="Logging in authorized user" /user userID=577c9e43-bcdd-40ae-9319-21cfe87bdf1a time="2026-09-17T09:50:48Z" msg="Adding vault user" userID=577c9e43-bcdd-40ae-9319-21cfe87bdf1a time="2026-09-17T09:50:48Z" msg="Creating new user" userID=577c9e43-bcdd-40ae-9319-21cfe87bdf1a time="2026-09-17T09:50:48Z" msg="404 GET https://127.0.0.1:35259/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:50:48Z" msg="404 GET https://127.0.0.1:35259/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:50:48Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:35259/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:50:48Z" msg="Creating user object" authUID=1d0a3104-41dc-4ffa-acf1-d57adbeec1a0 numA numL userID=577c9e43-bcdd-40ae-9319-21cfe87bdf1a time="2026-09-17T09:50:48Z" msg="200 OK: GET https://127.0.0.1:35259/core/v4/events/latest" /client userID=577c9e43-bcdd-40ae-9319-21cfe87bdf1a time="2026-09-17T09:50:48Z" msg="Starting service Last EventID=Ag==" time="2026-09-17T09:50:48Z" msg="200 OK: GET https://127.0.0.1:35259/core/v4/settings" /client userID=577c9e43-bcdd-40ae-9319-21cfe87bdf1a time="2026-09-17T09:50:48Z" msg="Registering user client, ID:577c9e43-bcdd-40ae-9319-21cfe87bdf1a" time="2026-09-17T09:50:48Z" msg="Starting user identity service" numA time="2026-09-17T09:50:48Z" msg="Starting service main loop" time="2026-09-17T09:50:48Z" msg="Starting service main loop" time="2026-09-17T09:50:48Z" msg="Starting service main loop" time="2026-09-17T09:50:48Z" msg="200 OK: GET https://127.0.0.1:35259/core/v4/labels?T" /client userID=577c9e43-bcdd-40ae-9319-21cfe87bdf1a time="2026-09-17T09:50:48Z" msg="200 OK: GET https://127.0.0.1:35259/core/v4/labels?T" /client userID=577c9e43-bcdd-40ae-9319-21cfe87bdf1a time="2026-09-17T09:50:48Z" msg="200 OK: GET https://127.0.0.1:35259/core/v4/labels?T" /client userID=577c9e43-bcdd-40ae-9319-21cfe87bdf1a time="2026-09-17T09:50:48Z" msg="Setting labels" labelIDs="[8 9 10 12 0 1 3 5 6 7 2 4 638cc0ff-87b8-4aaa-a8b9-4de927eb52ad]" time="2026-09-17T09:50:48Z" msg="Adding user to imap server" addrID=9b506f22-3c64-4e15-bf34-a4eed06ffd01 time="2026-09-17T09:50:48Z" msg="Creating new IMAP user" addrID=9b506f22-3c64-4e15-bf34-a4eed06ffd01 time="2026-09-17T09:50:48Z" msg="Setting gluon ID" addrID=9b506f22-3c64-4e15-bf34-a4eed06ffd01 gluonID=cdc32f56-3d52-4c6b-93f7-3e8ffe826de2 userID=577c9e43-bcdd-40ae-9319-21cfe87bdf1a time="2026-09-17T09:50:48Z" msg="Received mailbox message count" gluonID=cdc32f56-3d52-4c6b-93f7-3e8ffe826de2 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:50:48Z" msg="Created new IMAP user" addrID=9b506f22-3c64-4e15-bf34-a4eed06ffd01 gluonID=cdc32f56-3d52-4c6b-93f7-3e8ffe826de2 time="2026-09-17T09:50:48Z" msg="Validating Listener State" time="2026-09-17T09:50:48Z" time="2026-09-17T09:50:48Z" msg="Starting IMAP Service" time="2026-09-17T09:50:48Z" msg="Checking whether logged in user should re-sync. UserID:577c9e43-bcdd-40ae-9319-21cfe87bdf1a" userID=577c9e43-bcdd-40ae-9319-21cfe87bdf1a And the user logs in with username "e39205b5-417a-4d6c-962f-980a36ec3e26" and password "password"# :1 -> *scenario time="2026-09-17T09:50:48Z" msg="Sync triggered" time="2026-09-17T09:50:48Z" msg="Beginning user sync" start="2026-09-17 09:50:48.906770945 +0000 UTC m=+337.399073281" time="2026-09-17T09:50:48Z" msg="Syncing labels" time="2026-09-17T09:50:48Z" msg="Label not found in DB, creating mailbox." labelID=638cc0ff-87b8-4aaa-a8b9-4de927eb52ad labelPath="jm2pV8GS7FVFPTesFaU5jW/EhDgcEQCxeWTMDFRvNjU=" numberOfC /labelConflictResolver time="2026-09-17T09:50:48Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=cdc32f56-3d52-4c6b-93f7-3e8ffe826de2 time="2026-09-17T09:50:48Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=cdc32f56-3d52-4c6b-93f7-3e8ffe826de2 time="2026-09-17T09:50:48Z" msg="Mailbox created" /user remoteMailboxID=10 userID=cdc32f56-3d52-4c6b-93f7-3e8ffe826de2 time="2026-09-17T09:50:48Z" msg="Mailbox created" /user remoteMailboxID=0 userID=cdc32f56-3d52-4c6b-93f7-3e8ffe826de2 time="2026-09-17T09:50:48Z" msg="Mailbox created" /user remoteMailboxID=6 userID=cdc32f56-3d52-4c6b-93f7-3e8ffe826de2 time="2026-09-17T09:50:48Z" msg="Mailbox created" /user remoteMailboxID=4 userID=cdc32f56-3d52-4c6b-93f7-3e8ffe826de2 time="2026-09-17T09:50:48Z" msg="Mailbox created" /user remoteMailboxID=638cc0ff-87b8-4aaa-a8b9-4de927eb52ad userID=cdc32f56-3d52-4c6b-93f7-3e8ffe826de2 time="2026-09-17T09:50:48Z" msg="Mailbox created" /user remoteMailboxID=8 userID=cdc32f56-3d52-4c6b-93f7-3e8ffe826de2 time="2026-09-17T09:50:48Z" msg="Mailbox created" /user remoteMailboxID=12 userID=cdc32f56-3d52-4c6b-93f7-3e8ffe826de2 time="2026-09-17T09:50:48Z" msg="Mailbox created" /user remoteMailboxID=3 userID=cdc32f56-3d52-4c6b-93f7-3e8ffe826de2 time="2026-09-17T09:50:48Z" msg="Mailbox created" /user remoteMailboxID=5 userID=cdc32f56-3d52-4c6b-93f7-3e8ffe826de2 time="2026-09-17T09:50:48Z" msg="Mailbox created" /user remoteMailboxID=7 userID=cdc32f56-3d52-4c6b-93f7-3e8ffe826de2 time="2026-09-17T09:50:48Z" msg="Synced labels" time="2026-09-17T09:50:48Z" msg="200 OK: GET https://127.0.0.1:35259/mail/v4/messages/count" /client userID=577c9e43-bcdd-40ae-9319-21cfe87bdf1a time="2026-09-17T09:50:48Z" msg="Syncing messages" time="2026-09-17T09:50:48Z" msg="Job started" time="2026-09-17T09:50:48Z" msg="200 OK: POST https://127.0.0.1:35259/mail/v4/messages" /client userID=577c9e43-bcdd-40ae-9319-21cfe87bdf1a time="2026-09-17T09:50:48Z" msg="200 OK: POST https://127.0.0.1:35259/mail/v4/messages" /client userID=577c9e43-bcdd-40ae-9319-21cfe87bdf1a time="2026-09-17T09:50:48Z" msg="Creating new child job" time="2026-09-17T09:50:48Z" msg="Job finished" time="2026-09-17T09:50:48Z" msg="200 OK: GET https://127.0.0.1:35259/mail/v4/messages/24a267c8-3bb0-4add-a16a-cd7e366fccd6" /client userID=577c9e43-bcdd-40ae-9319-21cfe87bdf1a time="2026-09-17T09:50:48Z" msg="Sending observability data." time="2026-09-17T09:50:48Z" msg="200 OK: POST https://127.0.0.1:35259/data/v1/metrics" /client userID=577c9e43-bcdd-40ae-9319-21cfe87bdf1a time="2026-09-17T09:50:48Z" msg="Successfully sent observability data." time="2026-09-17T09:50:48Z" msg="Child job finished" time="2026-09-17T09:50:48Z" msg="All child jobs completed" sync- time="2026-09-17T09:50:48Z" msg="Synced messages" time="2026-09-17T09:50:48Z" msg="Finished user sync" .109218ms time="2026-09-17T09:50:48Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:50:48Z" msg="Event loop reset" eventID="Ag==" And user "e39205b5-417a-4d6c-962f-980a36ec3e26" finishes syncing # :1 -> *scenario And user "e39205b5-417a-4d6c-962f-980a36ec3e26" connects and authenticates IMAP client "1" # :1 -> *scenario Then it succeeds # :1 -> *scenario Scenario: Mark message as forwarded # features/imap/message/store.feature:15 When IMAP client "1" selects "Folders/mbox" # :1 -> *scenario time="2026-09-17T09:50:48Z" msg="200 OK: PUT https://127.0.0.1:35259/mail/v4/messages/forward" /client userID=577c9e43-bcdd-40ae-9319-21cfe87bdf1a And IMAP client "1" marks message 1 as "forwarded" # :1 -> *scenario And it succeeds # :1 -> *scenario Then IMAP client "1" eventually sees that message at row 1 has the flag "forwarded" # :1 -> *scenario time="2026-09-17T09:50:49Z" msg="Frontend service stopped" time="2026-09-17T09:50:49Z" msg="Frontend client stopped" time="2026-09-17T09:50:49Z" msg="Closing bridge" time="2026-09-17T09:50:49Z" msg="Stopping service" time="2026-09-17T09:50:49Z" msg="Closing user" userID=577c9e43-bcdd-40ae-9319-21cfe87bdf1a time="2026-09-17T09:50:49Z" msg="De-registering user client, ID:577c9e43-bcdd-40ae-9319-21cfe87bdf1a" time="2026-09-17T09:50:49Z" msg="Exiting IMAP Service" time="2026-09-17T09:50:49Z" msg="Exiting service main loop" time="2026-09-17T09:50:49Z" msg="Exiting service main loop" time="2026-09-17T09:50:49Z" msg="Exiting Service" time="2026-09-17T09:50:49Z" msg="Exiting service main loop" time="2026-09-17T09:50:49Z" msg="Exiting service" time="2026-09-17T09:50:49Z" msg="Closing IMAP Listener" time="2026-09-17T09:50:49Z" msg="Closing IMAP server" time="2026-09-17T09:50:49Z" msg="Closing SMTP Listener" time="2026-09-17T09:50:49Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:50:49Z" msg="Closing SMTP server" time="2026-09-17T09:50:49Z" msg="Closing service" And it succeeds # :1 -> *scenario time="2026-09-17T09:50:49Z" msg="User 'a32ae547-f5d6-44cc-9f59-060bf214985f' created with " /server/backend time="2026-09-17T09:50:50Z" msg="Starting bridge" time="2026-09-17T09:50:50Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/152/config921473566/grpcFocusServerConfig.json /service time="2026-09-17T09:50:50Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/152/cache3909182396/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:50:50Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/152/cache3909182396/notifications/notification_cache: no such file or directory" time="2026-09-17T09:50:50Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/152/data1327800398/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/152/data1327800398/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:50:50Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:50:50Z" msg="Starting IMAP server" time="2026-09-17T09:50:50Z" msg="Starting SMTP server" time="2026-09-17T09:50:50Z" msg="Starting service" time="2026-09-17T09:50:50Z" msg="Starting service" time="2026-09-17T09:50:50Z" msg="Starting frontend service" time="2026-09-17T09:50:50Z" msg="Starting poll service" time="2026-09-17T09:50:50Z" msg="Checking for updates" time="2026-09-17T09:50:50Z" msg="Starting receiver service" time="2026-09-17T09:50:50Z" msg="Loading users" /user time="2026-09-17T09:50:50Z" msg="Finished loading users" /user time="2026-09-17T09:50:50Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/152/config921473566/grpcServerConfig.json time="2026-09-17T09:50:50Z" msg="gRPC server listening on /tmp/bridge1675" time="2026-09-17T09:50:50Z" msg="Frontend service started" time="2026-09-17T09:50:50Z" msg="Starting frontend client" time="2026-09-17T09:50:50Z" msg="Not monitoring parent PID" time="2026-09-17T09:50:50Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:50:50Z" msg="200 OK: GET https://127.0.0.1:43721/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:50:50Z" msg="Frontend client started" time="2026-09-17T09:50:50Z" msg="Performing full user login" /user username="******** (cad87306)" time="2026-09-17T09:50:50Z" msg="Authorizing user for login" /user username="******** (cad87306)" time="2026-09-17T09:50:50Z" msg="200 OK: POST https://127.0.0.1:43721/auth/v4/info" /manager time="2026-09-17T09:50:51Z" msg="200 OK: POST https://127.0.0.1:43721/auth/v4" /manager time="2026-09-17T09:50:51Z" msg="Logging in authorized user" /user userID=57d0f2ba-0a55-4e29-be38-02b881d6f175 time="2026-09-17T09:50:51Z" msg="Adding vault user" userID=57d0f2ba-0a55-4e29-be38-02b881d6f175 time="2026-09-17T09:50:51Z" msg="Creating new user" userID=57d0f2ba-0a55-4e29-be38-02b881d6f175 time="2026-09-17T09:50:51Z" msg="404 GET https://127.0.0.1:43721/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:50:51Z" msg="404 GET https://127.0.0.1:43721/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:50:51Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:43721/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:50:51Z" msg="Creating user object" authUID=c45ccb37-6788-475c-9f0a-c95c7adcc371 numA numL userID=57d0f2ba-0a55-4e29-be38-02b881d6f175 time="2026-09-17T09:50:51Z" msg="200 OK: GET https://127.0.0.1:43721/core/v4/events/latest" /client userID=57d0f2ba-0a55-4e29-be38-02b881d6f175 time="2026-09-17T09:50:51Z" msg="Starting service Last EventID=Ag==" time="2026-09-17T09:50:51Z" msg="200 OK: GET https://127.0.0.1:43721/core/v4/settings" /client userID=57d0f2ba-0a55-4e29-be38-02b881d6f175 time="2026-09-17T09:50:51Z" msg="Registering user client, ID:57d0f2ba-0a55-4e29-be38-02b881d6f175" time="2026-09-17T09:50:51Z" msg="Starting service main loop" time="2026-09-17T09:50:51Z" msg="Starting user identity service" numA time="2026-09-17T09:50:51Z" msg="Starting service main loop" time="2026-09-17T09:50:51Z" msg="Starting service main loop" time="2026-09-17T09:50:51Z" msg="200 OK: GET https://127.0.0.1:43721/core/v4/labels?T" /client userID=57d0f2ba-0a55-4e29-be38-02b881d6f175 time="2026-09-17T09:50:51Z" msg="200 OK: GET https://127.0.0.1:43721/core/v4/labels?T" /client userID=57d0f2ba-0a55-4e29-be38-02b881d6f175 time="2026-09-17T09:50:51Z" msg="200 OK: GET https://127.0.0.1:43721/core/v4/labels?T" /client userID=57d0f2ba-0a55-4e29-be38-02b881d6f175 time="2026-09-17T09:50:51Z" msg="Setting labels" labelIDs="[1 2 3 4 6 8 9 10 0 5 7 12 8d9852aa-3e47-4ef6-a798-10ebb5fe20e0]" time="2026-09-17T09:50:51Z" msg="Adding user to imap server" addrID=835b50ae-e2d4-48bd-9f3b-4f9f0871bb15 time="2026-09-17T09:50:51Z" msg="Creating new IMAP user" addrID=835b50ae-e2d4-48bd-9f3b-4f9f0871bb15 time="2026-09-17T09:50:51Z" msg="Setting gluon ID" addrID=835b50ae-e2d4-48bd-9f3b-4f9f0871bb15 gluonID=6b0efc59-47b7-406d-9fbc-f7e2979999f2 userID=57d0f2ba-0a55-4e29-be38-02b881d6f175 time="2026-09-17T09:50:51Z" msg="Received mailbox message count" gluonID=6b0efc59-47b7-406d-9fbc-f7e2979999f2 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:50:51Z" msg="Created new IMAP user" addrID=835b50ae-e2d4-48bd-9f3b-4f9f0871bb15 gluonID=6b0efc59-47b7-406d-9fbc-f7e2979999f2 time="2026-09-17T09:50:51Z" msg="Validating Listener State" time="2026-09-17T09:50:51Z" time="2026-09-17T09:50:51Z" msg="Checking whether logged in user should re-sync. UserID:57d0f2ba-0a55-4e29-be38-02b881d6f175" userID=57d0f2ba-0a55-4e29-be38-02b881d6f175 time="2026-09-17T09:50:51Z" msg="Starting IMAP Service" time="2026-09-17T09:50:51Z" msg="Sync triggered" time="2026-09-17T09:50:51Z" msg="Beginning user sync" start="2026-09-17 09:50:51.285533346 +0000 UTC m=+339.777835642" time="2026-09-17T09:50:51Z" msg="Syncing labels" time="2026-09-17T09:50:51Z" msg="Label not found in DB, creating mailbox." labelID=8d9852aa-3e47-4ef6-a798-10ebb5fe20e0 labelPath="jm2pV8GS7FVFPTesFaU5jW/EhDgcEQCxeWTMDFRvNjU=" numberOfC /labelConflictResolver time="2026-09-17T09:50:51Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=6b0efc59-47b7-406d-9fbc-f7e2979999f2 time="2026-09-17T09:50:51Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=6b0efc59-47b7-406d-9fbc-f7e2979999f2 time="2026-09-17T09:50:51Z" msg="Mailbox created" /user remoteMailboxID=3 userID=6b0efc59-47b7-406d-9fbc-f7e2979999f2 time="2026-09-17T09:50:51Z" msg="Mailbox created" /user remoteMailboxID=6 userID=6b0efc59-47b7-406d-9fbc-f7e2979999f2 time="2026-09-17T09:50:51Z" msg="Mailbox created" /user remoteMailboxID=8 userID=6b0efc59-47b7-406d-9fbc-f7e2979999f2 time="2026-09-17T09:50:51Z" msg="Mailbox created" /user remoteMailboxID=10 userID=6b0efc59-47b7-406d-9fbc-f7e2979999f2 time="2026-09-17T09:50:51Z" msg="Mailbox created" /user remoteMailboxID=8d9852aa-3e47-4ef6-a798-10ebb5fe20e0 userID=6b0efc59-47b7-406d-9fbc-f7e2979999f2 time="2026-09-17T09:50:51Z" msg="Mailbox created" /user remoteMailboxID=4 userID=6b0efc59-47b7-406d-9fbc-f7e2979999f2 time="2026-09-17T09:50:51Z" msg="Mailbox created" /user remoteMailboxID=0 userID=6b0efc59-47b7-406d-9fbc-f7e2979999f2 time="2026-09-17T09:50:51Z" msg="Mailbox created" /user remoteMailboxID=5 userID=6b0efc59-47b7-406d-9fbc-f7e2979999f2 time="2026-09-17T09:50:51Z" msg="Mailbox created" /user remoteMailboxID=7 userID=6b0efc59-47b7-406d-9fbc-f7e2979999f2 time="2026-09-17T09:50:51Z" msg="Mailbox created" /user remoteMailboxID=12 userID=6b0efc59-47b7-406d-9fbc-f7e2979999f2 time="2026-09-17T09:50:51Z" msg="Synced labels" time="2026-09-17T09:50:51Z" msg="200 OK: GET https://127.0.0.1:43721/mail/v4/messages/count" /client userID=57d0f2ba-0a55-4e29-be38-02b881d6f175 time="2026-09-17T09:50:51Z" msg="Syncing messages" time="2026-09-17T09:50:51Z" msg="Job started" time="2026-09-17T09:50:51Z" msg="200 OK: POST https://127.0.0.1:43721/mail/v4/messages" /client userID=57d0f2ba-0a55-4e29-be38-02b881d6f175 time="2026-09-17T09:50:51Z" msg="200 OK: POST https://127.0.0.1:43721/mail/v4/messages" /client userID=57d0f2ba-0a55-4e29-be38-02b881d6f175 time="2026-09-17T09:50:51Z" msg="Creating new child job" time="2026-09-17T09:50:51Z" msg="Job finished" time="2026-09-17T09:50:51Z" msg="200 OK: GET https://127.0.0.1:43721/mail/v4/messages/d6240a8b-8ab4-4d1e-8d5b-6bb7240e26e7" /client userID=57d0f2ba-0a55-4e29-be38-02b881d6f175 time="2026-09-17T09:50:51Z" msg="Sending observability data." time="2026-09-17T09:50:51Z" msg="200 OK: POST https://127.0.0.1:43721/data/v1/metrics" /client userID=57d0f2ba-0a55-4e29-be38-02b881d6f175 time="2026-09-17T09:50:51Z" msg="Successfully sent observability data." time="2026-09-17T09:50:51Z" msg="Child job finished" time="2026-09-17T09:50:51Z" msg="All child jobs completed" sync- time="2026-09-17T09:50:51Z" msg="Synced messages" time="2026-09-17T09:50:51Z" msg="Finished user sync" .326881ms time="2026-09-17T09:50:51Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:50:51Z" msg="Event loop reset" eventID="Ag==" Scenario: Mark message as forwarded and then revert # features/imap/message/store.feature:23 When IMAP client "1" selects "Folders/mbox" # :1 -> *scenario time="2026-09-17T09:50:51Z" msg="200 OK: PUT https://127.0.0.1:43721/mail/v4/messages/forward" /client userID=57d0f2ba-0a55-4e29-be38-02b881d6f175 And IMAP client "1" marks message 1 as "forwarded" # :1 -> *scenario And it succeeds # :1 -> *scenario Then IMAP client "1" eventually sees that message at row 1 has the flag "forwarded" # :1 -> *scenario And it succeeds # :1 -> *scenario time="2026-09-17T09:50:51Z" msg="200 OK: PUT https://127.0.0.1:43721/mail/v4/messages/unforward" /client userID=57d0f2ba-0a55-4e29-be38-02b881d6f175 And IMAP client "1" marks message 1 as "unforwarded" # :1 -> *scenario And it succeeds # :1 -> *scenario Then IMAP client "1" eventually sees that message at row 1 does not have the flag "forwarded" # :1 -> *scenario time="2026-09-17T09:50:51Z" msg="Frontend service stopped" time="2026-09-17T09:50:51Z" msg="Frontend client stopped" time="2026-09-17T09:50:51Z" msg="Closing bridge" time="2026-09-17T09:50:51Z" msg="Stopping service" time="2026-09-17T09:50:51Z" msg="Closing user" userID=57d0f2ba-0a55-4e29-be38-02b881d6f175 time="2026-09-17T09:50:51Z" msg="De-registering user client, ID:57d0f2ba-0a55-4e29-be38-02b881d6f175" time="2026-09-17T09:50:51Z" msg="Exiting IMAP Service" time="2026-09-17T09:50:51Z" msg="Exiting service main loop" time="2026-09-17T09:50:51Z" msg="Exiting service main loop" time="2026-09-17T09:50:51Z" msg="Exiting Service" time="2026-09-17T09:50:51Z" msg="Exiting service main loop" time="2026-09-17T09:50:51Z" msg="Exiting service" time="2026-09-17T09:50:51Z" msg="Closing IMAP Listener" time="2026-09-17T09:50:51Z" msg="Closing IMAP server" time="2026-09-17T09:50:51Z" msg="Closing SMTP Listener" time="2026-09-17T09:50:51Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:50:51Z" msg="Closing SMTP server" time="2026-09-17T09:50:51Z" msg="Closing service" And it succeeds # :1 -> *scenario time="2026-09-17T09:50:51Z" msg="User 'ee6b84dd-696f-4e0f-8040-c624fe6c93d0' created with " /server/backend time="2026-09-17T09:50:53Z" msg="Starting bridge" time="2026-09-17T09:50:53Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/153/config2069988587/grpcFocusServerConfig.json /service time="2026-09-17T09:50:53Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/153/cache3438723467/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:50:53Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/153/cache3438723467/notifications/notification_cache: no such file or directory" time="2026-09-17T09:50:53Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/153/data939289077/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/153/data939289077/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:50:53Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:50:53Z" msg="Starting IMAP server" time="2026-09-17T09:50:53Z" msg="Starting SMTP server" time="2026-09-17T09:50:53Z" msg="Starting service" time="2026-09-17T09:50:53Z" msg="Starting service" time="2026-09-17T09:50:53Z" msg="Starting poll service" time="2026-09-17T09:50:53Z" msg="Checking for updates" time="2026-09-17T09:50:53Z" msg="Starting receiver service" time="2026-09-17T09:50:53Z" msg="Loading users" /user time="2026-09-17T09:50:53Z" msg="Starting frontend service" time="2026-09-17T09:50:53Z" msg="Finished loading users" /user time="2026-09-17T09:50:53Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/153/config2069988587/grpcServerConfig.json time="2026-09-17T09:50:53Z" msg="gRPC server listening on /tmp/bridge7771" time="2026-09-17T09:50:53Z" msg="Frontend service started" time="2026-09-17T09:50:53Z" msg="Starting frontend client" time="2026-09-17T09:50:53Z" msg="Not monitoring parent PID" time="2026-09-17T09:50:53Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:50:53Z" msg="200 OK: GET https://127.0.0.1:35189/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:50:53Z" msg="Frontend client started" time="2026-09-17T09:50:53Z" msg="Performing full user login" /user username="******** (0669c86a)" time="2026-09-17T09:50:53Z" msg="Authorizing user for login" /user username="******** (0669c86a)" time="2026-09-17T09:50:53Z" msg="200 OK: POST https://127.0.0.1:35189/auth/v4/info" /manager time="2026-09-17T09:50:53Z" msg="200 OK: POST https://127.0.0.1:35189/auth/v4" /manager time="2026-09-17T09:50:53Z" msg="Logging in authorized user" /user userID=bfe97f9b-58d8-47cc-948d-884450ac5430 time="2026-09-17T09:50:53Z" msg="Adding vault user" userID=bfe97f9b-58d8-47cc-948d-884450ac5430 time="2026-09-17T09:50:53Z" msg="Creating new user" userID=bfe97f9b-58d8-47cc-948d-884450ac5430 time="2026-09-17T09:50:53Z" msg="404 GET https://127.0.0.1:35189/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:50:53Z" msg="404 GET https://127.0.0.1:35189/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:50:53Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:35189/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:50:53Z" msg="Creating user object" authUID=ea56df81-a50f-465e-a3f3-eb65f7eeba27 numA numL userID=bfe97f9b-58d8-47cc-948d-884450ac5430 time="2026-09-17T09:50:53Z" msg="200 OK: GET https://127.0.0.1:35189/core/v4/events/latest" /client userID=bfe97f9b-58d8-47cc-948d-884450ac5430 time="2026-09-17T09:50:53Z" msg="Starting service Last EventID=Ag==" time="2026-09-17T09:50:53Z" msg="200 OK: GET https://127.0.0.1:35189/core/v4/settings" /client userID=bfe97f9b-58d8-47cc-948d-884450ac5430 time="2026-09-17T09:50:53Z" msg="Registering user client, ID:bfe97f9b-58d8-47cc-948d-884450ac5430" time="2026-09-17T09:50:53Z" msg="Starting user identity service" numA time="2026-09-17T09:50:53Z" msg="Starting service main loop" time="2026-09-17T09:50:53Z" msg="Starting service main loop" time="2026-09-17T09:50:53Z" msg="Starting service main loop" time="2026-09-17T09:50:53Z" msg="200 OK: GET https://127.0.0.1:35189/core/v4/labels?T" /client userID=bfe97f9b-58d8-47cc-948d-884450ac5430 time="2026-09-17T09:50:53Z" msg="200 OK: GET https://127.0.0.1:35189/core/v4/labels?T" /client userID=bfe97f9b-58d8-47cc-948d-884450ac5430 time="2026-09-17T09:50:53Z" msg="200 OK: GET https://127.0.0.1:35189/core/v4/labels?T" /client userID=bfe97f9b-58d8-47cc-948d-884450ac5430 time="2026-09-17T09:50:53Z" msg="Setting labels" labelIDs="[0 1 2 3 6 4 5 7 8 9 10 12 203532a4-5aaa-437d-9b62-7b0ae497550e]" time="2026-09-17T09:50:53Z" msg="Adding user to imap server" addrID=d46b6d56-8a66-44d0-8dfd-7e70c54707fb time="2026-09-17T09:50:53Z" msg="Creating new IMAP user" addrID=d46b6d56-8a66-44d0-8dfd-7e70c54707fb time="2026-09-17T09:50:53Z" msg="Setting gluon ID" addrID=d46b6d56-8a66-44d0-8dfd-7e70c54707fb gluonID=495eebde-c8b1-48b5-8827-58e3927667b7 userID=bfe97f9b-58d8-47cc-948d-884450ac5430 time="2026-09-17T09:50:53Z" msg="Received mailbox message count" gluonID=495eebde-c8b1-48b5-8827-58e3927667b7 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:50:53Z" msg="Created new IMAP user" addrID=d46b6d56-8a66-44d0-8dfd-7e70c54707fb gluonID=495eebde-c8b1-48b5-8827-58e3927667b7 time="2026-09-17T09:50:53Z" msg="Validating Listener State" time="2026-09-17T09:50:53Z" time="2026-09-17T09:50:53Z" msg="Checking whether logged in user should re-sync. UserID:bfe97f9b-58d8-47cc-948d-884450ac5430" userID=bfe97f9b-58d8-47cc-948d-884450ac5430 time="2026-09-17T09:50:53Z" msg="Starting IMAP Service" time="2026-09-17T09:50:53Z" msg="Sync triggered" time="2026-09-17T09:50:53Z" msg="Beginning user sync" start="2026-09-17 09:50:53.67370283 +0000 UTC m=+342.166005126" time="2026-09-17T09:50:53Z" msg="Syncing labels" time="2026-09-17T09:50:53Z" msg="Label not found in DB, creating mailbox." labelID=203532a4-5aaa-437d-9b62-7b0ae497550e labelPath="jm2pV8GS7FVFPTesFaU5jW/EhDgcEQCxeWTMDFRvNjU=" numberOfC /labelConflictResolver time="2026-09-17T09:50:53Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=495eebde-c8b1-48b5-8827-58e3927667b7 time="2026-09-17T09:50:53Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=495eebde-c8b1-48b5-8827-58e3927667b7 time="2026-09-17T09:50:53Z" msg="Mailbox created" /user remoteMailboxID=12 userID=495eebde-c8b1-48b5-8827-58e3927667b7 time="2026-09-17T09:50:53Z" msg="Mailbox created" /user remoteMailboxID=203532a4-5aaa-437d-9b62-7b0ae497550e userID=495eebde-c8b1-48b5-8827-58e3927667b7 time="2026-09-17T09:50:53Z" msg="Mailbox created" /user remoteMailboxID=0 userID=495eebde-c8b1-48b5-8827-58e3927667b7 time="2026-09-17T09:50:53Z" msg="Mailbox created" /user remoteMailboxID=6 userID=495eebde-c8b1-48b5-8827-58e3927667b7 time="2026-09-17T09:50:53Z" msg="Mailbox created" /user remoteMailboxID=4 userID=495eebde-c8b1-48b5-8827-58e3927667b7 time="2026-09-17T09:50:53Z" msg="Mailbox created" /user remoteMailboxID=5 userID=495eebde-c8b1-48b5-8827-58e3927667b7 time="2026-09-17T09:50:53Z" msg="Mailbox created" /user remoteMailboxID=8 userID=495eebde-c8b1-48b5-8827-58e3927667b7 time="2026-09-17T09:50:53Z" msg="Mailbox created" /user remoteMailboxID=10 userID=495eebde-c8b1-48b5-8827-58e3927667b7 time="2026-09-17T09:50:53Z" msg="Mailbox created" /user remoteMailboxID=3 userID=495eebde-c8b1-48b5-8827-58e3927667b7 time="2026-09-17T09:50:53Z" msg="Mailbox created" /user remoteMailboxID=7 userID=495eebde-c8b1-48b5-8827-58e3927667b7 time="2026-09-17T09:50:53Z" msg="Synced labels" time="2026-09-17T09:50:53Z" msg="200 OK: GET https://127.0.0.1:35189/mail/v4/messages/count" /client userID=bfe97f9b-58d8-47cc-948d-884450ac5430 time="2026-09-17T09:50:53Z" msg="Syncing messages" time="2026-09-17T09:50:53Z" msg="Job started" time="2026-09-17T09:50:53Z" msg="200 OK: POST https://127.0.0.1:35189/mail/v4/messages" /client userID=bfe97f9b-58d8-47cc-948d-884450ac5430 time="2026-09-17T09:50:53Z" msg="200 OK: POST https://127.0.0.1:35189/mail/v4/messages" /client userID=bfe97f9b-58d8-47cc-948d-884450ac5430 time="2026-09-17T09:50:53Z" msg="Creating new child job" time="2026-09-17T09:50:53Z" msg="Job finished" time="2026-09-17T09:50:53Z" msg="200 OK: GET https://127.0.0.1:35189/mail/v4/messages/a204312c-d796-4f42-870d-a9a35913d1f5" /client userID=bfe97f9b-58d8-47cc-948d-884450ac5430 time="2026-09-17T09:50:53Z" msg="Sending observability data." time="2026-09-17T09:50:53Z" msg="200 OK: POST https://127.0.0.1:35189/data/v1/metrics" /client userID=bfe97f9b-58d8-47cc-948d-884450ac5430 time="2026-09-17T09:50:53Z" msg="Successfully sent observability data." time="2026-09-17T09:50:53Z" msg="Child job finished" time="2026-09-17T09:50:53Z" msg="All child jobs completed" sync- time="2026-09-17T09:50:53Z" msg="Synced messages" time="2026-09-17T09:50:53Z" msg="Finished user sync" .807759ms time="2026-09-17T09:50:53Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:50:53Z" msg="Event loop reset" eventID="Ag==" Scenario: Mark message as replied # features/imap/message/store.feature:34 When IMAP client "1" selects "Folders/mbox" # :1 -> *scenario And IMAP client "1" marks message 1 as "replied" # :1 -> *scenario And it succeeds # :1 -> *scenario Then IMAP client "1" eventually sees that message at row 1 has the flag "\Answered" # :1 -> *scenario time="2026-09-17T09:50:53Z" msg="Frontend service stopped" time="2026-09-17T09:50:53Z" msg="Frontend client stopped" time="2026-09-17T09:50:53Z" msg="Closing bridge" time="2026-09-17T09:50:53Z" msg="Stopping service" time="2026-09-17T09:50:53Z" msg="Closing user" userID=bfe97f9b-58d8-47cc-948d-884450ac5430 time="2026-09-17T09:50:53Z" msg="De-registering user client, ID:bfe97f9b-58d8-47cc-948d-884450ac5430" time="2026-09-17T09:50:53Z" msg="Exiting IMAP Service" time="2026-09-17T09:50:53Z" msg="Exiting service main loop" time="2026-09-17T09:50:53Z" msg="Exiting service main loop" time="2026-09-17T09:50:53Z" msg="Exiting Service" time="2026-09-17T09:50:53Z" msg="Exiting service main loop" time="2026-09-17T09:50:53Z" msg="Exiting service" time="2026-09-17T09:50:53Z" msg="Closing IMAP Listener" time="2026-09-17T09:50:53Z" msg="Closing IMAP server" time="2026-09-17T09:50:53Z" msg="Closing SMTP Listener" time="2026-09-17T09:50:53Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:50:53Z" msg="Closing SMTP server" time="2026-09-17T09:50:53Z" msg="Closing service" And it succeeds # :1 -> *scenario Feature: Bridge can fully sync an account time="2026-09-17T09:50:54Z" msg="User '70f25a0c-ac2a-4f17-b276-1c90a464a76c' created with " /server/backend Background: Given there exists an account with username "70f25a0c-ac2a-4f17-b276-1c90a464a76c" and password "password" # :1 -> *scenario And the address "70f25a0c-ac2a-4f17-b276-1c90a464a76c@proton.local" of account "70f25a0c-ac2a-4f17-b276-1c90a464a76c" has the following messages in "Inbox": # :1 -> *scenario | from | to | subject | unread | | john.doe@mail.com | 70f25a0c-ac2a-4f17-b276-1c90a464a76c@proton.local | foo | false | | jane.doe@mail.com | name@proton.local | bar | true | And the account "70f25a0c-ac2a-4f17-b276-1c90a464a76c" has 20 custom folders # :1 -> *scenario And the account "70f25a0c-ac2a-4f17-b276-1c90a464a76c" has 60 custom labels # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:50:55Z" msg="Starting bridge" time="2026-09-17T09:50:55Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/154/config1126976069/grpcFocusServerConfig.json /service time="2026-09-17T09:50:55Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/154/cache941158585/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:50:55Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/154/cache941158585/notifications/notification_cache: no such file or directory" time="2026-09-17T09:50:55Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/154/data3871660748/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/154/data3871660748/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:50:55Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:50:55Z" msg="Starting IMAP server" time="2026-09-17T09:50:55Z" msg="Starting SMTP server" time="2026-09-17T09:50:55Z" msg="Starting service" time="2026-09-17T09:50:55Z" msg="Starting service" time="2026-09-17T09:50:55Z" msg="Starting receiver service" time="2026-09-17T09:50:55Z" msg="Starting poll service" time="2026-09-17T09:50:55Z" msg="Checking for updates" time="2026-09-17T09:50:55Z" msg="Loading users" /user time="2026-09-17T09:50:55Z" msg="Starting frontend service" time="2026-09-17T09:50:55Z" msg="Finished loading users" /user time="2026-09-17T09:50:55Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/154/config1126976069/grpcServerConfig.json time="2026-09-17T09:50:55Z" msg="gRPC server listening on /tmp/bridge8990" time="2026-09-17T09:50:55Z" msg="Frontend service started" time="2026-09-17T09:50:55Z" msg="Starting frontend client" time="2026-09-17T09:50:55Z" msg="Not monitoring parent PID" time="2026-09-17T09:50:55Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:50:55Z" msg="200 OK: GET https://127.0.0.1:46757/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:50:55Z" msg="Frontend client started" When bridge starts # :1 -> *scenario time="2026-09-17T09:50:55Z" msg="Performing full user login" /user username="******** (ce2d0eb4)" time="2026-09-17T09:50:55Z" msg="Authorizing user for login" /user username="******** (ce2d0eb4)" time="2026-09-17T09:50:55Z" msg="200 OK: POST https://127.0.0.1:46757/auth/v4/info" /manager time="2026-09-17T09:50:56Z" msg="200 OK: POST https://127.0.0.1:46757/auth/v4" /manager time="2026-09-17T09:50:56Z" msg="Logging in authorized user" /user userID=d2690948-961e-40f9-b268-6f67acd097e6 time="2026-09-17T09:50:56Z" msg="Adding vault user" userID=d2690948-961e-40f9-b268-6f67acd097e6 time="2026-09-17T09:50:56Z" msg="Creating new user" userID=d2690948-961e-40f9-b268-6f67acd097e6 time="2026-09-17T09:50:56Z" msg="404 GET https://127.0.0.1:46757/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:50:56Z" msg="404 GET https://127.0.0.1:46757/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:50:56Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:46757/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:50:56Z" msg="Creating user object" authUID=bb64d3ac-b996-43a9-a1cf-6d891c67f89b numA numL userID=d2690948-961e-40f9-b268-6f67acd097e6 time="2026-09-17T09:50:56Z" msg="200 OK: GET https://127.0.0.1:46757/core/v4/events/latest" /client userID=d2690948-961e-40f9-b268-6f67acd097e6 time="2026-09-17T09:50:56Z" msg="Starting service Last EventID=Ug==" time="2026-09-17T09:50:56Z" msg="200 OK: GET https://127.0.0.1:46757/core/v4/settings" /client userID=d2690948-961e-40f9-b268-6f67acd097e6 time="2026-09-17T09:50:56Z" msg="Registering user client, ID:d2690948-961e-40f9-b268-6f67acd097e6" time="2026-09-17T09:50:56Z" msg="Starting service main loop" time="2026-09-17T09:50:56Z" msg="Starting user identity service" numA time="2026-09-17T09:50:56Z" msg="Starting service main loop" time="2026-09-17T09:50:56Z" msg="Starting service main loop" time="2026-09-17T09:50:56Z" msg="200 OK: GET https://127.0.0.1:46757/core/v4/labels?T" /client userID=d2690948-961e-40f9-b268-6f67acd097e6 time="2026-09-17T09:50:56Z" msg="200 OK: GET https://127.0.0.1:46757/core/v4/labels?T" /client userID=d2690948-961e-40f9-b268-6f67acd097e6 time="2026-09-17T09:50:56Z" msg="200 OK: GET https://127.0.0.1:46757/core/v4/labels?T" /client userID=d2690948-961e-40f9-b268-6f67acd097e6 time="2026-09-17T09:50:56Z" msg="Setting labels" labelIDs="[6 10 12 0 1 3 4 5 7 8 9 2 af5f7fba-a123-4e6a-a32d-a3d967311dc5 92a5b509-0d5e-4e67-9e37-602efff96786 720c0148-3424-498b-a6b7-179385d01507 530dc6a5-9f86-4d84-a4a0-c9cb9fee0e30 e85725db-e4bc-4f11-a708-9dbdf84795f2 63c7a0f4-3ae3-4701-8322-129d0aff83c9 ab79481c-49fb-4fc5-a0bf-3f2582281754 d17438ef-9bd6-42c8-aa6a-a0cc55f9aa53 2019f11d-0bf8-49f6-b74e-d2d48bebd1bd 038df80c-a4f2-4a45-879f-99cec8c58be5 30c5e768-c95e-4bb3-9191-f40decc2e368 4582aeea-6a6a-4ca8-88a6-2d5459678b7c 88a7f3e6-6335-4e94-aba4-a6b696ca6eb5 24746be7-0549-46a1-8afd-a97d5c454dad 8ea0f337-749c-4d67-8ea8-23381ff122b8 64e86843-4d14-42d9-b906-87530063b12e efc1963d-a79d-4be2-8b09-251eb4c97237 a6d4dbf6-3bfc-4a1f-aa24-e6163d0fca63 fb7e6019-958d-47d2-b349-244028378681 8a47c275-01d1-4395-b317-cee2f97f85ac da6c082e-26ef-41f5-9604-7902f07b318e 47fd9541-41b9-490e-8bff-025399b55a4c 66c04832-75c7-4732-a843-81cd4c2a1dfc 88095b37-32b0-4065-a65d-24b3280b362c 530cdd4a-553e-478d-9131-e2800cd13f13 9d2a2ac5-7dfa-4295-981a-276166e3d65f d0b94d44-ce0d-4a8a-92de-95ea80209ead 9c603d28-399e-4b11-91ed-082d962ad57f 77c0386f-d0a5-4270-963e-d941829273c8 8f8a436a-67b9-43f9-b382-5d2cb25dabc5 b5dfafa5-21d3-43e9-ae3f-f7a9afaf7dd0 d6019e6f-04d3-496e-a143-9309cd4e8f8b db9ae844-5e3f-46b3-a684-cd4f554acc59 db87d757-df2b-4847-8d05-5946cacac0ad b93624ee-2818-429f-a506-ee2e864dde91 d4355354-12e0-450b-87c8-abd9c1a3b0d8 4af48e9f-5bd4-439e-a872-b3ab5f22a5c4 89e2fc77-7a01-459e-8843-9984f7fb2e5a 2d6a15dd-71ef-4b75-98e1-2a4b07ffdda3 419b2e0e-207a-44f3-a7b0-406c9c987bca a4a47ac5-8ebc-4a48-958b-23aa061da4da 8747946a-148d-4d23-bfa6-d0f560100261 5ebd6b6a-2054-4cd2-a4f4-5f175cfee68b f61d467b-58f1-406b-bf82-095297c49a07 20330b89-49f5-4690-8c3a-10e32a3f1dd6 ca1f6eca-9e1f-4cc0-8b52-4887975ffb67 063c16bb-df24-457d-9ed7-188eb0c5a8ec db46da1f-fa23-43ec-9341-0dc772d80810 c5e11a85-cacd-44d9-af66-cd9cc1fca931 764f2782-5114-42a8-9076-fbaee3cc2ad7 1e97d5b0-319b-4d5c-a1d7-e5e68cd4dadc d878bb76-f51b-499e-9aed-11fb941e6d34 81dc9455-f428-4279-8a9e-fcdd7bb1bee6 47c94145-4563-4fac-8978-e5618b4e6488 8538fde2-9617-40a1-b9ee-fc0c05c30196 99bb3b9a-bde1-4f90-94d8-6e13c12b88dd 3820b225-0270-4373-9a86-c83bb0aebc5f 708c7920-9b65-4e16-8560-15b3b585b2ac 0bf99ca0-261b-4fea-868c-f98f3ca02f7e fe3abcc0-1190-493a-a835-2c614393b51b efa42f25-1925-48b9-ba85-edce898de8ea a2e01d4a-bd9f-480e-838d-747d8f3f248c 52d87189-2de2-4c78-a34c-71b8a3fa3703 3bf042ce-4a1c-474f-907e-976bd153fb87 e630db03-55f3-4526-8793-7c5dae7acb5d c971ab76-9429-42f6-982d-f855a787ce0c 2d1a31d5-66c2-438c-a62c-5f082691bf9c 1714d7ed-5ae1-45e4-a110-56ebc4fecf5b 57e8143a-098a-400f-ab65-fb8d54fd82d2 3b896c0a-be3b-49f4-8f46-115b9a4f74f4 17537b24-bc5b-4939-8048-4663a30cee1a b40f4629-99ca-4ee7-8a7c-72ffd941131a 146e37df-9513-4024-8f30-4aacc32606d2 838afb36-f6a8-4d4d-9e03-71aa02517b30 d05ec95e-3cf4-4a0b-9fe6-f677f908ee82 e7c460a8-e52d-4552-95c2-6c02be7b0176 f6e3e2f7-c0b9-4fc0-82a6-9f0bfabe27d5 b55fa281-e65a-422e-b7a2-e8573608d156 8339fad0-dd56-4a5e-9b6a-8891c69f5888 f6103366-77e0-4f3c-b9a9-3364225a4c60]" time="2026-09-17T09:50:56Z" msg="Adding user to imap server" addrID=34f52470-98e2-4f62-85b7-c6eeb902c4d9 time="2026-09-17T09:50:56Z" msg="Creating new IMAP user" addrID=34f52470-98e2-4f62-85b7-c6eeb902c4d9 time="2026-09-17T09:50:56Z" msg="Setting gluon ID" addrID=34f52470-98e2-4f62-85b7-c6eeb902c4d9 gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 userID=d2690948-961e-40f9-b268-6f67acd097e6 time="2026-09-17T09:50:56Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:50:56Z" msg="Created new IMAP user" addrID=34f52470-98e2-4f62-85b7-c6eeb902c4d9 gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Validating Listener State" time="2026-09-17T09:50:56Z" time="2026-09-17T09:50:56Z" msg="Starting IMAP Service" And the user logs in with username "70f25a0c-ac2a-4f17-b276-1c90a464a76c" and password "password" # :1 -> *scenario time="2026-09-17T09:50:56Z" msg="Checking whether logged in user should re-sync. UserID:d2690948-961e-40f9-b268-6f67acd097e6" userID=d2690948-961e-40f9-b268-6f67acd097e6 time="2026-09-17T09:50:56Z" msg="Sync triggered" time="2026-09-17T09:50:56Z" msg="Beginning user sync" start="2026-09-17 09:50:56.406033604 +0000 UTC m=+344.898335980" time="2026-09-17T09:50:56Z" msg="Syncing labels" time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=708c7920-9b65-4e16-8560-15b3b585b2ac labelPath="RTJ1u7P5yt4jIHzpW+/Q+xD+X464B/TBoVCP2IvE1/g=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=57e8143a-098a-400f-ab65-fb8d54fd82d2 labelPath="ePC1BzEFchExCBVeTwsQEn9RmfayGuNw2nJvj1EsGrg=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=b55fa281-e65a-422e-b7a2-e8573608d156 labelPath="12+M038bujd1QqQc4C871t5s4PTDZC61Y/FGzdX3MuI=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=038df80c-a4f2-4a45-879f-99cec8c58be5 labelPath="2A+U3o2z0QjInymHE4+DYyneXPAdfgOfLuwxZR/RiJ0=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=24746be7-0549-46a1-8afd-a97d5c454dad labelPath="E2yinc0gKadk0zCH01mUzgF8F7E9s3Srx2hyQdkOphk=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=66c04832-75c7-4732-a843-81cd4c2a1dfc labelPath="RXFodRmw4oTOcRqSyeKo/KbCN8rK0QpZUxRBd7JkJYA=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=708c7920-9b65-4e16-8560-15b3b585b2ac userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=88095b37-32b0-4065-a65d-24b3280b362c labelPath="RiqmYz/GA8BlBMAIeP034Q9t7XeJEcZmR5oVSuWV6AE=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=b93624ee-2818-429f-a506-ee2e864dde91 labelPath="r+PEANIMVlHFvq8fFr37r/xRtdSJnDnzN3jm2qPwVfA=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=57e8143a-098a-400f-ab65-fb8d54fd82d2 userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=838afb36-f6a8-4d4d-9e03-71aa02517b30 labelPath="Q4OJ8xW90lENM4rvQ7T1fHr/wstT7R+vr47Fybb1bm8=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=1714d7ed-5ae1-45e4-a110-56ebc4fecf5b labelPath="u9Nb0qaTe2QO1saY8pgDA/aaEjOzMXwQHW7xG7mjDbs=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=f6e3e2f7-c0b9-4fc0-82a6-9f0bfabe27d5 labelPath="eL6MO6FBQDBSxsupU5iN+ysObC5w13eWp0m8+AMh0kY=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=b55fa281-e65a-422e-b7a2-e8573608d156 userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=8339fad0-dd56-4a5e-9b6a-8891c69f5888 labelPath="yGliYfovle0cGVRTags6cfwm+jzNW3Btc7sCYjaOCjk=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=530dc6a5-9f86-4d84-a4a0-c9cb9fee0e30 labelPath="7pX3cP5Y1GlX8dvFWiLGcFHwLfi00RKKqHGse0iPVUg=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=8 userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=efc1963d-a79d-4be2-8b09-251eb4c97237 labelPath="5P4ZcsZ7x4+OQ0DKRmV/CDjgpxne01UT2qfxuNU52SY=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=038df80c-a4f2-4a45-879f-99cec8c58be5 userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=8a47c275-01d1-4395-b317-cee2f97f85ac labelPath="/Dq7g4gDd4jYtxHs2w27UMPtiis0OdQMwqeY+CW+gXc=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=47fd9541-41b9-490e-8bff-025399b55a4c labelPath="mw3zrFD4NM5O36kS4Z+8hdDY/202x6De8P8u4pvy8oI=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=24746be7-0549-46a1-8afd-a97d5c454dad userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=8747946a-148d-4d23-bfa6-d0f560100261 labelPath="uEGU45eyNbSRckfvHqqJ/NGZfAXoxiIt8RQT+kxvOUw=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=c5e11a85-cacd-44d9-af66-cd9cc1fca931 labelPath="qKUbZXJTNdbT6BFP4/ueh5jMmrc3rhcPkU/F9ilMF7M=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=66c04832-75c7-4732-a843-81cd4c2a1dfc userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=30c5e768-c95e-4bb3-9191-f40decc2e368 labelPath="lYKeEVDZa1bwxEyJ2a1oU5A+wlv6jeyWLi5NZ0Tmwmk=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=db87d757-df2b-4847-8d05-5946cacac0ad labelPath="mYuTKg5PSLV8wKcUBKRk26pIxvdebZLCa6i46IiJERQ=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=88095b37-32b0-4065-a65d-24b3280b362c userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=4af48e9f-5bd4-439e-a872-b3ab5f22a5c4 labelPath="pl3OpMxoL3vynHsvIL6gOMRdgQEtaBhGRQfVZRfP8W0=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=89e2fc77-7a01-459e-8843-9984f7fb2e5a labelPath="5W5eQEXKlF3cgD0fCYhirMV/PNwH+YCpHgXGb60zBDU=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=b93624ee-2818-429f-a506-ee2e864dde91 userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=a4a47ac5-8ebc-4a48-958b-23aa061da4da labelPath="YT36h0moJCdgW8LLtBdqyWloW41xdWmIc9ppO3p6Flc=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=3820b225-0270-4373-9a86-c83bb0aebc5f labelPath="kAA0PRjNNSjCX6QxCRQO7hGCHQF/a6vR4bMF6A81afw=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=838afb36-f6a8-4d4d-9e03-71aa02517b30 userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=9c603d28-399e-4b11-91ed-082d962ad57f labelPath="/eUrorD7HFAOe+yDFfiwBE1FMA+xIPxNiP5wyrZ/hF4=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=419b2e0e-207a-44f3-a7b0-406c9c987bca labelPath="tWl7Keuvb5b86osL7CInK8FFJqGMlWxh3ee0O0cwwKA=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=12 userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=db46da1f-fa23-43ec-9341-0dc772d80810 labelPath="Z45NKz0Vf6CL8Qypb4XEPYrTHxkZe+xQZjfb/CbFg+0=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=1714d7ed-5ae1-45e4-a110-56ebc4fecf5b userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=c971ab76-9429-42f6-982d-f855a787ce0c labelPath="A5JddMZ0w2OQdHgCBJWDgJeDosO+OgkFWOkpW7HFVUU=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=2d1a31d5-66c2-438c-a62c-5f082691bf9c labelPath="qMn9JjpQggF6vaHUc8ie7exMsssCnsIdkD34t/Ptm7c=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=f6e3e2f7-c0b9-4fc0-82a6-9f0bfabe27d5 userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=d05ec95e-3cf4-4a0b-9fe6-f677f908ee82 labelPath="Yf95pfdXYBj0nCtfP9xGba8aqEiTa/Cdh8DK/fN2yiY=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=e7c460a8-e52d-4552-95c2-6c02be7b0176 labelPath="T7e0AJi/XopEFrePmrM0ESmME8IWGhDOgv1njALobQM=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=8339fad0-dd56-4a5e-9b6a-8891c69f5888 userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=e85725db-e4bc-4f11-a708-9dbdf84795f2 labelPath="kibQM6IZY97B7LG0YE9341l3teV9YNfmp83eza808cM=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=63c7a0f4-3ae3-4701-8322-129d0aff83c9 labelPath="sX5Gz9f7hAljF90aXn0OeNXPGwXUj0WAQe/cSHSbH6U=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=10 userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=d17438ef-9bd6-42c8-aa6a-a0cc55f9aa53 labelPath="R0f3OZpKCZULrKb71fDJmjGCwZpWhJUvYQ6gOFU1Ro8=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=4 userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=64e86843-4d14-42d9-b906-87530063b12e labelPath="oH/ISWEbIX+bcGNMqqlCnL9oYx+6TLwFTOzsLNjdAsM=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=530dc6a5-9f86-4d84-a4a0-c9cb9fee0e30 userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=d0b94d44-ce0d-4a8a-92de-95ea80209ead labelPath="eivf7iAttaBWkxzxVscWSpsWYVliGHWnZKiFy2ABhro=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=8f8a436a-67b9-43f9-b382-5d2cb25dabc5 labelPath="tSHnix1mDjwHZTVUsxbDOE+uvhO/fUf9IbdnTUmHTeE=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=efc1963d-a79d-4be2-8b09-251eb4c97237 userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=f6103366-77e0-4f3c-b9a9-3364225a4c60 labelPath="8B0fjET1MqUJaDYgWxLXPmfTBdop9FyVmDc7Ic+c2OM=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=8ea0f337-749c-4d67-8ea8-23381ff122b8 labelPath="z/fhytP0UASewRhSSaQ1+Ba2Jmj6r1g9xDILvcZjwOc=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=8a47c275-01d1-4395-b317-cee2f97f85ac userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=a6d4dbf6-3bfc-4a1f-aa24-e6163d0fca63 labelPath="hClTfddEQY+2p03hM9phHwRMdB8UIT6aWVjfdUvcumU=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=fb7e6019-958d-47d2-b349-244028378681 labelPath="b8Yr3LtzUgb5FdZKxRQxZDH/MxTYtLlrMp2tm88gU7U=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=47fd9541-41b9-490e-8bff-025399b55a4c userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=ca1f6eca-9e1f-4cc0-8b52-4887975ffb67 labelPath="zN+cQWs1a4SpHVDZTcieuPV7FYO1Zxy40UHJC+qWa20=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=47c94145-4563-4fac-8978-e5618b4e6488 labelPath="b1T42RbDeqpijaUYyKwQ6SyFTBPQy46e+4F9w3HG5sY=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=8747946a-148d-4d23-bfa6-d0f560100261 userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=b40f4629-99ca-4ee7-8a7c-72ffd941131a labelPath="w7A5ayOVaMwzKZ6hBrMKWcOJBs0hviNphbGvn7j9ACI=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=2019f11d-0bf8-49f6-b74e-d2d48bebd1bd labelPath="1MVK5VFlLyREymJM7zU4xHRfrOjF07WJfhwslO+RhkQ=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=c5e11a85-cacd-44d9-af66-cd9cc1fca931 userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=764f2782-5114-42a8-9076-fbaee3cc2ad7 labelPath="h9c0EyZmBzVbkkXvyv1Gr5Qt3pRtgyX7pPXxXGUIlIQ=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=a2e01d4a-bd9f-480e-838d-747d8f3f248c labelPath="4NuXH/gaau6qPT/iyVgSRtluU0bmGeoORMjAqfqrZjI=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=0 userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=3bf042ce-4a1c-474f-907e-976bd153fb87 labelPath="jVxTsUthL3dtlNn53mUFOGAbf3ic0IRtP10W92SUgCo=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=30c5e768-c95e-4bb3-9191-f40decc2e368 userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=e630db03-55f3-4526-8793-7c5dae7acb5d labelPath="OOkZFPPh2K420nlgrUZiYbQW43CtH1qTIkuGJdN6v4s=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=da6c082e-26ef-41f5-9604-7902f07b318e labelPath="/JyoGJP1Ji63RbB103g9DTXREDt6udfEiAHUGpus9Zc=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=db87d757-df2b-4847-8d05-5946cacac0ad userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=b5dfafa5-21d3-43e9-ae3f-f7a9afaf7dd0 labelPath="5+KABHQyNxAVrDi0AfoT8w873XrvoTpst63gF1/hEN0=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=d4355354-12e0-450b-87c8-abd9c1a3b0d8 labelPath="g6BamsHrlzUeF1Y8ZIesW3wjHU/OP3sn9kpYAb+SNiM=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=4af48e9f-5bd4-439e-a872-b3ab5f22a5c4 userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=20330b89-49f5-4690-8c3a-10e32a3f1dd6 labelPath="T/bpyKfTZx8KiLujmBiP3TbLvyznI0JePyi6YDK/0Wo=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=d878bb76-f51b-499e-9aed-11fb941e6d34 labelPath="Hu80P5RohqbbArazpqMgjxaDBiVp6eIT9kQRynqn3as=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=89e2fc77-7a01-459e-8843-9984f7fb2e5a userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=fe3abcc0-1190-493a-a835-2c614393b51b labelPath="grutN0NWb/GpxqA9v1G7d15K/beOYcJbC6S3vTLk2zs=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=77c0386f-d0a5-4270-963e-d941829273c8 labelPath="Y0gGzfOgMBeS2MNYGyjfISz1CjLcBlAr5Xp+BPrjN7E=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=a4a47ac5-8ebc-4a48-958b-23aa061da4da userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=52d87189-2de2-4c78-a34c-71b8a3fa3703 labelPath="pM4vZz4CA+8tsp3hsO8U/FKKAg7GUz0bTPSxwjLy2B0=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=f61d467b-58f1-406b-bf82-095297c49a07 labelPath="ZOy8l0URAu2/563tj6tKhjmRX2CcYEg/GaSV7n76OkU=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=3820b225-0270-4373-9a86-c83bb0aebc5f userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=81dc9455-f428-4279-8a9e-fcdd7bb1bee6 labelPath="x1yBG82Kyl9XOOFaSgJREk/aVp71YIR7cv53HNcWivo=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=8538fde2-9617-40a1-b9ee-fc0c05c30196 labelPath="AwuXdUm1jlYojeTPntiKrXfb8OcvCWBmYgZVUOmPJN0=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=9c603d28-399e-4b11-91ed-082d962ad57f userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=ab79481c-49fb-4fc5-a0bf-3f2582281754 labelPath="hmM2SH1iuO6cNKMAteq9mP3EZHeoyjTYE3uoZLGUrb4=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=9d2a2ac5-7dfa-4295-981a-276166e3d65f labelPath="HL3pnhIdc5FR8iyr6lZwYPFjMyWpcNg4uPHayKWpV8s=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=db9ae844-5e3f-46b3-a684-cd4f554acc59 labelPath="uk6YgAiyCK9nQqkEXaquGPN0T5oKb1msARumUnclzzU=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=419b2e0e-207a-44f3-a7b0-406c9c987bca userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=17537b24-bc5b-4939-8048-4663a30cee1a labelPath="gIvZJpyepccKceZz07oKwbB7eND145dQIeqOSS50LtQ=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=4582aeea-6a6a-4ca8-88a6-2d5459678b7c labelPath="GLmS0UpGbkOSewxmjYqPbfbWcngYnnNjo0GvKyUS+cg=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=db46da1f-fa23-43ec-9341-0dc772d80810 userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=1e97d5b0-319b-4d5c-a1d7-e5e68cd4dadc labelPath="En312ZjEz/Lc2tuhaP5RWYABtBrTgUEfVQsqM0Zw4hw=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=99bb3b9a-bde1-4f90-94d8-6e13c12b88dd labelPath="RhRgOxbkAFrv1vs/m6LtFREUHC/CubtM7lbDoUIwFWc=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=c971ab76-9429-42f6-982d-f855a787ce0c userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=3b896c0a-be3b-49f4-8f46-115b9a4f74f4 labelPath="tirXeRyPY+D2AheaHNrKBXaX9K+ofA5Rz+8ujFxQpPc=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=d6019e6f-04d3-496e-a143-9309cd4e8f8b labelPath="0Zxi8uei1WrFZzWF6Yoe/7vTCZyJoNErugbTEbidzcs=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=2d1a31d5-66c2-438c-a62c-5f082691bf9c userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=0bf99ca0-261b-4fea-868c-f98f3ca02f7e labelPath="MXpPayY7UAUq987czaBpK96He6hs1Z+HE9u4iD6x38A=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=efa42f25-1925-48b9-ba85-edce898de8ea labelPath="oJxiH+Ssfgp2tLkyxMk9r+Pog00d+eL5ICXKICk8iuM=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=d05ec95e-3cf4-4a0b-9fe6-f677f908ee82 userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=2d6a15dd-71ef-4b75-98e1-2a4b07ffdda3 labelPath="olwPfTmxm21EvqXdggjQXdN/SVM6R+prCHYDQZg52fA=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=af5f7fba-a123-4e6a-a32d-a3d967311dc5 labelPath="pO+sLzcFZW4IpzKjMZsSp6NO+e8ixU5RvD1Uqweo8zI=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=92a5b509-0d5e-4e67-9e37-602efff96786 labelPath="QYmNrKPrKoyfFrw/pdO2hiXnYSX8mxo1yOqn9RGf/g4=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=720c0148-3424-498b-a6b7-179385d01507 labelPath="Bqsj7KOOsuqtBARVb0PQV85xtxD7B3pnhrWCJF8cjbw=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=e7c460a8-e52d-4552-95c2-6c02be7b0176 userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=88a7f3e6-6335-4e94-aba4-a6b696ca6eb5 labelPath="3i33sOsCaKWu95+a6RCQv/Xur4Ng6KUnhdwAkADlC7Y=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=063c16bb-df24-457d-9ed7-188eb0c5a8ec labelPath="qK4KMjRjjqazxajJxasNnsbfdimEvPdN+qVymDva4BI=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=e85725db-e4bc-4f11-a708-9dbdf84795f2 userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=146e37df-9513-4024-8f30-4aacc32606d2 labelPath="CcIYuwakloLU1ffQLev/KAbVxupoXMZo7ghf7DNNrm0=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=530cdd4a-553e-478d-9131-e2800cd13f13 labelPath="0J9PqdKv3FFXa1yF4T68A8S7m1vRtX7tvcHI9DJWZuA=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Label not found in DB, creating mailbox." labelID=5ebd6b6a-2054-4cd2-a4f4-5f175cfee68b labelPath="nhENXAiJKT3EMRewRzTW6S6hvorfUQRezxqIr/qb5vw=" numberOfC /labelConflictResolver time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=63c7a0f4-3ae3-4701-8322-129d0aff83c9 userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=d17438ef-9bd6-42c8-aa6a-a0cc55f9aa53 userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=64e86843-4d14-42d9-b906-87530063b12e userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=d0b94d44-ce0d-4a8a-92de-95ea80209ead userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=8f8a436a-67b9-43f9-b382-5d2cb25dabc5 userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=f6103366-77e0-4f3c-b9a9-3364225a4c60 userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=8ea0f337-749c-4d67-8ea8-23381ff122b8 userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=a6d4dbf6-3bfc-4a1f-aa24-e6163d0fca63 userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=fb7e6019-958d-47d2-b349-244028378681 userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=ca1f6eca-9e1f-4cc0-8b52-4887975ffb67 userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=47c94145-4563-4fac-8978-e5618b4e6488 userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=b40f4629-99ca-4ee7-8a7c-72ffd941131a userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=7 userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=2019f11d-0bf8-49f6-b74e-d2d48bebd1bd userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=764f2782-5114-42a8-9076-fbaee3cc2ad7 userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=a2e01d4a-bd9f-480e-838d-747d8f3f248c userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=3bf042ce-4a1c-474f-907e-976bd153fb87 userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=e630db03-55f3-4526-8793-7c5dae7acb5d userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=6 userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=da6c082e-26ef-41f5-9604-7902f07b318e userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=b5dfafa5-21d3-43e9-ae3f-f7a9afaf7dd0 userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=d4355354-12e0-450b-87c8-abd9c1a3b0d8 userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=20330b89-49f5-4690-8c3a-10e32a3f1dd6 userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=d878bb76-f51b-499e-9aed-11fb941e6d34 userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=fe3abcc0-1190-493a-a835-2c614393b51b userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=77c0386f-d0a5-4270-963e-d941829273c8 userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=52d87189-2de2-4c78-a34c-71b8a3fa3703 userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=f61d467b-58f1-406b-bf82-095297c49a07 userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=81dc9455-f428-4279-8a9e-fcdd7bb1bee6 userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=8538fde2-9617-40a1-b9ee-fc0c05c30196 userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=ab79481c-49fb-4fc5-a0bf-3f2582281754 userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=9d2a2ac5-7dfa-4295-981a-276166e3d65f userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=db9ae844-5e3f-46b3-a684-cd4f554acc59 userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=17537b24-bc5b-4939-8048-4663a30cee1a userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=5 userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=4582aeea-6a6a-4ca8-88a6-2d5459678b7c userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=1e97d5b0-319b-4d5c-a1d7-e5e68cd4dadc userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=99bb3b9a-bde1-4f90-94d8-6e13c12b88dd userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=3b896c0a-be3b-49f4-8f46-115b9a4f74f4 userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=d6019e6f-04d3-496e-a143-9309cd4e8f8b userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=0bf99ca0-261b-4fea-868c-f98f3ca02f7e userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=efa42f25-1925-48b9-ba85-edce898de8ea userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=2d6a15dd-71ef-4b75-98e1-2a4b07ffdda3 userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=af5f7fba-a123-4e6a-a32d-a3d967311dc5 userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=92a5b509-0d5e-4e67-9e37-602efff96786 userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=720c0148-3424-498b-a6b7-179385d01507 userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=88a7f3e6-6335-4e94-aba4-a6b696ca6eb5 userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=063c16bb-df24-457d-9ed7-188eb0c5a8ec userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=146e37df-9513-4024-8f30-4aacc32606d2 userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=3 userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=530cdd4a-553e-478d-9131-e2800cd13f13 userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Mailbox created" /user remoteMailboxID=5ebd6b6a-2054-4cd2-a4f4-5f175cfee68b userID=0bdd70b5-930c-40d1-8784-492f06e277b5 time="2026-09-17T09:50:56Z" msg="Synced labels" time="2026-09-17T09:50:56Z" msg="200 OK: GET https://127.0.0.1:46757/mail/v4/messages/count" /client userID=d2690948-961e-40f9-b268-6f67acd097e6 time="2026-09-17T09:50:56Z" msg="Syncing messages" time="2026-09-17T09:50:56Z" msg="Job started" time="2026-09-17T09:50:56Z" msg="200 OK: POST https://127.0.0.1:46757/mail/v4/messages" /client userID=d2690948-961e-40f9-b268-6f67acd097e6 time="2026-09-17T09:50:56Z" msg="200 OK: POST https://127.0.0.1:46757/mail/v4/messages" /client userID=d2690948-961e-40f9-b268-6f67acd097e6 time="2026-09-17T09:50:56Z" msg="Creating new child job" time="2026-09-17T09:50:56Z" msg="Job finished" time="2026-09-17T09:50:56Z" msg="200 OK: GET https://127.0.0.1:46757/mail/v4/messages/6273a86a-cb2e-4c44-9852-997ebb173f2f" /client userID=d2690948-961e-40f9-b268-6f67acd097e6 time="2026-09-17T09:50:56Z" msg="200 OK: GET https://127.0.0.1:46757/mail/v4/messages/c49f4395-f027-4ac1-b834-3339915f5066" /client userID=d2690948-961e-40f9-b268-6f67acd097e6 time="2026-09-17T09:50:56Z" msg="Sending observability data." time="2026-09-17T09:50:56Z" msg="200 OK: POST https://127.0.0.1:46757/data/v1/metrics" /client userID=d2690948-961e-40f9-b268-6f67acd097e6 time="2026-09-17T09:50:56Z" msg="Successfully sent observability data." time="2026-09-17T09:50:56Z" msg="Scheduling observability data sending" time="2026-09-17T09:50:56Z" msg="Child job finished" time="2026-09-17T09:50:56Z" msg="All child jobs completed" sync- time="2026-09-17T09:50:56Z" msg="Synced messages" time="2026-09-17T09:50:56Z" msg="Finished user sync" .199507ms time="2026-09-17T09:50:56Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:50:56Z" msg="Event loop reset" eventID="Ug==" And user "70f25a0c-ac2a-4f17-b276-1c90a464a76c" finishes syncing # :1 -> *scenario And user "70f25a0c-ac2a-4f17-b276-1c90a464a76c" connects and authenticates IMAP client "1" # :1 -> *scenario Then IMAP client "1" counts 20 mailboxes under "Folders" # :1 -> *scenario And IMAP client "1" counts 60 mailboxes under "Labels" # :1 -> *scenario time="2026-09-17T09:50:56Z" msg="Pausing user event loops for gluon dir change" time="2026-09-17T09:50:56Z" time="2026-09-17T09:50:56Z" msg="Waiting on user event loop completion" time="2026-09-17T09:50:56Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 0} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:50:57Z" msg="Changing gluon directory" time="2026-09-17T09:50:57Z" msg="Closing IMAP Listener" time="2026-09-17T09:50:57Z" msg="Closing IMAP server" time="2026-09-17T09:50:57Z" msg="gluon cache moving from /tmp/TestFeatures608333626/154/data3871660748/gluon to /tmp/TestFeatures608333626/154/gluon162629898/gluon" /imap time="2026-09-17T09:50:57Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/154/data3871660748/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/154/gluon162629898/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:50:57Z" msg="Starting IMAP server" time="2026-09-17T09:50:57Z" msg="Adding user to imap server" addrID=34f52470-98e2-4f62-85b7-c6eeb902c4d9 time="2026-09-17T09:50:57Z" msg="Restarting user event loops" time="2026-09-17T09:50:57Z" time="2026-09-17T09:50:57Z" msg="Loading existing IMAP user" addrID=34f52470-98e2-4f62-85b7-c6eeb902c4d9 gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 Scenario: The user changes the gluon path # features/imap/migration.feature:18 When the user changes the gluon path # :1 -> *scenario time="2026-09-17T09:50:57Z" msg="Validating Listener State" time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=0bf99ca0-261b-4fea-868c-f98f3ca02f7e /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=1714d7ed-5ae1-45e4-a110-56ebc4fecf5b /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=3b896c0a-be3b-49f4-8f46-115b9a4f74f4 /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=89e2fc77-7a01-459e-8843-9984f7fb2e5a /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=b55fa281-e65a-422e-b7a2-e8573608d156 /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=d4355354-12e0-450b-87c8-abd9c1a3b0d8 /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=efa42f25-1925-48b9-ba85-edce898de8ea /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=fe3abcc0-1190-493a-a835-2c614393b51b /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=9c603d28-399e-4b11-91ed-082d962ad57f /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=0 /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=10 /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=17537b24-bc5b-4939-8048-4663a30cee1a /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=63c7a0f4-3ae3-4701-8322-129d0aff83c9 /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=708c7920-9b65-4e16-8560-15b3b585b2ac /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=8339fad0-dd56-4a5e-9b6a-8891c69f5888 /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=99bb3b9a-bde1-4f90-94d8-6e13c12b88dd /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=Folders /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=f61d467b-58f1-406b-bf82-095297c49a07 /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=4af48e9f-5bd4-439e-a872-b3ab5f22a5c4 /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=146e37df-9513-4024-8f30-4aacc32606d2 /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=a4a47ac5-8ebc-4a48-958b-23aa061da4da /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=af5f7fba-a123-4e6a-a32d-a3d967311dc5 /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=da6c082e-26ef-41f5-9604-7902f07b318e /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=24746be7-0549-46a1-8afd-a97d5c454dad /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=2d6a15dd-71ef-4b75-98e1-2a4b07ffdda3 /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=3820b225-0270-4373-9a86-c83bb0aebc5f /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=64e86843-4d14-42d9-b906-87530063b12e /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=66c04832-75c7-4732-a843-81cd4c2a1dfc /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=7 /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=e630db03-55f3-4526-8793-7c5dae7acb5d /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=e7c460a8-e52d-4552-95c2-6c02be7b0176 /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=3 /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=47c94145-4563-4fac-8978-e5618b4e6488 /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=530cdd4a-553e-478d-9131-e2800cd13f13 /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=d878bb76-f51b-499e-9aed-11fb941e6d34 /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=e85725db-e4bc-4f11-a708-9dbdf84795f2 /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=f6e3e2f7-c0b9-4fc0-82a6-9f0bfabe27d5 /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=2d1a31d5-66c2-438c-a62c-5f082691bf9c /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=30c5e768-c95e-4bb3-9191-f40decc2e368 /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=3bf042ce-4a1c-474f-907e-976bd153fb87 /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=57e8143a-098a-400f-ab65-fb8d54fd82d2 /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=Labels /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=a2e01d4a-bd9f-480e-838d-747d8f3f248c /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=b40f4629-99ca-4ee7-8a7c-72ffd941131a /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=efc1963d-a79d-4be2-8b09-251eb4c97237 /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=5 /event/imap And user "70f25a0c-ac2a-4f17-b276-1c90a464a76c" connects and authenticates IMAP client "2" # :1 -> *scenario time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=8ea0f337-749c-4d67-8ea8-23381ff122b8 /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=b5dfafa5-21d3-43e9-ae3f-f7a9afaf7dd0 /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=c971ab76-9429-42f6-982d-f855a787ce0c /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=db9ae844-5e3f-46b3-a684-cd4f554acc59 /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=1e97d5b0-319b-4d5c-a1d7-e5e68cd4dadc /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=419b2e0e-207a-44f3-a7b0-406c9c987bca /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=47fd9541-41b9-490e-8bff-025399b55a4c /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=81dc9455-f428-4279-8a9e-fcdd7bb1bee6 /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=b93624ee-2818-429f-a506-ee2e864dde91 /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=2019f11d-0bf8-49f6-b74e-d2d48bebd1bd /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=77c0386f-d0a5-4270-963e-d941829273c8 /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=8 /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=8538fde2-9617-40a1-b9ee-fc0c05c30196 /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=88a7f3e6-6335-4e94-aba4-a6b696ca6eb5 /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=8f8a436a-67b9-43f9-b382-5d2cb25dabc5 /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=ca1f6eca-9e1f-4cc0-8b52-4887975ffb67 /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=530dc6a5-9f86-4d84-a4a0-c9cb9fee0e30 /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=5ebd6b6a-2054-4cd2-a4f4-5f175cfee68b /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=720c0148-3424-498b-a6b7-179385d01507 /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=838afb36-f6a8-4d4d-9e03-71aa02517b30 /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=8a47c275-01d1-4395-b317-cee2f97f85ac /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=db46da1f-fa23-43ec-9341-0dc772d80810 /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=fb7e6019-958d-47d2-b349-244028378681 /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=20330b89-49f5-4690-8c3a-10e32a3f1dd6 /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=12 /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=4 /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=4582aeea-6a6a-4ca8-88a6-2d5459678b7c /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=6 /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=88095b37-32b0-4065-a65d-24b3280b362c /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=9d2a2ac5-7dfa-4295-981a-276166e3d65f /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=db87d757-df2b-4847-8d05-5946cacac0ad /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=063c16bb-df24-457d-9ed7-188eb0c5a8ec /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=764f2782-5114-42a8-9076-fbaee3cc2ad7 /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=d17438ef-9bd6-42c8-aa6a-a0cc55f9aa53 /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=f6103366-77e0-4f3c-b9a9-3364225a4c60 /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=52d87189-2de2-4c78-a34c-71b8a3fa3703 /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=8747946a-148d-4d23-bfa6-d0f560100261 /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=92a5b509-0d5e-4e67-9e37-602efff96786 /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=a6d4dbf6-3bfc-4a1f-aa24-e6163d0fca63 /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=ab79481c-49fb-4fc5-a0bf-3f2582281754 /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=d0b94d44-ce0d-4a8a-92de-95ea80209ead /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=038df80c-a4f2-4a45-879f-99cec8c58be5 /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=c5e11a85-cacd-44d9-af66-cd9cc1fca931 /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=d05ec95e-3cf4-4a0b-9fe6-f677f908ee82 /event/imap time="2026-09-17T09:50:57Z" msg="Received mailbox message count" gluonID=0bdd70b5-930c-40d1-8784-492f06e277b5 labelID=d6019e6f-04d3-496e-a143-9309cd4e8f8b /event/imap Then IMAP client "2" eventually sees the following messages in "INBOX": # :1 -> *scenario | from | to | subject | unread | | john.doe@mail.com | 70f25a0c-ac2a-4f17-b276-1c90a464a76c@proton.local | foo | false | | jane.doe@mail.com | name@proton.local | bar | true | And IMAP client "2" counts 20 mailboxes under "Folders" # :1 -> *scenario time="2026-09-17T09:50:57Z" msg="Frontend service stopped" time="2026-09-17T09:50:57Z" msg="Frontend client stopped" time="2026-09-17T09:50:57Z" msg="Closing bridge" time="2026-09-17T09:50:57Z" msg="Stopping service" time="2026-09-17T09:50:57Z" msg="Closing user" userID=d2690948-961e-40f9-b268-6f67acd097e6 time="2026-09-17T09:50:57Z" msg="De-registering user client, ID:d2690948-961e-40f9-b268-6f67acd097e6" time="2026-09-17T09:50:57Z" msg="Exiting IMAP Service" time="2026-09-17T09:50:57Z" msg="Exiting service main loop" time="2026-09-17T09:50:57Z" msg="Exiting service main loop" time="2026-09-17T09:50:57Z" msg="Exiting Service" time="2026-09-17T09:50:57Z" msg="Exiting service main loop" time="2026-09-17T09:50:57Z" msg="Exiting service" time="2026-09-17T09:50:57Z" msg="Closing IMAP Listener" time="2026-09-17T09:50:57Z" msg="Closing IMAP server" time="2026-09-17T09:50:57Z" msg="Closing SMTP Listener" time="2026-09-17T09:50:57Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:50:57Z" msg="Closing SMTP server" time="2026-09-17T09:50:57Z" msg="Closing service" And IMAP client "2" counts 60 mailboxes under "Labels" # :1 -> *scenario Feature: A user can connect an IMAP client to custom ports time="2026-09-17T09:50:57Z" msg="User 'e7356b8c-4360-4ebd-a926-ad186ea79eca' created with " /server/backend Background: Given there exists an account with username "e7356b8c-4360-4ebd-a926-ad186ea79eca" and password "password" # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:50:58Z" msg="Starting bridge" time="2026-09-17T09:50:58Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/155/config687848377/grpcFocusServerConfig.json /service time="2026-09-17T09:50:58Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/155/cache3781083731/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:50:58Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/155/cache3781083731/notifications/notification_cache: no such file or directory" time="2026-09-17T09:50:58Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/155/data3529831333/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/155/data3529831333/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:50:58Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:50:58Z" msg="Starting IMAP server" time="2026-09-17T09:50:58Z" msg="Starting SMTP server" time="2026-09-17T09:50:58Z" msg="Starting service" time="2026-09-17T09:50:58Z" msg="Starting service" time="2026-09-17T09:50:58Z" msg="Starting poll service" time="2026-09-17T09:50:58Z" msg="Starting frontend service" time="2026-09-17T09:50:58Z" msg="Starting receiver service" time="2026-09-17T09:50:58Z" msg="Checking for updates" time="2026-09-17T09:50:58Z" msg="Loading users" /user time="2026-09-17T09:50:58Z" msg="Finished loading users" /user time="2026-09-17T09:50:58Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/155/config687848377/grpcServerConfig.json time="2026-09-17T09:50:58Z" msg="gRPC server listening on /tmp/bridge7434" time="2026-09-17T09:50:58Z" msg="Frontend service started" time="2026-09-17T09:50:58Z" msg="Starting frontend client" time="2026-09-17T09:50:58Z" msg="Not monitoring parent PID" time="2026-09-17T09:50:58Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:50:58Z" msg="200 OK: GET https://127.0.0.1:33779/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:50:58Z" msg="Frontend client started" When bridge starts # :1 -> *scenario time="2026-09-17T09:50:58Z" msg="Performing full user login" /user username="******** (72185b3b)" time="2026-09-17T09:50:58Z" msg="Authorizing user for login" /user username="******** (72185b3b)" time="2026-09-17T09:50:58Z" msg="200 OK: POST https://127.0.0.1:33779/auth/v4/info" /manager time="2026-09-17T09:50:58Z" msg="200 OK: POST https://127.0.0.1:33779/auth/v4" /manager time="2026-09-17T09:50:58Z" msg="Logging in authorized user" /user userID=60c198c8-6c28-4c65-abde-ffb9f0645c87 time="2026-09-17T09:50:58Z" msg="Adding vault user" userID=60c198c8-6c28-4c65-abde-ffb9f0645c87 time="2026-09-17T09:50:58Z" msg="Creating new user" userID=60c198c8-6c28-4c65-abde-ffb9f0645c87 time="2026-09-17T09:50:58Z" msg="404 GET https://127.0.0.1:33779/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:50:58Z" msg="404 GET https://127.0.0.1:33779/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:50:58Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:33779/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:50:58Z" msg="Creating user object" authUID=2f310cb1-6ab4-4173-911a-c04a197528ce numA numL userID=60c198c8-6c28-4c65-abde-ffb9f0645c87 time="2026-09-17T09:50:58Z" msg="200 OK: GET https://127.0.0.1:33779/core/v4/events/latest" /client userID=60c198c8-6c28-4c65-abde-ffb9f0645c87 time="2026-09-17T09:50:58Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:50:58Z" msg="200 OK: GET https://127.0.0.1:33779/core/v4/settings" /client userID=60c198c8-6c28-4c65-abde-ffb9f0645c87 time="2026-09-17T09:50:58Z" msg="Registering user client, ID:60c198c8-6c28-4c65-abde-ffb9f0645c87" time="2026-09-17T09:50:58Z" msg="Starting user identity service" numA time="2026-09-17T09:50:58Z" msg="Starting service main loop" time="2026-09-17T09:50:58Z" msg="Starting service main loop" time="2026-09-17T09:50:58Z" msg="Starting service main loop" time="2026-09-17T09:50:58Z" msg="200 OK: GET https://127.0.0.1:33779/core/v4/labels?T" /client userID=60c198c8-6c28-4c65-abde-ffb9f0645c87 time="2026-09-17T09:50:58Z" msg="200 OK: GET https://127.0.0.1:33779/core/v4/labels?T" /client userID=60c198c8-6c28-4c65-abde-ffb9f0645c87 time="2026-09-17T09:50:58Z" msg="200 OK: GET https://127.0.0.1:33779/core/v4/labels?T" /client userID=60c198c8-6c28-4c65-abde-ffb9f0645c87 time="2026-09-17T09:50:58Z" msg="Setting labels" labelIDs="[2 5 6 9 10 12 0 1 3 4 7 8]" time="2026-09-17T09:50:58Z" msg="Adding user to imap server" addrID=c1100c27-11ca-429f-a525-f4df9a1bf444 time="2026-09-17T09:50:58Z" msg="Creating new IMAP user" addrID=c1100c27-11ca-429f-a525-f4df9a1bf444 time="2026-09-17T09:50:58Z" msg="Setting gluon ID" addrID=c1100c27-11ca-429f-a525-f4df9a1bf444 gluonID=33d8a70b-5ea7-45f7-8193-e7c79fea36ef userID=60c198c8-6c28-4c65-abde-ffb9f0645c87 time="2026-09-17T09:50:58Z" msg="Received mailbox message count" gluonID=33d8a70b-5ea7-45f7-8193-e7c79fea36ef labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:50:58Z" msg="Created new IMAP user" addrID=c1100c27-11ca-429f-a525-f4df9a1bf444 gluonID=33d8a70b-5ea7-45f7-8193-e7c79fea36ef time="2026-09-17T09:50:58Z" msg="Validating Listener State" time="2026-09-17T09:50:58Z" time="2026-09-17T09:50:58Z" msg="Checking whether logged in user should re-sync. UserID:60c198c8-6c28-4c65-abde-ffb9f0645c87" userID=60c198c8-6c28-4c65-abde-ffb9f0645c87 time="2026-09-17T09:50:58Z" msg="Starting IMAP Service" And the user logs in with username "e7356b8c-4360-4ebd-a926-ad186ea79eca" and password "password" # :1 -> *scenario time="2026-09-17T09:50:58Z" msg="Sync triggered" time="2026-09-17T09:50:58Z" msg="Restarting IMAP server" time="2026-09-17T09:50:58Z" msg="Beginning user sync" start="2026-09-17 09:50:58.617697226 +0000 UTC m=+347.109999562" time="2026-09-17T09:50:58Z" msg="Starting IMAP server" And the user changes the IMAP port to 1144 # :1 -> *scenario Then it succeeds # :1 -> *scenario Scenario: Authenticates successfully on custom port # features/imap/ports.feature:10 When user "e7356b8c-4360-4ebd-a926-ad186ea79eca" connects IMAP client "1" on port 1144 # :1 -> *scenario time="2026-09-17T09:50:58Z" msg="Syncing labels" time="2026-09-17T09:50:58Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=33d8a70b-5ea7-45f7-8193-e7c79fea36ef time="2026-09-17T09:50:58Z" msg="Frontend service stopped" time="2026-09-17T09:50:58Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=33d8a70b-5ea7-45f7-8193-e7c79fea36ef time="2026-09-17T09:50:58Z" msg="Frontend client stopped" time="2026-09-17T09:50:58Z" msg="Closing bridge" time="2026-09-17T09:50:58Z" msg="Stopping service" time="2026-09-17T09:50:58Z" msg="Closing user" userID=60c198c8-6c28-4c65-abde-ffb9f0645c87 time="2026-09-17T09:50:58Z" msg="De-registering user client, ID:60c198c8-6c28-4c65-abde-ffb9f0645c87" time="2026-09-17T09:50:58Z" msg="Synced labels" time="2026-09-17T09:50:58Z" msg="Get \"https://127.0.0.1:33779/mail/v4/messages/count\": context canceled, Attempt 1" /client time="2026-09-17T09:50:58Z" msg="Get \"https://127.0.0.1:33779/mail/v4/messages/count\": context canceled" /client time="2026-09-17T09:50:58Z" msg="Failed to sync, will retry later" error="failed to retrieve message ids: received no response from API: Get \"https://127.0.0.1:33779/mail/v4/messages/count\": context canceled" time="2026-09-17T09:50:58Z" msg="Sync aborted" error="context canceled" time="2026-09-17T09:50:58Z" msg="Finished user sync" .827257ms time="2026-09-17T09:50:58Z" msg="Mailbox created" /user remoteMailboxID=10 userID=33d8a70b-5ea7-45f7-8193-e7c79fea36ef time="2026-09-17T09:50:58Z" msg="Exiting IMAP Service" time="2026-09-17T09:50:58Z" msg="Exiting service main loop" time="2026-09-17T09:50:58Z" msg="Exiting service main loop" time="2026-09-17T09:50:58Z" msg="Exiting Service" time="2026-09-17T09:50:58Z" msg="Exiting service main loop" time="2026-09-17T09:50:58Z" msg="Exiting service" time="2026-09-17T09:50:58Z" msg="Closing IMAP Listener" time="2026-09-17T09:50:58Z" msg="Closing IMAP server" time="2026-09-17T09:50:58Z" msg="Mailbox created" /user remoteMailboxID=12 userID=33d8a70b-5ea7-45f7-8193-e7c79fea36ef time="2026-09-17T09:50:58Z" msg="Closing SMTP Listener" time="2026-09-17T09:50:58Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:50:58Z" msg="Closing SMTP server" time="2026-09-17T09:50:58Z" msg="Closing service" Then IMAP client "1" can authenticate # :1 -> *scenario Feature: Bridge send remote notification observability metrics time="2026-09-17T09:50:58Z" msg="User 'ce9a3c36-6bb0-4ec2-b6d8-b75fa2108462' created with " /server/backend Background: Given there exists an account with username "ce9a3c36-6bb0-4ec2-b6d8-b75fa2108462" and password "password" # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:50:59Z" msg="Starting bridge" time="2026-09-17T09:50:59Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/156/config207304262/grpcFocusServerConfig.json /service time="2026-09-17T09:50:59Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/156/cache2524661685/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:50:59Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/156/cache2524661685/notifications/notification_cache: no such file or directory" time="2026-09-17T09:50:59Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/156/data2296414750/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/156/data2296414750/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:50:59Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:50:59Z" msg="Starting IMAP server" time="2026-09-17T09:50:59Z" msg="Starting SMTP server" time="2026-09-17T09:50:59Z" msg="Starting service" time="2026-09-17T09:50:59Z" msg="Starting service" time="2026-09-17T09:50:59Z" msg="Starting frontend service" time="2026-09-17T09:50:59Z" msg="Starting receiver service" time="2026-09-17T09:50:59Z" msg="Checking for updates" time="2026-09-17T09:50:59Z" msg="Starting poll service" time="2026-09-17T09:50:59Z" msg="Loading users" /user time="2026-09-17T09:50:59Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/156/config207304262/grpcServerConfig.json time="2026-09-17T09:50:59Z" msg="Finished loading users" /user time="2026-09-17T09:50:59Z" msg="gRPC server listening on /tmp/bridge0635" time="2026-09-17T09:50:59Z" msg="Frontend service started" time="2026-09-17T09:50:59Z" msg="Starting frontend client" time="2026-09-17T09:50:59Z" msg="Not monitoring parent PID" time="2026-09-17T09:50:59Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:50:59Z" msg="Frontend client started" When bridge starts # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:50:59Z" msg="Performing full user login" /user username="******** (86689a48)" time="2026-09-17T09:50:59Z" msg="Authorizing user for login" /user username="******** (86689a48)" time="2026-09-17T09:50:59Z" msg="200 OK: GET https://127.0.0.1:39285/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:50:59Z" msg="200 OK: POST https://127.0.0.1:39285/auth/v4/info" /manager time="2026-09-17T09:50:59Z" msg="200 OK: POST https://127.0.0.1:39285/auth/v4" /manager time="2026-09-17T09:50:59Z" msg="Logging in authorized user" /user userID=45196b17-b447-4d7f-a0b2-3c4125fa2a17 time="2026-09-17T09:50:59Z" msg="Adding vault user" userID=45196b17-b447-4d7f-a0b2-3c4125fa2a17 time="2026-09-17T09:50:59Z" msg="Creating new user" userID=45196b17-b447-4d7f-a0b2-3c4125fa2a17 time="2026-09-17T09:50:59Z" msg="404 GET https://127.0.0.1:39285/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:50:59Z" msg="404 GET https://127.0.0.1:39285/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:50:59Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:39285/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:50:59Z" msg="Creating user object" authUID=5278474e-2295-409c-8e79-442d4c536656 numA numL userID=45196b17-b447-4d7f-a0b2-3c4125fa2a17 time="2026-09-17T09:50:59Z" msg="200 OK: GET https://127.0.0.1:39285/core/v4/events/latest" /client userID=45196b17-b447-4d7f-a0b2-3c4125fa2a17 time="2026-09-17T09:50:59Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:50:59Z" msg="200 OK: GET https://127.0.0.1:39285/core/v4/settings" /client userID=45196b17-b447-4d7f-a0b2-3c4125fa2a17 time="2026-09-17T09:50:59Z" msg="Registering user client, ID:45196b17-b447-4d7f-a0b2-3c4125fa2a17" time="2026-09-17T09:50:59Z" msg="Starting user identity service" numA time="2026-09-17T09:50:59Z" msg="Starting service main loop" time="2026-09-17T09:50:59Z" msg="Starting service main loop" time="2026-09-17T09:50:59Z" msg="Starting service main loop" time="2026-09-17T09:50:59Z" msg="200 OK: GET https://127.0.0.1:39285/core/v4/labels?T" /client userID=45196b17-b447-4d7f-a0b2-3c4125fa2a17 time="2026-09-17T09:50:59Z" msg="200 OK: GET https://127.0.0.1:39285/core/v4/labels?T" /client userID=45196b17-b447-4d7f-a0b2-3c4125fa2a17 time="2026-09-17T09:50:59Z" msg="200 OK: GET https://127.0.0.1:39285/core/v4/labels?T" /client userID=45196b17-b447-4d7f-a0b2-3c4125fa2a17 time="2026-09-17T09:50:59Z" msg="Setting labels" labelIDs="[0 1 3 4 6 7 10 2 5 8 9 12]" time="2026-09-17T09:50:59Z" msg="Adding user to imap server" addrID=743ae373-637b-46df-baf7-1ed606ba5c76 time="2026-09-17T09:50:59Z" msg="Creating new IMAP user" addrID=743ae373-637b-46df-baf7-1ed606ba5c76 time="2026-09-17T09:50:59Z" msg="Setting gluon ID" addrID=743ae373-637b-46df-baf7-1ed606ba5c76 gluonID=cbaf426c-1c5b-4d28-bb50-1055db558112 userID=45196b17-b447-4d7f-a0b2-3c4125fa2a17 time="2026-09-17T09:50:59Z" msg="Received mailbox message count" gluonID=cbaf426c-1c5b-4d28-bb50-1055db558112 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:50:59Z" msg="Created new IMAP user" addrID=743ae373-637b-46df-baf7-1ed606ba5c76 gluonID=cbaf426c-1c5b-4d28-bb50-1055db558112 time="2026-09-17T09:50:59Z" msg="Validating Listener State" time="2026-09-17T09:50:59Z" time="2026-09-17T09:50:59Z" msg="Starting IMAP Service" time="2026-09-17T09:50:59Z" msg="Sync triggered" time="2026-09-17T09:50:59Z" msg="Checking whether logged in user should re-sync. UserID:45196b17-b447-4d7f-a0b2-3c4125fa2a17" userID=45196b17-b447-4d7f-a0b2-3c4125fa2a17 Scenario: Test all possible heartbeat metrics # features/observability/all_metrics.feature:8 When the user logs in with username "ce9a3c36-6bb0-4ec2-b6d8-b75fa2108462" and password "password" # :1 -> *scenario time="2026-09-17T09:50:59Z" msg="Beginning user sync" start="2026-09-17 09:50:59.706838104 +0000 UTC m=+348.199140360" time="2026-09-17T09:50:59Z" msg="Syncing labels" time="2026-09-17T09:50:59Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=cbaf426c-1c5b-4d28-bb50-1055db558112 time="2026-09-17T09:50:59Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=cbaf426c-1c5b-4d28-bb50-1055db558112 time="2026-09-17T09:50:59Z" msg="Mailbox created" /user remoteMailboxID=3 userID=cbaf426c-1c5b-4d28-bb50-1055db558112 time="2026-09-17T09:50:59Z" msg="Mailbox created" /user remoteMailboxID=10 userID=cbaf426c-1c5b-4d28-bb50-1055db558112 time="2026-09-17T09:50:59Z" msg="Mailbox created" /user remoteMailboxID=5 userID=cbaf426c-1c5b-4d28-bb50-1055db558112 time="2026-09-17T09:50:59Z" msg="Mailbox created" /user remoteMailboxID=0 userID=cbaf426c-1c5b-4d28-bb50-1055db558112 time="2026-09-17T09:50:59Z" msg="Mailbox created" /user remoteMailboxID=4 userID=cbaf426c-1c5b-4d28-bb50-1055db558112 time="2026-09-17T09:50:59Z" msg="Mailbox created" /user remoteMailboxID=6 userID=cbaf426c-1c5b-4d28-bb50-1055db558112 time="2026-09-17T09:50:59Z" msg="Mailbox created" /user remoteMailboxID=7 userID=cbaf426c-1c5b-4d28-bb50-1055db558112 time="2026-09-17T09:50:59Z" msg="Mailbox created" /user remoteMailboxID=8 userID=cbaf426c-1c5b-4d28-bb50-1055db558112 time="2026-09-17T09:50:59Z" msg="Mailbox created" /user remoteMailboxID=12 userID=cbaf426c-1c5b-4d28-bb50-1055db558112 time="2026-09-17T09:50:59Z" msg="Synced labels" time="2026-09-17T09:50:59Z" msg="200 OK: GET https://127.0.0.1:39285/mail/v4/messages/count" /client userID=45196b17-b447-4d7f-a0b2-3c4125fa2a17 time="2026-09-17T09:50:59Z" msg="Syncing messages" time="2026-09-17T09:50:59Z" msg="Job started" time="2026-09-17T09:50:59Z" msg="200 OK: POST https://127.0.0.1:39285/mail/v4/messages" /client userID=45196b17-b447-4d7f-a0b2-3c4125fa2a17 time="2026-09-17T09:50:59Z" msg="Job finished" time="2026-09-17T09:50:59Z" msg="All child jobs completed" sync- time="2026-09-17T09:50:59Z" msg="Synced messages" time="2026-09-17T09:50:59Z" msg="Finished user sync" .429713ms time="2026-09-17T09:50:59Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:50:59Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:50:59Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 9} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" And the user with username "ce9a3c36-6bb0-4ec2-b6d8-b75fa2108462" sends all possible observability heartbeat metrics # :1 -> *scenario time="2026-09-17T09:51:00Z" msg="Frontend service stopped" time="2026-09-17T09:51:00Z" msg="Frontend client stopped" time="2026-09-17T09:51:00Z" msg="Closing bridge" time="2026-09-17T09:51:00Z" msg="Stopping service" time="2026-09-17T09:51:00Z" msg="Closing user" userID=45196b17-b447-4d7f-a0b2-3c4125fa2a17 time="2026-09-17T09:51:00Z" msg="De-registering user client, ID:45196b17-b447-4d7f-a0b2-3c4125fa2a17" time="2026-09-17T09:51:00Z" msg="Exiting IMAP Service" time="2026-09-17T09:51:00Z" msg="Exiting service main loop" time="2026-09-17T09:51:00Z" msg="Exiting service main loop" time="2026-09-17T09:51:00Z" msg="Exiting Service" time="2026-09-17T09:51:00Z" msg="Exiting service main loop" time="2026-09-17T09:51:00Z" msg="Exiting service" time="2026-09-17T09:51:00Z" msg="Closing IMAP Listener" time="2026-09-17T09:51:00Z" msg="Closing IMAP server" time="2026-09-17T09:51:00Z" msg="Closing SMTP Listener" time="2026-09-17T09:51:00Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:51:00Z" msg="Closing SMTP server" time="2026-09-17T09:51:00Z" msg="Closing service" Then it succeeds # :1 -> *scenario time="2026-09-17T09:51:00Z" msg="User '924919fb-5a9d-4f21-a9e9-bae7eacf30d2' created with " /server/backend time="2026-09-17T09:51:00Z" msg="Starting bridge" time="2026-09-17T09:51:00Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/157/config2076443663/grpcFocusServerConfig.json /service time="2026-09-17T09:51:00Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/157/cache4021924175/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:51:00Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/157/cache4021924175/notifications/notification_cache: no such file or directory" time="2026-09-17T09:51:00Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/157/data3515053413/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/157/data3515053413/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:51:00Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:51:00Z" msg="Starting IMAP server" time="2026-09-17T09:51:00Z" msg="Starting SMTP server" time="2026-09-17T09:51:00Z" msg="Starting service" time="2026-09-17T09:51:00Z" msg="Starting service" time="2026-09-17T09:51:00Z" msg="Starting poll service" time="2026-09-17T09:51:00Z" msg="Checking for updates" time="2026-09-17T09:51:00Z" msg="Loading users" /user time="2026-09-17T09:51:00Z" msg="Starting frontend service" time="2026-09-17T09:51:00Z" msg="Finished loading users" /user time="2026-09-17T09:51:00Z" msg="Starting receiver service" time="2026-09-17T09:51:00Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/157/config2076443663/grpcServerConfig.json time="2026-09-17T09:51:00Z" msg="gRPC server listening on /tmp/bridge8169" time="2026-09-17T09:51:00Z" msg="Frontend service started" time="2026-09-17T09:51:00Z" msg="Starting frontend client" time="2026-09-17T09:51:00Z" msg="Not monitoring parent PID" time="2026-09-17T09:51:00Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:51:00Z" msg="Frontend client started" time="2026-09-17T09:51:00Z" msg="Performing full user login" /user username="******** (599e9cbd)" time="2026-09-17T09:51:00Z" msg="Authorizing user for login" /user username="******** (599e9cbd)" time="2026-09-17T09:51:00Z" msg="200 OK: GET https://127.0.0.1:42621/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:51:00Z" msg="200 OK: POST https://127.0.0.1:42621/auth/v4/info" /manager time="2026-09-17T09:51:01Z" msg="200 OK: POST https://127.0.0.1:42621/auth/v4" /manager time="2026-09-17T09:51:01Z" msg="Logging in authorized user" /user userID=d479b52d-1d4a-4e92-a215-a50c64b6c432 time="2026-09-17T09:51:01Z" msg="Adding vault user" userID=d479b52d-1d4a-4e92-a215-a50c64b6c432 time="2026-09-17T09:51:01Z" msg="Creating new user" userID=d479b52d-1d4a-4e92-a215-a50c64b6c432 time="2026-09-17T09:51:01Z" msg="404 GET https://127.0.0.1:42621/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:51:01Z" msg="404 GET https://127.0.0.1:42621/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:51:01Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:42621/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:51:01Z" msg="Creating user object" authUID=209fe704-97a5-4be0-8c42-7065e3e675e8 numA numL userID=d479b52d-1d4a-4e92-a215-a50c64b6c432 time="2026-09-17T09:51:01Z" msg="200 OK: GET https://127.0.0.1:42621/core/v4/events/latest" /client userID=d479b52d-1d4a-4e92-a215-a50c64b6c432 time="2026-09-17T09:51:01Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:51:01Z" msg="200 OK: GET https://127.0.0.1:42621/core/v4/settings" /client userID=d479b52d-1d4a-4e92-a215-a50c64b6c432 time="2026-09-17T09:51:01Z" msg="Registering user client, ID:d479b52d-1d4a-4e92-a215-a50c64b6c432" time="2026-09-17T09:51:01Z" msg="Starting service main loop" time="2026-09-17T09:51:01Z" msg="Starting user identity service" numA time="2026-09-17T09:51:01Z" msg="Starting service main loop" time="2026-09-17T09:51:01Z" msg="Starting service main loop" time="2026-09-17T09:51:01Z" msg="200 OK: GET https://127.0.0.1:42621/core/v4/labels?T" /client userID=d479b52d-1d4a-4e92-a215-a50c64b6c432 time="2026-09-17T09:51:01Z" msg="200 OK: GET https://127.0.0.1:42621/core/v4/labels?T" /client userID=d479b52d-1d4a-4e92-a215-a50c64b6c432 time="2026-09-17T09:51:01Z" msg="200 OK: GET https://127.0.0.1:42621/core/v4/labels?T" /client userID=d479b52d-1d4a-4e92-a215-a50c64b6c432 time="2026-09-17T09:51:01Z" msg="Setting labels" labelIDs="[3 5 6 7 2 4 8 9 10 12 0 1]" time="2026-09-17T09:51:01Z" msg="Adding user to imap server" addrID=f4e9aa6a-2203-4484-a1ff-211bd990bc30 time="2026-09-17T09:51:01Z" msg="Creating new IMAP user" addrID=f4e9aa6a-2203-4484-a1ff-211bd990bc30 time="2026-09-17T09:51:01Z" msg="Setting gluon ID" addrID=f4e9aa6a-2203-4484-a1ff-211bd990bc30 gluonID=35ef1172-8f4a-4acb-967e-23b893ce203d userID=d479b52d-1d4a-4e92-a215-a50c64b6c432 time="2026-09-17T09:51:01Z" msg="Received mailbox message count" gluonID=35ef1172-8f4a-4acb-967e-23b893ce203d labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:51:01Z" msg="Created new IMAP user" addrID=f4e9aa6a-2203-4484-a1ff-211bd990bc30 gluonID=35ef1172-8f4a-4acb-967e-23b893ce203d time="2026-09-17T09:51:01Z" msg="Validating Listener State" time="2026-09-17T09:51:01Z" time="2026-09-17T09:51:01Z" msg="Starting IMAP Service" time="2026-09-17T09:51:01Z" msg="Checking whether logged in user should re-sync. UserID:d479b52d-1d4a-4e92-a215-a50c64b6c432" userID=d479b52d-1d4a-4e92-a215-a50c64b6c432 Scenario: Test all possible user discrimination metrics # features/observability/all_metrics.feature:13 time="2026-09-17T09:51:01Z" msg="Sync triggered" When the user logs in with username "924919fb-5a9d-4f21-a9e9-bae7eacf30d2" and password "password" # :1 -> *scenario time="2026-09-17T09:51:01Z" msg="Beginning user sync" start="2026-09-17 09:51:01.161607886 +0000 UTC m=+349.653910182" time="2026-09-17T09:51:01Z" msg="Syncing labels" time="2026-09-17T09:51:01Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=35ef1172-8f4a-4acb-967e-23b893ce203d time="2026-09-17T09:51:01Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=35ef1172-8f4a-4acb-967e-23b893ce203d time="2026-09-17T09:51:01Z" msg="Mailbox created" /user remoteMailboxID=10 userID=35ef1172-8f4a-4acb-967e-23b893ce203d time="2026-09-17T09:51:01Z" msg="Mailbox created" /user remoteMailboxID=3 userID=35ef1172-8f4a-4acb-967e-23b893ce203d time="2026-09-17T09:51:01Z" msg="Mailbox created" /user remoteMailboxID=5 userID=35ef1172-8f4a-4acb-967e-23b893ce203d time="2026-09-17T09:51:01Z" msg="Mailbox created" /user remoteMailboxID=4 userID=35ef1172-8f4a-4acb-967e-23b893ce203d time="2026-09-17T09:51:01Z" msg="Mailbox created" /user remoteMailboxID=12 userID=35ef1172-8f4a-4acb-967e-23b893ce203d time="2026-09-17T09:51:01Z" msg="Mailbox created" /user remoteMailboxID=0 userID=35ef1172-8f4a-4acb-967e-23b893ce203d time="2026-09-17T09:51:01Z" msg="Mailbox created" /user remoteMailboxID=6 userID=35ef1172-8f4a-4acb-967e-23b893ce203d time="2026-09-17T09:51:01Z" msg="Mailbox created" /user remoteMailboxID=7 userID=35ef1172-8f4a-4acb-967e-23b893ce203d time="2026-09-17T09:51:01Z" msg="Mailbox created" /user remoteMailboxID=8 userID=35ef1172-8f4a-4acb-967e-23b893ce203d time="2026-09-17T09:51:01Z" msg="Synced labels" time="2026-09-17T09:51:01Z" msg="200 OK: GET https://127.0.0.1:42621/mail/v4/messages/count" /client userID=d479b52d-1d4a-4e92-a215-a50c64b6c432 time="2026-09-17T09:51:01Z" msg="Syncing messages" time="2026-09-17T09:51:01Z" msg="Job started" time="2026-09-17T09:51:01Z" msg="200 OK: POST https://127.0.0.1:42621/mail/v4/messages" /client userID=d479b52d-1d4a-4e92-a215-a50c64b6c432 time="2026-09-17T09:51:01Z" msg="Job finished" time="2026-09-17T09:51:01Z" msg="All child jobs completed" sync- time="2026-09-17T09:51:01Z" msg="Synced messages" time="2026-09-17T09:51:01Z" msg="Finished user sync" .134952ms time="2026-09-17T09:51:01Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:51:01Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:51:01Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 8} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" And the user with username "924919fb-5a9d-4f21-a9e9-bae7eacf30d2" sends all possible user distinction metrics # :1 -> *scenario time="2026-09-17T09:51:01Z" msg="Frontend service stopped" time="2026-09-17T09:51:01Z" msg="Frontend client stopped" time="2026-09-17T09:51:01Z" msg="Closing bridge" time="2026-09-17T09:51:01Z" msg="Stopping service" time="2026-09-17T09:51:01Z" msg="Closing user" userID=d479b52d-1d4a-4e92-a215-a50c64b6c432 time="2026-09-17T09:51:01Z" msg="De-registering user client, ID:d479b52d-1d4a-4e92-a215-a50c64b6c432" time="2026-09-17T09:51:01Z" msg="Exiting IMAP Service" time="2026-09-17T09:51:01Z" msg="Exiting service main loop" time="2026-09-17T09:51:01Z" msg="Exiting service main loop" time="2026-09-17T09:51:01Z" msg="Exiting Service" time="2026-09-17T09:51:01Z" msg="Exiting service main loop" time="2026-09-17T09:51:01Z" msg="Exiting service" time="2026-09-17T09:51:01Z" msg="Closing IMAP Listener" time="2026-09-17T09:51:01Z" msg="Closing IMAP server" time="2026-09-17T09:51:01Z" msg="Closing SMTP Listener" time="2026-09-17T09:51:01Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:51:01Z" msg="Closing SMTP server" time="2026-09-17T09:51:01Z" msg="Closing service" Then it succeeds # :1 -> *scenario time="2026-09-17T09:51:01Z" msg="User '47faa3bc-309c-4d7f-ac9f-622e8acbbbf6' created with " /server/backend time="2026-09-17T09:51:02Z" msg="Starting bridge" time="2026-09-17T09:51:02Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/158/config2938734729/grpcFocusServerConfig.json /service time="2026-09-17T09:51:02Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/158/cache1152457240/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:51:02Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/158/cache1152457240/notifications/notification_cache: no such file or directory" time="2026-09-17T09:51:02Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/158/data3009120950/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/158/data3009120950/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:51:02Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:51:02Z" msg="Starting IMAP server" time="2026-09-17T09:51:02Z" msg="Starting SMTP server" time="2026-09-17T09:51:02Z" msg="Starting service" time="2026-09-17T09:51:02Z" msg="Starting service" time="2026-09-17T09:51:02Z" msg="Starting receiver service" time="2026-09-17T09:51:02Z" msg="Starting frontend service" time="2026-09-17T09:51:02Z" msg="Checking for updates" time="2026-09-17T09:51:02Z" msg="Loading users" /user time="2026-09-17T09:51:02Z" msg="Starting poll service" time="2026-09-17T09:51:02Z" msg="Finished loading users" /user time="2026-09-17T09:51:02Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/158/config2938734729/grpcServerConfig.json time="2026-09-17T09:51:02Z" msg="gRPC server listening on /tmp/bridge8880" time="2026-09-17T09:51:02Z" msg="Frontend service started" time="2026-09-17T09:51:02Z" msg="Starting frontend client" time="2026-09-17T09:51:02Z" msg="Not monitoring parent PID" time="2026-09-17T09:51:02Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:51:02Z" msg="200 OK: GET https://127.0.0.1:36969/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:51:02Z" msg="Frontend client started" time="2026-09-17T09:51:02Z" msg="Performing full user login" /user username="******** (9e392865)" time="2026-09-17T09:51:02Z" msg="Authorizing user for login" /user username="******** (9e392865)" time="2026-09-17T09:51:02Z" msg="200 OK: POST https://127.0.0.1:36969/auth/v4/info" /manager time="2026-09-17T09:51:02Z" msg="200 OK: POST https://127.0.0.1:36969/auth/v4" /manager time="2026-09-17T09:51:02Z" msg="Logging in authorized user" /user userID=b0987f82-b8c9-46f2-aa98-7e88c301cfc5 time="2026-09-17T09:51:02Z" msg="Adding vault user" userID=b0987f82-b8c9-46f2-aa98-7e88c301cfc5 time="2026-09-17T09:51:02Z" msg="Creating new user" userID=b0987f82-b8c9-46f2-aa98-7e88c301cfc5 time="2026-09-17T09:51:02Z" msg="404 GET https://127.0.0.1:36969/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:51:02Z" msg="404 GET https://127.0.0.1:36969/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:51:02Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:36969/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:51:02Z" msg="Creating user object" authUID=5a81aa38-b2d0-480f-9440-e2b1d94eb77e numA numL userID=b0987f82-b8c9-46f2-aa98-7e88c301cfc5 time="2026-09-17T09:51:02Z" msg="200 OK: GET https://127.0.0.1:36969/core/v4/events/latest" /client userID=b0987f82-b8c9-46f2-aa98-7e88c301cfc5 time="2026-09-17T09:51:02Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:51:02Z" msg="200 OK: GET https://127.0.0.1:36969/core/v4/settings" /client userID=b0987f82-b8c9-46f2-aa98-7e88c301cfc5 time="2026-09-17T09:51:02Z" msg="Registering user client, ID:b0987f82-b8c9-46f2-aa98-7e88c301cfc5" time="2026-09-17T09:51:02Z" msg="Starting service main loop" time="2026-09-17T09:51:02Z" msg="Starting user identity service" numA time="2026-09-17T09:51:02Z" msg="Starting service main loop" time="2026-09-17T09:51:02Z" msg="Starting service main loop" time="2026-09-17T09:51:02Z" msg="200 OK: GET https://127.0.0.1:36969/core/v4/labels?T" /client userID=b0987f82-b8c9-46f2-aa98-7e88c301cfc5 time="2026-09-17T09:51:02Z" msg="200 OK: GET https://127.0.0.1:36969/core/v4/labels?T" /client userID=b0987f82-b8c9-46f2-aa98-7e88c301cfc5 time="2026-09-17T09:51:02Z" msg="200 OK: GET https://127.0.0.1:36969/core/v4/labels?T" /client userID=b0987f82-b8c9-46f2-aa98-7e88c301cfc5 time="2026-09-17T09:51:02Z" msg="Setting labels" labelIDs="[7 8 10 2 4 5 9 12 0 1 3 6]" time="2026-09-17T09:51:02Z" msg="Adding user to imap server" addrID=58e13821-07ef-4408-9d6c-3be9dd6e40c2 time="2026-09-17T09:51:02Z" msg="Creating new IMAP user" addrID=58e13821-07ef-4408-9d6c-3be9dd6e40c2 time="2026-09-17T09:51:02Z" msg="Setting gluon ID" addrID=58e13821-07ef-4408-9d6c-3be9dd6e40c2 gluonID=a2a3e22c-34f8-4b85-b495-213fa293697c userID=b0987f82-b8c9-46f2-aa98-7e88c301cfc5 time="2026-09-17T09:51:02Z" msg="Received mailbox message count" gluonID=a2a3e22c-34f8-4b85-b495-213fa293697c labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:51:02Z" msg="Created new IMAP user" addrID=58e13821-07ef-4408-9d6c-3be9dd6e40c2 gluonID=a2a3e22c-34f8-4b85-b495-213fa293697c time="2026-09-17T09:51:02Z" msg="Validating Listener State" time="2026-09-17T09:51:02Z" time="2026-09-17T09:51:02Z" msg="Starting IMAP Service" time="2026-09-17T09:51:02Z" msg="Checking whether logged in user should re-sync. UserID:b0987f82-b8c9-46f2-aa98-7e88c301cfc5" userID=b0987f82-b8c9-46f2-aa98-7e88c301cfc5 Scenario: Test all possible sync message event failure observability metrics # features/observability/all_metrics.feature:18 When the user logs in with username "47faa3bc-309c-4d7f-ac9f-622e8acbbbf6" and password "password" # :1 -> *scenario time="2026-09-17T09:51:02Z" msg="Sync triggered" time="2026-09-17T09:51:02Z" msg="Beginning user sync" start="2026-09-17 09:51:02.600455038 +0000 UTC m=+351.092757374" time="2026-09-17T09:51:02Z" msg="Syncing labels" time="2026-09-17T09:51:02Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=a2a3e22c-34f8-4b85-b495-213fa293697c time="2026-09-17T09:51:02Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=a2a3e22c-34f8-4b85-b495-213fa293697c time="2026-09-17T09:51:02Z" msg="Mailbox created" /user remoteMailboxID=10 userID=a2a3e22c-34f8-4b85-b495-213fa293697c time="2026-09-17T09:51:02Z" msg="Mailbox created" /user remoteMailboxID=4 userID=a2a3e22c-34f8-4b85-b495-213fa293697c time="2026-09-17T09:51:02Z" msg="Mailbox created" /user remoteMailboxID=5 userID=a2a3e22c-34f8-4b85-b495-213fa293697c time="2026-09-17T09:51:02Z" msg="Mailbox created" /user remoteMailboxID=12 userID=a2a3e22c-34f8-4b85-b495-213fa293697c time="2026-09-17T09:51:02Z" msg="Mailbox created" /user remoteMailboxID=6 userID=a2a3e22c-34f8-4b85-b495-213fa293697c time="2026-09-17T09:51:02Z" msg="Mailbox created" /user remoteMailboxID=8 userID=a2a3e22c-34f8-4b85-b495-213fa293697c time="2026-09-17T09:51:02Z" msg="Mailbox created" /user remoteMailboxID=0 userID=a2a3e22c-34f8-4b85-b495-213fa293697c time="2026-09-17T09:51:02Z" msg="Mailbox created" /user remoteMailboxID=3 userID=a2a3e22c-34f8-4b85-b495-213fa293697c time="2026-09-17T09:51:02Z" msg="Mailbox created" /user remoteMailboxID=7 userID=a2a3e22c-34f8-4b85-b495-213fa293697c time="2026-09-17T09:51:02Z" msg="Synced labels" time="2026-09-17T09:51:02Z" msg="200 OK: GET https://127.0.0.1:36969/mail/v4/messages/count" /client userID=b0987f82-b8c9-46f2-aa98-7e88c301cfc5 time="2026-09-17T09:51:02Z" msg="Syncing messages" time="2026-09-17T09:51:02Z" msg="Job started" time="2026-09-17T09:51:02Z" msg="200 OK: POST https://127.0.0.1:36969/mail/v4/messages" /client userID=b0987f82-b8c9-46f2-aa98-7e88c301cfc5 time="2026-09-17T09:51:02Z" msg="Job finished" time="2026-09-17T09:51:02Z" msg="All child jobs completed" sync- time="2026-09-17T09:51:02Z" msg="Synced messages" time="2026-09-17T09:51:02Z" msg="Finished user sync" .577669ms time="2026-09-17T09:51:02Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:51:02Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:51:02Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 0} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" And the user with username "47faa3bc-309c-4d7f-ac9f-622e8acbbbf6" sends all possible sync message event failure observability metrics # :1 -> *scenario time="2026-09-17T09:51:02Z" msg="Frontend service stopped" time="2026-09-17T09:51:02Z" msg="Frontend client stopped" time="2026-09-17T09:51:02Z" msg="Closing bridge" time="2026-09-17T09:51:02Z" msg="Stopping service" time="2026-09-17T09:51:02Z" msg="Closing user" userID=b0987f82-b8c9-46f2-aa98-7e88c301cfc5 time="2026-09-17T09:51:02Z" msg="De-registering user client, ID:b0987f82-b8c9-46f2-aa98-7e88c301cfc5" time="2026-09-17T09:51:02Z" msg="Exiting IMAP Service" time="2026-09-17T09:51:02Z" msg="Exiting service main loop" time="2026-09-17T09:51:02Z" msg="Exiting service main loop" time="2026-09-17T09:51:02Z" msg="Exiting Service" time="2026-09-17T09:51:02Z" msg="Exiting service main loop" time="2026-09-17T09:51:02Z" msg="Exiting service" time="2026-09-17T09:51:02Z" msg="Closing IMAP Listener" time="2026-09-17T09:51:02Z" msg="Closing IMAP server" time="2026-09-17T09:51:02Z" msg="Closing SMTP Listener" time="2026-09-17T09:51:02Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:51:02Z" msg="Closing SMTP server" time="2026-09-17T09:51:02Z" msg="Closing service" Then it succeeds # :1 -> *scenario time="2026-09-17T09:51:03Z" msg="User '60acda46-cf3b-404b-8b6d-bfac9200eb65' created with " /server/backend time="2026-09-17T09:51:03Z" msg="Starting bridge" time="2026-09-17T09:51:03Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/159/config2796023351/grpcFocusServerConfig.json /service time="2026-09-17T09:51:03Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/159/cache1737615635/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:51:03Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/159/cache1737615635/notifications/notification_cache: no such file or directory" time="2026-09-17T09:51:03Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/159/data1443729569/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/159/data1443729569/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:51:03Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:51:03Z" msg="Starting IMAP server" time="2026-09-17T09:51:03Z" msg="Starting SMTP server" time="2026-09-17T09:51:03Z" msg="Starting service" time="2026-09-17T09:51:03Z" msg="Starting service" time="2026-09-17T09:51:03Z" msg="Starting receiver service" time="2026-09-17T09:51:03Z" msg="Checking for updates" time="2026-09-17T09:51:03Z" msg="Loading users" /user time="2026-09-17T09:51:03Z" msg="Starting frontend service" time="2026-09-17T09:51:03Z" msg="Starting poll service" time="2026-09-17T09:51:03Z" msg="Finished loading users" /user time="2026-09-17T09:51:03Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/159/config2796023351/grpcServerConfig.json time="2026-09-17T09:51:03Z" msg="gRPC server listening on /tmp/bridge0370" time="2026-09-17T09:51:03Z" msg="Frontend service started" time="2026-09-17T09:51:03Z" msg="Starting frontend client" time="2026-09-17T09:51:03Z" msg="Not monitoring parent PID" time="2026-09-17T09:51:03Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:51:03Z" msg="200 OK: GET https://127.0.0.1:41979/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:51:03Z" msg="Frontend client started" time="2026-09-17T09:51:03Z" msg="Performing full user login" /user username="******** (014da79f)" time="2026-09-17T09:51:03Z" msg="Authorizing user for login" /user username="******** (014da79f)" time="2026-09-17T09:51:03Z" msg="200 OK: POST https://127.0.0.1:41979/auth/v4/info" /manager time="2026-09-17T09:51:03Z" msg="200 OK: POST https://127.0.0.1:41979/auth/v4" /manager time="2026-09-17T09:51:03Z" msg="Logging in authorized user" /user userID=49f35536-5b63-4ad2-b63e-6159990f7284 time="2026-09-17T09:51:04Z" msg="Adding vault user" userID=49f35536-5b63-4ad2-b63e-6159990f7284 time="2026-09-17T09:51:04Z" msg="Creating new user" userID=49f35536-5b63-4ad2-b63e-6159990f7284 time="2026-09-17T09:51:04Z" msg="404 GET https://127.0.0.1:41979/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:51:04Z" msg="404 GET https://127.0.0.1:41979/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:51:04Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:41979/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:51:04Z" msg="Creating user object" authUID=d6e8090a-5e1d-4a7e-944b-97d58506205e numA numL userID=49f35536-5b63-4ad2-b63e-6159990f7284 time="2026-09-17T09:51:04Z" msg="200 OK: GET https://127.0.0.1:41979/core/v4/events/latest" /client userID=49f35536-5b63-4ad2-b63e-6159990f7284 time="2026-09-17T09:51:04Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:51:04Z" msg="200 OK: GET https://127.0.0.1:41979/core/v4/settings" /client userID=49f35536-5b63-4ad2-b63e-6159990f7284 time="2026-09-17T09:51:04Z" msg="Registering user client, ID:49f35536-5b63-4ad2-b63e-6159990f7284" time="2026-09-17T09:51:04Z" msg="Starting service main loop" time="2026-09-17T09:51:04Z" msg="Starting service main loop" time="2026-09-17T09:51:04Z" msg="Starting user identity service" numA time="2026-09-17T09:51:04Z" msg="Starting service main loop" time="2026-09-17T09:51:04Z" msg="200 OK: GET https://127.0.0.1:41979/core/v4/labels?T" /client userID=49f35536-5b63-4ad2-b63e-6159990f7284 time="2026-09-17T09:51:04Z" msg="200 OK: GET https://127.0.0.1:41979/core/v4/labels?T" /client userID=49f35536-5b63-4ad2-b63e-6159990f7284 time="2026-09-17T09:51:04Z" msg="200 OK: GET https://127.0.0.1:41979/core/v4/labels?T" /client userID=49f35536-5b63-4ad2-b63e-6159990f7284 time="2026-09-17T09:51:04Z" msg="Setting labels" labelIDs="[0 1 5 6 8 9 10 12 2 3 4 7]" time="2026-09-17T09:51:04Z" msg="Adding user to imap server" addrID=111e3d1b-b111-4981-9d56-681608eb395b time="2026-09-17T09:51:04Z" msg="Creating new IMAP user" addrID=111e3d1b-b111-4981-9d56-681608eb395b time="2026-09-17T09:51:04Z" msg="Setting gluon ID" addrID=111e3d1b-b111-4981-9d56-681608eb395b gluonID=02e0d0a1-88cd-49d6-a684-702066a1e1d8 userID=49f35536-5b63-4ad2-b63e-6159990f7284 time="2026-09-17T09:51:04Z" msg="Received mailbox message count" gluonID=02e0d0a1-88cd-49d6-a684-702066a1e1d8 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:51:04Z" msg="Created new IMAP user" addrID=111e3d1b-b111-4981-9d56-681608eb395b gluonID=02e0d0a1-88cd-49d6-a684-702066a1e1d8 time="2026-09-17T09:51:04Z" msg="Validating Listener State" time="2026-09-17T09:51:04Z" time="2026-09-17T09:51:04Z" msg="Checking whether logged in user should re-sync. UserID:49f35536-5b63-4ad2-b63e-6159990f7284" userID=49f35536-5b63-4ad2-b63e-6159990f7284 Scenario: Test all possible event loop message events observability metrics # features/observability/all_metrics.feature:23 time="2026-09-17T09:51:04Z" msg="Starting IMAP Service" When the user logs in with username "60acda46-cf3b-404b-8b6d-bfac9200eb65" and password "password" # :1 -> *scenario time="2026-09-17T09:51:04Z" msg="Sync triggered" time="2026-09-17T09:51:04Z" msg="Beginning user sync" start="2026-09-17 09:51:04.028574502 +0000 UTC m=+352.520876878" time="2026-09-17T09:51:04Z" msg="Syncing labels" time="2026-09-17T09:51:04Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=02e0d0a1-88cd-49d6-a684-702066a1e1d8 time="2026-09-17T09:51:04Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=02e0d0a1-88cd-49d6-a684-702066a1e1d8 time="2026-09-17T09:51:04Z" msg="Mailbox created" /user remoteMailboxID=4 userID=02e0d0a1-88cd-49d6-a684-702066a1e1d8 time="2026-09-17T09:51:04Z" msg="Mailbox created" /user remoteMailboxID=7 userID=02e0d0a1-88cd-49d6-a684-702066a1e1d8 time="2026-09-17T09:51:04Z" msg="Mailbox created" /user remoteMailboxID=0 userID=02e0d0a1-88cd-49d6-a684-702066a1e1d8 time="2026-09-17T09:51:04Z" msg="Mailbox created" /user remoteMailboxID=5 userID=02e0d0a1-88cd-49d6-a684-702066a1e1d8 time="2026-09-17T09:51:04Z" msg="Mailbox created" /user remoteMailboxID=8 userID=02e0d0a1-88cd-49d6-a684-702066a1e1d8 time="2026-09-17T09:51:04Z" msg="Mailbox created" /user remoteMailboxID=12 userID=02e0d0a1-88cd-49d6-a684-702066a1e1d8 time="2026-09-17T09:51:04Z" msg="Mailbox created" /user remoteMailboxID=3 userID=02e0d0a1-88cd-49d6-a684-702066a1e1d8 time="2026-09-17T09:51:04Z" msg="Mailbox created" /user remoteMailboxID=6 userID=02e0d0a1-88cd-49d6-a684-702066a1e1d8 time="2026-09-17T09:51:04Z" msg="Mailbox created" /user remoteMailboxID=10 userID=02e0d0a1-88cd-49d6-a684-702066a1e1d8 time="2026-09-17T09:51:04Z" msg="Synced labels" time="2026-09-17T09:51:04Z" msg="200 OK: GET https://127.0.0.1:41979/mail/v4/messages/count" /client userID=49f35536-5b63-4ad2-b63e-6159990f7284 time="2026-09-17T09:51:04Z" msg="Syncing messages" time="2026-09-17T09:51:04Z" msg="Job started" time="2026-09-17T09:51:04Z" msg="200 OK: POST https://127.0.0.1:41979/mail/v4/messages" /client userID=49f35536-5b63-4ad2-b63e-6159990f7284 time="2026-09-17T09:51:04Z" msg="Job finished" time="2026-09-17T09:51:04Z" msg="All child jobs completed" sync- time="2026-09-17T09:51:04Z" msg="Synced messages" time="2026-09-17T09:51:04Z" msg="Finished user sync" .184961ms time="2026-09-17T09:51:04Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:51:04Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:51:04Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 3} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" And the user with username "60acda46-cf3b-404b-8b6d-bfac9200eb65" sends all possible event loop message events observability metrics # :1 -> *scenario time="2026-09-17T09:51:04Z" msg="Frontend service stopped" time="2026-09-17T09:51:04Z" msg="Frontend client stopped" time="2026-09-17T09:51:04Z" msg="Closing bridge" time="2026-09-17T09:51:04Z" msg="Stopping service" time="2026-09-17T09:51:04Z" msg="Closing user" userID=49f35536-5b63-4ad2-b63e-6159990f7284 time="2026-09-17T09:51:04Z" msg="De-registering user client, ID:49f35536-5b63-4ad2-b63e-6159990f7284" time="2026-09-17T09:51:04Z" msg="Exiting IMAP Service" time="2026-09-17T09:51:04Z" msg="Exiting service main loop" time="2026-09-17T09:51:04Z" msg="Exiting service main loop" time="2026-09-17T09:51:04Z" msg="Exiting Service" time="2026-09-17T09:51:04Z" msg="Exiting service main loop" time="2026-09-17T09:51:04Z" msg="Exiting service" time="2026-09-17T09:51:04Z" msg="Closing IMAP Listener" time="2026-09-17T09:51:04Z" msg="Closing IMAP server" time="2026-09-17T09:51:04Z" msg="Closing SMTP Listener" time="2026-09-17T09:51:04Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:51:04Z" msg="Closing SMTP server" time="2026-09-17T09:51:04Z" msg="Closing service" Then it succeeds # :1 -> *scenario time="2026-09-17T09:51:04Z" msg="User '77b2ab22-0956-466a-a124-e60d20f0d926' created with " /server/backend time="2026-09-17T09:51:05Z" msg="Starting bridge" time="2026-09-17T09:51:05Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/160/config3696866325/grpcFocusServerConfig.json /service time="2026-09-17T09:51:05Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/160/cache152934988/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:51:05Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/160/cache152934988/notifications/notification_cache: no such file or directory" time="2026-09-17T09:51:05Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/160/data512653124/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/160/data512653124/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:51:05Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:51:05Z" msg="Starting IMAP server" time="2026-09-17T09:51:05Z" msg="Starting SMTP server" time="2026-09-17T09:51:05Z" msg="Starting service" time="2026-09-17T09:51:05Z" msg="Starting service" time="2026-09-17T09:51:05Z" msg="Starting poll service" time="2026-09-17T09:51:05Z" msg="Starting receiver service" time="2026-09-17T09:51:05Z" msg="Checking for updates" time="2026-09-17T09:51:05Z" msg="Loading users" /user time="2026-09-17T09:51:05Z" msg="Starting frontend service" time="2026-09-17T09:51:05Z" msg="Finished loading users" /user time="2026-09-17T09:51:05Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/160/config3696866325/grpcServerConfig.json time="2026-09-17T09:51:05Z" msg="gRPC server listening on /tmp/bridge6879" time="2026-09-17T09:51:05Z" msg="Frontend service started" time="2026-09-17T09:51:05Z" msg="Starting frontend client" time="2026-09-17T09:51:05Z" msg="Not monitoring parent PID" time="2026-09-17T09:51:05Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:51:05Z" msg="200 OK: GET https://127.0.0.1:34367/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:51:05Z" msg="Frontend client started" time="2026-09-17T09:51:05Z" msg="Performing full user login" /user username="******** (738125ea)" time="2026-09-17T09:51:05Z" msg="Authorizing user for login" /user username="******** (738125ea)" time="2026-09-17T09:51:05Z" msg="200 OK: POST https://127.0.0.1:34367/auth/v4/info" /manager time="2026-09-17T09:51:05Z" msg="200 OK: POST https://127.0.0.1:34367/auth/v4" /manager time="2026-09-17T09:51:05Z" msg="Logging in authorized user" /user userID=b5b54946-9f0d-401d-a19e-d170faf9d8aa time="2026-09-17T09:51:05Z" msg="Adding vault user" userID=b5b54946-9f0d-401d-a19e-d170faf9d8aa time="2026-09-17T09:51:05Z" msg="Creating new user" userID=b5b54946-9f0d-401d-a19e-d170faf9d8aa time="2026-09-17T09:51:05Z" msg="404 GET https://127.0.0.1:34367/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:51:05Z" msg="404 GET https://127.0.0.1:34367/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:51:05Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:34367/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:51:05Z" msg="Creating user object" authUID=464adb7d-1dae-4d42-a293-e4b1686e1529 numA numL userID=b5b54946-9f0d-401d-a19e-d170faf9d8aa time="2026-09-17T09:51:05Z" msg="200 OK: GET https://127.0.0.1:34367/core/v4/events/latest" /client userID=b5b54946-9f0d-401d-a19e-d170faf9d8aa time="2026-09-17T09:51:05Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:51:05Z" msg="200 OK: GET https://127.0.0.1:34367/core/v4/settings" /client userID=b5b54946-9f0d-401d-a19e-d170faf9d8aa time="2026-09-17T09:51:05Z" msg="Registering user client, ID:b5b54946-9f0d-401d-a19e-d170faf9d8aa" time="2026-09-17T09:51:05Z" msg="Starting user identity service" numA time="2026-09-17T09:51:05Z" msg="Starting service main loop" time="2026-09-17T09:51:05Z" msg="Starting service main loop" time="2026-09-17T09:51:05Z" msg="Starting service main loop" time="2026-09-17T09:51:05Z" msg="200 OK: GET https://127.0.0.1:34367/core/v4/labels?T" /client userID=b5b54946-9f0d-401d-a19e-d170faf9d8aa time="2026-09-17T09:51:05Z" msg="200 OK: GET https://127.0.0.1:34367/core/v4/labels?T" /client userID=b5b54946-9f0d-401d-a19e-d170faf9d8aa time="2026-09-17T09:51:05Z" msg="200 OK: GET https://127.0.0.1:34367/core/v4/labels?T" /client userID=b5b54946-9f0d-401d-a19e-d170faf9d8aa time="2026-09-17T09:51:05Z" msg="Setting labels" labelIDs="[5 8 9 12 3 6 7 10 0 1 2 4]" time="2026-09-17T09:51:05Z" msg="Adding user to imap server" addrID=caeb3d99-bd26-4765-8d2d-29a51059de84 time="2026-09-17T09:51:05Z" msg="Creating new IMAP user" addrID=caeb3d99-bd26-4765-8d2d-29a51059de84 time="2026-09-17T09:51:05Z" msg="Setting gluon ID" addrID=caeb3d99-bd26-4765-8d2d-29a51059de84 gluonID=8fa74622-ad20-4c43-b397-0c82bd2120fc userID=b5b54946-9f0d-401d-a19e-d170faf9d8aa time="2026-09-17T09:51:05Z" msg="Received mailbox message count" gluonID=8fa74622-ad20-4c43-b397-0c82bd2120fc labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:51:05Z" msg="Created new IMAP user" addrID=caeb3d99-bd26-4765-8d2d-29a51059de84 gluonID=8fa74622-ad20-4c43-b397-0c82bd2120fc time="2026-09-17T09:51:05Z" msg="Validating Listener State" time="2026-09-17T09:51:05Z" time="2026-09-17T09:51:05Z" msg="Checking whether logged in user should re-sync. UserID:b5b54946-9f0d-401d-a19e-d170faf9d8aa" userID=b5b54946-9f0d-401d-a19e-d170faf9d8aa time="2026-09-17T09:51:05Z" msg="Starting IMAP Service" Scenario: Test all possible sync message building failure observability metrics # features/observability/all_metrics.feature:28 When the user logs in with username "77b2ab22-0956-466a-a124-e60d20f0d926" and password "password" # :1 -> *scenario time="2026-09-17T09:51:05Z" msg="Sync triggered" time="2026-09-17T09:51:05Z" msg="Beginning user sync" start="2026-09-17 09:51:05.469899945 +0000 UTC m=+353.962202281" time="2026-09-17T09:51:05Z" msg="Syncing labels" time="2026-09-17T09:51:05Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=8fa74622-ad20-4c43-b397-0c82bd2120fc time="2026-09-17T09:51:05Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=8fa74622-ad20-4c43-b397-0c82bd2120fc time="2026-09-17T09:51:05Z" msg="Mailbox created" /user remoteMailboxID=10 userID=8fa74622-ad20-4c43-b397-0c82bd2120fc time="2026-09-17T09:51:05Z" msg="Mailbox created" /user remoteMailboxID=0 userID=8fa74622-ad20-4c43-b397-0c82bd2120fc time="2026-09-17T09:51:05Z" msg="Mailbox created" /user remoteMailboxID=4 userID=8fa74622-ad20-4c43-b397-0c82bd2120fc time="2026-09-17T09:51:05Z" msg="Mailbox created" /user remoteMailboxID=5 userID=8fa74622-ad20-4c43-b397-0c82bd2120fc time="2026-09-17T09:51:05Z" msg="Mailbox created" /user remoteMailboxID=6 userID=8fa74622-ad20-4c43-b397-0c82bd2120fc time="2026-09-17T09:51:05Z" msg="Mailbox created" /user remoteMailboxID=7 userID=8fa74622-ad20-4c43-b397-0c82bd2120fc time="2026-09-17T09:51:05Z" msg="Mailbox created" /user remoteMailboxID=8 userID=8fa74622-ad20-4c43-b397-0c82bd2120fc time="2026-09-17T09:51:05Z" msg="Mailbox created" /user remoteMailboxID=12 userID=8fa74622-ad20-4c43-b397-0c82bd2120fc time="2026-09-17T09:51:05Z" msg="Mailbox created" /user remoteMailboxID=3 userID=8fa74622-ad20-4c43-b397-0c82bd2120fc time="2026-09-17T09:51:05Z" msg="Synced labels" time="2026-09-17T09:51:05Z" msg="200 OK: GET https://127.0.0.1:34367/mail/v4/messages/count" /client userID=b5b54946-9f0d-401d-a19e-d170faf9d8aa time="2026-09-17T09:51:05Z" msg="Syncing messages" time="2026-09-17T09:51:05Z" msg="Job started" time="2026-09-17T09:51:05Z" msg="200 OK: POST https://127.0.0.1:34367/mail/v4/messages" /client userID=b5b54946-9f0d-401d-a19e-d170faf9d8aa time="2026-09-17T09:51:05Z" msg="Job finished" time="2026-09-17T09:51:05Z" msg="All child jobs completed" sync- time="2026-09-17T09:51:05Z" msg="Synced messages" time="2026-09-17T09:51:05Z" msg="Finished user sync" .611519ms time="2026-09-17T09:51:05Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:51:05Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:51:05Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 5} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" And the user with username "77b2ab22-0956-466a-a124-e60d20f0d926" sends all possible sync message building failure observability metrics # :1 -> *scenario time="2026-09-17T09:51:05Z" msg="Frontend service stopped" time="2026-09-17T09:51:05Z" msg="Frontend client stopped" time="2026-09-17T09:51:05Z" msg="Closing bridge" time="2026-09-17T09:51:05Z" msg="Stopping service" time="2026-09-17T09:51:05Z" msg="Closing user" userID=b5b54946-9f0d-401d-a19e-d170faf9d8aa time="2026-09-17T09:51:05Z" msg="De-registering user client, ID:b5b54946-9f0d-401d-a19e-d170faf9d8aa" time="2026-09-17T09:51:05Z" msg="Exiting IMAP Service" time="2026-09-17T09:51:05Z" msg="Exiting service main loop" time="2026-09-17T09:51:05Z" msg="Exiting service main loop" time="2026-09-17T09:51:05Z" msg="Exiting Service" time="2026-09-17T09:51:05Z" msg="Exiting service main loop" time="2026-09-17T09:51:05Z" msg="Exiting service" time="2026-09-17T09:51:05Z" msg="Closing IMAP Listener" time="2026-09-17T09:51:05Z" msg="Closing IMAP server" time="2026-09-17T09:51:05Z" msg="Closing SMTP Listener" time="2026-09-17T09:51:05Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:51:05Z" msg="Closing SMTP server" time="2026-09-17T09:51:05Z" msg="Closing service" Then it succeeds # :1 -> *scenario time="2026-09-17T09:51:06Z" msg="User '8ed1a721-0e4a-4deb-ab89-c249d42df13e' created with " /server/backend time="2026-09-17T09:51:06Z" msg="Starting bridge" time="2026-09-17T09:51:06Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/161/config550635632/grpcFocusServerConfig.json /service time="2026-09-17T09:51:06Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/161/cache3989482949/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:51:06Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/161/cache3989482949/notifications/notification_cache: no such file or directory" time="2026-09-17T09:51:06Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/161/data908562891/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/161/data908562891/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:51:06Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:51:06Z" msg="Starting IMAP server" time="2026-09-17T09:51:06Z" msg="Starting SMTP server" time="2026-09-17T09:51:06Z" msg="Starting service" time="2026-09-17T09:51:06Z" msg="Starting service" time="2026-09-17T09:51:06Z" msg="Starting receiver service" time="2026-09-17T09:51:06Z" msg="Starting frontend service" time="2026-09-17T09:51:06Z" msg="Starting poll service" time="2026-09-17T09:51:06Z" msg="Loading users" /user time="2026-09-17T09:51:06Z" msg="Checking for updates" time="2026-09-17T09:51:06Z" msg="Finished loading users" /user time="2026-09-17T09:51:06Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/161/config550635632/grpcServerConfig.json time="2026-09-17T09:51:06Z" msg="gRPC server listening on /tmp/bridge4629" time="2026-09-17T09:51:06Z" msg="Frontend service started" time="2026-09-17T09:51:06Z" msg="Starting frontend client" time="2026-09-17T09:51:06Z" msg="Not monitoring parent PID" time="2026-09-17T09:51:06Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:51:06Z" msg="Frontend client started" time="2026-09-17T09:51:06Z" msg="Performing full user login" /user username="******** (654ba019)" time="2026-09-17T09:51:06Z" msg="Authorizing user for login" /user username="******** (654ba019)" time="2026-09-17T09:51:06Z" msg="200 OK: GET https://127.0.0.1:34955/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:51:06Z" msg="200 OK: POST https://127.0.0.1:34955/auth/v4/info" /manager time="2026-09-17T09:51:06Z" msg="200 OK: POST https://127.0.0.1:34955/auth/v4" /manager time="2026-09-17T09:51:06Z" msg="Logging in authorized user" /user userID=b3221bbe-a1ae-4b5d-b51a-210a8259f6b2 time="2026-09-17T09:51:06Z" msg="Adding vault user" userID=b3221bbe-a1ae-4b5d-b51a-210a8259f6b2 time="2026-09-17T09:51:06Z" msg="Creating new user" userID=b3221bbe-a1ae-4b5d-b51a-210a8259f6b2 time="2026-09-17T09:51:06Z" msg="404 GET https://127.0.0.1:34955/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:51:06Z" msg="404 GET https://127.0.0.1:34955/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:51:06Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:34955/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:51:06Z" msg="Creating user object" authUID=fce2d360-86b0-410c-9937-a33f389cf222 numA numL userID=b3221bbe-a1ae-4b5d-b51a-210a8259f6b2 time="2026-09-17T09:51:06Z" msg="200 OK: GET https://127.0.0.1:34955/core/v4/events/latest" /client userID=b3221bbe-a1ae-4b5d-b51a-210a8259f6b2 time="2026-09-17T09:51:06Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:51:06Z" msg="200 OK: GET https://127.0.0.1:34955/core/v4/settings" /client userID=b3221bbe-a1ae-4b5d-b51a-210a8259f6b2 time="2026-09-17T09:51:06Z" msg="Registering user client, ID:b3221bbe-a1ae-4b5d-b51a-210a8259f6b2" time="2026-09-17T09:51:06Z" msg="Starting service main loop" time="2026-09-17T09:51:06Z" msg="Starting user identity service" numA time="2026-09-17T09:51:06Z" msg="Starting service main loop" time="2026-09-17T09:51:06Z" msg="Starting service main loop" time="2026-09-17T09:51:06Z" msg="200 OK: GET https://127.0.0.1:34955/core/v4/labels?T" /client userID=b3221bbe-a1ae-4b5d-b51a-210a8259f6b2 time="2026-09-17T09:51:06Z" msg="200 OK: GET https://127.0.0.1:34955/core/v4/labels?T" /client userID=b3221bbe-a1ae-4b5d-b51a-210a8259f6b2 time="2026-09-17T09:51:06Z" msg="200 OK: GET https://127.0.0.1:34955/core/v4/labels?T" /client userID=b3221bbe-a1ae-4b5d-b51a-210a8259f6b2 time="2026-09-17T09:51:06Z" msg="Setting labels" labelIDs="[6 8 10 2 3 4 5 7 9 12 0 1]" time="2026-09-17T09:51:06Z" msg="Adding user to imap server" addrID=9e5d5b6c-aa80-428d-8029-a9ea36be3b2d time="2026-09-17T09:51:06Z" msg="Creating new IMAP user" addrID=9e5d5b6c-aa80-428d-8029-a9ea36be3b2d time="2026-09-17T09:51:06Z" msg="Setting gluon ID" addrID=9e5d5b6c-aa80-428d-8029-a9ea36be3b2d gluonID=6c935898-22d6-4de5-bb75-0dea674ec297 userID=b3221bbe-a1ae-4b5d-b51a-210a8259f6b2 time="2026-09-17T09:51:06Z" msg="Received mailbox message count" gluonID=6c935898-22d6-4de5-bb75-0dea674ec297 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:51:06Z" msg="Created new IMAP user" addrID=9e5d5b6c-aa80-428d-8029-a9ea36be3b2d gluonID=6c935898-22d6-4de5-bb75-0dea674ec297 time="2026-09-17T09:51:06Z" msg="Validating Listener State" time="2026-09-17T09:51:06Z" time="2026-09-17T09:51:06Z" msg="Starting IMAP Service" time="2026-09-17T09:51:06Z" msg="Checking whether logged in user should re-sync. UserID:b3221bbe-a1ae-4b5d-b51a-210a8259f6b2" userID=b3221bbe-a1ae-4b5d-b51a-210a8259f6b2 Scenario: Test all possible sync message building success observability metrics # features/observability/all_metrics.feature:33 time="2026-09-17T09:51:06Z" msg="Sync triggered" When the user logs in with username "8ed1a721-0e4a-4deb-ab89-c249d42df13e" and password "password" # :1 -> *scenario time="2026-09-17T09:51:06Z" msg="Beginning user sync" start="2026-09-17 09:51:06.922369479 +0000 UTC m=+355.414671815" time="2026-09-17T09:51:06Z" msg="Syncing labels" time="2026-09-17T09:51:06Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=6c935898-22d6-4de5-bb75-0dea674ec297 time="2026-09-17T09:51:06Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=6c935898-22d6-4de5-bb75-0dea674ec297 time="2026-09-17T09:51:06Z" msg="Mailbox created" /user remoteMailboxID=8 userID=6c935898-22d6-4de5-bb75-0dea674ec297 time="2026-09-17T09:51:06Z" msg="Mailbox created" /user remoteMailboxID=10 userID=6c935898-22d6-4de5-bb75-0dea674ec297 time="2026-09-17T09:51:06Z" msg="Mailbox created" /user remoteMailboxID=12 userID=6c935898-22d6-4de5-bb75-0dea674ec297 time="2026-09-17T09:51:06Z" msg="Mailbox created" /user remoteMailboxID=0 userID=6c935898-22d6-4de5-bb75-0dea674ec297 time="2026-09-17T09:51:06Z" msg="Mailbox created" /user remoteMailboxID=6 userID=6c935898-22d6-4de5-bb75-0dea674ec297 time="2026-09-17T09:51:06Z" msg="Mailbox created" /user remoteMailboxID=3 userID=6c935898-22d6-4de5-bb75-0dea674ec297 time="2026-09-17T09:51:06Z" msg="Mailbox created" /user remoteMailboxID=4 userID=6c935898-22d6-4de5-bb75-0dea674ec297 time="2026-09-17T09:51:06Z" msg="Mailbox created" /user remoteMailboxID=5 userID=6c935898-22d6-4de5-bb75-0dea674ec297 time="2026-09-17T09:51:06Z" msg="Mailbox created" /user remoteMailboxID=7 userID=6c935898-22d6-4de5-bb75-0dea674ec297 time="2026-09-17T09:51:06Z" msg="Synced labels" time="2026-09-17T09:51:06Z" msg="200 OK: GET https://127.0.0.1:34955/mail/v4/messages/count" /client userID=b3221bbe-a1ae-4b5d-b51a-210a8259f6b2 time="2026-09-17T09:51:06Z" msg="Syncing messages" time="2026-09-17T09:51:06Z" msg="Job started" time="2026-09-17T09:51:06Z" msg="200 OK: POST https://127.0.0.1:34955/mail/v4/messages" /client userID=b3221bbe-a1ae-4b5d-b51a-210a8259f6b2 time="2026-09-17T09:51:06Z" msg="Job finished" time="2026-09-17T09:51:06Z" msg="All child jobs completed" sync- time="2026-09-17T09:51:06Z" msg="Synced messages" time="2026-09-17T09:51:06Z" msg="Finished user sync" .12872ms time="2026-09-17T09:51:06Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:51:06Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:51:07Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 5} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" And the user with username "8ed1a721-0e4a-4deb-ab89-c249d42df13e" sends all possible sync message building success observability metrics # :1 -> *scenario time="2026-09-17T09:51:07Z" msg="Frontend service stopped" time="2026-09-17T09:51:07Z" msg="Frontend client stopped" time="2026-09-17T09:51:07Z" msg="Closing bridge" time="2026-09-17T09:51:07Z" msg="Stopping service" time="2026-09-17T09:51:07Z" msg="Closing user" userID=b3221bbe-a1ae-4b5d-b51a-210a8259f6b2 time="2026-09-17T09:51:07Z" msg="De-registering user client, ID:b3221bbe-a1ae-4b5d-b51a-210a8259f6b2" time="2026-09-17T09:51:07Z" msg="Exiting IMAP Service" time="2026-09-17T09:51:07Z" msg="Exiting service main loop" time="2026-09-17T09:51:07Z" msg="Exiting service main loop" time="2026-09-17T09:51:07Z" msg="Exiting Service" time="2026-09-17T09:51:07Z" msg="Exiting service main loop" time="2026-09-17T09:51:07Z" msg="Exiting service" time="2026-09-17T09:51:07Z" msg="Closing IMAP Listener" time="2026-09-17T09:51:07Z" msg="Closing IMAP server" time="2026-09-17T09:51:07Z" msg="Closing SMTP Listener" time="2026-09-17T09:51:07Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:51:07Z" msg="Closing SMTP server" time="2026-09-17T09:51:07Z" msg="Closing service" Then it succeeds # :1 -> *scenario time="2026-09-17T09:51:07Z" msg="User '6ed815ee-1b87-4bbc-9fa3-df54bc984c44' created with " /server/backend time="2026-09-17T09:51:07Z" msg="Starting bridge" time="2026-09-17T09:51:07Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/162/config1564304371/grpcFocusServerConfig.json /service time="2026-09-17T09:51:07Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/162/cache738244945/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:51:07Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/162/cache738244945/notifications/notification_cache: no such file or directory" time="2026-09-17T09:51:07Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/162/data2662480059/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/162/data2662480059/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:51:07Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:51:07Z" msg="Starting IMAP server" time="2026-09-17T09:51:07Z" msg="Starting SMTP server" time="2026-09-17T09:51:07Z" msg="Starting service" time="2026-09-17T09:51:07Z" msg="Starting service" time="2026-09-17T09:51:07Z" msg="Starting poll service" time="2026-09-17T09:51:07Z" msg="Starting receiver service" time="2026-09-17T09:51:07Z" msg="Starting frontend service" time="2026-09-17T09:51:07Z" msg="Checking for updates" time="2026-09-17T09:51:07Z" msg="Loading users" /user time="2026-09-17T09:51:07Z" msg="Finished loading users" /user time="2026-09-17T09:51:07Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/162/config1564304371/grpcServerConfig.json time="2026-09-17T09:51:07Z" msg="gRPC server listening on /tmp/bridge3856" time="2026-09-17T09:51:07Z" msg="Frontend service started" time="2026-09-17T09:51:07Z" msg="Starting frontend client" time="2026-09-17T09:51:07Z" msg="Not monitoring parent PID" time="2026-09-17T09:51:07Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:51:07Z" msg="Frontend client started" time="2026-09-17T09:51:07Z" msg="200 OK: GET https://127.0.0.1:35689/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:51:07Z" msg="Performing full user login" /user username="******** (609eb882)" time="2026-09-17T09:51:07Z" msg="Authorizing user for login" /user username="******** (609eb882)" time="2026-09-17T09:51:07Z" msg="200 OK: POST https://127.0.0.1:35689/auth/v4/info" /manager time="2026-09-17T09:51:08Z" msg="200 OK: POST https://127.0.0.1:35689/auth/v4" /manager time="2026-09-17T09:51:08Z" msg="Logging in authorized user" /user userID=f4991e5d-4515-48fc-a96e-0cf091fb2979 time="2026-09-17T09:51:08Z" msg="Adding vault user" userID=f4991e5d-4515-48fc-a96e-0cf091fb2979 time="2026-09-17T09:51:08Z" msg="Creating new user" userID=f4991e5d-4515-48fc-a96e-0cf091fb2979 time="2026-09-17T09:51:08Z" msg="404 GET https://127.0.0.1:35689/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:51:08Z" msg="404 GET https://127.0.0.1:35689/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:51:08Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:35689/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:51:08Z" msg="Creating user object" authUID=3e848e8c-5ee8-4eb5-9d7a-d7835aac889f numA numL userID=f4991e5d-4515-48fc-a96e-0cf091fb2979 time="2026-09-17T09:51:08Z" msg="200 OK: GET https://127.0.0.1:35689/core/v4/events/latest" /client userID=f4991e5d-4515-48fc-a96e-0cf091fb2979 time="2026-09-17T09:51:08Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:51:08Z" msg="200 OK: GET https://127.0.0.1:35689/core/v4/settings" /client userID=f4991e5d-4515-48fc-a96e-0cf091fb2979 time="2026-09-17T09:51:08Z" msg="Registering user client, ID:f4991e5d-4515-48fc-a96e-0cf091fb2979" time="2026-09-17T09:51:08Z" msg="Starting user identity service" numA time="2026-09-17T09:51:08Z" msg="Starting service main loop" time="2026-09-17T09:51:08Z" msg="Starting service main loop" time="2026-09-17T09:51:08Z" msg="Starting service main loop" time="2026-09-17T09:51:08Z" msg="200 OK: GET https://127.0.0.1:35689/core/v4/labels?T" /client userID=f4991e5d-4515-48fc-a96e-0cf091fb2979 time="2026-09-17T09:51:08Z" msg="200 OK: GET https://127.0.0.1:35689/core/v4/labels?T" /client userID=f4991e5d-4515-48fc-a96e-0cf091fb2979 time="2026-09-17T09:51:08Z" msg="200 OK: GET https://127.0.0.1:35689/core/v4/labels?T" /client userID=f4991e5d-4515-48fc-a96e-0cf091fb2979 time="2026-09-17T09:51:08Z" msg="Setting labels" labelIDs="[1 7 10 12 0 2 3 4 5 6 8 9]" time="2026-09-17T09:51:08Z" msg="Adding user to imap server" addrID=86d82638-9303-411f-b546-fca9cdfc4275 time="2026-09-17T09:51:08Z" msg="Creating new IMAP user" addrID=86d82638-9303-411f-b546-fca9cdfc4275 time="2026-09-17T09:51:08Z" msg="Setting gluon ID" addrID=86d82638-9303-411f-b546-fca9cdfc4275 gluonID=3d236201-5459-4562-b88e-cb8a3a436b77 userID=f4991e5d-4515-48fc-a96e-0cf091fb2979 time="2026-09-17T09:51:08Z" msg="Received mailbox message count" gluonID=3d236201-5459-4562-b88e-cb8a3a436b77 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:51:08Z" msg="Created new IMAP user" addrID=86d82638-9303-411f-b546-fca9cdfc4275 gluonID=3d236201-5459-4562-b88e-cb8a3a436b77 time="2026-09-17T09:51:08Z" msg="Validating Listener State" time="2026-09-17T09:51:08Z" time="2026-09-17T09:51:08Z" msg="Starting IMAP Service" time="2026-09-17T09:51:08Z" msg="Checking whether logged in user should re-sync. UserID:f4991e5d-4515-48fc-a96e-0cf091fb2979" userID=f4991e5d-4515-48fc-a96e-0cf091fb2979 Scenario: Test all possible SMTP error observability metrics # features/observability/all_metrics.feature:38 When the user logs in with username "6ed815ee-1b87-4bbc-9fa3-df54bc984c44" and password "password" # :1 -> *scenario time="2026-09-17T09:51:08Z" msg="Sync triggered" time="2026-09-17T09:51:08Z" msg="Beginning user sync" start="2026-09-17 09:51:08.371835079 +0000 UTC m=+356.864137375" time="2026-09-17T09:51:08Z" msg="Syncing labels" time="2026-09-17T09:51:08Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=3d236201-5459-4562-b88e-cb8a3a436b77 time="2026-09-17T09:51:08Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=3d236201-5459-4562-b88e-cb8a3a436b77 time="2026-09-17T09:51:08Z" msg="Mailbox created" /user remoteMailboxID=5 userID=3d236201-5459-4562-b88e-cb8a3a436b77 time="2026-09-17T09:51:08Z" msg="Mailbox created" /user remoteMailboxID=8 userID=3d236201-5459-4562-b88e-cb8a3a436b77 time="2026-09-17T09:51:08Z" msg="Mailbox created" /user remoteMailboxID=7 userID=3d236201-5459-4562-b88e-cb8a3a436b77 time="2026-09-17T09:51:08Z" msg="Mailbox created" /user remoteMailboxID=12 userID=3d236201-5459-4562-b88e-cb8a3a436b77 time="2026-09-17T09:51:08Z" msg="Mailbox created" /user remoteMailboxID=3 userID=3d236201-5459-4562-b88e-cb8a3a436b77 time="2026-09-17T09:51:08Z" msg="Mailbox created" /user remoteMailboxID=4 userID=3d236201-5459-4562-b88e-cb8a3a436b77 time="2026-09-17T09:51:08Z" msg="Mailbox created" /user remoteMailboxID=6 userID=3d236201-5459-4562-b88e-cb8a3a436b77 time="2026-09-17T09:51:08Z" msg="Mailbox created" /user remoteMailboxID=10 userID=3d236201-5459-4562-b88e-cb8a3a436b77 time="2026-09-17T09:51:08Z" msg="Mailbox created" /user remoteMailboxID=0 userID=3d236201-5459-4562-b88e-cb8a3a436b77 time="2026-09-17T09:51:08Z" msg="Synced labels" time="2026-09-17T09:51:08Z" msg="200 OK: GET https://127.0.0.1:35689/mail/v4/messages/count" /client userID=f4991e5d-4515-48fc-a96e-0cf091fb2979 time="2026-09-17T09:51:08Z" msg="Syncing messages" time="2026-09-17T09:51:08Z" msg="Job started" time="2026-09-17T09:51:08Z" msg="200 OK: POST https://127.0.0.1:35689/mail/v4/messages" /client userID=f4991e5d-4515-48fc-a96e-0cf091fb2979 time="2026-09-17T09:51:08Z" msg="Job finished" time="2026-09-17T09:51:08Z" msg="All child jobs completed" sync- time="2026-09-17T09:51:08Z" msg="Synced messages" time="2026-09-17T09:51:08Z" msg="Finished user sync" .945876ms time="2026-09-17T09:51:08Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:51:08Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:51:08Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 4} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" And the user with username "6ed815ee-1b87-4bbc-9fa3-df54bc984c44" sends all possible SMTP error observability metrics # :1 -> *scenario time="2026-09-17T09:51:08Z" msg="Frontend service stopped" time="2026-09-17T09:51:08Z" msg="Frontend client stopped" time="2026-09-17T09:51:08Z" msg="Closing bridge" time="2026-09-17T09:51:08Z" msg="Stopping service" time="2026-09-17T09:51:08Z" msg="Closing user" userID=f4991e5d-4515-48fc-a96e-0cf091fb2979 time="2026-09-17T09:51:08Z" msg="De-registering user client, ID:f4991e5d-4515-48fc-a96e-0cf091fb2979" time="2026-09-17T09:51:08Z" msg="Exiting IMAP Service" time="2026-09-17T09:51:08Z" msg="Exiting service main loop" time="2026-09-17T09:51:08Z" msg="Exiting service main loop" time="2026-09-17T09:51:08Z" msg="Exiting Service" time="2026-09-17T09:51:08Z" msg="Exiting service main loop" time="2026-09-17T09:51:08Z" msg="Exiting service" time="2026-09-17T09:51:08Z" msg="Closing IMAP Listener" time="2026-09-17T09:51:08Z" msg="Closing IMAP server" time="2026-09-17T09:51:08Z" msg="Closing SMTP Listener" time="2026-09-17T09:51:08Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:51:08Z" msg="Closing SMTP server" time="2026-09-17T09:51:08Z" msg="Closing service" Then it succeeds # :1 -> *scenario time="2026-09-17T09:51:09Z" msg="User '84904643-de33-43a8-a80d-125687701de7' created with " /server/backend time="2026-09-17T09:51:09Z" msg="Starting bridge" time="2026-09-17T09:51:09Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/163/config3557629193/grpcFocusServerConfig.json /service time="2026-09-17T09:51:09Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/163/cache985912995/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:51:09Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/163/cache985912995/notifications/notification_cache: no such file or directory" time="2026-09-17T09:51:09Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/163/data1166572080/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/163/data1166572080/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:51:09Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:51:09Z" msg="Starting IMAP server" time="2026-09-17T09:51:09Z" msg="Starting SMTP server" time="2026-09-17T09:51:09Z" msg="Starting service" time="2026-09-17T09:51:09Z" msg="Starting service" time="2026-09-17T09:51:09Z" msg="Starting frontend service" time="2026-09-17T09:51:09Z" msg="Starting poll service" time="2026-09-17T09:51:09Z" msg="Starting receiver service" time="2026-09-17T09:51:09Z" msg="Loading users" /user time="2026-09-17T09:51:09Z" msg="Finished loading users" /user time="2026-09-17T09:51:09Z" msg="Checking for updates" time="2026-09-17T09:51:09Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/163/config3557629193/grpcServerConfig.json time="2026-09-17T09:51:09Z" msg="gRPC server listening on /tmp/bridge3774" time="2026-09-17T09:51:09Z" msg="Frontend service started" time="2026-09-17T09:51:09Z" msg="Starting frontend client" time="2026-09-17T09:51:09Z" msg="Not monitoring parent PID" time="2026-09-17T09:51:09Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:51:09Z" msg="200 OK: GET https://127.0.0.1:40103/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:51:09Z" msg="Frontend client started" time="2026-09-17T09:51:09Z" msg="Performing full user login" /user username="******** (cfeec2fe)" time="2026-09-17T09:51:09Z" msg="Authorizing user for login" /user username="******** (cfeec2fe)" time="2026-09-17T09:51:09Z" msg="200 OK: POST https://127.0.0.1:40103/auth/v4/info" /manager time="2026-09-17T09:51:09Z" msg="200 OK: POST https://127.0.0.1:40103/auth/v4" /manager time="2026-09-17T09:51:09Z" msg="Logging in authorized user" /user userID=abc05a65-cb77-47e5-94d3-ada1e026f4b4 time="2026-09-17T09:51:09Z" msg="Adding vault user" userID=abc05a65-cb77-47e5-94d3-ada1e026f4b4 time="2026-09-17T09:51:09Z" msg="Creating new user" userID=abc05a65-cb77-47e5-94d3-ada1e026f4b4 time="2026-09-17T09:51:09Z" msg="404 GET https://127.0.0.1:40103/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:51:09Z" msg="404 GET https://127.0.0.1:40103/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:51:09Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:40103/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:51:09Z" msg="Creating user object" authUID=607acf2a-3414-4560-9fc0-71728a168977 numA numL userID=abc05a65-cb77-47e5-94d3-ada1e026f4b4 time="2026-09-17T09:51:09Z" msg="200 OK: GET https://127.0.0.1:40103/core/v4/events/latest" /client userID=abc05a65-cb77-47e5-94d3-ada1e026f4b4 time="2026-09-17T09:51:09Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:51:09Z" msg="200 OK: GET https://127.0.0.1:40103/core/v4/settings" /client userID=abc05a65-cb77-47e5-94d3-ada1e026f4b4 time="2026-09-17T09:51:09Z" msg="Registering user client, ID:abc05a65-cb77-47e5-94d3-ada1e026f4b4" time="2026-09-17T09:51:09Z" msg="Starting service main loop" time="2026-09-17T09:51:09Z" msg="Starting service main loop" time="2026-09-17T09:51:09Z" msg="Starting service main loop" time="2026-09-17T09:51:09Z" msg="Starting user identity service" numA time="2026-09-17T09:51:09Z" msg="200 OK: GET https://127.0.0.1:40103/core/v4/labels?T" /client userID=abc05a65-cb77-47e5-94d3-ada1e026f4b4 time="2026-09-17T09:51:09Z" msg="200 OK: GET https://127.0.0.1:40103/core/v4/labels?T" /client userID=abc05a65-cb77-47e5-94d3-ada1e026f4b4 time="2026-09-17T09:51:09Z" msg="200 OK: GET https://127.0.0.1:40103/core/v4/labels?T" /client userID=abc05a65-cb77-47e5-94d3-ada1e026f4b4 time="2026-09-17T09:51:09Z" msg="Setting labels" labelIDs="[3 4 6 7 5 8 9 10 12 0 1 2]" time="2026-09-17T09:51:09Z" msg="Adding user to imap server" addrID=49f8bf8d-6d37-4137-b613-138731e91b23 time="2026-09-17T09:51:09Z" msg="Creating new IMAP user" addrID=49f8bf8d-6d37-4137-b613-138731e91b23 time="2026-09-17T09:51:09Z" msg="Setting gluon ID" addrID=49f8bf8d-6d37-4137-b613-138731e91b23 gluonID=6620c4c9-f005-4f59-b5b5-d0b0fc8bdaf0 userID=abc05a65-cb77-47e5-94d3-ada1e026f4b4 time="2026-09-17T09:51:09Z" msg="Received mailbox message count" gluonID=6620c4c9-f005-4f59-b5b5-d0b0fc8bdaf0 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:51:09Z" msg="Created new IMAP user" addrID=49f8bf8d-6d37-4137-b613-138731e91b23 gluonID=6620c4c9-f005-4f59-b5b5-d0b0fc8bdaf0 time="2026-09-17T09:51:09Z" msg="Validating Listener State" time="2026-09-17T09:51:09Z" time="2026-09-17T09:51:09Z" msg="Starting IMAP Service" time="2026-09-17T09:51:09Z" msg="Checking whether logged in user should re-sync. UserID:abc05a65-cb77-47e5-94d3-ada1e026f4b4" userID=abc05a65-cb77-47e5-94d3-ada1e026f4b4 time="2026-09-17T09:51:09Z" msg="Sync triggered" time="2026-09-17T09:51:09Z" msg="Beginning user sync" start="2026-09-17 09:51:09.83694867 +0000 UTC m=+358.329251006" Scenario: Test SMTP send success observability metrics # features/observability/all_metrics.feature:43 When the user logs in with username "84904643-de33-43a8-a80d-125687701de7" and password "password" # :1 -> *scenario time="2026-09-17T09:51:09Z" msg="Syncing labels" time="2026-09-17T09:51:09Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=6620c4c9-f005-4f59-b5b5-d0b0fc8bdaf0 time="2026-09-17T09:51:09Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=6620c4c9-f005-4f59-b5b5-d0b0fc8bdaf0 time="2026-09-17T09:51:09Z" msg="Mailbox created" /user remoteMailboxID=4 userID=6620c4c9-f005-4f59-b5b5-d0b0fc8bdaf0 time="2026-09-17T09:51:09Z" msg="Mailbox created" /user remoteMailboxID=7 userID=6620c4c9-f005-4f59-b5b5-d0b0fc8bdaf0 time="2026-09-17T09:51:09Z" msg="Mailbox created" /user remoteMailboxID=5 userID=6620c4c9-f005-4f59-b5b5-d0b0fc8bdaf0 time="2026-09-17T09:51:09Z" msg="Mailbox created" /user remoteMailboxID=8 userID=6620c4c9-f005-4f59-b5b5-d0b0fc8bdaf0 time="2026-09-17T09:51:09Z" msg="Mailbox created" /user remoteMailboxID=10 userID=6620c4c9-f005-4f59-b5b5-d0b0fc8bdaf0 time="2026-09-17T09:51:09Z" msg="Mailbox created" /user remoteMailboxID=0 userID=6620c4c9-f005-4f59-b5b5-d0b0fc8bdaf0 time="2026-09-17T09:51:09Z" msg="Mailbox created" /user remoteMailboxID=3 userID=6620c4c9-f005-4f59-b5b5-d0b0fc8bdaf0 time="2026-09-17T09:51:09Z" msg="Mailbox created" /user remoteMailboxID=6 userID=6620c4c9-f005-4f59-b5b5-d0b0fc8bdaf0 time="2026-09-17T09:51:09Z" msg="Mailbox created" /user remoteMailboxID=12 userID=6620c4c9-f005-4f59-b5b5-d0b0fc8bdaf0 time="2026-09-17T09:51:09Z" msg="Synced labels" time="2026-09-17T09:51:09Z" msg="200 OK: GET https://127.0.0.1:40103/mail/v4/messages/count" /client userID=abc05a65-cb77-47e5-94d3-ada1e026f4b4 time="2026-09-17T09:51:09Z" msg="Syncing messages" time="2026-09-17T09:51:09Z" msg="Job started" time="2026-09-17T09:51:09Z" msg="200 OK: POST https://127.0.0.1:40103/mail/v4/messages" /client userID=abc05a65-cb77-47e5-94d3-ada1e026f4b4 time="2026-09-17T09:51:09Z" msg="Job finished" time="2026-09-17T09:51:09Z" msg="All child jobs completed" sync- time="2026-09-17T09:51:09Z" msg="Synced messages" time="2026-09-17T09:51:09Z" msg="Finished user sync" .166992ms time="2026-09-17T09:51:09Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:51:09Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:51:10Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 7} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" And the user with username "84904643-de33-43a8-a80d-125687701de7" sends SMTP send success observability metric # :1 -> *scenario time="2026-09-17T09:51:10Z" msg="Frontend service stopped" time="2026-09-17T09:51:10Z" msg="Frontend client stopped" time="2026-09-17T09:51:10Z" msg="Closing bridge" time="2026-09-17T09:51:10Z" msg="Stopping service" time="2026-09-17T09:51:10Z" msg="Closing user" userID=abc05a65-cb77-47e5-94d3-ada1e026f4b4 time="2026-09-17T09:51:10Z" msg="De-registering user client, ID:abc05a65-cb77-47e5-94d3-ada1e026f4b4" time="2026-09-17T09:51:10Z" msg="Exiting IMAP Service" time="2026-09-17T09:51:10Z" msg="Exiting service main loop" time="2026-09-17T09:51:10Z" msg="Exiting service main loop" time="2026-09-17T09:51:10Z" msg="Exiting Service" time="2026-09-17T09:51:10Z" msg="Exiting service main loop" time="2026-09-17T09:51:10Z" msg="Exiting service" time="2026-09-17T09:51:10Z" msg="Closing IMAP Listener" time="2026-09-17T09:51:10Z" msg="Closing IMAP server" time="2026-09-17T09:51:10Z" msg="Closing SMTP Listener" time="2026-09-17T09:51:10Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:51:10Z" msg="Closing SMTP server" time="2026-09-17T09:51:10Z" msg="Closing service" Then it succeeds # :1 -> *scenario time="2026-09-17T09:51:10Z" msg="User 'efc454dc-0081-49e2-b644-2d7c99e37c11' created with " /server/backend time="2026-09-17T09:51:10Z" msg="Starting bridge" time="2026-09-17T09:51:10Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/164/config2705301188/grpcFocusServerConfig.json /service time="2026-09-17T09:51:10Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/164/cache359152419/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:51:10Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/164/cache359152419/notifications/notification_cache: no such file or directory" time="2026-09-17T09:51:10Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/164/data2788322586/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/164/data2788322586/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:51:10Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:51:10Z" msg="Starting IMAP server" time="2026-09-17T09:51:10Z" msg="Starting SMTP server" time="2026-09-17T09:51:10Z" msg="Starting service" time="2026-09-17T09:51:10Z" msg="Starting service" time="2026-09-17T09:51:10Z" msg="Starting receiver service" time="2026-09-17T09:51:10Z" msg="Starting poll service" time="2026-09-17T09:51:10Z" msg="Checking for updates" time="2026-09-17T09:51:10Z" msg="Starting frontend service" time="2026-09-17T09:51:10Z" msg="Loading users" /user time="2026-09-17T09:51:10Z" msg="Finished loading users" /user time="2026-09-17T09:51:10Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/164/config2705301188/grpcServerConfig.json time="2026-09-17T09:51:10Z" msg="gRPC server listening on /tmp/bridge8969" time="2026-09-17T09:51:10Z" msg="Frontend service started" time="2026-09-17T09:51:10Z" msg="Starting frontend client" time="2026-09-17T09:51:10Z" msg="Not monitoring parent PID" time="2026-09-17T09:51:10Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:51:10Z" msg="Frontend client started" time="2026-09-17T09:51:10Z" msg="Performing full user login" /user username="******** (526e6940)" time="2026-09-17T09:51:10Z" msg="Authorizing user for login" /user username="******** (526e6940)" time="2026-09-17T09:51:10Z" msg="200 OK: GET https://127.0.0.1:46787/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:51:10Z" msg="200 OK: POST https://127.0.0.1:46787/auth/v4/info" /manager time="2026-09-17T09:51:11Z" msg="200 OK: POST https://127.0.0.1:46787/auth/v4" /manager time="2026-09-17T09:51:11Z" msg="Logging in authorized user" /user userID=815b55ec-e50f-470d-acc9-a0e7f744c798 time="2026-09-17T09:51:11Z" msg="Adding vault user" userID=815b55ec-e50f-470d-acc9-a0e7f744c798 time="2026-09-17T09:51:11Z" msg="Creating new user" userID=815b55ec-e50f-470d-acc9-a0e7f744c798 time="2026-09-17T09:51:11Z" msg="404 GET https://127.0.0.1:46787/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:51:11Z" msg="404 GET https://127.0.0.1:46787/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:51:11Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:46787/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:51:11Z" msg="Creating user object" authUID=01efeb77-3ba0-4e8e-9d28-3b621eb8c039 numA numL userID=815b55ec-e50f-470d-acc9-a0e7f744c798 time="2026-09-17T09:51:11Z" msg="200 OK: GET https://127.0.0.1:46787/core/v4/events/latest" /client userID=815b55ec-e50f-470d-acc9-a0e7f744c798 time="2026-09-17T09:51:11Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:51:11Z" msg="200 OK: GET https://127.0.0.1:46787/core/v4/settings" /client userID=815b55ec-e50f-470d-acc9-a0e7f744c798 time="2026-09-17T09:51:11Z" msg="Registering user client, ID:815b55ec-e50f-470d-acc9-a0e7f744c798" time="2026-09-17T09:51:11Z" msg="Starting user identity service" numA time="2026-09-17T09:51:11Z" msg="Starting service main loop" time="2026-09-17T09:51:11Z" msg="Starting service main loop" time="2026-09-17T09:51:11Z" msg="Starting service main loop" time="2026-09-17T09:51:11Z" msg="200 OK: GET https://127.0.0.1:46787/core/v4/labels?T" /client userID=815b55ec-e50f-470d-acc9-a0e7f744c798 time="2026-09-17T09:51:11Z" msg="200 OK: GET https://127.0.0.1:46787/core/v4/labels?T" /client userID=815b55ec-e50f-470d-acc9-a0e7f744c798 time="2026-09-17T09:51:11Z" msg="200 OK: GET https://127.0.0.1:46787/core/v4/labels?T" /client userID=815b55ec-e50f-470d-acc9-a0e7f744c798 time="2026-09-17T09:51:11Z" msg="Setting labels" labelIDs="[12 1 4 5 7 10 0 2 3 6 8 9]" time="2026-09-17T09:51:11Z" msg="Adding user to imap server" addrID=0098474c-bc88-43bf-95f4-478d66a5647a time="2026-09-17T09:51:11Z" msg="Creating new IMAP user" addrID=0098474c-bc88-43bf-95f4-478d66a5647a time="2026-09-17T09:51:11Z" msg="Setting gluon ID" addrID=0098474c-bc88-43bf-95f4-478d66a5647a gluonID=d4320e97-e702-45e5-9247-1f5f206f178f userID=815b55ec-e50f-470d-acc9-a0e7f744c798 time="2026-09-17T09:51:11Z" msg="Received mailbox message count" gluonID=d4320e97-e702-45e5-9247-1f5f206f178f labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:51:11Z" msg="Created new IMAP user" addrID=0098474c-bc88-43bf-95f4-478d66a5647a gluonID=d4320e97-e702-45e5-9247-1f5f206f178f time="2026-09-17T09:51:11Z" msg="Validating Listener State" time="2026-09-17T09:51:11Z" time="2026-09-17T09:51:11Z" msg="Starting IMAP Service" Scenario: Test SMTP send request observability metric # features/observability/all_metrics.feature:48 When the user logs in with username "efc454dc-0081-49e2-b644-2d7c99e37c11" and password "password" # :1 -> *scenario time="2026-09-17T09:51:11Z" msg="Checking whether logged in user should re-sync. UserID:815b55ec-e50f-470d-acc9-a0e7f744c798" userID=815b55ec-e50f-470d-acc9-a0e7f744c798 time="2026-09-17T09:51:11Z" msg="Sync triggered" time="2026-09-17T09:51:11Z" msg="Beginning user sync" start="2026-09-17 09:51:11.272937451 +0000 UTC m=+359.765239787" time="2026-09-17T09:51:11Z" msg="Syncing labels" time="2026-09-17T09:51:11Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=d4320e97-e702-45e5-9247-1f5f206f178f time="2026-09-17T09:51:11Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=d4320e97-e702-45e5-9247-1f5f206f178f time="2026-09-17T09:51:11Z" msg="Mailbox created" /user remoteMailboxID=6 userID=d4320e97-e702-45e5-9247-1f5f206f178f time="2026-09-17T09:51:11Z" msg="Mailbox created" /user remoteMailboxID=12 userID=d4320e97-e702-45e5-9247-1f5f206f178f time="2026-09-17T09:51:11Z" msg="Mailbox created" /user remoteMailboxID=7 userID=d4320e97-e702-45e5-9247-1f5f206f178f time="2026-09-17T09:51:11Z" msg="Mailbox created" /user remoteMailboxID=0 userID=d4320e97-e702-45e5-9247-1f5f206f178f time="2026-09-17T09:51:11Z" msg="Mailbox created" /user remoteMailboxID=8 userID=d4320e97-e702-45e5-9247-1f5f206f178f time="2026-09-17T09:51:11Z" msg="Mailbox created" /user remoteMailboxID=4 userID=d4320e97-e702-45e5-9247-1f5f206f178f time="2026-09-17T09:51:11Z" msg="Mailbox created" /user remoteMailboxID=5 userID=d4320e97-e702-45e5-9247-1f5f206f178f time="2026-09-17T09:51:11Z" msg="Mailbox created" /user remoteMailboxID=10 userID=d4320e97-e702-45e5-9247-1f5f206f178f time="2026-09-17T09:51:11Z" msg="Mailbox created" /user remoteMailboxID=3 userID=d4320e97-e702-45e5-9247-1f5f206f178f time="2026-09-17T09:51:11Z" msg="Synced labels" time="2026-09-17T09:51:11Z" msg="200 OK: GET https://127.0.0.1:46787/mail/v4/messages/count" /client userID=815b55ec-e50f-470d-acc9-a0e7f744c798 time="2026-09-17T09:51:11Z" msg="Syncing messages" time="2026-09-17T09:51:11Z" msg="Job started" time="2026-09-17T09:51:11Z" msg="200 OK: POST https://127.0.0.1:46787/mail/v4/messages" /client userID=815b55ec-e50f-470d-acc9-a0e7f744c798 time="2026-09-17T09:51:11Z" msg="Job finished" time="2026-09-17T09:51:11Z" msg="All child jobs completed" sync- time="2026-09-17T09:51:11Z" msg="Synced messages" time="2026-09-17T09:51:11Z" msg="Finished user sync" .3701ms time="2026-09-17T09:51:11Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:51:11Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:51:11Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 5} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" And the user with username "efc454dc-0081-49e2-b644-2d7c99e37c11" sends an SMTP send request observability metric # :1 -> *scenario time="2026-09-17T09:51:11Z" msg="Frontend service stopped" time="2026-09-17T09:51:11Z" msg="Frontend client stopped" time="2026-09-17T09:51:11Z" msg="Closing bridge" time="2026-09-17T09:51:11Z" msg="Stopping service" time="2026-09-17T09:51:11Z" msg="Closing user" userID=815b55ec-e50f-470d-acc9-a0e7f744c798 time="2026-09-17T09:51:11Z" msg="De-registering user client, ID:815b55ec-e50f-470d-acc9-a0e7f744c798" time="2026-09-17T09:51:11Z" msg="Exiting IMAP Service" time="2026-09-17T09:51:11Z" msg="Exiting service main loop" time="2026-09-17T09:51:11Z" msg="Exiting service main loop" time="2026-09-17T09:51:11Z" msg="Exiting Service" time="2026-09-17T09:51:11Z" msg="Exiting service main loop" time="2026-09-17T09:51:11Z" msg="Exiting service" time="2026-09-17T09:51:11Z" msg="Closing IMAP Listener" time="2026-09-17T09:51:11Z" msg="Closing IMAP server" time="2026-09-17T09:51:11Z" msg="Closing SMTP Listener" time="2026-09-17T09:51:11Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:51:11Z" msg="Closing SMTP server" time="2026-09-17T09:51:11Z" msg="Closing service" Then it succeeds # :1 -> *scenario time="2026-09-17T09:51:11Z" msg="User 'eef25dd4-303a-4b81-b261-43bea653c21b' created with " /server/backend time="2026-09-17T09:51:12Z" msg="Starting bridge" time="2026-09-17T09:51:12Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/165/config1747506578/grpcFocusServerConfig.json /service time="2026-09-17T09:51:12Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/165/cache1476311880/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:51:12Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/165/cache1476311880/notifications/notification_cache: no such file or directory" time="2026-09-17T09:51:12Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/165/data642468204/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/165/data642468204/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:51:12Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:51:12Z" msg="Starting IMAP server" time="2026-09-17T09:51:12Z" msg="Starting SMTP server" time="2026-09-17T09:51:12Z" msg="Starting service" time="2026-09-17T09:51:12Z" msg="Starting service" time="2026-09-17T09:51:12Z" msg="Starting poll service" time="2026-09-17T09:51:12Z" msg="Checking for updates" time="2026-09-17T09:51:12Z" msg="Loading users" /user time="2026-09-17T09:51:12Z" msg="Starting frontend service" time="2026-09-17T09:51:12Z" msg="Finished loading users" /user time="2026-09-17T09:51:12Z" msg="Starting receiver service" time="2026-09-17T09:51:12Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/165/config1747506578/grpcServerConfig.json time="2026-09-17T09:51:12Z" msg="gRPC server listening on /tmp/bridge1516" time="2026-09-17T09:51:12Z" msg="Frontend service started" time="2026-09-17T09:51:12Z" msg="Starting frontend client" time="2026-09-17T09:51:12Z" msg="Not monitoring parent PID" time="2026-09-17T09:51:12Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:51:12Z" msg="200 OK: GET https://127.0.0.1:34927/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:51:12Z" msg="Frontend client started" time="2026-09-17T09:51:12Z" msg="Performing full user login" /user username="******** (e4ecf3ee)" time="2026-09-17T09:51:12Z" msg="Authorizing user for login" /user username="******** (e4ecf3ee)" time="2026-09-17T09:51:12Z" msg="200 OK: POST https://127.0.0.1:34927/auth/v4/info" /manager time="2026-09-17T09:51:12Z" msg="200 OK: POST https://127.0.0.1:34927/auth/v4" /manager time="2026-09-17T09:51:12Z" msg="Logging in authorized user" /user userID=dc768b4a-289e-4bfd-b9fa-1bb9909002ae time="2026-09-17T09:51:12Z" msg="Adding vault user" userID=dc768b4a-289e-4bfd-b9fa-1bb9909002ae time="2026-09-17T09:51:12Z" msg="Creating new user" userID=dc768b4a-289e-4bfd-b9fa-1bb9909002ae time="2026-09-17T09:51:12Z" msg="404 GET https://127.0.0.1:34927/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:51:12Z" msg="404 GET https://127.0.0.1:34927/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:51:12Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:34927/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:51:12Z" msg="Creating user object" authUID=c1bf933e-7756-4a5a-a6a2-6a1046e8dad7 numA numL userID=dc768b4a-289e-4bfd-b9fa-1bb9909002ae time="2026-09-17T09:51:12Z" msg="200 OK: GET https://127.0.0.1:34927/core/v4/events/latest" /client userID=dc768b4a-289e-4bfd-b9fa-1bb9909002ae time="2026-09-17T09:51:12Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:51:12Z" msg="200 OK: GET https://127.0.0.1:34927/core/v4/settings" /client userID=dc768b4a-289e-4bfd-b9fa-1bb9909002ae time="2026-09-17T09:51:12Z" msg="Registering user client, ID:dc768b4a-289e-4bfd-b9fa-1bb9909002ae" time="2026-09-17T09:51:12Z" msg="Starting user identity service" numA time="2026-09-17T09:51:12Z" msg="Starting service main loop" time="2026-09-17T09:51:12Z" msg="Starting service main loop" time="2026-09-17T09:51:12Z" msg="Starting service main loop" time="2026-09-17T09:51:12Z" msg="200 OK: GET https://127.0.0.1:34927/core/v4/labels?T" /client userID=dc768b4a-289e-4bfd-b9fa-1bb9909002ae time="2026-09-17T09:51:12Z" msg="200 OK: GET https://127.0.0.1:34927/core/v4/labels?T" /client userID=dc768b4a-289e-4bfd-b9fa-1bb9909002ae time="2026-09-17T09:51:12Z" msg="200 OK: GET https://127.0.0.1:34927/core/v4/labels?T" /client userID=dc768b4a-289e-4bfd-b9fa-1bb9909002ae time="2026-09-17T09:51:12Z" msg="Setting labels" labelIDs="[10 12 0 1 3 4 8 9 2 5 6 7]" time="2026-09-17T09:51:12Z" msg="Adding user to imap server" addrID=7ae56c0b-ef64-4197-a595-4477d9140628 time="2026-09-17T09:51:12Z" msg="Creating new IMAP user" addrID=7ae56c0b-ef64-4197-a595-4477d9140628 time="2026-09-17T09:51:12Z" msg="Setting gluon ID" addrID=7ae56c0b-ef64-4197-a595-4477d9140628 gluonID=dc4a4ee9-f680-421b-9695-38fee562acee userID=dc768b4a-289e-4bfd-b9fa-1bb9909002ae time="2026-09-17T09:51:12Z" msg="Received mailbox message count" gluonID=dc4a4ee9-f680-421b-9695-38fee562acee labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:51:12Z" msg="Created new IMAP user" addrID=7ae56c0b-ef64-4197-a595-4477d9140628 gluonID=dc4a4ee9-f680-421b-9695-38fee562acee time="2026-09-17T09:51:12Z" msg="Validating Listener State" time="2026-09-17T09:51:12Z" time="2026-09-17T09:51:12Z" msg="Checking whether logged in user should re-sync. UserID:dc768b4a-289e-4bfd-b9fa-1bb9909002ae" userID=dc768b4a-289e-4bfd-b9fa-1bb9909002ae Scenario: Test all possible Vault/Keychain related error observability metrics # features/observability/all_metrics.feature:53 When the user logs in with username "eef25dd4-303a-4b81-b261-43bea653c21b" and password "password" # :1 -> *scenario time="2026-09-17T09:51:12Z" msg="Starting IMAP Service" time="2026-09-17T09:51:12Z" msg="Sync triggered" time="2026-09-17T09:51:12Z" msg="Beginning user sync" start="2026-09-17 09:51:12.712840131 +0000 UTC m=+361.205142467" time="2026-09-17T09:51:12Z" msg="Syncing labels" time="2026-09-17T09:51:12Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=dc4a4ee9-f680-421b-9695-38fee562acee time="2026-09-17T09:51:12Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=dc4a4ee9-f680-421b-9695-38fee562acee time="2026-09-17T09:51:12Z" msg="Mailbox created" /user remoteMailboxID=0 userID=dc4a4ee9-f680-421b-9695-38fee562acee time="2026-09-17T09:51:12Z" msg="Mailbox created" /user remoteMailboxID=3 userID=dc4a4ee9-f680-421b-9695-38fee562acee time="2026-09-17T09:51:12Z" msg="Mailbox created" /user remoteMailboxID=4 userID=dc4a4ee9-f680-421b-9695-38fee562acee time="2026-09-17T09:51:12Z" msg="Mailbox created" /user remoteMailboxID=5 userID=dc4a4ee9-f680-421b-9695-38fee562acee time="2026-09-17T09:51:12Z" msg="Mailbox created" /user remoteMailboxID=7 userID=dc4a4ee9-f680-421b-9695-38fee562acee time="2026-09-17T09:51:12Z" msg="Mailbox created" /user remoteMailboxID=10 userID=dc4a4ee9-f680-421b-9695-38fee562acee time="2026-09-17T09:51:12Z" msg="Mailbox created" /user remoteMailboxID=12 userID=dc4a4ee9-f680-421b-9695-38fee562acee time="2026-09-17T09:51:12Z" msg="Mailbox created" /user remoteMailboxID=8 userID=dc4a4ee9-f680-421b-9695-38fee562acee time="2026-09-17T09:51:12Z" msg="Mailbox created" /user remoteMailboxID=6 userID=dc4a4ee9-f680-421b-9695-38fee562acee time="2026-09-17T09:51:12Z" msg="Synced labels" time="2026-09-17T09:51:12Z" msg="200 OK: GET https://127.0.0.1:34927/mail/v4/messages/count" /client userID=dc768b4a-289e-4bfd-b9fa-1bb9909002ae time="2026-09-17T09:51:12Z" msg="Syncing messages" time="2026-09-17T09:51:12Z" msg="Job started" time="2026-09-17T09:51:12Z" msg="200 OK: POST https://127.0.0.1:34927/mail/v4/messages" /client userID=dc768b4a-289e-4bfd-b9fa-1bb9909002ae time="2026-09-17T09:51:12Z" msg="Job finished" time="2026-09-17T09:51:12Z" msg="All child jobs completed" sync- time="2026-09-17T09:51:12Z" msg="Synced messages" time="2026-09-17T09:51:12Z" msg="Finished user sync" .990431ms time="2026-09-17T09:51:12Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:51:12Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:51:12Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 9} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" And the user with username "eef25dd4-303a-4b81-b261-43bea653c21b" sends all possible vault or keychain related error observability metrics # :1 -> *scenario time="2026-09-17T09:51:13Z" msg="Frontend service stopped" time="2026-09-17T09:51:13Z" msg="Frontend client stopped" time="2026-09-17T09:51:13Z" msg="Closing bridge" time="2026-09-17T09:51:13Z" msg="Stopping service" time="2026-09-17T09:51:13Z" msg="Closing user" userID=dc768b4a-289e-4bfd-b9fa-1bb9909002ae time="2026-09-17T09:51:13Z" msg="De-registering user client, ID:dc768b4a-289e-4bfd-b9fa-1bb9909002ae" time="2026-09-17T09:51:13Z" msg="Exiting IMAP Service" time="2026-09-17T09:51:13Z" msg="Exiting service main loop" time="2026-09-17T09:51:13Z" msg="Exiting service main loop" time="2026-09-17T09:51:13Z" msg="Exiting Service" time="2026-09-17T09:51:13Z" msg="Exiting service main loop" time="2026-09-17T09:51:13Z" msg="Exiting service" time="2026-09-17T09:51:13Z" msg="Closing IMAP Listener" time="2026-09-17T09:51:13Z" msg="Closing IMAP server" time="2026-09-17T09:51:13Z" msg="Closing SMTP Listener" time="2026-09-17T09:51:13Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:51:13Z" msg="Closing SMTP server" time="2026-09-17T09:51:13Z" msg="Closing service" Then it succeeds # :1 -> *scenario Feature: Bridge send remote notification observability metrics time="2026-09-17T09:51:13Z" msg="User '155e844f-b3fa-4f76-b1ef-0ef7dcbceac5' created with " /server/backend Background: Given there exists an account with username "155e844f-b3fa-4f76-b1ef-0ef7dcbceac5" and password "password" # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:51:13Z" msg="Starting bridge" time="2026-09-17T09:51:13Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/166/config3631686465/grpcFocusServerConfig.json /service time="2026-09-17T09:51:13Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/166/cache157384729/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:51:13Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/166/cache157384729/notifications/notification_cache: no such file or directory" time="2026-09-17T09:51:13Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/166/data2470469898/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/166/data2470469898/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:51:13Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:51:13Z" msg="Starting IMAP server" time="2026-09-17T09:51:13Z" msg="Starting SMTP server" time="2026-09-17T09:51:13Z" msg="Starting service" time="2026-09-17T09:51:13Z" msg="Starting service" time="2026-09-17T09:51:13Z" msg="Starting poll service" time="2026-09-17T09:51:13Z" msg="Checking for updates" time="2026-09-17T09:51:13Z" msg="Loading users" /user time="2026-09-17T09:51:13Z" msg="Finished loading users" /user time="2026-09-17T09:51:13Z" msg="Starting receiver service" time="2026-09-17T09:51:13Z" msg="Starting frontend service" time="2026-09-17T09:51:13Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/166/config3631686465/grpcServerConfig.json time="2026-09-17T09:51:13Z" msg="gRPC server listening on /tmp/bridge6113" time="2026-09-17T09:51:13Z" msg="Frontend service started" time="2026-09-17T09:51:13Z" msg="Starting frontend client" time="2026-09-17T09:51:13Z" msg="Not monitoring parent PID" time="2026-09-17T09:51:13Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:51:13Z" msg="Frontend client started" When bridge starts # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:51:13Z" msg="Performing full user login" /user username="******** (17ec9dd5)" time="2026-09-17T09:51:13Z" msg="Authorizing user for login" /user username="******** (17ec9dd5)" time="2026-09-17T09:51:13Z" msg="200 OK: GET https://127.0.0.1:34011/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:51:13Z" msg="200 OK: POST https://127.0.0.1:34011/auth/v4/info" /manager time="2026-09-17T09:51:14Z" msg="200 OK: POST https://127.0.0.1:34011/auth/v4" /manager time="2026-09-17T09:51:14Z" msg="Logging in authorized user" /user userID=bd3a8bcb-ba21-4884-be65-661b0a3e0f1c time="2026-09-17T09:51:14Z" msg="Adding vault user" userID=bd3a8bcb-ba21-4884-be65-661b0a3e0f1c time="2026-09-17T09:51:14Z" msg="Creating new user" userID=bd3a8bcb-ba21-4884-be65-661b0a3e0f1c time="2026-09-17T09:51:14Z" msg="404 GET https://127.0.0.1:34011/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:51:14Z" msg="404 GET https://127.0.0.1:34011/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:51:14Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:34011/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:51:14Z" msg="Creating user object" authUID=db43297c-9ce4-4db7-82ee-49df3e26d764 numA numL userID=bd3a8bcb-ba21-4884-be65-661b0a3e0f1c time="2026-09-17T09:51:14Z" msg="200 OK: GET https://127.0.0.1:34011/core/v4/events/latest" /client userID=bd3a8bcb-ba21-4884-be65-661b0a3e0f1c time="2026-09-17T09:51:14Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:51:14Z" msg="200 OK: GET https://127.0.0.1:34011/core/v4/settings" /client userID=bd3a8bcb-ba21-4884-be65-661b0a3e0f1c time="2026-09-17T09:51:14Z" msg="Registering user client, ID:bd3a8bcb-ba21-4884-be65-661b0a3e0f1c" time="2026-09-17T09:51:14Z" msg="Starting service main loop" time="2026-09-17T09:51:14Z" msg="Starting user identity service" numA time="2026-09-17T09:51:14Z" msg="Starting service main loop" time="2026-09-17T09:51:14Z" msg="Starting service main loop" time="2026-09-17T09:51:14Z" msg="200 OK: GET https://127.0.0.1:34011/core/v4/labels?T" /client userID=bd3a8bcb-ba21-4884-be65-661b0a3e0f1c time="2026-09-17T09:51:14Z" msg="200 OK: GET https://127.0.0.1:34011/core/v4/labels?T" /client userID=bd3a8bcb-ba21-4884-be65-661b0a3e0f1c time="2026-09-17T09:51:14Z" msg="200 OK: GET https://127.0.0.1:34011/core/v4/labels?T" /client userID=bd3a8bcb-ba21-4884-be65-661b0a3e0f1c time="2026-09-17T09:51:14Z" msg="Setting labels" labelIDs="[2 3 6 7 9 10 0 4 5 8 12 1]" time="2026-09-17T09:51:14Z" msg="Adding user to imap server" addrID=14c4482f-9807-4d24-af92-bd68f351c594 time="2026-09-17T09:51:14Z" msg="Creating new IMAP user" addrID=14c4482f-9807-4d24-af92-bd68f351c594 time="2026-09-17T09:51:14Z" msg="Setting gluon ID" addrID=14c4482f-9807-4d24-af92-bd68f351c594 gluonID=c0e1cfce-1f64-4147-b806-1ed435039f00 userID=bd3a8bcb-ba21-4884-be65-661b0a3e0f1c time="2026-09-17T09:51:14Z" msg="Received mailbox message count" gluonID=c0e1cfce-1f64-4147-b806-1ed435039f00 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:51:14Z" msg="Created new IMAP user" addrID=14c4482f-9807-4d24-af92-bd68f351c594 gluonID=c0e1cfce-1f64-4147-b806-1ed435039f00 time="2026-09-17T09:51:14Z" msg="Validating Listener State" time="2026-09-17T09:51:14Z" time="2026-09-17T09:51:14Z" msg="Starting IMAP Service" time="2026-09-17T09:51:14Z" msg="Checking whether logged in user should re-sync. UserID:bd3a8bcb-ba21-4884-be65-661b0a3e0f1c" userID=bd3a8bcb-ba21-4884-be65-661b0a3e0f1c time="2026-09-17T09:51:14Z" msg="Sync triggered" time="2026-09-17T09:51:14Z" msg="Beginning user sync" start="2026-09-17 09:51:14.14811123 +0000 UTC m=+362.640413606" Scenario: Test all possible gluon error observability metrics # features/observability/gluon_metrics.feature:8 When the user logs in with username "155e844f-b3fa-4f76-b1ef-0ef7dcbceac5" and password "password" # :1 -> *scenario time="2026-09-17T09:51:14Z" msg="Syncing labels" time="2026-09-17T09:51:14Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=c0e1cfce-1f64-4147-b806-1ed435039f00 time="2026-09-17T09:51:14Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=c0e1cfce-1f64-4147-b806-1ed435039f00 time="2026-09-17T09:51:14Z" msg="Mailbox created" /user remoteMailboxID=8 userID=c0e1cfce-1f64-4147-b806-1ed435039f00 time="2026-09-17T09:51:14Z" msg="Mailbox created" /user remoteMailboxID=12 userID=c0e1cfce-1f64-4147-b806-1ed435039f00 time="2026-09-17T09:51:14Z" msg="Mailbox created" /user remoteMailboxID=3 userID=c0e1cfce-1f64-4147-b806-1ed435039f00 time="2026-09-17T09:51:14Z" msg="Mailbox created" /user remoteMailboxID=6 userID=c0e1cfce-1f64-4147-b806-1ed435039f00 time="2026-09-17T09:51:14Z" msg="Mailbox created" /user remoteMailboxID=7 userID=c0e1cfce-1f64-4147-b806-1ed435039f00 time="2026-09-17T09:51:14Z" msg="Mailbox created" /user remoteMailboxID=10 userID=c0e1cfce-1f64-4147-b806-1ed435039f00 time="2026-09-17T09:51:14Z" msg="Mailbox created" /user remoteMailboxID=0 userID=c0e1cfce-1f64-4147-b806-1ed435039f00 time="2026-09-17T09:51:14Z" msg="Mailbox created" /user remoteMailboxID=4 userID=c0e1cfce-1f64-4147-b806-1ed435039f00 time="2026-09-17T09:51:14Z" msg="Mailbox created" /user remoteMailboxID=5 userID=c0e1cfce-1f64-4147-b806-1ed435039f00 time="2026-09-17T09:51:14Z" msg="Synced labels" time="2026-09-17T09:51:14Z" msg="200 OK: GET https://127.0.0.1:34011/mail/v4/messages/count" /client userID=bd3a8bcb-ba21-4884-be65-661b0a3e0f1c time="2026-09-17T09:51:14Z" msg="Syncing messages" time="2026-09-17T09:51:14Z" msg="Job started" time="2026-09-17T09:51:14Z" msg="200 OK: POST https://127.0.0.1:34011/mail/v4/messages" /client userID=bd3a8bcb-ba21-4884-be65-661b0a3e0f1c time="2026-09-17T09:51:14Z" msg="Job finished" time="2026-09-17T09:51:14Z" msg="All child jobs completed" sync- time="2026-09-17T09:51:14Z" msg="Synced messages" time="2026-09-17T09:51:14Z" msg="Finished user sync" .177876ms time="2026-09-17T09:51:14Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:51:14Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:51:14Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 1} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" And the user with username "155e844f-b3fa-4f76-b1ef-0ef7dcbceac5" sends all possible gluon error observability metrics # :1 -> *scenario time="2026-09-17T09:51:14Z" msg="Frontend service stopped" time="2026-09-17T09:51:14Z" msg="Frontend client stopped" time="2026-09-17T09:51:14Z" msg="Closing bridge" time="2026-09-17T09:51:14Z" msg="Stopping service" time="2026-09-17T09:51:14Z" msg="Closing user" userID=bd3a8bcb-ba21-4884-be65-661b0a3e0f1c time="2026-09-17T09:51:14Z" msg="De-registering user client, ID:bd3a8bcb-ba21-4884-be65-661b0a3e0f1c" time="2026-09-17T09:51:14Z" msg="Exiting IMAP Service" time="2026-09-17T09:51:14Z" msg="Exiting service main loop" time="2026-09-17T09:51:14Z" msg="Exiting service main loop" time="2026-09-17T09:51:14Z" msg="Exiting Service" time="2026-09-17T09:51:14Z" msg="Exiting service main loop" time="2026-09-17T09:51:14Z" msg="Exiting service" time="2026-09-17T09:51:14Z" msg="Closing IMAP Listener" time="2026-09-17T09:51:14Z" msg="Closing IMAP server" time="2026-09-17T09:51:14Z" msg="Closing SMTP Listener" time="2026-09-17T09:51:14Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:51:14Z" msg="Closing SMTP server" time="2026-09-17T09:51:14Z" msg="Closing service" Then it succeeds # :1 -> *scenario time="2026-09-17T09:51:14Z" msg="User 'c5296ad2-af67-4f41-8d72-a0da4e713fb9' created with " /server/backend time="2026-09-17T09:51:15Z" msg="Starting bridge" time="2026-09-17T09:51:15Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/167/config2587795695/grpcFocusServerConfig.json /service time="2026-09-17T09:51:15Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/167/cache769236949/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:51:15Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/167/cache769236949/notifications/notification_cache: no such file or directory" time="2026-09-17T09:51:15Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/167/data782279268/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/167/data782279268/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:51:15Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:51:15Z" msg="Starting IMAP server" time="2026-09-17T09:51:15Z" msg="Starting SMTP server" time="2026-09-17T09:51:15Z" msg="Starting service" time="2026-09-17T09:51:15Z" msg="Starting service" time="2026-09-17T09:51:15Z" msg="Starting receiver service" time="2026-09-17T09:51:15Z" msg="Starting frontend service" time="2026-09-17T09:51:15Z" msg="Checking for updates" time="2026-09-17T09:51:15Z" msg="Starting poll service" time="2026-09-17T09:51:15Z" msg="Loading users" /user time="2026-09-17T09:51:15Z" msg="Finished loading users" /user time="2026-09-17T09:51:15Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/167/config2587795695/grpcServerConfig.json time="2026-09-17T09:51:15Z" msg="gRPC server listening on /tmp/bridge5308" time="2026-09-17T09:51:15Z" msg="Frontend service started" time="2026-09-17T09:51:15Z" msg="Starting frontend client" time="2026-09-17T09:51:15Z" msg="Not monitoring parent PID" time="2026-09-17T09:51:15Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:51:15Z" msg="Frontend client started" time="2026-09-17T09:51:15Z" msg="Performing full user login" /user username="******** (f94d1a38)" time="2026-09-17T09:51:15Z" msg="Authorizing user for login" /user username="******** (f94d1a38)" time="2026-09-17T09:51:15Z" msg="200 OK: GET https://127.0.0.1:41163/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:51:15Z" msg="200 OK: POST https://127.0.0.1:41163/auth/v4/info" /manager time="2026-09-17T09:51:15Z" msg="200 OK: POST https://127.0.0.1:41163/auth/v4" /manager time="2026-09-17T09:51:15Z" msg="Logging in authorized user" /user userID=3aadf773-b324-49db-aa96-411bbadcb09c time="2026-09-17T09:51:15Z" msg="Adding vault user" userID=3aadf773-b324-49db-aa96-411bbadcb09c time="2026-09-17T09:51:15Z" msg="Creating new user" userID=3aadf773-b324-49db-aa96-411bbadcb09c time="2026-09-17T09:51:15Z" msg="404 GET https://127.0.0.1:41163/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:51:15Z" msg="404 GET https://127.0.0.1:41163/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:51:15Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:41163/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:51:15Z" msg="Creating user object" authUID=7f44a087-6361-4b6c-a75b-9c896225f620 numA numL userID=3aadf773-b324-49db-aa96-411bbadcb09c time="2026-09-17T09:51:15Z" msg="200 OK: GET https://127.0.0.1:41163/core/v4/events/latest" /client userID=3aadf773-b324-49db-aa96-411bbadcb09c time="2026-09-17T09:51:15Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:51:15Z" msg="200 OK: GET https://127.0.0.1:41163/core/v4/settings" /client userID=3aadf773-b324-49db-aa96-411bbadcb09c time="2026-09-17T09:51:15Z" msg="Registering user client, ID:3aadf773-b324-49db-aa96-411bbadcb09c" time="2026-09-17T09:51:15Z" msg="Starting user identity service" numA time="2026-09-17T09:51:15Z" msg="Starting service main loop" time="2026-09-17T09:51:15Z" msg="Starting service main loop" time="2026-09-17T09:51:15Z" msg="Starting service main loop" time="2026-09-17T09:51:15Z" msg="200 OK: GET https://127.0.0.1:41163/core/v4/labels?T" /client userID=3aadf773-b324-49db-aa96-411bbadcb09c time="2026-09-17T09:51:15Z" msg="200 OK: GET https://127.0.0.1:41163/core/v4/labels?T" /client userID=3aadf773-b324-49db-aa96-411bbadcb09c time="2026-09-17T09:51:15Z" msg="200 OK: GET https://127.0.0.1:41163/core/v4/labels?T" /client userID=3aadf773-b324-49db-aa96-411bbadcb09c time="2026-09-17T09:51:15Z" msg="Setting labels" labelIDs="[7 8 9 2 6 10 12 0 1 3 4 5]" time="2026-09-17T09:51:15Z" msg="Adding user to imap server" addrID=d88f1d43-242b-405f-adfb-61cdfb2cd5f9 time="2026-09-17T09:51:15Z" msg="Creating new IMAP user" addrID=d88f1d43-242b-405f-adfb-61cdfb2cd5f9 time="2026-09-17T09:51:15Z" msg="Setting gluon ID" addrID=d88f1d43-242b-405f-adfb-61cdfb2cd5f9 gluonID=cf31143d-ca16-47a0-ad20-3d19ec096471 userID=3aadf773-b324-49db-aa96-411bbadcb09c time="2026-09-17T09:51:15Z" msg="Created new IMAP user" addrID=d88f1d43-242b-405f-adfb-61cdfb2cd5f9 gluonID=cf31143d-ca16-47a0-ad20-3d19ec096471 time="2026-09-17T09:51:15Z" msg="Received mailbox message count" gluonID=cf31143d-ca16-47a0-ad20-3d19ec096471 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:51:15Z" msg="Validating Listener State" time="2026-09-17T09:51:15Z" time="2026-09-17T09:51:15Z" msg="Starting IMAP Service" time="2026-09-17T09:51:15Z" msg="Checking whether logged in user should re-sync. UserID:3aadf773-b324-49db-aa96-411bbadcb09c" userID=3aadf773-b324-49db-aa96-411bbadcb09c time="2026-09-17T09:51:15Z" msg="Sync triggered" time="2026-09-17T09:51:15Z" msg="Beginning user sync" start="2026-09-17 09:51:15.579444672 +0000 UTC m=+364.071746968" Scenario: Test newly opened IMAP connections in Gluon exceed threshold metric # features/observability/gluon_metrics.feature:13 When the user logs in with username "c5296ad2-af67-4f41-8d72-a0da4e713fb9" and password "password" # :1 -> *scenario time="2026-09-17T09:51:15Z" msg="Syncing labels" time="2026-09-17T09:51:15Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=cf31143d-ca16-47a0-ad20-3d19ec096471 time="2026-09-17T09:51:15Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=cf31143d-ca16-47a0-ad20-3d19ec096471 time="2026-09-17T09:51:15Z" msg="Mailbox created" /user remoteMailboxID=7 userID=cf31143d-ca16-47a0-ad20-3d19ec096471 time="2026-09-17T09:51:15Z" msg="Mailbox created" /user remoteMailboxID=8 userID=cf31143d-ca16-47a0-ad20-3d19ec096471 time="2026-09-17T09:51:15Z" msg="Mailbox created" /user remoteMailboxID=10 userID=cf31143d-ca16-47a0-ad20-3d19ec096471 time="2026-09-17T09:51:15Z" msg="Mailbox created" /user remoteMailboxID=12 userID=cf31143d-ca16-47a0-ad20-3d19ec096471 time="2026-09-17T09:51:15Z" msg="Mailbox created" /user remoteMailboxID=3 userID=cf31143d-ca16-47a0-ad20-3d19ec096471 time="2026-09-17T09:51:15Z" msg="Mailbox created" /user remoteMailboxID=4 userID=cf31143d-ca16-47a0-ad20-3d19ec096471 time="2026-09-17T09:51:15Z" msg="Mailbox created" /user remoteMailboxID=6 userID=cf31143d-ca16-47a0-ad20-3d19ec096471 time="2026-09-17T09:51:15Z" msg="Mailbox created" /user remoteMailboxID=0 userID=cf31143d-ca16-47a0-ad20-3d19ec096471 time="2026-09-17T09:51:15Z" msg="Mailbox created" /user remoteMailboxID=5 userID=cf31143d-ca16-47a0-ad20-3d19ec096471 time="2026-09-17T09:51:15Z" msg="Synced labels" time="2026-09-17T09:51:15Z" msg="200 OK: GET https://127.0.0.1:41163/mail/v4/messages/count" /client userID=3aadf773-b324-49db-aa96-411bbadcb09c time="2026-09-17T09:51:15Z" msg="Syncing messages" time="2026-09-17T09:51:15Z" msg="Job started" time="2026-09-17T09:51:15Z" msg="200 OK: POST https://127.0.0.1:41163/mail/v4/messages" /client userID=3aadf773-b324-49db-aa96-411bbadcb09c time="2026-09-17T09:51:15Z" msg="Job finished" time="2026-09-17T09:51:15Z" msg="All child jobs completed" sync- time="2026-09-17T09:51:15Z" msg="Synced messages" time="2026-09-17T09:51:15Z" msg="Finished user sync" .225396ms time="2026-09-17T09:51:15Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:51:15Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:51:15Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 2} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" And the user with username "c5296ad2-af67-4f41-8d72-a0da4e713fb9" sends a Gluon metric indicating that the number of newly opened IMAP connections within some interval have exceed a threshold value # :1 -> *scenario time="2026-09-17T09:51:15Z" msg="Frontend service stopped" time="2026-09-17T09:51:15Z" msg="Frontend client stopped" time="2026-09-17T09:51:15Z" msg="Closing bridge" time="2026-09-17T09:51:15Z" msg="Stopping service" time="2026-09-17T09:51:15Z" msg="Closing user" userID=3aadf773-b324-49db-aa96-411bbadcb09c time="2026-09-17T09:51:15Z" msg="De-registering user client, ID:3aadf773-b324-49db-aa96-411bbadcb09c" time="2026-09-17T09:51:15Z" msg="Exiting IMAP Service" time="2026-09-17T09:51:15Z" msg="Exiting service main loop" time="2026-09-17T09:51:15Z" msg="Exiting service main loop" time="2026-09-17T09:51:15Z" msg="Exiting Service" time="2026-09-17T09:51:15Z" msg="Exiting service main loop" time="2026-09-17T09:51:15Z" msg="Exiting service" time="2026-09-17T09:51:15Z" msg="Closing IMAP Listener" time="2026-09-17T09:51:15Z" msg="Closing IMAP server" time="2026-09-17T09:51:15Z" msg="Closing SMTP Listener" time="2026-09-17T09:51:15Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:51:15Z" msg="Closing SMTP server" time="2026-09-17T09:51:15Z" msg="Closing service" Then it succeeds # :1 -> *scenario Feature: Bridge send remote notification observability metrics time="2026-09-17T09:51:16Z" msg="User '6aed8d0f-840a-4259-aa13-cefd34784649' created with " /server/backend Background: Given there exists an account with username "6aed8d0f-840a-4259-aa13-cefd34784649" and password "password" # :1 -> *scenario time="2026-09-17T09:51:16Z" msg="User 'ee385d19-2e69-4a6b-b511-64bf95c1f9c5' created with " /server/backend And there exists an account with username "ee385d19-2e69-4a6b-b511-64bf95c1f9c5" and password "password" # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:51:17Z" msg="Starting bridge" time="2026-09-17T09:51:17Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/168/config3898459988/grpcFocusServerConfig.json /service time="2026-09-17T09:51:17Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/168/cache313809939/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:51:17Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/168/cache313809939/notifications/notification_cache: no such file or directory" time="2026-09-17T09:51:17Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/168/data955754436/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/168/data955754436/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:51:17Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:51:17Z" msg="Starting IMAP server" time="2026-09-17T09:51:17Z" msg="Starting SMTP server" time="2026-09-17T09:51:17Z" msg="Starting service" time="2026-09-17T09:51:17Z" msg="Starting service" time="2026-09-17T09:51:17Z" msg="Starting frontend service" time="2026-09-17T09:51:17Z" msg="Starting poll service" time="2026-09-17T09:51:17Z" msg="Starting receiver service" time="2026-09-17T09:51:17Z" msg="Checking for updates" time="2026-09-17T09:51:17Z" msg="Loading users" /user time="2026-09-17T09:51:17Z" msg="Finished loading users" /user time="2026-09-17T09:51:17Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/168/config3898459988/grpcServerConfig.json time="2026-09-17T09:51:17Z" msg="gRPC server listening on /tmp/bridge3797" time="2026-09-17T09:51:17Z" msg="Frontend service started" time="2026-09-17T09:51:17Z" msg="Starting frontend client" time="2026-09-17T09:51:17Z" msg="Not monitoring parent PID" time="2026-09-17T09:51:17Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:51:17Z" msg="Frontend client started" When bridge starts # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:51:17Z" msg="Performing full user login" /user username="******** (68a55075)" time="2026-09-17T09:51:17Z" msg="Authorizing user for login" /user username="******** (68a55075)" time="2026-09-17T09:51:17Z" msg="200 OK: GET https://127.0.0.1:41915/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:51:17Z" msg="200 OK: POST https://127.0.0.1:41915/auth/v4/info" /manager time="2026-09-17T09:51:17Z" msg="200 OK: POST https://127.0.0.1:41915/auth/v4" /manager time="2026-09-17T09:51:17Z" msg="Logging in authorized user" /user userID=4af22bef-73db-4b43-ac31-dd5d2253c7e7 time="2026-09-17T09:51:17Z" msg="Adding vault user" userID=4af22bef-73db-4b43-ac31-dd5d2253c7e7 time="2026-09-17T09:51:17Z" msg="Creating new user" userID=4af22bef-73db-4b43-ac31-dd5d2253c7e7 time="2026-09-17T09:51:17Z" msg="404 GET https://127.0.0.1:41915/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:51:17Z" msg="404 GET https://127.0.0.1:41915/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:51:17Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:41915/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:51:17Z" msg="Creating user object" authUID=80b9691c-59c3-43c0-94d4-cfc64e8122f3 numA numL userID=4af22bef-73db-4b43-ac31-dd5d2253c7e7 time="2026-09-17T09:51:17Z" msg="200 OK: GET https://127.0.0.1:41915/core/v4/events/latest" /client userID=4af22bef-73db-4b43-ac31-dd5d2253c7e7 time="2026-09-17T09:51:17Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:51:17Z" msg="200 OK: GET https://127.0.0.1:41915/core/v4/settings" /client userID=4af22bef-73db-4b43-ac31-dd5d2253c7e7 time="2026-09-17T09:51:17Z" msg="Registering user client, ID:4af22bef-73db-4b43-ac31-dd5d2253c7e7" time="2026-09-17T09:51:17Z" msg="Starting user identity service" numA time="2026-09-17T09:51:17Z" msg="Starting service main loop" time="2026-09-17T09:51:17Z" msg="Starting service main loop" time="2026-09-17T09:51:17Z" msg="Starting service main loop" time="2026-09-17T09:51:17Z" msg="200 OK: GET https://127.0.0.1:41915/core/v4/labels?T" /client userID=4af22bef-73db-4b43-ac31-dd5d2253c7e7 time="2026-09-17T09:51:17Z" msg="200 OK: GET https://127.0.0.1:41915/core/v4/labels?T" /client userID=4af22bef-73db-4b43-ac31-dd5d2253c7e7 time="2026-09-17T09:51:17Z" msg="200 OK: GET https://127.0.0.1:41915/core/v4/labels?T" /client userID=4af22bef-73db-4b43-ac31-dd5d2253c7e7 time="2026-09-17T09:51:17Z" msg="Setting labels" labelIDs="[0 1 2 6 8 12 3 4 5 7 9 10]" time="2026-09-17T09:51:17Z" msg="Adding user to imap server" addrID=cda1f107-0748-44c7-a457-a864db8cced1 time="2026-09-17T09:51:17Z" msg="Creating new IMAP user" addrID=cda1f107-0748-44c7-a457-a864db8cced1 time="2026-09-17T09:51:17Z" msg="Setting gluon ID" addrID=cda1f107-0748-44c7-a457-a864db8cced1 gluonID=2f74ca0c-0b3e-4d5d-9bcd-6426b4930069 userID=4af22bef-73db-4b43-ac31-dd5d2253c7e7 time="2026-09-17T09:51:17Z" msg="Received mailbox message count" gluonID=2f74ca0c-0b3e-4d5d-9bcd-6426b4930069 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:51:17Z" msg="Created new IMAP user" addrID=cda1f107-0748-44c7-a457-a864db8cced1 gluonID=2f74ca0c-0b3e-4d5d-9bcd-6426b4930069 time="2026-09-17T09:51:17Z" msg="Validating Listener State" time="2026-09-17T09:51:17Z" time="2026-09-17T09:51:17Z" msg="Checking whether logged in user should re-sync. UserID:4af22bef-73db-4b43-ac31-dd5d2253c7e7" userID=4af22bef-73db-4b43-ac31-dd5d2253c7e7 time="2026-09-17T09:51:17Z" msg="Starting IMAP Service" Scenario: Send notification 'received' and 'processed' observability metric # features/observability/remote_notification.feature:10 When the user logs in with username "6aed8d0f-840a-4259-aa13-cefd34784649" and password "password" # :1 -> *scenario time="2026-09-17T09:51:17Z" msg="Sync triggered" time="2026-09-17T09:51:17Z" msg="Beginning user sync" start="2026-09-17 09:51:17.629153543 +0000 UTC m=+366.121455839" time="2026-09-17T09:51:17Z" msg="Syncing labels" time="2026-09-17T09:51:17Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=2f74ca0c-0b3e-4d5d-9bcd-6426b4930069 time="2026-09-17T09:51:17Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=2f74ca0c-0b3e-4d5d-9bcd-6426b4930069 time="2026-09-17T09:51:17Z" msg="Mailbox created" /user remoteMailboxID=10 userID=2f74ca0c-0b3e-4d5d-9bcd-6426b4930069 time="2026-09-17T09:51:17Z" msg="Mailbox created" /user remoteMailboxID=0 userID=2f74ca0c-0b3e-4d5d-9bcd-6426b4930069 time="2026-09-17T09:51:17Z" msg="Mailbox created" /user remoteMailboxID=3 userID=2f74ca0c-0b3e-4d5d-9bcd-6426b4930069 time="2026-09-17T09:51:17Z" msg="Mailbox created" /user remoteMailboxID=4 userID=2f74ca0c-0b3e-4d5d-9bcd-6426b4930069 time="2026-09-17T09:51:17Z" msg="Mailbox created" /user remoteMailboxID=5 userID=2f74ca0c-0b3e-4d5d-9bcd-6426b4930069 time="2026-09-17T09:51:17Z" msg="Mailbox created" /user remoteMailboxID=7 userID=2f74ca0c-0b3e-4d5d-9bcd-6426b4930069 time="2026-09-17T09:51:17Z" msg="Mailbox created" /user remoteMailboxID=6 userID=2f74ca0c-0b3e-4d5d-9bcd-6426b4930069 time="2026-09-17T09:51:17Z" msg="Mailbox created" /user remoteMailboxID=8 userID=2f74ca0c-0b3e-4d5d-9bcd-6426b4930069 time="2026-09-17T09:51:17Z" msg="Mailbox created" /user remoteMailboxID=12 userID=2f74ca0c-0b3e-4d5d-9bcd-6426b4930069 time="2026-09-17T09:51:17Z" msg="Synced labels" time="2026-09-17T09:51:17Z" msg="200 OK: GET https://127.0.0.1:41915/mail/v4/messages/count" /client userID=4af22bef-73db-4b43-ac31-dd5d2253c7e7 time="2026-09-17T09:51:17Z" msg="Syncing messages" time="2026-09-17T09:51:17Z" msg="Job started" time="2026-09-17T09:51:17Z" msg="200 OK: POST https://127.0.0.1:41915/mail/v4/messages" /client userID=4af22bef-73db-4b43-ac31-dd5d2253c7e7 time="2026-09-17T09:51:17Z" msg="Job finished" time="2026-09-17T09:51:17Z" msg="All child jobs completed" sync- time="2026-09-17T09:51:17Z" msg="Synced messages" time="2026-09-17T09:51:17Z" msg="Finished user sync" .247961ms time="2026-09-17T09:51:17Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:51:17Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:51:17Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 0} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:51:18Z" msg="200 OK: GET https://127.0.0.1:41915/core/v4/events/AA==" /client userID=4af22bef-73db-4b43-ac31-dd5d2253c7e7 time="2026-09-17T09:51:19Z" msg="200 OK: GET https://127.0.0.1:41915/core/v4/events/AA==" /client userID=4af22bef-73db-4b43-ac31-dd5d2253c7e7 time="2026-09-17T09:51:20Z" msg="200 OK: GET https://127.0.0.1:41915/core/v4/events/AA==" /client userID=4af22bef-73db-4b43-ac31-dd5d2253c7e7 time="2026-09-17T09:51:21Z" msg="200 OK: GET https://127.0.0.1:41915/core/v4/events/AA==" /client userID=4af22bef-73db-4b43-ac31-dd5d2253c7e7 time="2026-09-17T09:51:22Z" msg="200 OK: GET https://127.0.0.1:41915/core/v4/events/AA==" /client userID=4af22bef-73db-4b43-ac31-dd5d2253c7e7 And the user with username "6aed8d0f-840a-4259-aa13-cefd34784649" sends the following remote notification observability metric "received" # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:51:23Z" msg="200 OK: GET https://127.0.0.1:41915/core/v4/events/AA==" /client userID=4af22bef-73db-4b43-ac31-dd5d2253c7e7 time="2026-09-17T09:51:24Z" msg="200 OK: GET https://127.0.0.1:41915/core/v4/events/AA==" /client userID=4af22bef-73db-4b43-ac31-dd5d2253c7e7 time="2026-09-17T09:51:25Z" msg="200 OK: GET https://127.0.0.1:41915/core/v4/events/AA==" /client userID=4af22bef-73db-4b43-ac31-dd5d2253c7e7 time="2026-09-17T09:51:26Z" msg="200 OK: GET https://127.0.0.1:41915/core/v4/events/AA==" /client userID=4af22bef-73db-4b43-ac31-dd5d2253c7e7 time="2026-09-17T09:51:27Z" msg="200 OK: GET https://127.0.0.1:41915/core/v4/events/AA==" /client userID=4af22bef-73db-4b43-ac31-dd5d2253c7e7 And the user with username "6aed8d0f-840a-4259-aa13-cefd34784649" sends the following remote notification observability metric "processed" # :1 -> *scenario time="2026-09-17T09:51:28Z" msg="Frontend service stopped" time="2026-09-17T09:51:28Z" msg="Frontend client stopped" time="2026-09-17T09:51:28Z" msg="Closing bridge" time="2026-09-17T09:51:28Z" msg="Stopping service" time="2026-09-17T09:51:28Z" msg="Closing user" userID=4af22bef-73db-4b43-ac31-dd5d2253c7e7 time="2026-09-17T09:51:28Z" msg="De-registering user client, ID:4af22bef-73db-4b43-ac31-dd5d2253c7e7" time="2026-09-17T09:51:28Z" msg="Exiting IMAP Service" time="2026-09-17T09:51:28Z" msg="Exiting service main loop" time="2026-09-17T09:51:28Z" msg="Exiting service main loop" time="2026-09-17T09:51:28Z" msg="Exiting Service" time="2026-09-17T09:51:28Z" msg="Exiting service main loop" time="2026-09-17T09:51:28Z" msg="Exiting service" time="2026-09-17T09:51:28Z" msg="Closing IMAP Listener" time="2026-09-17T09:51:28Z" msg="Closing IMAP server" time="2026-09-17T09:51:28Z" msg="Closing SMTP Listener" time="2026-09-17T09:51:28Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:51:28Z" msg="Closing SMTP server" time="2026-09-17T09:51:28Z" msg="Closing service" Then it succeeds # :1 -> *scenario Feature: SMTP client authentication with address modes time="2026-09-17T09:51:28Z" msg="User '4ad87445-a0a3-486f-939f-457250aa04fb' created with " /server/backend Background: Given there exists an account with username "4ad87445-a0a3-486f-939f-457250aa04fb" and password "password" # :1 -> *scenario And the account "4ad87445-a0a3-486f-939f-457250aa04fb" has additional address "d77ae9be-0967-4861-b06b-faa9abde7f81@proton.local" # :1 -> *scenario And it succeeds # :1 -> *scenario time="2026-09-17T09:51:29Z" msg="Starting bridge" time="2026-09-17T09:51:29Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/169/config1158942696/grpcFocusServerConfig.json /service time="2026-09-17T09:51:29Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/169/cache54570540/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:51:29Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/169/cache54570540/notifications/notification_cache: no such file or directory" time="2026-09-17T09:51:29Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/169/data998372553/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/169/data998372553/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:51:29Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:51:29Z" msg="Starting IMAP server" time="2026-09-17T09:51:29Z" msg="Starting SMTP server" time="2026-09-17T09:51:29Z" msg="Starting service" time="2026-09-17T09:51:29Z" msg="Starting service" time="2026-09-17T09:51:29Z" msg="Starting receiver service" time="2026-09-17T09:51:29Z" msg="Checking for updates" time="2026-09-17T09:51:29Z" msg="Loading users" /user time="2026-09-17T09:51:29Z" msg="Starting poll service" time="2026-09-17T09:51:29Z" msg="Starting frontend service" time="2026-09-17T09:51:29Z" msg="Finished loading users" /user time="2026-09-17T09:51:29Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/169/config1158942696/grpcServerConfig.json time="2026-09-17T09:51:29Z" msg="gRPC server listening on /tmp/bridge8931" time="2026-09-17T09:51:29Z" msg="Frontend service started" time="2026-09-17T09:51:29Z" msg="Starting frontend client" time="2026-09-17T09:51:29Z" msg="Not monitoring parent PID" time="2026-09-17T09:51:29Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:51:29Z" msg="200 OK: GET https://127.0.0.1:35109/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:51:29Z" msg="Frontend client started" Scenario: SMTP client can authenticate successfully with secondary address in combine mode # features/smtp/addressmode.feature:7 Given bridge starts # :1 -> *scenario time="2026-09-17T09:51:29Z" msg="Performing full user login" /user username="******** (8ce4ecfb)" time="2026-09-17T09:51:29Z" msg="Authorizing user for login" /user username="******** (8ce4ecfb)" time="2026-09-17T09:51:29Z" msg="200 OK: POST https://127.0.0.1:35109/auth/v4/info" /manager time="2026-09-17T09:51:29Z" msg="200 OK: POST https://127.0.0.1:35109/auth/v4" /manager time="2026-09-17T09:51:29Z" msg="Logging in authorized user" /user userID=f7cd02f7-ffe9-4444-97d1-9c1c0cee1187 time="2026-09-17T09:51:29Z" msg="Adding vault user" userID=f7cd02f7-ffe9-4444-97d1-9c1c0cee1187 time="2026-09-17T09:51:29Z" msg="Creating new user" userID=f7cd02f7-ffe9-4444-97d1-9c1c0cee1187 time="2026-09-17T09:51:29Z" msg="404 GET https://127.0.0.1:35109/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:51:29Z" msg="404 GET https://127.0.0.1:35109/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:51:29Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:35109/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:51:29Z" msg="Creating user object" authUID=e9ff204b-099b-4bb3-913e-4f6587134549 numA numL userID=f7cd02f7-ffe9-4444-97d1-9c1c0cee1187 time="2026-09-17T09:51:29Z" msg="200 OK: GET https://127.0.0.1:35109/core/v4/events/latest" /client userID=f7cd02f7-ffe9-4444-97d1-9c1c0cee1187 time="2026-09-17T09:51:29Z" msg="Starting service Last EventID=AQ==" time="2026-09-17T09:51:29Z" msg="200 OK: GET https://127.0.0.1:35109/core/v4/settings" /client userID=f7cd02f7-ffe9-4444-97d1-9c1c0cee1187 time="2026-09-17T09:51:29Z" msg="Registering user client, ID:f7cd02f7-ffe9-4444-97d1-9c1c0cee1187" time="2026-09-17T09:51:29Z" msg="Starting service main loop" time="2026-09-17T09:51:29Z" msg="Starting service main loop" time="2026-09-17T09:51:29Z" msg="Starting user identity service" numA time="2026-09-17T09:51:29Z" msg="Starting service main loop" time="2026-09-17T09:51:29Z" msg="200 OK: GET https://127.0.0.1:35109/core/v4/labels?T" /client userID=f7cd02f7-ffe9-4444-97d1-9c1c0cee1187 time="2026-09-17T09:51:29Z" msg="200 OK: GET https://127.0.0.1:35109/core/v4/labels?T" /client userID=f7cd02f7-ffe9-4444-97d1-9c1c0cee1187 time="2026-09-17T09:51:29Z" msg="200 OK: GET https://127.0.0.1:35109/core/v4/labels?T" /client userID=f7cd02f7-ffe9-4444-97d1-9c1c0cee1187 time="2026-09-17T09:51:29Z" msg="Setting labels" labelIDs="[12 2 6 7 8 9 10 0 1 3 4 5]" time="2026-09-17T09:51:29Z" msg="Adding user to imap server" addrID=ac05d77b-6014-428b-8c58-f5a4ff0329b5 time="2026-09-17T09:51:29Z" msg="Creating new IMAP user" addrID=ac05d77b-6014-428b-8c58-f5a4ff0329b5 time="2026-09-17T09:51:29Z" msg="Setting gluon ID" addrID=ac05d77b-6014-428b-8c58-f5a4ff0329b5 gluonID=b4327474-cfdd-4de0-a475-3f4b27f69176 userID=f7cd02f7-ffe9-4444-97d1-9c1c0cee1187 time="2026-09-17T09:51:29Z" msg="Received mailbox message count" gluonID=b4327474-cfdd-4de0-a475-3f4b27f69176 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:51:29Z" msg="Created new IMAP user" addrID=ac05d77b-6014-428b-8c58-f5a4ff0329b5 gluonID=b4327474-cfdd-4de0-a475-3f4b27f69176 time="2026-09-17T09:51:29Z" msg="Validating Listener State" time="2026-09-17T09:51:29Z" time="2026-09-17T09:51:29Z" msg="Starting IMAP Service" And the user logs in with username "4ad87445-a0a3-486f-939f-457250aa04fb" and password "password" # :1 -> *scenario time="2026-09-17T09:51:29Z" msg="Checking whether logged in user should re-sync. UserID:f7cd02f7-ffe9-4444-97d1-9c1c0cee1187" userID=f7cd02f7-ffe9-4444-97d1-9c1c0cee1187 time="2026-09-17T09:51:29Z" msg="Sync triggered" time="2026-09-17T09:51:29Z" msg="Beginning user sync" start="2026-09-17 09:51:29.883089951 +0000 UTC m=+378.375392247" time="2026-09-17T09:51:29Z" msg="Syncing labels" time="2026-09-17T09:51:29Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=b4327474-cfdd-4de0-a475-3f4b27f69176 time="2026-09-17T09:51:29Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=b4327474-cfdd-4de0-a475-3f4b27f69176 time="2026-09-17T09:51:29Z" msg="Mailbox created" /user remoteMailboxID=8 userID=b4327474-cfdd-4de0-a475-3f4b27f69176 time="2026-09-17T09:51:29Z" msg="Mailbox created" /user remoteMailboxID=5 userID=b4327474-cfdd-4de0-a475-3f4b27f69176 time="2026-09-17T09:51:29Z" msg="Mailbox created" /user remoteMailboxID=6 userID=b4327474-cfdd-4de0-a475-3f4b27f69176 time="2026-09-17T09:51:29Z" msg="Mailbox created" /user remoteMailboxID=10 userID=b4327474-cfdd-4de0-a475-3f4b27f69176 time="2026-09-17T09:51:29Z" msg="Mailbox created" /user remoteMailboxID=0 userID=b4327474-cfdd-4de0-a475-3f4b27f69176 time="2026-09-17T09:51:29Z" msg="Mailbox created" /user remoteMailboxID=3 userID=b4327474-cfdd-4de0-a475-3f4b27f69176 time="2026-09-17T09:51:29Z" msg="Mailbox created" /user remoteMailboxID=4 userID=b4327474-cfdd-4de0-a475-3f4b27f69176 time="2026-09-17T09:51:29Z" msg="Mailbox created" /user remoteMailboxID=12 userID=b4327474-cfdd-4de0-a475-3f4b27f69176 time="2026-09-17T09:51:29Z" msg="Mailbox created" /user remoteMailboxID=7 userID=b4327474-cfdd-4de0-a475-3f4b27f69176 time="2026-09-17T09:51:29Z" msg="Synced labels" time="2026-09-17T09:51:29Z" msg="200 OK: GET https://127.0.0.1:35109/mail/v4/messages/count" /client userID=f7cd02f7-ffe9-4444-97d1-9c1c0cee1187 time="2026-09-17T09:51:29Z" msg="Syncing messages" time="2026-09-17T09:51:29Z" msg="Job started" time="2026-09-17T09:51:29Z" msg="200 OK: POST https://127.0.0.1:35109/mail/v4/messages" /client userID=f7cd02f7-ffe9-4444-97d1-9c1c0cee1187 time="2026-09-17T09:51:29Z" msg="Job finished" time="2026-09-17T09:51:29Z" msg="All child jobs completed" sync- time="2026-09-17T09:51:29Z" msg="Synced messages" time="2026-09-17T09:51:29Z" msg="Finished user sync" .068325ms time="2026-09-17T09:51:29Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:51:29Z" msg="Event loop reset" eventID="AQ==" And user "4ad87445-a0a3-486f-939f-457250aa04fb" finishes syncing # :1 -> *scenario When user "4ad87445-a0a3-486f-939f-457250aa04fb" connects and authenticates SMTP client "1" with address "d77ae9be-0967-4861-b06b-faa9abde7f81@proton.local" # :1 -> *scenario time="2026-09-17T09:51:29Z" msg="Frontend service stopped" time="2026-09-17T09:51:29Z" msg="Frontend client stopped" time="2026-09-17T09:51:29Z" msg="Closing bridge" time="2026-09-17T09:51:29Z" msg="Stopping service" time="2026-09-17T09:51:29Z" msg="Closing user" userID=f7cd02f7-ffe9-4444-97d1-9c1c0cee1187 time="2026-09-17T09:51:29Z" msg="De-registering user client, ID:f7cd02f7-ffe9-4444-97d1-9c1c0cee1187" time="2026-09-17T09:51:29Z" msg="Exiting IMAP Service" time="2026-09-17T09:51:29Z" msg="Exiting service main loop" time="2026-09-17T09:51:29Z" msg="Exiting service main loop" time="2026-09-17T09:51:29Z" msg="Exiting Service" time="2026-09-17T09:51:29Z" msg="Exiting service main loop" time="2026-09-17T09:51:29Z" msg="Exiting service" time="2026-09-17T09:51:29Z" msg="Closing IMAP Listener" time="2026-09-17T09:51:29Z" msg="Closing IMAP server" time="2026-09-17T09:51:29Z" msg="Closing SMTP Listener" time="2026-09-17T09:51:29Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:51:29Z" msg="Closing SMTP server" time="2026-09-17T09:51:29Z" msg="Closing service" Then it succeeds # :1 -> *scenario time="2026-09-17T09:51:30Z" msg="User '098d06af-e61f-4cac-9930-ffa69fcd4f28' created with " /server/backend time="2026-09-17T09:51:30Z" msg="Starting bridge" time="2026-09-17T09:51:30Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/170/config1907695539/grpcFocusServerConfig.json /service time="2026-09-17T09:51:30Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/170/cache390247348/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:51:30Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/170/cache390247348/notifications/notification_cache: no such file or directory" time="2026-09-17T09:51:30Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/170/data1424357783/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/170/data1424357783/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:51:30Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:51:30Z" msg="Starting IMAP server" time="2026-09-17T09:51:30Z" msg="Starting SMTP server" time="2026-09-17T09:51:30Z" msg="Starting service" time="2026-09-17T09:51:30Z" msg="Starting service" time="2026-09-17T09:51:30Z" msg="Starting poll service" time="2026-09-17T09:51:30Z" msg="Starting receiver service" time="2026-09-17T09:51:30Z" msg="Loading users" /user time="2026-09-17T09:51:30Z" msg="Finished loading users" /user time="2026-09-17T09:51:30Z" msg="Checking for updates" time="2026-09-17T09:51:30Z" msg="Starting frontend service" time="2026-09-17T09:51:30Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/170/config1907695539/grpcServerConfig.json time="2026-09-17T09:51:30Z" msg="gRPC server listening on /tmp/bridge1767" time="2026-09-17T09:51:30Z" msg="Frontend service started" time="2026-09-17T09:51:30Z" msg="Starting frontend client" time="2026-09-17T09:51:30Z" msg="Not monitoring parent PID" time="2026-09-17T09:51:30Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:51:30Z" msg="200 OK: GET https://127.0.0.1:44169/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:51:30Z" msg="Frontend client started" Scenario: SMTP client can authenticate successfully with secondary address in split mode # features/smtp/addressmode.feature:14 Given bridge starts # :1 -> *scenario time="2026-09-17T09:51:30Z" msg="Performing full user login" /user username="******** (bdee5752)" time="2026-09-17T09:51:30Z" msg="Authorizing user for login" /user username="******** (bdee5752)" time="2026-09-17T09:51:30Z" msg="200 OK: POST https://127.0.0.1:44169/auth/v4/info" /manager time="2026-09-17T09:51:31Z" msg="200 OK: POST https://127.0.0.1:44169/auth/v4" /manager time="2026-09-17T09:51:31Z" msg="Logging in authorized user" /user userID=bbb8a478-e08d-44ca-ae60-472b6860eae4 time="2026-09-17T09:51:31Z" msg="Adding vault user" userID=bbb8a478-e08d-44ca-ae60-472b6860eae4 time="2026-09-17T09:51:31Z" msg="Creating new user" userID=bbb8a478-e08d-44ca-ae60-472b6860eae4 time="2026-09-17T09:51:31Z" msg="404 GET https://127.0.0.1:44169/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:51:31Z" msg="404 GET https://127.0.0.1:44169/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:51:31Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:44169/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:51:31Z" msg="Creating user object" authUID=445639f9-0aa6-4f2b-8215-54c936592a5e numA numL userID=bbb8a478-e08d-44ca-ae60-472b6860eae4 time="2026-09-17T09:51:31Z" msg="200 OK: GET https://127.0.0.1:44169/core/v4/events/latest" /client userID=bbb8a478-e08d-44ca-ae60-472b6860eae4 time="2026-09-17T09:51:31Z" msg="Starting service Last EventID=AQ==" time="2026-09-17T09:51:31Z" msg="200 OK: GET https://127.0.0.1:44169/core/v4/settings" /client userID=bbb8a478-e08d-44ca-ae60-472b6860eae4 time="2026-09-17T09:51:31Z" msg="Registering user client, ID:bbb8a478-e08d-44ca-ae60-472b6860eae4" time="2026-09-17T09:51:31Z" msg="Starting service main loop" time="2026-09-17T09:51:31Z" msg="Starting user identity service" numA time="2026-09-17T09:51:31Z" msg="Starting service main loop" time="2026-09-17T09:51:31Z" msg="Starting service main loop" time="2026-09-17T09:51:31Z" msg="200 OK: GET https://127.0.0.1:44169/core/v4/labels?T" /client userID=bbb8a478-e08d-44ca-ae60-472b6860eae4 time="2026-09-17T09:51:31Z" msg="200 OK: GET https://127.0.0.1:44169/core/v4/labels?T" /client userID=bbb8a478-e08d-44ca-ae60-472b6860eae4 time="2026-09-17T09:51:31Z" msg="200 OK: GET https://127.0.0.1:44169/core/v4/labels?T" /client userID=bbb8a478-e08d-44ca-ae60-472b6860eae4 time="2026-09-17T09:51:31Z" msg="Setting labels" labelIDs="[0 3 4 8 12 1 2 5 6 7 9 10]" time="2026-09-17T09:51:31Z" msg="Adding user to imap server" addrID=2ef0ac21-240b-4ca9-85e0-587886c68d85 time="2026-09-17T09:51:31Z" msg="Creating new IMAP user" addrID=2ef0ac21-240b-4ca9-85e0-587886c68d85 time="2026-09-17T09:51:31Z" msg="Setting gluon ID" addrID=2ef0ac21-240b-4ca9-85e0-587886c68d85 gluonID=cd932966-80c8-4609-9dcd-64554f901cac userID=bbb8a478-e08d-44ca-ae60-472b6860eae4 time="2026-09-17T09:51:31Z" msg="Received mailbox message count" gluonID=cd932966-80c8-4609-9dcd-64554f901cac labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:51:31Z" msg="Created new IMAP user" addrID=2ef0ac21-240b-4ca9-85e0-587886c68d85 gluonID=cd932966-80c8-4609-9dcd-64554f901cac time="2026-09-17T09:51:31Z" msg="Validating Listener State" time="2026-09-17T09:51:31Z" time="2026-09-17T09:51:31Z" msg="Starting IMAP Service" And the user logs in with username "098d06af-e61f-4cac-9930-ffa69fcd4f28" and password "password" # :1 -> *scenario time="2026-09-17T09:51:31Z" msg="Checking whether logged in user should re-sync. UserID:bbb8a478-e08d-44ca-ae60-472b6860eae4" userID=bbb8a478-e08d-44ca-ae60-472b6860eae4 time="2026-09-17T09:51:31Z" msg="Setting address mode" /user userID=bbb8a478-e08d-44ca-ae60-472b6860eae4 time="2026-09-17T09:51:31Z" msg="Sync triggered" time="2026-09-17T09:51:31Z" msg="Setting address mode" userID=bbb8a478-e08d-44ca-ae60-472b6860eae4 time="2026-09-17T09:51:31Z" msg="Beginning user sync" start="2026-09-17 09:51:31.408395256 +0000 UTC m=+379.900697552" time="2026-09-17T09:51:31Z" msg="Setting Split Address Mode" time="2026-09-17T09:51:31Z" msg="Failed to check and report label conflicts" error="context canceled" time="2026-09-17T09:51:31Z" msg="Sync aborted" error="context canceled" time="2026-09-17T09:51:31Z" msg="Finished user sync" duration="409.202µs" time="2026-09-17T09:51:31Z" msg="Removing gluon ID" addrID=2ef0ac21-240b-4ca9-85e0-587886c68d85 gluonID=cd932966-80c8-4609-9dcd-64554f901cac userID=bbb8a478-e08d-44ca-ae60-472b6860eae4 time="2026-09-17T09:51:31Z" msg="Validating Listener State" time="2026-09-17T09:51:31Z" msg="Adding user to imap server" addrID=2ef0ac21-240b-4ca9-85e0-587886c68d85 time="2026-09-17T09:51:31Z" msg="Creating new IMAP user" addrID=2ef0ac21-240b-4ca9-85e0-587886c68d85 time="2026-09-17T09:51:31Z" msg="Setting gluon ID" addrID=2ef0ac21-240b-4ca9-85e0-587886c68d85 gluonID=28a5296d-fb51-4d75-9666-944058827a65 userID=bbb8a478-e08d-44ca-ae60-472b6860eae4 time="2026-09-17T09:51:31Z" msg="Received mailbox message count" gluonID=28a5296d-fb51-4d75-9666-944058827a65 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:51:31Z" msg="Created new IMAP user" addrID=2ef0ac21-240b-4ca9-85e0-587886c68d85 gluonID=28a5296d-fb51-4d75-9666-944058827a65 time="2026-09-17T09:51:31Z" msg="Validating Listener State" time="2026-09-17T09:51:31Z" msg="Adding user to imap server" addrID=a466c860-f661-4fe1-9d09-672f6300ed20 time="2026-09-17T09:51:31Z" msg="Creating new IMAP user" addrID=a466c860-f661-4fe1-9d09-672f6300ed20 time="2026-09-17T09:51:31Z" msg="Setting gluon ID" addrID=a466c860-f661-4fe1-9d09-672f6300ed20 gluonID=935e04ed-97c0-47b5-bc92-014eeb247c77 userID=bbb8a478-e08d-44ca-ae60-472b6860eae4 time="2026-09-17T09:51:31Z" msg="Received mailbox message count" gluonID=935e04ed-97c0-47b5-bc92-014eeb247c77 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:51:31Z" msg="Created new IMAP user" addrID=a466c860-f661-4fe1-9d09-672f6300ed20 gluonID=935e04ed-97c0-47b5-bc92-014eeb247c77 time="2026-09-17T09:51:31Z" msg="Validating Listener State" time="2026-09-17T09:51:31Z" msg="Sync triggered" time="2026-09-17T09:51:31Z" msg="Beginning user sync" start="2026-09-17 09:51:31.429078588 +0000 UTC m=+379.921380964" And the user sets the address mode of user "098d06af-e61f-4cac-9930-ffa69fcd4f28" to "split" # :1 -> *scenario time="2026-09-17T09:51:31Z" msg="Syncing labels" time="2026-09-17T09:51:31Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=28a5296d-fb51-4d75-9666-944058827a65 time="2026-09-17T09:51:31Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=935e04ed-97c0-47b5-bc92-014eeb247c77 time="2026-09-17T09:51:31Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=935e04ed-97c0-47b5-bc92-014eeb247c77 time="2026-09-17T09:51:31Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=28a5296d-fb51-4d75-9666-944058827a65 time="2026-09-17T09:51:31Z" msg="Mailbox created" /user remoteMailboxID=6 userID=28a5296d-fb51-4d75-9666-944058827a65 time="2026-09-17T09:51:31Z" msg="Mailbox created" /user remoteMailboxID=6 userID=935e04ed-97c0-47b5-bc92-014eeb247c77 time="2026-09-17T09:51:31Z" msg="Mailbox created" /user remoteMailboxID=10 userID=28a5296d-fb51-4d75-9666-944058827a65 time="2026-09-17T09:51:31Z" msg="Mailbox created" /user remoteMailboxID=10 userID=935e04ed-97c0-47b5-bc92-014eeb247c77 time="2026-09-17T09:51:31Z" msg="Mailbox created" /user remoteMailboxID=0 userID=28a5296d-fb51-4d75-9666-944058827a65 time="2026-09-17T09:51:31Z" msg="Mailbox created" /user remoteMailboxID=3 userID=28a5296d-fb51-4d75-9666-944058827a65 time="2026-09-17T09:51:31Z" msg="Mailbox created" /user remoteMailboxID=0 userID=935e04ed-97c0-47b5-bc92-014eeb247c77 time="2026-09-17T09:51:31Z" msg="Mailbox created" /user remoteMailboxID=4 userID=28a5296d-fb51-4d75-9666-944058827a65 time="2026-09-17T09:51:31Z" msg="Mailbox created" /user remoteMailboxID=3 userID=935e04ed-97c0-47b5-bc92-014eeb247c77 time="2026-09-17T09:51:31Z" msg="Mailbox created" /user remoteMailboxID=8 userID=28a5296d-fb51-4d75-9666-944058827a65 time="2026-09-17T09:51:31Z" msg="Mailbox created" /user remoteMailboxID=12 userID=28a5296d-fb51-4d75-9666-944058827a65 time="2026-09-17T09:51:31Z" msg="Mailbox created" /user remoteMailboxID=4 userID=935e04ed-97c0-47b5-bc92-014eeb247c77 time="2026-09-17T09:51:31Z" msg="Mailbox created" /user remoteMailboxID=5 userID=28a5296d-fb51-4d75-9666-944058827a65 time="2026-09-17T09:51:31Z" msg="Mailbox created" /user remoteMailboxID=8 userID=935e04ed-97c0-47b5-bc92-014eeb247c77 time="2026-09-17T09:51:31Z" msg="Mailbox created" /user remoteMailboxID=7 userID=28a5296d-fb51-4d75-9666-944058827a65 time="2026-09-17T09:51:31Z" msg="Mailbox created" /user remoteMailboxID=12 userID=935e04ed-97c0-47b5-bc92-014eeb247c77 time="2026-09-17T09:51:31Z" msg="Mailbox created" /user remoteMailboxID=5 userID=935e04ed-97c0-47b5-bc92-014eeb247c77 time="2026-09-17T09:51:31Z" msg="Mailbox created" /user remoteMailboxID=7 userID=935e04ed-97c0-47b5-bc92-014eeb247c77 time="2026-09-17T09:51:31Z" msg="Synced labels" time="2026-09-17T09:51:31Z" msg="200 OK: GET https://127.0.0.1:44169/mail/v4/messages/count" /client userID=bbb8a478-e08d-44ca-ae60-472b6860eae4 time="2026-09-17T09:51:31Z" msg="Syncing messages" time="2026-09-17T09:51:31Z" msg="Job started" time="2026-09-17T09:51:31Z" msg="200 OK: POST https://127.0.0.1:44169/mail/v4/messages" /client userID=bbb8a478-e08d-44ca-ae60-472b6860eae4 time="2026-09-17T09:51:31Z" msg="Job finished" time="2026-09-17T09:51:31Z" msg="All child jobs completed" sync- time="2026-09-17T09:51:31Z" msg="Synced messages" time="2026-09-17T09:51:31Z" msg="Finished user sync" .608856ms time="2026-09-17T09:51:31Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:51:31Z" msg="Event loop reset" eventID="AQ==" And user "098d06af-e61f-4cac-9930-ffa69fcd4f28" finishes syncing # :1 -> *scenario When user "098d06af-e61f-4cac-9930-ffa69fcd4f28" connects and authenticates SMTP client "1" with address "6f37d034-1781-4111-bba8-91a71a4e064a@proton.local" # :1 -> *scenario time="2026-09-17T09:51:31Z" msg="Frontend service stopped" time="2026-09-17T09:51:31Z" msg="Frontend client stopped" time="2026-09-17T09:51:31Z" msg="Closing bridge" time="2026-09-17T09:51:31Z" msg="Stopping service" time="2026-09-17T09:51:31Z" msg="Closing user" userID=bbb8a478-e08d-44ca-ae60-472b6860eae4 time="2026-09-17T09:51:31Z" msg="De-registering user client, ID:bbb8a478-e08d-44ca-ae60-472b6860eae4" time="2026-09-17T09:51:31Z" msg="Exiting IMAP Service" time="2026-09-17T09:51:31Z" msg="Exiting service main loop" time="2026-09-17T09:51:31Z" msg="Exiting service main loop" time="2026-09-17T09:51:31Z" msg="Exiting Service" time="2026-09-17T09:51:31Z" msg="Exiting service main loop" time="2026-09-17T09:51:31Z" msg="Exiting service" time="2026-09-17T09:51:31Z" msg="Closing IMAP Listener" time="2026-09-17T09:51:31Z" msg="Closing IMAP server" time="2026-09-17T09:51:31Z" msg="Closing SMTP Listener" time="2026-09-17T09:51:31Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:51:31Z" msg="Closing SMTP server" time="2026-09-17T09:51:31Z" msg="Closing service" Then it succeeds # :1 -> *scenario time="2026-09-17T09:51:31Z" msg="User '2c52d88b-be39-496f-9dc3-f884c274fee3' created with " /server/backend Scenario: SMTP client can authenticate successfully with disabled alias in combine mode # features/smtp/addressmode.feature:24 Given the account "2c52d88b-be39-496f-9dc3-f884c274fee3" has additional disabled address "6c0ab1e2-b0ce-47bd-8118-5ea2ce43b4eb@proton.local" # :1 -> *scenario And it succeeds # :1 -> *scenario time="2026-09-17T09:51:32Z" msg="Starting bridge" time="2026-09-17T09:51:32Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/171/config862711301/grpcFocusServerConfig.json /service time="2026-09-17T09:51:32Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/171/cache677223034/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:51:32Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/171/cache677223034/notifications/notification_cache: no such file or directory" time="2026-09-17T09:51:32Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/171/data3581582729/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/171/data3581582729/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:51:32Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:51:32Z" msg="Starting IMAP server" time="2026-09-17T09:51:32Z" msg="Starting SMTP server" time="2026-09-17T09:51:32Z" msg="Starting service" time="2026-09-17T09:51:32Z" msg="Starting service" time="2026-09-17T09:51:32Z" msg="Starting receiver service" time="2026-09-17T09:51:32Z" msg="Starting frontend service" time="2026-09-17T09:51:32Z" msg="Starting poll service" time="2026-09-17T09:51:32Z" msg="Loading users" /user time="2026-09-17T09:51:32Z" msg="Finished loading users" /user time="2026-09-17T09:51:32Z" msg="Checking for updates" time="2026-09-17T09:51:32Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/171/config862711301/grpcServerConfig.json time="2026-09-17T09:51:32Z" msg="gRPC server listening on /tmp/bridge9410" time="2026-09-17T09:51:32Z" msg="Frontend service started" time="2026-09-17T09:51:32Z" msg="Starting frontend client" time="2026-09-17T09:51:32Z" msg="Not monitoring parent PID" time="2026-09-17T09:51:32Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:51:32Z" msg="Frontend client started" Given bridge starts # :1 -> *scenario time="2026-09-17T09:51:32Z" msg="Performing full user login" /user username="******** (5d9ee92d)" time="2026-09-17T09:51:32Z" msg="Authorizing user for login" /user username="******** (5d9ee92d)" time="2026-09-17T09:51:32Z" msg="200 OK: GET https://127.0.0.1:33019/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:51:33Z" msg="200 OK: POST https://127.0.0.1:33019/auth/v4/info" /manager time="2026-09-17T09:51:33Z" msg="200 OK: POST https://127.0.0.1:33019/auth/v4" /manager time="2026-09-17T09:51:33Z" msg="Logging in authorized user" /user userID=39ba316e-f3f2-4f02-b8de-e98b7489b239 time="2026-09-17T09:51:33Z" msg="Adding vault user" userID=39ba316e-f3f2-4f02-b8de-e98b7489b239 time="2026-09-17T09:51:33Z" msg="Creating new user" userID=39ba316e-f3f2-4f02-b8de-e98b7489b239 time="2026-09-17T09:51:33Z" msg="404 GET https://127.0.0.1:33019/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:51:33Z" msg="404 GET https://127.0.0.1:33019/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:51:33Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:33019/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:51:33Z" msg="Creating user object" authUID=9de0b4d3-10b3-406e-b67e-52afce2422fb numA numL userID=39ba316e-f3f2-4f02-b8de-e98b7489b239 time="2026-09-17T09:51:33Z" msg="200 OK: GET https://127.0.0.1:33019/core/v4/events/latest" /client userID=39ba316e-f3f2-4f02-b8de-e98b7489b239 time="2026-09-17T09:51:33Z" msg="Starting service Last EventID=Ag==" time="2026-09-17T09:51:33Z" msg="200 OK: GET https://127.0.0.1:33019/core/v4/settings" /client userID=39ba316e-f3f2-4f02-b8de-e98b7489b239 time="2026-09-17T09:51:33Z" msg="Registering user client, ID:39ba316e-f3f2-4f02-b8de-e98b7489b239" time="2026-09-17T09:51:33Z" msg="Starting service main loop" time="2026-09-17T09:51:33Z" msg="Starting user identity service" numA time="2026-09-17T09:51:33Z" msg="Starting service main loop" time="2026-09-17T09:51:33Z" msg="Starting service main loop" time="2026-09-17T09:51:33Z" msg="200 OK: GET https://127.0.0.1:33019/core/v4/labels?T" /client userID=39ba316e-f3f2-4f02-b8de-e98b7489b239 time="2026-09-17T09:51:33Z" msg="200 OK: GET https://127.0.0.1:33019/core/v4/labels?T" /client userID=39ba316e-f3f2-4f02-b8de-e98b7489b239 time="2026-09-17T09:51:33Z" msg="200 OK: GET https://127.0.0.1:33019/core/v4/labels?T" /client userID=39ba316e-f3f2-4f02-b8de-e98b7489b239 time="2026-09-17T09:51:33Z" msg="Setting labels" labelIDs="[6 8 9 0 1 3 5 7 10 12 2 4]" time="2026-09-17T09:51:33Z" msg="Adding user to imap server" addrID=9c439293-f654-4e6b-8425-eefbcb4bd36e time="2026-09-17T09:51:33Z" msg="Creating new IMAP user" addrID=9c439293-f654-4e6b-8425-eefbcb4bd36e time="2026-09-17T09:51:33Z" msg="Setting gluon ID" addrID=9c439293-f654-4e6b-8425-eefbcb4bd36e gluonID=f2258c83-adff-4439-8a38-fa6239b1678c userID=39ba316e-f3f2-4f02-b8de-e98b7489b239 time="2026-09-17T09:51:33Z" msg="Received mailbox message count" gluonID=f2258c83-adff-4439-8a38-fa6239b1678c labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:51:33Z" msg="Created new IMAP user" addrID=9c439293-f654-4e6b-8425-eefbcb4bd36e gluonID=f2258c83-adff-4439-8a38-fa6239b1678c time="2026-09-17T09:51:33Z" msg="Validating Listener State" time="2026-09-17T09:51:33Z" time="2026-09-17T09:51:33Z" msg="Starting IMAP Service" time="2026-09-17T09:51:33Z" msg="Checking whether logged in user should re-sync. UserID:39ba316e-f3f2-4f02-b8de-e98b7489b239" userID=39ba316e-f3f2-4f02-b8de-e98b7489b239 And the user logs in with username "2c52d88b-be39-496f-9dc3-f884c274fee3" and password "password" # :1 -> *scenario time="2026-09-17T09:51:33Z" msg="Sync triggered" time="2026-09-17T09:51:33Z" msg="Beginning user sync" start="2026-09-17 09:51:33.436279437 +0000 UTC m=+381.928581773" time="2026-09-17T09:51:33Z" msg="Syncing labels" time="2026-09-17T09:51:33Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=f2258c83-adff-4439-8a38-fa6239b1678c time="2026-09-17T09:51:33Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=f2258c83-adff-4439-8a38-fa6239b1678c time="2026-09-17T09:51:33Z" msg="Mailbox created" /user remoteMailboxID=10 userID=f2258c83-adff-4439-8a38-fa6239b1678c time="2026-09-17T09:51:33Z" msg="Mailbox created" /user remoteMailboxID=12 userID=f2258c83-adff-4439-8a38-fa6239b1678c time="2026-09-17T09:51:33Z" msg="Mailbox created" /user remoteMailboxID=4 userID=f2258c83-adff-4439-8a38-fa6239b1678c time="2026-09-17T09:51:33Z" msg="Mailbox created" /user remoteMailboxID=8 userID=f2258c83-adff-4439-8a38-fa6239b1678c time="2026-09-17T09:51:33Z" msg="Mailbox created" /user remoteMailboxID=0 userID=f2258c83-adff-4439-8a38-fa6239b1678c time="2026-09-17T09:51:33Z" msg="Mailbox created" /user remoteMailboxID=7 userID=f2258c83-adff-4439-8a38-fa6239b1678c time="2026-09-17T09:51:33Z" msg="Mailbox created" /user remoteMailboxID=6 userID=f2258c83-adff-4439-8a38-fa6239b1678c time="2026-09-17T09:51:33Z" msg="Mailbox created" /user remoteMailboxID=3 userID=f2258c83-adff-4439-8a38-fa6239b1678c time="2026-09-17T09:51:33Z" msg="Mailbox created" /user remoteMailboxID=5 userID=f2258c83-adff-4439-8a38-fa6239b1678c time="2026-09-17T09:51:33Z" msg="Synced labels" time="2026-09-17T09:51:33Z" msg="200 OK: GET https://127.0.0.1:33019/mail/v4/messages/count" /client userID=39ba316e-f3f2-4f02-b8de-e98b7489b239 time="2026-09-17T09:51:33Z" msg="Syncing messages" time="2026-09-17T09:51:33Z" msg="Job started" time="2026-09-17T09:51:33Z" msg="200 OK: POST https://127.0.0.1:33019/mail/v4/messages" /client userID=39ba316e-f3f2-4f02-b8de-e98b7489b239 time="2026-09-17T09:51:33Z" msg="Job finished" time="2026-09-17T09:51:33Z" msg="All child jobs completed" sync- time="2026-09-17T09:51:33Z" msg="Synced messages" time="2026-09-17T09:51:33Z" msg="Finished user sync" .987924ms time="2026-09-17T09:51:33Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:51:33Z" msg="Event loop reset" eventID="Ag==" And user "2c52d88b-be39-496f-9dc3-f884c274fee3" finishes syncing # :1 -> *scenario When user "2c52d88b-be39-496f-9dc3-f884c274fee3" connects and authenticates SMTP client "1" with address "6c0ab1e2-b0ce-47bd-8118-5ea2ce43b4eb@proton.local" # :1 -> *scenario time="2026-09-17T09:51:33Z" msg="Failed to close SMTP client" error="close tcp 127.0.0.1:43630->127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:51:33Z" msg="Frontend service stopped" time="2026-09-17T09:51:33Z" msg="Frontend client stopped" time="2026-09-17T09:51:33Z" msg="Closing bridge" time="2026-09-17T09:51:33Z" msg="Stopping service" time="2026-09-17T09:51:33Z" msg="Closing user" userID=39ba316e-f3f2-4f02-b8de-e98b7489b239 time="2026-09-17T09:51:33Z" msg="De-registering user client, ID:39ba316e-f3f2-4f02-b8de-e98b7489b239" time="2026-09-17T09:51:33Z" msg="Exiting IMAP Service" time="2026-09-17T09:51:33Z" msg="Exiting service main loop" time="2026-09-17T09:51:33Z" msg="Exiting service main loop" time="2026-09-17T09:51:33Z" msg="Exiting Service" time="2026-09-17T09:51:33Z" msg="Exiting service main loop" time="2026-09-17T09:51:33Z" msg="Exiting service" time="2026-09-17T09:51:33Z" msg="Closing IMAP Listener" time="2026-09-17T09:51:33Z" msg="Closing IMAP server" time="2026-09-17T09:51:33Z" msg="Closing SMTP Listener" time="2026-09-17T09:51:33Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:51:33Z" msg="Closing SMTP server" time="2026-09-17T09:51:33Z" msg="Closing service" Then it fails # :1 -> *scenario time="2026-09-17T09:51:33Z" msg="User '11f6f7e7-e7cb-4005-b989-552ddef40c98' created with " /server/backend Scenario: SMTP client can authenticate successfully with disabled alias in split mode # features/smtp/addressmode.feature:35 Given the account "11f6f7e7-e7cb-4005-b989-552ddef40c98" has additional disabled address "dcbc238c-86e4-483f-971b-4d31590a6ccb@proton.local" # :1 -> *scenario And it succeeds # :1 -> *scenario time="2026-09-17T09:51:34Z" msg="Starting bridge" time="2026-09-17T09:51:34Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/172/config88321081/grpcFocusServerConfig.json /service time="2026-09-17T09:51:34Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/172/cache79378448/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:51:34Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/172/cache79378448/notifications/notification_cache: no such file or directory" time="2026-09-17T09:51:34Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/172/data2124566449/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/172/data2124566449/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:51:34Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:51:34Z" msg="Starting IMAP server" time="2026-09-17T09:51:34Z" msg="Starting SMTP server" time="2026-09-17T09:51:34Z" msg="Starting service" time="2026-09-17T09:51:34Z" msg="Starting service" time="2026-09-17T09:51:34Z" msg="Starting poll service" time="2026-09-17T09:51:34Z" msg="Loading users" /user time="2026-09-17T09:51:34Z" msg="Finished loading users" /user time="2026-09-17T09:51:34Z" msg="Checking for updates" time="2026-09-17T09:51:34Z" msg="Starting frontend service" time="2026-09-17T09:51:34Z" msg="Starting receiver service" time="2026-09-17T09:51:34Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/172/config88321081/grpcServerConfig.json time="2026-09-17T09:51:34Z" msg="gRPC server listening on /tmp/bridge7254" time="2026-09-17T09:51:34Z" msg="Frontend service started" time="2026-09-17T09:51:34Z" msg="Starting frontend client" time="2026-09-17T09:51:34Z" msg="Not monitoring parent PID" time="2026-09-17T09:51:34Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:51:34Z" msg="200 OK: GET https://127.0.0.1:44173/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:51:34Z" msg="Frontend client started" Given bridge starts # :1 -> *scenario time="2026-09-17T09:51:34Z" msg="Performing full user login" /user username="******** (96806c71)" time="2026-09-17T09:51:34Z" msg="Authorizing user for login" /user username="******** (96806c71)" time="2026-09-17T09:51:34Z" msg="200 OK: POST https://127.0.0.1:44173/auth/v4/info" /manager time="2026-09-17T09:51:35Z" msg="200 OK: POST https://127.0.0.1:44173/auth/v4" /manager time="2026-09-17T09:51:35Z" msg="Logging in authorized user" /user userID=683d4982-dcbe-4e4a-8140-3c9b0b9a6535 time="2026-09-17T09:51:35Z" msg="Adding vault user" userID=683d4982-dcbe-4e4a-8140-3c9b0b9a6535 time="2026-09-17T09:51:35Z" msg="Creating new user" userID=683d4982-dcbe-4e4a-8140-3c9b0b9a6535 time="2026-09-17T09:51:35Z" msg="404 GET https://127.0.0.1:44173/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:51:35Z" msg="404 GET https://127.0.0.1:44173/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:51:35Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:44173/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:51:35Z" msg="Creating user object" authUID=f6aa7ca8-5c1f-4a75-90bb-db65f79bf041 numA numL userID=683d4982-dcbe-4e4a-8140-3c9b0b9a6535 time="2026-09-17T09:51:35Z" msg="200 OK: GET https://127.0.0.1:44173/core/v4/events/latest" /client userID=683d4982-dcbe-4e4a-8140-3c9b0b9a6535 time="2026-09-17T09:51:35Z" msg="Starting service Last EventID=Ag==" time="2026-09-17T09:51:35Z" msg="200 OK: GET https://127.0.0.1:44173/core/v4/settings" /client userID=683d4982-dcbe-4e4a-8140-3c9b0b9a6535 time="2026-09-17T09:51:35Z" msg="Registering user client, ID:683d4982-dcbe-4e4a-8140-3c9b0b9a6535" time="2026-09-17T09:51:35Z" msg="Starting user identity service" numA time="2026-09-17T09:51:35Z" msg="Starting service main loop" time="2026-09-17T09:51:35Z" msg="Starting service main loop" time="2026-09-17T09:51:35Z" msg="Starting service main loop" time="2026-09-17T09:51:35Z" msg="200 OK: GET https://127.0.0.1:44173/core/v4/labels?T" /client userID=683d4982-dcbe-4e4a-8140-3c9b0b9a6535 time="2026-09-17T09:51:35Z" msg="200 OK: GET https://127.0.0.1:44173/core/v4/labels?T" /client userID=683d4982-dcbe-4e4a-8140-3c9b0b9a6535 time="2026-09-17T09:51:35Z" msg="200 OK: GET https://127.0.0.1:44173/core/v4/labels?T" /client userID=683d4982-dcbe-4e4a-8140-3c9b0b9a6535 time="2026-09-17T09:51:35Z" msg="Setting labels" labelIDs="[0 1 2 4 5 7 9 10 3 6 8 12]" time="2026-09-17T09:51:35Z" msg="Adding user to imap server" addrID=d29b5349-8411-4ae5-95ed-8516150dcc55 time="2026-09-17T09:51:35Z" msg="Creating new IMAP user" addrID=d29b5349-8411-4ae5-95ed-8516150dcc55 time="2026-09-17T09:51:35Z" msg="Setting gluon ID" addrID=d29b5349-8411-4ae5-95ed-8516150dcc55 gluonID=5bdbdbdd-29e4-474c-a4e6-dcb77db32a07 userID=683d4982-dcbe-4e4a-8140-3c9b0b9a6535 time="2026-09-17T09:51:35Z" msg="Received mailbox message count" gluonID=5bdbdbdd-29e4-474c-a4e6-dcb77db32a07 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:51:35Z" msg="Created new IMAP user" addrID=d29b5349-8411-4ae5-95ed-8516150dcc55 gluonID=5bdbdbdd-29e4-474c-a4e6-dcb77db32a07 time="2026-09-17T09:51:35Z" msg="Validating Listener State" time="2026-09-17T09:51:35Z" time="2026-09-17T09:51:35Z" msg="Checking whether logged in user should re-sync. UserID:683d4982-dcbe-4e4a-8140-3c9b0b9a6535" userID=683d4982-dcbe-4e4a-8140-3c9b0b9a6535 And the user logs in with username "11f6f7e7-e7cb-4005-b989-552ddef40c98" and password "password" # :1 -> *scenario time="2026-09-17T09:51:35Z" msg="Starting IMAP Service" time="2026-09-17T09:51:35Z" msg="Setting address mode" /user userID=683d4982-dcbe-4e4a-8140-3c9b0b9a6535 time="2026-09-17T09:51:35Z" msg="Setting address mode" userID=683d4982-dcbe-4e4a-8140-3c9b0b9a6535 time="2026-09-17T09:51:35Z" msg="Sync triggered" time="2026-09-17T09:51:35Z" msg="Setting Split Address Mode" time="2026-09-17T09:51:35Z" msg="Beginning user sync" start="2026-09-17 09:51:35.42194423 +0000 UTC m=+383.914246566" time="2026-09-17T09:51:35Z" msg="Failed to check and report label conflicts" error="context canceled" time="2026-09-17T09:51:35Z" msg="Sync aborted" error="context canceled" time="2026-09-17T09:51:35Z" msg="Finished user sync" duration="230.841µs" time="2026-09-17T09:51:35Z" msg="Removing gluon ID" addrID=d29b5349-8411-4ae5-95ed-8516150dcc55 gluonID=5bdbdbdd-29e4-474c-a4e6-dcb77db32a07 userID=683d4982-dcbe-4e4a-8140-3c9b0b9a6535 time="2026-09-17T09:51:35Z" msg="Validating Listener State" time="2026-09-17T09:51:35Z" msg="Adding user to imap server" addrID=0dd0d798-5fa9-4866-a047-bcfad7c1b87c time="2026-09-17T09:51:35Z" msg="Creating new IMAP user" addrID=0dd0d798-5fa9-4866-a047-bcfad7c1b87c time="2026-09-17T09:51:35Z" msg="Setting gluon ID" addrID=0dd0d798-5fa9-4866-a047-bcfad7c1b87c gluonID=8783504f-e89c-4f2d-957c-aad49fb0c214 userID=683d4982-dcbe-4e4a-8140-3c9b0b9a6535 time="2026-09-17T09:51:35Z" msg="Received mailbox message count" gluonID=8783504f-e89c-4f2d-957c-aad49fb0c214 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:51:35Z" msg="Created new IMAP user" addrID=0dd0d798-5fa9-4866-a047-bcfad7c1b87c gluonID=8783504f-e89c-4f2d-957c-aad49fb0c214 time="2026-09-17T09:51:35Z" msg="Validating Listener State" time="2026-09-17T09:51:35Z" msg="Adding user to imap server" addrID=04486226-96d7-4ba8-9e67-6088ce4cb375 time="2026-09-17T09:51:35Z" msg="Creating new IMAP user" addrID=04486226-96d7-4ba8-9e67-6088ce4cb375 time="2026-09-17T09:51:35Z" msg="Setting gluon ID" addrID=04486226-96d7-4ba8-9e67-6088ce4cb375 gluonID=ba092a53-71ca-47ee-8753-2989b02bdfa5 userID=683d4982-dcbe-4e4a-8140-3c9b0b9a6535 time="2026-09-17T09:51:35Z" msg="Received mailbox message count" gluonID=ba092a53-71ca-47ee-8753-2989b02bdfa5 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:51:35Z" msg="Created new IMAP user" addrID=04486226-96d7-4ba8-9e67-6088ce4cb375 gluonID=ba092a53-71ca-47ee-8753-2989b02bdfa5 time="2026-09-17T09:51:35Z" msg="Validating Listener State" time="2026-09-17T09:51:35Z" msg="Adding user to imap server" addrID=d29b5349-8411-4ae5-95ed-8516150dcc55 time="2026-09-17T09:51:35Z" msg="Creating new IMAP user" addrID=d29b5349-8411-4ae5-95ed-8516150dcc55 time="2026-09-17T09:51:35Z" msg="Setting gluon ID" addrID=d29b5349-8411-4ae5-95ed-8516150dcc55 gluonID=35f864d2-39ad-48b6-9325-a1a3a7bb5063 userID=683d4982-dcbe-4e4a-8140-3c9b0b9a6535 time="2026-09-17T09:51:35Z" msg="Received mailbox message count" gluonID=35f864d2-39ad-48b6-9325-a1a3a7bb5063 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:51:35Z" msg="Created new IMAP user" addrID=d29b5349-8411-4ae5-95ed-8516150dcc55 gluonID=35f864d2-39ad-48b6-9325-a1a3a7bb5063 time="2026-09-17T09:51:35Z" msg="Validating Listener State" time="2026-09-17T09:51:35Z" msg="Sync triggered" time="2026-09-17T09:51:35Z" msg="Beginning user sync" start="2026-09-17 09:51:35.445165413 +0000 UTC m=+383.937467749" And the user sets the address mode of user "11f6f7e7-e7cb-4005-b989-552ddef40c98" to "split" # :1 -> *scenario time="2026-09-17T09:51:35Z" msg="Syncing labels" time="2026-09-17T09:51:35Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=35f864d2-39ad-48b6-9325-a1a3a7bb5063 time="2026-09-17T09:51:35Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=ba092a53-71ca-47ee-8753-2989b02bdfa5 time="2026-09-17T09:51:35Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=8783504f-e89c-4f2d-957c-aad49fb0c214 time="2026-09-17T09:51:35Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=35f864d2-39ad-48b6-9325-a1a3a7bb5063 time="2026-09-17T09:51:35Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=ba092a53-71ca-47ee-8753-2989b02bdfa5 time="2026-09-17T09:51:35Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=8783504f-e89c-4f2d-957c-aad49fb0c214 time="2026-09-17T09:51:35Z" msg="Mailbox created" /user remoteMailboxID=4 userID=35f864d2-39ad-48b6-9325-a1a3a7bb5063 time="2026-09-17T09:51:35Z" msg="Mailbox created" /user remoteMailboxID=7 userID=35f864d2-39ad-48b6-9325-a1a3a7bb5063 time="2026-09-17T09:51:35Z" msg="Mailbox created" /user remoteMailboxID=4 userID=ba092a53-71ca-47ee-8753-2989b02bdfa5 time="2026-09-17T09:51:35Z" msg="Mailbox created" /user remoteMailboxID=10 userID=35f864d2-39ad-48b6-9325-a1a3a7bb5063 time="2026-09-17T09:51:35Z" msg="Mailbox created" /user remoteMailboxID=4 userID=8783504f-e89c-4f2d-957c-aad49fb0c214 time="2026-09-17T09:51:35Z" msg="Mailbox created" /user remoteMailboxID=3 userID=35f864d2-39ad-48b6-9325-a1a3a7bb5063 time="2026-09-17T09:51:35Z" msg="Mailbox created" /user remoteMailboxID=7 userID=ba092a53-71ca-47ee-8753-2989b02bdfa5 time="2026-09-17T09:51:35Z" msg="Mailbox created" /user remoteMailboxID=7 userID=8783504f-e89c-4f2d-957c-aad49fb0c214 time="2026-09-17T09:51:35Z" msg="Mailbox created" /user remoteMailboxID=6 userID=35f864d2-39ad-48b6-9325-a1a3a7bb5063 time="2026-09-17T09:51:35Z" msg="Mailbox created" /user remoteMailboxID=10 userID=ba092a53-71ca-47ee-8753-2989b02bdfa5 time="2026-09-17T09:51:35Z" msg="Mailbox created" /user remoteMailboxID=5 userID=35f864d2-39ad-48b6-9325-a1a3a7bb5063 time="2026-09-17T09:51:35Z" msg="Mailbox created" /user remoteMailboxID=10 userID=8783504f-e89c-4f2d-957c-aad49fb0c214 time="2026-09-17T09:51:35Z" msg="Mailbox created" /user remoteMailboxID=3 userID=ba092a53-71ca-47ee-8753-2989b02bdfa5 time="2026-09-17T09:51:35Z" msg="Mailbox created" /user remoteMailboxID=8 userID=35f864d2-39ad-48b6-9325-a1a3a7bb5063 time="2026-09-17T09:51:35Z" msg="Mailbox created" /user remoteMailboxID=3 userID=8783504f-e89c-4f2d-957c-aad49fb0c214 time="2026-09-17T09:51:35Z" msg="Mailbox created" /user remoteMailboxID=6 userID=ba092a53-71ca-47ee-8753-2989b02bdfa5 time="2026-09-17T09:51:35Z" msg="Mailbox created" /user remoteMailboxID=12 userID=35f864d2-39ad-48b6-9325-a1a3a7bb5063 time="2026-09-17T09:51:35Z" msg="Mailbox created" /user remoteMailboxID=6 userID=8783504f-e89c-4f2d-957c-aad49fb0c214 time="2026-09-17T09:51:35Z" msg="Mailbox created" /user remoteMailboxID=5 userID=ba092a53-71ca-47ee-8753-2989b02bdfa5 time="2026-09-17T09:51:35Z" msg="Mailbox created" /user remoteMailboxID=0 userID=35f864d2-39ad-48b6-9325-a1a3a7bb5063 time="2026-09-17T09:51:35Z" msg="Mailbox created" /user remoteMailboxID=5 userID=8783504f-e89c-4f2d-957c-aad49fb0c214 time="2026-09-17T09:51:35Z" msg="Mailbox created" /user remoteMailboxID=8 userID=ba092a53-71ca-47ee-8753-2989b02bdfa5 time="2026-09-17T09:51:35Z" msg="Mailbox created" /user remoteMailboxID=8 userID=8783504f-e89c-4f2d-957c-aad49fb0c214 time="2026-09-17T09:51:35Z" msg="Mailbox created" /user remoteMailboxID=12 userID=ba092a53-71ca-47ee-8753-2989b02bdfa5 time="2026-09-17T09:51:35Z" msg="Mailbox created" /user remoteMailboxID=12 userID=8783504f-e89c-4f2d-957c-aad49fb0c214 time="2026-09-17T09:51:35Z" msg="Mailbox created" /user remoteMailboxID=0 userID=ba092a53-71ca-47ee-8753-2989b02bdfa5 time="2026-09-17T09:51:35Z" msg="Mailbox created" /user remoteMailboxID=0 userID=8783504f-e89c-4f2d-957c-aad49fb0c214 time="2026-09-17T09:51:35Z" msg="Synced labels" time="2026-09-17T09:51:35Z" msg="200 OK: GET https://127.0.0.1:44173/mail/v4/messages/count" /client userID=683d4982-dcbe-4e4a-8140-3c9b0b9a6535 time="2026-09-17T09:51:35Z" msg="Syncing messages" time="2026-09-17T09:51:35Z" msg="Job started" time="2026-09-17T09:51:35Z" msg="200 OK: POST https://127.0.0.1:44173/mail/v4/messages" /client userID=683d4982-dcbe-4e4a-8140-3c9b0b9a6535 time="2026-09-17T09:51:35Z" msg="Job finished" time="2026-09-17T09:51:35Z" msg="All child jobs completed" sync- time="2026-09-17T09:51:35Z" msg="Synced messages" time="2026-09-17T09:51:35Z" msg="Finished user sync" .462171ms time="2026-09-17T09:51:35Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:51:35Z" msg="Event loop reset" eventID="Ag==" And user "11f6f7e7-e7cb-4005-b989-552ddef40c98" finishes syncing # :1 -> *scenario When user "11f6f7e7-e7cb-4005-b989-552ddef40c98" connects and authenticates SMTP client "1" with address "dcbc238c-86e4-483f-971b-4d31590a6ccb@proton.local" # :1 -> *scenario time="2026-09-17T09:51:35Z" msg="Failed to close SMTP client" error="close tcp 127.0.0.1:43644->127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:51:35Z" msg="Frontend service stopped" time="2026-09-17T09:51:35Z" msg="Frontend client stopped" time="2026-09-17T09:51:35Z" msg="Closing bridge" time="2026-09-17T09:51:35Z" msg="Stopping service" time="2026-09-17T09:51:35Z" msg="Closing user" userID=683d4982-dcbe-4e4a-8140-3c9b0b9a6535 time="2026-09-17T09:51:35Z" msg="De-registering user client, ID:683d4982-dcbe-4e4a-8140-3c9b0b9a6535" time="2026-09-17T09:51:35Z" msg="Exiting IMAP Service" time="2026-09-17T09:51:35Z" msg="Exiting service main loop" time="2026-09-17T09:51:35Z" msg="Exiting service main loop" time="2026-09-17T09:51:35Z" msg="Exiting Service" time="2026-09-17T09:51:35Z" msg="Exiting service main loop" time="2026-09-17T09:51:35Z" msg="Exiting service" time="2026-09-17T09:51:35Z" msg="Closing IMAP Listener" time="2026-09-17T09:51:35Z" msg="Closing IMAP server" time="2026-09-17T09:51:35Z" msg="Closing SMTP Listener" time="2026-09-17T09:51:35Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:51:35Z" msg="Closing SMTP server" time="2026-09-17T09:51:35Z" msg="Closing service" Then it fails # :1 -> *scenario Feature: A user can authenticate an SMTP client time="2026-09-17T09:51:35Z" msg="User '0c55657a-8dcc-499a-affc-541de63b7761' created with " /server/backend Background: Given there exists an account with username "0c55657a-8dcc-499a-affc-541de63b7761" and password "password" # :1 -> *scenario time="2026-09-17T09:51:36Z" msg="User '73a2c85b-2b83-49b3-98b4-caebe7e8f761' created with " /server/backend And there exists an account with username "73a2c85b-2b83-49b3-98b4-caebe7e8f761" and password "password2" # :1 -> *scenario And the account "0c55657a-8dcc-499a-affc-541de63b7761" has additional address "fe6dcfa7-12a5-43ca-9fce-12526e4efbcb@proton.local" # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:51:37Z" msg="Starting bridge" time="2026-09-17T09:51:37Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/173/config3107485007/grpcFocusServerConfig.json /service time="2026-09-17T09:51:37Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/173/cache4101431002/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:51:37Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/173/cache4101431002/notifications/notification_cache: no such file or directory" time="2026-09-17T09:51:37Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/173/data3741750947/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/173/data3741750947/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:51:37Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:51:37Z" msg="Starting IMAP server" time="2026-09-17T09:51:37Z" msg="Starting SMTP server" time="2026-09-17T09:51:37Z" msg="Starting service" time="2026-09-17T09:51:37Z" msg="Starting service" time="2026-09-17T09:51:37Z" msg="Starting receiver service" time="2026-09-17T09:51:37Z" msg="Starting frontend service" time="2026-09-17T09:51:37Z" msg="Checking for updates" time="2026-09-17T09:51:37Z" msg="Loading users" /user time="2026-09-17T09:51:37Z" msg="Starting poll service" time="2026-09-17T09:51:37Z" msg="Finished loading users" /user time="2026-09-17T09:51:37Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/173/config3107485007/grpcServerConfig.json time="2026-09-17T09:51:37Z" msg="gRPC server listening on /tmp/bridge3920" time="2026-09-17T09:51:37Z" msg="Frontend service started" time="2026-09-17T09:51:37Z" msg="Starting frontend client" time="2026-09-17T09:51:37Z" msg="Not monitoring parent PID" time="2026-09-17T09:51:37Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:51:37Z" msg="Frontend client started" When bridge starts # :1 -> *scenario time="2026-09-17T09:51:37Z" msg="Performing full user login" /user username="******** (f7210bf5)" time="2026-09-17T09:51:37Z" msg="Authorizing user for login" /user username="******** (f7210bf5)" time="2026-09-17T09:51:37Z" msg="200 OK: GET https://127.0.0.1:39611/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:51:37Z" msg="200 OK: POST https://127.0.0.1:39611/auth/v4/info" /manager time="2026-09-17T09:51:37Z" msg="200 OK: POST https://127.0.0.1:39611/auth/v4" /manager time="2026-09-17T09:51:37Z" msg="Logging in authorized user" /user userID=02c4b022-8a17-4311-bb1e-40aa16929b72 time="2026-09-17T09:51:37Z" msg="Adding vault user" userID=02c4b022-8a17-4311-bb1e-40aa16929b72 time="2026-09-17T09:51:37Z" msg="Creating new user" userID=02c4b022-8a17-4311-bb1e-40aa16929b72 time="2026-09-17T09:51:37Z" msg="404 GET https://127.0.0.1:39611/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:51:37Z" msg="404 GET https://127.0.0.1:39611/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:51:37Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:39611/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:51:37Z" msg="Creating user object" authUID=064c4f88-8592-4616-845c-3d58286a918d numA numL userID=02c4b022-8a17-4311-bb1e-40aa16929b72 time="2026-09-17T09:51:37Z" msg="200 OK: GET https://127.0.0.1:39611/core/v4/events/latest" /client userID=02c4b022-8a17-4311-bb1e-40aa16929b72 time="2026-09-17T09:51:37Z" msg="Starting service Last EventID=Ag==" time="2026-09-17T09:51:37Z" msg="200 OK: GET https://127.0.0.1:39611/core/v4/settings" /client userID=02c4b022-8a17-4311-bb1e-40aa16929b72 time="2026-09-17T09:51:37Z" msg="Registering user client, ID:02c4b022-8a17-4311-bb1e-40aa16929b72" time="2026-09-17T09:51:37Z" msg="Starting service main loop" time="2026-09-17T09:51:37Z" msg="Starting service main loop" time="2026-09-17T09:51:37Z" msg="Starting user identity service" numA time="2026-09-17T09:51:37Z" msg="Starting service main loop" time="2026-09-17T09:51:37Z" msg="200 OK: GET https://127.0.0.1:39611/core/v4/labels?T" /client userID=02c4b022-8a17-4311-bb1e-40aa16929b72 time="2026-09-17T09:51:37Z" msg="200 OK: GET https://127.0.0.1:39611/core/v4/labels?T" /client userID=02c4b022-8a17-4311-bb1e-40aa16929b72 time="2026-09-17T09:51:37Z" msg="200 OK: GET https://127.0.0.1:39611/core/v4/labels?T" /client userID=02c4b022-8a17-4311-bb1e-40aa16929b72 time="2026-09-17T09:51:37Z" msg="Setting labels" labelIDs="[0 6 8 9 12 1 2 3 4 5 7 10]" time="2026-09-17T09:51:37Z" msg="Adding user to imap server" addrID=484dd480-137a-4144-882c-ccdae815da43 time="2026-09-17T09:51:37Z" msg="Creating new IMAP user" addrID=484dd480-137a-4144-882c-ccdae815da43 time="2026-09-17T09:51:37Z" msg="Setting gluon ID" addrID=484dd480-137a-4144-882c-ccdae815da43 gluonID=63a11923-5c8c-4ca3-8ca8-ee910b8e7aaa userID=02c4b022-8a17-4311-bb1e-40aa16929b72 time="2026-09-17T09:51:37Z" msg="Received mailbox message count" gluonID=63a11923-5c8c-4ca3-8ca8-ee910b8e7aaa labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:51:37Z" msg="Created new IMAP user" addrID=484dd480-137a-4144-882c-ccdae815da43 gluonID=63a11923-5c8c-4ca3-8ca8-ee910b8e7aaa time="2026-09-17T09:51:37Z" msg="Validating Listener State" time="2026-09-17T09:51:37Z" time="2026-09-17T09:51:37Z" msg="Checking whether logged in user should re-sync. UserID:02c4b022-8a17-4311-bb1e-40aa16929b72" userID=02c4b022-8a17-4311-bb1e-40aa16929b72 And the user logs in with username "0c55657a-8dcc-499a-affc-541de63b7761" and password "password" # :1 -> *scenario time="2026-09-17T09:51:37Z" msg="Starting IMAP Service" time="2026-09-17T09:51:37Z" msg="Performing full user login" /user username="******** (35d04ac6)" time="2026-09-17T09:51:37Z" msg="Authorizing user for login" /user username="******** (35d04ac6)" time="2026-09-17T09:51:37Z" msg="Sync triggered" time="2026-09-17T09:51:37Z" msg="Beginning user sync" start="2026-09-17 09:51:37.611374171 +0000 UTC m=+386.103676507" time="2026-09-17T09:51:37Z" msg="Syncing labels" time="2026-09-17T09:51:37Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=63a11923-5c8c-4ca3-8ca8-ee910b8e7aaa time="2026-09-17T09:51:37Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=63a11923-5c8c-4ca3-8ca8-ee910b8e7aaa time="2026-09-17T09:51:37Z" msg="Mailbox created" /user remoteMailboxID=0 userID=63a11923-5c8c-4ca3-8ca8-ee910b8e7aaa time="2026-09-17T09:51:37Z" msg="Mailbox created" /user remoteMailboxID=8 userID=63a11923-5c8c-4ca3-8ca8-ee910b8e7aaa time="2026-09-17T09:51:37Z" msg="Mailbox created" /user remoteMailboxID=12 userID=63a11923-5c8c-4ca3-8ca8-ee910b8e7aaa time="2026-09-17T09:51:37Z" msg="Mailbox created" /user remoteMailboxID=3 userID=63a11923-5c8c-4ca3-8ca8-ee910b8e7aaa time="2026-09-17T09:51:37Z" msg="Mailbox created" /user remoteMailboxID=5 userID=63a11923-5c8c-4ca3-8ca8-ee910b8e7aaa time="2026-09-17T09:51:37Z" msg="Mailbox created" /user remoteMailboxID=7 userID=63a11923-5c8c-4ca3-8ca8-ee910b8e7aaa time="2026-09-17T09:51:37Z" msg="Mailbox created" /user remoteMailboxID=6 userID=63a11923-5c8c-4ca3-8ca8-ee910b8e7aaa time="2026-09-17T09:51:37Z" msg="Mailbox created" /user remoteMailboxID=4 userID=63a11923-5c8c-4ca3-8ca8-ee910b8e7aaa time="2026-09-17T09:51:37Z" msg="Mailbox created" /user remoteMailboxID=10 userID=63a11923-5c8c-4ca3-8ca8-ee910b8e7aaa time="2026-09-17T09:51:37Z" msg="Synced labels" time="2026-09-17T09:51:37Z" msg="200 OK: POST https://127.0.0.1:39611/auth/v4/info" /manager time="2026-09-17T09:51:37Z" msg="200 OK: GET https://127.0.0.1:39611/mail/v4/messages/count" /client userID=02c4b022-8a17-4311-bb1e-40aa16929b72 time="2026-09-17T09:51:37Z" msg="Syncing messages" time="2026-09-17T09:51:37Z" msg="Job started" time="2026-09-17T09:51:37Z" msg="200 OK: POST https://127.0.0.1:39611/mail/v4/messages" /client userID=02c4b022-8a17-4311-bb1e-40aa16929b72 time="2026-09-17T09:51:37Z" msg="Job finished" time="2026-09-17T09:51:37Z" msg="All child jobs completed" sync- time="2026-09-17T09:51:37Z" msg="Synced messages" time="2026-09-17T09:51:37Z" msg="Finished user sync" .410757ms time="2026-09-17T09:51:37Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:51:37Z" msg="Event loop reset" eventID="Ag==" time="2026-09-17T09:51:37Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 7} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:51:37Z" msg="200 OK: POST https://127.0.0.1:39611/auth/v4" /manager time="2026-09-17T09:51:37Z" msg="Logging in authorized user" /user userID=b9002f82-0ec2-45e5-9759-4a5974fff63c time="2026-09-17T09:51:38Z" msg="Adding vault user" userID=b9002f82-0ec2-45e5-9759-4a5974fff63c time="2026-09-17T09:51:38Z" msg="Creating new user" userID=b9002f82-0ec2-45e5-9759-4a5974fff63c time="2026-09-17T09:51:38Z" msg="404 GET https://127.0.0.1:39611/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:51:38Z" msg="404 GET https://127.0.0.1:39611/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:51:38Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:39611/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:51:38Z" msg="Creating user object" authUID=653395a1-929e-49e5-876f-c220f5d5cded numA numL userID=b9002f82-0ec2-45e5-9759-4a5974fff63c time="2026-09-17T09:51:38Z" msg="200 OK: GET https://127.0.0.1:39611/core/v4/events/latest" /client userID=b9002f82-0ec2-45e5-9759-4a5974fff63c time="2026-09-17T09:51:38Z" msg="Starting service Last EventID=AQ==" time="2026-09-17T09:51:38Z" msg="200 OK: GET https://127.0.0.1:39611/core/v4/settings" /client userID=b9002f82-0ec2-45e5-9759-4a5974fff63c time="2026-09-17T09:51:38Z" msg="Registering user client, ID:b9002f82-0ec2-45e5-9759-4a5974fff63c" time="2026-09-17T09:51:38Z" msg="Starting user identity service" numA time="2026-09-17T09:51:38Z" msg="Starting service main loop" time="2026-09-17T09:51:38Z" msg="Starting service main loop" time="2026-09-17T09:51:38Z" msg="Starting service main loop" time="2026-09-17T09:51:38Z" msg="200 OK: GET https://127.0.0.1:39611/core/v4/labels?T" /client userID=b9002f82-0ec2-45e5-9759-4a5974fff63c time="2026-09-17T09:51:38Z" msg="200 OK: GET https://127.0.0.1:39611/core/v4/labels?T" /client userID=b9002f82-0ec2-45e5-9759-4a5974fff63c time="2026-09-17T09:51:38Z" msg="200 OK: GET https://127.0.0.1:39611/core/v4/labels?T" /client userID=b9002f82-0ec2-45e5-9759-4a5974fff63c time="2026-09-17T09:51:38Z" msg="Setting labels" labelIDs="[0 1 2 5 6 7 8 12 3 4 9 10]" time="2026-09-17T09:51:38Z" msg="Adding user to imap server" addrID=2d6337c2-5522-45b7-ac39-829cdb45c996 time="2026-09-17T09:51:38Z" msg="Creating new IMAP user" addrID=2d6337c2-5522-45b7-ac39-829cdb45c996 time="2026-09-17T09:51:38Z" msg="Setting gluon ID" addrID=2d6337c2-5522-45b7-ac39-829cdb45c996 gluonID=f50706e1-414f-4d2e-be43-1a1067976722 userID=b9002f82-0ec2-45e5-9759-4a5974fff63c time="2026-09-17T09:51:38Z" msg="Received mailbox message count" gluonID=f50706e1-414f-4d2e-be43-1a1067976722 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:51:38Z" msg="Created new IMAP user" addrID=2d6337c2-5522-45b7-ac39-829cdb45c996 gluonID=f50706e1-414f-4d2e-be43-1a1067976722 time="2026-09-17T09:51:38Z" msg="Validating Listener State" time="2026-09-17T09:51:38Z" time="2026-09-17T09:51:38Z" msg="Starting IMAP Service" time="2026-09-17T09:51:38Z" msg="Checking whether logged in user should re-sync. UserID:b9002f82-0ec2-45e5-9759-4a5974fff63c" userID=b9002f82-0ec2-45e5-9759-4a5974fff63c time="2026-09-17T09:51:38Z" msg="Sync triggered" time="2026-09-17T09:51:38Z" msg="Beginning user sync" start="2026-09-17 09:51:38.046977549 +0000 UTC m=+386.539279845" And the user logs in with username "73a2c85b-2b83-49b3-98b4-caebe7e8f761" and password "password2" # :1 -> *scenario Then it succeeds # :1 -> *scenario Scenario: SMTP client can authenticate successfully # features/smtp/auth.feature:12 When user "0c55657a-8dcc-499a-affc-541de63b7761" connects SMTP client "1" # :1 -> *scenario time="2026-09-17T09:51:38Z" msg="Syncing labels" time="2026-09-17T09:51:38Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=f50706e1-414f-4d2e-be43-1a1067976722 time="2026-09-17T09:51:38Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=f50706e1-414f-4d2e-be43-1a1067976722 time="2026-09-17T09:51:38Z" msg="Frontend service stopped" time="2026-09-17T09:51:38Z" msg="Frontend client stopped" time="2026-09-17T09:51:38Z" msg="Closing bridge" time="2026-09-17T09:51:38Z" msg="Stopping service" time="2026-09-17T09:51:38Z" msg="Closing user" userID=02c4b022-8a17-4311-bb1e-40aa16929b72 time="2026-09-17T09:51:38Z" msg="De-registering user client, ID:02c4b022-8a17-4311-bb1e-40aa16929b72" time="2026-09-17T09:51:38Z" msg="Exiting IMAP Service" time="2026-09-17T09:51:38Z" msg="Exiting service main loop" time="2026-09-17T09:51:38Z" msg="Exiting service main loop" time="2026-09-17T09:51:38Z" msg="Exiting Service" time="2026-09-17T09:51:38Z" msg="Exiting service main loop" time="2026-09-17T09:51:38Z" msg="Exiting service" time="2026-09-17T09:51:38Z" msg="Mailbox created" /user remoteMailboxID=0 userID=f50706e1-414f-4d2e-be43-1a1067976722 time="2026-09-17T09:51:38Z" msg="Closing user" userID=b9002f82-0ec2-45e5-9759-4a5974fff63c time="2026-09-17T09:51:38Z" msg="De-registering user client, ID:b9002f82-0ec2-45e5-9759-4a5974fff63c" time="2026-09-17T09:51:38Z" msg="Synced labels" time="2026-09-17T09:51:38Z" msg="Get \"https://127.0.0.1:39611/mail/v4/messages/count\": context canceled, Attempt 1" /client time="2026-09-17T09:51:38Z" msg="Get \"https://127.0.0.1:39611/mail/v4/messages/count\": context canceled" /client time="2026-09-17T09:51:38Z" msg="Failed to sync, will retry later" error="failed to retrieve message ids: received no response from API: Get \"https://127.0.0.1:39611/mail/v4/messages/count\": context canceled" time="2026-09-17T09:51:38Z" msg="Sync aborted" error="context canceled" time="2026-09-17T09:51:38Z" msg="Finished user sync" .345655ms time="2026-09-17T09:51:38Z" msg="Exiting IMAP Service" time="2026-09-17T09:51:38Z" msg="Exiting service main loop" time="2026-09-17T09:51:38Z" msg="Exiting service main loop" time="2026-09-17T09:51:38Z" msg="Exiting Service" time="2026-09-17T09:51:38Z" msg="Exiting service main loop" time="2026-09-17T09:51:38Z" msg="Exiting service" time="2026-09-17T09:51:38Z" msg="Mailbox created" /user remoteMailboxID=7 userID=f50706e1-414f-4d2e-be43-1a1067976722 time="2026-09-17T09:51:38Z" msg="Closing IMAP Listener" time="2026-09-17T09:51:38Z" msg="Closing IMAP server" time="2026-09-17T09:51:38Z" msg="Mailbox created" /user remoteMailboxID=12 userID=f50706e1-414f-4d2e-be43-1a1067976722 time="2026-09-17T09:51:38Z" msg="Closing SMTP Listener" time="2026-09-17T09:51:38Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:51:38Z" msg="Closing SMTP server" time="2026-09-17T09:51:38Z" msg="Closing service" Then SMTP client "1" can authenticate # :1 -> *scenario time="2026-09-17T09:51:38Z" msg="User 'd5567858-f8e2-4773-b7dc-8714c9d1addf' created with " /server/backend time="2026-09-17T09:51:38Z" msg="User '561facc5-7756-4ff9-aa7e-be2891161be3' created with " /server/backend time="2026-09-17T09:51:39Z" msg="Starting bridge" time="2026-09-17T09:51:39Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/174/config2960689072/grpcFocusServerConfig.json /service time="2026-09-17T09:51:39Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/174/cache1673575195/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:51:39Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/174/cache1673575195/notifications/notification_cache: no such file or directory" time="2026-09-17T09:51:39Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/174/data3380488225/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/174/data3380488225/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:51:39Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:51:39Z" msg="Starting IMAP server" time="2026-09-17T09:51:39Z" msg="Starting SMTP server" time="2026-09-17T09:51:39Z" msg="Starting service" time="2026-09-17T09:51:39Z" msg="Starting service" time="2026-09-17T09:51:39Z" msg="Starting poll service" time="2026-09-17T09:51:39Z" msg="Checking for updates" time="2026-09-17T09:51:39Z" msg="Loading users" /user time="2026-09-17T09:51:39Z" msg="Starting frontend service" time="2026-09-17T09:51:39Z" msg="Finished loading users" /user time="2026-09-17T09:51:39Z" msg="Starting receiver service" time="2026-09-17T09:51:39Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/174/config2960689072/grpcServerConfig.json time="2026-09-17T09:51:39Z" msg="gRPC server listening on /tmp/bridge8222" time="2026-09-17T09:51:39Z" msg="Frontend service started" time="2026-09-17T09:51:39Z" msg="Starting frontend client" time="2026-09-17T09:51:39Z" msg="Not monitoring parent PID" time="2026-09-17T09:51:39Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:51:39Z" msg="Frontend client started" time="2026-09-17T09:51:39Z" msg="Performing full user login" /user username="******** (ef777a0e)" time="2026-09-17T09:51:39Z" msg="Authorizing user for login" /user username="******** (ef777a0e)" time="2026-09-17T09:51:39Z" msg="200 OK: GET https://127.0.0.1:42021/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:51:39Z" msg="200 OK: POST https://127.0.0.1:42021/auth/v4/info" /manager time="2026-09-17T09:51:40Z" msg="200 OK: POST https://127.0.0.1:42021/auth/v4" /manager time="2026-09-17T09:51:40Z" msg="Logging in authorized user" /user userID=309ad832-eb47-4594-bd41-1857f854736f time="2026-09-17T09:51:40Z" msg="Adding vault user" userID=309ad832-eb47-4594-bd41-1857f854736f time="2026-09-17T09:51:40Z" msg="Creating new user" userID=309ad832-eb47-4594-bd41-1857f854736f time="2026-09-17T09:51:40Z" msg="404 GET https://127.0.0.1:42021/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:51:40Z" msg="404 GET https://127.0.0.1:42021/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:51:40Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:42021/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:51:40Z" msg="Creating user object" authUID=a1edb619-056b-4189-986b-93f7b32c994b numA numL userID=309ad832-eb47-4594-bd41-1857f854736f time="2026-09-17T09:51:40Z" msg="200 OK: GET https://127.0.0.1:42021/core/v4/events/latest" /client userID=309ad832-eb47-4594-bd41-1857f854736f time="2026-09-17T09:51:40Z" msg="Starting service Last EventID=Ag==" time="2026-09-17T09:51:40Z" msg="200 OK: GET https://127.0.0.1:42021/core/v4/settings" /client userID=309ad832-eb47-4594-bd41-1857f854736f time="2026-09-17T09:51:40Z" msg="Registering user client, ID:309ad832-eb47-4594-bd41-1857f854736f" time="2026-09-17T09:51:40Z" msg="Starting service main loop" time="2026-09-17T09:51:40Z" msg="Starting service main loop" time="2026-09-17T09:51:40Z" msg="Starting user identity service" numA time="2026-09-17T09:51:40Z" msg="Starting service main loop" time="2026-09-17T09:51:40Z" msg="200 OK: GET https://127.0.0.1:42021/core/v4/labels?T" /client userID=309ad832-eb47-4594-bd41-1857f854736f time="2026-09-17T09:51:40Z" msg="200 OK: GET https://127.0.0.1:42021/core/v4/labels?T" /client userID=309ad832-eb47-4594-bd41-1857f854736f time="2026-09-17T09:51:40Z" msg="200 OK: GET https://127.0.0.1:42021/core/v4/labels?T" /client userID=309ad832-eb47-4594-bd41-1857f854736f time="2026-09-17T09:51:40Z" msg="Setting labels" labelIDs="[0 2 4 6 8 12 1 3 5 7 9 10]" time="2026-09-17T09:51:40Z" msg="Adding user to imap server" addrID=079c3531-8cc2-4266-91eb-5fa5bdd91470 time="2026-09-17T09:51:40Z" msg="Creating new IMAP user" addrID=079c3531-8cc2-4266-91eb-5fa5bdd91470 time="2026-09-17T09:51:40Z" msg="Setting gluon ID" addrID=079c3531-8cc2-4266-91eb-5fa5bdd91470 gluonID=11a21fc2-3883-40ba-903d-f3e477091da7 userID=309ad832-eb47-4594-bd41-1857f854736f time="2026-09-17T09:51:40Z" msg="Received mailbox message count" gluonID=11a21fc2-3883-40ba-903d-f3e477091da7 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:51:40Z" msg="Created new IMAP user" addrID=079c3531-8cc2-4266-91eb-5fa5bdd91470 gluonID=11a21fc2-3883-40ba-903d-f3e477091da7 time="2026-09-17T09:51:40Z" msg="Validating Listener State" time="2026-09-17T09:51:40Z" time="2026-09-17T09:51:40Z" msg="Checking whether logged in user should re-sync. UserID:309ad832-eb47-4594-bd41-1857f854736f" userID=309ad832-eb47-4594-bd41-1857f854736f time="2026-09-17T09:51:40Z" msg="Starting IMAP Service" time="2026-09-17T09:51:40Z" msg="Sync triggered" time="2026-09-17T09:51:40Z" msg="Beginning user sync" start="2026-09-17 09:51:40.192884217 +0000 UTC m=+388.685186513" time="2026-09-17T09:51:40Z" msg="Performing full user login" /user username="******** (ad08cff7)" time="2026-09-17T09:51:40Z" msg="Authorizing user for login" /user username="******** (ad08cff7)" time="2026-09-17T09:51:40Z" msg="Syncing labels" time="2026-09-17T09:51:40Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=11a21fc2-3883-40ba-903d-f3e477091da7 time="2026-09-17T09:51:40Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=11a21fc2-3883-40ba-903d-f3e477091da7 time="2026-09-17T09:51:40Z" msg="Mailbox created" /user remoteMailboxID=6 userID=11a21fc2-3883-40ba-903d-f3e477091da7 time="2026-09-17T09:51:40Z" msg="Mailbox created" /user remoteMailboxID=8 userID=11a21fc2-3883-40ba-903d-f3e477091da7 time="2026-09-17T09:51:40Z" msg="Mailbox created" /user remoteMailboxID=3 userID=11a21fc2-3883-40ba-903d-f3e477091da7 time="2026-09-17T09:51:40Z" msg="Mailbox created" /user remoteMailboxID=10 userID=11a21fc2-3883-40ba-903d-f3e477091da7 time="2026-09-17T09:51:40Z" msg="Mailbox created" /user remoteMailboxID=0 userID=11a21fc2-3883-40ba-903d-f3e477091da7 time="2026-09-17T09:51:40Z" msg="Mailbox created" /user remoteMailboxID=4 userID=11a21fc2-3883-40ba-903d-f3e477091da7 time="2026-09-17T09:51:40Z" msg="Mailbox created" /user remoteMailboxID=12 userID=11a21fc2-3883-40ba-903d-f3e477091da7 time="2026-09-17T09:51:40Z" msg="Mailbox created" /user remoteMailboxID=5 userID=11a21fc2-3883-40ba-903d-f3e477091da7 time="2026-09-17T09:51:40Z" msg="Mailbox created" /user remoteMailboxID=7 userID=11a21fc2-3883-40ba-903d-f3e477091da7 time="2026-09-17T09:51:40Z" msg="Synced labels" time="2026-09-17T09:51:40Z" msg="200 OK: GET https://127.0.0.1:42021/mail/v4/messages/count" /client userID=309ad832-eb47-4594-bd41-1857f854736f time="2026-09-17T09:51:40Z" msg="200 OK: POST https://127.0.0.1:42021/auth/v4/info" /manager time="2026-09-17T09:51:40Z" msg="Syncing messages" time="2026-09-17T09:51:40Z" msg="Job started" time="2026-09-17T09:51:40Z" msg="200 OK: POST https://127.0.0.1:42021/mail/v4/messages" /client userID=309ad832-eb47-4594-bd41-1857f854736f time="2026-09-17T09:51:40Z" msg="Job finished" time="2026-09-17T09:51:40Z" msg="All child jobs completed" sync- time="2026-09-17T09:51:40Z" msg="Synced messages" time="2026-09-17T09:51:40Z" msg="Finished user sync" .83788ms time="2026-09-17T09:51:40Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:51:40Z" msg="Event loop reset" eventID="Ag==" time="2026-09-17T09:51:40Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 3} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:51:40Z" msg="200 OK: POST https://127.0.0.1:42021/auth/v4" /manager time="2026-09-17T09:51:40Z" msg="Logging in authorized user" /user userID=862a6e27-fecb-4003-b00c-496a236ebebb time="2026-09-17T09:51:40Z" msg="Adding vault user" userID=862a6e27-fecb-4003-b00c-496a236ebebb time="2026-09-17T09:51:40Z" msg="Creating new user" userID=862a6e27-fecb-4003-b00c-496a236ebebb time="2026-09-17T09:51:40Z" msg="404 GET https://127.0.0.1:42021/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:51:40Z" msg="404 GET https://127.0.0.1:42021/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:51:40Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:42021/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:51:40Z" msg="Creating user object" authUID=c3ab13a3-c1c4-4a97-8665-0a81ac152271 numA numL userID=862a6e27-fecb-4003-b00c-496a236ebebb time="2026-09-17T09:51:40Z" msg="200 OK: GET https://127.0.0.1:42021/core/v4/events/latest" /client userID=862a6e27-fecb-4003-b00c-496a236ebebb time="2026-09-17T09:51:40Z" msg="Starting service Last EventID=AQ==" time="2026-09-17T09:51:40Z" msg="200 OK: GET https://127.0.0.1:42021/core/v4/settings" /client userID=862a6e27-fecb-4003-b00c-496a236ebebb time="2026-09-17T09:51:40Z" msg="Registering user client, ID:862a6e27-fecb-4003-b00c-496a236ebebb" time="2026-09-17T09:51:40Z" msg="Starting service main loop" time="2026-09-17T09:51:40Z" msg="Starting user identity service" numA time="2026-09-17T09:51:40Z" msg="Starting service main loop" time="2026-09-17T09:51:40Z" msg="Starting service main loop" time="2026-09-17T09:51:40Z" msg="200 OK: GET https://127.0.0.1:42021/core/v4/labels?T" /client userID=862a6e27-fecb-4003-b00c-496a236ebebb time="2026-09-17T09:51:40Z" msg="200 OK: GET https://127.0.0.1:42021/core/v4/labels?T" /client userID=862a6e27-fecb-4003-b00c-496a236ebebb time="2026-09-17T09:51:40Z" msg="200 OK: GET https://127.0.0.1:42021/core/v4/labels?T" /client userID=862a6e27-fecb-4003-b00c-496a236ebebb time="2026-09-17T09:51:40Z" msg="Setting labels" labelIDs="[1 3 8 12 0 2 4 5 6 7 9 10]" time="2026-09-17T09:51:40Z" msg="Adding user to imap server" addrID=20052028-de9f-4f04-a71e-0a42b9080bfd time="2026-09-17T09:51:40Z" msg="Creating new IMAP user" addrID=20052028-de9f-4f04-a71e-0a42b9080bfd time="2026-09-17T09:51:40Z" msg="Setting gluon ID" addrID=20052028-de9f-4f04-a71e-0a42b9080bfd gluonID=6d2881bb-347c-433f-b9b4-05c4f1bcf406 userID=862a6e27-fecb-4003-b00c-496a236ebebb time="2026-09-17T09:51:40Z" msg="Received mailbox message count" gluonID=6d2881bb-347c-433f-b9b4-05c4f1bcf406 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:51:40Z" msg="Created new IMAP user" addrID=20052028-de9f-4f04-a71e-0a42b9080bfd gluonID=6d2881bb-347c-433f-b9b4-05c4f1bcf406 time="2026-09-17T09:51:40Z" msg="Validating Listener State" time="2026-09-17T09:51:40Z" time="2026-09-17T09:51:40Z" msg="Checking whether logged in user should re-sync. UserID:862a6e27-fecb-4003-b00c-496a236ebebb" userID=862a6e27-fecb-4003-b00c-496a236ebebb time="2026-09-17T09:51:40Z" msg="Starting IMAP Service" time="2026-09-17T09:51:40Z" msg="Sync triggered" time="2026-09-17T09:51:40Z" msg="Beginning user sync" start="2026-09-17 09:51:40.626483027 +0000 UTC m=+389.118785403" time="2026-09-17T09:51:40Z" msg="Syncing labels" time="2026-09-17T09:51:40Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=6d2881bb-347c-433f-b9b4-05c4f1bcf406 time="2026-09-17T09:51:40Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=6d2881bb-347c-433f-b9b4-05c4f1bcf406 time="2026-09-17T09:51:40Z" msg="Mailbox created" /user remoteMailboxID=12 userID=6d2881bb-347c-433f-b9b4-05c4f1bcf406 time="2026-09-17T09:51:40Z" msg="Mailbox created" /user remoteMailboxID=10 userID=6d2881bb-347c-433f-b9b4-05c4f1bcf406 time="2026-09-17T09:51:40Z" msg="Mailbox created" /user remoteMailboxID=0 userID=6d2881bb-347c-433f-b9b4-05c4f1bcf406 time="2026-09-17T09:51:40Z" msg="Mailbox created" /user remoteMailboxID=4 userID=6d2881bb-347c-433f-b9b4-05c4f1bcf406 time="2026-09-17T09:51:40Z" msg="Mailbox created" /user remoteMailboxID=5 userID=6d2881bb-347c-433f-b9b4-05c4f1bcf406 time="2026-09-17T09:51:40Z" msg="Mailbox created" /user remoteMailboxID=6 userID=6d2881bb-347c-433f-b9b4-05c4f1bcf406 time="2026-09-17T09:51:40Z" msg="Mailbox created" /user remoteMailboxID=7 userID=6d2881bb-347c-433f-b9b4-05c4f1bcf406 time="2026-09-17T09:51:40Z" msg="Mailbox created" /user remoteMailboxID=3 userID=6d2881bb-347c-433f-b9b4-05c4f1bcf406 time="2026-09-17T09:51:40Z" msg="Mailbox created" /user remoteMailboxID=8 userID=6d2881bb-347c-433f-b9b4-05c4f1bcf406 time="2026-09-17T09:51:40Z" msg="Synced labels" time="2026-09-17T09:51:40Z" msg="200 OK: GET https://127.0.0.1:42021/mail/v4/messages/count" /client userID=862a6e27-fecb-4003-b00c-496a236ebebb time="2026-09-17T09:51:40Z" msg="Syncing messages" time="2026-09-17T09:51:40Z" msg="Job started" time="2026-09-17T09:51:40Z" msg="200 OK: POST https://127.0.0.1:42021/mail/v4/messages" /client userID=862a6e27-fecb-4003-b00c-496a236ebebb time="2026-09-17T09:51:40Z" msg="Job finished" time="2026-09-17T09:51:40Z" msg="All child jobs completed" sync- time="2026-09-17T09:51:40Z" msg="Synced messages" time="2026-09-17T09:51:40Z" msg="Finished user sync" .326961ms time="2026-09-17T09:51:40Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:51:40Z" msg="Event loop reset" eventID="AQ==" Scenario: User agent with only SMTP client connected # features/smtp/auth.feature:16 Then the user agent is "NoClient/0.0.1 (linux)" # :1 -> *scenario When user "d5567858-f8e2-4773-b7dc-8714c9d1addf" connects SMTP client "1" # :1 -> *scenario Then SMTP client "1" can authenticate # :1 -> *scenario time="2026-09-17T09:51:40Z" msg="Frontend service stopped" time="2026-09-17T09:51:40Z" msg="Frontend client stopped" time="2026-09-17T09:51:40Z" msg="Closing bridge" time="2026-09-17T09:51:40Z" msg="Stopping service" time="2026-09-17T09:51:40Z" msg="Closing user" userID=862a6e27-fecb-4003-b00c-496a236ebebb time="2026-09-17T09:51:40Z" msg="De-registering user client, ID:862a6e27-fecb-4003-b00c-496a236ebebb" time="2026-09-17T09:51:40Z" msg="Exiting IMAP Service" time="2026-09-17T09:51:40Z" msg="Exiting service main loop" time="2026-09-17T09:51:40Z" msg="Exiting service main loop" time="2026-09-17T09:51:40Z" msg="Exiting Service" time="2026-09-17T09:51:40Z" msg="Exiting service main loop" time="2026-09-17T09:51:40Z" msg="Exiting service" time="2026-09-17T09:51:40Z" msg="Closing user" userID=309ad832-eb47-4594-bd41-1857f854736f time="2026-09-17T09:51:40Z" msg="De-registering user client, ID:309ad832-eb47-4594-bd41-1857f854736f" time="2026-09-17T09:51:40Z" msg="Exiting IMAP Service" time="2026-09-17T09:51:40Z" msg="Exiting service main loop" time="2026-09-17T09:51:40Z" msg="Exiting service main loop" time="2026-09-17T09:51:40Z" msg="Exiting Service" time="2026-09-17T09:51:40Z" msg="Exiting service main loop" time="2026-09-17T09:51:40Z" msg="Exiting service" time="2026-09-17T09:51:40Z" msg="Closing IMAP Listener" time="2026-09-17T09:51:40Z" msg="Closing IMAP server" time="2026-09-17T09:51:40Z" msg="Closing SMTP Listener" time="2026-09-17T09:51:40Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:51:40Z" msg="Closing SMTP server" time="2026-09-17T09:51:40Z" msg="Closing service" Then the user agent is "UnknownClient/0.0.1 (linux)" # :1 -> *scenario time="2026-09-17T09:51:41Z" msg="User '8fbfc771-1f75-42db-9e41-7220771b0873' created with " /server/backend time="2026-09-17T09:51:41Z" msg="User 'faac8647-f047-4bf9-b224-60ecf03cfd5c' created with " /server/backend time="2026-09-17T09:51:42Z" msg="Starting bridge" time="2026-09-17T09:51:42Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/175/config3951851750/grpcFocusServerConfig.json /service time="2026-09-17T09:51:42Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/175/cache1494172538/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:51:42Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/175/cache1494172538/notifications/notification_cache: no such file or directory" time="2026-09-17T09:51:42Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/175/data1258232392/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/175/data1258232392/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:51:42Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:51:42Z" msg="Starting IMAP server" time="2026-09-17T09:51:42Z" msg="Starting SMTP server" time="2026-09-17T09:51:42Z" msg="Starting service" time="2026-09-17T09:51:42Z" msg="Starting service" time="2026-09-17T09:51:42Z" msg="Starting receiver service" time="2026-09-17T09:51:42Z" msg="Starting poll service" time="2026-09-17T09:51:42Z" msg="Checking for updates" time="2026-09-17T09:51:42Z" msg="Loading users" /user time="2026-09-17T09:51:42Z" msg="Starting frontend service" time="2026-09-17T09:51:42Z" msg="Finished loading users" /user time="2026-09-17T09:51:42Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/175/config3951851750/grpcServerConfig.json time="2026-09-17T09:51:42Z" msg="gRPC server listening on /tmp/bridge7246" time="2026-09-17T09:51:42Z" msg="Frontend service started" time="2026-09-17T09:51:42Z" msg="Starting frontend client" time="2026-09-17T09:51:42Z" msg="Not monitoring parent PID" time="2026-09-17T09:51:42Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:51:42Z" msg="200 OK: GET https://127.0.0.1:42673/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:51:42Z" msg="Frontend client started" time="2026-09-17T09:51:42Z" msg="Performing full user login" /user username="******** (3df92f16)" time="2026-09-17T09:51:42Z" msg="Authorizing user for login" /user username="******** (3df92f16)" time="2026-09-17T09:51:42Z" msg="200 OK: POST https://127.0.0.1:42673/auth/v4/info" /manager time="2026-09-17T09:51:42Z" msg="200 OK: POST https://127.0.0.1:42673/auth/v4" /manager time="2026-09-17T09:51:42Z" msg="Logging in authorized user" /user userID=4e8cad78-8a1f-42ec-9e14-b710ac12a421 time="2026-09-17T09:51:42Z" msg="Adding vault user" userID=4e8cad78-8a1f-42ec-9e14-b710ac12a421 time="2026-09-17T09:51:42Z" msg="Creating new user" userID=4e8cad78-8a1f-42ec-9e14-b710ac12a421 time="2026-09-17T09:51:42Z" msg="404 GET https://127.0.0.1:42673/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:51:42Z" msg="404 GET https://127.0.0.1:42673/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:51:42Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:42673/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:51:42Z" msg="Creating user object" authUID=4170f879-33f7-414d-b50a-1bf89eeaf715 numA numL userID=4e8cad78-8a1f-42ec-9e14-b710ac12a421 time="2026-09-17T09:51:42Z" msg="200 OK: GET https://127.0.0.1:42673/core/v4/events/latest" /client userID=4e8cad78-8a1f-42ec-9e14-b710ac12a421 time="2026-09-17T09:51:42Z" msg="Starting service Last EventID=Ag==" time="2026-09-17T09:51:42Z" msg="200 OK: GET https://127.0.0.1:42673/core/v4/settings" /client userID=4e8cad78-8a1f-42ec-9e14-b710ac12a421 time="2026-09-17T09:51:42Z" msg="Registering user client, ID:4e8cad78-8a1f-42ec-9e14-b710ac12a421" time="2026-09-17T09:51:42Z" msg="Starting user identity service" numA time="2026-09-17T09:51:42Z" msg="Starting service main loop" time="2026-09-17T09:51:42Z" msg="Starting service main loop" time="2026-09-17T09:51:42Z" msg="Starting service main loop" time="2026-09-17T09:51:42Z" msg="200 OK: GET https://127.0.0.1:42673/core/v4/labels?T" /client userID=4e8cad78-8a1f-42ec-9e14-b710ac12a421 time="2026-09-17T09:51:42Z" msg="200 OK: GET https://127.0.0.1:42673/core/v4/labels?T" /client userID=4e8cad78-8a1f-42ec-9e14-b710ac12a421 time="2026-09-17T09:51:42Z" msg="200 OK: GET https://127.0.0.1:42673/core/v4/labels?T" /client userID=4e8cad78-8a1f-42ec-9e14-b710ac12a421 time="2026-09-17T09:51:42Z" msg="Setting labels" labelIDs="[8 9 12 2 6 7 10 0 1 3 4 5]" time="2026-09-17T09:51:42Z" msg="Adding user to imap server" addrID=9a8263ee-6642-4a9f-a892-da3b1f5c2249 time="2026-09-17T09:51:42Z" msg="Creating new IMAP user" addrID=9a8263ee-6642-4a9f-a892-da3b1f5c2249 time="2026-09-17T09:51:42Z" msg="Setting gluon ID" addrID=9a8263ee-6642-4a9f-a892-da3b1f5c2249 gluonID=b0b735a3-f2b7-44dd-91fc-97518e2377ad userID=4e8cad78-8a1f-42ec-9e14-b710ac12a421 time="2026-09-17T09:51:42Z" msg="Received mailbox message count" gluonID=b0b735a3-f2b7-44dd-91fc-97518e2377ad labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:51:42Z" msg="Created new IMAP user" addrID=9a8263ee-6642-4a9f-a892-da3b1f5c2249 gluonID=b0b735a3-f2b7-44dd-91fc-97518e2377ad time="2026-09-17T09:51:42Z" msg="Validating Listener State" time="2026-09-17T09:51:42Z" time="2026-09-17T09:51:42Z" msg="Starting IMAP Service" time="2026-09-17T09:51:42Z" msg="Checking whether logged in user should re-sync. UserID:4e8cad78-8a1f-42ec-9e14-b710ac12a421" userID=4e8cad78-8a1f-42ec-9e14-b710ac12a421 time="2026-09-17T09:51:42Z" msg="Sync triggered" time="2026-09-17T09:51:42Z" msg="Beginning user sync" start="2026-09-17 09:51:42.9798651 +0000 UTC m=+391.472167396" time="2026-09-17T09:51:42Z" msg="Performing full user login" /user username="******** (609674bc)" time="2026-09-17T09:51:42Z" msg="Authorizing user for login" /user username="******** (609674bc)" time="2026-09-17T09:51:42Z" msg="Syncing labels" time="2026-09-17T09:51:42Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=b0b735a3-f2b7-44dd-91fc-97518e2377ad time="2026-09-17T09:51:42Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=b0b735a3-f2b7-44dd-91fc-97518e2377ad time="2026-09-17T09:51:42Z" msg="Mailbox created" /user remoteMailboxID=6 userID=b0b735a3-f2b7-44dd-91fc-97518e2377ad time="2026-09-17T09:51:42Z" msg="Mailbox created" /user remoteMailboxID=7 userID=b0b735a3-f2b7-44dd-91fc-97518e2377ad time="2026-09-17T09:51:42Z" msg="Mailbox created" /user remoteMailboxID=5 userID=b0b735a3-f2b7-44dd-91fc-97518e2377ad time="2026-09-17T09:51:42Z" msg="Mailbox created" /user remoteMailboxID=10 userID=b0b735a3-f2b7-44dd-91fc-97518e2377ad time="2026-09-17T09:51:42Z" msg="Mailbox created" /user remoteMailboxID=0 userID=b0b735a3-f2b7-44dd-91fc-97518e2377ad time="2026-09-17T09:51:42Z" msg="Mailbox created" /user remoteMailboxID=3 userID=b0b735a3-f2b7-44dd-91fc-97518e2377ad time="2026-09-17T09:51:42Z" msg="Mailbox created" /user remoteMailboxID=4 userID=b0b735a3-f2b7-44dd-91fc-97518e2377ad time="2026-09-17T09:51:42Z" msg="Mailbox created" /user remoteMailboxID=8 userID=b0b735a3-f2b7-44dd-91fc-97518e2377ad time="2026-09-17T09:51:42Z" msg="Mailbox created" /user remoteMailboxID=12 userID=b0b735a3-f2b7-44dd-91fc-97518e2377ad time="2026-09-17T09:51:42Z" msg="Synced labels" time="2026-09-17T09:51:42Z" msg="200 OK: POST https://127.0.0.1:42673/auth/v4/info" /manager time="2026-09-17T09:51:42Z" msg="200 OK: GET https://127.0.0.1:42673/mail/v4/messages/count" /client userID=4e8cad78-8a1f-42ec-9e14-b710ac12a421 time="2026-09-17T09:51:42Z" msg="Syncing messages" time="2026-09-17T09:51:42Z" msg="Job started" time="2026-09-17T09:51:42Z" msg="200 OK: POST https://127.0.0.1:42673/mail/v4/messages" /client userID=4e8cad78-8a1f-42ec-9e14-b710ac12a421 time="2026-09-17T09:51:42Z" msg="Job finished" time="2026-09-17T09:51:42Z" msg="All child jobs completed" sync- time="2026-09-17T09:51:42Z" msg="Synced messages" time="2026-09-17T09:51:42Z" msg="Finished user sync" .183036ms time="2026-09-17T09:51:42Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:51:42Z" msg="Event loop reset" eventID="Ag==" time="2026-09-17T09:51:43Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 5} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:51:43Z" msg="200 OK: POST https://127.0.0.1:42673/auth/v4" /manager time="2026-09-17T09:51:43Z" msg="Logging in authorized user" /user userID=938801cf-dff6-4b7c-8a1a-96370dfab033 time="2026-09-17T09:51:43Z" msg="Adding vault user" userID=938801cf-dff6-4b7c-8a1a-96370dfab033 time="2026-09-17T09:51:43Z" msg="Creating new user" userID=938801cf-dff6-4b7c-8a1a-96370dfab033 time="2026-09-17T09:51:43Z" msg="404 GET https://127.0.0.1:42673/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:51:43Z" msg="404 GET https://127.0.0.1:42673/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:51:43Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:42673/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:51:43Z" msg="Creating user object" authUID=e4e77e87-c2fd-4ff6-b2a3-239896180ac4 numA numL userID=938801cf-dff6-4b7c-8a1a-96370dfab033 time="2026-09-17T09:51:43Z" msg="200 OK: GET https://127.0.0.1:42673/core/v4/events/latest" /client userID=938801cf-dff6-4b7c-8a1a-96370dfab033 time="2026-09-17T09:51:43Z" msg="Starting service Last EventID=AQ==" time="2026-09-17T09:51:43Z" msg="200 OK: GET https://127.0.0.1:42673/core/v4/settings" /client userID=938801cf-dff6-4b7c-8a1a-96370dfab033 time="2026-09-17T09:51:43Z" msg="Registering user client, ID:938801cf-dff6-4b7c-8a1a-96370dfab033" time="2026-09-17T09:51:43Z" msg="Starting user identity service" numA time="2026-09-17T09:51:43Z" msg="Starting service main loop" time="2026-09-17T09:51:43Z" msg="Starting service main loop" time="2026-09-17T09:51:43Z" msg="Starting service main loop" time="2026-09-17T09:51:43Z" msg="200 OK: GET https://127.0.0.1:42673/core/v4/labels?T" /client userID=938801cf-dff6-4b7c-8a1a-96370dfab033 time="2026-09-17T09:51:43Z" msg="200 OK: GET https://127.0.0.1:42673/core/v4/labels?T" /client userID=938801cf-dff6-4b7c-8a1a-96370dfab033 time="2026-09-17T09:51:43Z" msg="200 OK: GET https://127.0.0.1:42673/core/v4/labels?T" /client userID=938801cf-dff6-4b7c-8a1a-96370dfab033 time="2026-09-17T09:51:43Z" msg="Setting labels" labelIDs="[7 8 10 12 2 3 4 6 9 0 1 5]" time="2026-09-17T09:51:43Z" msg="Adding user to imap server" addrID=517858cf-4eea-4400-9676-f4fbfea13d52 time="2026-09-17T09:51:43Z" msg="Creating new IMAP user" addrID=517858cf-4eea-4400-9676-f4fbfea13d52 time="2026-09-17T09:51:43Z" msg="Setting gluon ID" addrID=517858cf-4eea-4400-9676-f4fbfea13d52 gluonID=948faf43-2044-4e16-9209-4dee39032d10 userID=938801cf-dff6-4b7c-8a1a-96370dfab033 time="2026-09-17T09:51:43Z" msg="Received mailbox message count" gluonID=948faf43-2044-4e16-9209-4dee39032d10 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:51:43Z" msg="Created new IMAP user" addrID=517858cf-4eea-4400-9676-f4fbfea13d52 gluonID=948faf43-2044-4e16-9209-4dee39032d10 time="2026-09-17T09:51:43Z" msg="Validating Listener State" time="2026-09-17T09:51:43Z" time="2026-09-17T09:51:43Z" msg="Starting IMAP Service" time="2026-09-17T09:51:43Z" msg="Checking whether logged in user should re-sync. UserID:938801cf-dff6-4b7c-8a1a-96370dfab033" userID=938801cf-dff6-4b7c-8a1a-96370dfab033 time="2026-09-17T09:51:43Z" msg="Sync triggered" time="2026-09-17T09:51:43Z" msg="Beginning user sync" start="2026-09-17 09:51:43.419047574 +0000 UTC m=+391.911349910" Scenario: SMTP client cannot authenticate with wrong username # features/smtp/auth.feature:22 When user "8fbfc771-1f75-42db-9e41-7220771b0873" connects SMTP client "1" # :1 -> *scenario time="2026-09-17T09:51:43Z" msg="Syncing labels" time="2026-09-17T09:51:43Z" msg="Failed to close SMTP client" error="close tcp 127.0.0.1:35546->127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:51:43Z" msg="Frontend service stopped" time="2026-09-17T09:51:43Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=948faf43-2044-4e16-9209-4dee39032d10 time="2026-09-17T09:51:43Z" msg="Frontend client stopped" time="2026-09-17T09:51:43Z" msg="Closing bridge" time="2026-09-17T09:51:43Z" msg="Stopping service" time="2026-09-17T09:51:43Z" msg="Closing user" userID=4e8cad78-8a1f-42ec-9e14-b710ac12a421 time="2026-09-17T09:51:43Z" msg="De-registering user client, ID:4e8cad78-8a1f-42ec-9e14-b710ac12a421" time="2026-09-17T09:51:43Z" msg="Exiting IMAP Service" time="2026-09-17T09:51:43Z" msg="Exiting service main loop" time="2026-09-17T09:51:43Z" msg="Exiting service main loop" time="2026-09-17T09:51:43Z" msg="Exiting Service" time="2026-09-17T09:51:43Z" msg="Exiting service main loop" time="2026-09-17T09:51:43Z" msg="Exiting service" time="2026-09-17T09:51:43Z" msg="Closing user" userID=938801cf-dff6-4b7c-8a1a-96370dfab033 time="2026-09-17T09:51:43Z" msg="De-registering user client, ID:938801cf-dff6-4b7c-8a1a-96370dfab033" time="2026-09-17T09:51:43Z" msg="Synced labels" time="2026-09-17T09:51:43Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=948faf43-2044-4e16-9209-4dee39032d10 time="2026-09-17T09:51:43Z" msg="Get \"https://127.0.0.1:42673/mail/v4/messages/count\": context canceled, Attempt 1" /client time="2026-09-17T09:51:43Z" msg="Get \"https://127.0.0.1:42673/mail/v4/messages/count\": context canceled" /client time="2026-09-17T09:51:43Z" msg="Failed to sync, will retry later" error="failed to retrieve message ids: received no response from API: Get \"https://127.0.0.1:42673/mail/v4/messages/count\": context canceled" time="2026-09-17T09:51:43Z" msg="Sync aborted" error="context canceled" time="2026-09-17T09:51:43Z" msg="Finished user sync" .756532ms time="2026-09-17T09:51:43Z" msg="Exiting IMAP Service" time="2026-09-17T09:51:43Z" msg="Exiting service main loop" time="2026-09-17T09:51:43Z" msg="Exiting service main loop" time="2026-09-17T09:51:43Z" msg="Exiting Service" time="2026-09-17T09:51:43Z" msg="Exiting service main loop" time="2026-09-17T09:51:43Z" msg="Exiting service" time="2026-09-17T09:51:43Z" msg="Closing IMAP Listener" time="2026-09-17T09:51:43Z" msg="Closing IMAP server" time="2026-09-17T09:51:43Z" msg="Mailbox created" /user remoteMailboxID=0 userID=948faf43-2044-4e16-9209-4dee39032d10 time="2026-09-17T09:51:43Z" msg="Closing SMTP Listener" time="2026-09-17T09:51:43Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:51:43Z" msg="Closing SMTP server" time="2026-09-17T09:51:43Z" msg="Closing service" Then SMTP client "1" cannot authenticate with incorrect username # :1 -> *scenario time="2026-09-17T09:51:43Z" msg="User 'ebd92a9f-32f7-48c9-8f62-04047a00c026' created with " /server/backend time="2026-09-17T09:51:44Z" msg="User 'e297a96d-2316-4e35-9c99-91bee61546fa' created with " /server/backend time="2026-09-17T09:51:45Z" msg="Starting bridge" time="2026-09-17T09:51:45Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/176/config913088644/grpcFocusServerConfig.json /service time="2026-09-17T09:51:45Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/176/cache1385004915/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:51:45Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/176/cache1385004915/notifications/notification_cache: no such file or directory" time="2026-09-17T09:51:45Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/176/data1618347987/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/176/data1618347987/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:51:45Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:51:45Z" msg="Starting IMAP server" time="2026-09-17T09:51:45Z" msg="Starting SMTP server" time="2026-09-17T09:51:45Z" msg="Starting service" time="2026-09-17T09:51:45Z" msg="Starting service" time="2026-09-17T09:51:45Z" msg="Starting receiver service" time="2026-09-17T09:51:45Z" msg="Starting frontend service" time="2026-09-17T09:51:45Z" msg="Starting poll service" time="2026-09-17T09:51:45Z" msg="Loading users" /user time="2026-09-17T09:51:45Z" msg="Finished loading users" /user time="2026-09-17T09:51:45Z" msg="Checking for updates" time="2026-09-17T09:51:45Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/176/config913088644/grpcServerConfig.json time="2026-09-17T09:51:45Z" msg="gRPC server listening on /tmp/bridge5563" time="2026-09-17T09:51:45Z" msg="Frontend service started" time="2026-09-17T09:51:45Z" msg="Starting frontend client" time="2026-09-17T09:51:45Z" msg="Not monitoring parent PID" time="2026-09-17T09:51:45Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:51:45Z" msg="200 OK: GET https://127.0.0.1:39547/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:51:45Z" msg="Frontend client started" time="2026-09-17T09:51:45Z" msg="Performing full user login" /user username="******** (e36a3630)" time="2026-09-17T09:51:45Z" msg="Authorizing user for login" /user username="******** (e36a3630)" time="2026-09-17T09:51:45Z" msg="200 OK: POST https://127.0.0.1:39547/auth/v4/info" /manager time="2026-09-17T09:51:45Z" msg="200 OK: POST https://127.0.0.1:39547/auth/v4" /manager time="2026-09-17T09:51:45Z" msg="Logging in authorized user" /user userID=127a1d66-e971-407d-bc16-cb7a9c8584d7 time="2026-09-17T09:51:45Z" msg="Adding vault user" userID=127a1d66-e971-407d-bc16-cb7a9c8584d7 time="2026-09-17T09:51:45Z" msg="Creating new user" userID=127a1d66-e971-407d-bc16-cb7a9c8584d7 time="2026-09-17T09:51:45Z" msg="404 GET https://127.0.0.1:39547/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:51:45Z" msg="404 GET https://127.0.0.1:39547/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:51:45Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:39547/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:51:45Z" msg="Creating user object" authUID=2e01e97c-5411-4a3c-92c9-31e63c94456c numA numL userID=127a1d66-e971-407d-bc16-cb7a9c8584d7 time="2026-09-17T09:51:45Z" msg="200 OK: GET https://127.0.0.1:39547/core/v4/events/latest" /client userID=127a1d66-e971-407d-bc16-cb7a9c8584d7 time="2026-09-17T09:51:45Z" msg="Starting service Last EventID=Ag==" time="2026-09-17T09:51:45Z" msg="200 OK: GET https://127.0.0.1:39547/core/v4/settings" /client userID=127a1d66-e971-407d-bc16-cb7a9c8584d7 time="2026-09-17T09:51:45Z" msg="Registering user client, ID:127a1d66-e971-407d-bc16-cb7a9c8584d7" time="2026-09-17T09:51:45Z" msg="Starting user identity service" numA time="2026-09-17T09:51:45Z" msg="Starting service main loop" time="2026-09-17T09:51:45Z" msg="Starting service main loop" time="2026-09-17T09:51:45Z" msg="Starting service main loop" time="2026-09-17T09:51:45Z" msg="200 OK: GET https://127.0.0.1:39547/core/v4/labels?T" /client userID=127a1d66-e971-407d-bc16-cb7a9c8584d7 time="2026-09-17T09:51:45Z" msg="200 OK: GET https://127.0.0.1:39547/core/v4/labels?T" /client userID=127a1d66-e971-407d-bc16-cb7a9c8584d7 time="2026-09-17T09:51:45Z" msg="200 OK: GET https://127.0.0.1:39547/core/v4/labels?T" /client userID=127a1d66-e971-407d-bc16-cb7a9c8584d7 time="2026-09-17T09:51:45Z" msg="Setting labels" labelIDs="[0 1 4 5 9 10 12 2 3 6 7 8]" time="2026-09-17T09:51:45Z" msg="Adding user to imap server" addrID=e5abc2b4-f732-4d80-b898-c76846520137 time="2026-09-17T09:51:45Z" msg="Creating new IMAP user" addrID=e5abc2b4-f732-4d80-b898-c76846520137 time="2026-09-17T09:51:45Z" msg="Setting gluon ID" addrID=e5abc2b4-f732-4d80-b898-c76846520137 gluonID=171d3daa-d313-48f6-996d-9efa8813bb6d userID=127a1d66-e971-407d-bc16-cb7a9c8584d7 time="2026-09-17T09:51:45Z" msg="Received mailbox message count" gluonID=171d3daa-d313-48f6-996d-9efa8813bb6d labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:51:45Z" msg="Created new IMAP user" addrID=e5abc2b4-f732-4d80-b898-c76846520137 gluonID=171d3daa-d313-48f6-996d-9efa8813bb6d time="2026-09-17T09:51:45Z" msg="Validating Listener State" time="2026-09-17T09:51:45Z" time="2026-09-17T09:51:45Z" msg="Checking whether logged in user should re-sync. UserID:127a1d66-e971-407d-bc16-cb7a9c8584d7" userID=127a1d66-e971-407d-bc16-cb7a9c8584d7 time="2026-09-17T09:51:45Z" msg="Starting IMAP Service" time="2026-09-17T09:51:45Z" msg="Sync triggered" time="2026-09-17T09:51:45Z" msg="Beginning user sync" start="2026-09-17 09:51:45.573347602 +0000 UTC m=+394.065649938" time="2026-09-17T09:51:45Z" msg="Performing full user login" /user username="******** (ece1848c)" time="2026-09-17T09:51:45Z" msg="Authorizing user for login" /user username="******** (ece1848c)" time="2026-09-17T09:51:45Z" msg="Syncing labels" time="2026-09-17T09:51:45Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=171d3daa-d313-48f6-996d-9efa8813bb6d time="2026-09-17T09:51:45Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=171d3daa-d313-48f6-996d-9efa8813bb6d time="2026-09-17T09:51:45Z" msg="Mailbox created" /user remoteMailboxID=6 userID=171d3daa-d313-48f6-996d-9efa8813bb6d time="2026-09-17T09:51:45Z" msg="Mailbox created" /user remoteMailboxID=8 userID=171d3daa-d313-48f6-996d-9efa8813bb6d time="2026-09-17T09:51:45Z" msg="Mailbox created" /user remoteMailboxID=4 userID=171d3daa-d313-48f6-996d-9efa8813bb6d time="2026-09-17T09:51:45Z" msg="Mailbox created" /user remoteMailboxID=5 userID=171d3daa-d313-48f6-996d-9efa8813bb6d time="2026-09-17T09:51:45Z" msg="Mailbox created" /user remoteMailboxID=10 userID=171d3daa-d313-48f6-996d-9efa8813bb6d time="2026-09-17T09:51:45Z" msg="Mailbox created" /user remoteMailboxID=12 userID=171d3daa-d313-48f6-996d-9efa8813bb6d time="2026-09-17T09:51:45Z" msg="Mailbox created" /user remoteMailboxID=7 userID=171d3daa-d313-48f6-996d-9efa8813bb6d time="2026-09-17T09:51:45Z" msg="Mailbox created" /user remoteMailboxID=0 userID=171d3daa-d313-48f6-996d-9efa8813bb6d time="2026-09-17T09:51:45Z" msg="Mailbox created" /user remoteMailboxID=3 userID=171d3daa-d313-48f6-996d-9efa8813bb6d time="2026-09-17T09:51:45Z" msg="Synced labels" time="2026-09-17T09:51:45Z" msg="200 OK: POST https://127.0.0.1:39547/auth/v4/info" /manager time="2026-09-17T09:51:45Z" msg="200 OK: GET https://127.0.0.1:39547/mail/v4/messages/count" /client userID=127a1d66-e971-407d-bc16-cb7a9c8584d7 time="2026-09-17T09:51:45Z" msg="Syncing messages" time="2026-09-17T09:51:45Z" msg="Job started" time="2026-09-17T09:51:45Z" msg="200 OK: POST https://127.0.0.1:39547/mail/v4/messages" /client userID=127a1d66-e971-407d-bc16-cb7a9c8584d7 time="2026-09-17T09:51:45Z" msg="Job finished" time="2026-09-17T09:51:45Z" msg="All child jobs completed" sync- time="2026-09-17T09:51:45Z" msg="Synced messages" time="2026-09-17T09:51:45Z" msg="Finished user sync" .170992ms time="2026-09-17T09:51:45Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:51:45Z" msg="Event loop reset" eventID="Ag==" time="2026-09-17T09:51:45Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 7} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:51:45Z" msg="200 OK: POST https://127.0.0.1:39547/auth/v4" /manager time="2026-09-17T09:51:45Z" msg="Logging in authorized user" /user userID=b3b55b65-ed78-4e3a-8d2a-0a12e4b0d336 time="2026-09-17T09:51:45Z" msg="Adding vault user" userID=b3b55b65-ed78-4e3a-8d2a-0a12e4b0d336 time="2026-09-17T09:51:45Z" msg="Creating new user" userID=b3b55b65-ed78-4e3a-8d2a-0a12e4b0d336 time="2026-09-17T09:51:45Z" msg="404 GET https://127.0.0.1:39547/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:51:45Z" msg="404 GET https://127.0.0.1:39547/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:51:45Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:39547/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:51:45Z" msg="Creating user object" authUID=32d0f885-4c3c-48f0-b709-e305326cc546 numA numL userID=b3b55b65-ed78-4e3a-8d2a-0a12e4b0d336 time="2026-09-17T09:51:45Z" msg="200 OK: GET https://127.0.0.1:39547/core/v4/events/latest" /client userID=b3b55b65-ed78-4e3a-8d2a-0a12e4b0d336 time="2026-09-17T09:51:45Z" msg="Starting service Last EventID=AQ==" time="2026-09-17T09:51:46Z" msg="200 OK: GET https://127.0.0.1:39547/core/v4/settings" /client userID=b3b55b65-ed78-4e3a-8d2a-0a12e4b0d336 time="2026-09-17T09:51:46Z" msg="Registering user client, ID:b3b55b65-ed78-4e3a-8d2a-0a12e4b0d336" time="2026-09-17T09:51:46Z" msg="Starting service main loop" time="2026-09-17T09:51:46Z" msg="Starting user identity service" numA time="2026-09-17T09:51:46Z" msg="Starting service main loop" time="2026-09-17T09:51:46Z" msg="Starting service main loop" time="2026-09-17T09:51:46Z" msg="200 OK: GET https://127.0.0.1:39547/core/v4/labels?T" /client userID=b3b55b65-ed78-4e3a-8d2a-0a12e4b0d336 time="2026-09-17T09:51:46Z" msg="200 OK: GET https://127.0.0.1:39547/core/v4/labels?T" /client userID=b3b55b65-ed78-4e3a-8d2a-0a12e4b0d336 time="2026-09-17T09:51:46Z" msg="200 OK: GET https://127.0.0.1:39547/core/v4/labels?T" /client userID=b3b55b65-ed78-4e3a-8d2a-0a12e4b0d336 time="2026-09-17T09:51:46Z" msg="Setting labels" labelIDs="[0 1 4 5 6 8 9 12 2 3 7 10]" time="2026-09-17T09:51:46Z" msg="Adding user to imap server" addrID=d3b49366-4ad2-4e95-a473-d9cd7236583e time="2026-09-17T09:51:46Z" msg="Creating new IMAP user" addrID=d3b49366-4ad2-4e95-a473-d9cd7236583e time="2026-09-17T09:51:46Z" msg="Setting gluon ID" addrID=d3b49366-4ad2-4e95-a473-d9cd7236583e gluonID=66af3765-9967-4f52-8b95-145a2b8b9bb9 userID=b3b55b65-ed78-4e3a-8d2a-0a12e4b0d336 time="2026-09-17T09:51:46Z" msg="Created new IMAP user" addrID=d3b49366-4ad2-4e95-a473-d9cd7236583e gluonID=66af3765-9967-4f52-8b95-145a2b8b9bb9 time="2026-09-17T09:51:46Z" msg="Received mailbox message count" gluonID=66af3765-9967-4f52-8b95-145a2b8b9bb9 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:51:46Z" msg="Starting IMAP Service" time="2026-09-17T09:51:46Z" msg="Validating Listener State" time="2026-09-17T09:51:46Z" msg="Sync triggered" time="2026-09-17T09:51:46Z" time="2026-09-17T09:51:46Z" msg="Beginning user sync" start="2026-09-17 09:51:46.008392778 +0000 UTC m=+394.500695074" time="2026-09-17T09:51:46Z" msg="Checking whether logged in user should re-sync. UserID:b3b55b65-ed78-4e3a-8d2a-0a12e4b0d336" userID=b3b55b65-ed78-4e3a-8d2a-0a12e4b0d336 time="2026-09-17T09:51:46Z" msg="Syncing labels" time="2026-09-17T09:51:46Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=66af3765-9967-4f52-8b95-145a2b8b9bb9 Scenario: SMTP client cannot authenticate with wrong password # features/smtp/auth.feature:26 When user "ebd92a9f-32f7-48c9-8f62-04047a00c026" connects SMTP client "1" # :1 -> *scenario time="2026-09-17T09:51:46Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=66af3765-9967-4f52-8b95-145a2b8b9bb9 time="2026-09-17T09:51:46Z" msg="Mailbox created" /user remoteMailboxID=0 userID=66af3765-9967-4f52-8b95-145a2b8b9bb9 time="2026-09-17T09:51:46Z" msg="Failed to close SMTP client" error="close tcp 127.0.0.1:47632->127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:51:46Z" msg="Mailbox created" /user remoteMailboxID=4 userID=66af3765-9967-4f52-8b95-145a2b8b9bb9 time="2026-09-17T09:51:46Z" msg="Frontend service stopped" time="2026-09-17T09:51:46Z" msg="Frontend client stopped" time="2026-09-17T09:51:46Z" msg="Closing bridge" time="2026-09-17T09:51:46Z" msg="Stopping service" time="2026-09-17T09:51:46Z" msg="Closing user" userID=127a1d66-e971-407d-bc16-cb7a9c8584d7 time="2026-09-17T09:51:46Z" msg="De-registering user client, ID:127a1d66-e971-407d-bc16-cb7a9c8584d7" time="2026-09-17T09:51:46Z" msg="Mailbox created" /user remoteMailboxID=5 userID=66af3765-9967-4f52-8b95-145a2b8b9bb9 time="2026-09-17T09:51:46Z" msg="Exiting IMAP Service" time="2026-09-17T09:51:46Z" msg="Exiting service main loop" time="2026-09-17T09:51:46Z" msg="Exiting service main loop" time="2026-09-17T09:51:46Z" msg="Exiting Service" time="2026-09-17T09:51:46Z" msg="Exiting service main loop" time="2026-09-17T09:51:46Z" msg="Exiting service" time="2026-09-17T09:51:46Z" msg="Closing user" userID=b3b55b65-ed78-4e3a-8d2a-0a12e4b0d336 time="2026-09-17T09:51:46Z" msg="De-registering user client, ID:b3b55b65-ed78-4e3a-8d2a-0a12e4b0d336" time="2026-09-17T09:51:46Z" msg="Synced labels" time="2026-09-17T09:51:46Z" msg="Get \"https://127.0.0.1:39547/mail/v4/messages/count\": context canceled, Attempt 1" /client time="2026-09-17T09:51:46Z" msg="Get \"https://127.0.0.1:39547/mail/v4/messages/count\": context canceled" /client time="2026-09-17T09:51:46Z" msg="Failed to sync, will retry later" error="failed to retrieve message ids: received no response from API: Get \"https://127.0.0.1:39547/mail/v4/messages/count\": context canceled" time="2026-09-17T09:51:46Z" msg="Sync aborted" error="context canceled" time="2026-09-17T09:51:46Z" msg="Finished user sync" .097419ms time="2026-09-17T09:51:46Z" msg="Exiting IMAP Service" time="2026-09-17T09:51:46Z" msg="Exiting service main loop" time="2026-09-17T09:51:46Z" msg="Exiting service main loop" time="2026-09-17T09:51:46Z" msg="Exiting Service" time="2026-09-17T09:51:46Z" msg="Exiting service main loop" time="2026-09-17T09:51:46Z" msg="Exiting service" time="2026-09-17T09:51:46Z" msg="Closing IMAP Listener" time="2026-09-17T09:51:46Z" msg="Mailbox created" /user remoteMailboxID=6 userID=66af3765-9967-4f52-8b95-145a2b8b9bb9 time="2026-09-17T09:51:46Z" msg="Closing IMAP server" time="2026-09-17T09:51:46Z" msg="Mailbox created" /user remoteMailboxID=3 userID=66af3765-9967-4f52-8b95-145a2b8b9bb9 time="2026-09-17T09:51:46Z" msg="Closing SMTP Listener" time="2026-09-17T09:51:46Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:51:46Z" msg="Closing SMTP server" time="2026-09-17T09:51:46Z" msg="Closing service" Then SMTP client "1" cannot authenticate with incorrect password # :1 -> *scenario time="2026-09-17T09:51:46Z" msg="User '80eff4af-47c1-482b-971f-beb18203efc1' created with " /server/backend time="2026-09-17T09:51:46Z" msg="User '1f11a62a-12bf-4621-8e7e-db1bae021b5f' created with " /server/backend time="2026-09-17T09:51:47Z" msg="Starting bridge" time="2026-09-17T09:51:47Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/177/config701335771/grpcFocusServerConfig.json /service time="2026-09-17T09:51:47Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/177/cache3996729949/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:51:47Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/177/cache3996729949/notifications/notification_cache: no such file or directory" time="2026-09-17T09:51:47Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/177/data600393509/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/177/data600393509/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:51:47Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:51:47Z" msg="Starting IMAP server" time="2026-09-17T09:51:47Z" msg="Starting SMTP server" time="2026-09-17T09:51:47Z" msg="Starting service" time="2026-09-17T09:51:47Z" msg="Starting service" time="2026-09-17T09:51:47Z" msg="Starting poll service" time="2026-09-17T09:51:47Z" msg="Starting receiver service" time="2026-09-17T09:51:47Z" msg="Starting frontend service" time="2026-09-17T09:51:47Z" msg="Checking for updates" time="2026-09-17T09:51:47Z" msg="Loading users" /user time="2026-09-17T09:51:47Z" msg="Finished loading users" /user time="2026-09-17T09:51:47Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/177/config701335771/grpcServerConfig.json time="2026-09-17T09:51:47Z" msg="gRPC server listening on /tmp/bridge0199" time="2026-09-17T09:51:47Z" msg="Frontend service started" time="2026-09-17T09:51:47Z" msg="Starting frontend client" time="2026-09-17T09:51:47Z" msg="Not monitoring parent PID" time="2026-09-17T09:51:47Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:51:47Z" msg="Frontend client started" time="2026-09-17T09:51:47Z" msg="Performing full user login" /user username="******** (5116175b)" time="2026-09-17T09:51:47Z" msg="Authorizing user for login" /user username="******** (5116175b)" time="2026-09-17T09:51:47Z" msg="200 OK: POST https://127.0.0.1:33819/auth/v4/info" /manager time="2026-09-17T09:51:48Z" msg="200 OK: POST https://127.0.0.1:33819/auth/v4" /manager time="2026-09-17T09:51:48Z" msg="Logging in authorized user" /user userID=be56b7fe-f4b9-42c8-941a-20c600fcca99 time="2026-09-17T09:51:48Z" msg="Adding vault user" userID=be56b7fe-f4b9-42c8-941a-20c600fcca99 time="2026-09-17T09:51:48Z" msg="Creating new user" userID=be56b7fe-f4b9-42c8-941a-20c600fcca99 time="2026-09-17T09:51:48Z" msg="404 GET https://127.0.0.1:33819/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:51:48Z" msg="404 GET https://127.0.0.1:33819/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:51:48Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:33819/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:51:48Z" msg="Creating user object" authUID=af57ca41-7755-4eaf-83dc-281f71d7b049 numA numL userID=be56b7fe-f4b9-42c8-941a-20c600fcca99 time="2026-09-17T09:51:48Z" msg="200 OK: GET https://127.0.0.1:33819/core/v4/events/latest" /client userID=be56b7fe-f4b9-42c8-941a-20c600fcca99 time="2026-09-17T09:51:48Z" msg="Starting service Last EventID=Ag==" time="2026-09-17T09:51:48Z" msg="200 OK: GET https://127.0.0.1:33819/core/v4/settings" /client userID=be56b7fe-f4b9-42c8-941a-20c600fcca99 time="2026-09-17T09:51:48Z" msg="Registering user client, ID:be56b7fe-f4b9-42c8-941a-20c600fcca99" time="2026-09-17T09:51:48Z" msg="Starting service main loop" time="2026-09-17T09:51:48Z" msg="Starting user identity service" numA time="2026-09-17T09:51:48Z" msg="Starting service main loop" time="2026-09-17T09:51:48Z" msg="Starting service main loop" time="2026-09-17T09:51:48Z" msg="200 OK: GET https://127.0.0.1:33819/core/v4/labels?T" /client userID=be56b7fe-f4b9-42c8-941a-20c600fcca99 time="2026-09-17T09:51:48Z" msg="200 OK: GET https://127.0.0.1:33819/core/v4/labels?T" /client userID=be56b7fe-f4b9-42c8-941a-20c600fcca99 time="2026-09-17T09:51:48Z" msg="200 OK: GET https://127.0.0.1:33819/core/v4/labels?T" /client userID=be56b7fe-f4b9-42c8-941a-20c600fcca99 time="2026-09-17T09:51:48Z" msg="Setting labels" labelIDs="[5 7 8 9 12 1 4 6 10 0 2 3]" time="2026-09-17T09:51:48Z" msg="Adding user to imap server" addrID=a7e0d2db-eeae-494f-a0ca-00bbd2c876be time="2026-09-17T09:51:48Z" msg="Creating new IMAP user" addrID=a7e0d2db-eeae-494f-a0ca-00bbd2c876be time="2026-09-17T09:51:48Z" msg="Setting gluon ID" addrID=a7e0d2db-eeae-494f-a0ca-00bbd2c876be gluonID=b35023de-16f5-4a2f-8754-2d5f496df8b9 userID=be56b7fe-f4b9-42c8-941a-20c600fcca99 time="2026-09-17T09:51:48Z" msg="Received mailbox message count" gluonID=b35023de-16f5-4a2f-8754-2d5f496df8b9 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:51:48Z" msg="Created new IMAP user" addrID=a7e0d2db-eeae-494f-a0ca-00bbd2c876be gluonID=b35023de-16f5-4a2f-8754-2d5f496df8b9 time="2026-09-17T09:51:48Z" msg="Validating Listener State" time="2026-09-17T09:51:48Z" time="2026-09-17T09:51:48Z" msg="Performing full user login" /user username="******** (ff9d6cb1)" time="2026-09-17T09:51:48Z" msg="Authorizing user for login" /user username="******** (ff9d6cb1)" time="2026-09-17T09:51:48Z" msg="Starting IMAP Service" time="2026-09-17T09:51:48Z" msg="Sync triggered" time="2026-09-17T09:51:48Z" msg="Beginning user sync" start="2026-09-17 09:51:48.170636363 +0000 UTC m=+396.662938699" time="2026-09-17T09:51:48Z" msg="Checking whether logged in user should re-sync. UserID:be56b7fe-f4b9-42c8-941a-20c600fcca99" userID=be56b7fe-f4b9-42c8-941a-20c600fcca99 time="2026-09-17T09:51:48Z" msg="Syncing labels" time="2026-09-17T09:51:48Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=b35023de-16f5-4a2f-8754-2d5f496df8b9 time="2026-09-17T09:51:48Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=b35023de-16f5-4a2f-8754-2d5f496df8b9 time="2026-09-17T09:51:48Z" msg="Mailbox created" /user remoteMailboxID=12 userID=b35023de-16f5-4a2f-8754-2d5f496df8b9 time="2026-09-17T09:51:48Z" msg="Mailbox created" /user remoteMailboxID=10 userID=b35023de-16f5-4a2f-8754-2d5f496df8b9 time="2026-09-17T09:51:48Z" msg="Mailbox created" /user remoteMailboxID=3 userID=b35023de-16f5-4a2f-8754-2d5f496df8b9 time="2026-09-17T09:51:48Z" msg="Mailbox created" /user remoteMailboxID=8 userID=b35023de-16f5-4a2f-8754-2d5f496df8b9 time="2026-09-17T09:51:48Z" msg="Mailbox created" /user remoteMailboxID=4 userID=b35023de-16f5-4a2f-8754-2d5f496df8b9 time="2026-09-17T09:51:48Z" msg="Mailbox created" /user remoteMailboxID=6 userID=b35023de-16f5-4a2f-8754-2d5f496df8b9 time="2026-09-17T09:51:48Z" msg="Mailbox created" /user remoteMailboxID=0 userID=b35023de-16f5-4a2f-8754-2d5f496df8b9 time="2026-09-17T09:51:48Z" msg="Mailbox created" /user remoteMailboxID=5 userID=b35023de-16f5-4a2f-8754-2d5f496df8b9 time="2026-09-17T09:51:48Z" msg="Mailbox created" /user remoteMailboxID=7 userID=b35023de-16f5-4a2f-8754-2d5f496df8b9 time="2026-09-17T09:51:48Z" msg="Synced labels" time="2026-09-17T09:51:48Z" msg="200 OK: POST https://127.0.0.1:33819/auth/v4/info" /manager time="2026-09-17T09:51:48Z" msg="200 OK: GET https://127.0.0.1:33819/mail/v4/messages/count" /client userID=be56b7fe-f4b9-42c8-941a-20c600fcca99 time="2026-09-17T09:51:48Z" msg="Syncing messages" time="2026-09-17T09:51:48Z" msg="Job started" time="2026-09-17T09:51:48Z" msg="200 OK: POST https://127.0.0.1:33819/mail/v4/messages" /client userID=be56b7fe-f4b9-42c8-941a-20c600fcca99 time="2026-09-17T09:51:48Z" msg="Job finished" time="2026-09-17T09:51:48Z" msg="All child jobs completed" sync- time="2026-09-17T09:51:48Z" msg="Synced messages" time="2026-09-17T09:51:48Z" msg="Finished user sync" .776448ms time="2026-09-17T09:51:48Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:51:48Z" msg="Event loop reset" eventID="Ag==" time="2026-09-17T09:51:48Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 7} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:51:48Z" msg="200 OK: POST https://127.0.0.1:33819/auth/v4" /manager time="2026-09-17T09:51:48Z" msg="Logging in authorized user" /user userID=7f8398d1-e40d-4914-a55d-e55c7ccb8511 time="2026-09-17T09:51:48Z" msg="Adding vault user" userID=7f8398d1-e40d-4914-a55d-e55c7ccb8511 time="2026-09-17T09:51:48Z" msg="Creating new user" userID=7f8398d1-e40d-4914-a55d-e55c7ccb8511 time="2026-09-17T09:51:48Z" msg="404 GET https://127.0.0.1:33819/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:51:48Z" msg="404 GET https://127.0.0.1:33819/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:51:48Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:33819/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:51:48Z" msg="Creating user object" authUID=0dee21fa-978d-4fe3-894c-1266d9bb1bd5 numA numL userID=7f8398d1-e40d-4914-a55d-e55c7ccb8511 time="2026-09-17T09:51:48Z" msg="200 OK: GET https://127.0.0.1:33819/core/v4/events/latest" /client userID=7f8398d1-e40d-4914-a55d-e55c7ccb8511 time="2026-09-17T09:51:48Z" msg="Starting service Last EventID=AQ==" time="2026-09-17T09:51:48Z" msg="200 OK: GET https://127.0.0.1:33819/core/v4/settings" /client userID=7f8398d1-e40d-4914-a55d-e55c7ccb8511 time="2026-09-17T09:51:48Z" msg="Registering user client, ID:7f8398d1-e40d-4914-a55d-e55c7ccb8511" time="2026-09-17T09:51:48Z" msg="Starting user identity service" numA time="2026-09-17T09:51:48Z" msg="Starting service main loop" time="2026-09-17T09:51:48Z" msg="Starting service main loop" time="2026-09-17T09:51:48Z" msg="Starting service main loop" time="2026-09-17T09:51:48Z" msg="200 OK: GET https://127.0.0.1:33819/core/v4/labels?T" /client userID=7f8398d1-e40d-4914-a55d-e55c7ccb8511 time="2026-09-17T09:51:48Z" msg="200 OK: GET https://127.0.0.1:33819/core/v4/labels?T" /client userID=7f8398d1-e40d-4914-a55d-e55c7ccb8511 time="2026-09-17T09:51:48Z" msg="200 OK: GET https://127.0.0.1:33819/core/v4/labels?T" /client userID=7f8398d1-e40d-4914-a55d-e55c7ccb8511 time="2026-09-17T09:51:48Z" msg="Setting labels" labelIDs="[2 3 5 6 7 9 10 0 1 4 8 12]" time="2026-09-17T09:51:48Z" msg="Adding user to imap server" addrID=2afdcfed-c14f-4c06-86fb-b1dafa302a79 time="2026-09-17T09:51:48Z" msg="Creating new IMAP user" addrID=2afdcfed-c14f-4c06-86fb-b1dafa302a79 time="2026-09-17T09:51:48Z" msg="Setting gluon ID" addrID=2afdcfed-c14f-4c06-86fb-b1dafa302a79 gluonID=ee6deb8a-330e-4546-ab5b-20d263d20475 userID=7f8398d1-e40d-4914-a55d-e55c7ccb8511 time="2026-09-17T09:51:48Z" msg="Received mailbox message count" gluonID=ee6deb8a-330e-4546-ab5b-20d263d20475 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:51:48Z" msg="Created new IMAP user" addrID=2afdcfed-c14f-4c06-86fb-b1dafa302a79 gluonID=ee6deb8a-330e-4546-ab5b-20d263d20475 time="2026-09-17T09:51:48Z" msg="Validating Listener State" time="2026-09-17T09:51:48Z" time="2026-09-17T09:51:48Z" msg="Checking whether logged in user should re-sync. UserID:7f8398d1-e40d-4914-a55d-e55c7ccb8511" userID=7f8398d1-e40d-4914-a55d-e55c7ccb8511 time="2026-09-17T09:51:48Z" msg="Starting IMAP Service" time="2026-09-17T09:51:48Z" msg="Logging out user" /user userID=be56b7fe-f4b9-42c8-941a-20c600fcca99 time="2026-09-17T09:51:48Z" msg="Logging out user" userID=be56b7fe-f4b9-42c8-941a-20c600fcca99 withAPI=true withD time="2026-09-17T09:51:48Z" msg="Sync triggered" time="2026-09-17T09:51:48Z" msg="Beginning user sync" start="2026-09-17 09:51:48.604928976 +0000 UTC m=+397.097231312" time="2026-09-17T09:51:48Z" msg="Validating Listener State" time="2026-09-17T09:51:48Z" msg="De-registering user client, ID:be56b7fe-f4b9-42c8-941a-20c600fcca99" time="2026-09-17T09:51:48Z" msg="Exiting IMAP Service" time="2026-09-17T09:51:48Z" msg="Exiting service main loop" time="2026-09-17T09:51:48Z" msg="Exiting service main loop" time="2026-09-17T09:51:48Z" msg="Exiting Service" time="2026-09-17T09:51:48Z" msg="Exiting service main loop" time="2026-09-17T09:51:48Z" msg="Exiting service" time="2026-09-17T09:51:48Z" msg="200 OK: DELETE https://127.0.0.1:33819/auth/v4" /client userID=be56b7fe-f4b9-42c8-941a-20c600fcca99 time="2026-09-17T09:51:48Z" msg="Closing user" userID=be56b7fe-f4b9-42c8-941a-20c600fcca99 time="2026-09-17T09:51:48Z" msg="De-registering user client, ID:be56b7fe-f4b9-42c8-941a-20c600fcca99" Scenario: SMTP client cannot authenticate for disconnected user # features/smtp/auth.feature:30 When user "80eff4af-47c1-482b-971f-beb18203efc1" logs out # :1 -> *scenario time="2026-09-17T09:51:48Z" msg="Syncing labels" And user "80eff4af-47c1-482b-971f-beb18203efc1" connects SMTP client "1" # :1 -> *scenario time="2026-09-17T09:51:48Z" msg="Failed to close SMTP client" error="close tcp 127.0.0.1:47636->127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:51:48Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=ee6deb8a-330e-4546-ab5b-20d263d20475 time="2026-09-17T09:51:48Z" msg="Frontend service stopped" time="2026-09-17T09:51:48Z" msg="Frontend client stopped" time="2026-09-17T09:51:48Z" msg="Closing bridge" time="2026-09-17T09:51:48Z" msg="Stopping service" time="2026-09-17T09:51:48Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=ee6deb8a-330e-4546-ab5b-20d263d20475 time="2026-09-17T09:51:48Z" msg="Closing user" userID=7f8398d1-e40d-4914-a55d-e55c7ccb8511 time="2026-09-17T09:51:48Z" msg="De-registering user client, ID:7f8398d1-e40d-4914-a55d-e55c7ccb8511" time="2026-09-17T09:51:48Z" msg="Synced labels" time="2026-09-17T09:51:48Z" msg="Get \"https://127.0.0.1:33819/mail/v4/messages/count\": context canceled, Attempt 1" /client time="2026-09-17T09:51:48Z" msg="Get \"https://127.0.0.1:33819/mail/v4/messages/count\": context canceled" /client time="2026-09-17T09:51:48Z" msg="Failed to sync, will retry later" error="failed to retrieve message ids: received no response from API: Get \"https://127.0.0.1:33819/mail/v4/messages/count\": context canceled" time="2026-09-17T09:51:48Z" msg="Sync aborted" error="context canceled" time="2026-09-17T09:51:48Z" msg="Finished user sync" .908337ms time="2026-09-17T09:51:48Z" msg="Exiting IMAP Service" time="2026-09-17T09:51:48Z" msg="Exiting service main loop" time="2026-09-17T09:51:48Z" msg="Exiting service main loop" time="2026-09-17T09:51:48Z" msg="Exiting Service" time="2026-09-17T09:51:48Z" msg="Exiting service main loop" time="2026-09-17T09:51:48Z" msg="Exiting service" time="2026-09-17T09:51:48Z" msg="Closing IMAP Listener" time="2026-09-17T09:51:48Z" msg="Closing IMAP server" time="2026-09-17T09:51:48Z" msg="Mailbox created" /user remoteMailboxID=3 userID=ee6deb8a-330e-4546-ab5b-20d263d20475 time="2026-09-17T09:51:48Z" msg="Closing SMTP Listener" time="2026-09-17T09:51:48Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:51:48Z" msg="Closing SMTP server" time="2026-09-17T09:51:48Z" msg="Closing service" Then SMTP client "1" cannot authenticate # :1 -> *scenario time="2026-09-17T09:51:48Z" msg="User '3d9a6d65-5e7d-4926-8476-78d02c51f88b' created with " /server/backend time="2026-09-17T09:51:49Z" msg="User '41b0cdde-6fac-409d-bdcb-10b0eab5dc3e' created with " /server/backend time="2026-09-17T09:51:50Z" msg="Starting bridge" time="2026-09-17T09:51:50Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/178/config2418454484/grpcFocusServerConfig.json /service time="2026-09-17T09:51:50Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/178/cache554183935/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:51:50Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/178/cache554183935/notifications/notification_cache: no such file or directory" time="2026-09-17T09:51:50Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/178/data2005240259/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/178/data2005240259/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:51:50Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:51:50Z" msg="Starting IMAP server" time="2026-09-17T09:51:50Z" msg="Starting SMTP server" time="2026-09-17T09:51:50Z" msg="Starting service" time="2026-09-17T09:51:50Z" msg="Starting service" time="2026-09-17T09:51:50Z" msg="Starting receiver service" time="2026-09-17T09:51:50Z" msg="Starting poll service" time="2026-09-17T09:51:50Z" msg="Loading users" /user time="2026-09-17T09:51:50Z" msg="Finished loading users" /user time="2026-09-17T09:51:50Z" msg="Starting frontend service" time="2026-09-17T09:51:50Z" msg="Checking for updates" time="2026-09-17T09:51:50Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/178/config2418454484/grpcServerConfig.json time="2026-09-17T09:51:50Z" msg="gRPC server listening on /tmp/bridge6197" time="2026-09-17T09:51:50Z" msg="Frontend service started" time="2026-09-17T09:51:50Z" msg="Starting frontend client" time="2026-09-17T09:51:50Z" msg="Not monitoring parent PID" time="2026-09-17T09:51:50Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:51:50Z" msg="Frontend client started" time="2026-09-17T09:51:50Z" msg="200 OK: GET https://127.0.0.1:33463/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:51:50Z" msg="Performing full user login" /user username="******** (d3b34c21)" time="2026-09-17T09:51:50Z" msg="Authorizing user for login" /user username="******** (d3b34c21)" time="2026-09-17T09:51:50Z" msg="200 OK: POST https://127.0.0.1:33463/auth/v4/info" /manager time="2026-09-17T09:51:50Z" msg="200 OK: POST https://127.0.0.1:33463/auth/v4" /manager time="2026-09-17T09:51:50Z" msg="Logging in authorized user" /user userID=8ca2e9c8-af81-4cda-b13e-092335601051 time="2026-09-17T09:51:50Z" msg="Adding vault user" userID=8ca2e9c8-af81-4cda-b13e-092335601051 time="2026-09-17T09:51:50Z" msg="Creating new user" userID=8ca2e9c8-af81-4cda-b13e-092335601051 time="2026-09-17T09:51:50Z" msg="404 GET https://127.0.0.1:33463/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:51:50Z" msg="404 GET https://127.0.0.1:33463/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:51:50Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:33463/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:51:50Z" msg="Creating user object" authUID=77c72ba7-a72e-4804-964d-62ee025eb3bd numA numL userID=8ca2e9c8-af81-4cda-b13e-092335601051 time="2026-09-17T09:51:50Z" msg="200 OK: GET https://127.0.0.1:33463/core/v4/events/latest" /client userID=8ca2e9c8-af81-4cda-b13e-092335601051 time="2026-09-17T09:51:50Z" msg="Starting service Last EventID=Ag==" time="2026-09-17T09:51:50Z" msg="200 OK: GET https://127.0.0.1:33463/core/v4/settings" /client userID=8ca2e9c8-af81-4cda-b13e-092335601051 time="2026-09-17T09:51:50Z" msg="Registering user client, ID:8ca2e9c8-af81-4cda-b13e-092335601051" time="2026-09-17T09:51:50Z" msg="Starting service main loop" time="2026-09-17T09:51:50Z" msg="Starting user identity service" numA time="2026-09-17T09:51:50Z" msg="Starting service main loop" time="2026-09-17T09:51:50Z" msg="Starting service main loop" time="2026-09-17T09:51:50Z" msg="200 OK: GET https://127.0.0.1:33463/core/v4/labels?T" /client userID=8ca2e9c8-af81-4cda-b13e-092335601051 time="2026-09-17T09:51:50Z" msg="200 OK: GET https://127.0.0.1:33463/core/v4/labels?T" /client userID=8ca2e9c8-af81-4cda-b13e-092335601051 time="2026-09-17T09:51:50Z" msg="200 OK: GET https://127.0.0.1:33463/core/v4/labels?T" /client userID=8ca2e9c8-af81-4cda-b13e-092335601051 time="2026-09-17T09:51:50Z" msg="Setting labels" labelIDs="[0 1 2 6 8 9 10 12 3 4 5 7]" time="2026-09-17T09:51:50Z" msg="Adding user to imap server" addrID=d5c4d5a3-5f67-4aee-85ca-b113d3806868 time="2026-09-17T09:51:50Z" msg="Creating new IMAP user" addrID=d5c4d5a3-5f67-4aee-85ca-b113d3806868 time="2026-09-17T09:51:50Z" msg="Setting gluon ID" addrID=d5c4d5a3-5f67-4aee-85ca-b113d3806868 gluonID=eb4a469e-eb39-4f66-b04b-f698637e8e57 userID=8ca2e9c8-af81-4cda-b13e-092335601051 time="2026-09-17T09:51:50Z" msg="Received mailbox message count" gluonID=eb4a469e-eb39-4f66-b04b-f698637e8e57 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:51:50Z" msg="Created new IMAP user" addrID=d5c4d5a3-5f67-4aee-85ca-b113d3806868 gluonID=eb4a469e-eb39-4f66-b04b-f698637e8e57 time="2026-09-17T09:51:50Z" msg="Validating Listener State" time="2026-09-17T09:51:50Z" time="2026-09-17T09:51:50Z" msg="Starting IMAP Service" time="2026-09-17T09:51:50Z" msg="Checking whether logged in user should re-sync. UserID:8ca2e9c8-af81-4cda-b13e-092335601051" userID=8ca2e9c8-af81-4cda-b13e-092335601051 time="2026-09-17T09:51:50Z" msg="Sync triggered" time="2026-09-17T09:51:50Z" msg="Beginning user sync" start="2026-09-17 09:51:50.758825244 +0000 UTC m=+399.251127500" time="2026-09-17T09:51:50Z" msg="Performing full user login" /user username="******** (8447b1c9)" time="2026-09-17T09:51:50Z" msg="Authorizing user for login" /user username="******** (8447b1c9)" time="2026-09-17T09:51:50Z" msg="Syncing labels" time="2026-09-17T09:51:50Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=eb4a469e-eb39-4f66-b04b-f698637e8e57 time="2026-09-17T09:51:50Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=eb4a469e-eb39-4f66-b04b-f698637e8e57 time="2026-09-17T09:51:50Z" msg="Mailbox created" /user remoteMailboxID=6 userID=eb4a469e-eb39-4f66-b04b-f698637e8e57 time="2026-09-17T09:51:50Z" msg="Mailbox created" /user remoteMailboxID=10 userID=eb4a469e-eb39-4f66-b04b-f698637e8e57 time="2026-09-17T09:51:50Z" msg="Mailbox created" /user remoteMailboxID=5 userID=eb4a469e-eb39-4f66-b04b-f698637e8e57 time="2026-09-17T09:51:50Z" msg="Mailbox created" /user remoteMailboxID=8 userID=eb4a469e-eb39-4f66-b04b-f698637e8e57 time="2026-09-17T09:51:50Z" msg="Mailbox created" /user remoteMailboxID=12 userID=eb4a469e-eb39-4f66-b04b-f698637e8e57 time="2026-09-17T09:51:50Z" msg="Mailbox created" /user remoteMailboxID=3 userID=eb4a469e-eb39-4f66-b04b-f698637e8e57 time="2026-09-17T09:51:50Z" msg="Mailbox created" /user remoteMailboxID=4 userID=eb4a469e-eb39-4f66-b04b-f698637e8e57 time="2026-09-17T09:51:50Z" msg="Mailbox created" /user remoteMailboxID=7 userID=eb4a469e-eb39-4f66-b04b-f698637e8e57 time="2026-09-17T09:51:50Z" msg="Mailbox created" /user remoteMailboxID=0 userID=eb4a469e-eb39-4f66-b04b-f698637e8e57 time="2026-09-17T09:51:50Z" msg="Synced labels" time="2026-09-17T09:51:50Z" msg="200 OK: POST https://127.0.0.1:33463/auth/v4/info" /manager time="2026-09-17T09:51:50Z" msg="200 OK: GET https://127.0.0.1:33463/mail/v4/messages/count" /client userID=8ca2e9c8-af81-4cda-b13e-092335601051 time="2026-09-17T09:51:50Z" msg="Syncing messages" time="2026-09-17T09:51:50Z" msg="Job started" time="2026-09-17T09:51:50Z" msg="200 OK: POST https://127.0.0.1:33463/mail/v4/messages" /client userID=8ca2e9c8-af81-4cda-b13e-092335601051 time="2026-09-17T09:51:50Z" msg="Job finished" time="2026-09-17T09:51:50Z" msg="All child jobs completed" sync- time="2026-09-17T09:51:50Z" msg="Synced messages" time="2026-09-17T09:51:50Z" msg="Finished user sync" .260157ms time="2026-09-17T09:51:50Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:51:50Z" msg="Event loop reset" eventID="Ag==" time="2026-09-17T09:51:50Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 0} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:51:51Z" msg="200 OK: POST https://127.0.0.1:33463/auth/v4" /manager time="2026-09-17T09:51:51Z" msg="Logging in authorized user" /user userID=55fe2624-0524-4eea-808d-1fd665ffda3e time="2026-09-17T09:51:51Z" msg="Adding vault user" userID=55fe2624-0524-4eea-808d-1fd665ffda3e time="2026-09-17T09:51:51Z" msg="Creating new user" userID=55fe2624-0524-4eea-808d-1fd665ffda3e time="2026-09-17T09:51:51Z" msg="404 GET https://127.0.0.1:33463/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:51:51Z" msg="404 GET https://127.0.0.1:33463/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:51:51Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:33463/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:51:51Z" msg="Creating user object" authUID=3243c8ac-927c-4a05-bb11-b1942759f972 numA numL userID=55fe2624-0524-4eea-808d-1fd665ffda3e time="2026-09-17T09:51:51Z" msg="200 OK: GET https://127.0.0.1:33463/core/v4/events/latest" /client userID=55fe2624-0524-4eea-808d-1fd665ffda3e time="2026-09-17T09:51:51Z" msg="Starting service Last EventID=AQ==" time="2026-09-17T09:51:51Z" msg="200 OK: GET https://127.0.0.1:33463/core/v4/settings" /client userID=55fe2624-0524-4eea-808d-1fd665ffda3e time="2026-09-17T09:51:51Z" msg="Registering user client, ID:55fe2624-0524-4eea-808d-1fd665ffda3e" time="2026-09-17T09:51:51Z" msg="Starting user identity service" numA time="2026-09-17T09:51:51Z" msg="Starting service main loop" time="2026-09-17T09:51:51Z" msg="Starting service main loop" time="2026-09-17T09:51:51Z" msg="Starting service main loop" time="2026-09-17T09:51:51Z" msg="200 OK: GET https://127.0.0.1:33463/core/v4/labels?T" /client userID=55fe2624-0524-4eea-808d-1fd665ffda3e time="2026-09-17T09:51:51Z" msg="200 OK: GET https://127.0.0.1:33463/core/v4/labels?T" /client userID=55fe2624-0524-4eea-808d-1fd665ffda3e time="2026-09-17T09:51:51Z" msg="200 OK: GET https://127.0.0.1:33463/core/v4/labels?T" /client userID=55fe2624-0524-4eea-808d-1fd665ffda3e time="2026-09-17T09:51:51Z" msg="Setting labels" labelIDs="[2 5 6 8 9 10 12 1 3 4 7 0]" time="2026-09-17T09:51:51Z" msg="Adding user to imap server" addrID=7c85eb47-502d-47d6-9dfb-89b61042ed7a time="2026-09-17T09:51:51Z" msg="Creating new IMAP user" addrID=7c85eb47-502d-47d6-9dfb-89b61042ed7a time="2026-09-17T09:51:51Z" msg="Setting gluon ID" addrID=7c85eb47-502d-47d6-9dfb-89b61042ed7a gluonID=bac3f829-2cb7-489b-93f6-e3a73f98edf5 userID=55fe2624-0524-4eea-808d-1fd665ffda3e time="2026-09-17T09:51:51Z" msg="Received mailbox message count" gluonID=bac3f829-2cb7-489b-93f6-e3a73f98edf5 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:51:51Z" msg="Created new IMAP user" addrID=7c85eb47-502d-47d6-9dfb-89b61042ed7a gluonID=bac3f829-2cb7-489b-93f6-e3a73f98edf5 time="2026-09-17T09:51:51Z" msg="Validating Listener State" time="2026-09-17T09:51:51Z" time="2026-09-17T09:51:51Z" msg="Checking whether logged in user should re-sync. UserID:55fe2624-0524-4eea-808d-1fd665ffda3e" userID=55fe2624-0524-4eea-808d-1fd665ffda3e time="2026-09-17T09:51:51Z" msg="Starting IMAP Service" time="2026-09-17T09:51:51Z" msg="Sync triggered" time="2026-09-17T09:51:51Z" msg="Beginning user sync" start="2026-09-17 09:51:51.193962061 +0000 UTC m=+399.686264437" Scenario: SMTP client can authenticate successfully with alias # features/smtp/auth.feature:35 When user "3d9a6d65-5e7d-4926-8476-78d02c51f88b" connects and authenticates SMTP client "1" with address "0bd203bb-de73-42cf-bb3e-d8a098c8babb@proton.local" # :1 -> *scenario time="2026-09-17T09:51:51Z" msg="Syncing labels" time="2026-09-17T09:51:51Z" msg="Frontend service stopped" time="2026-09-17T09:51:51Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=bac3f829-2cb7-489b-93f6-e3a73f98edf5 time="2026-09-17T09:51:51Z" msg="Frontend client stopped" time="2026-09-17T09:51:51Z" msg="Closing bridge" time="2026-09-17T09:51:51Z" msg="Stopping service" time="2026-09-17T09:51:51Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=bac3f829-2cb7-489b-93f6-e3a73f98edf5 time="2026-09-17T09:51:51Z" msg="Closing user" userID=8ca2e9c8-af81-4cda-b13e-092335601051 time="2026-09-17T09:51:51Z" msg="De-registering user client, ID:8ca2e9c8-af81-4cda-b13e-092335601051" time="2026-09-17T09:51:51Z" msg="Exiting IMAP Service" time="2026-09-17T09:51:51Z" msg="Exiting service main loop" time="2026-09-17T09:51:51Z" msg="Exiting service main loop" time="2026-09-17T09:51:51Z" msg="Exiting Service" time="2026-09-17T09:51:51Z" msg="Exiting service main loop" time="2026-09-17T09:51:51Z" msg="Exiting service" time="2026-09-17T09:51:51Z" msg="Closing user" userID=55fe2624-0524-4eea-808d-1fd665ffda3e time="2026-09-17T09:51:51Z" msg="De-registering user client, ID:55fe2624-0524-4eea-808d-1fd665ffda3e" time="2026-09-17T09:51:51Z" msg="Synced labels" time="2026-09-17T09:51:51Z" msg="Get \"https://127.0.0.1:33463/mail/v4/messages/count\": context canceled, Attempt 1" /client time="2026-09-17T09:51:51Z" msg="Get \"https://127.0.0.1:33463/mail/v4/messages/count\": context canceled" /client time="2026-09-17T09:51:51Z" msg="Failed to sync, will retry later" error="failed to retrieve message ids: received no response from API: Get \"https://127.0.0.1:33463/mail/v4/messages/count\": context canceled" time="2026-09-17T09:51:51Z" msg="Sync aborted" error="context canceled" time="2026-09-17T09:51:51Z" msg="Finished user sync" .56646ms time="2026-09-17T09:51:51Z" msg="Exiting IMAP Service" time="2026-09-17T09:51:51Z" msg="Exiting service main loop" time="2026-09-17T09:51:51Z" msg="Exiting service main loop" time="2026-09-17T09:51:51Z" msg="Exiting Service" time="2026-09-17T09:51:51Z" msg="Exiting service main loop" time="2026-09-17T09:51:51Z" msg="Exiting service" time="2026-09-17T09:51:51Z" msg="Closing IMAP Listener" time="2026-09-17T09:51:51Z" msg="Mailbox created" /user remoteMailboxID=10 userID=bac3f829-2cb7-489b-93f6-e3a73f98edf5 time="2026-09-17T09:51:51Z" msg="Closing IMAP server" time="2026-09-17T09:51:51Z" msg="Mailbox created" /user remoteMailboxID=3 userID=bac3f829-2cb7-489b-93f6-e3a73f98edf5 time="2026-09-17T09:51:51Z" msg="Closing SMTP Listener" time="2026-09-17T09:51:51Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:51:51Z" msg="Closing SMTP server" time="2026-09-17T09:51:51Z" msg="Closing service" Then it succeeds # :1 -> *scenario time="2026-09-17T09:51:51Z" msg="User 'bd198d96-392e-4373-9091-f446b62d2096' created with " /server/backend time="2026-09-17T09:51:52Z" msg="User 'e7a76d39-18d7-411f-a925-5c728afa93dc' created with " /server/backend time="2026-09-17T09:51:52Z" msg="Starting bridge" time="2026-09-17T09:51:52Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/179/config4136000880/grpcFocusServerConfig.json /service time="2026-09-17T09:51:52Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/179/cache4082695232/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:51:52Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/179/cache4082695232/notifications/notification_cache: no such file or directory" time="2026-09-17T09:51:52Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/179/data2943397453/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/179/data2943397453/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:51:52Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:51:52Z" msg="Starting IMAP server" time="2026-09-17T09:51:52Z" msg="Starting SMTP server" time="2026-09-17T09:51:52Z" msg="Starting service" time="2026-09-17T09:51:52Z" msg="Starting service" time="2026-09-17T09:51:52Z" msg="Starting receiver service" time="2026-09-17T09:51:52Z" msg="Starting frontend service" time="2026-09-17T09:51:52Z" msg="Starting poll service" time="2026-09-17T09:51:52Z" msg="Loading users" /user time="2026-09-17T09:51:52Z" msg="Finished loading users" /user time="2026-09-17T09:51:52Z" msg="Checking for updates" time="2026-09-17T09:51:52Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/179/config4136000880/grpcServerConfig.json time="2026-09-17T09:51:52Z" msg="gRPC server listening on /tmp/bridge3326" time="2026-09-17T09:51:52Z" msg="Frontend service started" time="2026-09-17T09:51:52Z" msg="Starting frontend client" time="2026-09-17T09:51:52Z" msg="Not monitoring parent PID" time="2026-09-17T09:51:52Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:51:52Z" msg="200 OK: GET https://127.0.0.1:39149/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:51:52Z" msg="Frontend client started" time="2026-09-17T09:51:52Z" msg="Performing full user login" /user username="******** (c2a83944)" time="2026-09-17T09:51:52Z" msg="Authorizing user for login" /user username="******** (c2a83944)" time="2026-09-17T09:51:52Z" msg="200 OK: POST https://127.0.0.1:39149/auth/v4/info" /manager time="2026-09-17T09:51:53Z" msg="200 OK: POST https://127.0.0.1:39149/auth/v4" /manager time="2026-09-17T09:51:53Z" msg="Logging in authorized user" /user userID=b82ec33e-a904-426b-a77d-d8739acfe3a0 time="2026-09-17T09:51:53Z" msg="Adding vault user" userID=b82ec33e-a904-426b-a77d-d8739acfe3a0 time="2026-09-17T09:51:53Z" msg="Creating new user" userID=b82ec33e-a904-426b-a77d-d8739acfe3a0 time="2026-09-17T09:51:53Z" msg="404 GET https://127.0.0.1:39149/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:51:53Z" msg="404 GET https://127.0.0.1:39149/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:51:53Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:39149/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:51:53Z" msg="Creating user object" authUID=60fe3e32-f7b6-4072-9b6d-1b389659d7c2 numA numL userID=b82ec33e-a904-426b-a77d-d8739acfe3a0 time="2026-09-17T09:51:53Z" msg="200 OK: GET https://127.0.0.1:39149/core/v4/events/latest" /client userID=b82ec33e-a904-426b-a77d-d8739acfe3a0 time="2026-09-17T09:51:53Z" msg="Starting service Last EventID=Ag==" time="2026-09-17T09:51:53Z" msg="200 OK: GET https://127.0.0.1:39149/core/v4/settings" /client userID=b82ec33e-a904-426b-a77d-d8739acfe3a0 time="2026-09-17T09:51:53Z" msg="Registering user client, ID:b82ec33e-a904-426b-a77d-d8739acfe3a0" time="2026-09-17T09:51:53Z" msg="Starting service main loop" time="2026-09-17T09:51:53Z" msg="Starting user identity service" numA time="2026-09-17T09:51:53Z" msg="Starting service main loop" time="2026-09-17T09:51:53Z" msg="Starting service main loop" time="2026-09-17T09:51:53Z" msg="200 OK: GET https://127.0.0.1:39149/core/v4/labels?T" /client userID=b82ec33e-a904-426b-a77d-d8739acfe3a0 time="2026-09-17T09:51:53Z" msg="200 OK: GET https://127.0.0.1:39149/core/v4/labels?T" /client userID=b82ec33e-a904-426b-a77d-d8739acfe3a0 time="2026-09-17T09:51:53Z" msg="200 OK: GET https://127.0.0.1:39149/core/v4/labels?T" /client userID=b82ec33e-a904-426b-a77d-d8739acfe3a0 time="2026-09-17T09:51:53Z" msg="Setting labels" labelIDs="[0 2 3 5 6 7 12 1 4 8 9 10]" time="2026-09-17T09:51:53Z" msg="Adding user to imap server" addrID=7640efb6-32b9-4b5f-af14-8b1d6dd78f76 time="2026-09-17T09:51:53Z" msg="Creating new IMAP user" addrID=7640efb6-32b9-4b5f-af14-8b1d6dd78f76 time="2026-09-17T09:51:53Z" msg="Setting gluon ID" addrID=7640efb6-32b9-4b5f-af14-8b1d6dd78f76 gluonID=0141b770-a7c2-49da-a005-e1c9ded8e1c2 userID=b82ec33e-a904-426b-a77d-d8739acfe3a0 time="2026-09-17T09:51:53Z" msg="Received mailbox message count" gluonID=0141b770-a7c2-49da-a005-e1c9ded8e1c2 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:51:53Z" msg="Created new IMAP user" addrID=7640efb6-32b9-4b5f-af14-8b1d6dd78f76 gluonID=0141b770-a7c2-49da-a005-e1c9ded8e1c2 time="2026-09-17T09:51:53Z" msg="Validating Listener State" time="2026-09-17T09:51:53Z" time="2026-09-17T09:51:53Z" msg="Starting IMAP Service" time="2026-09-17T09:51:53Z" msg="Checking whether logged in user should re-sync. UserID:b82ec33e-a904-426b-a77d-d8739acfe3a0" userID=b82ec33e-a904-426b-a77d-d8739acfe3a0 time="2026-09-17T09:51:53Z" msg="Performing full user login" /user username="******** (16dbcaf6)" time="2026-09-17T09:51:53Z" msg="Authorizing user for login" /user username="******** (16dbcaf6)" time="2026-09-17T09:51:53Z" msg="Sync triggered" time="2026-09-17T09:51:53Z" msg="Beginning user sync" start="2026-09-17 09:51:53.3454484 +0000 UTC m=+401.837750696" time="2026-09-17T09:51:53Z" msg="Syncing labels" time="2026-09-17T09:51:53Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=0141b770-a7c2-49da-a005-e1c9ded8e1c2 time="2026-09-17T09:51:53Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=0141b770-a7c2-49da-a005-e1c9ded8e1c2 time="2026-09-17T09:51:53Z" msg="Mailbox created" /user remoteMailboxID=0 userID=0141b770-a7c2-49da-a005-e1c9ded8e1c2 time="2026-09-17T09:51:53Z" msg="Mailbox created" /user remoteMailboxID=3 userID=0141b770-a7c2-49da-a005-e1c9ded8e1c2 time="2026-09-17T09:51:53Z" msg="Mailbox created" /user remoteMailboxID=5 userID=0141b770-a7c2-49da-a005-e1c9ded8e1c2 time="2026-09-17T09:51:53Z" msg="Mailbox created" /user remoteMailboxID=6 userID=0141b770-a7c2-49da-a005-e1c9ded8e1c2 time="2026-09-17T09:51:53Z" msg="Mailbox created" /user remoteMailboxID=12 userID=0141b770-a7c2-49da-a005-e1c9ded8e1c2 time="2026-09-17T09:51:53Z" msg="Mailbox created" /user remoteMailboxID=8 userID=0141b770-a7c2-49da-a005-e1c9ded8e1c2 time="2026-09-17T09:51:53Z" msg="Mailbox created" /user remoteMailboxID=7 userID=0141b770-a7c2-49da-a005-e1c9ded8e1c2 time="2026-09-17T09:51:53Z" msg="Mailbox created" /user remoteMailboxID=4 userID=0141b770-a7c2-49da-a005-e1c9ded8e1c2 time="2026-09-17T09:51:53Z" msg="Mailbox created" /user remoteMailboxID=10 userID=0141b770-a7c2-49da-a005-e1c9ded8e1c2 time="2026-09-17T09:51:53Z" msg="Synced labels" time="2026-09-17T09:51:53Z" msg="200 OK: POST https://127.0.0.1:39149/auth/v4/info" /manager time="2026-09-17T09:51:53Z" msg="200 OK: GET https://127.0.0.1:39149/mail/v4/messages/count" /client userID=b82ec33e-a904-426b-a77d-d8739acfe3a0 time="2026-09-17T09:51:53Z" msg="Syncing messages" time="2026-09-17T09:51:53Z" msg="Job started" time="2026-09-17T09:51:53Z" msg="200 OK: POST https://127.0.0.1:39149/mail/v4/messages" /client userID=b82ec33e-a904-426b-a77d-d8739acfe3a0 time="2026-09-17T09:51:53Z" msg="Job finished" time="2026-09-17T09:51:53Z" msg="All child jobs completed" sync- time="2026-09-17T09:51:53Z" msg="Synced messages" time="2026-09-17T09:51:53Z" msg="Finished user sync" .912959ms time="2026-09-17T09:51:53Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:51:53Z" msg="Event loop reset" eventID="Ag==" time="2026-09-17T09:51:53Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 5} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:51:53Z" msg="200 OK: POST https://127.0.0.1:39149/auth/v4" /manager time="2026-09-17T09:51:53Z" msg="Logging in authorized user" /user userID=6d950cda-3907-4945-b412-bc7468b2b543 time="2026-09-17T09:51:53Z" msg="Adding vault user" userID=6d950cda-3907-4945-b412-bc7468b2b543 time="2026-09-17T09:51:53Z" msg="Creating new user" userID=6d950cda-3907-4945-b412-bc7468b2b543 time="2026-09-17T09:51:53Z" msg="404 GET https://127.0.0.1:39149/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:51:53Z" msg="404 GET https://127.0.0.1:39149/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:51:53Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:39149/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:51:53Z" msg="Creating user object" authUID=e4fb686f-fe8e-4d95-8f67-07f81a9a5847 numA numL userID=6d950cda-3907-4945-b412-bc7468b2b543 time="2026-09-17T09:51:53Z" msg="200 OK: GET https://127.0.0.1:39149/core/v4/events/latest" /client userID=6d950cda-3907-4945-b412-bc7468b2b543 time="2026-09-17T09:51:53Z" msg="Starting service Last EventID=AQ==" time="2026-09-17T09:51:53Z" msg="200 OK: GET https://127.0.0.1:39149/core/v4/settings" /client userID=6d950cda-3907-4945-b412-bc7468b2b543 time="2026-09-17T09:51:53Z" msg="Registering user client, ID:6d950cda-3907-4945-b412-bc7468b2b543" time="2026-09-17T09:51:53Z" msg="Starting service main loop" time="2026-09-17T09:51:53Z" msg="Starting user identity service" numA time="2026-09-17T09:51:53Z" msg="Starting service main loop" time="2026-09-17T09:51:53Z" msg="Starting service main loop" time="2026-09-17T09:51:53Z" msg="200 OK: GET https://127.0.0.1:39149/core/v4/labels?T" /client userID=6d950cda-3907-4945-b412-bc7468b2b543 time="2026-09-17T09:51:53Z" msg="200 OK: GET https://127.0.0.1:39149/core/v4/labels?T" /client userID=6d950cda-3907-4945-b412-bc7468b2b543 time="2026-09-17T09:51:53Z" msg="200 OK: GET https://127.0.0.1:39149/core/v4/labels?T" /client userID=6d950cda-3907-4945-b412-bc7468b2b543 time="2026-09-17T09:51:53Z" msg="Setting labels" labelIDs="[0 1 2 3 6 8 9 12 4 5 7 10]" time="2026-09-17T09:51:53Z" msg="Adding user to imap server" addrID=911cfb3e-3849-47e6-97b7-fbbf59fe4b01 time="2026-09-17T09:51:53Z" msg="Creating new IMAP user" addrID=911cfb3e-3849-47e6-97b7-fbbf59fe4b01 time="2026-09-17T09:51:53Z" msg="Setting gluon ID" addrID=911cfb3e-3849-47e6-97b7-fbbf59fe4b01 gluonID=2f4bb614-b794-43fb-b19d-c78ba237cfa8 userID=6d950cda-3907-4945-b412-bc7468b2b543 time="2026-09-17T09:51:53Z" msg="Received mailbox message count" gluonID=2f4bb614-b794-43fb-b19d-c78ba237cfa8 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:51:53Z" msg="Created new IMAP user" addrID=911cfb3e-3849-47e6-97b7-fbbf59fe4b01 gluonID=2f4bb614-b794-43fb-b19d-c78ba237cfa8 time="2026-09-17T09:51:53Z" msg="Validating Listener State" time="2026-09-17T09:51:53Z" time="2026-09-17T09:51:53Z" msg="Starting IMAP Service" time="2026-09-17T09:51:53Z" msg="Checking whether logged in user should re-sync. UserID:6d950cda-3907-4945-b412-bc7468b2b543" userID=6d950cda-3907-4945-b412-bc7468b2b543 time="2026-09-17T09:51:53Z" msg="Sync triggered" time="2026-09-17T09:51:53Z" msg="Beginning user sync" start="2026-09-17 09:51:53.785460039 +0000 UTC m=+402.277762335" time="2026-09-17T09:51:53Z" msg="Syncing labels" time="2026-09-17T09:51:53Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=2f4bb614-b794-43fb-b19d-c78ba237cfa8 time="2026-09-17T09:51:53Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=2f4bb614-b794-43fb-b19d-c78ba237cfa8 time="2026-09-17T09:51:53Z" msg="Mailbox created" /user remoteMailboxID=3 userID=2f4bb614-b794-43fb-b19d-c78ba237cfa8 time="2026-09-17T09:51:53Z" msg="Mailbox created" /user remoteMailboxID=6 userID=2f4bb614-b794-43fb-b19d-c78ba237cfa8 time="2026-09-17T09:51:53Z" msg="Mailbox created" /user remoteMailboxID=4 userID=2f4bb614-b794-43fb-b19d-c78ba237cfa8 time="2026-09-17T09:51:53Z" msg="Mailbox created" /user remoteMailboxID=7 userID=2f4bb614-b794-43fb-b19d-c78ba237cfa8 time="2026-09-17T09:51:53Z" msg="Mailbox created" /user remoteMailboxID=10 userID=2f4bb614-b794-43fb-b19d-c78ba237cfa8 time="2026-09-17T09:51:53Z" msg="Mailbox created" /user remoteMailboxID=8 userID=2f4bb614-b794-43fb-b19d-c78ba237cfa8 time="2026-09-17T09:51:53Z" msg="Mailbox created" /user remoteMailboxID=12 userID=2f4bb614-b794-43fb-b19d-c78ba237cfa8 time="2026-09-17T09:51:53Z" msg="Mailbox created" /user remoteMailboxID=5 userID=2f4bb614-b794-43fb-b19d-c78ba237cfa8 time="2026-09-17T09:51:53Z" msg="Mailbox created" /user remoteMailboxID=0 userID=2f4bb614-b794-43fb-b19d-c78ba237cfa8 time="2026-09-17T09:51:53Z" msg="Synced labels" time="2026-09-17T09:51:53Z" msg="200 OK: GET https://127.0.0.1:39149/mail/v4/messages/count" /client userID=6d950cda-3907-4945-b412-bc7468b2b543 time="2026-09-17T09:51:53Z" msg="Syncing messages" time="2026-09-17T09:51:53Z" msg="Job started" time="2026-09-17T09:51:53Z" msg="200 OK: POST https://127.0.0.1:39149/mail/v4/messages" /client userID=6d950cda-3907-4945-b412-bc7468b2b543 time="2026-09-17T09:51:53Z" msg="Job finished" time="2026-09-17T09:51:53Z" msg="All child jobs completed" sync- time="2026-09-17T09:51:53Z" msg="Synced messages" time="2026-09-17T09:51:53Z" msg="Finished user sync" .904159ms time="2026-09-17T09:51:53Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:51:53Z" msg="Event loop reset" eventID="AQ==" Scenario: SMTP client can not authenticate with disabled address # features/smtp/auth.feature:41 Given the account "e7a76d39-18d7-411f-a925-5c728afa93dc" has additional disabled address "29b002ce-7f9a-4a25-825b-9157b41b1b8c@proton.local" # :1 -> *scenario And it succeeds # :1 -> *scenario When user "e7a76d39-18d7-411f-a925-5c728afa93dc" connects and authenticates SMTP client "1" with address "29b002ce-7f9a-4a25-825b-9157b41b1b8c@proton.local" # :1 -> *scenario time="2026-09-17T09:51:54Z" msg="Failed to close SMTP client" error="close tcp 127.0.0.1:47652->127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:51:54Z" msg="Frontend service stopped" time="2026-09-17T09:51:54Z" msg="Frontend client stopped" time="2026-09-17T09:51:54Z" msg="Closing bridge" time="2026-09-17T09:51:54Z" msg="Stopping service" time="2026-09-17T09:51:54Z" msg="Closing user" userID=b82ec33e-a904-426b-a77d-d8739acfe3a0 time="2026-09-17T09:51:54Z" msg="De-registering user client, ID:b82ec33e-a904-426b-a77d-d8739acfe3a0" time="2026-09-17T09:51:54Z" msg="Exiting IMAP Service" time="2026-09-17T09:51:54Z" msg="Exiting service main loop" time="2026-09-17T09:51:54Z" msg="Exiting service main loop" time="2026-09-17T09:51:54Z" msg="Exiting Service" time="2026-09-17T09:51:54Z" msg="Exiting service main loop" time="2026-09-17T09:51:54Z" msg="Exiting service" time="2026-09-17T09:51:54Z" msg="Closing user" userID=6d950cda-3907-4945-b412-bc7468b2b543 time="2026-09-17T09:51:54Z" msg="De-registering user client, ID:6d950cda-3907-4945-b412-bc7468b2b543" time="2026-09-17T09:51:54Z" msg="Exiting IMAP Service" time="2026-09-17T09:51:54Z" msg="Exiting service main loop" time="2026-09-17T09:51:54Z" msg="Exiting service main loop" time="2026-09-17T09:51:54Z" msg="Exiting Service" time="2026-09-17T09:51:54Z" msg="Exiting service main loop" time="2026-09-17T09:51:54Z" msg="Exiting service" time="2026-09-17T09:51:54Z" msg="Closing IMAP Listener" time="2026-09-17T09:51:54Z" msg="Closing IMAP server" time="2026-09-17T09:51:54Z" msg="Closing SMTP Listener" time="2026-09-17T09:51:54Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:51:54Z" msg="Closing SMTP server" time="2026-09-17T09:51:54Z" msg="Closing service" Then it fails # :1 -> *scenario time="2026-09-17T09:51:54Z" msg="User 'e3959236-4e08-421b-bc4c-5151703be305' created with " /server/backend time="2026-09-17T09:51:55Z" msg="User '39826693-d069-44dd-a2bc-66a6fba22e7f' created with " /server/backend time="2026-09-17T09:51:55Z" msg="Starting bridge" time="2026-09-17T09:51:55Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/180/config2080085540/grpcFocusServerConfig.json /service time="2026-09-17T09:51:55Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/180/cache1360594385/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:51:55Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/180/cache1360594385/notifications/notification_cache: no such file or directory" time="2026-09-17T09:51:55Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/180/data917261032/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/180/data917261032/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:51:55Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:51:55Z" msg="Starting IMAP server" time="2026-09-17T09:51:55Z" msg="Starting SMTP server" time="2026-09-17T09:51:55Z" msg="Starting service" time="2026-09-17T09:51:55Z" msg="Starting service" time="2026-09-17T09:51:55Z" msg="Starting receiver service" time="2026-09-17T09:51:55Z" msg="Starting frontend service" time="2026-09-17T09:51:55Z" msg="Loading users" /user time="2026-09-17T09:51:55Z" msg="Starting poll service" time="2026-09-17T09:51:55Z" msg="Checking for updates" time="2026-09-17T09:51:55Z" msg="Finished loading users" /user time="2026-09-17T09:51:55Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/180/config2080085540/grpcServerConfig.json time="2026-09-17T09:51:55Z" msg="gRPC server listening on /tmp/bridge4490" time="2026-09-17T09:51:55Z" msg="Frontend service started" time="2026-09-17T09:51:55Z" msg="Starting frontend client" time="2026-09-17T09:51:55Z" msg="Not monitoring parent PID" time="2026-09-17T09:51:55Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:51:55Z" msg="200 OK: GET https://127.0.0.1:32999/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:51:55Z" msg="Frontend client started" time="2026-09-17T09:51:55Z" msg="Performing full user login" /user username="******** (f698672d)" time="2026-09-17T09:51:55Z" msg="Authorizing user for login" /user username="******** (f698672d)" time="2026-09-17T09:51:55Z" msg="200 OK: POST https://127.0.0.1:32999/auth/v4/info" /manager time="2026-09-17T09:51:56Z" msg="200 OK: POST https://127.0.0.1:32999/auth/v4" /manager time="2026-09-17T09:51:56Z" msg="Logging in authorized user" /user userID=e4dfb606-97da-4be6-bbe9-f3b132405728 time="2026-09-17T09:51:56Z" msg="Adding vault user" userID=e4dfb606-97da-4be6-bbe9-f3b132405728 time="2026-09-17T09:51:56Z" msg="Creating new user" userID=e4dfb606-97da-4be6-bbe9-f3b132405728 time="2026-09-17T09:51:56Z" msg="404 GET https://127.0.0.1:32999/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:51:56Z" msg="404 GET https://127.0.0.1:32999/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:51:56Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:32999/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:51:56Z" msg="Creating user object" authUID=11af2283-c984-44cf-a12f-827c690533fc numA numL userID=e4dfb606-97da-4be6-bbe9-f3b132405728 time="2026-09-17T09:51:56Z" msg="200 OK: GET https://127.0.0.1:32999/core/v4/events/latest" /client userID=e4dfb606-97da-4be6-bbe9-f3b132405728 time="2026-09-17T09:51:56Z" msg="Starting service Last EventID=Ag==" time="2026-09-17T09:51:56Z" msg="200 OK: GET https://127.0.0.1:32999/core/v4/settings" /client userID=e4dfb606-97da-4be6-bbe9-f3b132405728 time="2026-09-17T09:51:56Z" msg="Registering user client, ID:e4dfb606-97da-4be6-bbe9-f3b132405728" time="2026-09-17T09:51:56Z" msg="Starting service main loop" time="2026-09-17T09:51:56Z" msg="Starting service main loop" time="2026-09-17T09:51:56Z" msg="Starting user identity service" numA time="2026-09-17T09:51:56Z" msg="Starting service main loop" time="2026-09-17T09:51:56Z" msg="200 OK: GET https://127.0.0.1:32999/core/v4/labels?T" /client userID=e4dfb606-97da-4be6-bbe9-f3b132405728 time="2026-09-17T09:51:56Z" msg="200 OK: GET https://127.0.0.1:32999/core/v4/labels?T" /client userID=e4dfb606-97da-4be6-bbe9-f3b132405728 time="2026-09-17T09:51:56Z" msg="200 OK: GET https://127.0.0.1:32999/core/v4/labels?T" /client userID=e4dfb606-97da-4be6-bbe9-f3b132405728 time="2026-09-17T09:51:56Z" msg="Setting labels" labelIDs="[8 9 10 12 1 4 6 7 0 2 3 5]" time="2026-09-17T09:51:56Z" msg="Adding user to imap server" addrID=62a4f172-979f-4964-aeca-b65935a41b84 time="2026-09-17T09:51:56Z" msg="Creating new IMAP user" addrID=62a4f172-979f-4964-aeca-b65935a41b84 time="2026-09-17T09:51:56Z" msg="Setting gluon ID" addrID=62a4f172-979f-4964-aeca-b65935a41b84 gluonID=d761cfe4-b73f-43b6-ba91-92bc8ef7b6a0 userID=e4dfb606-97da-4be6-bbe9-f3b132405728 time="2026-09-17T09:51:56Z" msg="Received mailbox message count" gluonID=d761cfe4-b73f-43b6-ba91-92bc8ef7b6a0 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:51:56Z" msg="Created new IMAP user" addrID=62a4f172-979f-4964-aeca-b65935a41b84 gluonID=d761cfe4-b73f-43b6-ba91-92bc8ef7b6a0 time="2026-09-17T09:51:56Z" msg="Validating Listener State" time="2026-09-17T09:51:56Z" time="2026-09-17T09:51:56Z" msg="Starting IMAP Service" time="2026-09-17T09:51:56Z" msg="Checking whether logged in user should re-sync. UserID:e4dfb606-97da-4be6-bbe9-f3b132405728" userID=e4dfb606-97da-4be6-bbe9-f3b132405728 time="2026-09-17T09:51:56Z" msg="Performing full user login" /user username="******** (68a54a81)" time="2026-09-17T09:51:56Z" msg="Authorizing user for login" /user username="******** (68a54a81)" time="2026-09-17T09:51:56Z" msg="Sync triggered" time="2026-09-17T09:51:56Z" msg="Beginning user sync" start="2026-09-17 09:51:56.411071689 +0000 UTC m=+404.903373985" time="2026-09-17T09:51:56Z" msg="Syncing labels" time="2026-09-17T09:51:56Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=d761cfe4-b73f-43b6-ba91-92bc8ef7b6a0 time="2026-09-17T09:51:56Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=d761cfe4-b73f-43b6-ba91-92bc8ef7b6a0 time="2026-09-17T09:51:56Z" msg="Mailbox created" /user remoteMailboxID=4 userID=d761cfe4-b73f-43b6-ba91-92bc8ef7b6a0 time="2026-09-17T09:51:56Z" msg="Mailbox created" /user remoteMailboxID=6 userID=d761cfe4-b73f-43b6-ba91-92bc8ef7b6a0 time="2026-09-17T09:51:56Z" msg="Mailbox created" /user remoteMailboxID=7 userID=d761cfe4-b73f-43b6-ba91-92bc8ef7b6a0 time="2026-09-17T09:51:56Z" msg="Mailbox created" /user remoteMailboxID=0 userID=d761cfe4-b73f-43b6-ba91-92bc8ef7b6a0 time="2026-09-17T09:51:56Z" msg="Mailbox created" /user remoteMailboxID=3 userID=d761cfe4-b73f-43b6-ba91-92bc8ef7b6a0 time="2026-09-17T09:51:56Z" msg="Mailbox created" /user remoteMailboxID=10 userID=d761cfe4-b73f-43b6-ba91-92bc8ef7b6a0 time="2026-09-17T09:51:56Z" msg="Mailbox created" /user remoteMailboxID=12 userID=d761cfe4-b73f-43b6-ba91-92bc8ef7b6a0 time="2026-09-17T09:51:56Z" msg="Mailbox created" /user remoteMailboxID=5 userID=d761cfe4-b73f-43b6-ba91-92bc8ef7b6a0 time="2026-09-17T09:51:56Z" msg="Mailbox created" /user remoteMailboxID=8 userID=d761cfe4-b73f-43b6-ba91-92bc8ef7b6a0 time="2026-09-17T09:51:56Z" msg="Synced labels" time="2026-09-17T09:51:56Z" msg="200 OK: POST https://127.0.0.1:32999/auth/v4/info" /manager time="2026-09-17T09:51:56Z" msg="200 OK: GET https://127.0.0.1:32999/mail/v4/messages/count" /client userID=e4dfb606-97da-4be6-bbe9-f3b132405728 time="2026-09-17T09:51:56Z" msg="Syncing messages" time="2026-09-17T09:51:56Z" msg="Job started" time="2026-09-17T09:51:56Z" msg="200 OK: POST https://127.0.0.1:32999/mail/v4/messages" /client userID=e4dfb606-97da-4be6-bbe9-f3b132405728 time="2026-09-17T09:51:56Z" msg="Job finished" time="2026-09-17T09:51:56Z" msg="All child jobs completed" sync- time="2026-09-17T09:51:56Z" msg="Synced messages" time="2026-09-17T09:51:56Z" msg="Finished user sync" .864924ms time="2026-09-17T09:51:56Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:51:56Z" msg="Event loop reset" eventID="Ag==" time="2026-09-17T09:51:56Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 7} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:51:56Z" msg="200 OK: POST https://127.0.0.1:32999/auth/v4" /manager time="2026-09-17T09:51:56Z" msg="Logging in authorized user" /user userID=76b0d1cd-ab18-41ae-bee0-20eb8f3259eb time="2026-09-17T09:51:56Z" msg="Adding vault user" userID=76b0d1cd-ab18-41ae-bee0-20eb8f3259eb time="2026-09-17T09:51:56Z" msg="Creating new user" userID=76b0d1cd-ab18-41ae-bee0-20eb8f3259eb time="2026-09-17T09:51:56Z" msg="404 GET https://127.0.0.1:32999/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:51:56Z" msg="404 GET https://127.0.0.1:32999/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:51:56Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:32999/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:51:56Z" msg="Creating user object" authUID=1afe0646-c867-44ad-b876-c69af3c668f9 numA numL userID=76b0d1cd-ab18-41ae-bee0-20eb8f3259eb time="2026-09-17T09:51:56Z" msg="200 OK: GET https://127.0.0.1:32999/core/v4/events/latest" /client userID=76b0d1cd-ab18-41ae-bee0-20eb8f3259eb time="2026-09-17T09:51:56Z" msg="Starting service Last EventID=AQ==" time="2026-09-17T09:51:56Z" msg="200 OK: GET https://127.0.0.1:32999/core/v4/settings" /client userID=76b0d1cd-ab18-41ae-bee0-20eb8f3259eb time="2026-09-17T09:51:56Z" msg="Registering user client, ID:76b0d1cd-ab18-41ae-bee0-20eb8f3259eb" time="2026-09-17T09:51:56Z" msg="Starting service main loop" time="2026-09-17T09:51:56Z" msg="Starting service main loop" time="2026-09-17T09:51:56Z" msg="Starting user identity service" numA time="2026-09-17T09:51:56Z" msg="Starting service main loop" time="2026-09-17T09:51:56Z" msg="200 OK: GET https://127.0.0.1:32999/core/v4/labels?T" /client userID=76b0d1cd-ab18-41ae-bee0-20eb8f3259eb time="2026-09-17T09:51:56Z" msg="200 OK: GET https://127.0.0.1:32999/core/v4/labels?T" /client userID=76b0d1cd-ab18-41ae-bee0-20eb8f3259eb time="2026-09-17T09:51:56Z" msg="200 OK: GET https://127.0.0.1:32999/core/v4/labels?T" /client userID=76b0d1cd-ab18-41ae-bee0-20eb8f3259eb time="2026-09-17T09:51:56Z" msg="Setting labels" labelIDs="[0 1 2 3 4 5 8 9 6 7 10 12]" time="2026-09-17T09:51:56Z" msg="Adding user to imap server" addrID=92119d9f-11f9-43ac-b4b9-0a5410a31f45 time="2026-09-17T09:51:56Z" msg="Creating new IMAP user" addrID=92119d9f-11f9-43ac-b4b9-0a5410a31f45 time="2026-09-17T09:51:56Z" msg="Setting gluon ID" addrID=92119d9f-11f9-43ac-b4b9-0a5410a31f45 gluonID=d38bd13d-f30c-41ca-b402-bc1dd8779d63 userID=76b0d1cd-ab18-41ae-bee0-20eb8f3259eb time="2026-09-17T09:51:56Z" msg="Received mailbox message count" gluonID=d38bd13d-f30c-41ca-b402-bc1dd8779d63 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:51:56Z" msg="Created new IMAP user" addrID=92119d9f-11f9-43ac-b4b9-0a5410a31f45 gluonID=d38bd13d-f30c-41ca-b402-bc1dd8779d63 time="2026-09-17T09:51:56Z" msg="Validating Listener State" time="2026-09-17T09:51:56Z" time="2026-09-17T09:51:56Z" msg="Starting IMAP Service" time="2026-09-17T09:51:56Z" msg="Checking whether logged in user should re-sync. UserID:76b0d1cd-ab18-41ae-bee0-20eb8f3259eb" userID=76b0d1cd-ab18-41ae-bee0-20eb8f3259eb time="2026-09-17T09:51:56Z" msg="Sync triggered" time="2026-09-17T09:51:56Z" msg="Beginning user sync" start="2026-09-17 09:51:56.859259605 +0000 UTC m=+405.351561941" Scenario: SMTP Logs out user # features/smtp/auth.feature:47 Given user "e3959236-4e08-421b-bc4c-5151703be305" connects SMTP client "1" # :1 -> *scenario When SMTP client "1" logs out # :1 -> *scenario time="2026-09-17T09:51:56Z" msg="Failed to close SMTP client" error="close tcp 127.0.0.1:58546->127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:51:56Z" msg="Syncing labels" time="2026-09-17T09:51:56Z" msg="Frontend service stopped" time="2026-09-17T09:51:56Z" msg="Frontend client stopped" time="2026-09-17T09:51:56Z" msg="Closing bridge" time="2026-09-17T09:51:56Z" msg="Stopping service" time="2026-09-17T09:51:56Z" msg="Closing user" userID=e4dfb606-97da-4be6-bbe9-f3b132405728 time="2026-09-17T09:51:56Z" msg="De-registering user client, ID:e4dfb606-97da-4be6-bbe9-f3b132405728" time="2026-09-17T09:51:56Z" msg="Exiting IMAP Service" time="2026-09-17T09:51:56Z" msg="Exiting service main loop" time="2026-09-17T09:51:56Z" msg="Exiting service main loop" time="2026-09-17T09:51:56Z" msg="Exiting Service" time="2026-09-17T09:51:56Z" msg="Exiting service main loop" time="2026-09-17T09:51:56Z" msg="Exiting service" time="2026-09-17T09:51:56Z" msg="Closing user" userID=76b0d1cd-ab18-41ae-bee0-20eb8f3259eb time="2026-09-17T09:51:56Z" msg="De-registering user client, ID:76b0d1cd-ab18-41ae-bee0-20eb8f3259eb" time="2026-09-17T09:51:56Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=d38bd13d-f30c-41ca-b402-bc1dd8779d63 time="2026-09-17T09:51:56Z" msg="Synced labels" time="2026-09-17T09:51:56Z" msg="Get \"https://127.0.0.1:32999/mail/v4/messages/count\": context canceled, Attempt 1" /client time="2026-09-17T09:51:56Z" msg="Get \"https://127.0.0.1:32999/mail/v4/messages/count\": context canceled" /client time="2026-09-17T09:51:56Z" msg="Failed to sync, will retry later" error="failed to retrieve message ids: received no response from API: Get \"https://127.0.0.1:32999/mail/v4/messages/count\": context canceled" time="2026-09-17T09:51:56Z" msg="Sync aborted" error="context canceled" time="2026-09-17T09:51:56Z" msg="Finished user sync" .911453ms time="2026-09-17T09:51:56Z" msg="Exiting IMAP Service" time="2026-09-17T09:51:56Z" msg="Exiting service main loop" time="2026-09-17T09:51:56Z" msg="Exiting service main loop" time="2026-09-17T09:51:56Z" msg="Exiting Service" time="2026-09-17T09:51:56Z" msg="Exiting service main loop" time="2026-09-17T09:51:56Z" msg="Exiting service" time="2026-09-17T09:51:56Z" msg="Closing IMAP Listener" time="2026-09-17T09:51:56Z" msg="Closing IMAP server" time="2026-09-17T09:51:56Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=d38bd13d-f30c-41ca-b402-bc1dd8779d63 time="2026-09-17T09:51:56Z" msg="Closing SMTP Listener" time="2026-09-17T09:51:56Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:51:56Z" msg="Closing SMTP server" time="2026-09-17T09:51:56Z" msg="Closing service" Then it succeeds # :1 -> *scenario time="2026-09-17T09:51:57Z" msg="User '2c2fed63-fa77-40a3-b620-eec034f6d313' created with " /server/backend time="2026-09-17T09:51:57Z" msg="User '3f30494f-116b-4efa-99e0-7a1ff7d2191f' created with " /server/backend time="2026-09-17T09:51:58Z" msg="Starting bridge" time="2026-09-17T09:51:58Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/181/config4173858042/grpcFocusServerConfig.json /service time="2026-09-17T09:51:58Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/181/cache4084397778/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:51:58Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/181/cache4084397778/notifications/notification_cache: no such file or directory" time="2026-09-17T09:51:58Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/181/data600081393/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/181/data600081393/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:51:58Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:51:58Z" msg="Starting IMAP server" time="2026-09-17T09:51:58Z" msg="Starting SMTP server" time="2026-09-17T09:51:58Z" msg="Starting service" time="2026-09-17T09:51:58Z" msg="Starting service" time="2026-09-17T09:51:58Z" msg="Starting poll service" time="2026-09-17T09:51:58Z" msg="Checking for updates" time="2026-09-17T09:51:58Z" msg="Starting frontend service" time="2026-09-17T09:51:58Z" msg="Starting receiver service" time="2026-09-17T09:51:58Z" msg="Loading users" /user time="2026-09-17T09:51:58Z" msg="Finished loading users" /user time="2026-09-17T09:51:58Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/181/config4173858042/grpcServerConfig.json time="2026-09-17T09:51:58Z" msg="gRPC server listening on /tmp/bridge9550" time="2026-09-17T09:51:58Z" msg="Frontend service started" time="2026-09-17T09:51:58Z" msg="Starting frontend client" time="2026-09-17T09:51:58Z" msg="Not monitoring parent PID" time="2026-09-17T09:51:58Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:51:58Z" msg="Frontend client started" time="2026-09-17T09:51:58Z" msg="200 OK: GET https://127.0.0.1:36021/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:51:58Z" msg="Performing full user login" /user username="******** (00641fc3)" time="2026-09-17T09:51:58Z" msg="Authorizing user for login" /user username="******** (00641fc3)" time="2026-09-17T09:51:58Z" msg="200 OK: POST https://127.0.0.1:36021/auth/v4/info" /manager time="2026-09-17T09:51:58Z" msg="200 OK: POST https://127.0.0.1:36021/auth/v4" /manager time="2026-09-17T09:51:58Z" msg="Logging in authorized user" /user userID=cc4d6ae4-6a4c-4ee5-9922-de8b0ea83e9d time="2026-09-17T09:51:59Z" msg="Adding vault user" userID=cc4d6ae4-6a4c-4ee5-9922-de8b0ea83e9d time="2026-09-17T09:51:59Z" msg="Creating new user" userID=cc4d6ae4-6a4c-4ee5-9922-de8b0ea83e9d time="2026-09-17T09:51:59Z" msg="404 GET https://127.0.0.1:36021/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:51:59Z" msg="404 GET https://127.0.0.1:36021/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:51:59Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:36021/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:51:59Z" msg="Creating user object" authUID=07414d9b-022e-4df3-a036-0d43345f2680 numA numL userID=cc4d6ae4-6a4c-4ee5-9922-de8b0ea83e9d time="2026-09-17T09:51:59Z" msg="200 OK: GET https://127.0.0.1:36021/core/v4/events/latest" /client userID=cc4d6ae4-6a4c-4ee5-9922-de8b0ea83e9d time="2026-09-17T09:51:59Z" msg="Starting service Last EventID=Ag==" time="2026-09-17T09:51:59Z" msg="200 OK: GET https://127.0.0.1:36021/core/v4/settings" /client userID=cc4d6ae4-6a4c-4ee5-9922-de8b0ea83e9d time="2026-09-17T09:51:59Z" msg="Registering user client, ID:cc4d6ae4-6a4c-4ee5-9922-de8b0ea83e9d" time="2026-09-17T09:51:59Z" msg="Starting user identity service" numA time="2026-09-17T09:51:59Z" msg="Starting service main loop" time="2026-09-17T09:51:59Z" msg="Starting service main loop" time="2026-09-17T09:51:59Z" msg="Starting service main loop" time="2026-09-17T09:51:59Z" msg="200 OK: GET https://127.0.0.1:36021/core/v4/labels?T" /client userID=cc4d6ae4-6a4c-4ee5-9922-de8b0ea83e9d time="2026-09-17T09:51:59Z" msg="200 OK: GET https://127.0.0.1:36021/core/v4/labels?T" /client userID=cc4d6ae4-6a4c-4ee5-9922-de8b0ea83e9d time="2026-09-17T09:51:59Z" msg="200 OK: GET https://127.0.0.1:36021/core/v4/labels?T" /client userID=cc4d6ae4-6a4c-4ee5-9922-de8b0ea83e9d time="2026-09-17T09:51:59Z" msg="Setting labels" labelIDs="[0 1 2 4 6 7 9 3 5 8 10 12]" time="2026-09-17T09:51:59Z" msg="Adding user to imap server" addrID=94bd940e-ac6b-4f86-8c2e-831ee0c88755 time="2026-09-17T09:51:59Z" msg="Creating new IMAP user" addrID=94bd940e-ac6b-4f86-8c2e-831ee0c88755 time="2026-09-17T09:51:59Z" msg="Setting gluon ID" addrID=94bd940e-ac6b-4f86-8c2e-831ee0c88755 gluonID=4d9a75bd-01a1-47c7-baa2-c78d2da5e115 userID=cc4d6ae4-6a4c-4ee5-9922-de8b0ea83e9d time="2026-09-17T09:51:59Z" msg="Received mailbox message count" gluonID=4d9a75bd-01a1-47c7-baa2-c78d2da5e115 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:51:59Z" msg="Created new IMAP user" addrID=94bd940e-ac6b-4f86-8c2e-831ee0c88755 gluonID=4d9a75bd-01a1-47c7-baa2-c78d2da5e115 time="2026-09-17T09:51:59Z" msg="Validating Listener State" time="2026-09-17T09:51:59Z" time="2026-09-17T09:51:59Z" msg="Starting IMAP Service" time="2026-09-17T09:51:59Z" msg="Checking whether logged in user should re-sync. UserID:cc4d6ae4-6a4c-4ee5-9922-de8b0ea83e9d" userID=cc4d6ae4-6a4c-4ee5-9922-de8b0ea83e9d time="2026-09-17T09:51:59Z" msg="Sync triggered" time="2026-09-17T09:51:59Z" msg="Performing full user login" /user username="******** (bda4ef1a)" time="2026-09-17T09:51:59Z" msg="Authorizing user for login" /user username="******** (bda4ef1a)" time="2026-09-17T09:51:59Z" msg="Beginning user sync" start="2026-09-17 09:51:59.020516429 +0000 UTC m=+407.512818725" time="2026-09-17T09:51:59Z" msg="Syncing labels" time="2026-09-17T09:51:59Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=4d9a75bd-01a1-47c7-baa2-c78d2da5e115 time="2026-09-17T09:51:59Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=4d9a75bd-01a1-47c7-baa2-c78d2da5e115 time="2026-09-17T09:51:59Z" msg="Mailbox created" /user remoteMailboxID=7 userID=4d9a75bd-01a1-47c7-baa2-c78d2da5e115 time="2026-09-17T09:51:59Z" msg="Mailbox created" /user remoteMailboxID=5 userID=4d9a75bd-01a1-47c7-baa2-c78d2da5e115 time="2026-09-17T09:51:59Z" msg="Mailbox created" /user remoteMailboxID=12 userID=4d9a75bd-01a1-47c7-baa2-c78d2da5e115 time="2026-09-17T09:51:59Z" msg="Mailbox created" /user remoteMailboxID=0 userID=4d9a75bd-01a1-47c7-baa2-c78d2da5e115 time="2026-09-17T09:51:59Z" msg="Mailbox created" /user remoteMailboxID=6 userID=4d9a75bd-01a1-47c7-baa2-c78d2da5e115 time="2026-09-17T09:51:59Z" msg="Mailbox created" /user remoteMailboxID=3 userID=4d9a75bd-01a1-47c7-baa2-c78d2da5e115 time="2026-09-17T09:51:59Z" msg="Mailbox created" /user remoteMailboxID=8 userID=4d9a75bd-01a1-47c7-baa2-c78d2da5e115 time="2026-09-17T09:51:59Z" msg="Mailbox created" /user remoteMailboxID=10 userID=4d9a75bd-01a1-47c7-baa2-c78d2da5e115 time="2026-09-17T09:51:59Z" msg="Mailbox created" /user remoteMailboxID=4 userID=4d9a75bd-01a1-47c7-baa2-c78d2da5e115 time="2026-09-17T09:51:59Z" msg="Synced labels" time="2026-09-17T09:51:59Z" msg="200 OK: GET https://127.0.0.1:36021/mail/v4/messages/count" /client userID=cc4d6ae4-6a4c-4ee5-9922-de8b0ea83e9d time="2026-09-17T09:51:59Z" msg="200 OK: POST https://127.0.0.1:36021/auth/v4/info" /manager time="2026-09-17T09:51:59Z" msg="Syncing messages" time="2026-09-17T09:51:59Z" msg="Job started" time="2026-09-17T09:51:59Z" msg="200 OK: POST https://127.0.0.1:36021/mail/v4/messages" /client userID=cc4d6ae4-6a4c-4ee5-9922-de8b0ea83e9d time="2026-09-17T09:51:59Z" msg="Job finished" time="2026-09-17T09:51:59Z" msg="All child jobs completed" sync- time="2026-09-17T09:51:59Z" msg="Synced messages" time="2026-09-17T09:51:59Z" msg="Finished user sync" .312086ms time="2026-09-17T09:51:59Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:51:59Z" msg="Event loop reset" eventID="Ag==" time="2026-09-17T09:51:59Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 9} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:51:59Z" msg="200 OK: POST https://127.0.0.1:36021/auth/v4" /manager time="2026-09-17T09:51:59Z" msg="Logging in authorized user" /user userID=6d93280f-bf11-471e-bb51-0008723cbda4 time="2026-09-17T09:51:59Z" msg="Adding vault user" userID=6d93280f-bf11-471e-bb51-0008723cbda4 time="2026-09-17T09:51:59Z" msg="Creating new user" userID=6d93280f-bf11-471e-bb51-0008723cbda4 time="2026-09-17T09:51:59Z" msg="404 GET https://127.0.0.1:36021/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:51:59Z" msg="404 GET https://127.0.0.1:36021/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:51:59Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:36021/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:51:59Z" msg="Creating user object" authUID=eb53ee55-9ef0-4375-8eb4-8aa3dd618d06 numA numL userID=6d93280f-bf11-471e-bb51-0008723cbda4 time="2026-09-17T09:51:59Z" msg="200 OK: GET https://127.0.0.1:36021/core/v4/events/latest" /client userID=6d93280f-bf11-471e-bb51-0008723cbda4 time="2026-09-17T09:51:59Z" msg="Starting service Last EventID=AQ==" time="2026-09-17T09:51:59Z" msg="200 OK: GET https://127.0.0.1:36021/core/v4/settings" /client userID=6d93280f-bf11-471e-bb51-0008723cbda4 time="2026-09-17T09:51:59Z" msg="Registering user client, ID:6d93280f-bf11-471e-bb51-0008723cbda4" time="2026-09-17T09:51:59Z" msg="Starting service main loop" time="2026-09-17T09:51:59Z" msg="Starting service main loop" time="2026-09-17T09:51:59Z" msg="Starting user identity service" numA time="2026-09-17T09:51:59Z" msg="Starting service main loop" time="2026-09-17T09:51:59Z" msg="200 OK: GET https://127.0.0.1:36021/core/v4/labels?T" /client userID=6d93280f-bf11-471e-bb51-0008723cbda4 time="2026-09-17T09:51:59Z" msg="200 OK: GET https://127.0.0.1:36021/core/v4/labels?T" /client userID=6d93280f-bf11-471e-bb51-0008723cbda4 time="2026-09-17T09:51:59Z" msg="200 OK: GET https://127.0.0.1:36021/core/v4/labels?T" /client userID=6d93280f-bf11-471e-bb51-0008723cbda4 time="2026-09-17T09:51:59Z" msg="Setting labels" labelIDs="[1 3 6 7 8 9 10 0 2 4 5 12]" time="2026-09-17T09:51:59Z" msg="Adding user to imap server" addrID=cef12722-76a4-418a-886d-bd548edcd58a time="2026-09-17T09:51:59Z" msg="Creating new IMAP user" addrID=cef12722-76a4-418a-886d-bd548edcd58a time="2026-09-17T09:51:59Z" msg="Setting gluon ID" addrID=cef12722-76a4-418a-886d-bd548edcd58a gluonID=8644845f-5ddd-45a5-a5c1-e0a69e90144d userID=6d93280f-bf11-471e-bb51-0008723cbda4 time="2026-09-17T09:51:59Z" msg="Received mailbox message count" gluonID=8644845f-5ddd-45a5-a5c1-e0a69e90144d labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:51:59Z" msg="Created new IMAP user" addrID=cef12722-76a4-418a-886d-bd548edcd58a gluonID=8644845f-5ddd-45a5-a5c1-e0a69e90144d time="2026-09-17T09:51:59Z" msg="Validating Listener State" time="2026-09-17T09:51:59Z" time="2026-09-17T09:51:59Z" msg="Starting IMAP Service" time="2026-09-17T09:51:59Z" msg="Checking whether logged in user should re-sync. UserID:6d93280f-bf11-471e-bb51-0008723cbda4" userID=6d93280f-bf11-471e-bb51-0008723cbda4 time="2026-09-17T09:51:59Z" msg="Sync triggered" time="2026-09-17T09:51:59Z" msg="Beginning user sync" start="2026-09-17 09:51:59.457078214 +0000 UTC m=+407.949380550" Scenario: SMTP client can authenticate two users # features/smtp/auth.feature:52 When user "2c2fed63-fa77-40a3-b620-eec034f6d313" connects SMTP client "1" # :1 -> *scenario time="2026-09-17T09:51:59Z" msg="Syncing labels" Then SMTP client "1" can authenticate # :1 -> *scenario time="2026-09-17T09:51:59Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=8644845f-5ddd-45a5-a5c1-e0a69e90144d time="2026-09-17T09:51:59Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=8644845f-5ddd-45a5-a5c1-e0a69e90144d When user "3f30494f-116b-4efa-99e0-7a1ff7d2191f" connects SMTP client "2" # :1 -> *scenario time="2026-09-17T09:51:59Z" msg="Mailbox created" /user remoteMailboxID=12 userID=8644845f-5ddd-45a5-a5c1-e0a69e90144d time="2026-09-17T09:51:59Z" msg="Mailbox created" /user remoteMailboxID=3 userID=8644845f-5ddd-45a5-a5c1-e0a69e90144d time="2026-09-17T09:51:59Z" msg="Frontend service stopped" time="2026-09-17T09:51:59Z" msg="Mailbox created" /user remoteMailboxID=6 userID=8644845f-5ddd-45a5-a5c1-e0a69e90144d time="2026-09-17T09:51:59Z" msg="Frontend client stopped" time="2026-09-17T09:51:59Z" msg="Closing bridge" time="2026-09-17T09:51:59Z" msg="Stopping service" time="2026-09-17T09:51:59Z" msg="Closing user" userID=cc4d6ae4-6a4c-4ee5-9922-de8b0ea83e9d time="2026-09-17T09:51:59Z" msg="De-registering user client, ID:cc4d6ae4-6a4c-4ee5-9922-de8b0ea83e9d" time="2026-09-17T09:51:59Z" msg="Exiting IMAP Service" time="2026-09-17T09:51:59Z" msg="Exiting service main loop" time="2026-09-17T09:51:59Z" msg="Exiting service main loop" time="2026-09-17T09:51:59Z" msg="Mailbox created" /user remoteMailboxID=7 userID=8644845f-5ddd-45a5-a5c1-e0a69e90144d time="2026-09-17T09:51:59Z" msg="Exiting Service" time="2026-09-17T09:51:59Z" msg="Exiting service main loop" time="2026-09-17T09:51:59Z" msg="Exiting service" time="2026-09-17T09:51:59Z" msg="Closing user" userID=6d93280f-bf11-471e-bb51-0008723cbda4 time="2026-09-17T09:51:59Z" msg="De-registering user client, ID:6d93280f-bf11-471e-bb51-0008723cbda4" time="2026-09-17T09:51:59Z" msg="Mailbox created" /user remoteMailboxID=8 userID=8644845f-5ddd-45a5-a5c1-e0a69e90144d time="2026-09-17T09:51:59Z" msg="Synced labels" time="2026-09-17T09:51:59Z" msg="Get \"https://127.0.0.1:36021/mail/v4/messages/count\": context canceled, Attempt 1" /client time="2026-09-17T09:51:59Z" msg="Get \"https://127.0.0.1:36021/mail/v4/messages/count\": context canceled" /client time="2026-09-17T09:51:59Z" msg="Failed to sync, will retry later" error="failed to retrieve message ids: received no response from API: Get \"https://127.0.0.1:36021/mail/v4/messages/count\": context canceled" time="2026-09-17T09:51:59Z" msg="Sync aborted" error="context canceled" time="2026-09-17T09:51:59Z" msg="Finished user sync" .150578ms time="2026-09-17T09:51:59Z" msg="Exiting IMAP Service" time="2026-09-17T09:51:59Z" msg="Exiting service main loop" time="2026-09-17T09:51:59Z" msg="Exiting service main loop" time="2026-09-17T09:51:59Z" msg="Exiting Service" time="2026-09-17T09:51:59Z" msg="Exiting service main loop" time="2026-09-17T09:51:59Z" msg="Exiting service" time="2026-09-17T09:51:59Z" msg="Mailbox created" /user remoteMailboxID=0 userID=8644845f-5ddd-45a5-a5c1-e0a69e90144d time="2026-09-17T09:51:59Z" msg="Closing IMAP Listener" time="2026-09-17T09:51:59Z" msg="Closing IMAP server" time="2026-09-17T09:51:59Z" msg="Mailbox created" /user remoteMailboxID=10 userID=8644845f-5ddd-45a5-a5c1-e0a69e90144d time="2026-09-17T09:51:59Z" msg="Closing SMTP Listener" time="2026-09-17T09:51:59Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:51:59Z" msg="Closing SMTP server" time="2026-09-17T09:51:59Z" msg="Closing service" Then SMTP client "2" can authenticate # :1 -> *scenario time="2026-09-17T09:51:59Z" msg="User 'c05f42f2-db9a-4a25-afa7-c3724b5ec168' created with " /server/backend time="2026-09-17T09:52:00Z" msg="User '5f06bd1f-ab68-4d11-aed4-88a2bbe3b0ca' created with " /server/backend time="2026-09-17T09:52:01Z" msg="Starting bridge" time="2026-09-17T09:52:01Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/182/config3710151007/grpcFocusServerConfig.json /service time="2026-09-17T09:52:01Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/182/cache1307224769/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:52:01Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/182/cache1307224769/notifications/notification_cache: no such file or directory" time="2026-09-17T09:52:01Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/182/data705806806/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/182/data705806806/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:52:01Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:52:01Z" msg="Starting IMAP server" time="2026-09-17T09:52:01Z" msg="Starting SMTP server" time="2026-09-17T09:52:01Z" msg="Starting service" time="2026-09-17T09:52:01Z" msg="Starting service" time="2026-09-17T09:52:01Z" msg="Starting receiver service" time="2026-09-17T09:52:01Z" msg="Starting frontend service" time="2026-09-17T09:52:01Z" msg="Checking for updates" time="2026-09-17T09:52:01Z" msg="Loading users" /user time="2026-09-17T09:52:01Z" msg="Starting poll service" time="2026-09-17T09:52:01Z" msg="Finished loading users" /user time="2026-09-17T09:52:01Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/182/config3710151007/grpcServerConfig.json time="2026-09-17T09:52:01Z" msg="gRPC server listening on /tmp/bridge1786" time="2026-09-17T09:52:01Z" msg="Frontend service started" time="2026-09-17T09:52:01Z" msg="Starting frontend client" time="2026-09-17T09:52:01Z" msg="Not monitoring parent PID" time="2026-09-17T09:52:01Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:52:01Z" msg="200 OK: GET https://127.0.0.1:37169/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:52:01Z" msg="Frontend client started" time="2026-09-17T09:52:01Z" msg="Performing full user login" /user username="******** (ce84654e)" time="2026-09-17T09:52:01Z" msg="Authorizing user for login" /user username="******** (ce84654e)" time="2026-09-17T09:52:01Z" msg="200 OK: POST https://127.0.0.1:37169/auth/v4/info" /manager time="2026-09-17T09:52:01Z" msg="200 OK: POST https://127.0.0.1:37169/auth/v4" /manager time="2026-09-17T09:52:01Z" msg="Logging in authorized user" /user userID=c1c4baa6-cb62-48bd-a235-c7ecf278eee8 time="2026-09-17T09:52:01Z" msg="Adding vault user" userID=c1c4baa6-cb62-48bd-a235-c7ecf278eee8 time="2026-09-17T09:52:01Z" msg="Creating new user" userID=c1c4baa6-cb62-48bd-a235-c7ecf278eee8 time="2026-09-17T09:52:01Z" msg="404 GET https://127.0.0.1:37169/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:52:01Z" msg="404 GET https://127.0.0.1:37169/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:52:01Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:37169/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:52:01Z" msg="Creating user object" authUID=ee64f35d-a854-4092-bbbd-00e60836020e numA numL userID=c1c4baa6-cb62-48bd-a235-c7ecf278eee8 time="2026-09-17T09:52:01Z" msg="200 OK: GET https://127.0.0.1:37169/core/v4/events/latest" /client userID=c1c4baa6-cb62-48bd-a235-c7ecf278eee8 time="2026-09-17T09:52:01Z" msg="Starting service Last EventID=Ag==" time="2026-09-17T09:52:01Z" msg="200 OK: GET https://127.0.0.1:37169/core/v4/settings" /client userID=c1c4baa6-cb62-48bd-a235-c7ecf278eee8 time="2026-09-17T09:52:01Z" msg="Registering user client, ID:c1c4baa6-cb62-48bd-a235-c7ecf278eee8" time="2026-09-17T09:52:01Z" msg="Starting user identity service" numA time="2026-09-17T09:52:01Z" msg="Starting service main loop" time="2026-09-17T09:52:01Z" msg="Starting service main loop" time="2026-09-17T09:52:01Z" msg="Starting service main loop" time="2026-09-17T09:52:01Z" msg="200 OK: GET https://127.0.0.1:37169/core/v4/labels?T" /client userID=c1c4baa6-cb62-48bd-a235-c7ecf278eee8 time="2026-09-17T09:52:01Z" msg="200 OK: GET https://127.0.0.1:37169/core/v4/labels?T" /client userID=c1c4baa6-cb62-48bd-a235-c7ecf278eee8 time="2026-09-17T09:52:01Z" msg="200 OK: GET https://127.0.0.1:37169/core/v4/labels?T" /client userID=c1c4baa6-cb62-48bd-a235-c7ecf278eee8 time="2026-09-17T09:52:01Z" msg="Setting labels" labelIDs="[9 10 0 1 2 4 7 8 12 3 5 6]" time="2026-09-17T09:52:01Z" msg="Adding user to imap server" addrID=37465fff-54f9-4cdf-90f7-1074a94132a4 time="2026-09-17T09:52:01Z" msg="Creating new IMAP user" addrID=37465fff-54f9-4cdf-90f7-1074a94132a4 time="2026-09-17T09:52:01Z" msg="Setting gluon ID" addrID=37465fff-54f9-4cdf-90f7-1074a94132a4 gluonID=06b3e940-69e7-4656-9804-e801c1559690 userID=c1c4baa6-cb62-48bd-a235-c7ecf278eee8 time="2026-09-17T09:52:01Z" msg="Received mailbox message count" gluonID=06b3e940-69e7-4656-9804-e801c1559690 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:52:01Z" msg="Created new IMAP user" addrID=37465fff-54f9-4cdf-90f7-1074a94132a4 gluonID=06b3e940-69e7-4656-9804-e801c1559690 time="2026-09-17T09:52:01Z" msg="Validating Listener State" time="2026-09-17T09:52:01Z" time="2026-09-17T09:52:01Z" msg="Starting IMAP Service" time="2026-09-17T09:52:01Z" msg="Checking whether logged in user should re-sync. UserID:c1c4baa6-cb62-48bd-a235-c7ecf278eee8" userID=c1c4baa6-cb62-48bd-a235-c7ecf278eee8 time="2026-09-17T09:52:01Z" msg="Sync triggered" time="2026-09-17T09:52:01Z" msg="Beginning user sync" start="2026-09-17 09:52:01.607702031 +0000 UTC m=+410.100004407" time="2026-09-17T09:52:01Z" msg="Performing full user login" /user username="******** (f4b7f67f)" time="2026-09-17T09:52:01Z" msg="Authorizing user for login" /user username="******** (f4b7f67f)" time="2026-09-17T09:52:01Z" msg="Syncing labels" time="2026-09-17T09:52:01Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=06b3e940-69e7-4656-9804-e801c1559690 time="2026-09-17T09:52:01Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=06b3e940-69e7-4656-9804-e801c1559690 time="2026-09-17T09:52:01Z" msg="Mailbox created" /user remoteMailboxID=6 userID=06b3e940-69e7-4656-9804-e801c1559690 time="2026-09-17T09:52:01Z" msg="Mailbox created" /user remoteMailboxID=10 userID=06b3e940-69e7-4656-9804-e801c1559690 time="2026-09-17T09:52:01Z" msg="Mailbox created" /user remoteMailboxID=8 userID=06b3e940-69e7-4656-9804-e801c1559690 time="2026-09-17T09:52:01Z" msg="Mailbox created" /user remoteMailboxID=5 userID=06b3e940-69e7-4656-9804-e801c1559690 time="2026-09-17T09:52:01Z" msg="Mailbox created" /user remoteMailboxID=0 userID=06b3e940-69e7-4656-9804-e801c1559690 time="2026-09-17T09:52:01Z" msg="Mailbox created" /user remoteMailboxID=4 userID=06b3e940-69e7-4656-9804-e801c1559690 time="2026-09-17T09:52:01Z" msg="Mailbox created" /user remoteMailboxID=7 userID=06b3e940-69e7-4656-9804-e801c1559690 time="2026-09-17T09:52:01Z" msg="Mailbox created" /user remoteMailboxID=12 userID=06b3e940-69e7-4656-9804-e801c1559690 time="2026-09-17T09:52:01Z" msg="Mailbox created" /user remoteMailboxID=3 userID=06b3e940-69e7-4656-9804-e801c1559690 time="2026-09-17T09:52:01Z" msg="Synced labels" time="2026-09-17T09:52:01Z" msg="200 OK: POST https://127.0.0.1:37169/auth/v4/info" /manager time="2026-09-17T09:52:01Z" msg="200 OK: GET https://127.0.0.1:37169/mail/v4/messages/count" /client userID=c1c4baa6-cb62-48bd-a235-c7ecf278eee8 time="2026-09-17T09:52:01Z" msg="Syncing messages" time="2026-09-17T09:52:01Z" msg="Job started" time="2026-09-17T09:52:01Z" msg="200 OK: POST https://127.0.0.1:37169/mail/v4/messages" /client userID=c1c4baa6-cb62-48bd-a235-c7ecf278eee8 time="2026-09-17T09:52:01Z" msg="Job finished" time="2026-09-17T09:52:01Z" msg="All child jobs completed" sync- time="2026-09-17T09:52:01Z" msg="Synced messages" time="2026-09-17T09:52:01Z" msg="Finished user sync" .594594ms time="2026-09-17T09:52:01Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:52:01Z" msg="Event loop reset" eventID="Ag==" time="2026-09-17T09:52:01Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 7} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:52:01Z" msg="200 OK: POST https://127.0.0.1:37169/auth/v4" /manager time="2026-09-17T09:52:01Z" msg="Logging in authorized user" /user userID=9030d3ef-9600-451d-979f-4b7ab4681c73 time="2026-09-17T09:52:02Z" msg="Adding vault user" userID=9030d3ef-9600-451d-979f-4b7ab4681c73 time="2026-09-17T09:52:02Z" msg="Creating new user" userID=9030d3ef-9600-451d-979f-4b7ab4681c73 time="2026-09-17T09:52:02Z" msg="404 GET https://127.0.0.1:37169/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:52:02Z" msg="404 GET https://127.0.0.1:37169/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:52:02Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:37169/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:52:02Z" msg="Creating user object" authUID=3f0d1169-e646-4097-9673-7b3b2d61536f numA numL userID=9030d3ef-9600-451d-979f-4b7ab4681c73 time="2026-09-17T09:52:02Z" msg="200 OK: GET https://127.0.0.1:37169/core/v4/events/latest" /client userID=9030d3ef-9600-451d-979f-4b7ab4681c73 time="2026-09-17T09:52:02Z" msg="Starting service Last EventID=AQ==" time="2026-09-17T09:52:02Z" msg="200 OK: GET https://127.0.0.1:37169/core/v4/settings" /client userID=9030d3ef-9600-451d-979f-4b7ab4681c73 time="2026-09-17T09:52:02Z" msg="Registering user client, ID:9030d3ef-9600-451d-979f-4b7ab4681c73" time="2026-09-17T09:52:02Z" msg="Starting service main loop" time="2026-09-17T09:52:02Z" msg="Starting user identity service" numA time="2026-09-17T09:52:02Z" msg="Starting service main loop" time="2026-09-17T09:52:02Z" msg="Starting service main loop" time="2026-09-17T09:52:02Z" msg="200 OK: GET https://127.0.0.1:37169/core/v4/labels?T" /client userID=9030d3ef-9600-451d-979f-4b7ab4681c73 time="2026-09-17T09:52:02Z" msg="200 OK: GET https://127.0.0.1:37169/core/v4/labels?T" /client userID=9030d3ef-9600-451d-979f-4b7ab4681c73 time="2026-09-17T09:52:02Z" msg="200 OK: GET https://127.0.0.1:37169/core/v4/labels?T" /client userID=9030d3ef-9600-451d-979f-4b7ab4681c73 time="2026-09-17T09:52:02Z" msg="Setting labels" labelIDs="[8 12 0 1 3 4 7 9 10 2 5 6]" time="2026-09-17T09:52:02Z" msg="Adding user to imap server" addrID=1a43a96e-1a76-4015-9ac5-41225fd1aabf time="2026-09-17T09:52:02Z" msg="Creating new IMAP user" addrID=1a43a96e-1a76-4015-9ac5-41225fd1aabf time="2026-09-17T09:52:02Z" msg="Setting gluon ID" addrID=1a43a96e-1a76-4015-9ac5-41225fd1aabf gluonID=5627a26f-83d6-462a-a20b-111f8dca5b97 userID=9030d3ef-9600-451d-979f-4b7ab4681c73 time="2026-09-17T09:52:02Z" msg="Received mailbox message count" gluonID=5627a26f-83d6-462a-a20b-111f8dca5b97 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:52:02Z" msg="Created new IMAP user" addrID=1a43a96e-1a76-4015-9ac5-41225fd1aabf gluonID=5627a26f-83d6-462a-a20b-111f8dca5b97 time="2026-09-17T09:52:02Z" msg="Validating Listener State" time="2026-09-17T09:52:02Z" time="2026-09-17T09:52:02Z" msg="Starting IMAP Service" time="2026-09-17T09:52:02Z" msg="Checking whether logged in user should re-sync. UserID:9030d3ef-9600-451d-979f-4b7ab4681c73" userID=9030d3ef-9600-451d-979f-4b7ab4681c73 time="2026-09-17T09:52:02Z" msg="Sync triggered" time="2026-09-17T09:52:02Z" msg="Beginning user sync" start="2026-09-17 09:52:02.043432492 +0000 UTC m=+410.535734828" time="2026-09-17T09:52:02Z" msg="Syncing labels" time="2026-09-17T09:52:02Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=5627a26f-83d6-462a-a20b-111f8dca5b97 time="2026-09-17T09:52:02Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=5627a26f-83d6-462a-a20b-111f8dca5b97 time="2026-09-17T09:52:02Z" msg="Mailbox created" /user remoteMailboxID=3 userID=5627a26f-83d6-462a-a20b-111f8dca5b97 time="2026-09-17T09:52:02Z" msg="Mailbox created" /user remoteMailboxID=4 userID=5627a26f-83d6-462a-a20b-111f8dca5b97 time="2026-09-17T09:52:02Z" msg="Mailbox created" /user remoteMailboxID=7 userID=5627a26f-83d6-462a-a20b-111f8dca5b97 time="2026-09-17T09:52:02Z" msg="Mailbox created" /user remoteMailboxID=10 userID=5627a26f-83d6-462a-a20b-111f8dca5b97 time="2026-09-17T09:52:02Z" msg="Mailbox created" /user remoteMailboxID=5 userID=5627a26f-83d6-462a-a20b-111f8dca5b97 time="2026-09-17T09:52:02Z" msg="Mailbox created" /user remoteMailboxID=8 userID=5627a26f-83d6-462a-a20b-111f8dca5b97 time="2026-09-17T09:52:02Z" msg="Mailbox created" /user remoteMailboxID=12 userID=5627a26f-83d6-462a-a20b-111f8dca5b97 time="2026-09-17T09:52:02Z" msg="Mailbox created" /user remoteMailboxID=0 userID=5627a26f-83d6-462a-a20b-111f8dca5b97 time="2026-09-17T09:52:02Z" msg="Mailbox created" /user remoteMailboxID=6 userID=5627a26f-83d6-462a-a20b-111f8dca5b97 time="2026-09-17T09:52:02Z" msg="Synced labels" time="2026-09-17T09:52:02Z" msg="User '0d1ebfb8-b411-4219-a192-8908ae1c880a' created with " /server/backend time="2026-09-17T09:52:02Z" msg="200 OK: GET https://127.0.0.1:37169/mail/v4/messages/count" /client userID=9030d3ef-9600-451d-979f-4b7ab4681c73 time="2026-09-17T09:52:02Z" msg="Syncing messages" time="2026-09-17T09:52:02Z" msg="Job started" time="2026-09-17T09:52:02Z" msg="200 OK: POST https://127.0.0.1:37169/mail/v4/messages" /client userID=9030d3ef-9600-451d-979f-4b7ab4681c73 time="2026-09-17T09:52:02Z" msg="Job finished" time="2026-09-17T09:52:02Z" msg="All child jobs completed" sync- time="2026-09-17T09:52:02Z" msg="Synced messages" time="2026-09-17T09:52:02Z" msg="Finished user sync" .424853ms time="2026-09-17T09:52:02Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:52:02Z" msg="Event loop reset" eventID="AQ==" time="2026-09-17T09:52:02Z" msg="200 OK: GET https://127.0.0.1:37169/core/v4/events/Ag==" /client userID=c1c4baa6-cb62-48bd-a235-c7ecf278eee8 Scenario: SMTP Authenticates with secondary address of account with disabled primary address # features/smtp/auth.feature:60 Given there exists a disabled account with username "0d1ebfb8-b411-4219-a192-8908ae1c880a" and password "password3" # :1 -> *scenario time="2026-09-17T09:52:03Z" msg="200 OK: GET https://127.0.0.1:37169/core/v4/events/AQ==" /client userID=9030d3ef-9600-451d-979f-4b7ab4681c73 And the account "0d1ebfb8-b411-4219-a192-8908ae1c880a" has additional address "77015c0f-d93b-4122-adaa-d0a83c1fe716@proton.local" # :1 -> *scenario And it succeeds # :1 -> *scenario time="2026-09-17T09:52:03Z" msg="Performing full user login" /user username="******** (b127b2d5)" time="2026-09-17T09:52:03Z" msg="Authorizing user for login" /user username="******** (b127b2d5)" time="2026-09-17T09:52:03Z" msg="200 OK: POST https://127.0.0.1:37169/auth/v4/info" /manager time="2026-09-17T09:52:03Z" msg="200 OK: POST https://127.0.0.1:37169/auth/v4" /manager time="2026-09-17T09:52:03Z" msg="Logging in authorized user" /user userID=2135be93-e766-4e38-b4a8-7913adc01c8a time="2026-09-17T09:52:03Z" msg="Adding vault user" userID=2135be93-e766-4e38-b4a8-7913adc01c8a time="2026-09-17T09:52:03Z" msg="Creating new user" userID=2135be93-e766-4e38-b4a8-7913adc01c8a time="2026-09-17T09:52:03Z" msg="404 GET https://127.0.0.1:37169/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:52:03Z" msg="404 GET https://127.0.0.1:37169/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:52:03Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:37169/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:52:03Z" msg="Creating user object" authUID=57927f0c-4a2e-456a-a039-7bff02a5a8d4 numA numL userID=2135be93-e766-4e38-b4a8-7913adc01c8a time="2026-09-17T09:52:03Z" msg="200 OK: GET https://127.0.0.1:37169/core/v4/events/latest" /client userID=2135be93-e766-4e38-b4a8-7913adc01c8a time="2026-09-17T09:52:03Z" msg="Starting service Last EventID=BA==" time="2026-09-17T09:52:03Z" msg="200 OK: GET https://127.0.0.1:37169/core/v4/settings" /client userID=2135be93-e766-4e38-b4a8-7913adc01c8a time="2026-09-17T09:52:03Z" msg="Registering user client, ID:2135be93-e766-4e38-b4a8-7913adc01c8a" time="2026-09-17T09:52:03Z" msg="Starting service main loop" time="2026-09-17T09:52:03Z" msg="Starting service main loop" time="2026-09-17T09:52:03Z" msg="Starting user identity service" numA time="2026-09-17T09:52:03Z" msg="Starting service main loop" time="2026-09-17T09:52:03Z" msg="200 OK: GET https://127.0.0.1:37169/core/v4/labels?T" /client userID=2135be93-e766-4e38-b4a8-7913adc01c8a time="2026-09-17T09:52:03Z" msg="200 OK: GET https://127.0.0.1:37169/core/v4/labels?T" /client userID=2135be93-e766-4e38-b4a8-7913adc01c8a time="2026-09-17T09:52:03Z" msg="200 OK: GET https://127.0.0.1:37169/core/v4/labels?T" /client userID=2135be93-e766-4e38-b4a8-7913adc01c8a time="2026-09-17T09:52:03Z" msg="Setting labels" labelIDs="[12 0 1 4 6 8 9 2 3 5 7 10]" time="2026-09-17T09:52:03Z" msg="Adding user to imap server" addrID=484228f5-d8ab-4017-8a92-83d5136ec723 time="2026-09-17T09:52:03Z" msg="Creating new IMAP user" addrID=484228f5-d8ab-4017-8a92-83d5136ec723 time="2026-09-17T09:52:03Z" msg="Setting gluon ID" addrID=484228f5-d8ab-4017-8a92-83d5136ec723 gluonID=a2cf0ad4-dd8f-427c-bb26-949451e66f0e userID=2135be93-e766-4e38-b4a8-7913adc01c8a time="2026-09-17T09:52:03Z" msg="Received mailbox message count" gluonID=a2cf0ad4-dd8f-427c-bb26-949451e66f0e labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:52:03Z" msg="Created new IMAP user" addrID=484228f5-d8ab-4017-8a92-83d5136ec723 gluonID=a2cf0ad4-dd8f-427c-bb26-949451e66f0e time="2026-09-17T09:52:03Z" msg="Validating Listener State" time="2026-09-17T09:52:03Z" time="2026-09-17T09:52:03Z" msg="Checking whether logged in user should re-sync. UserID:2135be93-e766-4e38-b4a8-7913adc01c8a" userID=2135be93-e766-4e38-b4a8-7913adc01c8a time="2026-09-17T09:52:03Z" msg="Starting IMAP Service" And the user logs in with username "0d1ebfb8-b411-4219-a192-8908ae1c880a" and password "password3" # :1 -> *scenario time="2026-09-17T09:52:03Z" msg="Sync triggered" time="2026-09-17T09:52:03Z" msg="Beginning user sync" start="2026-09-17 09:52:03.560235528 +0000 UTC m=+412.052537864" And it succeeds # :1 -> *scenario When user "0d1ebfb8-b411-4219-a192-8908ae1c880a" connects and authenticates SMTP client "1" with address "77015c0f-d93b-4122-adaa-d0a83c1fe716@proton.local" # :1 -> *scenario time="2026-09-17T09:52:03Z" msg="Syncing labels" time="2026-09-17T09:52:03Z" msg="Frontend service stopped" time="2026-09-17T09:52:03Z" msg="Frontend client stopped" time="2026-09-17T09:52:03Z" msg="Closing bridge" time="2026-09-17T09:52:03Z" msg="Stopping service" time="2026-09-17T09:52:03Z" msg="Closing user" userID=c1c4baa6-cb62-48bd-a235-c7ecf278eee8 time="2026-09-17T09:52:03Z" msg="De-registering user client, ID:c1c4baa6-cb62-48bd-a235-c7ecf278eee8" time="2026-09-17T09:52:03Z" msg="Exiting IMAP Service" time="2026-09-17T09:52:03Z" msg="Exiting service main loop" time="2026-09-17T09:52:03Z" msg="Exiting service main loop" time="2026-09-17T09:52:03Z" msg="Exiting Service" time="2026-09-17T09:52:03Z" msg="Exiting service main loop" time="2026-09-17T09:52:03Z" msg="Exiting service" time="2026-09-17T09:52:03Z" msg="Closing user" userID=9030d3ef-9600-451d-979f-4b7ab4681c73 time="2026-09-17T09:52:03Z" msg="De-registering user client, ID:9030d3ef-9600-451d-979f-4b7ab4681c73" time="2026-09-17T09:52:03Z" msg="Exiting IMAP Service" time="2026-09-17T09:52:03Z" msg="Exiting service main loop" time="2026-09-17T09:52:03Z" msg="Exiting service main loop" time="2026-09-17T09:52:03Z" msg="Exiting Service" time="2026-09-17T09:52:03Z" msg="Exiting service main loop" time="2026-09-17T09:52:03Z" msg="Exiting service" time="2026-09-17T09:52:03Z" msg="Closing user" userID=2135be93-e766-4e38-b4a8-7913adc01c8a time="2026-09-17T09:52:03Z" msg="De-registering user client, ID:2135be93-e766-4e38-b4a8-7913adc01c8a" time="2026-09-17T09:52:03Z" msg="Synced labels" time="2026-09-17T09:52:03Z" msg="Get \"https://127.0.0.1:37169/mail/v4/messages/count\": context canceled, Attempt 1" /client time="2026-09-17T09:52:03Z" msg="Get \"https://127.0.0.1:37169/mail/v4/messages/count\": context canceled" /client time="2026-09-17T09:52:03Z" msg="Failed to sync, will retry later" error="failed to retrieve message ids: received no response from API: Get \"https://127.0.0.1:37169/mail/v4/messages/count\": context canceled" time="2026-09-17T09:52:03Z" msg="Sync aborted" error="context canceled" time="2026-09-17T09:52:03Z" msg="Finished user sync" .235294ms time="2026-09-17T09:52:03Z" msg="Exiting IMAP Service" time="2026-09-17T09:52:03Z" msg="Exiting service main loop" time="2026-09-17T09:52:03Z" msg="Exiting service main loop" time="2026-09-17T09:52:03Z" msg="Exiting Service" time="2026-09-17T09:52:03Z" msg="Exiting service main loop" time="2026-09-17T09:52:03Z" msg="Exiting service" time="2026-09-17T09:52:03Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=a2cf0ad4-dd8f-427c-bb26-949451e66f0e time="2026-09-17T09:52:03Z" msg="Closing IMAP Listener" time="2026-09-17T09:52:03Z" msg="Closing IMAP server" time="2026-09-17T09:52:03Z" msg="Closing SMTP Listener" time="2026-09-17T09:52:03Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:52:03Z" msg="Closing SMTP server" time="2026-09-17T09:52:03Z" msg="Closing service" Then it succeeds # :1 -> *scenario Feature: SMTP initiation time="2026-09-17T09:52:03Z" msg="User 'f4b949d4-5078-4ba3-936f-3cce18ec70ab' created with " /server/backend Background: Given there exists an account with username "f4b949d4-5078-4ba3-936f-3cce18ec70ab" and password "password" # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:52:04Z" msg="Starting bridge" time="2026-09-17T09:52:04Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/183/config3454599348/grpcFocusServerConfig.json /service time="2026-09-17T09:52:04Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/183/cache2821038873/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:52:04Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/183/cache2821038873/notifications/notification_cache: no such file or directory" time="2026-09-17T09:52:04Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/183/data735305588/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/183/data735305588/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:52:04Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:52:04Z" msg="Starting IMAP server" time="2026-09-17T09:52:04Z" msg="Starting SMTP server" time="2026-09-17T09:52:04Z" msg="Starting service" time="2026-09-17T09:52:04Z" msg="Starting service" time="2026-09-17T09:52:04Z" msg="Starting poll service" time="2026-09-17T09:52:04Z" msg="Starting receiver service" time="2026-09-17T09:52:04Z" msg="Starting frontend service" time="2026-09-17T09:52:04Z" msg="Loading users" /user time="2026-09-17T09:52:04Z" msg="Finished loading users" /user time="2026-09-17T09:52:04Z" msg="Checking for updates" time="2026-09-17T09:52:04Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/183/config3454599348/grpcServerConfig.json time="2026-09-17T09:52:04Z" msg="gRPC server listening on /tmp/bridge0645" time="2026-09-17T09:52:04Z" msg="Frontend service started" time="2026-09-17T09:52:04Z" msg="Starting frontend client" time="2026-09-17T09:52:04Z" msg="Not monitoring parent PID" time="2026-09-17T09:52:04Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:52:04Z" msg="200 OK: GET https://127.0.0.1:37025/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:52:04Z" msg="Frontend client started" When bridge starts # :1 -> *scenario time="2026-09-17T09:52:04Z" msg="Performing full user login" /user username="******** (ee2a9a66)" time="2026-09-17T09:52:04Z" msg="Authorizing user for login" /user username="******** (ee2a9a66)" time="2026-09-17T09:52:04Z" msg="200 OK: POST https://127.0.0.1:37025/auth/v4/info" /manager time="2026-09-17T09:52:04Z" msg="200 OK: POST https://127.0.0.1:37025/auth/v4" /manager time="2026-09-17T09:52:04Z" msg="Logging in authorized user" /user userID=d1499386-a326-444f-aa40-79ebe4c0e648 time="2026-09-17T09:52:04Z" msg="Adding vault user" userID=d1499386-a326-444f-aa40-79ebe4c0e648 time="2026-09-17T09:52:04Z" msg="Creating new user" userID=d1499386-a326-444f-aa40-79ebe4c0e648 time="2026-09-17T09:52:04Z" msg="404 GET https://127.0.0.1:37025/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:52:04Z" msg="404 GET https://127.0.0.1:37025/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:52:04Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:37025/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:52:04Z" msg="Creating user object" authUID=47dccee7-1b4d-4237-96f6-bc7d355bd615 numA numL userID=d1499386-a326-444f-aa40-79ebe4c0e648 time="2026-09-17T09:52:04Z" msg="200 OK: GET https://127.0.0.1:37025/core/v4/events/latest" /client userID=d1499386-a326-444f-aa40-79ebe4c0e648 time="2026-09-17T09:52:04Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:52:04Z" msg="200 OK: GET https://127.0.0.1:37025/core/v4/settings" /client userID=d1499386-a326-444f-aa40-79ebe4c0e648 time="2026-09-17T09:52:04Z" msg="Registering user client, ID:d1499386-a326-444f-aa40-79ebe4c0e648" time="2026-09-17T09:52:04Z" msg="Starting service main loop" time="2026-09-17T09:52:04Z" msg="Starting service main loop" time="2026-09-17T09:52:04Z" msg="Starting user identity service" numA time="2026-09-17T09:52:04Z" msg="Starting service main loop" time="2026-09-17T09:52:04Z" msg="200 OK: GET https://127.0.0.1:37025/core/v4/labels?T" /client userID=d1499386-a326-444f-aa40-79ebe4c0e648 time="2026-09-17T09:52:04Z" msg="200 OK: GET https://127.0.0.1:37025/core/v4/labels?T" /client userID=d1499386-a326-444f-aa40-79ebe4c0e648 time="2026-09-17T09:52:04Z" msg="200 OK: GET https://127.0.0.1:37025/core/v4/labels?T" /client userID=d1499386-a326-444f-aa40-79ebe4c0e648 time="2026-09-17T09:52:04Z" msg="Setting labels" labelIDs="[0 1 3 4 6 8 9 10 2 5 7 12]" time="2026-09-17T09:52:04Z" msg="Adding user to imap server" addrID=2655b216-1fb9-4c6f-98da-656c5133a5c3 time="2026-09-17T09:52:04Z" msg="Creating new IMAP user" addrID=2655b216-1fb9-4c6f-98da-656c5133a5c3 time="2026-09-17T09:52:04Z" msg="Setting gluon ID" addrID=2655b216-1fb9-4c6f-98da-656c5133a5c3 gluonID=130eb568-a66f-489d-84df-6ba04bcfb7c9 userID=d1499386-a326-444f-aa40-79ebe4c0e648 time="2026-09-17T09:52:04Z" msg="Received mailbox message count" gluonID=130eb568-a66f-489d-84df-6ba04bcfb7c9 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:52:04Z" msg="Created new IMAP user" addrID=2655b216-1fb9-4c6f-98da-656c5133a5c3 gluonID=130eb568-a66f-489d-84df-6ba04bcfb7c9 time="2026-09-17T09:52:04Z" msg="Validating Listener State" time="2026-09-17T09:52:04Z" time="2026-09-17T09:52:04Z" msg="Checking whether logged in user should re-sync. UserID:d1499386-a326-444f-aa40-79ebe4c0e648" userID=d1499386-a326-444f-aa40-79ebe4c0e648 time="2026-09-17T09:52:04Z" msg="Starting IMAP Service" And the user logs in with username "f4b949d4-5078-4ba3-936f-3cce18ec70ab" and password "password" # :1 -> *scenario time="2026-09-17T09:52:04Z" msg="Sync triggered" time="2026-09-17T09:52:04Z" msg="Beginning user sync" start="2026-09-17 09:52:04.650310223 +0000 UTC m=+413.142612519" And user "f4b949d4-5078-4ba3-936f-3cce18ec70ab" connects and authenticates SMTP client "1" # :1 -> *scenario Then it succeeds # :1 -> *scenario Scenario: Send without first announcing FROM and TO # features/smtp/init.feature:10 When SMTP client "1" sends DATA: # :1 -> *scenario """ Subject: test """ time="2026-09-17T09:52:04Z" msg="Syncing labels" time="2026-09-17T09:52:04Z" msg="Frontend service stopped" time="2026-09-17T09:52:04Z" msg="Frontend client stopped" time="2026-09-17T09:52:04Z" msg="Closing bridge" time="2026-09-17T09:52:04Z" msg="Stopping service" time="2026-09-17T09:52:04Z" msg="Closing user" userID=d1499386-a326-444f-aa40-79ebe4c0e648 time="2026-09-17T09:52:04Z" msg="De-registering user client, ID:d1499386-a326-444f-aa40-79ebe4c0e648" time="2026-09-17T09:52:04Z" msg="Synced labels" time="2026-09-17T09:52:04Z" msg="Get \"https://127.0.0.1:37025/mail/v4/messages/count\": context canceled, Attempt 1" /client time="2026-09-17T09:52:04Z" msg="Get \"https://127.0.0.1:37025/mail/v4/messages/count\": context canceled" /client time="2026-09-17T09:52:04Z" msg="Failed to sync, will retry later" error="failed to retrieve message ids: received no response from API: Get \"https://127.0.0.1:37025/mail/v4/messages/count\": context canceled" time="2026-09-17T09:52:04Z" msg="Sync aborted" error="context canceled" time="2026-09-17T09:52:04Z" msg="Finished user sync" .09925ms time="2026-09-17T09:52:04Z" msg="Exiting IMAP Service" time="2026-09-17T09:52:04Z" msg="Exiting service main loop" time="2026-09-17T09:52:04Z" msg="Exiting service main loop" time="2026-09-17T09:52:04Z" msg="Exiting Service" time="2026-09-17T09:52:04Z" msg="Exiting service main loop" time="2026-09-17T09:52:04Z" msg="Exiting service" time="2026-09-17T09:52:04Z" msg="Closing IMAP Listener" time="2026-09-17T09:52:04Z" msg="Closing IMAP server" time="2026-09-17T09:52:04Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=130eb568-a66f-489d-84df-6ba04bcfb7c9 time="2026-09-17T09:52:04Z" msg="Closing SMTP Listener" time="2026-09-17T09:52:04Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:52:04Z" msg="Closing SMTP server" time="2026-09-17T09:52:04Z" msg="Closing service" Then it fails with error "Missing RCPT TO command" # :1 -> *scenario time="2026-09-17T09:52:04Z" msg="User '6af0f850-b4c0-4540-8c52-98ef9cfa9646' created with " /server/backend time="2026-09-17T09:52:05Z" msg="Starting bridge" time="2026-09-17T09:52:05Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/184/config3744318858/grpcFocusServerConfig.json /service time="2026-09-17T09:52:05Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/184/cache3663148846/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:52:05Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/184/cache3663148846/notifications/notification_cache: no such file or directory" time="2026-09-17T09:52:05Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/184/data3523459431/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/184/data3523459431/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:52:05Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:52:05Z" msg="Starting IMAP server" time="2026-09-17T09:52:05Z" msg="Starting SMTP server" time="2026-09-17T09:52:05Z" msg="Starting service" time="2026-09-17T09:52:05Z" msg="Starting service" time="2026-09-17T09:52:05Z" msg="Starting poll service" time="2026-09-17T09:52:05Z" msg="Checking for updates" time="2026-09-17T09:52:05Z" msg="Starting frontend service" time="2026-09-17T09:52:05Z" msg="Starting receiver service" time="2026-09-17T09:52:05Z" msg="Loading users" /user time="2026-09-17T09:52:05Z" msg="Finished loading users" /user time="2026-09-17T09:52:05Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/184/config3744318858/grpcServerConfig.json time="2026-09-17T09:52:05Z" msg="gRPC server listening on /tmp/bridge0213" time="2026-09-17T09:52:05Z" msg="Frontend service started" time="2026-09-17T09:52:05Z" msg="Starting frontend client" time="2026-09-17T09:52:05Z" msg="Not monitoring parent PID" time="2026-09-17T09:52:05Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:52:05Z" msg="200 OK: GET https://127.0.0.1:34597/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:52:05Z" msg="Frontend client started" time="2026-09-17T09:52:05Z" msg="Performing full user login" /user username="******** (d0b71ebe)" time="2026-09-17T09:52:05Z" msg="Authorizing user for login" /user username="******** (d0b71ebe)" time="2026-09-17T09:52:05Z" msg="200 OK: POST https://127.0.0.1:34597/auth/v4/info" /manager time="2026-09-17T09:52:05Z" msg="200 OK: POST https://127.0.0.1:34597/auth/v4" /manager time="2026-09-17T09:52:05Z" msg="Logging in authorized user" /user userID=7819d092-cf3e-43c7-a05e-86fe70c1c921 time="2026-09-17T09:52:05Z" msg="Adding vault user" userID=7819d092-cf3e-43c7-a05e-86fe70c1c921 time="2026-09-17T09:52:05Z" msg="Creating new user" userID=7819d092-cf3e-43c7-a05e-86fe70c1c921 time="2026-09-17T09:52:05Z" msg="404 GET https://127.0.0.1:34597/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:52:05Z" msg="404 GET https://127.0.0.1:34597/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:52:05Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:34597/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:52:05Z" msg="Creating user object" authUID=504e9e56-e500-4063-9b8f-2b616c075e7a numA numL userID=7819d092-cf3e-43c7-a05e-86fe70c1c921 time="2026-09-17T09:52:05Z" msg="200 OK: GET https://127.0.0.1:34597/core/v4/events/latest" /client userID=7819d092-cf3e-43c7-a05e-86fe70c1c921 time="2026-09-17T09:52:05Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:52:05Z" msg="200 OK: GET https://127.0.0.1:34597/core/v4/settings" /client userID=7819d092-cf3e-43c7-a05e-86fe70c1c921 time="2026-09-17T09:52:05Z" msg="Registering user client, ID:7819d092-cf3e-43c7-a05e-86fe70c1c921" time="2026-09-17T09:52:05Z" msg="Starting user identity service" numA time="2026-09-17T09:52:05Z" msg="Starting service main loop" time="2026-09-17T09:52:05Z" msg="Starting service main loop" time="2026-09-17T09:52:05Z" msg="Starting service main loop" time="2026-09-17T09:52:05Z" msg="200 OK: GET https://127.0.0.1:34597/core/v4/labels?T" /client userID=7819d092-cf3e-43c7-a05e-86fe70c1c921 time="2026-09-17T09:52:05Z" msg="200 OK: GET https://127.0.0.1:34597/core/v4/labels?T" /client userID=7819d092-cf3e-43c7-a05e-86fe70c1c921 time="2026-09-17T09:52:05Z" msg="200 OK: GET https://127.0.0.1:34597/core/v4/labels?T" /client userID=7819d092-cf3e-43c7-a05e-86fe70c1c921 time="2026-09-17T09:52:05Z" msg="Setting labels" labelIDs="[8 10 12 2 4 6 7 9 0 1 3 5]" time="2026-09-17T09:52:05Z" msg="Adding user to imap server" addrID=20199786-6588-493a-bdee-099370536761 time="2026-09-17T09:52:05Z" msg="Creating new IMAP user" addrID=20199786-6588-493a-bdee-099370536761 time="2026-09-17T09:52:05Z" msg="Setting gluon ID" addrID=20199786-6588-493a-bdee-099370536761 gluonID=92d3682b-8137-4b38-86f3-b0cc7cc02d43 userID=7819d092-cf3e-43c7-a05e-86fe70c1c921 time="2026-09-17T09:52:05Z" msg="Received mailbox message count" gluonID=92d3682b-8137-4b38-86f3-b0cc7cc02d43 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:52:05Z" msg="Created new IMAP user" addrID=20199786-6588-493a-bdee-099370536761 gluonID=92d3682b-8137-4b38-86f3-b0cc7cc02d43 time="2026-09-17T09:52:05Z" msg="Validating Listener State" time="2026-09-17T09:52:05Z" time="2026-09-17T09:52:05Z" msg="Checking whether logged in user should re-sync. UserID:7819d092-cf3e-43c7-a05e-86fe70c1c921" userID=7819d092-cf3e-43c7-a05e-86fe70c1c921 time="2026-09-17T09:52:05Z" msg="Starting IMAP Service" time="2026-09-17T09:52:05Z" msg="Sync triggered" time="2026-09-17T09:52:05Z" msg="Beginning user sync" start="2026-09-17 09:52:05.733467568 +0000 UTC m=+414.225769904" time="2026-09-17T09:52:05Z" msg="Syncing labels" Scenario: Reset is the same as without FROM and TO # features/smtp/init.feature:17 When SMTP client "1" sends MAIL FROM "<6af0f850-b4c0-4540-8c52-98ef9cfa9646@proton.local>" # :1 -> *scenario Then it succeeds # :1 -> *scenario When SMTP client "1" sends RCPT TO "<6af0f850-b4c0-4540-8c52-98ef9cfa9646@proton.local>" # :1 -> *scenario time="2026-09-17T09:52:05Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=92d3682b-8137-4b38-86f3-b0cc7cc02d43 Then it succeeds # :1 -> *scenario When SMTP client "1" sends RSET # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:52:05Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=92d3682b-8137-4b38-86f3-b0cc7cc02d43 When SMTP client "1" sends DATA: # :1 -> *scenario """ Subject: test """ time="2026-09-17T09:52:05Z" msg="Mailbox created" /user remoteMailboxID=8 userID=92d3682b-8137-4b38-86f3-b0cc7cc02d43 time="2026-09-17T09:52:05Z" msg="Frontend service stopped" time="2026-09-17T09:52:05Z" msg="Frontend client stopped" time="2026-09-17T09:52:05Z" msg="Closing bridge" time="2026-09-17T09:52:05Z" msg="Stopping service" time="2026-09-17T09:52:05Z" msg="Mailbox created" /user remoteMailboxID=10 userID=92d3682b-8137-4b38-86f3-b0cc7cc02d43 time="2026-09-17T09:52:05Z" msg="Closing user" userID=7819d092-cf3e-43c7-a05e-86fe70c1c921 time="2026-09-17T09:52:05Z" msg="De-registering user client, ID:7819d092-cf3e-43c7-a05e-86fe70c1c921" time="2026-09-17T09:52:05Z" msg="Mailbox created" /user remoteMailboxID=12 userID=92d3682b-8137-4b38-86f3-b0cc7cc02d43 time="2026-09-17T09:52:05Z" msg="Synced labels" time="2026-09-17T09:52:05Z" msg="Get \"https://127.0.0.1:34597/mail/v4/messages/count\": context canceled, Attempt 1" /client time="2026-09-17T09:52:05Z" msg="Get \"https://127.0.0.1:34597/mail/v4/messages/count\": context canceled" /client time="2026-09-17T09:52:05Z" msg="Failed to sync, will retry later" error="failed to retrieve message ids: received no response from API: Get \"https://127.0.0.1:34597/mail/v4/messages/count\": context canceled" time="2026-09-17T09:52:05Z" msg="Sync aborted" error="context canceled" time="2026-09-17T09:52:05Z" msg="Finished user sync" .747297ms time="2026-09-17T09:52:05Z" msg="Exiting IMAP Service" time="2026-09-17T09:52:05Z" msg="Exiting service main loop" time="2026-09-17T09:52:05Z" msg="Exiting service main loop" time="2026-09-17T09:52:05Z" msg="Exiting Service" time="2026-09-17T09:52:05Z" msg="Exiting service main loop" time="2026-09-17T09:52:05Z" msg="Exiting service" time="2026-09-17T09:52:05Z" msg="Mailbox created" /user remoteMailboxID=4 userID=92d3682b-8137-4b38-86f3-b0cc7cc02d43 time="2026-09-17T09:52:05Z" msg="Closing IMAP Listener" time="2026-09-17T09:52:05Z" msg="Closing IMAP server" time="2026-09-17T09:52:05Z" msg="Mailbox created" /user remoteMailboxID=6 userID=92d3682b-8137-4b38-86f3-b0cc7cc02d43 time="2026-09-17T09:52:05Z" msg="Closing SMTP Listener" time="2026-09-17T09:52:05Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:52:05Z" msg="Closing SMTP server" time="2026-09-17T09:52:05Z" msg="Closing service" Then it fails with error "Missing RCPT TO command" # :1 -> *scenario time="2026-09-17T09:52:05Z" msg="User 'df7cef58-0e94-4532-91c6-af5d5e872e63' created with " /server/backend time="2026-09-17T09:52:06Z" msg="Starting bridge" time="2026-09-17T09:52:06Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/185/config4026573754/grpcFocusServerConfig.json /service time="2026-09-17T09:52:06Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/185/cache1674867124/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:52:06Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/185/cache1674867124/notifications/notification_cache: no such file or directory" time="2026-09-17T09:52:06Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/185/data1281708253/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/185/data1281708253/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:52:06Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:52:06Z" msg="Starting IMAP server" time="2026-09-17T09:52:06Z" msg="Starting SMTP server" time="2026-09-17T09:52:06Z" msg="Starting service" time="2026-09-17T09:52:06Z" msg="Starting service" time="2026-09-17T09:52:06Z" msg="Starting receiver service" time="2026-09-17T09:52:06Z" msg="Starting poll service" time="2026-09-17T09:52:06Z" msg="Checking for updates" time="2026-09-17T09:52:06Z" msg="Starting frontend service" time="2026-09-17T09:52:06Z" msg="Loading users" /user time="2026-09-17T09:52:06Z" msg="Finished loading users" /user time="2026-09-17T09:52:06Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/185/config4026573754/grpcServerConfig.json time="2026-09-17T09:52:06Z" msg="gRPC server listening on /tmp/bridge6678" time="2026-09-17T09:52:06Z" msg="Frontend service started" time="2026-09-17T09:52:06Z" msg="Starting frontend client" time="2026-09-17T09:52:06Z" msg="Not monitoring parent PID" time="2026-09-17T09:52:06Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:52:06Z" msg="200 OK: GET https://127.0.0.1:39489/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:52:06Z" msg="Frontend client started" time="2026-09-17T09:52:06Z" msg="Performing full user login" /user username="******** (c43448ae)" time="2026-09-17T09:52:06Z" msg="Authorizing user for login" /user username="******** (c43448ae)" time="2026-09-17T09:52:06Z" msg="200 OK: POST https://127.0.0.1:39489/auth/v4/info" /manager time="2026-09-17T09:52:06Z" msg="200 OK: POST https://127.0.0.1:39489/auth/v4" /manager time="2026-09-17T09:52:06Z" msg="Logging in authorized user" /user userID=b17d4888-e8a2-4a8f-aee3-def830e5ddb5 time="2026-09-17T09:52:06Z" msg="Adding vault user" userID=b17d4888-e8a2-4a8f-aee3-def830e5ddb5 time="2026-09-17T09:52:06Z" msg="Creating new user" userID=b17d4888-e8a2-4a8f-aee3-def830e5ddb5 time="2026-09-17T09:52:06Z" msg="404 GET https://127.0.0.1:39489/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:52:06Z" msg="404 GET https://127.0.0.1:39489/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:52:06Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:39489/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:52:06Z" msg="Creating user object" authUID=d07d2811-b790-470b-a664-3bf91a0a43ec numA numL userID=b17d4888-e8a2-4a8f-aee3-def830e5ddb5 time="2026-09-17T09:52:06Z" msg="200 OK: GET https://127.0.0.1:39489/core/v4/events/latest" /client userID=b17d4888-e8a2-4a8f-aee3-def830e5ddb5 time="2026-09-17T09:52:06Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:52:06Z" msg="200 OK: GET https://127.0.0.1:39489/core/v4/settings" /client userID=b17d4888-e8a2-4a8f-aee3-def830e5ddb5 time="2026-09-17T09:52:06Z" msg="Registering user client, ID:b17d4888-e8a2-4a8f-aee3-def830e5ddb5" time="2026-09-17T09:52:06Z" msg="Starting service main loop" time="2026-09-17T09:52:06Z" msg="Starting service main loop" time="2026-09-17T09:52:06Z" msg="Starting user identity service" numA time="2026-09-17T09:52:06Z" msg="Starting service main loop" time="2026-09-17T09:52:06Z" msg="200 OK: GET https://127.0.0.1:39489/core/v4/labels?T" /client userID=b17d4888-e8a2-4a8f-aee3-def830e5ddb5 time="2026-09-17T09:52:06Z" msg="200 OK: GET https://127.0.0.1:39489/core/v4/labels?T" /client userID=b17d4888-e8a2-4a8f-aee3-def830e5ddb5 time="2026-09-17T09:52:06Z" msg="200 OK: GET https://127.0.0.1:39489/core/v4/labels?T" /client userID=b17d4888-e8a2-4a8f-aee3-def830e5ddb5 time="2026-09-17T09:52:06Z" msg="Setting labels" labelIDs="[4 5 6 8 9 2 7 10 12 0 1 3]" time="2026-09-17T09:52:06Z" msg="Adding user to imap server" addrID=a1760722-6997-4255-a9fd-31310cab72b3 time="2026-09-17T09:52:06Z" msg="Creating new IMAP user" addrID=a1760722-6997-4255-a9fd-31310cab72b3 time="2026-09-17T09:52:06Z" msg="Setting gluon ID" addrID=a1760722-6997-4255-a9fd-31310cab72b3 gluonID=9fa0c120-a405-48c3-96a1-a660562c5426 userID=b17d4888-e8a2-4a8f-aee3-def830e5ddb5 time="2026-09-17T09:52:06Z" msg="Received mailbox message count" gluonID=9fa0c120-a405-48c3-96a1-a660562c5426 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:52:06Z" msg="Created new IMAP user" addrID=a1760722-6997-4255-a9fd-31310cab72b3 gluonID=9fa0c120-a405-48c3-96a1-a660562c5426 time="2026-09-17T09:52:06Z" msg="Validating Listener State" time="2026-09-17T09:52:06Z" time="2026-09-17T09:52:06Z" msg="Starting IMAP Service" time="2026-09-17T09:52:06Z" msg="Checking whether logged in user should re-sync. UserID:b17d4888-e8a2-4a8f-aee3-def830e5ddb5" userID=b17d4888-e8a2-4a8f-aee3-def830e5ddb5 time="2026-09-17T09:52:06Z" msg="Sync triggered" time="2026-09-17T09:52:06Z" msg="Beginning user sync" start="2026-09-17 09:52:06.815735269 +0000 UTC m=+415.308037605" time="2026-09-17T09:52:06Z" msg="Syncing labels" Scenario: Send without FROM # features/smtp/init.feature:30 When SMTP client "1" sends RCPT TO "" # :1 -> *scenario time="2026-09-17T09:52:06Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=9fa0c120-a405-48c3-96a1-a660562c5426 time="2026-09-17T09:52:06Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=9fa0c120-a405-48c3-96a1-a660562c5426 time="2026-09-17T09:52:06Z" msg="Frontend service stopped" time="2026-09-17T09:52:06Z" msg="Frontend client stopped" time="2026-09-17T09:52:06Z" msg="Closing bridge" time="2026-09-17T09:52:06Z" msg="Stopping service" time="2026-09-17T09:52:06Z" msg="Closing user" userID=b17d4888-e8a2-4a8f-aee3-def830e5ddb5 time="2026-09-17T09:52:06Z" msg="De-registering user client, ID:b17d4888-e8a2-4a8f-aee3-def830e5ddb5" time="2026-09-17T09:52:06Z" msg="Synced labels" time="2026-09-17T09:52:06Z" msg="Get \"https://127.0.0.1:39489/mail/v4/messages/count\": context canceled, Attempt 1" /client time="2026-09-17T09:52:06Z" msg="Get \"https://127.0.0.1:39489/mail/v4/messages/count\": context canceled" /client time="2026-09-17T09:52:06Z" msg="Mailbox created" /user remoteMailboxID=7 userID=9fa0c120-a405-48c3-96a1-a660562c5426 time="2026-09-17T09:52:06Z" msg="Failed to sync, will retry later" error="failed to retrieve message ids: received no response from API: Get \"https://127.0.0.1:39489/mail/v4/messages/count\": context canceled" time="2026-09-17T09:52:06Z" msg="Sync aborted" error="context canceled" time="2026-09-17T09:52:06Z" msg="Finished user sync" .291815ms time="2026-09-17T09:52:06Z" msg="Exiting IMAP Service" time="2026-09-17T09:52:06Z" msg="Exiting service main loop" time="2026-09-17T09:52:06Z" msg="Exiting service main loop" time="2026-09-17T09:52:06Z" msg="Exiting Service" time="2026-09-17T09:52:06Z" msg="Exiting service main loop" time="2026-09-17T09:52:06Z" msg="Exiting service" time="2026-09-17T09:52:06Z" msg="Closing IMAP Listener" time="2026-09-17T09:52:06Z" msg="Closing IMAP server" time="2026-09-17T09:52:06Z" msg="Mailbox created" /user remoteMailboxID=10 userID=9fa0c120-a405-48c3-96a1-a660562c5426 time="2026-09-17T09:52:06Z" msg="Mailbox created" /user remoteMailboxID=3 userID=9fa0c120-a405-48c3-96a1-a660562c5426 time="2026-09-17T09:52:06Z" msg="Closing SMTP Listener" time="2026-09-17T09:52:06Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:52:06Z" msg="Closing SMTP server" time="2026-09-17T09:52:06Z" msg="Closing service" Then it fails with error "Missing MAIL FROM command" # :1 -> *scenario time="2026-09-17T09:52:07Z" msg="User 'cff0900f-d099-4d3d-9cc4-3da727432ce4' created with " /server/backend time="2026-09-17T09:52:07Z" msg="Starting bridge" time="2026-09-17T09:52:07Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/186/config3418972387/grpcFocusServerConfig.json /service time="2026-09-17T09:52:07Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/186/cache4165733065/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:52:07Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/186/cache4165733065/notifications/notification_cache: no such file or directory" time="2026-09-17T09:52:07Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/186/data1901141351/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/186/data1901141351/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:52:07Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:52:07Z" msg="Starting IMAP server" time="2026-09-17T09:52:07Z" msg="Starting SMTP server" time="2026-09-17T09:52:07Z" msg="Starting service" time="2026-09-17T09:52:07Z" msg="Starting service" time="2026-09-17T09:52:07Z" msg="Starting receiver service" time="2026-09-17T09:52:07Z" msg="Starting frontend service" time="2026-09-17T09:52:07Z" msg="Starting poll service" time="2026-09-17T09:52:07Z" msg="Loading users" /user time="2026-09-17T09:52:07Z" msg="Finished loading users" /user time="2026-09-17T09:52:07Z" msg="Checking for updates" time="2026-09-17T09:52:07Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/186/config3418972387/grpcServerConfig.json time="2026-09-17T09:52:07Z" msg="gRPC server listening on /tmp/bridge7983" time="2026-09-17T09:52:07Z" msg="Frontend service started" time="2026-09-17T09:52:07Z" msg="Starting frontend client" time="2026-09-17T09:52:07Z" msg="Not monitoring parent PID" time="2026-09-17T09:52:07Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:52:07Z" msg="Frontend client started" time="2026-09-17T09:52:07Z" msg="200 OK: GET https://127.0.0.1:35391/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:52:07Z" msg="Performing full user login" /user username="******** (83123346)" time="2026-09-17T09:52:07Z" msg="Authorizing user for login" /user username="******** (83123346)" time="2026-09-17T09:52:07Z" msg="200 OK: POST https://127.0.0.1:35391/auth/v4/info" /manager time="2026-09-17T09:52:07Z" msg="200 OK: POST https://127.0.0.1:35391/auth/v4" /manager time="2026-09-17T09:52:07Z" msg="Logging in authorized user" /user userID=a0fdef0c-70e7-4bd0-8410-fbcf7c8bd0af time="2026-09-17T09:52:07Z" msg="Adding vault user" userID=a0fdef0c-70e7-4bd0-8410-fbcf7c8bd0af time="2026-09-17T09:52:07Z" msg="Creating new user" userID=a0fdef0c-70e7-4bd0-8410-fbcf7c8bd0af time="2026-09-17T09:52:07Z" msg="404 GET https://127.0.0.1:35391/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:52:07Z" msg="404 GET https://127.0.0.1:35391/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:52:07Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:35391/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:52:07Z" msg="Creating user object" authUID=92875ccf-06a7-440a-9645-48896761cb73 numA numL userID=a0fdef0c-70e7-4bd0-8410-fbcf7c8bd0af time="2026-09-17T09:52:07Z" msg="200 OK: GET https://127.0.0.1:35391/core/v4/events/latest" /client userID=a0fdef0c-70e7-4bd0-8410-fbcf7c8bd0af time="2026-09-17T09:52:07Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:52:07Z" msg="200 OK: GET https://127.0.0.1:35391/core/v4/settings" /client userID=a0fdef0c-70e7-4bd0-8410-fbcf7c8bd0af time="2026-09-17T09:52:07Z" msg="Registering user client, ID:a0fdef0c-70e7-4bd0-8410-fbcf7c8bd0af" time="2026-09-17T09:52:07Z" msg="Starting service main loop" time="2026-09-17T09:52:07Z" msg="Starting user identity service" numA time="2026-09-17T09:52:07Z" msg="Starting service main loop" time="2026-09-17T09:52:07Z" msg="Starting service main loop" time="2026-09-17T09:52:07Z" msg="200 OK: GET https://127.0.0.1:35391/core/v4/labels?T" /client userID=a0fdef0c-70e7-4bd0-8410-fbcf7c8bd0af time="2026-09-17T09:52:07Z" msg="200 OK: GET https://127.0.0.1:35391/core/v4/labels?T" /client userID=a0fdef0c-70e7-4bd0-8410-fbcf7c8bd0af time="2026-09-17T09:52:07Z" msg="200 OK: GET https://127.0.0.1:35391/core/v4/labels?T" /client userID=a0fdef0c-70e7-4bd0-8410-fbcf7c8bd0af time="2026-09-17T09:52:07Z" msg="Setting labels" labelIDs="[0 1 3 6 7 9 10 12 2 4 5 8]" time="2026-09-17T09:52:07Z" msg="Adding user to imap server" addrID=c62dd60b-4001-4791-83fc-5d1ac40f2415 time="2026-09-17T09:52:07Z" msg="Creating new IMAP user" addrID=c62dd60b-4001-4791-83fc-5d1ac40f2415 time="2026-09-17T09:52:07Z" msg="Setting gluon ID" addrID=c62dd60b-4001-4791-83fc-5d1ac40f2415 gluonID=7c6843bd-6ce2-4747-94b4-e8d2f65d2d67 userID=a0fdef0c-70e7-4bd0-8410-fbcf7c8bd0af time="2026-09-17T09:52:07Z" msg="Received mailbox message count" gluonID=7c6843bd-6ce2-4747-94b4-e8d2f65d2d67 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:52:07Z" msg="Created new IMAP user" addrID=c62dd60b-4001-4791-83fc-5d1ac40f2415 gluonID=7c6843bd-6ce2-4747-94b4-e8d2f65d2d67 time="2026-09-17T09:52:07Z" msg="Validating Listener State" time="2026-09-17T09:52:07Z" time="2026-09-17T09:52:07Z" msg="Starting IMAP Service" time="2026-09-17T09:52:07Z" msg="Checking whether logged in user should re-sync. UserID:a0fdef0c-70e7-4bd0-8410-fbcf7c8bd0af" userID=a0fdef0c-70e7-4bd0-8410-fbcf7c8bd0af time="2026-09-17T09:52:07Z" msg="Sync triggered" time="2026-09-17T09:52:07Z" msg="Beginning user sync" start="2026-09-17 09:52:07.887203442 +0000 UTC m=+416.379505938" time="2026-09-17T09:52:07Z" msg="Syncing labels" Scenario: Send without TO # features/smtp/init.feature:34 When SMTP client "1" sends MAIL FROM "" # :1 -> *scenario Then it succeeds # :1 -> *scenario When SMTP client "1" sends DATA: # :1 -> *scenario """ Subject: test """ time="2026-09-17T09:52:07Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=7c6843bd-6ce2-4747-94b4-e8d2f65d2d67 time="2026-09-17T09:52:07Z" msg="Frontend service stopped" time="2026-09-17T09:52:07Z" msg="Frontend client stopped" time="2026-09-17T09:52:07Z" msg="Closing bridge" time="2026-09-17T09:52:07Z" msg="Stopping service" time="2026-09-17T09:52:07Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=7c6843bd-6ce2-4747-94b4-e8d2f65d2d67 time="2026-09-17T09:52:07Z" msg="Closing user" userID=a0fdef0c-70e7-4bd0-8410-fbcf7c8bd0af time="2026-09-17T09:52:07Z" msg="De-registering user client, ID:a0fdef0c-70e7-4bd0-8410-fbcf7c8bd0af" time="2026-09-17T09:52:07Z" msg="Synced labels" time="2026-09-17T09:52:07Z" msg="Get \"https://127.0.0.1:35391/mail/v4/messages/count\": context canceled, Attempt 1" /client time="2026-09-17T09:52:07Z" msg="Get \"https://127.0.0.1:35391/mail/v4/messages/count\": context canceled" /client time="2026-09-17T09:52:07Z" msg="Failed to sync, will retry later" error="failed to retrieve message ids: received no response from API: Get \"https://127.0.0.1:35391/mail/v4/messages/count\": context canceled" time="2026-09-17T09:52:07Z" msg="Sync aborted" error="context canceled" time="2026-09-17T09:52:07Z" msg="Finished user sync" .937973ms time="2026-09-17T09:52:07Z" msg="Exiting IMAP Service" time="2026-09-17T09:52:07Z" msg="Exiting service main loop" time="2026-09-17T09:52:07Z" msg="Exiting service main loop" time="2026-09-17T09:52:07Z" msg="Mailbox created" /user remoteMailboxID=0 userID=7c6843bd-6ce2-4747-94b4-e8d2f65d2d67 time="2026-09-17T09:52:07Z" msg="Exiting Service" time="2026-09-17T09:52:07Z" msg="Exiting service main loop" time="2026-09-17T09:52:07Z" msg="Exiting service" time="2026-09-17T09:52:07Z" msg="Closing IMAP Listener" time="2026-09-17T09:52:07Z" msg="Closing IMAP server" time="2026-09-17T09:52:07Z" msg="Mailbox created" /user remoteMailboxID=3 userID=7c6843bd-6ce2-4747-94b4-e8d2f65d2d67 time="2026-09-17T09:52:07Z" msg="Closing SMTP Listener" time="2026-09-17T09:52:07Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:52:07Z" msg="Closing SMTP server" time="2026-09-17T09:52:07Z" msg="Closing service" Then it fails with error "Missing RCPT TO command" # :1 -> *scenario time="2026-09-17T09:52:08Z" msg="User 'bfe2f239-bcee-4c2f-a5df-2f476846051e' created with " /server/backend time="2026-09-17T09:52:08Z" msg="Starting bridge" time="2026-09-17T09:52:08Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/187/config79211612/grpcFocusServerConfig.json /service time="2026-09-17T09:52:08Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/187/cache748647573/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:52:08Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/187/cache748647573/notifications/notification_cache: no such file or directory" time="2026-09-17T09:52:08Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/187/data3053978279/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/187/data3053978279/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:52:08Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:52:08Z" msg="Starting IMAP server" time="2026-09-17T09:52:08Z" msg="Starting SMTP server" time="2026-09-17T09:52:08Z" msg="Starting service" time="2026-09-17T09:52:08Z" msg="Starting service" time="2026-09-17T09:52:08Z" msg="Starting frontend service" time="2026-09-17T09:52:08Z" msg="Starting receiver service" time="2026-09-17T09:52:08Z" msg="Starting poll service" time="2026-09-17T09:52:08Z" msg="Checking for updates" time="2026-09-17T09:52:08Z" msg="Loading users" /user time="2026-09-17T09:52:08Z" msg="Finished loading users" /user time="2026-09-17T09:52:08Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/187/config79211612/grpcServerConfig.json time="2026-09-17T09:52:08Z" msg="gRPC server listening on /tmp/bridge6775" time="2026-09-17T09:52:08Z" msg="Frontend service started" time="2026-09-17T09:52:08Z" msg="Starting frontend client" time="2026-09-17T09:52:08Z" msg="Not monitoring parent PID" time="2026-09-17T09:52:08Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:52:08Z" msg="Frontend client started" time="2026-09-17T09:52:08Z" msg="Performing full user login" /user username="******** (fff2852f)" time="2026-09-17T09:52:08Z" msg="Authorizing user for login" /user username="******** (fff2852f)" time="2026-09-17T09:52:08Z" msg="200 OK: GET https://127.0.0.1:33629/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:52:08Z" msg="200 OK: POST https://127.0.0.1:33629/auth/v4/info" /manager time="2026-09-17T09:52:08Z" msg="200 OK: POST https://127.0.0.1:33629/auth/v4" /manager time="2026-09-17T09:52:08Z" msg="Logging in authorized user" /user userID=fbd4b6d2-b770-47b0-b6f3-e3aaf1c45f22 time="2026-09-17T09:52:08Z" msg="Adding vault user" userID=fbd4b6d2-b770-47b0-b6f3-e3aaf1c45f22 time="2026-09-17T09:52:08Z" msg="Creating new user" userID=fbd4b6d2-b770-47b0-b6f3-e3aaf1c45f22 time="2026-09-17T09:52:08Z" msg="404 GET https://127.0.0.1:33629/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:52:08Z" msg="404 GET https://127.0.0.1:33629/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:52:08Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:33629/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:52:08Z" msg="Creating user object" authUID=6462cf19-b313-4dd1-90c7-f04a763be1ee numA numL userID=fbd4b6d2-b770-47b0-b6f3-e3aaf1c45f22 time="2026-09-17T09:52:08Z" msg="200 OK: GET https://127.0.0.1:33629/core/v4/events/latest" /client userID=fbd4b6d2-b770-47b0-b6f3-e3aaf1c45f22 time="2026-09-17T09:52:08Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:52:08Z" msg="200 OK: GET https://127.0.0.1:33629/core/v4/settings" /client userID=fbd4b6d2-b770-47b0-b6f3-e3aaf1c45f22 time="2026-09-17T09:52:08Z" msg="Registering user client, ID:fbd4b6d2-b770-47b0-b6f3-e3aaf1c45f22" time="2026-09-17T09:52:08Z" msg="Starting service main loop" time="2026-09-17T09:52:08Z" msg="Starting service main loop" time="2026-09-17T09:52:08Z" msg="Starting user identity service" numA time="2026-09-17T09:52:08Z" msg="Starting service main loop" time="2026-09-17T09:52:08Z" msg="200 OK: GET https://127.0.0.1:33629/core/v4/labels?T" /client userID=fbd4b6d2-b770-47b0-b6f3-e3aaf1c45f22 time="2026-09-17T09:52:08Z" msg="200 OK: GET https://127.0.0.1:33629/core/v4/labels?T" /client userID=fbd4b6d2-b770-47b0-b6f3-e3aaf1c45f22 time="2026-09-17T09:52:08Z" msg="200 OK: GET https://127.0.0.1:33629/core/v4/labels?T" /client userID=fbd4b6d2-b770-47b0-b6f3-e3aaf1c45f22 time="2026-09-17T09:52:08Z" msg="Setting labels" labelIDs="[0 3 6 8 10 1 2 4 5 7 9 12]" time="2026-09-17T09:52:08Z" msg="Adding user to imap server" addrID=b8ee99ad-83a3-4961-b194-8f9020f19954 time="2026-09-17T09:52:08Z" msg="Creating new IMAP user" addrID=b8ee99ad-83a3-4961-b194-8f9020f19954 time="2026-09-17T09:52:08Z" msg="Setting gluon ID" addrID=b8ee99ad-83a3-4961-b194-8f9020f19954 gluonID=fc2a7a5a-ab09-43fc-b16f-49ba866991ed userID=fbd4b6d2-b770-47b0-b6f3-e3aaf1c45f22 time="2026-09-17T09:52:08Z" msg="Received mailbox message count" gluonID=fc2a7a5a-ab09-43fc-b16f-49ba866991ed labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:52:08Z" msg="Created new IMAP user" addrID=b8ee99ad-83a3-4961-b194-8f9020f19954 gluonID=fc2a7a5a-ab09-43fc-b16f-49ba866991ed time="2026-09-17T09:52:08Z" msg="Validating Listener State" time="2026-09-17T09:52:08Z" time="2026-09-17T09:52:08Z" msg="Checking whether logged in user should re-sync. UserID:fbd4b6d2-b770-47b0-b6f3-e3aaf1c45f22" userID=fbd4b6d2-b770-47b0-b6f3-e3aaf1c45f22 time="2026-09-17T09:52:08Z" msg="Starting IMAP Service" time="2026-09-17T09:52:08Z" msg="Sync triggered" time="2026-09-17T09:52:08Z" msg="Beginning user sync" start="2026-09-17 09:52:08.973307761 +0000 UTC m=+417.465610097" time="2026-09-17T09:52:08Z" msg="Send mail failed." error="invalid return path" time="2026-09-17T09:52:08Z" msg="Sending observability data." Scenario: Send with empty FROM # features/smtp/init.feature:43 When SMTP client "1" sends the following message from "<>" to "recipient@example.com": # :1 -> *scenario """ To: Internal Bridge this should fail """ time="2026-09-17T09:52:08Z" msg="Syncing labels" time="2026-09-17T09:52:08Z" msg="200 OK: POST https://127.0.0.1:33629/data/v1/metrics" /client userID=fbd4b6d2-b770-47b0-b6f3-e3aaf1c45f22 time="2026-09-17T09:52:08Z" msg="Successfully sent observability data." time="2026-09-17T09:52:08Z" msg="Frontend service stopped" time="2026-09-17T09:52:08Z" msg="Frontend client stopped" time="2026-09-17T09:52:08Z" msg="Closing bridge" time="2026-09-17T09:52:08Z" msg="Stopping service" time="2026-09-17T09:52:08Z" msg="Closing user" userID=fbd4b6d2-b770-47b0-b6f3-e3aaf1c45f22 time="2026-09-17T09:52:08Z" msg="De-registering user client, ID:fbd4b6d2-b770-47b0-b6f3-e3aaf1c45f22" time="2026-09-17T09:52:08Z" msg="Synced labels" time="2026-09-17T09:52:08Z" msg="Get \"https://127.0.0.1:33629/mail/v4/messages/count\": context canceled, Attempt 1" /client time="2026-09-17T09:52:08Z" msg="Get \"https://127.0.0.1:33629/mail/v4/messages/count\": context canceled" /client time="2026-09-17T09:52:08Z" msg="Failed to sync, will retry later" error="failed to retrieve message ids: received no response from API: Get \"https://127.0.0.1:33629/mail/v4/messages/count\": context canceled" time="2026-09-17T09:52:08Z" msg="Sync aborted" error="context canceled" time="2026-09-17T09:52:08Z" msg="Finished user sync" .694012ms time="2026-09-17T09:52:08Z" msg="Exiting IMAP Service" time="2026-09-17T09:52:08Z" msg="Exiting service main loop" time="2026-09-17T09:52:08Z" msg="Exiting service main loop" time="2026-09-17T09:52:08Z" msg="Exiting Service" time="2026-09-17T09:52:08Z" msg="Exiting service main loop" time="2026-09-17T09:52:08Z" msg="Exiting service" time="2026-09-17T09:52:08Z" msg="Closing IMAP Listener" time="2026-09-17T09:52:08Z" msg="Closing IMAP server" time="2026-09-17T09:52:08Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=fc2a7a5a-ab09-43fc-b16f-49ba866991ed time="2026-09-17T09:52:08Z" msg="Closing SMTP Listener" time="2026-09-17T09:52:08Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:52:08Z" msg="Closing SMTP server" time="2026-09-17T09:52:08Z" msg="Closing service" Then it fails # :1 -> *scenario time="2026-09-17T09:52:09Z" msg="User 'c26539b5-212b-4ee4-b365-888c6fa15bb7' created with " /server/backend time="2026-09-17T09:52:09Z" msg="Starting bridge" time="2026-09-17T09:52:09Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/188/config2421621795/grpcFocusServerConfig.json /service time="2026-09-17T09:52:09Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/188/cache1252548074/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:52:09Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/188/cache1252548074/notifications/notification_cache: no such file or directory" time="2026-09-17T09:52:09Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/188/data3040297603/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/188/data3040297603/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:52:09Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:52:09Z" msg="Starting IMAP server" time="2026-09-17T09:52:09Z" msg="Starting SMTP server" time="2026-09-17T09:52:09Z" msg="Starting service" time="2026-09-17T09:52:09Z" msg="Starting service" time="2026-09-17T09:52:09Z" msg="Starting poll service" time="2026-09-17T09:52:09Z" msg="Checking for updates" time="2026-09-17T09:52:09Z" msg="Starting receiver service" time="2026-09-17T09:52:09Z" msg="Loading users" /user time="2026-09-17T09:52:09Z" msg="Starting frontend service" time="2026-09-17T09:52:09Z" msg="Finished loading users" /user time="2026-09-17T09:52:09Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/188/config2421621795/grpcServerConfig.json time="2026-09-17T09:52:09Z" msg="gRPC server listening on /tmp/bridge1759" time="2026-09-17T09:52:09Z" msg="Frontend service started" time="2026-09-17T09:52:09Z" msg="Starting frontend client" time="2026-09-17T09:52:09Z" msg="Not monitoring parent PID" time="2026-09-17T09:52:09Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:52:09Z" msg="200 OK: GET https://127.0.0.1:42203/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:52:09Z" msg="Frontend client started" time="2026-09-17T09:52:09Z" msg="Performing full user login" /user username="******** (6ffc0ecf)" time="2026-09-17T09:52:09Z" msg="Authorizing user for login" /user username="******** (6ffc0ecf)" time="2026-09-17T09:52:09Z" msg="200 OK: POST https://127.0.0.1:42203/auth/v4/info" /manager time="2026-09-17T09:52:09Z" msg="200 OK: POST https://127.0.0.1:42203/auth/v4" /manager time="2026-09-17T09:52:09Z" msg="Logging in authorized user" /user userID=8c4204b9-798f-44c4-a370-f7b61ebaeb4e time="2026-09-17T09:52:10Z" msg="Adding vault user" userID=8c4204b9-798f-44c4-a370-f7b61ebaeb4e time="2026-09-17T09:52:10Z" msg="Creating new user" userID=8c4204b9-798f-44c4-a370-f7b61ebaeb4e time="2026-09-17T09:52:10Z" msg="404 GET https://127.0.0.1:42203/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:52:10Z" msg="404 GET https://127.0.0.1:42203/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:52:10Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:42203/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:52:10Z" msg="Creating user object" authUID=7d63f5b1-2ca0-4068-98ab-fd09c4b52686 numA numL userID=8c4204b9-798f-44c4-a370-f7b61ebaeb4e time="2026-09-17T09:52:10Z" msg="200 OK: GET https://127.0.0.1:42203/core/v4/events/latest" /client userID=8c4204b9-798f-44c4-a370-f7b61ebaeb4e time="2026-09-17T09:52:10Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:52:10Z" msg="200 OK: GET https://127.0.0.1:42203/core/v4/settings" /client userID=8c4204b9-798f-44c4-a370-f7b61ebaeb4e time="2026-09-17T09:52:10Z" msg="Registering user client, ID:8c4204b9-798f-44c4-a370-f7b61ebaeb4e" time="2026-09-17T09:52:10Z" msg="Starting service main loop" time="2026-09-17T09:52:10Z" msg="Starting user identity service" numA time="2026-09-17T09:52:10Z" msg="Starting service main loop" time="2026-09-17T09:52:10Z" msg="Starting service main loop" time="2026-09-17T09:52:10Z" msg="200 OK: GET https://127.0.0.1:42203/core/v4/labels?T" /client userID=8c4204b9-798f-44c4-a370-f7b61ebaeb4e time="2026-09-17T09:52:10Z" msg="200 OK: GET https://127.0.0.1:42203/core/v4/labels?T" /client userID=8c4204b9-798f-44c4-a370-f7b61ebaeb4e time="2026-09-17T09:52:10Z" msg="200 OK: GET https://127.0.0.1:42203/core/v4/labels?T" /client userID=8c4204b9-798f-44c4-a370-f7b61ebaeb4e time="2026-09-17T09:52:10Z" msg="Setting labels" labelIDs="[6 0 3 4 7 8 9 10 12 1 2 5]" time="2026-09-17T09:52:10Z" msg="Adding user to imap server" addrID=c2c40b89-260d-474a-bc06-7f0d64508c7b time="2026-09-17T09:52:10Z" msg="Creating new IMAP user" addrID=c2c40b89-260d-474a-bc06-7f0d64508c7b time="2026-09-17T09:52:10Z" msg="Setting gluon ID" addrID=c2c40b89-260d-474a-bc06-7f0d64508c7b gluonID=75990423-172b-419c-9560-b54cade482ae userID=8c4204b9-798f-44c4-a370-f7b61ebaeb4e time="2026-09-17T09:52:10Z" msg="Received mailbox message count" gluonID=75990423-172b-419c-9560-b54cade482ae labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:52:10Z" msg="Created new IMAP user" addrID=c2c40b89-260d-474a-bc06-7f0d64508c7b gluonID=75990423-172b-419c-9560-b54cade482ae time="2026-09-17T09:52:10Z" msg="Validating Listener State" time="2026-09-17T09:52:10Z" time="2026-09-17T09:52:10Z" msg="Starting IMAP Service" time="2026-09-17T09:52:10Z" msg="Checking whether logged in user should re-sync. UserID:8c4204b9-798f-44c4-a370-f7b61ebaeb4e" userID=8c4204b9-798f-44c4-a370-f7b61ebaeb4e time="2026-09-17T09:52:10Z" msg="Sync triggered" time="2026-09-17T09:52:10Z" msg="Beginning user sync" start="2026-09-17 09:52:10.05733211 +0000 UTC m=+418.549634446" time="2026-09-17T09:52:10Z" msg="Syncing labels" Scenario: Send with empty TO # features/smtp/init.feature:52 When SMTP client "1" sends MAIL FROM "" # :1 -> *scenario Then it succeeds # :1 -> *scenario When SMTP client "1" sends RCPT TO "<>" # :1 -> *scenario time="2026-09-17T09:52:10Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=75990423-172b-419c-9560-b54cade482ae Then it succeeds # :1 -> *scenario time="2026-09-17T09:52:10Z" msg="Send mail failed." error="invalid recipient" When SMTP client "1" sends DATA: # :1 -> *scenario """ Subject: test """ time="2026-09-17T09:52:10Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=75990423-172b-419c-9560-b54cade482ae time="2026-09-17T09:52:10Z" msg="Frontend service stopped" time="2026-09-17T09:52:10Z" msg="Mailbox created" /user remoteMailboxID=5 userID=75990423-172b-419c-9560-b54cade482ae time="2026-09-17T09:52:10Z" msg="Frontend client stopped" time="2026-09-17T09:52:10Z" msg="Closing bridge" time="2026-09-17T09:52:10Z" msg="Stopping service" time="2026-09-17T09:52:10Z" msg="Closing user" userID=8c4204b9-798f-44c4-a370-f7b61ebaeb4e time="2026-09-17T09:52:10Z" msg="De-registering user client, ID:8c4204b9-798f-44c4-a370-f7b61ebaeb4e" time="2026-09-17T09:52:10Z" msg="Mailbox created" /user remoteMailboxID=4 userID=75990423-172b-419c-9560-b54cade482ae time="2026-09-17T09:52:10Z" msg="Synced labels" time="2026-09-17T09:52:10Z" msg="Get \"https://127.0.0.1:42203/mail/v4/messages/count\": context canceled, Attempt 1" /client time="2026-09-17T09:52:10Z" msg="Get \"https://127.0.0.1:42203/mail/v4/messages/count\": context canceled" /client time="2026-09-17T09:52:10Z" msg="Failed to sync, will retry later" error="failed to retrieve message ids: received no response from API: Get \"https://127.0.0.1:42203/mail/v4/messages/count\": context canceled" time="2026-09-17T09:52:10Z" msg="Sync aborted" error="context canceled" time="2026-09-17T09:52:10Z" msg="Finished user sync" .376616ms time="2026-09-17T09:52:10Z" msg="Exiting IMAP Service" time="2026-09-17T09:52:10Z" msg="Exiting service main loop" time="2026-09-17T09:52:10Z" msg="Exiting service main loop" time="2026-09-17T09:52:10Z" msg="Exiting Service" time="2026-09-17T09:52:10Z" msg="Exiting service main loop" time="2026-09-17T09:52:10Z" msg="Exiting service" time="2026-09-17T09:52:10Z" msg="Mailbox created" /user remoteMailboxID=8 userID=75990423-172b-419c-9560-b54cade482ae time="2026-09-17T09:52:10Z" msg="Closing IMAP Listener" time="2026-09-17T09:52:10Z" msg="Closing IMAP server" time="2026-09-17T09:52:10Z" msg="Mailbox created" /user remoteMailboxID=10 userID=75990423-172b-419c-9560-b54cade482ae time="2026-09-17T09:52:10Z" msg="Closing SMTP Listener" time="2026-09-17T09:52:10Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:52:10Z" msg="Closing SMTP server" time="2026-09-17T09:52:10Z" msg="Closing service" Then it fails with error "The sender or recipient address is not valid. Review the addresses and resend the message" # :1 -> *scenario time="2026-09-17T09:52:10Z" msg="User '503d5e94-6a34-42ed-8758-2861ad95dd7d' created with " /server/backend time="2026-09-17T09:52:10Z" msg="Starting bridge" time="2026-09-17T09:52:10Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/189/config3982125817/grpcFocusServerConfig.json /service time="2026-09-17T09:52:10Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/189/cache2927320348/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:52:10Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/189/cache2927320348/notifications/notification_cache: no such file or directory" time="2026-09-17T09:52:10Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/189/data3210848492/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/189/data3210848492/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:52:10Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:52:10Z" msg="Starting IMAP server" time="2026-09-17T09:52:10Z" msg="Starting SMTP server" time="2026-09-17T09:52:10Z" msg="Starting service" time="2026-09-17T09:52:10Z" msg="Starting service" time="2026-09-17T09:52:10Z" msg="Starting frontend service" time="2026-09-17T09:52:10Z" msg="Starting poll service" time="2026-09-17T09:52:10Z" msg="Checking for updates" time="2026-09-17T09:52:10Z" msg="Starting receiver service" time="2026-09-17T09:52:10Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/189/config3982125817/grpcServerConfig.json time="2026-09-17T09:52:10Z" msg="Loading users" /user time="2026-09-17T09:52:10Z" msg="gRPC server listening on /tmp/bridge3028" time="2026-09-17T09:52:10Z" msg="Frontend service started" time="2026-09-17T09:52:10Z" msg="Starting frontend client" time="2026-09-17T09:52:10Z" msg="Finished loading users" /user time="2026-09-17T09:52:10Z" msg="Not monitoring parent PID" time="2026-09-17T09:52:10Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:52:10Z" msg="200 OK: GET https://127.0.0.1:34873/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:52:10Z" msg="Frontend client started" time="2026-09-17T09:52:10Z" msg="Performing full user login" /user username="******** (b3409908)" time="2026-09-17T09:52:10Z" msg="Authorizing user for login" /user username="******** (b3409908)" time="2026-09-17T09:52:10Z" msg="200 OK: POST https://127.0.0.1:34873/auth/v4/info" /manager time="2026-09-17T09:52:11Z" msg="200 OK: POST https://127.0.0.1:34873/auth/v4" /manager time="2026-09-17T09:52:11Z" msg="Logging in authorized user" /user userID=911e1d40-ff7a-4c5b-a1aa-fd4e7c1065dc time="2026-09-17T09:52:11Z" msg="Adding vault user" userID=911e1d40-ff7a-4c5b-a1aa-fd4e7c1065dc time="2026-09-17T09:52:11Z" msg="Creating new user" userID=911e1d40-ff7a-4c5b-a1aa-fd4e7c1065dc time="2026-09-17T09:52:11Z" msg="404 GET https://127.0.0.1:34873/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:52:11Z" msg="404 GET https://127.0.0.1:34873/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:52:11Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:34873/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:52:11Z" msg="Creating user object" authUID=904bf89f-7d1e-4d48-9c06-0d9e0ed16dc7 numA numL userID=911e1d40-ff7a-4c5b-a1aa-fd4e7c1065dc time="2026-09-17T09:52:11Z" msg="200 OK: GET https://127.0.0.1:34873/core/v4/events/latest" /client userID=911e1d40-ff7a-4c5b-a1aa-fd4e7c1065dc time="2026-09-17T09:52:11Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:52:11Z" msg="200 OK: GET https://127.0.0.1:34873/core/v4/settings" /client userID=911e1d40-ff7a-4c5b-a1aa-fd4e7c1065dc time="2026-09-17T09:52:11Z" msg="Registering user client, ID:911e1d40-ff7a-4c5b-a1aa-fd4e7c1065dc" time="2026-09-17T09:52:11Z" msg="Starting service main loop" time="2026-09-17T09:52:11Z" msg="Starting user identity service" numA time="2026-09-17T09:52:11Z" msg="Starting service main loop" time="2026-09-17T09:52:11Z" msg="Starting service main loop" time="2026-09-17T09:52:11Z" msg="200 OK: GET https://127.0.0.1:34873/core/v4/labels?T" /client userID=911e1d40-ff7a-4c5b-a1aa-fd4e7c1065dc time="2026-09-17T09:52:11Z" msg="200 OK: GET https://127.0.0.1:34873/core/v4/labels?T" /client userID=911e1d40-ff7a-4c5b-a1aa-fd4e7c1065dc time="2026-09-17T09:52:11Z" msg="200 OK: GET https://127.0.0.1:34873/core/v4/labels?T" /client userID=911e1d40-ff7a-4c5b-a1aa-fd4e7c1065dc time="2026-09-17T09:52:11Z" msg="Setting labels" labelIDs="[10 3 4 7 9 12 0 1 2 5 6 8]" time="2026-09-17T09:52:11Z" msg="Adding user to imap server" addrID=856dfd21-56cb-4b6b-aa40-78356dc6954f time="2026-09-17T09:52:11Z" msg="Creating new IMAP user" addrID=856dfd21-56cb-4b6b-aa40-78356dc6954f time="2026-09-17T09:52:11Z" msg="Setting gluon ID" addrID=856dfd21-56cb-4b6b-aa40-78356dc6954f gluonID=0c2a2705-6f7c-492d-bc92-a344af369dad userID=911e1d40-ff7a-4c5b-a1aa-fd4e7c1065dc time="2026-09-17T09:52:11Z" msg="Received mailbox message count" gluonID=0c2a2705-6f7c-492d-bc92-a344af369dad labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:52:11Z" msg="Created new IMAP user" addrID=856dfd21-56cb-4b6b-aa40-78356dc6954f gluonID=0c2a2705-6f7c-492d-bc92-a344af369dad time="2026-09-17T09:52:11Z" msg="Validating Listener State" time="2026-09-17T09:52:11Z" time="2026-09-17T09:52:11Z" msg="Starting IMAP Service" time="2026-09-17T09:52:11Z" msg="Checking whether logged in user should re-sync. UserID:911e1d40-ff7a-4c5b-a1aa-fd4e7c1065dc" userID=911e1d40-ff7a-4c5b-a1aa-fd4e7c1065dc time="2026-09-17T09:52:11Z" msg="Sync triggered" time="2026-09-17T09:52:11Z" msg="Beginning user sync" start="2026-09-17 09:52:11.137380363 +0000 UTC m=+419.629682699" Scenario: Allow BODY parameter of MAIL FROM command # features/smtp/init.feature:63 time="2026-09-17T09:52:11Z" msg="Syncing labels" When SMTP client "1" sends MAIL FROM "<503d5e94-6a34-42ed-8758-2861ad95dd7d@proton.local> BODY=7BIT" # :1 -> *scenario time="2026-09-17T09:52:11Z" msg="Frontend service stopped" time="2026-09-17T09:52:11Z" msg="Frontend client stopped" time="2026-09-17T09:52:11Z" msg="Closing bridge" time="2026-09-17T09:52:11Z" msg="Stopping service" time="2026-09-17T09:52:11Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=0c2a2705-6f7c-492d-bc92-a344af369dad time="2026-09-17T09:52:11Z" msg="Closing user" userID=911e1d40-ff7a-4c5b-a1aa-fd4e7c1065dc time="2026-09-17T09:52:11Z" msg="De-registering user client, ID:911e1d40-ff7a-4c5b-a1aa-fd4e7c1065dc" time="2026-09-17T09:52:11Z" msg="Synced labels" time="2026-09-17T09:52:11Z" msg="Get \"https://127.0.0.1:34873/mail/v4/messages/count\": context canceled, Attempt 1" /client time="2026-09-17T09:52:11Z" msg="Get \"https://127.0.0.1:34873/mail/v4/messages/count\": context canceled" /client time="2026-09-17T09:52:11Z" msg="Failed to sync, will retry later" error="failed to retrieve message ids: received no response from API: Get \"https://127.0.0.1:34873/mail/v4/messages/count\": context canceled" time="2026-09-17T09:52:11Z" msg="Sync aborted" error="context canceled" time="2026-09-17T09:52:11Z" msg="Finished user sync" .234609ms time="2026-09-17T09:52:11Z" msg="Exiting IMAP Service" time="2026-09-17T09:52:11Z" msg="Exiting service main loop" time="2026-09-17T09:52:11Z" msg="Exiting service main loop" time="2026-09-17T09:52:11Z" msg="Exiting Service" time="2026-09-17T09:52:11Z" msg="Exiting service main loop" time="2026-09-17T09:52:11Z" msg="Exiting service" time="2026-09-17T09:52:11Z" msg="Closing IMAP Listener" time="2026-09-17T09:52:11Z" msg="Closing IMAP server" time="2026-09-17T09:52:11Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=0c2a2705-6f7c-492d-bc92-a344af369dad time="2026-09-17T09:52:11Z" msg="Closing SMTP Listener" time="2026-09-17T09:52:11Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:52:11Z" msg="Closing SMTP server" time="2026-09-17T09:52:11Z" msg="Closing service" Then it succeeds # :1 -> *scenario time="2026-09-17T09:52:11Z" msg="User '68aa1054-20f7-4946-a434-038f2ddf064d' created with " /server/backend time="2026-09-17T09:52:11Z" msg="Starting bridge" time="2026-09-17T09:52:11Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/190/config2566316244/grpcFocusServerConfig.json /service time="2026-09-17T09:52:11Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/190/cache2380643658/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:52:11Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/190/cache2380643658/notifications/notification_cache: no such file or directory" time="2026-09-17T09:52:11Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/190/data1200892588/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/190/data1200892588/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:52:11Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:52:11Z" msg="Starting IMAP server" time="2026-09-17T09:52:11Z" msg="Starting SMTP server" time="2026-09-17T09:52:11Z" msg="Starting service" time="2026-09-17T09:52:11Z" msg="Starting service" time="2026-09-17T09:52:11Z" msg="Starting receiver service" time="2026-09-17T09:52:11Z" msg="Starting poll service" time="2026-09-17T09:52:11Z" msg="Starting frontend service" time="2026-09-17T09:52:11Z" msg="Checking for updates" time="2026-09-17T09:52:11Z" msg="Loading users" /user time="2026-09-17T09:52:11Z" msg="Finished loading users" /user time="2026-09-17T09:52:11Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/190/config2566316244/grpcServerConfig.json time="2026-09-17T09:52:11Z" msg="gRPC server listening on /tmp/bridge7304" time="2026-09-17T09:52:11Z" msg="Frontend service started" time="2026-09-17T09:52:11Z" msg="Starting frontend client" time="2026-09-17T09:52:11Z" msg="Not monitoring parent PID" time="2026-09-17T09:52:11Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:52:11Z" msg="Frontend client started" time="2026-09-17T09:52:11Z" msg="Performing full user login" /user username="******** (5791107d)" time="2026-09-17T09:52:11Z" msg="Authorizing user for login" /user username="******** (5791107d)" time="2026-09-17T09:52:11Z" msg="200 OK: POST https://127.0.0.1:40395/auth/v4/info" /manager time="2026-09-17T09:52:12Z" msg="200 OK: POST https://127.0.0.1:40395/auth/v4" /manager time="2026-09-17T09:52:12Z" msg="Logging in authorized user" /user userID=9770ac42-81b7-4558-b91e-b46912ec7d15 time="2026-09-17T09:52:12Z" msg="Adding vault user" userID=9770ac42-81b7-4558-b91e-b46912ec7d15 time="2026-09-17T09:52:12Z" msg="Creating new user" userID=9770ac42-81b7-4558-b91e-b46912ec7d15 time="2026-09-17T09:52:12Z" msg="404 GET https://127.0.0.1:40395/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:52:12Z" msg="404 GET https://127.0.0.1:40395/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:52:12Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:40395/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:52:12Z" msg="Creating user object" authUID=b2aa1953-0a43-4184-828a-28c41b190511 numA numL userID=9770ac42-81b7-4558-b91e-b46912ec7d15 time="2026-09-17T09:52:12Z" msg="200 OK: GET https://127.0.0.1:40395/core/v4/events/latest" /client userID=9770ac42-81b7-4558-b91e-b46912ec7d15 time="2026-09-17T09:52:12Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:52:12Z" msg="200 OK: GET https://127.0.0.1:40395/core/v4/settings" /client userID=9770ac42-81b7-4558-b91e-b46912ec7d15 time="2026-09-17T09:52:12Z" msg="Registering user client, ID:9770ac42-81b7-4558-b91e-b46912ec7d15" time="2026-09-17T09:52:12Z" msg="Starting user identity service" numA time="2026-09-17T09:52:12Z" msg="Starting service main loop" time="2026-09-17T09:52:12Z" msg="Starting service main loop" time="2026-09-17T09:52:12Z" msg="Starting service main loop" time="2026-09-17T09:52:12Z" msg="200 OK: GET https://127.0.0.1:40395/core/v4/labels?T" /client userID=9770ac42-81b7-4558-b91e-b46912ec7d15 time="2026-09-17T09:52:12Z" msg="200 OK: GET https://127.0.0.1:40395/core/v4/labels?T" /client userID=9770ac42-81b7-4558-b91e-b46912ec7d15 time="2026-09-17T09:52:12Z" msg="200 OK: GET https://127.0.0.1:40395/core/v4/labels?T" /client userID=9770ac42-81b7-4558-b91e-b46912ec7d15 time="2026-09-17T09:52:12Z" msg="Setting labels" labelIDs="[10 1 2 5 12 0 3 4 6 7 8 9]" time="2026-09-17T09:52:12Z" msg="Adding user to imap server" addrID=fcb2dd26-2117-41bd-987e-2a5122f68427 time="2026-09-17T09:52:12Z" msg="Creating new IMAP user" addrID=fcb2dd26-2117-41bd-987e-2a5122f68427 time="2026-09-17T09:52:12Z" msg="Setting gluon ID" addrID=fcb2dd26-2117-41bd-987e-2a5122f68427 gluonID=8a27b28f-fa94-4b86-86c3-3e610fc8f586 userID=9770ac42-81b7-4558-b91e-b46912ec7d15 time="2026-09-17T09:52:12Z" msg="Received mailbox message count" gluonID=8a27b28f-fa94-4b86-86c3-3e610fc8f586 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:52:12Z" msg="Created new IMAP user" addrID=fcb2dd26-2117-41bd-987e-2a5122f68427 gluonID=8a27b28f-fa94-4b86-86c3-3e610fc8f586 time="2026-09-17T09:52:12Z" msg="Validating Listener State" time="2026-09-17T09:52:12Z" time="2026-09-17T09:52:12Z" msg="Checking whether logged in user should re-sync. UserID:9770ac42-81b7-4558-b91e-b46912ec7d15" userID=9770ac42-81b7-4558-b91e-b46912ec7d15 time="2026-09-17T09:52:12Z" msg="Starting IMAP Service" time="2026-09-17T09:52:12Z" msg="Sync triggered" time="2026-09-17T09:52:12Z" msg="Beginning user sync" start="2026-09-17 09:52:12.218250578 +0000 UTC m=+420.710552874" time="2026-09-17T09:52:12Z" msg="Send mail failed." error="invalid return path" time="2026-09-17T09:52:12Z" msg="Sending observability data." Scenario: FROM not owned by user # features/smtp/init.feature:67 When SMTP client "1" sends the following message from "unowned@proton.local" to "recipient@example.com": # :1 -> *scenario """ From: Bridge Test <[user:user]@[domain]> To: Internal Bridge this should fail """ time="2026-09-17T09:52:12Z" msg="Syncing labels" time="2026-09-17T09:52:12Z" msg="200 OK: POST https://127.0.0.1:40395/data/v1/metrics" /client userID=9770ac42-81b7-4558-b91e-b46912ec7d15 time="2026-09-17T09:52:12Z" msg="Successfully sent observability data." time="2026-09-17T09:52:12Z" msg="Frontend service stopped" time="2026-09-17T09:52:12Z" msg="Frontend client stopped" time="2026-09-17T09:52:12Z" msg="Closing bridge" time="2026-09-17T09:52:12Z" msg="Stopping service" time="2026-09-17T09:52:12Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=8a27b28f-fa94-4b86-86c3-3e610fc8f586 time="2026-09-17T09:52:12Z" msg="Closing user" userID=9770ac42-81b7-4558-b91e-b46912ec7d15 time="2026-09-17T09:52:12Z" msg="De-registering user client, ID:9770ac42-81b7-4558-b91e-b46912ec7d15" time="2026-09-17T09:52:12Z" msg="Synced labels" time="2026-09-17T09:52:12Z" msg="Get \"https://127.0.0.1:40395/mail/v4/messages/count\": context canceled, Attempt 1" /client time="2026-09-17T09:52:12Z" msg="Get \"https://127.0.0.1:40395/mail/v4/messages/count\": context canceled" /client time="2026-09-17T09:52:12Z" msg="Failed to sync, will retry later" error="failed to retrieve message ids: received no response from API: Get \"https://127.0.0.1:40395/mail/v4/messages/count\": context canceled" time="2026-09-17T09:52:12Z" msg="Sync aborted" error="context canceled" time="2026-09-17T09:52:12Z" msg="Finished user sync" .575501ms time="2026-09-17T09:52:12Z" msg="Exiting IMAP Service" time="2026-09-17T09:52:12Z" msg="Exiting service main loop" time="2026-09-17T09:52:12Z" msg="Exiting service main loop" time="2026-09-17T09:52:12Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=8a27b28f-fa94-4b86-86c3-3e610fc8f586 time="2026-09-17T09:52:12Z" msg="Exiting Service" time="2026-09-17T09:52:12Z" msg="Exiting service main loop" time="2026-09-17T09:52:12Z" msg="Exiting service" time="2026-09-17T09:52:12Z" msg="Closing IMAP Listener" time="2026-09-17T09:52:12Z" msg="Closing IMAP server" time="2026-09-17T09:52:12Z" msg="Mailbox created" /user remoteMailboxID=12 userID=8a27b28f-fa94-4b86-86c3-3e610fc8f586 time="2026-09-17T09:52:12Z" msg="Closing SMTP Listener" time="2026-09-17T09:52:12Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:52:12Z" msg="Closing SMTP server" time="2026-09-17T09:52:12Z" msg="Closing service" Then it fails # :1 -> *scenario Feature: A user can connect an SMTP client to custom ports time="2026-09-17T09:52:12Z" msg="User 'fe5072df-e3ca-4f6e-afe7-110e65c1f530' created with " /server/backend Background: Given there exists an account with username "fe5072df-e3ca-4f6e-afe7-110e65c1f530" and password "password" # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:52:12Z" msg="Starting bridge" time="2026-09-17T09:52:12Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/191/config2642391395/grpcFocusServerConfig.json /service time="2026-09-17T09:52:12Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/191/cache1297005105/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:52:12Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/191/cache1297005105/notifications/notification_cache: no such file or directory" time="2026-09-17T09:52:12Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/191/data2075897710/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/191/data2075897710/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:52:12Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:52:12Z" msg="Starting IMAP server" time="2026-09-17T09:52:12Z" msg="Starting SMTP server" time="2026-09-17T09:52:12Z" msg="Starting service" time="2026-09-17T09:52:12Z" msg="Starting service" time="2026-09-17T09:52:12Z" msg="Starting frontend service" time="2026-09-17T09:52:12Z" msg="Starting poll service" time="2026-09-17T09:52:12Z" msg="Loading users" /user time="2026-09-17T09:52:12Z" msg="Starting receiver service" time="2026-09-17T09:52:12Z" msg="Finished loading users" /user time="2026-09-17T09:52:12Z" msg="Checking for updates" time="2026-09-17T09:52:12Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/191/config2642391395/grpcServerConfig.json time="2026-09-17T09:52:12Z" msg="gRPC server listening on /tmp/bridge9350" time="2026-09-17T09:52:12Z" msg="Frontend service started" time="2026-09-17T09:52:12Z" msg="Starting frontend client" time="2026-09-17T09:52:12Z" msg="Not monitoring parent PID" time="2026-09-17T09:52:12Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:52:12Z" msg="Frontend client started" When bridge starts # :1 -> *scenario time="2026-09-17T09:52:12Z" msg="Performing full user login" /user username="******** (c370574b)" time="2026-09-17T09:52:12Z" msg="Authorizing user for login" /user username="******** (c370574b)" time="2026-09-17T09:52:12Z" msg="200 OK: GET https://127.0.0.1:34875/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:52:12Z" msg="200 OK: POST https://127.0.0.1:34875/auth/v4/info" /manager time="2026-09-17T09:52:13Z" msg="200 OK: POST https://127.0.0.1:34875/auth/v4" /manager time="2026-09-17T09:52:13Z" msg="Logging in authorized user" /user userID=11b092be-7c1a-4c5b-8716-60e8905e4522 time="2026-09-17T09:52:13Z" msg="Adding vault user" userID=11b092be-7c1a-4c5b-8716-60e8905e4522 time="2026-09-17T09:52:13Z" msg="Creating new user" userID=11b092be-7c1a-4c5b-8716-60e8905e4522 time="2026-09-17T09:52:13Z" msg="404 GET https://127.0.0.1:34875/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:52:13Z" msg="404 GET https://127.0.0.1:34875/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:52:13Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:34875/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:52:13Z" msg="Creating user object" authUID=2f261bbd-7f1a-44ca-b022-a81c1735c810 numA numL userID=11b092be-7c1a-4c5b-8716-60e8905e4522 time="2026-09-17T09:52:13Z" msg="200 OK: GET https://127.0.0.1:34875/core/v4/events/latest" /client userID=11b092be-7c1a-4c5b-8716-60e8905e4522 time="2026-09-17T09:52:13Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:52:13Z" msg="200 OK: GET https://127.0.0.1:34875/core/v4/settings" /client userID=11b092be-7c1a-4c5b-8716-60e8905e4522 time="2026-09-17T09:52:13Z" msg="Registering user client, ID:11b092be-7c1a-4c5b-8716-60e8905e4522" time="2026-09-17T09:52:13Z" msg="Starting service main loop" time="2026-09-17T09:52:13Z" msg="Starting user identity service" numA time="2026-09-17T09:52:13Z" msg="Starting service main loop" time="2026-09-17T09:52:13Z" msg="Starting service main loop" time="2026-09-17T09:52:13Z" msg="200 OK: GET https://127.0.0.1:34875/core/v4/labels?T" /client userID=11b092be-7c1a-4c5b-8716-60e8905e4522 time="2026-09-17T09:52:13Z" msg="200 OK: GET https://127.0.0.1:34875/core/v4/labels?T" /client userID=11b092be-7c1a-4c5b-8716-60e8905e4522 time="2026-09-17T09:52:13Z" msg="200 OK: GET https://127.0.0.1:34875/core/v4/labels?T" /client userID=11b092be-7c1a-4c5b-8716-60e8905e4522 time="2026-09-17T09:52:13Z" msg="Setting labels" labelIDs="[2 4 5 6 7 8 10 1 3 9 12 0]" time="2026-09-17T09:52:13Z" msg="Adding user to imap server" addrID=c6bc0d34-8453-4fe3-9de8-4a25583f686b time="2026-09-17T09:52:13Z" msg="Creating new IMAP user" addrID=c6bc0d34-8453-4fe3-9de8-4a25583f686b time="2026-09-17T09:52:13Z" msg="Setting gluon ID" addrID=c6bc0d34-8453-4fe3-9de8-4a25583f686b gluonID=b0f0f606-ec96-4008-b8d9-4839eb47a0ca userID=11b092be-7c1a-4c5b-8716-60e8905e4522 time="2026-09-17T09:52:13Z" msg="Received mailbox message count" gluonID=b0f0f606-ec96-4008-b8d9-4839eb47a0ca labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:52:13Z" msg="Created new IMAP user" addrID=c6bc0d34-8453-4fe3-9de8-4a25583f686b gluonID=b0f0f606-ec96-4008-b8d9-4839eb47a0ca time="2026-09-17T09:52:13Z" msg="Validating Listener State" time="2026-09-17T09:52:13Z" time="2026-09-17T09:52:13Z" msg="Starting IMAP Service" And the user logs in with username "fe5072df-e3ca-4f6e-afe7-110e65c1f530" and password "password" # :1 -> *scenario time="2026-09-17T09:52:13Z" msg="Checking whether logged in user should re-sync. UserID:11b092be-7c1a-4c5b-8716-60e8905e4522" userID=11b092be-7c1a-4c5b-8716-60e8905e4522 Then it succeeds # :1 -> *scenario time="2026-09-17T09:52:13Z" msg="Sync triggered" time="2026-09-17T09:52:13Z" msg="Beginning user sync" start="2026-09-17 09:52:13.29815231 +0000 UTC m=+421.790454606" time="2026-09-17T09:52:13Z" msg="Restarting SMTP server" time="2026-09-17T09:52:13Z" msg="Closing SMTP Listener" time="2026-09-17T09:52:13Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:52:13Z" msg="Closing SMTP server" time="2026-09-17T09:52:13Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:52:13Z" msg="Starting SMTP server" Scenario: Authenticates successfully on custom port # features/smtp/ports.feature:9 When the user changes the SMTP port to 1144 # :1 -> *scenario time="2026-09-17T09:52:13Z" msg="Syncing labels" When user "fe5072df-e3ca-4f6e-afe7-110e65c1f530" connects SMTP client "1" on port 1144 # :1 -> *scenario time="2026-09-17T09:52:13Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=b0f0f606-ec96-4008-b8d9-4839eb47a0ca time="2026-09-17T09:52:13Z" msg="Frontend service stopped" time="2026-09-17T09:52:13Z" msg="Frontend client stopped" time="2026-09-17T09:52:13Z" msg="Closing bridge" time="2026-09-17T09:52:13Z" msg="Stopping service" time="2026-09-17T09:52:13Z" msg="Closing user" userID=11b092be-7c1a-4c5b-8716-60e8905e4522 time="2026-09-17T09:52:13Z" msg="De-registering user client, ID:11b092be-7c1a-4c5b-8716-60e8905e4522" time="2026-09-17T09:52:13Z" msg="Synced labels" time="2026-09-17T09:52:13Z" msg="Get \"https://127.0.0.1:34875/mail/v4/messages/count\": context canceled, Attempt 1" /client time="2026-09-17T09:52:13Z" msg="Get \"https://127.0.0.1:34875/mail/v4/messages/count\": context canceled" /client time="2026-09-17T09:52:13Z" msg="Failed to sync, will retry later" error="failed to retrieve message ids: received no response from API: Get \"https://127.0.0.1:34875/mail/v4/messages/count\": context canceled" time="2026-09-17T09:52:13Z" msg="Sync aborted" error="context canceled" time="2026-09-17T09:52:13Z" msg="Finished user sync" .206694ms time="2026-09-17T09:52:13Z" msg="Exiting IMAP Service" time="2026-09-17T09:52:13Z" msg="Exiting service main loop" time="2026-09-17T09:52:13Z" msg="Exiting service main loop" time="2026-09-17T09:52:13Z" msg="Exiting Service" time="2026-09-17T09:52:13Z" msg="Exiting service main loop" time="2026-09-17T09:52:13Z" msg="Exiting service" time="2026-09-17T09:52:13Z" msg="Closing IMAP Listener" time="2026-09-17T09:52:13Z" msg="Closing IMAP server" time="2026-09-17T09:52:13Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=b0f0f606-ec96-4008-b8d9-4839eb47a0ca time="2026-09-17T09:52:13Z" msg="Closing SMTP Listener" time="2026-09-17T09:52:13Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1144: use of closed network connection" time="2026-09-17T09:52:13Z" msg="Closing SMTP server" time="2026-09-17T09:52:13Z" msg="Closing service" Then SMTP client "1" can authenticate # :1 -> *scenario Feature: SMTP sending with attachment time="2026-09-17T09:52:13Z" msg="User '495a3d2e-6718-4984-b0cb-55e96b6e3d40' created with " /server/backend Background: Given there exists an account with username "495a3d2e-6718-4984-b0cb-55e96b6e3d40" and password "password"# :1 -> *scenario time="2026-09-17T09:52:14Z" msg="User 'cf7a2a7d-cf7c-4371-b369-c1361eb3760f' created with " /server/backend And there exists an account with username "cf7a2a7d-cf7c-4371-b369-c1361eb3760f" and password "password" # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:52:14Z" msg="Starting bridge" time="2026-09-17T09:52:14Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/192/config1431538563/grpcFocusServerConfig.json /service time="2026-09-17T09:52:14Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/192/cache1983607891/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:52:14Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/192/cache1983607891/notifications/notification_cache: no such file or directory" time="2026-09-17T09:52:14Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/192/data1213593126/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/192/data1213593126/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:52:14Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:52:14Z" msg="Starting IMAP server" time="2026-09-17T09:52:14Z" msg="Starting SMTP server" time="2026-09-17T09:52:14Z" msg="Starting service" time="2026-09-17T09:52:14Z" msg="Starting service" time="2026-09-17T09:52:14Z" msg="Starting poll service" time="2026-09-17T09:52:14Z" msg="Starting receiver service" time="2026-09-17T09:52:14Z" msg="Checking for updates" time="2026-09-17T09:52:14Z" msg="Loading users" /user time="2026-09-17T09:52:14Z" msg="Starting frontend service" time="2026-09-17T09:52:14Z" msg="Finished loading users" /user time="2026-09-17T09:52:14Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/192/config1431538563/grpcServerConfig.json time="2026-09-17T09:52:14Z" msg="gRPC server listening on /tmp/bridge6888" time="2026-09-17T09:52:14Z" msg="Frontend service started" time="2026-09-17T09:52:14Z" msg="Starting frontend client" time="2026-09-17T09:52:14Z" msg="Not monitoring parent PID" time="2026-09-17T09:52:14Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:52:14Z" msg="Frontend client started" When bridge starts # :1 -> *scenario time="2026-09-17T09:52:14Z" msg="Performing full user login" /user username="******** (83738ecf)" time="2026-09-17T09:52:14Z" msg="Authorizing user for login" /user username="******** (83738ecf)" time="2026-09-17T09:52:14Z" msg="200 OK: GET https://127.0.0.1:33753/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:52:14Z" msg="200 OK: POST https://127.0.0.1:33753/auth/v4/info" /manager time="2026-09-17T09:52:14Z" msg="200 OK: POST https://127.0.0.1:33753/auth/v4" /manager time="2026-09-17T09:52:14Z" msg="Logging in authorized user" /user userID=49c47365-eb80-4c54-b8c7-b5fc7530bf9c time="2026-09-17T09:52:14Z" msg="Adding vault user" userID=49c47365-eb80-4c54-b8c7-b5fc7530bf9c time="2026-09-17T09:52:14Z" msg="Creating new user" userID=49c47365-eb80-4c54-b8c7-b5fc7530bf9c time="2026-09-17T09:52:15Z" msg="404 GET https://127.0.0.1:33753/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:52:15Z" msg="404 GET https://127.0.0.1:33753/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:52:15Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:33753/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:52:15Z" msg="Creating user object" authUID=b15c8894-8bd5-4943-9629-eeac3b8af063 numA numL userID=49c47365-eb80-4c54-b8c7-b5fc7530bf9c time="2026-09-17T09:52:15Z" msg="200 OK: GET https://127.0.0.1:33753/core/v4/events/latest" /client userID=49c47365-eb80-4c54-b8c7-b5fc7530bf9c time="2026-09-17T09:52:15Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:52:15Z" msg="200 OK: GET https://127.0.0.1:33753/core/v4/settings" /client userID=49c47365-eb80-4c54-b8c7-b5fc7530bf9c time="2026-09-17T09:52:15Z" msg="Registering user client, ID:49c47365-eb80-4c54-b8c7-b5fc7530bf9c" time="2026-09-17T09:52:15Z" msg="Starting service main loop" time="2026-09-17T09:52:15Z" msg="Starting service main loop" time="2026-09-17T09:52:15Z" msg="Starting user identity service" numA time="2026-09-17T09:52:15Z" msg="Starting service main loop" time="2026-09-17T09:52:15Z" msg="200 OK: GET https://127.0.0.1:33753/core/v4/labels?T" /client userID=49c47365-eb80-4c54-b8c7-b5fc7530bf9c time="2026-09-17T09:52:15Z" msg="200 OK: GET https://127.0.0.1:33753/core/v4/labels?T" /client userID=49c47365-eb80-4c54-b8c7-b5fc7530bf9c time="2026-09-17T09:52:15Z" msg="200 OK: GET https://127.0.0.1:33753/core/v4/labels?T" /client userID=49c47365-eb80-4c54-b8c7-b5fc7530bf9c time="2026-09-17T09:52:15Z" msg="Setting labels" labelIDs="[1 2 3 7 9 12 0 4 5 6 8 10]" time="2026-09-17T09:52:15Z" msg="Adding user to imap server" addrID=465e4dc6-9b4b-457b-9a11-9422617edd74 time="2026-09-17T09:52:15Z" msg="Creating new IMAP user" addrID=465e4dc6-9b4b-457b-9a11-9422617edd74 time="2026-09-17T09:52:15Z" msg="Setting gluon ID" addrID=465e4dc6-9b4b-457b-9a11-9422617edd74 gluonID=2f28a4c5-e878-4392-a4cd-74e46995e83d userID=49c47365-eb80-4c54-b8c7-b5fc7530bf9c time="2026-09-17T09:52:15Z" msg="Received mailbox message count" gluonID=2f28a4c5-e878-4392-a4cd-74e46995e83d labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:52:15Z" msg="Created new IMAP user" addrID=465e4dc6-9b4b-457b-9a11-9422617edd74 gluonID=2f28a4c5-e878-4392-a4cd-74e46995e83d time="2026-09-17T09:52:15Z" msg="Validating Listener State" time="2026-09-17T09:52:15Z" time="2026-09-17T09:52:15Z" msg="Starting IMAP Service" time="2026-09-17T09:52:15Z" msg="Checking whether logged in user should re-sync. UserID:49c47365-eb80-4c54-b8c7-b5fc7530bf9c" userID=49c47365-eb80-4c54-b8c7-b5fc7530bf9c time="2026-09-17T09:52:15Z" msg="Sync triggered" time="2026-09-17T09:52:15Z" msg="Beginning user sync" start="2026-09-17 09:52:15.013470234 +0000 UTC m=+423.505772530" And the user logs in with username "495a3d2e-6718-4984-b0cb-55e96b6e3d40" and password "password" # :1 -> *scenario time="2026-09-17T09:52:15Z" msg="Syncing labels" time="2026-09-17T09:52:15Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=2f28a4c5-e878-4392-a4cd-74e46995e83d time="2026-09-17T09:52:15Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=2f28a4c5-e878-4392-a4cd-74e46995e83d time="2026-09-17T09:52:15Z" msg="Mailbox created" /user remoteMailboxID=3 userID=2f28a4c5-e878-4392-a4cd-74e46995e83d time="2026-09-17T09:52:15Z" msg="Mailbox created" /user remoteMailboxID=0 userID=2f28a4c5-e878-4392-a4cd-74e46995e83d time="2026-09-17T09:52:15Z" msg="Mailbox created" /user remoteMailboxID=6 userID=2f28a4c5-e878-4392-a4cd-74e46995e83d time="2026-09-17T09:52:15Z" msg="Mailbox created" /user remoteMailboxID=7 userID=2f28a4c5-e878-4392-a4cd-74e46995e83d time="2026-09-17T09:52:15Z" msg="Mailbox created" /user remoteMailboxID=12 userID=2f28a4c5-e878-4392-a4cd-74e46995e83d time="2026-09-17T09:52:15Z" msg="Mailbox created" /user remoteMailboxID=4 userID=2f28a4c5-e878-4392-a4cd-74e46995e83d time="2026-09-17T09:52:15Z" msg="Mailbox created" /user remoteMailboxID=5 userID=2f28a4c5-e878-4392-a4cd-74e46995e83d time="2026-09-17T09:52:15Z" msg="Mailbox created" /user remoteMailboxID=8 userID=2f28a4c5-e878-4392-a4cd-74e46995e83d time="2026-09-17T09:52:15Z" msg="Mailbox created" /user remoteMailboxID=10 userID=2f28a4c5-e878-4392-a4cd-74e46995e83d time="2026-09-17T09:52:15Z" msg="Synced labels" time="2026-09-17T09:52:15Z" msg="200 OK: GET https://127.0.0.1:33753/mail/v4/messages/count" /client userID=49c47365-eb80-4c54-b8c7-b5fc7530bf9c time="2026-09-17T09:52:15Z" msg="Syncing messages" time="2026-09-17T09:52:15Z" msg="Job started" time="2026-09-17T09:52:15Z" msg="200 OK: POST https://127.0.0.1:33753/mail/v4/messages" /client userID=49c47365-eb80-4c54-b8c7-b5fc7530bf9c time="2026-09-17T09:52:15Z" msg="Job finished" time="2026-09-17T09:52:15Z" msg="All child jobs completed" sync- time="2026-09-17T09:52:15Z" msg="Synced messages" time="2026-09-17T09:52:15Z" msg="Finished user sync" .9626ms time="2026-09-17T09:52:15Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:52:15Z" msg="Event loop reset" eventID="AA==" And user "495a3d2e-6718-4984-b0cb-55e96b6e3d40" finishes syncing # :1 -> *scenario Then it succeeds # :1 -> *scenario When user "495a3d2e-6718-4984-b0cb-55e96b6e3d40" connects and authenticates SMTP client "1" # :1 -> *scenario And user "495a3d2e-6718-4984-b0cb-55e96b6e3d40" connects and authenticates IMAP client "1" # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:52:15Z" msg="Sending observability data." time="2026-09-17T09:52:15Z" msg="200 OK: POST https://127.0.0.1:33753/data/v1/metrics" /client userID=49c47365-eb80-4c54-b8c7-b5fc7530bf9c time="2026-09-17T09:52:15Z" msg="Successfully sent observability data." time="2026-09-17T09:52:15Z" msg="200 OK: GET https://127.0.0.1:33753/mail/v4/settings" /client userID=49c47365-eb80-4c54-b8c7-b5fc7530bf9c time="2026-09-17T09:52:15Z" msg="200 OK: POST https://127.0.0.1:33753/mail/v4/messages" /client userID=49c47365-eb80-4c54-b8c7-b5fc7530bf9c time="2026-09-17T09:52:15Z" msg="200 OK: POST https://127.0.0.1:33753/mail/v4/attachments" /client userID=49c47365-eb80-4c54-b8c7-b5fc7530bf9c time="2026-09-17T09:52:15Z" msg="200 OK: GET https://127.0.0.1:33753/core/v4/keys?E%40proton.local" /client userID=49c47365-eb80-4c54-b8c7-b5fc7530bf9c time="2026-09-17T09:52:15Z" msg="200 OK: GET https://127.0.0.1:33753/contacts/v4/emails?E%40proton.local&P&PageS" /client userID=49c47365-eb80-4c54-b8c7-b5fc7530bf9c time="2026-09-17T09:52:15Z" msg="200 OK: POST https://127.0.0.1:33753/mail/v4/messages/38711e9b-bd86-4f0a-83e9-16143096cdc5" /client userID=49c47365-eb80-4c54-b8c7-b5fc7530bf9c time="2026-09-17T09:52:15Z" msg="Scheduling observability data sending" Scenario: Sending with cyrillic PDF attachment # features/smtp/send/attachment.feature:16 When SMTP client "1" sends the following message from "495a3d2e-6718-4984-b0cb-55e96b6e3d40@proton.local" to "cf7a2a7d-cf7c-4371-b369-c1361eb3760f@proton.local": # :1 -> *scenario """ Content-Type: multipart/mixed; boundary="------------bYzsV6z0EdKTbltmCDZgIM15" From: Bridge Test <[user:user1]@[domain]> To: Internal Bridge <[user:user2]@[domain]> Subject: Test with cyrillic attachment --------------bYzsV6z0EdKTbltmCDZgIM15 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; Shake that body --------------bYzsV6z0EdKTbltmCDZgIM15 Content-Type: application/pdf; name="=?UTF-8?B?0JDQkdCS0JPQlNCD0JXQltCX0IXQmNCI0JrQm9CJ0JzQndCK0J7Qn9Cg?= =?UTF-8?B?0KHQotCM0KPQpNCl0KfQj9CX0KgucGRm?=" Content-Disposition: attachment; filename*0*=UTF-8''%D0%90%D0%91%D0%92%D0%93%D0%94%D0%83%D0%95%D0%96%D0%97; filename*1*=%D0%85%D0%98%D0%88%D0%9A%D0%9B%D0%89%D0%9C%D0%9D%D0%8A%D0%9E; filename*2*=%D0%9F%D0%A0%D0%A1%D0%A2%D0%8C%D0%A3%D0%A4%D0%A5%D0%A7%D0%8F; filename*3*=%D0%97%D0%A8%2E%70%64%66 Content-Transfer-Encoding: base64 0JDQkdCS0JPQlNCD0JXQltCX0IXQmNCI0JrQm9CJ0JzQndCK0J7Qn9Cg0KHQotCM0KPQpNCl0KfQj9CX0Kg= --------------bYzsV6z0EdKTbltmCDZgIM15-- """ Then it succeeds # :1 -> *scenario time="2026-09-17T09:52:15Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 9} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:52:16Z" msg="200 OK: GET https://127.0.0.1:33753/core/v4/events/AA==" /client userID=49c47365-eb80-4c54-b8c7-b5fc7530bf9c time="2026-09-17T09:52:16Z" msg="Received new API event" new="Event BA==: messages: , , " old="AA==" time="2026-09-17T09:52:16Z" msg="Handling message created event" messageID=38711e9b-bd86-4f0a-83e9-16143096cdc5 subject="******** (f75f8f2b)" time="2026-09-17T09:52:16Z" msg="200 OK: GET https://127.0.0.1:33753/mail/v4/messages/38711e9b-bd86-4f0a-83e9-16143096cdc5" /client userID=49c47365-eb80-4c54-b8c7-b5fc7530bf9c time="2026-09-17T09:52:16Z" msg="Handling draft or sent updated event" isD messageID=38711e9b-bd86-4f0a-83e9-16143096cdc5 subject="******** (f75f8f2b)" time="2026-09-17T09:52:16Z" msg="200 OK: GET https://127.0.0.1:33753/mail/v4/messages/38711e9b-bd86-4f0a-83e9-16143096cdc5" /client userID=49c47365-eb80-4c54-b8c7-b5fc7530bf9c Then IMAP client "1" eventually sees the following messages in "Sent": # :1 -> *scenario | from | to | subject | | 495a3d2e-6718-4984-b0cb-55e96b6e3d40@proton.local | cf7a2a7d-cf7c-4371-b369-c1361eb3760f@proton.local | Test with cyrillic attachment | And the body in the "POST" request to "/mail/v4/messages" is: # :1 -> *scenario """ { "Message": { "Subject": "Test with cyrillic attachment", "Sender": { "Name": "Bridge Test" }, "ToList": [ { "Address": "[user:user2]@[domain]", "Name": "Internal Bridge" } ], "CCList": [], "BCCList": [], "MIMEType": "text/plain" } } """ time="2026-09-17T09:52:16Z" msg="Frontend service stopped" time="2026-09-17T09:52:16Z" msg="Frontend client stopped" time="2026-09-17T09:52:16Z" msg="Closing bridge" time="2026-09-17T09:52:16Z" msg="Stopping service" time="2026-09-17T09:52:16Z" msg="Closing user" userID=49c47365-eb80-4c54-b8c7-b5fc7530bf9c time="2026-09-17T09:52:16Z" msg="De-registering user client, ID:49c47365-eb80-4c54-b8c7-b5fc7530bf9c" time="2026-09-17T09:52:16Z" msg="Exiting IMAP Service" time="2026-09-17T09:52:16Z" msg="Exiting service main loop" time="2026-09-17T09:52:16Z" msg="Exiting service main loop" time="2026-09-17T09:52:16Z" msg="Exiting Service" time="2026-09-17T09:52:16Z" msg="Exiting service main loop" time="2026-09-17T09:52:16Z" msg="Exiting service" time="2026-09-17T09:52:16Z" msg="Closing IMAP Listener" time="2026-09-17T09:52:16Z" msg="Closing IMAP server" time="2026-09-17T09:52:16Z" msg="Closing SMTP Listener" time="2026-09-17T09:52:16Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:52:16Z" msg="Closing SMTP server" time="2026-09-17T09:52:16Z" msg="Closing service" And the body in the "POST" response to "/mail/v4/attachments" is: # :1 -> *scenario """ { "Attachment":{ "Name": "АБВГДЃЕЖЗЅИЈКЛЉМНЊОПРСТЌУФХЧЏЗШ.pdf", "MIMEType": "application/pdf", "Disposition": "attachment" } } """ time="2026-09-17T09:52:16Z" msg="User '44c1955a-a954-4a77-ba31-5ccd47f81a28' created with " /server/backend time="2026-09-17T09:52:16Z" msg="User '0069929a-a7ff-4eff-a214-8999ef2753c9' created with " /server/backend time="2026-09-17T09:52:17Z" msg="Starting bridge" time="2026-09-17T09:52:17Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/193/config3874780225/grpcFocusServerConfig.json /service time="2026-09-17T09:52:17Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/193/cache76395910/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:52:17Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/193/cache76395910/notifications/notification_cache: no such file or directory" time="2026-09-17T09:52:17Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/193/data2255938866/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/193/data2255938866/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:52:17Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:52:17Z" msg="Starting IMAP server" time="2026-09-17T09:52:17Z" msg="Starting SMTP server" time="2026-09-17T09:52:17Z" msg="Starting service" time="2026-09-17T09:52:17Z" msg="Starting service" time="2026-09-17T09:52:17Z" msg="Starting poll service" time="2026-09-17T09:52:17Z" msg="Checking for updates" time="2026-09-17T09:52:17Z" msg="Starting frontend service" time="2026-09-17T09:52:17Z" msg="Loading users" /user time="2026-09-17T09:52:17Z" msg="Finished loading users" /user time="2026-09-17T09:52:17Z" msg="Starting receiver service" time="2026-09-17T09:52:17Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/193/config3874780225/grpcServerConfig.json time="2026-09-17T09:52:17Z" msg="gRPC server listening on /tmp/bridge9356" time="2026-09-17T09:52:17Z" msg="Frontend service started" time="2026-09-17T09:52:17Z" msg="Starting frontend client" time="2026-09-17T09:52:17Z" msg="Not monitoring parent PID" time="2026-09-17T09:52:17Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:52:17Z" msg="200 OK: GET https://127.0.0.1:36107/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:52:17Z" msg="Frontend client started" time="2026-09-17T09:52:17Z" msg="Performing full user login" /user username="******** (d7b0abab)" time="2026-09-17T09:52:17Z" msg="Authorizing user for login" /user username="******** (d7b0abab)" time="2026-09-17T09:52:17Z" msg="200 OK: POST https://127.0.0.1:36107/auth/v4/info" /manager time="2026-09-17T09:52:17Z" msg="200 OK: POST https://127.0.0.1:36107/auth/v4" /manager time="2026-09-17T09:52:17Z" msg="Logging in authorized user" /user userID=4812a9fb-5f88-4a7d-b289-c53da243b75f time="2026-09-17T09:52:17Z" msg="Adding vault user" userID=4812a9fb-5f88-4a7d-b289-c53da243b75f time="2026-09-17T09:52:17Z" msg="Creating new user" userID=4812a9fb-5f88-4a7d-b289-c53da243b75f time="2026-09-17T09:52:17Z" msg="404 GET https://127.0.0.1:36107/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:52:17Z" msg="404 GET https://127.0.0.1:36107/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:52:17Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:36107/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:52:17Z" msg="Creating user object" authUID=ee6fc221-464c-4ac4-968a-3dca4940d164 numA numL userID=4812a9fb-5f88-4a7d-b289-c53da243b75f time="2026-09-17T09:52:17Z" msg="200 OK: GET https://127.0.0.1:36107/core/v4/events/latest" /client userID=4812a9fb-5f88-4a7d-b289-c53da243b75f time="2026-09-17T09:52:17Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:52:17Z" msg="200 OK: GET https://127.0.0.1:36107/core/v4/settings" /client userID=4812a9fb-5f88-4a7d-b289-c53da243b75f time="2026-09-17T09:52:17Z" msg="Registering user client, ID:4812a9fb-5f88-4a7d-b289-c53da243b75f" time="2026-09-17T09:52:17Z" msg="Starting user identity service" numA time="2026-09-17T09:52:17Z" msg="Starting service main loop" time="2026-09-17T09:52:17Z" msg="Starting service main loop" time="2026-09-17T09:52:17Z" msg="Starting service main loop" time="2026-09-17T09:52:17Z" msg="200 OK: GET https://127.0.0.1:36107/core/v4/labels?T" /client userID=4812a9fb-5f88-4a7d-b289-c53da243b75f time="2026-09-17T09:52:17Z" msg="200 OK: GET https://127.0.0.1:36107/core/v4/labels?T" /client userID=4812a9fb-5f88-4a7d-b289-c53da243b75f time="2026-09-17T09:52:17Z" msg="200 OK: GET https://127.0.0.1:36107/core/v4/labels?T" /client userID=4812a9fb-5f88-4a7d-b289-c53da243b75f time="2026-09-17T09:52:17Z" msg="Setting labels" labelIDs="[0 1 3 4 5 6 7 8 2 9 10 12]" time="2026-09-17T09:52:17Z" msg="Adding user to imap server" addrID=2ee97d03-32dd-41b0-9ca9-308c6fa3be74 time="2026-09-17T09:52:17Z" msg="Creating new IMAP user" addrID=2ee97d03-32dd-41b0-9ca9-308c6fa3be74 time="2026-09-17T09:52:17Z" msg="Setting gluon ID" addrID=2ee97d03-32dd-41b0-9ca9-308c6fa3be74 gluonID=83a720ed-30db-4e03-8270-1823781f0134 userID=4812a9fb-5f88-4a7d-b289-c53da243b75f time="2026-09-17T09:52:17Z" msg="Received mailbox message count" gluonID=83a720ed-30db-4e03-8270-1823781f0134 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:52:17Z" msg="Created new IMAP user" addrID=2ee97d03-32dd-41b0-9ca9-308c6fa3be74 gluonID=83a720ed-30db-4e03-8270-1823781f0134 time="2026-09-17T09:52:17Z" msg="Validating Listener State" time="2026-09-17T09:52:17Z" time="2026-09-17T09:52:17Z" msg="Checking whether logged in user should re-sync. UserID:4812a9fb-5f88-4a7d-b289-c53da243b75f" userID=4812a9fb-5f88-4a7d-b289-c53da243b75f time="2026-09-17T09:52:17Z" msg="Starting IMAP Service" time="2026-09-17T09:52:17Z" msg="Sync triggered" time="2026-09-17T09:52:17Z" msg="Beginning user sync" start="2026-09-17 09:52:17.764810415 +0000 UTC m=+426.257112791" time="2026-09-17T09:52:17Z" msg="Syncing labels" time="2026-09-17T09:52:17Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=83a720ed-30db-4e03-8270-1823781f0134 time="2026-09-17T09:52:17Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=83a720ed-30db-4e03-8270-1823781f0134 time="2026-09-17T09:52:17Z" msg="Mailbox created" /user remoteMailboxID=0 userID=83a720ed-30db-4e03-8270-1823781f0134 time="2026-09-17T09:52:17Z" msg="Mailbox created" /user remoteMailboxID=4 userID=83a720ed-30db-4e03-8270-1823781f0134 time="2026-09-17T09:52:17Z" msg="Mailbox created" /user remoteMailboxID=5 userID=83a720ed-30db-4e03-8270-1823781f0134 time="2026-09-17T09:52:17Z" msg="Mailbox created" /user remoteMailboxID=6 userID=83a720ed-30db-4e03-8270-1823781f0134 time="2026-09-17T09:52:17Z" msg="Mailbox created" /user remoteMailboxID=8 userID=83a720ed-30db-4e03-8270-1823781f0134 time="2026-09-17T09:52:17Z" msg="Mailbox created" /user remoteMailboxID=3 userID=83a720ed-30db-4e03-8270-1823781f0134 time="2026-09-17T09:52:17Z" msg="Mailbox created" /user remoteMailboxID=7 userID=83a720ed-30db-4e03-8270-1823781f0134 time="2026-09-17T09:52:17Z" msg="Mailbox created" /user remoteMailboxID=10 userID=83a720ed-30db-4e03-8270-1823781f0134 time="2026-09-17T09:52:17Z" msg="Mailbox created" /user remoteMailboxID=12 userID=83a720ed-30db-4e03-8270-1823781f0134 time="2026-09-17T09:52:17Z" msg="Synced labels" time="2026-09-17T09:52:17Z" msg="200 OK: GET https://127.0.0.1:36107/mail/v4/messages/count" /client userID=4812a9fb-5f88-4a7d-b289-c53da243b75f time="2026-09-17T09:52:17Z" msg="Syncing messages" time="2026-09-17T09:52:17Z" msg="Job started" time="2026-09-17T09:52:17Z" msg="200 OK: POST https://127.0.0.1:36107/mail/v4/messages" /client userID=4812a9fb-5f88-4a7d-b289-c53da243b75f time="2026-09-17T09:52:17Z" msg="Job finished" time="2026-09-17T09:52:17Z" msg="All child jobs completed" sync- time="2026-09-17T09:52:17Z" msg="Synced messages" time="2026-09-17T09:52:17Z" msg="Finished user sync" .498153ms time="2026-09-17T09:52:17Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:52:17Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:52:17Z" msg="Sending observability data." time="2026-09-17T09:52:17Z" msg="200 OK: POST https://127.0.0.1:36107/data/v1/metrics" /client userID=4812a9fb-5f88-4a7d-b289-c53da243b75f time="2026-09-17T09:52:17Z" msg="Successfully sent observability data." time="2026-09-17T09:52:17Z" msg="200 OK: GET https://127.0.0.1:36107/mail/v4/settings" /client userID=4812a9fb-5f88-4a7d-b289-c53da243b75f time="2026-09-17T09:52:17Z" msg="200 OK: POST https://127.0.0.1:36107/mail/v4/messages" /client userID=4812a9fb-5f88-4a7d-b289-c53da243b75f time="2026-09-17T09:52:17Z" msg="200 OK: POST https://127.0.0.1:36107/mail/v4/attachments" /client userID=4812a9fb-5f88-4a7d-b289-c53da243b75f time="2026-09-17T09:52:17Z" msg="200 OK: GET https://127.0.0.1:36107/core/v4/keys?E%40proton.local" /client userID=4812a9fb-5f88-4a7d-b289-c53da243b75f time="2026-09-17T09:52:17Z" msg="200 OK: GET https://127.0.0.1:36107/contacts/v4/emails?E%40proton.local&P&PageS" /client userID=4812a9fb-5f88-4a7d-b289-c53da243b75f time="2026-09-17T09:52:17Z" msg="200 OK: POST https://127.0.0.1:36107/mail/v4/messages/66b7b661-c52d-4a90-9317-00d9f36b2c14" /client userID=4812a9fb-5f88-4a7d-b289-c53da243b75f time="2026-09-17T09:52:17Z" msg="Scheduling observability data sending" Scenario: Sending with cyrillic docx attachment # features/smtp/send/attachment.feature:83 When SMTP client "1" sends the following message from "44c1955a-a954-4a77-ba31-5ccd47f81a28@proton.local" to "0069929a-a7ff-4eff-a214-8999ef2753c9@proton.local": # :1 -> *scenario """ Content-Type: multipart/mixed; boundary="------------9xfXriG1c1v5iJlMiIMCaIWP" From: Bridge Test <[user:user1]@[domain]> To: Internal Bridge <[user:user2]@[domain]> Subject: Test with cyrillic attachment --------------9xfXriG1c1v5iJlMiIMCaIWP Content-Type: text/plain; Content-Transfer-Encoding: 7bit Shake that body --------------9xfXriG1c1v5iJlMiIMCaIWP Content-Type: application/vnd.openxmlformats-officedocument.wordprocessingml.document; name="=?UTF-8?B?0JDQkdCS0JPQlNCD0JXQltCX0IXQmNCI0JrQm9CJ0JzQndCK0J7Qn9Cg?= =?UTF-8?B?0KHQotCM0KPQpNCl0KfQj9CX0KguZG9jeA==?=" Content-Disposition: attachment; filename*0*=UTF-8''%D0%90%D0%91%D0%92%D0%93%D0%94%D0%83%D0%95%D0%96%D0%97; filename*1*=%D0%85%D0%98%D0%88%D0%9A%D0%9B%D0%89%D0%9C%D0%9D%D0%8A%D0%9E; filename*2*=%D0%9F%D0%A0%D0%A1%D0%A2%D0%8C%D0%A3%D0%A4%D0%A5%D0%A7%D0%8F; filename*3*=%D0%97%D0%A8%2E%64%6F%63%78 Content-Transfer-Encoding: base64 0JDQkdCS0JPQlNCD0JXQltCX0IXQmNCI0JrQm9CJ0JzQndCK0J7Qn9Cg0KHQotCM0KPQpNCl0KfQj9CX0Kg= --------------9xfXriG1c1v5iJlMiIMCaIWP-- """ Then it succeeds # :1 -> *scenario time="2026-09-17T09:52:17Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 9} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:52:18Z" msg="200 OK: GET https://127.0.0.1:36107/core/v4/events/AA==" /client userID=4812a9fb-5f88-4a7d-b289-c53da243b75f time="2026-09-17T09:52:18Z" msg="Received new API event" new="Event BA==: messages: , , " old="AA==" time="2026-09-17T09:52:18Z" msg="Handling message created event" messageID=66b7b661-c52d-4a90-9317-00d9f36b2c14 subject="******** (f75f8f2b)" time="2026-09-17T09:52:18Z" msg="200 OK: GET https://127.0.0.1:36107/mail/v4/messages/66b7b661-c52d-4a90-9317-00d9f36b2c14" /client userID=4812a9fb-5f88-4a7d-b289-c53da243b75f time="2026-09-17T09:52:18Z" msg="Handling draft or sent updated event" isD messageID=66b7b661-c52d-4a90-9317-00d9f36b2c14 subject="******** (f75f8f2b)" time="2026-09-17T09:52:18Z" msg="200 OK: GET https://127.0.0.1:36107/mail/v4/messages/66b7b661-c52d-4a90-9317-00d9f36b2c14" /client userID=4812a9fb-5f88-4a7d-b289-c53da243b75f Then IMAP client "1" eventually sees the following messages in "Sent": # :1 -> *scenario | from | to | subject | | 44c1955a-a954-4a77-ba31-5ccd47f81a28@proton.local | 0069929a-a7ff-4eff-a214-8999ef2753c9@proton.local | Test with cyrillic attachment | And the body in the "POST" request to "/mail/v4/messages" is: # :1 -> *scenario """ { "Message": { "Subject": "Test with cyrillic attachment", "Sender": { "Name": "Bridge Test" }, "ToList": [ { "Address": "[user:user2]@[domain]", "Name": "Internal Bridge" } ], "CCList": [], "BCCList": [], "MIMEType": "text/plain" } } """ And the body in the "POST" response to "/mail/v4/attachments" is: # :1 -> *scenario """ { "Attachment":{ "Name": "АБВГДЃЕЖЗЅИЈКЛЉМНЊОПРСТЌУФХЧЏЗШ.docx", "MIMEType": "application/vnd.openxmlformats-officedocument.wordprocessingml.document", "Disposition": "attachment" } } """ time="2026-09-17T09:52:18Z" msg="Frontend service stopped" time="2026-09-17T09:52:18Z" msg="Frontend client stopped" time="2026-09-17T09:52:18Z" msg="Closing bridge" time="2026-09-17T09:52:18Z" msg="Stopping service" time="2026-09-17T09:52:18Z" msg="Closing user" userID=4812a9fb-5f88-4a7d-b289-c53da243b75f time="2026-09-17T09:52:18Z" msg="De-registering user client, ID:4812a9fb-5f88-4a7d-b289-c53da243b75f" time="2026-09-17T09:52:18Z" msg="Exiting IMAP Service" time="2026-09-17T09:52:18Z" msg="Exiting service main loop" time="2026-09-17T09:52:18Z" msg="Exiting service main loop" time="2026-09-17T09:52:18Z" msg="Exiting Service" time="2026-09-17T09:52:18Z" msg="Exiting service main loop" time="2026-09-17T09:52:18Z" msg="Exiting service" time="2026-09-17T09:52:18Z" msg="Closing IMAP Listener" time="2026-09-17T09:52:18Z" msg="Closing IMAP server" time="2026-09-17T09:52:18Z" msg="Closing SMTP Listener" time="2026-09-17T09:52:18Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:52:18Z" msg="Closing SMTP server" time="2026-09-17T09:52:18Z" msg="Closing service" And IMAP client "1" eventually sees the following message in "Sent" with this structure: # :1 -> *scenario """ { "subject": "Test with cyrillic attachment", "body-contains": "Shake that body", "content": { "content-type": "multipart/mixed", "sections":[ { "content-type": "text/plain", "body-is": "Shake that body" }, { "content-type": "application/vnd.openxmlformats-officedocument.wordprocessingml.document", "content-type-name": "АБВГДЃЕЖЗЅИЈКЛЉМНЊОПРСТЌУФХЧЏЗШ.docx", "content-disposition": "attachment", "content-disposition-filename": "АБВГДЃЕЖЗЅИЈКЛЉМНЊОПРСТЌУФХЧЏЗШ.docx" } ] } } """ time="2026-09-17T09:52:19Z" msg="User 'a8fad467-6f91-4fb9-9957-dbfbe1dd69d8' created with " /server/backend time="2026-09-17T09:52:19Z" msg="User '06356018-582b-48f6-b2dd-b9fe69a20e61' created with " /server/backend time="2026-09-17T09:52:20Z" msg="Starting bridge" time="2026-09-17T09:52:20Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/194/config3305127526/grpcFocusServerConfig.json /service time="2026-09-17T09:52:20Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/194/cache3713656894/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:52:20Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/194/cache3713656894/notifications/notification_cache: no such file or directory" time="2026-09-17T09:52:20Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/194/data2551647565/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/194/data2551647565/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:52:20Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:52:20Z" msg="Starting IMAP server" time="2026-09-17T09:52:20Z" msg="Starting SMTP server" time="2026-09-17T09:52:20Z" msg="Starting service" time="2026-09-17T09:52:20Z" msg="Starting service" time="2026-09-17T09:52:20Z" msg="Starting receiver service" time="2026-09-17T09:52:20Z" msg="Starting poll service" time="2026-09-17T09:52:20Z" msg="Checking for updates" time="2026-09-17T09:52:20Z" msg="Loading users" /user time="2026-09-17T09:52:20Z" msg="Starting frontend service" time="2026-09-17T09:52:20Z" msg="Finished loading users" /user time="2026-09-17T09:52:20Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/194/config3305127526/grpcServerConfig.json time="2026-09-17T09:52:20Z" msg="gRPC server listening on /tmp/bridge5468" time="2026-09-17T09:52:20Z" msg="Frontend service started" time="2026-09-17T09:52:20Z" msg="Starting frontend client" time="2026-09-17T09:52:20Z" msg="Not monitoring parent PID" time="2026-09-17T09:52:20Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:52:20Z" msg="Frontend client started" time="2026-09-17T09:52:20Z" msg="Performing full user login" /user username="******** (6759c23d)" time="2026-09-17T09:52:20Z" msg="Authorizing user for login" /user username="******** (6759c23d)" time="2026-09-17T09:52:20Z" msg="200 OK: GET https://127.0.0.1:45665/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:52:20Z" msg="200 OK: POST https://127.0.0.1:45665/auth/v4/info" /manager time="2026-09-17T09:52:20Z" msg="200 OK: POST https://127.0.0.1:45665/auth/v4" /manager time="2026-09-17T09:52:20Z" msg="Logging in authorized user" /user userID=7a291f9c-362c-4dd9-a6e2-d488a667a3e3 time="2026-09-17T09:52:20Z" msg="Adding vault user" userID=7a291f9c-362c-4dd9-a6e2-d488a667a3e3 time="2026-09-17T09:52:20Z" msg="Creating new user" userID=7a291f9c-362c-4dd9-a6e2-d488a667a3e3 time="2026-09-17T09:52:20Z" msg="404 GET https://127.0.0.1:45665/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:52:20Z" msg="404 GET https://127.0.0.1:45665/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:52:20Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:45665/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:52:20Z" msg="Creating user object" authUID=4fd27790-c7a2-4feb-86bf-594ccbe954a1 numA numL userID=7a291f9c-362c-4dd9-a6e2-d488a667a3e3 time="2026-09-17T09:52:20Z" msg="200 OK: GET https://127.0.0.1:45665/core/v4/events/latest" /client userID=7a291f9c-362c-4dd9-a6e2-d488a667a3e3 time="2026-09-17T09:52:20Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:52:20Z" msg="200 OK: GET https://127.0.0.1:45665/core/v4/settings" /client userID=7a291f9c-362c-4dd9-a6e2-d488a667a3e3 time="2026-09-17T09:52:20Z" msg="Registering user client, ID:7a291f9c-362c-4dd9-a6e2-d488a667a3e3" time="2026-09-17T09:52:20Z" msg="Starting service main loop" time="2026-09-17T09:52:20Z" msg="Starting user identity service" numA time="2026-09-17T09:52:20Z" msg="Starting service main loop" time="2026-09-17T09:52:20Z" msg="Starting service main loop" time="2026-09-17T09:52:20Z" msg="200 OK: GET https://127.0.0.1:45665/core/v4/labels?T" /client userID=7a291f9c-362c-4dd9-a6e2-d488a667a3e3 time="2026-09-17T09:52:20Z" msg="200 OK: GET https://127.0.0.1:45665/core/v4/labels?T" /client userID=7a291f9c-362c-4dd9-a6e2-d488a667a3e3 time="2026-09-17T09:52:20Z" msg="200 OK: GET https://127.0.0.1:45665/core/v4/labels?T" /client userID=7a291f9c-362c-4dd9-a6e2-d488a667a3e3 time="2026-09-17T09:52:20Z" msg="Setting labels" labelIDs="[0 2 3 4 6 9 12 1 5 7 8 10]" time="2026-09-17T09:52:20Z" msg="Adding user to imap server" addrID=8d516e71-538a-471b-ab94-c2b42f4afb4f time="2026-09-17T09:52:20Z" msg="Creating new IMAP user" addrID=8d516e71-538a-471b-ab94-c2b42f4afb4f time="2026-09-17T09:52:20Z" msg="Setting gluon ID" addrID=8d516e71-538a-471b-ab94-c2b42f4afb4f gluonID=ba000198-a1d3-479c-9259-d22fdaafbb7a userID=7a291f9c-362c-4dd9-a6e2-d488a667a3e3 time="2026-09-17T09:52:20Z" msg="Received mailbox message count" gluonID=ba000198-a1d3-479c-9259-d22fdaafbb7a labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:52:20Z" msg="Created new IMAP user" addrID=8d516e71-538a-471b-ab94-c2b42f4afb4f gluonID=ba000198-a1d3-479c-9259-d22fdaafbb7a time="2026-09-17T09:52:20Z" msg="Validating Listener State" time="2026-09-17T09:52:20Z" time="2026-09-17T09:52:20Z" msg="Checking whether logged in user should re-sync. UserID:7a291f9c-362c-4dd9-a6e2-d488a667a3e3" userID=7a291f9c-362c-4dd9-a6e2-d488a667a3e3 time="2026-09-17T09:52:20Z" msg="Starting IMAP Service" time="2026-09-17T09:52:20Z" msg="Sync triggered" time="2026-09-17T09:52:20Z" msg="Beginning user sync" start="2026-09-17 09:52:20.609146572 +0000 UTC m=+429.101448908" time="2026-09-17T09:52:20Z" msg="Syncing labels" time="2026-09-17T09:52:20Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=ba000198-a1d3-479c-9259-d22fdaafbb7a time="2026-09-17T09:52:20Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=ba000198-a1d3-479c-9259-d22fdaafbb7a time="2026-09-17T09:52:20Z" msg="Mailbox created" /user remoteMailboxID=8 userID=ba000198-a1d3-479c-9259-d22fdaafbb7a time="2026-09-17T09:52:20Z" msg="Mailbox created" /user remoteMailboxID=0 userID=ba000198-a1d3-479c-9259-d22fdaafbb7a time="2026-09-17T09:52:20Z" msg="Mailbox created" /user remoteMailboxID=3 userID=ba000198-a1d3-479c-9259-d22fdaafbb7a time="2026-09-17T09:52:20Z" msg="Mailbox created" /user remoteMailboxID=6 userID=ba000198-a1d3-479c-9259-d22fdaafbb7a time="2026-09-17T09:52:20Z" msg="Mailbox created" /user remoteMailboxID=12 userID=ba000198-a1d3-479c-9259-d22fdaafbb7a time="2026-09-17T09:52:20Z" msg="Mailbox created" /user remoteMailboxID=5 userID=ba000198-a1d3-479c-9259-d22fdaafbb7a time="2026-09-17T09:52:20Z" msg="Mailbox created" /user remoteMailboxID=10 userID=ba000198-a1d3-479c-9259-d22fdaafbb7a time="2026-09-17T09:52:20Z" msg="Mailbox created" /user remoteMailboxID=4 userID=ba000198-a1d3-479c-9259-d22fdaafbb7a time="2026-09-17T09:52:20Z" msg="Mailbox created" /user remoteMailboxID=7 userID=ba000198-a1d3-479c-9259-d22fdaafbb7a time="2026-09-17T09:52:20Z" msg="Synced labels" time="2026-09-17T09:52:20Z" msg="200 OK: GET https://127.0.0.1:45665/mail/v4/messages/count" /client userID=7a291f9c-362c-4dd9-a6e2-d488a667a3e3 time="2026-09-17T09:52:20Z" msg="Syncing messages" time="2026-09-17T09:52:20Z" msg="Job started" time="2026-09-17T09:52:20Z" msg="200 OK: POST https://127.0.0.1:45665/mail/v4/messages" /client userID=7a291f9c-362c-4dd9-a6e2-d488a667a3e3 time="2026-09-17T09:52:20Z" msg="Job finished" time="2026-09-17T09:52:20Z" msg="All child jobs completed" sync- time="2026-09-17T09:52:20Z" msg="Synced messages" time="2026-09-17T09:52:20Z" msg="Finished user sync" .822279ms time="2026-09-17T09:52:20Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:52:20Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:52:20Z" msg="Sending observability data." time="2026-09-17T09:52:20Z" msg="200 OK: POST https://127.0.0.1:45665/data/v1/metrics" /client userID=7a291f9c-362c-4dd9-a6e2-d488a667a3e3 time="2026-09-17T09:52:20Z" msg="Successfully sent observability data." time="2026-09-17T09:52:20Z" msg="200 OK: GET https://127.0.0.1:45665/mail/v4/settings" /client userID=7a291f9c-362c-4dd9-a6e2-d488a667a3e3 time="2026-09-17T09:52:20Z" msg="200 OK: POST https://127.0.0.1:45665/mail/v4/messages" /client userID=7a291f9c-362c-4dd9-a6e2-d488a667a3e3 time="2026-09-17T09:52:20Z" msg="200 OK: POST https://127.0.0.1:45665/mail/v4/attachments" /client userID=7a291f9c-362c-4dd9-a6e2-d488a667a3e3 time="2026-09-17T09:52:20Z" msg="200 OK: GET https://127.0.0.1:45665/core/v4/keys?E%40proton.local" /client userID=7a291f9c-362c-4dd9-a6e2-d488a667a3e3 time="2026-09-17T09:52:20Z" msg="200 OK: GET https://127.0.0.1:45665/contacts/v4/emails?E%40proton.local&P&PageS" /client userID=7a291f9c-362c-4dd9-a6e2-d488a667a3e3 time="2026-09-17T09:52:20Z" msg="200 OK: POST https://127.0.0.1:45665/mail/v4/messages/f3475061-3461-4b62-bed6-893a843ee707" /client userID=7a291f9c-362c-4dd9-a6e2-d488a667a3e3 time="2026-09-17T09:52:20Z" msg="Scheduling observability data sending" Scenario Outline: Send message with attachment # features/smtp/send/attachment.feature:170 time="2026-09-17T09:52:20Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 0} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:52:21Z" msg="200 OK: GET https://127.0.0.1:45665/core/v4/events/AA==" /client userID=7a291f9c-362c-4dd9-a6e2-d488a667a3e3 time="2026-09-17T09:52:21Z" msg="Received new API event" new="Event BA==: messages: , , " old="AA==" time="2026-09-17T09:52:21Z" msg="Handling message created event" messageID=f3475061-3461-4b62-bed6-893a843ee707 subject="******** (8b397895)" time="2026-09-17T09:52:21Z" msg="200 OK: GET https://127.0.0.1:45665/mail/v4/messages/f3475061-3461-4b62-bed6-893a843ee707" /client userID=7a291f9c-362c-4dd9-a6e2-d488a667a3e3 time="2026-09-17T09:52:21Z" msg="Handling draft or sent updated event" isD messageID=f3475061-3461-4b62-bed6-893a843ee707 subject="******** (8b397895)" time="2026-09-17T09:52:21Z" msg="200 OK: GET https://127.0.0.1:45665/mail/v4/messages/f3475061-3461-4b62-bed6-893a843ee707" /client userID=7a291f9c-362c-4dd9-a6e2-d488a667a3e3 time="2026-09-17T09:52:21Z" msg="Frontend service stopped" time="2026-09-17T09:52:21Z" msg="Frontend client stopped" time="2026-09-17T09:52:21Z" msg="Closing bridge" time="2026-09-17T09:52:21Z" msg="Stopping service" time="2026-09-17T09:52:21Z" msg="Closing user" userID=7a291f9c-362c-4dd9-a6e2-d488a667a3e3 time="2026-09-17T09:52:21Z" msg="De-registering user client, ID:7a291f9c-362c-4dd9-a6e2-d488a667a3e3" time="2026-09-17T09:52:21Z" msg="Exiting IMAP Service" time="2026-09-17T09:52:21Z" msg="Exiting service main loop" time="2026-09-17T09:52:21Z" msg="Exiting service main loop" time="2026-09-17T09:52:21Z" msg="Exiting Service" time="2026-09-17T09:52:21Z" msg="Exiting service main loop" time="2026-09-17T09:52:21Z" msg="Exiting service" time="2026-09-17T09:52:21Z" msg="Closing IMAP Listener" time="2026-09-17T09:52:21Z" msg="Closing IMAP server" time="2026-09-17T09:52:21Z" msg="Closing SMTP Listener" time="2026-09-17T09:52:21Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:52:21Z" msg="Closing SMTP server" time="2026-09-17T09:52:21Z" msg="Closing service" Given there exists an account with username "[user:user1]" and password "password" # :1 -> *scenario And there exists an account with username "[user:user2]" and password "password" # :1 -> *scenario Then it succeeds # :1 -> *scenario When bridge starts # :1 -> *scenario And the user logs in with username "[user:user1]" and password "password" # :1 -> *scenario And user "[user:user1]" finishes syncing # :1 -> *scenario Then it succeeds # :1 -> *scenario When user "[user:user1]" connects and authenticates SMTP client "1" # :1 -> *scenario And user "[user:user1]" connects and authenticates IMAP client "1" # :1 -> *scenario Then it succeeds # :1 -> *scenario When SMTP client "1" sends the following message from "[user:user1]@[domain]" to "[user:user2]@[domain]": # :1 -> *scenario """ Subject: Message with attachment name Content-type: multipart/mixed; boundary="boundary" Received: by 2002:0:0:0:0:0:0:0 with SMTP id 0123456789abcdef; Wed, 30 Dec 2020 01:23:45 0000 This is a multi-part message in MIME format. --boundary Content-Type: text/plain Hello --boundary Content-Type: application/pdf; name= Content-Disposition: attachment; filename= somebytes --boundary-- """ Then it succeeds # :1 -> *scenario And IMAP client "1" eventually sees the following message in "Sent" with this structure: # :1 -> *scenario """ { "subject": "Message with attachment name", "body-contains": "Hello", "content": { "content-type": "multipart/mixed", "sections":[ { "content-type": "text/plain", "body-is": "Hello" }, { "content-type": "application/pdf", "content-type-name": "filename", "content-disposition": "attachment", "content-disposition-filename": "filename", "transfer-encoding":"base64", "body-is": "c29tZWJ5dGVzDQo=" } ] } } """ Examples: | UseCase | filename | | encoded quoted | "=?US-ASCII?Q?filename?=" | time="2026-09-17T09:52:21Z" msg="User '993c7c3b-2491-480c-a56d-38361bc55043' created with " /server/backend time="2026-09-17T09:52:22Z" msg="User '9e559220-da34-49c1-b3b1-ad9342561cb7' created with " /server/backend time="2026-09-17T09:52:22Z" msg="Starting bridge" time="2026-09-17T09:52:22Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/195/config83695246/grpcFocusServerConfig.json /service time="2026-09-17T09:52:22Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/195/cache383953300/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:52:22Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/195/cache383953300/notifications/notification_cache: no such file or directory" time="2026-09-17T09:52:22Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/195/data3631045376/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/195/data3631045376/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:52:22Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:52:22Z" msg="Starting IMAP server" time="2026-09-17T09:52:22Z" msg="Starting SMTP server" time="2026-09-17T09:52:22Z" msg="Starting service" time="2026-09-17T09:52:22Z" msg="Starting service" time="2026-09-17T09:52:22Z" msg="Starting poll service" time="2026-09-17T09:52:22Z" msg="Checking for updates" time="2026-09-17T09:52:22Z" msg="Loading users" /user time="2026-09-17T09:52:22Z" msg="Starting frontend service" time="2026-09-17T09:52:22Z" msg="Finished loading users" /user time="2026-09-17T09:52:22Z" msg="Starting receiver service" time="2026-09-17T09:52:22Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/195/config83695246/grpcServerConfig.json time="2026-09-17T09:52:22Z" msg="gRPC server listening on /tmp/bridge5514" time="2026-09-17T09:52:22Z" msg="Frontend service started" time="2026-09-17T09:52:22Z" msg="Starting frontend client" time="2026-09-17T09:52:22Z" msg="Not monitoring parent PID" time="2026-09-17T09:52:22Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:52:22Z" msg="Frontend client started" time="2026-09-17T09:52:22Z" msg="Performing full user login" /user username="******** (57103f1d)" time="2026-09-17T09:52:22Z" msg="Authorizing user for login" /user username="******** (57103f1d)" time="2026-09-17T09:52:22Z" msg="200 OK: GET https://127.0.0.1:33105/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:52:22Z" msg="200 OK: POST https://127.0.0.1:33105/auth/v4/info" /manager time="2026-09-17T09:52:23Z" msg="200 OK: POST https://127.0.0.1:33105/auth/v4" /manager time="2026-09-17T09:52:23Z" msg="Logging in authorized user" /user userID=b2a9355d-70fe-4404-8f09-b1f7feea1ac6 time="2026-09-17T09:52:23Z" msg="Adding vault user" userID=b2a9355d-70fe-4404-8f09-b1f7feea1ac6 time="2026-09-17T09:52:23Z" msg="Creating new user" userID=b2a9355d-70fe-4404-8f09-b1f7feea1ac6 time="2026-09-17T09:52:23Z" msg="404 GET https://127.0.0.1:33105/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:52:23Z" msg="404 GET https://127.0.0.1:33105/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:52:23Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:33105/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:52:23Z" msg="Creating user object" authUID=22da3a02-000f-4e33-aee5-a1b6cb5676fa numA numL userID=b2a9355d-70fe-4404-8f09-b1f7feea1ac6 time="2026-09-17T09:52:23Z" msg="200 OK: GET https://127.0.0.1:33105/core/v4/events/latest" /client userID=b2a9355d-70fe-4404-8f09-b1f7feea1ac6 time="2026-09-17T09:52:23Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:52:23Z" msg="200 OK: GET https://127.0.0.1:33105/core/v4/settings" /client userID=b2a9355d-70fe-4404-8f09-b1f7feea1ac6 time="2026-09-17T09:52:23Z" msg="Registering user client, ID:b2a9355d-70fe-4404-8f09-b1f7feea1ac6" time="2026-09-17T09:52:23Z" msg="Starting service main loop" time="2026-09-17T09:52:23Z" msg="Starting user identity service" numA time="2026-09-17T09:52:23Z" msg="Starting service main loop" time="2026-09-17T09:52:23Z" msg="Starting service main loop" time="2026-09-17T09:52:23Z" msg="200 OK: GET https://127.0.0.1:33105/core/v4/labels?T" /client userID=b2a9355d-70fe-4404-8f09-b1f7feea1ac6 time="2026-09-17T09:52:23Z" msg="200 OK: GET https://127.0.0.1:33105/core/v4/labels?T" /client userID=b2a9355d-70fe-4404-8f09-b1f7feea1ac6 time="2026-09-17T09:52:23Z" msg="200 OK: GET https://127.0.0.1:33105/core/v4/labels?T" /client userID=b2a9355d-70fe-4404-8f09-b1f7feea1ac6 time="2026-09-17T09:52:23Z" msg="Setting labels" labelIDs="[9 10 2 3 5 7 8 12 0 1 4 6]" time="2026-09-17T09:52:23Z" msg="Adding user to imap server" addrID=65cb92bb-bcae-4ab1-9818-0d75da7d530c time="2026-09-17T09:52:23Z" msg="Creating new IMAP user" addrID=65cb92bb-bcae-4ab1-9818-0d75da7d530c time="2026-09-17T09:52:23Z" msg="Setting gluon ID" addrID=65cb92bb-bcae-4ab1-9818-0d75da7d530c gluonID=8ec45637-4ad6-4d4d-88f8-aaee5bc15db5 userID=b2a9355d-70fe-4404-8f09-b1f7feea1ac6 time="2026-09-17T09:52:23Z" msg="Received mailbox message count" gluonID=8ec45637-4ad6-4d4d-88f8-aaee5bc15db5 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:52:23Z" msg="Created new IMAP user" addrID=65cb92bb-bcae-4ab1-9818-0d75da7d530c gluonID=8ec45637-4ad6-4d4d-88f8-aaee5bc15db5 time="2026-09-17T09:52:23Z" msg="Validating Listener State" time="2026-09-17T09:52:23Z" time="2026-09-17T09:52:23Z" msg="Starting IMAP Service" time="2026-09-17T09:52:23Z" msg="Checking whether logged in user should re-sync. UserID:b2a9355d-70fe-4404-8f09-b1f7feea1ac6" userID=b2a9355d-70fe-4404-8f09-b1f7feea1ac6 time="2026-09-17T09:52:23Z" msg="Sync triggered" time="2026-09-17T09:52:23Z" msg="Beginning user sync" start="2026-09-17 09:52:23.337005251 +0000 UTC m=+431.829307547" time="2026-09-17T09:52:23Z" msg="Syncing labels" time="2026-09-17T09:52:23Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=8ec45637-4ad6-4d4d-88f8-aaee5bc15db5 time="2026-09-17T09:52:23Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=8ec45637-4ad6-4d4d-88f8-aaee5bc15db5 time="2026-09-17T09:52:23Z" msg="Mailbox created" /user remoteMailboxID=7 userID=8ec45637-4ad6-4d4d-88f8-aaee5bc15db5 time="2026-09-17T09:52:23Z" msg="Mailbox created" /user remoteMailboxID=8 userID=8ec45637-4ad6-4d4d-88f8-aaee5bc15db5 time="2026-09-17T09:52:23Z" msg="Mailbox created" /user remoteMailboxID=12 userID=8ec45637-4ad6-4d4d-88f8-aaee5bc15db5 time="2026-09-17T09:52:23Z" msg="Mailbox created" /user remoteMailboxID=4 userID=8ec45637-4ad6-4d4d-88f8-aaee5bc15db5 time="2026-09-17T09:52:23Z" msg="Mailbox created" /user remoteMailboxID=6 userID=8ec45637-4ad6-4d4d-88f8-aaee5bc15db5 time="2026-09-17T09:52:23Z" msg="Mailbox created" /user remoteMailboxID=10 userID=8ec45637-4ad6-4d4d-88f8-aaee5bc15db5 time="2026-09-17T09:52:23Z" msg="Mailbox created" /user remoteMailboxID=3 userID=8ec45637-4ad6-4d4d-88f8-aaee5bc15db5 time="2026-09-17T09:52:23Z" msg="Mailbox created" /user remoteMailboxID=5 userID=8ec45637-4ad6-4d4d-88f8-aaee5bc15db5 time="2026-09-17T09:52:23Z" msg="Mailbox created" /user remoteMailboxID=0 userID=8ec45637-4ad6-4d4d-88f8-aaee5bc15db5 time="2026-09-17T09:52:23Z" msg="Synced labels" time="2026-09-17T09:52:23Z" msg="200 OK: GET https://127.0.0.1:33105/mail/v4/messages/count" /client userID=b2a9355d-70fe-4404-8f09-b1f7feea1ac6 time="2026-09-17T09:52:23Z" msg="Syncing messages" time="2026-09-17T09:52:23Z" msg="Job started" time="2026-09-17T09:52:23Z" msg="200 OK: POST https://127.0.0.1:33105/mail/v4/messages" /client userID=b2a9355d-70fe-4404-8f09-b1f7feea1ac6 time="2026-09-17T09:52:23Z" msg="Job finished" time="2026-09-17T09:52:23Z" msg="All child jobs completed" sync- time="2026-09-17T09:52:23Z" msg="Synced messages" time="2026-09-17T09:52:23Z" msg="Finished user sync" .71971ms time="2026-09-17T09:52:23Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:52:23Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:52:23Z" msg="Sending observability data." time="2026-09-17T09:52:23Z" msg="200 OK: GET https://127.0.0.1:33105/mail/v4/settings" /client userID=b2a9355d-70fe-4404-8f09-b1f7feea1ac6 time="2026-09-17T09:52:23Z" msg="200 OK: POST https://127.0.0.1:33105/data/v1/metrics" /client userID=b2a9355d-70fe-4404-8f09-b1f7feea1ac6 time="2026-09-17T09:52:23Z" msg="Successfully sent observability data." time="2026-09-17T09:52:23Z" msg="200 OK: POST https://127.0.0.1:33105/mail/v4/messages" /client userID=b2a9355d-70fe-4404-8f09-b1f7feea1ac6 time="2026-09-17T09:52:23Z" msg="200 OK: POST https://127.0.0.1:33105/mail/v4/attachments" /client userID=b2a9355d-70fe-4404-8f09-b1f7feea1ac6 time="2026-09-17T09:52:23Z" msg="200 OK: GET https://127.0.0.1:33105/core/v4/keys?E%40proton.local" /client userID=b2a9355d-70fe-4404-8f09-b1f7feea1ac6 time="2026-09-17T09:52:23Z" msg="200 OK: GET https://127.0.0.1:33105/contacts/v4/emails?E%40proton.local&P&PageS" /client userID=b2a9355d-70fe-4404-8f09-b1f7feea1ac6 time="2026-09-17T09:52:23Z" msg="200 OK: POST https://127.0.0.1:33105/mail/v4/messages/a0067bb7-d7e7-4007-a852-eedc4b7a20b4" /client userID=b2a9355d-70fe-4404-8f09-b1f7feea1ac6 time="2026-09-17T09:52:23Z" msg="Scheduling observability data sending" time="2026-09-17T09:52:23Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 4} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:52:24Z" msg="200 OK: GET https://127.0.0.1:33105/core/v4/events/AA==" /client userID=b2a9355d-70fe-4404-8f09-b1f7feea1ac6 time="2026-09-17T09:52:24Z" msg="Received new API event" new="Event BA==: messages: , , " old="AA==" time="2026-09-17T09:52:24Z" msg="Handling message created event" messageID=a0067bb7-d7e7-4007-a852-eedc4b7a20b4 subject="******** (8b397895)" time="2026-09-17T09:52:24Z" msg="200 OK: GET https://127.0.0.1:33105/mail/v4/messages/a0067bb7-d7e7-4007-a852-eedc4b7a20b4" /client userID=b2a9355d-70fe-4404-8f09-b1f7feea1ac6 time="2026-09-17T09:52:24Z" msg="Handling draft or sent updated event" isD messageID=a0067bb7-d7e7-4007-a852-eedc4b7a20b4 subject="******** (8b397895)" time="2026-09-17T09:52:24Z" msg="200 OK: GET https://127.0.0.1:33105/mail/v4/messages/a0067bb7-d7e7-4007-a852-eedc4b7a20b4" /client userID=b2a9355d-70fe-4404-8f09-b1f7feea1ac6 time="2026-09-17T09:52:24Z" msg="Frontend service stopped" time="2026-09-17T09:52:24Z" msg="Frontend client stopped" time="2026-09-17T09:52:24Z" msg="Closing bridge" time="2026-09-17T09:52:24Z" msg="Stopping service" time="2026-09-17T09:52:24Z" msg="Closing user" userID=b2a9355d-70fe-4404-8f09-b1f7feea1ac6 time="2026-09-17T09:52:24Z" msg="De-registering user client, ID:b2a9355d-70fe-4404-8f09-b1f7feea1ac6" time="2026-09-17T09:52:24Z" msg="Exiting IMAP Service" time="2026-09-17T09:52:24Z" msg="Exiting service main loop" time="2026-09-17T09:52:24Z" msg="Exiting service main loop" time="2026-09-17T09:52:24Z" msg="Exiting Service" time="2026-09-17T09:52:24Z" msg="Exiting service main loop" time="2026-09-17T09:52:24Z" msg="Exiting service" time="2026-09-17T09:52:24Z" msg="Closing IMAP Listener" time="2026-09-17T09:52:24Z" msg="Closing IMAP server" time="2026-09-17T09:52:24Z" msg="Closing SMTP Listener" time="2026-09-17T09:52:24Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:52:24Z" msg="Closing SMTP server" time="2026-09-17T09:52:24Z" msg="Closing service" | encoded unquoted | =?US-ASCII?Q?filename?= | time="2026-09-17T09:52:24Z" msg="User '7c31acfd-7ef7-4a8f-a5ba-248efc6e8804' created with " /server/backend time="2026-09-17T09:52:25Z" msg="User '67628c9c-64ea-4055-b1c2-409e3ededdf1' created with " /server/backend time="2026-09-17T09:52:25Z" msg="Starting bridge" time="2026-09-17T09:52:25Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/196/config532466636/grpcFocusServerConfig.json /service time="2026-09-17T09:52:25Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/196/cache2976557401/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:52:25Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/196/cache2976557401/notifications/notification_cache: no such file or directory" time="2026-09-17T09:52:25Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/196/data3070701983/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/196/data3070701983/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:52:25Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:52:25Z" msg="Starting IMAP server" time="2026-09-17T09:52:25Z" msg="Starting SMTP server" time="2026-09-17T09:52:25Z" msg="Starting service" time="2026-09-17T09:52:25Z" msg="Starting service" time="2026-09-17T09:52:25Z" msg="Starting poll service" time="2026-09-17T09:52:25Z" msg="Starting frontend service" time="2026-09-17T09:52:25Z" msg="Checking for updates" time="2026-09-17T09:52:25Z" msg="Loading users" /user time="2026-09-17T09:52:25Z" msg="Starting receiver service" time="2026-09-17T09:52:25Z" msg="Finished loading users" /user time="2026-09-17T09:52:25Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/196/config532466636/grpcServerConfig.json time="2026-09-17T09:52:25Z" msg="gRPC server listening on /tmp/bridge2490" time="2026-09-17T09:52:25Z" msg="Frontend service started" time="2026-09-17T09:52:25Z" msg="Starting frontend client" time="2026-09-17T09:52:25Z" msg="Not monitoring parent PID" time="2026-09-17T09:52:25Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:52:25Z" msg="Frontend client started" time="2026-09-17T09:52:25Z" msg="Performing full user login" /user username="******** (aeab63ba)" time="2026-09-17T09:52:25Z" msg="Authorizing user for login" /user username="******** (aeab63ba)" time="2026-09-17T09:52:25Z" msg="200 OK: GET https://127.0.0.1:41445/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:52:25Z" msg="200 OK: POST https://127.0.0.1:41445/auth/v4/info" /manager time="2026-09-17T09:52:25Z" msg="200 OK: POST https://127.0.0.1:41445/auth/v4" /manager time="2026-09-17T09:52:25Z" msg="Logging in authorized user" /user userID=1893d3c1-32ae-46ce-894e-eded374945f6 time="2026-09-17T09:52:26Z" msg="Adding vault user" userID=1893d3c1-32ae-46ce-894e-eded374945f6 time="2026-09-17T09:52:26Z" msg="Creating new user" userID=1893d3c1-32ae-46ce-894e-eded374945f6 time="2026-09-17T09:52:26Z" msg="404 GET https://127.0.0.1:41445/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:52:26Z" msg="404 GET https://127.0.0.1:41445/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:52:26Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:41445/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:52:26Z" msg="Creating user object" authUID=75231693-e732-41d2-9c6a-111d9bdae532 numA numL userID=1893d3c1-32ae-46ce-894e-eded374945f6 time="2026-09-17T09:52:26Z" msg="200 OK: GET https://127.0.0.1:41445/core/v4/events/latest" /client userID=1893d3c1-32ae-46ce-894e-eded374945f6 time="2026-09-17T09:52:26Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:52:26Z" msg="200 OK: GET https://127.0.0.1:41445/core/v4/settings" /client userID=1893d3c1-32ae-46ce-894e-eded374945f6 time="2026-09-17T09:52:26Z" msg="Registering user client, ID:1893d3c1-32ae-46ce-894e-eded374945f6" time="2026-09-17T09:52:26Z" msg="Starting user identity service" numA time="2026-09-17T09:52:26Z" msg="Starting service main loop" time="2026-09-17T09:52:26Z" msg="Starting service main loop" time="2026-09-17T09:52:26Z" msg="Starting service main loop" time="2026-09-17T09:52:26Z" msg="200 OK: GET https://127.0.0.1:41445/core/v4/labels?T" /client userID=1893d3c1-32ae-46ce-894e-eded374945f6 time="2026-09-17T09:52:26Z" msg="200 OK: GET https://127.0.0.1:41445/core/v4/labels?T" /client userID=1893d3c1-32ae-46ce-894e-eded374945f6 time="2026-09-17T09:52:26Z" msg="200 OK: GET https://127.0.0.1:41445/core/v4/labels?T" /client userID=1893d3c1-32ae-46ce-894e-eded374945f6 time="2026-09-17T09:52:26Z" msg="Setting labels" labelIDs="[0 2 3 4 6 8 9 12 1 5 7 10]" time="2026-09-17T09:52:26Z" msg="Adding user to imap server" addrID=729978e9-d81f-44f9-9fd8-3e8d67eab0d2 time="2026-09-17T09:52:26Z" msg="Creating new IMAP user" addrID=729978e9-d81f-44f9-9fd8-3e8d67eab0d2 time="2026-09-17T09:52:26Z" msg="Setting gluon ID" addrID=729978e9-d81f-44f9-9fd8-3e8d67eab0d2 gluonID=34aeb6a2-3deb-4376-95f3-fa4990e2c695 userID=1893d3c1-32ae-46ce-894e-eded374945f6 time="2026-09-17T09:52:26Z" msg="Received mailbox message count" gluonID=34aeb6a2-3deb-4376-95f3-fa4990e2c695 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:52:26Z" msg="Created new IMAP user" addrID=729978e9-d81f-44f9-9fd8-3e8d67eab0d2 gluonID=34aeb6a2-3deb-4376-95f3-fa4990e2c695 time="2026-09-17T09:52:26Z" msg="Validating Listener State" time="2026-09-17T09:52:26Z" time="2026-09-17T09:52:26Z" msg="Starting IMAP Service" time="2026-09-17T09:52:26Z" msg="Checking whether logged in user should re-sync. UserID:1893d3c1-32ae-46ce-894e-eded374945f6" userID=1893d3c1-32ae-46ce-894e-eded374945f6 time="2026-09-17T09:52:26Z" msg="Sync triggered" time="2026-09-17T09:52:26Z" msg="Beginning user sync" start="2026-09-17 09:52:26.076227902 +0000 UTC m=+434.568530238" time="2026-09-17T09:52:26Z" msg="Syncing labels" time="2026-09-17T09:52:26Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=34aeb6a2-3deb-4376-95f3-fa4990e2c695 time="2026-09-17T09:52:26Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=34aeb6a2-3deb-4376-95f3-fa4990e2c695 time="2026-09-17T09:52:26Z" msg="Mailbox created" /user remoteMailboxID=0 userID=34aeb6a2-3deb-4376-95f3-fa4990e2c695 time="2026-09-17T09:52:26Z" msg="Mailbox created" /user remoteMailboxID=3 userID=34aeb6a2-3deb-4376-95f3-fa4990e2c695 time="2026-09-17T09:52:26Z" msg="Mailbox created" /user remoteMailboxID=4 userID=34aeb6a2-3deb-4376-95f3-fa4990e2c695 time="2026-09-17T09:52:26Z" msg="Mailbox created" /user remoteMailboxID=8 userID=34aeb6a2-3deb-4376-95f3-fa4990e2c695 time="2026-09-17T09:52:26Z" msg="Mailbox created" /user remoteMailboxID=12 userID=34aeb6a2-3deb-4376-95f3-fa4990e2c695 time="2026-09-17T09:52:26Z" msg="Mailbox created" /user remoteMailboxID=5 userID=34aeb6a2-3deb-4376-95f3-fa4990e2c695 time="2026-09-17T09:52:26Z" msg="Mailbox created" /user remoteMailboxID=7 userID=34aeb6a2-3deb-4376-95f3-fa4990e2c695 time="2026-09-17T09:52:26Z" msg="Mailbox created" /user remoteMailboxID=6 userID=34aeb6a2-3deb-4376-95f3-fa4990e2c695 time="2026-09-17T09:52:26Z" msg="Mailbox created" /user remoteMailboxID=10 userID=34aeb6a2-3deb-4376-95f3-fa4990e2c695 time="2026-09-17T09:52:26Z" msg="Synced labels" time="2026-09-17T09:52:26Z" msg="200 OK: GET https://127.0.0.1:41445/mail/v4/messages/count" /client userID=1893d3c1-32ae-46ce-894e-eded374945f6 time="2026-09-17T09:52:26Z" msg="Syncing messages" time="2026-09-17T09:52:26Z" msg="Job started" time="2026-09-17T09:52:26Z" msg="200 OK: POST https://127.0.0.1:41445/mail/v4/messages" /client userID=1893d3c1-32ae-46ce-894e-eded374945f6 time="2026-09-17T09:52:26Z" msg="Job finished" time="2026-09-17T09:52:26Z" msg="All child jobs completed" sync- time="2026-09-17T09:52:26Z" msg="Synced messages" time="2026-09-17T09:52:26Z" msg="Finished user sync" .914284ms time="2026-09-17T09:52:26Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:52:26Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:52:26Z" msg="Sending observability data." time="2026-09-17T09:52:26Z" msg="200 OK: POST https://127.0.0.1:41445/data/v1/metrics" /client userID=1893d3c1-32ae-46ce-894e-eded374945f6 time="2026-09-17T09:52:26Z" msg="Successfully sent observability data." time="2026-09-17T09:52:26Z" msg="200 OK: GET https://127.0.0.1:41445/mail/v4/settings" /client userID=1893d3c1-32ae-46ce-894e-eded374945f6 time="2026-09-17T09:52:26Z" msg="200 OK: POST https://127.0.0.1:41445/mail/v4/messages" /client userID=1893d3c1-32ae-46ce-894e-eded374945f6 time="2026-09-17T09:52:26Z" msg="200 OK: POST https://127.0.0.1:41445/mail/v4/attachments" /client userID=1893d3c1-32ae-46ce-894e-eded374945f6 time="2026-09-17T09:52:26Z" msg="200 OK: GET https://127.0.0.1:41445/core/v4/keys?E%40proton.local" /client userID=1893d3c1-32ae-46ce-894e-eded374945f6 time="2026-09-17T09:52:26Z" msg="200 OK: GET https://127.0.0.1:41445/contacts/v4/emails?E%40proton.local&P&PageS" /client userID=1893d3c1-32ae-46ce-894e-eded374945f6 time="2026-09-17T09:52:26Z" msg="200 OK: POST https://127.0.0.1:41445/mail/v4/messages/364dd605-a4ba-46ec-a1c8-a79f90a7fc64" /client userID=1893d3c1-32ae-46ce-894e-eded374945f6 time="2026-09-17T09:52:26Z" msg="Scheduling observability data sending" time="2026-09-17T09:52:26Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 5} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:52:27Z" msg="200 OK: GET https://127.0.0.1:41445/core/v4/events/AA==" /client userID=1893d3c1-32ae-46ce-894e-eded374945f6 time="2026-09-17T09:52:27Z" msg="Received new API event" new="Event BA==: messages: , , " old="AA==" time="2026-09-17T09:52:27Z" msg="Handling message created event" messageID=364dd605-a4ba-46ec-a1c8-a79f90a7fc64 subject="******** (8b397895)" time="2026-09-17T09:52:27Z" msg="200 OK: GET https://127.0.0.1:41445/mail/v4/messages/364dd605-a4ba-46ec-a1c8-a79f90a7fc64" /client userID=1893d3c1-32ae-46ce-894e-eded374945f6 time="2026-09-17T09:52:27Z" msg="Handling draft or sent updated event" isD messageID=364dd605-a4ba-46ec-a1c8-a79f90a7fc64 subject="******** (8b397895)" time="2026-09-17T09:52:27Z" msg="200 OK: GET https://127.0.0.1:41445/mail/v4/messages/364dd605-a4ba-46ec-a1c8-a79f90a7fc64" /client userID=1893d3c1-32ae-46ce-894e-eded374945f6 time="2026-09-17T09:52:27Z" msg="Frontend service stopped" time="2026-09-17T09:52:27Z" msg="Frontend client stopped" time="2026-09-17T09:52:27Z" msg="Closing bridge" time="2026-09-17T09:52:27Z" msg="Stopping service" time="2026-09-17T09:52:27Z" msg="Closing user" userID=1893d3c1-32ae-46ce-894e-eded374945f6 time="2026-09-17T09:52:27Z" msg="De-registering user client, ID:1893d3c1-32ae-46ce-894e-eded374945f6" time="2026-09-17T09:52:27Z" msg="Exiting IMAP Service" time="2026-09-17T09:52:27Z" msg="Exiting service main loop" time="2026-09-17T09:52:27Z" msg="Exiting service main loop" time="2026-09-17T09:52:27Z" msg="Exiting Service" time="2026-09-17T09:52:27Z" msg="Exiting service main loop" time="2026-09-17T09:52:27Z" msg="Exiting service" time="2026-09-17T09:52:27Z" msg="Closing IMAP Listener" time="2026-09-17T09:52:27Z" msg="Closing IMAP server" time="2026-09-17T09:52:27Z" msg="Closing SMTP Listener" time="2026-09-17T09:52:27Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:52:27Z" msg="Closing SMTP server" time="2026-09-17T09:52:27Z" msg="Closing service" | non quoted | filename | Feature: SMTP with bcc time="2026-09-17T09:52:27Z" msg="User 'fcf986b6-6bbb-4444-b734-1d8a03ca9201' created with " /server/backend Background: Given there exists an account with username "fcf986b6-6bbb-4444-b734-1d8a03ca9201" and password "password" # :1 -> *scenario time="2026-09-17T09:52:27Z" msg="User '5bd5087b-f186-4a5c-a5cc-00e096bc1f1b' created with " /server/backend And there exists an account with username "5bd5087b-f186-4a5c-a5cc-00e096bc1f1b" and password "password" # :1 -> *scenario time="2026-09-17T09:52:28Z" msg="User 'a411ac01-e925-4b67-aac3-1d3b67589fb9' created with " /server/backend And there exists an account with username "a411ac01-e925-4b67-aac3-1d3b67589fb9" and password "password" # :1 -> *scenario time="2026-09-17T09:52:29Z" msg="User '186cb19e-7ee3-4d5f-b2ee-04d754d10715' created with " /server/backend And there exists an account with username "186cb19e-7ee3-4d5f-b2ee-04d754d10715" and password "password" # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:52:29Z" msg="Starting bridge" time="2026-09-17T09:52:29Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/197/config3416529606/grpcFocusServerConfig.json /service time="2026-09-17T09:52:29Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/197/cache769803621/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:52:29Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/197/cache769803621/notifications/notification_cache: no such file or directory" time="2026-09-17T09:52:29Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/197/data3926787487/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/197/data3926787487/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:52:29Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:52:29Z" msg="Starting IMAP server" time="2026-09-17T09:52:29Z" msg="Starting SMTP server" time="2026-09-17T09:52:29Z" msg="Starting service" time="2026-09-17T09:52:29Z" msg="Starting service" time="2026-09-17T09:52:29Z" msg="Starting poll service" time="2026-09-17T09:52:29Z" msg="Starting receiver service" time="2026-09-17T09:52:29Z" msg="Checking for updates" time="2026-09-17T09:52:29Z" msg="Loading users" /user time="2026-09-17T09:52:29Z" msg="Finished loading users" /user time="2026-09-17T09:52:29Z" msg="Starting frontend service" time="2026-09-17T09:52:29Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/197/config3416529606/grpcServerConfig.json time="2026-09-17T09:52:29Z" msg="gRPC server listening on /tmp/bridge9116" time="2026-09-17T09:52:29Z" msg="Frontend service started" time="2026-09-17T09:52:29Z" msg="Starting frontend client" time="2026-09-17T09:52:29Z" msg="Not monitoring parent PID" time="2026-09-17T09:52:29Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:52:29Z" msg="200 OK: GET https://127.0.0.1:34737/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:52:29Z" msg="Frontend client started" When bridge starts # :1 -> *scenario time="2026-09-17T09:52:29Z" msg="Performing full user login" /user username="******** (fc770fbb)" time="2026-09-17T09:52:29Z" msg="Authorizing user for login" /user username="******** (fc770fbb)" time="2026-09-17T09:52:29Z" msg="200 OK: POST https://127.0.0.1:34737/auth/v4/info" /manager time="2026-09-17T09:52:29Z" msg="200 OK: POST https://127.0.0.1:34737/auth/v4" /manager time="2026-09-17T09:52:29Z" msg="Logging in authorized user" /user userID=91cbd1e3-0d78-4f93-94e0-61939a96fd13 time="2026-09-17T09:52:30Z" msg="Adding vault user" userID=91cbd1e3-0d78-4f93-94e0-61939a96fd13 time="2026-09-17T09:52:30Z" msg="Creating new user" userID=91cbd1e3-0d78-4f93-94e0-61939a96fd13 time="2026-09-17T09:52:30Z" msg="404 GET https://127.0.0.1:34737/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:52:30Z" msg="404 GET https://127.0.0.1:34737/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:52:30Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:34737/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:52:30Z" msg="Creating user object" authUID=41b08e9b-f87e-4bb1-a759-475b2e5d3cb3 numA numL userID=91cbd1e3-0d78-4f93-94e0-61939a96fd13 time="2026-09-17T09:52:30Z" msg="200 OK: GET https://127.0.0.1:34737/core/v4/events/latest" /client userID=91cbd1e3-0d78-4f93-94e0-61939a96fd13 time="2026-09-17T09:52:30Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:52:30Z" msg="200 OK: GET https://127.0.0.1:34737/core/v4/settings" /client userID=91cbd1e3-0d78-4f93-94e0-61939a96fd13 time="2026-09-17T09:52:30Z" msg="Registering user client, ID:91cbd1e3-0d78-4f93-94e0-61939a96fd13" time="2026-09-17T09:52:30Z" msg="Starting user identity service" numA time="2026-09-17T09:52:30Z" msg="Starting service main loop" time="2026-09-17T09:52:30Z" msg="Starting service main loop" time="2026-09-17T09:52:30Z" msg="Starting service main loop" time="2026-09-17T09:52:30Z" msg="200 OK: GET https://127.0.0.1:34737/core/v4/labels?T" /client userID=91cbd1e3-0d78-4f93-94e0-61939a96fd13 time="2026-09-17T09:52:30Z" msg="200 OK: GET https://127.0.0.1:34737/core/v4/labels?T" /client userID=91cbd1e3-0d78-4f93-94e0-61939a96fd13 time="2026-09-17T09:52:30Z" msg="200 OK: GET https://127.0.0.1:34737/core/v4/labels?T" /client userID=91cbd1e3-0d78-4f93-94e0-61939a96fd13 time="2026-09-17T09:52:30Z" msg="Setting labels" labelIDs="[4 8 10 12 2 5 6 7 9 0 1 3]" time="2026-09-17T09:52:30Z" msg="Adding user to imap server" addrID=4df0b409-cbde-49e3-8694-61ac5bc66300 time="2026-09-17T09:52:30Z" msg="Creating new IMAP user" addrID=4df0b409-cbde-49e3-8694-61ac5bc66300 time="2026-09-17T09:52:30Z" msg="Setting gluon ID" addrID=4df0b409-cbde-49e3-8694-61ac5bc66300 gluonID=5f47aa1d-cd2d-419f-b278-abfe1d8f4a81 userID=91cbd1e3-0d78-4f93-94e0-61939a96fd13 time="2026-09-17T09:52:30Z" msg="Created new IMAP user" addrID=4df0b409-cbde-49e3-8694-61ac5bc66300 gluonID=5f47aa1d-cd2d-419f-b278-abfe1d8f4a81 time="2026-09-17T09:52:30Z" msg="Validating Listener State" time="2026-09-17T09:52:30Z" time="2026-09-17T09:52:30Z" msg="Received mailbox message count" gluonID=5f47aa1d-cd2d-419f-b278-abfe1d8f4a81 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:52:30Z" msg="Checking whether logged in user should re-sync. UserID:91cbd1e3-0d78-4f93-94e0-61939a96fd13" userID=91cbd1e3-0d78-4f93-94e0-61939a96fd13 And the user logs in with username "fcf986b6-6bbb-4444-b734-1d8a03ca9201" and password "password" # :1 -> *scenario time="2026-09-17T09:52:30Z" msg="Starting IMAP Service" time="2026-09-17T09:52:30Z" msg="Performing full user login" /user username="******** (f594e379)" time="2026-09-17T09:52:30Z" msg="Authorizing user for login" /user username="******** (f594e379)" time="2026-09-17T09:52:30Z" msg="Sync triggered" time="2026-09-17T09:52:30Z" msg="Beginning user sync" start="2026-09-17 09:52:30.05256963 +0000 UTC m=+438.544871926" time="2026-09-17T09:52:30Z" msg="Syncing labels" time="2026-09-17T09:52:30Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=5f47aa1d-cd2d-419f-b278-abfe1d8f4a81 time="2026-09-17T09:52:30Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=5f47aa1d-cd2d-419f-b278-abfe1d8f4a81 time="2026-09-17T09:52:30Z" msg="Mailbox created" /user remoteMailboxID=3 userID=5f47aa1d-cd2d-419f-b278-abfe1d8f4a81 time="2026-09-17T09:52:30Z" msg="Mailbox created" /user remoteMailboxID=4 userID=5f47aa1d-cd2d-419f-b278-abfe1d8f4a81 time="2026-09-17T09:52:30Z" msg="Mailbox created" /user remoteMailboxID=8 userID=5f47aa1d-cd2d-419f-b278-abfe1d8f4a81 time="2026-09-17T09:52:30Z" msg="Mailbox created" /user remoteMailboxID=10 userID=5f47aa1d-cd2d-419f-b278-abfe1d8f4a81 time="2026-09-17T09:52:30Z" msg="Mailbox created" /user remoteMailboxID=6 userID=5f47aa1d-cd2d-419f-b278-abfe1d8f4a81 time="2026-09-17T09:52:30Z" msg="Mailbox created" /user remoteMailboxID=0 userID=5f47aa1d-cd2d-419f-b278-abfe1d8f4a81 time="2026-09-17T09:52:30Z" msg="Mailbox created" /user remoteMailboxID=12 userID=5f47aa1d-cd2d-419f-b278-abfe1d8f4a81 time="2026-09-17T09:52:30Z" msg="Mailbox created" /user remoteMailboxID=5 userID=5f47aa1d-cd2d-419f-b278-abfe1d8f4a81 time="2026-09-17T09:52:30Z" msg="Mailbox created" /user remoteMailboxID=7 userID=5f47aa1d-cd2d-419f-b278-abfe1d8f4a81 time="2026-09-17T09:52:30Z" msg="Synced labels" time="2026-09-17T09:52:30Z" msg="200 OK: POST https://127.0.0.1:34737/auth/v4/info" /manager time="2026-09-17T09:52:30Z" msg="200 OK: GET https://127.0.0.1:34737/mail/v4/messages/count" /client userID=91cbd1e3-0d78-4f93-94e0-61939a96fd13 time="2026-09-17T09:52:30Z" msg="Syncing messages" time="2026-09-17T09:52:30Z" msg="Job started" time="2026-09-17T09:52:30Z" msg="200 OK: POST https://127.0.0.1:34737/mail/v4/messages" /client userID=91cbd1e3-0d78-4f93-94e0-61939a96fd13 time="2026-09-17T09:52:30Z" msg="Job finished" time="2026-09-17T09:52:30Z" msg="All child jobs completed" sync- time="2026-09-17T09:52:30Z" msg="Synced messages" time="2026-09-17T09:52:30Z" msg="Finished user sync" .441718ms time="2026-09-17T09:52:30Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:52:30Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:52:30Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 5} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:52:30Z" msg="200 OK: POST https://127.0.0.1:34737/auth/v4" /manager time="2026-09-17T09:52:30Z" msg="Logging in authorized user" /user userID=2ffc0c4b-3aef-4050-9a41-86ef6142e831 time="2026-09-17T09:52:30Z" msg="Adding vault user" userID=2ffc0c4b-3aef-4050-9a41-86ef6142e831 time="2026-09-17T09:52:30Z" msg="Creating new user" userID=2ffc0c4b-3aef-4050-9a41-86ef6142e831 time="2026-09-17T09:52:30Z" msg="404 GET https://127.0.0.1:34737/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:52:30Z" msg="404 GET https://127.0.0.1:34737/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:52:30Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:34737/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:52:30Z" msg="Creating user object" authUID=5b26e946-7b4a-48ff-8de1-b90a11241e4f numA numL userID=2ffc0c4b-3aef-4050-9a41-86ef6142e831 time="2026-09-17T09:52:30Z" msg="200 OK: GET https://127.0.0.1:34737/core/v4/events/latest" /client userID=2ffc0c4b-3aef-4050-9a41-86ef6142e831 time="2026-09-17T09:52:30Z" msg="Starting service Last EventID=Ag==" time="2026-09-17T09:52:30Z" msg="200 OK: GET https://127.0.0.1:34737/core/v4/settings" /client userID=2ffc0c4b-3aef-4050-9a41-86ef6142e831 time="2026-09-17T09:52:30Z" msg="Registering user client, ID:2ffc0c4b-3aef-4050-9a41-86ef6142e831" time="2026-09-17T09:52:30Z" msg="Starting user identity service" numA time="2026-09-17T09:52:30Z" msg="Starting service main loop" time="2026-09-17T09:52:30Z" msg="Starting service main loop" time="2026-09-17T09:52:30Z" msg="Starting service main loop" time="2026-09-17T09:52:30Z" msg="200 OK: GET https://127.0.0.1:34737/core/v4/labels?T" /client userID=2ffc0c4b-3aef-4050-9a41-86ef6142e831 time="2026-09-17T09:52:30Z" msg="200 OK: GET https://127.0.0.1:34737/core/v4/labels?T" /client userID=2ffc0c4b-3aef-4050-9a41-86ef6142e831 time="2026-09-17T09:52:30Z" msg="200 OK: GET https://127.0.0.1:34737/core/v4/labels?T" /client userID=2ffc0c4b-3aef-4050-9a41-86ef6142e831 time="2026-09-17T09:52:30Z" msg="Setting labels" labelIDs="[0 5 10 12 1 2 3 4 6 7 8 9]" time="2026-09-17T09:52:30Z" msg="Adding user to imap server" addrID=1a732da4-1d0b-4589-b334-978d4dbddbc7 time="2026-09-17T09:52:30Z" msg="Creating new IMAP user" addrID=1a732da4-1d0b-4589-b334-978d4dbddbc7 time="2026-09-17T09:52:30Z" msg="Setting gluon ID" addrID=1a732da4-1d0b-4589-b334-978d4dbddbc7 gluonID=f49a22f6-3cf4-4642-8b90-288991569003 userID=2ffc0c4b-3aef-4050-9a41-86ef6142e831 time="2026-09-17T09:52:30Z" msg="Received mailbox message count" gluonID=f49a22f6-3cf4-4642-8b90-288991569003 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:52:30Z" msg="Created new IMAP user" addrID=1a732da4-1d0b-4589-b334-978d4dbddbc7 gluonID=f49a22f6-3cf4-4642-8b90-288991569003 time="2026-09-17T09:52:30Z" msg="Validating Listener State" time="2026-09-17T09:52:30Z" time="2026-09-17T09:52:30Z" msg="Starting IMAP Service" And the user logs in with username "a411ac01-e925-4b67-aac3-1d3b67589fb9" and password "password" # :1 -> *scenario time="2026-09-17T09:52:30Z" msg="Sync triggered" time="2026-09-17T09:52:30Z" msg="Performing full user login" /user username="******** (d51163ae)" time="2026-09-17T09:52:30Z" msg="Authorizing user for login" /user username="******** (d51163ae)" time="2026-09-17T09:52:30Z" msg="Checking whether logged in user should re-sync. UserID:2ffc0c4b-3aef-4050-9a41-86ef6142e831" userID=2ffc0c4b-3aef-4050-9a41-86ef6142e831 time="2026-09-17T09:52:30Z" msg="Beginning user sync" start="2026-09-17 09:52:30.490521463 +0000 UTC m=+438.982823799" time="2026-09-17T09:52:30Z" msg="Syncing labels" time="2026-09-17T09:52:30Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=f49a22f6-3cf4-4642-8b90-288991569003 time="2026-09-17T09:52:30Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=f49a22f6-3cf4-4642-8b90-288991569003 time="2026-09-17T09:52:30Z" msg="Mailbox created" /user remoteMailboxID=8 userID=f49a22f6-3cf4-4642-8b90-288991569003 time="2026-09-17T09:52:30Z" msg="Mailbox created" /user remoteMailboxID=0 userID=f49a22f6-3cf4-4642-8b90-288991569003 time="2026-09-17T09:52:30Z" msg="Mailbox created" /user remoteMailboxID=5 userID=f49a22f6-3cf4-4642-8b90-288991569003 time="2026-09-17T09:52:30Z" msg="Mailbox created" /user remoteMailboxID=12 userID=f49a22f6-3cf4-4642-8b90-288991569003 time="2026-09-17T09:52:30Z" msg="Mailbox created" /user remoteMailboxID=3 userID=f49a22f6-3cf4-4642-8b90-288991569003 time="2026-09-17T09:52:30Z" msg="Mailbox created" /user remoteMailboxID=4 userID=f49a22f6-3cf4-4642-8b90-288991569003 time="2026-09-17T09:52:30Z" msg="Mailbox created" /user remoteMailboxID=7 userID=f49a22f6-3cf4-4642-8b90-288991569003 time="2026-09-17T09:52:30Z" msg="Mailbox created" /user remoteMailboxID=10 userID=f49a22f6-3cf4-4642-8b90-288991569003 time="2026-09-17T09:52:30Z" msg="Mailbox created" /user remoteMailboxID=6 userID=f49a22f6-3cf4-4642-8b90-288991569003 time="2026-09-17T09:52:30Z" msg="Synced labels" time="2026-09-17T09:52:30Z" msg="200 OK: POST https://127.0.0.1:34737/auth/v4/info" /manager time="2026-09-17T09:52:30Z" msg="200 OK: GET https://127.0.0.1:34737/mail/v4/messages/count" /client userID=2ffc0c4b-3aef-4050-9a41-86ef6142e831 time="2026-09-17T09:52:30Z" msg="Syncing messages" time="2026-09-17T09:52:30Z" msg="Job started" time="2026-09-17T09:52:30Z" msg="200 OK: POST https://127.0.0.1:34737/mail/v4/messages" /client userID=2ffc0c4b-3aef-4050-9a41-86ef6142e831 time="2026-09-17T09:52:30Z" msg="Job finished" time="2026-09-17T09:52:30Z" msg="All child jobs completed" sync- time="2026-09-17T09:52:30Z" msg="Synced messages" time="2026-09-17T09:52:30Z" msg="Finished user sync" .876013ms time="2026-09-17T09:52:30Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:52:30Z" msg="Event loop reset" eventID="Ag==" time="2026-09-17T09:52:30Z" msg="200 OK: POST https://127.0.0.1:34737/auth/v4" /manager time="2026-09-17T09:52:30Z" msg="Logging in authorized user" /user userID=32535154-30d2-4f31-a8d3-8e3eeadbadba time="2026-09-17T09:52:30Z" msg="Adding vault user" userID=32535154-30d2-4f31-a8d3-8e3eeadbadba time="2026-09-17T09:52:30Z" msg="Creating new user" userID=32535154-30d2-4f31-a8d3-8e3eeadbadba time="2026-09-17T09:52:30Z" msg="404 GET https://127.0.0.1:34737/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:52:30Z" msg="404 GET https://127.0.0.1:34737/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:52:30Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:34737/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:52:30Z" msg="Creating user object" authUID=f9f89cd5-2456-47fc-954c-92157fa17f4d numA numL userID=32535154-30d2-4f31-a8d3-8e3eeadbadba time="2026-09-17T09:52:30Z" msg="200 OK: GET https://127.0.0.1:34737/core/v4/events/latest" /client userID=32535154-30d2-4f31-a8d3-8e3eeadbadba time="2026-09-17T09:52:30Z" msg="Starting service Last EventID=Aw==" time="2026-09-17T09:52:30Z" msg="200 OK: GET https://127.0.0.1:34737/core/v4/settings" /client userID=32535154-30d2-4f31-a8d3-8e3eeadbadba time="2026-09-17T09:52:30Z" msg="Registering user client, ID:32535154-30d2-4f31-a8d3-8e3eeadbadba" time="2026-09-17T09:52:30Z" msg="Starting user identity service" numA time="2026-09-17T09:52:30Z" msg="Starting service main loop" time="2026-09-17T09:52:30Z" msg="Starting service main loop" time="2026-09-17T09:52:30Z" msg="Starting service main loop" time="2026-09-17T09:52:30Z" msg="200 OK: GET https://127.0.0.1:34737/core/v4/labels?T" /client userID=32535154-30d2-4f31-a8d3-8e3eeadbadba time="2026-09-17T09:52:30Z" msg="200 OK: GET https://127.0.0.1:34737/core/v4/labels?T" /client userID=32535154-30d2-4f31-a8d3-8e3eeadbadba time="2026-09-17T09:52:30Z" msg="200 OK: GET https://127.0.0.1:34737/core/v4/labels?T" /client userID=32535154-30d2-4f31-a8d3-8e3eeadbadba time="2026-09-17T09:52:30Z" msg="Setting labels" labelIDs="[1 2 3 8 9 12 4 5 6 7 10 0]" time="2026-09-17T09:52:30Z" msg="Adding user to imap server" addrID=603dc87f-2021-41f9-a961-11fe1269e1c8 time="2026-09-17T09:52:30Z" msg="Creating new IMAP user" addrID=603dc87f-2021-41f9-a961-11fe1269e1c8 time="2026-09-17T09:52:30Z" msg="Setting gluon ID" addrID=603dc87f-2021-41f9-a961-11fe1269e1c8 gluonID=dfc5f92c-6ebc-484e-8978-eed57ad4f0ec userID=32535154-30d2-4f31-a8d3-8e3eeadbadba time="2026-09-17T09:52:30Z" msg="Received mailbox message count" gluonID=dfc5f92c-6ebc-484e-8978-eed57ad4f0ec labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:52:30Z" msg="Created new IMAP user" addrID=603dc87f-2021-41f9-a961-11fe1269e1c8 gluonID=dfc5f92c-6ebc-484e-8978-eed57ad4f0ec time="2026-09-17T09:52:30Z" msg="Validating Listener State" time="2026-09-17T09:52:30Z" time="2026-09-17T09:52:30Z" msg="Checking whether logged in user should re-sync. UserID:32535154-30d2-4f31-a8d3-8e3eeadbadba" userID=32535154-30d2-4f31-a8d3-8e3eeadbadba time="2026-09-17T09:52:30Z" msg="Starting IMAP Service" And the user logs in with username "186cb19e-7ee3-4d5f-b2ee-04d754d10715" and password "password" # :1 -> *scenario time="2026-09-17T09:52:30Z" msg="Sync triggered" time="2026-09-17T09:52:30Z" msg="Beginning user sync" start="2026-09-17 09:52:30.928608536 +0000 UTC m=+439.420910872" And user "fcf986b6-6bbb-4444-b734-1d8a03ca9201" connects and authenticates SMTP client "1" # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:52:30Z" msg="Syncing labels" time="2026-09-17T09:52:30Z" msg="Sending observability data." time="2026-09-17T09:52:30Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=dfc5f92c-6ebc-484e-8978-eed57ad4f0ec time="2026-09-17T09:52:30Z" msg="200 OK: GET https://127.0.0.1:34737/mail/v4/settings" /client userID=91cbd1e3-0d78-4f93-94e0-61939a96fd13 time="2026-09-17T09:52:30Z" msg="200 OK: POST https://127.0.0.1:34737/data/v1/metrics" /client userID=91cbd1e3-0d78-4f93-94e0-61939a96fd13 time="2026-09-17T09:52:30Z" msg="Successfully sent observability data." time="2026-09-17T09:52:30Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=dfc5f92c-6ebc-484e-8978-eed57ad4f0ec time="2026-09-17T09:52:30Z" msg="Mailbox created" /user remoteMailboxID=6 userID=dfc5f92c-6ebc-484e-8978-eed57ad4f0ec time="2026-09-17T09:52:30Z" msg="Mailbox created" /user remoteMailboxID=7 userID=dfc5f92c-6ebc-484e-8978-eed57ad4f0ec time="2026-09-17T09:52:30Z" msg="Mailbox created" /user remoteMailboxID=0 userID=dfc5f92c-6ebc-484e-8978-eed57ad4f0ec time="2026-09-17T09:52:30Z" msg="Mailbox created" /user remoteMailboxID=3 userID=dfc5f92c-6ebc-484e-8978-eed57ad4f0ec time="2026-09-17T09:52:30Z" msg="Mailbox created" /user remoteMailboxID=8 userID=dfc5f92c-6ebc-484e-8978-eed57ad4f0ec time="2026-09-17T09:52:30Z" msg="Mailbox created" /user remoteMailboxID=12 userID=dfc5f92c-6ebc-484e-8978-eed57ad4f0ec time="2026-09-17T09:52:30Z" msg="Mailbox created" /user remoteMailboxID=4 userID=dfc5f92c-6ebc-484e-8978-eed57ad4f0ec time="2026-09-17T09:52:30Z" msg="Mailbox created" /user remoteMailboxID=10 userID=dfc5f92c-6ebc-484e-8978-eed57ad4f0ec time="2026-09-17T09:52:30Z" msg="Mailbox created" /user remoteMailboxID=5 userID=dfc5f92c-6ebc-484e-8978-eed57ad4f0ec time="2026-09-17T09:52:30Z" msg="200 OK: POST https://127.0.0.1:34737/mail/v4/messages" /client userID=91cbd1e3-0d78-4f93-94e0-61939a96fd13 time="2026-09-17T09:52:30Z" msg="Synced labels" time="2026-09-17T09:52:30Z" msg="200 OK: GET https://127.0.0.1:34737/core/v4/keys?E%40proton.local" /client userID=91cbd1e3-0d78-4f93-94e0-61939a96fd13 time="2026-09-17T09:52:30Z" msg="200 OK: GET https://127.0.0.1:34737/core/v4/keys?E%40proton.local" /client userID=91cbd1e3-0d78-4f93-94e0-61939a96fd13 time="2026-09-17T09:52:30Z" msg="200 OK: GET https://127.0.0.1:34737/mail/v4/messages/count" /client userID=32535154-30d2-4f31-a8d3-8e3eeadbadba time="2026-09-17T09:52:30Z" msg="Syncing messages" time="2026-09-17T09:52:30Z" msg="Job started" time="2026-09-17T09:52:30Z" msg="200 OK: GET https://127.0.0.1:34737/contacts/v4/emails?E%40proton.local&P&PageS" /client userID=91cbd1e3-0d78-4f93-94e0-61939a96fd13 time="2026-09-17T09:52:30Z" msg="200 OK: GET https://127.0.0.1:34737/contacts/v4/emails?E%40proton.local&P&PageS" /client userID=91cbd1e3-0d78-4f93-94e0-61939a96fd13 time="2026-09-17T09:52:30Z" msg="200 OK: POST https://127.0.0.1:34737/mail/v4/messages" /client userID=32535154-30d2-4f31-a8d3-8e3eeadbadba time="2026-09-17T09:52:30Z" msg="Job finished" time="2026-09-17T09:52:30Z" msg="All child jobs completed" sync- time="2026-09-17T09:52:30Z" msg="Synced messages" time="2026-09-17T09:52:30Z" msg="Finished user sync" .741022ms time="2026-09-17T09:52:30Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:52:30Z" msg="Event loop reset" eventID="Aw==" time="2026-09-17T09:52:30Z" msg="200 OK: POST https://127.0.0.1:34737/mail/v4/messages/011669bb-b365-4243-976c-39bcbeca4bf6" /client userID=91cbd1e3-0d78-4f93-94e0-61939a96fd13 time="2026-09-17T09:52:30Z" msg="Scheduling observability data sending" Scenario: Send message to address in to and bcc # features/smtp/send/bcc.feature:15 When SMTP client "1" sends the following message from "fcf986b6-6bbb-4444-b734-1d8a03ca9201@proton.local" to "5bd5087b-f186-4a5c-a5cc-00e096bc1f1b@proton.local, a411ac01-e925-4b67-aac3-1d3b67589fb9@proton.local": # :1 -> *scenario """ Subject: hello From: Bridge Test <[user:user]@[domain]> To: Internal Bridge <[user:to]@[domain]> hello """ Then it succeeds # :1 -> *scenario When user "fcf986b6-6bbb-4444-b734-1d8a03ca9201" connects and authenticates IMAP client "1" # :1 -> *scenario time="2026-09-17T09:52:31Z" msg="200 OK: GET https://127.0.0.1:34737/core/v4/events/AA==" /client userID=91cbd1e3-0d78-4f93-94e0-61939a96fd13 time="2026-09-17T09:52:31Z" msg="Received new API event" new="Event BQ==: messages: , , " old="AA==" time="2026-09-17T09:52:31Z" msg="Handling message created event" messageID=011669bb-b365-4243-976c-39bcbeca4bf6 subject="******** (2cf24dba)" time="2026-09-17T09:52:31Z" msg="200 OK: GET https://127.0.0.1:34737/mail/v4/messages/011669bb-b365-4243-976c-39bcbeca4bf6" /client userID=91cbd1e3-0d78-4f93-94e0-61939a96fd13 time="2026-09-17T09:52:31Z" msg="Handling draft or sent updated event" isD messageID=011669bb-b365-4243-976c-39bcbeca4bf6 subject="******** (2cf24dba)" time="2026-09-17T09:52:31Z" msg="200 OK: GET https://127.0.0.1:34737/mail/v4/messages/011669bb-b365-4243-976c-39bcbeca4bf6" /client userID=91cbd1e3-0d78-4f93-94e0-61939a96fd13 Then IMAP client "1" eventually sees the following messages in "Sent": # :1 -> *scenario | from | to | bcc | subject | unread | | fcf986b6-6bbb-4444-b734-1d8a03ca9201@proton.local | 5bd5087b-f186-4a5c-a5cc-00e096bc1f1b@proton.local | a411ac01-e925-4b67-aac3-1d3b67589fb9@proton.local | hello | false | time="2026-09-17T09:52:31Z" msg="Frontend service stopped" time="2026-09-17T09:52:31Z" msg="Frontend client stopped" time="2026-09-17T09:52:31Z" msg="Closing bridge" time="2026-09-17T09:52:31Z" msg="Stopping service" time="2026-09-17T09:52:31Z" msg="Closing user" userID=2ffc0c4b-3aef-4050-9a41-86ef6142e831 time="2026-09-17T09:52:31Z" msg="De-registering user client, ID:2ffc0c4b-3aef-4050-9a41-86ef6142e831" time="2026-09-17T09:52:31Z" msg="Exiting IMAP Service" time="2026-09-17T09:52:31Z" msg="Exiting service main loop" time="2026-09-17T09:52:31Z" msg="Exiting service main loop" time="2026-09-17T09:52:31Z" msg="Exiting Service" time="2026-09-17T09:52:31Z" msg="Exiting service main loop" time="2026-09-17T09:52:31Z" msg="Exiting service" time="2026-09-17T09:52:31Z" msg="Closing user" userID=32535154-30d2-4f31-a8d3-8e3eeadbadba time="2026-09-17T09:52:31Z" msg="De-registering user client, ID:32535154-30d2-4f31-a8d3-8e3eeadbadba" time="2026-09-17T09:52:31Z" msg="Exiting IMAP Service" time="2026-09-17T09:52:31Z" msg="Exiting service main loop" time="2026-09-17T09:52:31Z" msg="Exiting service main loop" time="2026-09-17T09:52:31Z" msg="Exiting Service" time="2026-09-17T09:52:31Z" msg="Exiting service main loop" time="2026-09-17T09:52:31Z" msg="Exiting service" time="2026-09-17T09:52:31Z" msg="Closing user" userID=91cbd1e3-0d78-4f93-94e0-61939a96fd13 time="2026-09-17T09:52:31Z" msg="De-registering user client, ID:91cbd1e3-0d78-4f93-94e0-61939a96fd13" time="2026-09-17T09:52:31Z" msg="Exiting IMAP Service" time="2026-09-17T09:52:31Z" msg="Exiting service main loop" time="2026-09-17T09:52:31Z" msg="Exiting service main loop" time="2026-09-17T09:52:31Z" msg="Exiting Service" time="2026-09-17T09:52:31Z" msg="Exiting service main loop" time="2026-09-17T09:52:31Z" msg="Exiting service" time="2026-09-17T09:52:31Z" msg="Closing IMAP Listener" time="2026-09-17T09:52:31Z" msg="Closing IMAP server" time="2026-09-17T09:52:31Z" msg="Closing SMTP Listener" time="2026-09-17T09:52:31Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:52:31Z" msg="Closing SMTP server" time="2026-09-17T09:52:31Z" msg="Closing service" And the body in the "POST" request to "/mail/v4/messages" is: # :1 -> *scenario """ { "Message": { "Subject": "hello", "ToList": [ { "Address": "[user:to]@[domain]", "Name": "Internal Bridge" } ], "CCList": [], "BCCList": [ { "Address": "[user:bcc]@[domain]" } ] } } """ time="2026-09-17T09:52:31Z" msg="User 'b3cfc0df-45f0-43e0-aedf-09e3fe0553bd' created with " /server/backend time="2026-09-17T09:52:32Z" msg="User '9af1cc87-3a86-4ced-9369-260727c8f361' created with " /server/backend time="2026-09-17T09:52:32Z" msg="User '373d6660-05d9-4641-a108-e94c02622172' created with " /server/backend time="2026-09-17T09:52:33Z" msg="User '990c3de7-1c99-4a5f-854b-44dbd2a9e27c' created with " /server/backend time="2026-09-17T09:52:33Z" msg="Starting bridge" time="2026-09-17T09:52:33Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/198/config2190201327/grpcFocusServerConfig.json /service time="2026-09-17T09:52:33Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/198/cache2904380889/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:52:33Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/198/cache2904380889/notifications/notification_cache: no such file or directory" time="2026-09-17T09:52:33Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/198/data1623313826/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/198/data1623313826/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:52:33Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:52:33Z" msg="Starting IMAP server" time="2026-09-17T09:52:33Z" msg="Starting SMTP server" time="2026-09-17T09:52:33Z" msg="Starting service" time="2026-09-17T09:52:33Z" msg="Starting service" time="2026-09-17T09:52:33Z" msg="Starting frontend service" time="2026-09-17T09:52:33Z" msg="Starting receiver service" time="2026-09-17T09:52:33Z" msg="Checking for updates" time="2026-09-17T09:52:33Z" msg="Loading users" /user time="2026-09-17T09:52:33Z" msg="Starting poll service" time="2026-09-17T09:52:33Z" msg="Finished loading users" /user time="2026-09-17T09:52:33Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/198/config2190201327/grpcServerConfig.json time="2026-09-17T09:52:33Z" msg="gRPC server listening on /tmp/bridge5114" time="2026-09-17T09:52:33Z" msg="Frontend service started" time="2026-09-17T09:52:33Z" msg="Starting frontend client" time="2026-09-17T09:52:33Z" msg="Not monitoring parent PID" time="2026-09-17T09:52:33Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:52:33Z" msg="200 OK: GET https://127.0.0.1:46629/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:52:33Z" msg="Frontend client started" time="2026-09-17T09:52:33Z" msg="Performing full user login" /user username="******** (f14ba5ee)" time="2026-09-17T09:52:33Z" msg="Authorizing user for login" /user username="******** (f14ba5ee)" time="2026-09-17T09:52:33Z" msg="200 OK: POST https://127.0.0.1:46629/auth/v4/info" /manager time="2026-09-17T09:52:34Z" msg="200 OK: POST https://127.0.0.1:46629/auth/v4" /manager time="2026-09-17T09:52:34Z" msg="Logging in authorized user" /user userID=7755c58f-989a-493e-a1ef-f4d2a44fb0ce time="2026-09-17T09:52:34Z" msg="Adding vault user" userID=7755c58f-989a-493e-a1ef-f4d2a44fb0ce time="2026-09-17T09:52:34Z" msg="Creating new user" userID=7755c58f-989a-493e-a1ef-f4d2a44fb0ce time="2026-09-17T09:52:34Z" msg="404 GET https://127.0.0.1:46629/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:52:34Z" msg="404 GET https://127.0.0.1:46629/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:52:34Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:46629/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:52:34Z" msg="Creating user object" authUID=8d42d45c-80b1-4861-8ec4-021102abd858 numA numL userID=7755c58f-989a-493e-a1ef-f4d2a44fb0ce time="2026-09-17T09:52:34Z" msg="200 OK: GET https://127.0.0.1:46629/core/v4/events/latest" /client userID=7755c58f-989a-493e-a1ef-f4d2a44fb0ce time="2026-09-17T09:52:34Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:52:34Z" msg="200 OK: GET https://127.0.0.1:46629/core/v4/settings" /client userID=7755c58f-989a-493e-a1ef-f4d2a44fb0ce time="2026-09-17T09:52:34Z" msg="Registering user client, ID:7755c58f-989a-493e-a1ef-f4d2a44fb0ce" time="2026-09-17T09:52:34Z" msg="Starting service main loop" time="2026-09-17T09:52:34Z" msg="Starting user identity service" numA time="2026-09-17T09:52:34Z" msg="Starting service main loop" time="2026-09-17T09:52:34Z" msg="Starting service main loop" time="2026-09-17T09:52:34Z" msg="200 OK: GET https://127.0.0.1:46629/core/v4/labels?T" /client userID=7755c58f-989a-493e-a1ef-f4d2a44fb0ce time="2026-09-17T09:52:34Z" msg="200 OK: GET https://127.0.0.1:46629/core/v4/labels?T" /client userID=7755c58f-989a-493e-a1ef-f4d2a44fb0ce time="2026-09-17T09:52:34Z" msg="200 OK: GET https://127.0.0.1:46629/core/v4/labels?T" /client userID=7755c58f-989a-493e-a1ef-f4d2a44fb0ce time="2026-09-17T09:52:34Z" msg="Setting labels" labelIDs="[12 1 3 4 8 10 0 2 5 6 7 9]" time="2026-09-17T09:52:34Z" msg="Adding user to imap server" addrID=84cfc9df-0f03-4e3f-960a-b35a07fe20bf time="2026-09-17T09:52:34Z" msg="Creating new IMAP user" addrID=84cfc9df-0f03-4e3f-960a-b35a07fe20bf time="2026-09-17T09:52:34Z" msg="Setting gluon ID" addrID=84cfc9df-0f03-4e3f-960a-b35a07fe20bf gluonID=f6a786b8-a8f9-411e-aba4-76944ea49f87 userID=7755c58f-989a-493e-a1ef-f4d2a44fb0ce time="2026-09-17T09:52:34Z" msg="Received mailbox message count" gluonID=f6a786b8-a8f9-411e-aba4-76944ea49f87 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:52:34Z" msg="Created new IMAP user" addrID=84cfc9df-0f03-4e3f-960a-b35a07fe20bf gluonID=f6a786b8-a8f9-411e-aba4-76944ea49f87 time="2026-09-17T09:52:34Z" msg="Validating Listener State" time="2026-09-17T09:52:34Z" time="2026-09-17T09:52:34Z" msg="Starting IMAP Service" time="2026-09-17T09:52:34Z" msg="Checking whether logged in user should re-sync. UserID:7755c58f-989a-493e-a1ef-f4d2a44fb0ce" userID=7755c58f-989a-493e-a1ef-f4d2a44fb0ce time="2026-09-17T09:52:34Z" msg="Sync triggered" time="2026-09-17T09:52:34Z" msg="Beginning user sync" start="2026-09-17 09:52:34.099144835 +0000 UTC m=+442.591447131" time="2026-09-17T09:52:34Z" msg="Performing full user login" /user username="******** (3f19b104)" time="2026-09-17T09:52:34Z" msg="Authorizing user for login" /user username="******** (3f19b104)" time="2026-09-17T09:52:34Z" msg="Syncing labels" time="2026-09-17T09:52:34Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=f6a786b8-a8f9-411e-aba4-76944ea49f87 time="2026-09-17T09:52:34Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=f6a786b8-a8f9-411e-aba4-76944ea49f87 time="2026-09-17T09:52:34Z" msg="Mailbox created" /user remoteMailboxID=4 userID=f6a786b8-a8f9-411e-aba4-76944ea49f87 time="2026-09-17T09:52:34Z" msg="Mailbox created" /user remoteMailboxID=10 userID=f6a786b8-a8f9-411e-aba4-76944ea49f87 time="2026-09-17T09:52:34Z" msg="Mailbox created" /user remoteMailboxID=5 userID=f6a786b8-a8f9-411e-aba4-76944ea49f87 time="2026-09-17T09:52:34Z" msg="Mailbox created" /user remoteMailboxID=12 userID=f6a786b8-a8f9-411e-aba4-76944ea49f87 time="2026-09-17T09:52:34Z" msg="Mailbox created" /user remoteMailboxID=3 userID=f6a786b8-a8f9-411e-aba4-76944ea49f87 time="2026-09-17T09:52:34Z" msg="Mailbox created" /user remoteMailboxID=8 userID=f6a786b8-a8f9-411e-aba4-76944ea49f87 time="2026-09-17T09:52:34Z" msg="Mailbox created" /user remoteMailboxID=0 userID=f6a786b8-a8f9-411e-aba4-76944ea49f87 time="2026-09-17T09:52:34Z" msg="Mailbox created" /user remoteMailboxID=6 userID=f6a786b8-a8f9-411e-aba4-76944ea49f87 time="2026-09-17T09:52:34Z" msg="Mailbox created" /user remoteMailboxID=7 userID=f6a786b8-a8f9-411e-aba4-76944ea49f87 time="2026-09-17T09:52:34Z" msg="Synced labels" time="2026-09-17T09:52:34Z" msg="200 OK: GET https://127.0.0.1:46629/mail/v4/messages/count" /client userID=7755c58f-989a-493e-a1ef-f4d2a44fb0ce time="2026-09-17T09:52:34Z" msg="200 OK: POST https://127.0.0.1:46629/auth/v4/info" /manager time="2026-09-17T09:52:34Z" msg="Syncing messages" time="2026-09-17T09:52:34Z" msg="Job started" time="2026-09-17T09:52:34Z" msg="200 OK: POST https://127.0.0.1:46629/mail/v4/messages" /client userID=7755c58f-989a-493e-a1ef-f4d2a44fb0ce time="2026-09-17T09:52:34Z" msg="Job finished" time="2026-09-17T09:52:34Z" msg="All child jobs completed" sync- time="2026-09-17T09:52:34Z" msg="Synced messages" time="2026-09-17T09:52:34Z" msg="Finished user sync" .192592ms time="2026-09-17T09:52:34Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:52:34Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:52:34Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 9} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:52:34Z" msg="200 OK: POST https://127.0.0.1:46629/auth/v4" /manager time="2026-09-17T09:52:34Z" msg="Logging in authorized user" /user userID=679995a4-051c-4d96-9274-3164207a7eda time="2026-09-17T09:52:34Z" msg="Adding vault user" userID=679995a4-051c-4d96-9274-3164207a7eda time="2026-09-17T09:52:34Z" msg="Creating new user" userID=679995a4-051c-4d96-9274-3164207a7eda time="2026-09-17T09:52:34Z" msg="404 GET https://127.0.0.1:46629/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:52:34Z" msg="404 GET https://127.0.0.1:46629/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:52:34Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:46629/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:52:34Z" msg="Creating user object" authUID=e14c4750-e0d7-44ee-89ad-098e82b78c09 numA numL userID=679995a4-051c-4d96-9274-3164207a7eda time="2026-09-17T09:52:34Z" msg="200 OK: GET https://127.0.0.1:46629/core/v4/events/latest" /client userID=679995a4-051c-4d96-9274-3164207a7eda time="2026-09-17T09:52:34Z" msg="Starting service Last EventID=Ag==" time="2026-09-17T09:52:34Z" msg="200 OK: GET https://127.0.0.1:46629/core/v4/settings" /client userID=679995a4-051c-4d96-9274-3164207a7eda time="2026-09-17T09:52:34Z" msg="Registering user client, ID:679995a4-051c-4d96-9274-3164207a7eda" time="2026-09-17T09:52:34Z" msg="Starting service main loop" time="2026-09-17T09:52:34Z" msg="Starting service main loop" time="2026-09-17T09:52:34Z" msg="Starting service main loop" time="2026-09-17T09:52:34Z" msg="Starting user identity service" numA time="2026-09-17T09:52:34Z" msg="200 OK: GET https://127.0.0.1:46629/core/v4/labels?T" /client userID=679995a4-051c-4d96-9274-3164207a7eda time="2026-09-17T09:52:34Z" msg="200 OK: GET https://127.0.0.1:46629/core/v4/labels?T" /client userID=679995a4-051c-4d96-9274-3164207a7eda time="2026-09-17T09:52:34Z" msg="200 OK: GET https://127.0.0.1:46629/core/v4/labels?T" /client userID=679995a4-051c-4d96-9274-3164207a7eda time="2026-09-17T09:52:34Z" msg="Setting labels" labelIDs="[6 7 8 9 12 0 2 3 4 10 1 5]" time="2026-09-17T09:52:34Z" msg="Adding user to imap server" addrID=24d8a186-274c-47ea-a52e-abd5a402b380 time="2026-09-17T09:52:34Z" msg="Creating new IMAP user" addrID=24d8a186-274c-47ea-a52e-abd5a402b380 time="2026-09-17T09:52:34Z" msg="Setting gluon ID" addrID=24d8a186-274c-47ea-a52e-abd5a402b380 gluonID=63e5daa0-bf57-4428-ad9a-9a71fb3b9889 userID=679995a4-051c-4d96-9274-3164207a7eda time="2026-09-17T09:52:34Z" msg="Received mailbox message count" gluonID=63e5daa0-bf57-4428-ad9a-9a71fb3b9889 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:52:34Z" msg="Created new IMAP user" addrID=24d8a186-274c-47ea-a52e-abd5a402b380 gluonID=63e5daa0-bf57-4428-ad9a-9a71fb3b9889 time="2026-09-17T09:52:34Z" msg="Validating Listener State" time="2026-09-17T09:52:34Z" time="2026-09-17T09:52:34Z" msg="Checking whether logged in user should re-sync. UserID:679995a4-051c-4d96-9274-3164207a7eda" userID=679995a4-051c-4d96-9274-3164207a7eda time="2026-09-17T09:52:34Z" msg="Starting IMAP Service" time="2026-09-17T09:52:34Z" msg="Sync triggered" time="2026-09-17T09:52:34Z" msg="Beginning user sync" start="2026-09-17 09:52:34.537345029 +0000 UTC m=+443.029647325" time="2026-09-17T09:52:34Z" msg="Performing full user login" /user username="******** (8e98b372)" time="2026-09-17T09:52:34Z" msg="Authorizing user for login" /user username="******** (8e98b372)" time="2026-09-17T09:52:34Z" msg="Syncing labels" time="2026-09-17T09:52:34Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=63e5daa0-bf57-4428-ad9a-9a71fb3b9889 time="2026-09-17T09:52:34Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=63e5daa0-bf57-4428-ad9a-9a71fb3b9889 time="2026-09-17T09:52:34Z" msg="Mailbox created" /user remoteMailboxID=6 userID=63e5daa0-bf57-4428-ad9a-9a71fb3b9889 time="2026-09-17T09:52:34Z" msg="Mailbox created" /user remoteMailboxID=7 userID=63e5daa0-bf57-4428-ad9a-9a71fb3b9889 time="2026-09-17T09:52:34Z" msg="Mailbox created" /user remoteMailboxID=8 userID=63e5daa0-bf57-4428-ad9a-9a71fb3b9889 time="2026-09-17T09:52:34Z" msg="Mailbox created" /user remoteMailboxID=12 userID=63e5daa0-bf57-4428-ad9a-9a71fb3b9889 time="2026-09-17T09:52:34Z" msg="Mailbox created" /user remoteMailboxID=0 userID=63e5daa0-bf57-4428-ad9a-9a71fb3b9889 time="2026-09-17T09:52:34Z" msg="Mailbox created" /user remoteMailboxID=3 userID=63e5daa0-bf57-4428-ad9a-9a71fb3b9889 time="2026-09-17T09:52:34Z" msg="Mailbox created" /user remoteMailboxID=10 userID=63e5daa0-bf57-4428-ad9a-9a71fb3b9889 time="2026-09-17T09:52:34Z" msg="Mailbox created" /user remoteMailboxID=5 userID=63e5daa0-bf57-4428-ad9a-9a71fb3b9889 time="2026-09-17T09:52:34Z" msg="Mailbox created" /user remoteMailboxID=4 userID=63e5daa0-bf57-4428-ad9a-9a71fb3b9889 time="2026-09-17T09:52:34Z" msg="Synced labels" time="2026-09-17T09:52:34Z" msg="200 OK: POST https://127.0.0.1:46629/auth/v4/info" /manager time="2026-09-17T09:52:34Z" msg="200 OK: GET https://127.0.0.1:46629/mail/v4/messages/count" /client userID=679995a4-051c-4d96-9274-3164207a7eda time="2026-09-17T09:52:34Z" msg="Syncing messages" time="2026-09-17T09:52:34Z" msg="Job started" time="2026-09-17T09:52:34Z" msg="200 OK: POST https://127.0.0.1:46629/mail/v4/messages" /client userID=679995a4-051c-4d96-9274-3164207a7eda time="2026-09-17T09:52:34Z" msg="Job finished" time="2026-09-17T09:52:34Z" msg="All child jobs completed" sync- time="2026-09-17T09:52:34Z" msg="Synced messages" time="2026-09-17T09:52:34Z" msg="Finished user sync" .808964ms time="2026-09-17T09:52:34Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:52:34Z" msg="Event loop reset" eventID="Ag==" time="2026-09-17T09:52:34Z" msg="200 OK: POST https://127.0.0.1:46629/auth/v4" /manager time="2026-09-17T09:52:34Z" msg="Logging in authorized user" /user userID=3937258a-0cf8-4dfd-b471-ae8eeb63e878 time="2026-09-17T09:52:34Z" msg="Adding vault user" userID=3937258a-0cf8-4dfd-b471-ae8eeb63e878 time="2026-09-17T09:52:34Z" msg="Creating new user" userID=3937258a-0cf8-4dfd-b471-ae8eeb63e878 time="2026-09-17T09:52:34Z" msg="404 GET https://127.0.0.1:46629/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:52:34Z" msg="404 GET https://127.0.0.1:46629/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:52:34Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:46629/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:52:34Z" msg="Creating user object" authUID=dbb1dacc-0a20-4635-8c11-125e8d7afc42 numA numL userID=3937258a-0cf8-4dfd-b471-ae8eeb63e878 time="2026-09-17T09:52:34Z" msg="200 OK: GET https://127.0.0.1:46629/core/v4/events/latest" /client userID=3937258a-0cf8-4dfd-b471-ae8eeb63e878 time="2026-09-17T09:52:34Z" msg="Starting service Last EventID=Aw==" time="2026-09-17T09:52:34Z" msg="200 OK: GET https://127.0.0.1:46629/core/v4/settings" /client userID=3937258a-0cf8-4dfd-b471-ae8eeb63e878 time="2026-09-17T09:52:34Z" msg="Registering user client, ID:3937258a-0cf8-4dfd-b471-ae8eeb63e878" time="2026-09-17T09:52:34Z" msg="Starting user identity service" numA time="2026-09-17T09:52:34Z" msg="Starting service main loop" time="2026-09-17T09:52:34Z" msg="Starting service main loop" time="2026-09-17T09:52:34Z" msg="Starting service main loop" time="2026-09-17T09:52:34Z" msg="200 OK: GET https://127.0.0.1:46629/core/v4/labels?T" /client userID=3937258a-0cf8-4dfd-b471-ae8eeb63e878 time="2026-09-17T09:52:34Z" msg="200 OK: GET https://127.0.0.1:46629/core/v4/labels?T" /client userID=3937258a-0cf8-4dfd-b471-ae8eeb63e878 time="2026-09-17T09:52:34Z" msg="200 OK: GET https://127.0.0.1:46629/core/v4/labels?T" /client userID=3937258a-0cf8-4dfd-b471-ae8eeb63e878 time="2026-09-17T09:52:34Z" msg="Setting labels" labelIDs="[6 7 8 10 1 2 4 9 12 0 3 5]" time="2026-09-17T09:52:34Z" msg="Adding user to imap server" addrID=6bdc8204-9dd7-48e2-be11-6a2a0439066a time="2026-09-17T09:52:34Z" msg="Creating new IMAP user" addrID=6bdc8204-9dd7-48e2-be11-6a2a0439066a time="2026-09-17T09:52:34Z" msg="Setting gluon ID" addrID=6bdc8204-9dd7-48e2-be11-6a2a0439066a gluonID=fbeefd24-c02d-4cc3-8763-def9acbde353 userID=3937258a-0cf8-4dfd-b471-ae8eeb63e878 time="2026-09-17T09:52:34Z" msg="Received mailbox message count" gluonID=fbeefd24-c02d-4cc3-8763-def9acbde353 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:52:34Z" msg="Created new IMAP user" addrID=6bdc8204-9dd7-48e2-be11-6a2a0439066a gluonID=fbeefd24-c02d-4cc3-8763-def9acbde353 time="2026-09-17T09:52:34Z" msg="Validating Listener State" time="2026-09-17T09:52:34Z" time="2026-09-17T09:52:34Z" msg="Starting IMAP Service" time="2026-09-17T09:52:34Z" msg="Checking whether logged in user should re-sync. UserID:3937258a-0cf8-4dfd-b471-ae8eeb63e878" userID=3937258a-0cf8-4dfd-b471-ae8eeb63e878 time="2026-09-17T09:52:34Z" msg="Sync triggered" time="2026-09-17T09:52:34Z" msg="Beginning user sync" start="2026-09-17 09:52:34.981104848 +0000 UTC m=+443.473407144" time="2026-09-17T09:52:34Z" msg="Syncing labels" time="2026-09-17T09:52:34Z" msg="Sending observability data." time="2026-09-17T09:52:34Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=fbeefd24-c02d-4cc3-8763-def9acbde353 time="2026-09-17T09:52:34Z" msg="200 OK: GET https://127.0.0.1:46629/mail/v4/settings" /client userID=7755c58f-989a-493e-a1ef-f4d2a44fb0ce time="2026-09-17T09:52:34Z" msg="200 OK: POST https://127.0.0.1:46629/data/v1/metrics" /client userID=7755c58f-989a-493e-a1ef-f4d2a44fb0ce time="2026-09-17T09:52:34Z" msg="Successfully sent observability data." time="2026-09-17T09:52:34Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=fbeefd24-c02d-4cc3-8763-def9acbde353 time="2026-09-17T09:52:34Z" msg="Mailbox created" /user remoteMailboxID=0 userID=fbeefd24-c02d-4cc3-8763-def9acbde353 time="2026-09-17T09:52:34Z" msg="Mailbox created" /user remoteMailboxID=3 userID=fbeefd24-c02d-4cc3-8763-def9acbde353 time="2026-09-17T09:52:34Z" msg="Mailbox created" /user remoteMailboxID=5 userID=fbeefd24-c02d-4cc3-8763-def9acbde353 time="2026-09-17T09:52:34Z" msg="Mailbox created" /user remoteMailboxID=8 userID=fbeefd24-c02d-4cc3-8763-def9acbde353 time="2026-09-17T09:52:34Z" msg="Mailbox created" /user remoteMailboxID=10 userID=fbeefd24-c02d-4cc3-8763-def9acbde353 time="2026-09-17T09:52:34Z" msg="Mailbox created" /user remoteMailboxID=6 userID=fbeefd24-c02d-4cc3-8763-def9acbde353 time="2026-09-17T09:52:34Z" msg="Mailbox created" /user remoteMailboxID=7 userID=fbeefd24-c02d-4cc3-8763-def9acbde353 time="2026-09-17T09:52:34Z" msg="Mailbox created" /user remoteMailboxID=4 userID=fbeefd24-c02d-4cc3-8763-def9acbde353 time="2026-09-17T09:52:34Z" msg="Mailbox created" /user remoteMailboxID=12 userID=fbeefd24-c02d-4cc3-8763-def9acbde353 time="2026-09-17T09:52:34Z" msg="Synced labels" time="2026-09-17T09:52:34Z" msg="200 OK: GET https://127.0.0.1:46629/mail/v4/messages/count" /client userID=3937258a-0cf8-4dfd-b471-ae8eeb63e878 time="2026-09-17T09:52:34Z" msg="Syncing messages" time="2026-09-17T09:52:34Z" msg="Job started" time="2026-09-17T09:52:34Z" msg="200 OK: POST https://127.0.0.1:46629/mail/v4/messages" /client userID=3937258a-0cf8-4dfd-b471-ae8eeb63e878 time="2026-09-17T09:52:34Z" msg="Job finished" time="2026-09-17T09:52:34Z" msg="All child jobs completed" sync- time="2026-09-17T09:52:34Z" msg="Synced messages" time="2026-09-17T09:52:34Z" msg="Finished user sync" .689358ms time="2026-09-17T09:52:34Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:52:34Z" msg="Event loop reset" eventID="Aw==" time="2026-09-17T09:52:34Z" msg="200 OK: POST https://127.0.0.1:46629/mail/v4/messages" /client userID=7755c58f-989a-493e-a1ef-f4d2a44fb0ce time="2026-09-17T09:52:34Z" msg="200 OK: GET https://127.0.0.1:46629/core/v4/keys?E%40proton.local" /client userID=7755c58f-989a-493e-a1ef-f4d2a44fb0ce time="2026-09-17T09:52:34Z" msg="200 OK: GET https://127.0.0.1:46629/contacts/v4/emails?E%40proton.local&P&PageS" /client userID=7755c58f-989a-493e-a1ef-f4d2a44fb0ce time="2026-09-17T09:52:34Z" msg="200 OK: POST https://127.0.0.1:46629/mail/v4/messages/333f34ae-f342-4ab6-9413-6f60a0b5062d" /client userID=7755c58f-989a-493e-a1ef-f4d2a44fb0ce time="2026-09-17T09:52:34Z" msg="Scheduling observability data sending" Scenario: Send message only to bcc # features/smtp/send/bcc.feature:51 When SMTP client "1" sends the following message from "b3cfc0df-45f0-43e0-aedf-09e3fe0553bd@proton.local" to "373d6660-05d9-4641-a108-e94c02622172@proton.local": # :1 -> *scenario """ Subject: hello From: Bridge Test <[user:user]@[domain]> hello """ Then it succeeds # :1 -> *scenario When user "b3cfc0df-45f0-43e0-aedf-09e3fe0553bd" connects and authenticates IMAP client "1" # :1 -> *scenario time="2026-09-17T09:52:35Z" msg="200 OK: GET https://127.0.0.1:46629/core/v4/events/AA==" /client userID=7755c58f-989a-493e-a1ef-f4d2a44fb0ce time="2026-09-17T09:52:35Z" msg="Received new API event" new="Event BQ==: messages: , , " old="AA==" time="2026-09-17T09:52:35Z" msg="Handling message created event" messageID=333f34ae-f342-4ab6-9413-6f60a0b5062d subject="******** (2cf24dba)" time="2026-09-17T09:52:35Z" msg="200 OK: GET https://127.0.0.1:46629/mail/v4/messages/333f34ae-f342-4ab6-9413-6f60a0b5062d" /client userID=7755c58f-989a-493e-a1ef-f4d2a44fb0ce time="2026-09-17T09:52:35Z" msg="Handling draft or sent updated event" isD messageID=333f34ae-f342-4ab6-9413-6f60a0b5062d subject="******** (2cf24dba)" time="2026-09-17T09:52:35Z" msg="200 OK: GET https://127.0.0.1:46629/mail/v4/messages/333f34ae-f342-4ab6-9413-6f60a0b5062d" /client userID=7755c58f-989a-493e-a1ef-f4d2a44fb0ce Then IMAP client "1" eventually sees the following messages in "Sent": # :1 -> *scenario | from | to | bcc | subject | | b3cfc0df-45f0-43e0-aedf-09e3fe0553bd@proton.local | | 373d6660-05d9-4641-a108-e94c02622172@proton.local | hello | And the body in the "POST" request to "/mail/v4/messages" is: # :1 -> *scenario """ { "Message": { "Subject": "hello", "ToList": [], "CCList": [], "BCCList": [ { "Address": "[user:bcc]@[domain]" } ] } } """ When user "373d6660-05d9-4641-a108-e94c02622172" connects and authenticates IMAP client "2" # :1 -> *scenario time="2026-09-17T09:52:35Z" msg="200 OK: GET https://127.0.0.1:46629/core/v4/events/Ag==" /client userID=679995a4-051c-4d96-9274-3164207a7eda time="2026-09-17T09:52:35Z" msg="Received new API event" new="Event Bg==: messages: , , " old="Ag==" time="2026-09-17T09:52:35Z" msg="Handling message created event" messageID=13319515-33f1-48c6-9a8a-3bf10fa48f2f subject="******** (2cf24dba)" time="2026-09-17T09:52:35Z" msg="200 OK: GET https://127.0.0.1:46629/mail/v4/messages/13319515-33f1-48c6-9a8a-3bf10fa48f2f" /client userID=679995a4-051c-4d96-9274-3164207a7eda time="2026-09-17T09:52:35Z" msg="Frontend service stopped" time="2026-09-17T09:52:35Z" msg="Frontend client stopped" time="2026-09-17T09:52:35Z" msg="Closing bridge" time="2026-09-17T09:52:35Z" msg="Stopping service" time="2026-09-17T09:52:35Z" msg="Closing user" userID=7755c58f-989a-493e-a1ef-f4d2a44fb0ce time="2026-09-17T09:52:35Z" msg="De-registering user client, ID:7755c58f-989a-493e-a1ef-f4d2a44fb0ce" time="2026-09-17T09:52:35Z" msg="Exiting IMAP Service" time="2026-09-17T09:52:35Z" msg="Exiting service main loop" time="2026-09-17T09:52:35Z" msg="Exiting service main loop" time="2026-09-17T09:52:35Z" msg="Exiting Service" time="2026-09-17T09:52:35Z" msg="Exiting service main loop" time="2026-09-17T09:52:35Z" msg="Exiting service" time="2026-09-17T09:52:35Z" msg="Closing user" userID=679995a4-051c-4d96-9274-3164207a7eda time="2026-09-17T09:52:35Z" msg="De-registering user client, ID:679995a4-051c-4d96-9274-3164207a7eda" time="2026-09-17T09:52:35Z" msg="Exiting IMAP Service" time="2026-09-17T09:52:35Z" msg="Exiting service main loop" time="2026-09-17T09:52:35Z" msg="Exiting service main loop" time="2026-09-17T09:52:35Z" msg="Exiting Service" time="2026-09-17T09:52:35Z" msg="Exiting service main loop" time="2026-09-17T09:52:35Z" msg="Exiting service" time="2026-09-17T09:52:35Z" msg="Closing user" userID=3937258a-0cf8-4dfd-b471-ae8eeb63e878 time="2026-09-17T09:52:35Z" msg="De-registering user client, ID:3937258a-0cf8-4dfd-b471-ae8eeb63e878" time="2026-09-17T09:52:35Z" msg="Exiting IMAP Service" time="2026-09-17T09:52:35Z" msg="Exiting service main loop" time="2026-09-17T09:52:35Z" msg="Exiting service main loop" time="2026-09-17T09:52:35Z" msg="Exiting Service" time="2026-09-17T09:52:35Z" msg="Exiting service main loop" time="2026-09-17T09:52:35Z" msg="Exiting service" time="2026-09-17T09:52:35Z" msg="Closing IMAP Listener" time="2026-09-17T09:52:35Z" msg="Closing IMAP server" time="2026-09-17T09:52:35Z" msg="Closing SMTP Listener" time="2026-09-17T09:52:35Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:52:35Z" msg="Closing SMTP server" time="2026-09-17T09:52:35Z" msg="Closing service" Then IMAP client "2" eventually sees the following messages in "Inbox": # :1 -> *scenario | from | to | bcc | subject | unread | | b3cfc0df-45f0-43e0-aedf-09e3fe0553bd@proton.local | | | hello | true | time="2026-09-17T09:52:35Z" msg="User '01f1692b-85e1-4ade-8285-58e6c9f2eace' created with " /server/backend time="2026-09-17T09:52:36Z" msg="User '8537c090-8eab-423d-93b2-acc3c021cb3e' created with " /server/backend time="2026-09-17T09:52:37Z" msg="User 'ecb11142-e84e-4933-8772-74f15d31161e' created with " /server/backend time="2026-09-17T09:52:37Z" msg="User '54422ba7-0f94-4c13-9c49-2f4afc5fa299' created with " /server/backend time="2026-09-17T09:52:38Z" msg="Starting bridge" time="2026-09-17T09:52:38Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/199/config4025210911/grpcFocusServerConfig.json /service time="2026-09-17T09:52:38Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/199/cache2061514101/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:52:38Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/199/cache2061514101/notifications/notification_cache: no such file or directory" time="2026-09-17T09:52:38Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/199/data2820990799/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/199/data2820990799/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:52:38Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:52:38Z" msg="Starting IMAP server" time="2026-09-17T09:52:38Z" msg="Starting SMTP server" time="2026-09-17T09:52:38Z" msg="Starting service" time="2026-09-17T09:52:38Z" msg="Starting service" time="2026-09-17T09:52:38Z" msg="Starting poll service" time="2026-09-17T09:52:38Z" msg="Starting frontend service" time="2026-09-17T09:52:38Z" msg="Checking for updates" time="2026-09-17T09:52:38Z" msg="Starting receiver service" time="2026-09-17T09:52:38Z" msg="Loading users" /user time="2026-09-17T09:52:38Z" msg="Finished loading users" /user time="2026-09-17T09:52:38Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/199/config4025210911/grpcServerConfig.json time="2026-09-17T09:52:38Z" msg="gRPC server listening on /tmp/bridge4518" time="2026-09-17T09:52:38Z" msg="Frontend service started" time="2026-09-17T09:52:38Z" msg="Starting frontend client" time="2026-09-17T09:52:38Z" msg="Not monitoring parent PID" time="2026-09-17T09:52:38Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:52:38Z" msg="Frontend client started" time="2026-09-17T09:52:38Z" msg="Performing full user login" /user username="******** (69277f9d)" time="2026-09-17T09:52:38Z" msg="Authorizing user for login" /user username="******** (69277f9d)" time="2026-09-17T09:52:38Z" msg="200 OK: GET https://127.0.0.1:35619/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:52:38Z" msg="200 OK: POST https://127.0.0.1:35619/auth/v4/info" /manager time="2026-09-17T09:52:38Z" msg="200 OK: POST https://127.0.0.1:35619/auth/v4" /manager time="2026-09-17T09:52:38Z" msg="Logging in authorized user" /user userID=9361551f-2c6e-4c91-a6de-7d018402df69 time="2026-09-17T09:52:38Z" msg="Adding vault user" userID=9361551f-2c6e-4c91-a6de-7d018402df69 time="2026-09-17T09:52:38Z" msg="Creating new user" userID=9361551f-2c6e-4c91-a6de-7d018402df69 time="2026-09-17T09:52:38Z" msg="404 GET https://127.0.0.1:35619/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:52:38Z" msg="404 GET https://127.0.0.1:35619/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:52:38Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:35619/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:52:38Z" msg="Creating user object" authUID=0d1ddcb5-a135-44e5-a04c-d55bdcc4b09b numA numL userID=9361551f-2c6e-4c91-a6de-7d018402df69 time="2026-09-17T09:52:38Z" msg="200 OK: GET https://127.0.0.1:35619/core/v4/events/latest" /client userID=9361551f-2c6e-4c91-a6de-7d018402df69 time="2026-09-17T09:52:38Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:52:38Z" msg="200 OK: GET https://127.0.0.1:35619/core/v4/settings" /client userID=9361551f-2c6e-4c91-a6de-7d018402df69 time="2026-09-17T09:52:38Z" msg="Registering user client, ID:9361551f-2c6e-4c91-a6de-7d018402df69" time="2026-09-17T09:52:38Z" msg="Starting user identity service" numA time="2026-09-17T09:52:38Z" msg="Starting service main loop" time="2026-09-17T09:52:38Z" msg="Starting service main loop" time="2026-09-17T09:52:38Z" msg="Starting service main loop" time="2026-09-17T09:52:38Z" msg="200 OK: GET https://127.0.0.1:35619/core/v4/labels?T" /client userID=9361551f-2c6e-4c91-a6de-7d018402df69 time="2026-09-17T09:52:38Z" msg="200 OK: GET https://127.0.0.1:35619/core/v4/labels?T" /client userID=9361551f-2c6e-4c91-a6de-7d018402df69 time="2026-09-17T09:52:38Z" msg="200 OK: GET https://127.0.0.1:35619/core/v4/labels?T" /client userID=9361551f-2c6e-4c91-a6de-7d018402df69 time="2026-09-17T09:52:38Z" msg="Setting labels" labelIDs="[3 4 12 1 2 5 6 7 8 9 10 0]" time="2026-09-17T09:52:38Z" msg="Adding user to imap server" addrID=da77ef56-5b55-401a-8307-39a56adc6cde time="2026-09-17T09:52:38Z" msg="Creating new IMAP user" addrID=da77ef56-5b55-401a-8307-39a56adc6cde time="2026-09-17T09:52:38Z" msg="Setting gluon ID" addrID=da77ef56-5b55-401a-8307-39a56adc6cde gluonID=f8e39919-ac20-4a0f-9002-fcab9f6f9a65 userID=9361551f-2c6e-4c91-a6de-7d018402df69 time="2026-09-17T09:52:38Z" msg="Received mailbox message count" gluonID=f8e39919-ac20-4a0f-9002-fcab9f6f9a65 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:52:38Z" msg="Created new IMAP user" addrID=da77ef56-5b55-401a-8307-39a56adc6cde gluonID=f8e39919-ac20-4a0f-9002-fcab9f6f9a65 time="2026-09-17T09:52:38Z" msg="Validating Listener State" time="2026-09-17T09:52:38Z" time="2026-09-17T09:52:38Z" msg="Starting IMAP Service" time="2026-09-17T09:52:38Z" msg="Checking whether logged in user should re-sync. UserID:9361551f-2c6e-4c91-a6de-7d018402df69" userID=9361551f-2c6e-4c91-a6de-7d018402df69 time="2026-09-17T09:52:38Z" msg="Sync triggered" time="2026-09-17T09:52:38Z" msg="Beginning user sync" start="2026-09-17 09:52:38.568815049 +0000 UTC m=+447.061117345" time="2026-09-17T09:52:38Z" msg="Performing full user login" /user username="******** (f1daded8)" time="2026-09-17T09:52:38Z" msg="Authorizing user for login" /user username="******** (f1daded8)" time="2026-09-17T09:52:38Z" msg="Syncing labels" time="2026-09-17T09:52:38Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=f8e39919-ac20-4a0f-9002-fcab9f6f9a65 time="2026-09-17T09:52:38Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=f8e39919-ac20-4a0f-9002-fcab9f6f9a65 time="2026-09-17T09:52:38Z" msg="Mailbox created" /user remoteMailboxID=5 userID=f8e39919-ac20-4a0f-9002-fcab9f6f9a65 time="2026-09-17T09:52:38Z" msg="Mailbox created" /user remoteMailboxID=7 userID=f8e39919-ac20-4a0f-9002-fcab9f6f9a65 time="2026-09-17T09:52:38Z" msg="Mailbox created" /user remoteMailboxID=8 userID=f8e39919-ac20-4a0f-9002-fcab9f6f9a65 time="2026-09-17T09:52:38Z" msg="Mailbox created" /user remoteMailboxID=3 userID=f8e39919-ac20-4a0f-9002-fcab9f6f9a65 time="2026-09-17T09:52:38Z" msg="Mailbox created" /user remoteMailboxID=12 userID=f8e39919-ac20-4a0f-9002-fcab9f6f9a65 time="2026-09-17T09:52:38Z" msg="Mailbox created" /user remoteMailboxID=6 userID=f8e39919-ac20-4a0f-9002-fcab9f6f9a65 time="2026-09-17T09:52:38Z" msg="Mailbox created" /user remoteMailboxID=10 userID=f8e39919-ac20-4a0f-9002-fcab9f6f9a65 time="2026-09-17T09:52:38Z" msg="Mailbox created" /user remoteMailboxID=0 userID=f8e39919-ac20-4a0f-9002-fcab9f6f9a65 time="2026-09-17T09:52:38Z" msg="Mailbox created" /user remoteMailboxID=4 userID=f8e39919-ac20-4a0f-9002-fcab9f6f9a65 time="2026-09-17T09:52:38Z" msg="Synced labels" time="2026-09-17T09:52:38Z" msg="200 OK: POST https://127.0.0.1:35619/auth/v4/info" /manager time="2026-09-17T09:52:38Z" msg="200 OK: GET https://127.0.0.1:35619/mail/v4/messages/count" /client userID=9361551f-2c6e-4c91-a6de-7d018402df69 time="2026-09-17T09:52:38Z" msg="Syncing messages" time="2026-09-17T09:52:38Z" msg="Job started" time="2026-09-17T09:52:38Z" msg="200 OK: POST https://127.0.0.1:35619/mail/v4/messages" /client userID=9361551f-2c6e-4c91-a6de-7d018402df69 time="2026-09-17T09:52:38Z" msg="Job finished" time="2026-09-17T09:52:38Z" msg="All child jobs completed" sync- time="2026-09-17T09:52:38Z" msg="Synced messages" time="2026-09-17T09:52:38Z" msg="Finished user sync" .369806ms time="2026-09-17T09:52:38Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:52:38Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:52:38Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 6} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:52:38Z" msg="200 OK: POST https://127.0.0.1:35619/auth/v4" /manager time="2026-09-17T09:52:38Z" msg="Logging in authorized user" /user userID=a303cff7-e4a5-4a80-a04b-61389f12e6e7 time="2026-09-17T09:52:38Z" msg="Adding vault user" userID=a303cff7-e4a5-4a80-a04b-61389f12e6e7 time="2026-09-17T09:52:38Z" msg="Creating new user" userID=a303cff7-e4a5-4a80-a04b-61389f12e6e7 time="2026-09-17T09:52:38Z" msg="404 GET https://127.0.0.1:35619/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:52:38Z" msg="404 GET https://127.0.0.1:35619/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:52:38Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:35619/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:52:38Z" msg="Creating user object" authUID=73d66f9a-5b64-4d57-9726-16e8763993ea numA numL userID=a303cff7-e4a5-4a80-a04b-61389f12e6e7 time="2026-09-17T09:52:38Z" msg="200 OK: GET https://127.0.0.1:35619/core/v4/events/latest" /client userID=a303cff7-e4a5-4a80-a04b-61389f12e6e7 time="2026-09-17T09:52:38Z" msg="Starting service Last EventID=Ag==" time="2026-09-17T09:52:38Z" msg="200 OK: GET https://127.0.0.1:35619/core/v4/settings" /client userID=a303cff7-e4a5-4a80-a04b-61389f12e6e7 time="2026-09-17T09:52:38Z" msg="Registering user client, ID:a303cff7-e4a5-4a80-a04b-61389f12e6e7" time="2026-09-17T09:52:38Z" msg="Starting user identity service" numA time="2026-09-17T09:52:38Z" msg="Starting service main loop" time="2026-09-17T09:52:38Z" msg="Starting service main loop" time="2026-09-17T09:52:38Z" msg="Starting service main loop" time="2026-09-17T09:52:38Z" msg="200 OK: GET https://127.0.0.1:35619/core/v4/labels?T" /client userID=a303cff7-e4a5-4a80-a04b-61389f12e6e7 time="2026-09-17T09:52:38Z" msg="200 OK: GET https://127.0.0.1:35619/core/v4/labels?T" /client userID=a303cff7-e4a5-4a80-a04b-61389f12e6e7 time="2026-09-17T09:52:39Z" msg="200 OK: GET https://127.0.0.1:35619/core/v4/labels?T" /client userID=a303cff7-e4a5-4a80-a04b-61389f12e6e7 time="2026-09-17T09:52:39Z" msg="Setting labels" labelIDs="[0 1 2 3 6 8 9 10 4 5 7 12]" time="2026-09-17T09:52:39Z" msg="Adding user to imap server" addrID=6f2587d4-a429-4951-852f-82f2a4506488 time="2026-09-17T09:52:39Z" msg="Creating new IMAP user" addrID=6f2587d4-a429-4951-852f-82f2a4506488 time="2026-09-17T09:52:39Z" msg="Setting gluon ID" addrID=6f2587d4-a429-4951-852f-82f2a4506488 gluonID=73097e14-f1bb-404b-b81e-ce080dd2a1dc userID=a303cff7-e4a5-4a80-a04b-61389f12e6e7 time="2026-09-17T09:52:39Z" msg="Received mailbox message count" gluonID=73097e14-f1bb-404b-b81e-ce080dd2a1dc labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:52:39Z" msg="Created new IMAP user" addrID=6f2587d4-a429-4951-852f-82f2a4506488 gluonID=73097e14-f1bb-404b-b81e-ce080dd2a1dc time="2026-09-17T09:52:39Z" msg="Validating Listener State" time="2026-09-17T09:52:39Z" time="2026-09-17T09:52:39Z" msg="Performing full user login" /user username="******** (7d87765e)" time="2026-09-17T09:52:39Z" msg="Authorizing user for login" /user username="******** (7d87765e)" time="2026-09-17T09:52:39Z" msg="Starting IMAP Service" time="2026-09-17T09:52:39Z" msg="Sync triggered" time="2026-09-17T09:52:39Z" msg="Beginning user sync" start="2026-09-17 09:52:39.014480797 +0000 UTC m=+447.506783093" time="2026-09-17T09:52:39Z" msg="Checking whether logged in user should re-sync. UserID:a303cff7-e4a5-4a80-a04b-61389f12e6e7" userID=a303cff7-e4a5-4a80-a04b-61389f12e6e7 time="2026-09-17T09:52:39Z" msg="Syncing labels" time="2026-09-17T09:52:39Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=73097e14-f1bb-404b-b81e-ce080dd2a1dc time="2026-09-17T09:52:39Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=73097e14-f1bb-404b-b81e-ce080dd2a1dc time="2026-09-17T09:52:39Z" msg="Mailbox created" /user remoteMailboxID=0 userID=73097e14-f1bb-404b-b81e-ce080dd2a1dc time="2026-09-17T09:52:39Z" msg="Mailbox created" /user remoteMailboxID=3 userID=73097e14-f1bb-404b-b81e-ce080dd2a1dc time="2026-09-17T09:52:39Z" msg="Mailbox created" /user remoteMailboxID=8 userID=73097e14-f1bb-404b-b81e-ce080dd2a1dc time="2026-09-17T09:52:39Z" msg="Mailbox created" /user remoteMailboxID=4 userID=73097e14-f1bb-404b-b81e-ce080dd2a1dc time="2026-09-17T09:52:39Z" msg="Mailbox created" /user remoteMailboxID=6 userID=73097e14-f1bb-404b-b81e-ce080dd2a1dc time="2026-09-17T09:52:39Z" msg="Mailbox created" /user remoteMailboxID=10 userID=73097e14-f1bb-404b-b81e-ce080dd2a1dc time="2026-09-17T09:52:39Z" msg="Mailbox created" /user remoteMailboxID=5 userID=73097e14-f1bb-404b-b81e-ce080dd2a1dc time="2026-09-17T09:52:39Z" msg="Mailbox created" /user remoteMailboxID=7 userID=73097e14-f1bb-404b-b81e-ce080dd2a1dc time="2026-09-17T09:52:39Z" msg="Mailbox created" /user remoteMailboxID=12 userID=73097e14-f1bb-404b-b81e-ce080dd2a1dc time="2026-09-17T09:52:39Z" msg="Synced labels" time="2026-09-17T09:52:39Z" msg="200 OK: POST https://127.0.0.1:35619/auth/v4/info" /manager time="2026-09-17T09:52:39Z" msg="200 OK: GET https://127.0.0.1:35619/mail/v4/messages/count" /client userID=a303cff7-e4a5-4a80-a04b-61389f12e6e7 time="2026-09-17T09:52:39Z" msg="Syncing messages" time="2026-09-17T09:52:39Z" msg="Job started" time="2026-09-17T09:52:39Z" msg="200 OK: POST https://127.0.0.1:35619/mail/v4/messages" /client userID=a303cff7-e4a5-4a80-a04b-61389f12e6e7 time="2026-09-17T09:52:39Z" msg="Job finished" time="2026-09-17T09:52:39Z" msg="All child jobs completed" sync- time="2026-09-17T09:52:39Z" msg="Synced messages" time="2026-09-17T09:52:39Z" msg="Finished user sync" .100716ms time="2026-09-17T09:52:39Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:52:39Z" msg="Event loop reset" eventID="Ag==" time="2026-09-17T09:52:39Z" msg="200 OK: POST https://127.0.0.1:35619/auth/v4" /manager time="2026-09-17T09:52:39Z" msg="Logging in authorized user" /user userID=7fbed2a3-12a5-4b86-974f-623bdddcb0d0 time="2026-09-17T09:52:39Z" msg="Adding vault user" userID=7fbed2a3-12a5-4b86-974f-623bdddcb0d0 time="2026-09-17T09:52:39Z" msg="Creating new user" userID=7fbed2a3-12a5-4b86-974f-623bdddcb0d0 time="2026-09-17T09:52:39Z" msg="404 GET https://127.0.0.1:35619/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:52:39Z" msg="404 GET https://127.0.0.1:35619/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:52:39Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:35619/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:52:39Z" msg="Creating user object" authUID=8fa28dae-b414-440c-bdb8-8efa7bcf5f62 numA numL userID=7fbed2a3-12a5-4b86-974f-623bdddcb0d0 time="2026-09-17T09:52:39Z" msg="200 OK: GET https://127.0.0.1:35619/core/v4/events/latest" /client userID=7fbed2a3-12a5-4b86-974f-623bdddcb0d0 time="2026-09-17T09:52:39Z" msg="Starting service Last EventID=Aw==" time="2026-09-17T09:52:39Z" msg="200 OK: GET https://127.0.0.1:35619/core/v4/settings" /client userID=7fbed2a3-12a5-4b86-974f-623bdddcb0d0 time="2026-09-17T09:52:39Z" msg="Registering user client, ID:7fbed2a3-12a5-4b86-974f-623bdddcb0d0" time="2026-09-17T09:52:39Z" msg="Starting user identity service" numA time="2026-09-17T09:52:39Z" msg="Starting service main loop" time="2026-09-17T09:52:39Z" msg="Starting service main loop" time="2026-09-17T09:52:39Z" msg="Starting service main loop" time="2026-09-17T09:52:39Z" msg="200 OK: GET https://127.0.0.1:35619/core/v4/labels?T" /client userID=7fbed2a3-12a5-4b86-974f-623bdddcb0d0 time="2026-09-17T09:52:39Z" msg="200 OK: GET https://127.0.0.1:35619/core/v4/labels?T" /client userID=7fbed2a3-12a5-4b86-974f-623bdddcb0d0 time="2026-09-17T09:52:39Z" msg="200 OK: GET https://127.0.0.1:35619/core/v4/labels?T" /client userID=7fbed2a3-12a5-4b86-974f-623bdddcb0d0 time="2026-09-17T09:52:39Z" msg="Setting labels" labelIDs="[0 1 2 3 4 5 6 9 7 8 10 12]" time="2026-09-17T09:52:39Z" msg="Adding user to imap server" addrID=122049e2-1665-480c-b8a3-2c4b9fb8c916 time="2026-09-17T09:52:39Z" msg="Creating new IMAP user" addrID=122049e2-1665-480c-b8a3-2c4b9fb8c916 time="2026-09-17T09:52:39Z" msg="Setting gluon ID" addrID=122049e2-1665-480c-b8a3-2c4b9fb8c916 gluonID=c54eb31e-5f08-4f15-9b2f-2f8b6305ecaf userID=7fbed2a3-12a5-4b86-974f-623bdddcb0d0 time="2026-09-17T09:52:39Z" msg="Received mailbox message count" gluonID=c54eb31e-5f08-4f15-9b2f-2f8b6305ecaf labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:52:39Z" msg="Created new IMAP user" addrID=122049e2-1665-480c-b8a3-2c4b9fb8c916 gluonID=c54eb31e-5f08-4f15-9b2f-2f8b6305ecaf time="2026-09-17T09:52:39Z" msg="Validating Listener State" time="2026-09-17T09:52:39Z" time="2026-09-17T09:52:39Z" msg="Starting IMAP Service" time="2026-09-17T09:52:39Z" msg="Checking whether logged in user should re-sync. UserID:7fbed2a3-12a5-4b86-974f-623bdddcb0d0" userID=7fbed2a3-12a5-4b86-974f-623bdddcb0d0 time="2026-09-17T09:52:39Z" msg="Sync triggered" time="2026-09-17T09:52:39Z" msg="Beginning user sync" start="2026-09-17 09:52:39.450595302 +0000 UTC m=+447.942897638" time="2026-09-17T09:52:39Z" msg="Syncing labels" time="2026-09-17T09:52:39Z" msg="Sending observability data." time="2026-09-17T09:52:39Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=c54eb31e-5f08-4f15-9b2f-2f8b6305ecaf time="2026-09-17T09:52:39Z" msg="200 OK: GET https://127.0.0.1:35619/mail/v4/settings" /client userID=9361551f-2c6e-4c91-a6de-7d018402df69 time="2026-09-17T09:52:39Z" msg="200 OK: POST https://127.0.0.1:35619/data/v1/metrics" /client userID=9361551f-2c6e-4c91-a6de-7d018402df69 time="2026-09-17T09:52:39Z" msg="Successfully sent observability data." time="2026-09-17T09:52:39Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=c54eb31e-5f08-4f15-9b2f-2f8b6305ecaf time="2026-09-17T09:52:39Z" msg="Mailbox created" /user remoteMailboxID=8 userID=c54eb31e-5f08-4f15-9b2f-2f8b6305ecaf time="2026-09-17T09:52:39Z" msg="Mailbox created" /user remoteMailboxID=12 userID=c54eb31e-5f08-4f15-9b2f-2f8b6305ecaf time="2026-09-17T09:52:39Z" msg="Mailbox created" /user remoteMailboxID=0 userID=c54eb31e-5f08-4f15-9b2f-2f8b6305ecaf time="2026-09-17T09:52:39Z" msg="Mailbox created" /user remoteMailboxID=4 userID=c54eb31e-5f08-4f15-9b2f-2f8b6305ecaf time="2026-09-17T09:52:39Z" msg="Mailbox created" /user remoteMailboxID=6 userID=c54eb31e-5f08-4f15-9b2f-2f8b6305ecaf time="2026-09-17T09:52:39Z" msg="Mailbox created" /user remoteMailboxID=7 userID=c54eb31e-5f08-4f15-9b2f-2f8b6305ecaf time="2026-09-17T09:52:39Z" msg="Mailbox created" /user remoteMailboxID=10 userID=c54eb31e-5f08-4f15-9b2f-2f8b6305ecaf time="2026-09-17T09:52:39Z" msg="Mailbox created" /user remoteMailboxID=3 userID=c54eb31e-5f08-4f15-9b2f-2f8b6305ecaf time="2026-09-17T09:52:39Z" msg="Mailbox created" /user remoteMailboxID=5 userID=c54eb31e-5f08-4f15-9b2f-2f8b6305ecaf time="2026-09-17T09:52:39Z" msg="Synced labels" time="2026-09-17T09:52:39Z" msg="200 OK: GET https://127.0.0.1:35619/mail/v4/messages/count" /client userID=7fbed2a3-12a5-4b86-974f-623bdddcb0d0 time="2026-09-17T09:52:39Z" msg="Syncing messages" time="2026-09-17T09:52:39Z" msg="Job started" time="2026-09-17T09:52:39Z" msg="200 OK: POST https://127.0.0.1:35619/mail/v4/messages" /client userID=7fbed2a3-12a5-4b86-974f-623bdddcb0d0 time="2026-09-17T09:52:39Z" msg="Job finished" time="2026-09-17T09:52:39Z" msg="All child jobs completed" sync- time="2026-09-17T09:52:39Z" msg="Synced messages" time="2026-09-17T09:52:39Z" msg="Finished user sync" .768239ms time="2026-09-17T09:52:39Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:52:39Z" msg="Event loop reset" eventID="Aw==" time="2026-09-17T09:52:39Z" msg="200 OK: POST https://127.0.0.1:35619/mail/v4/messages" /client userID=9361551f-2c6e-4c91-a6de-7d018402df69 time="2026-09-17T09:52:39Z" msg="200 OK: GET https://127.0.0.1:35619/core/v4/keys?E%40proton.local" /client userID=9361551f-2c6e-4c91-a6de-7d018402df69 time="2026-09-17T09:52:39Z" msg="200 OK: GET https://127.0.0.1:35619/core/v4/keys?E%40proton.local" /client userID=9361551f-2c6e-4c91-a6de-7d018402df69 time="2026-09-17T09:52:39Z" msg="200 OK: GET https://127.0.0.1:35619/contacts/v4/emails?E%40proton.local&P&PageS" /client userID=9361551f-2c6e-4c91-a6de-7d018402df69 time="2026-09-17T09:52:39Z" msg="200 OK: GET https://127.0.0.1:35619/contacts/v4/emails?E%40proton.local&P&PageS" /client userID=9361551f-2c6e-4c91-a6de-7d018402df69 time="2026-09-17T09:52:39Z" msg="200 OK: POST https://127.0.0.1:35619/mail/v4/messages/6396685e-0776-4466-a467-26fde59e4f13" /client userID=9361551f-2c6e-4c91-a6de-7d018402df69 time="2026-09-17T09:52:39Z" msg="Scheduling observability data sending" Scenario: Send message to bcc and bcc2 # features/smtp/send/bcc.feature:85 When SMTP client "1" sends the following message from "01f1692b-85e1-4ade-8285-58e6c9f2eace@proton.local" to "ecb11142-e84e-4933-8772-74f15d31161e@proton.local, 54422ba7-0f94-4c13-9c49-2f4afc5fa299@proton.local": # :1 -> *scenario """ MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: <[user:user]@[domain]> Bcc: <[user:bcc]@[domain]>, <[user:bcc2]@[domain]> Subject: hi hello """ Then it succeeds # :1 -> *scenario When user "01f1692b-85e1-4ade-8285-58e6c9f2eace" connects and authenticates IMAP client "1" # :1 -> *scenario time="2026-09-17T09:52:39Z" msg="200 OK: GET https://127.0.0.1:35619/core/v4/events/AA==" /client userID=9361551f-2c6e-4c91-a6de-7d018402df69 time="2026-09-17T09:52:39Z" msg="Received new API event" new="Event BQ==: messages: , , " old="AA==" time="2026-09-17T09:52:39Z" msg="Handling message created event" messageID=6396685e-0776-4466-a467-26fde59e4f13 subject="******** (8f434346)" time="2026-09-17T09:52:39Z" msg="200 OK: GET https://127.0.0.1:35619/mail/v4/messages/6396685e-0776-4466-a467-26fde59e4f13" /client userID=9361551f-2c6e-4c91-a6de-7d018402df69 time="2026-09-17T09:52:39Z" msg="Handling draft or sent updated event" isD messageID=6396685e-0776-4466-a467-26fde59e4f13 subject="******** (8f434346)" time="2026-09-17T09:52:39Z" msg="200 OK: GET https://127.0.0.1:35619/mail/v4/messages/6396685e-0776-4466-a467-26fde59e4f13" /client userID=9361551f-2c6e-4c91-a6de-7d018402df69 Then IMAP client "1" eventually sees the following message in "Sent" with this structure: # :1 -> *scenario """ { "from": "[user:user]@[domain]", "BCC": "[user:bcc]@[domain]; [user:bcc2]@[domain]", "subject": "hi", "content":{ "content-type": "text/plain", "content-type-charset": "utf-8", "transfer-encoding": "quoted-printable", "body-is": "hello" } } """ When user "ecb11142-e84e-4933-8772-74f15d31161e" connects and authenticates IMAP client "2" # :1 -> *scenario time="2026-09-17T09:52:39Z" msg="200 OK: GET https://127.0.0.1:35619/core/v4/events/Ag==" /client userID=a303cff7-e4a5-4a80-a04b-61389f12e6e7 time="2026-09-17T09:52:39Z" msg="Received new API event" new="Event Bw==: messages: , , " old="Ag==" time="2026-09-17T09:52:39Z" msg="Handling message created event" messageID=e7fa34ea-1208-46dc-9414-3d2f98d45f4a subject="******** (8f434346)" time="2026-09-17T09:52:40Z" msg="200 OK: GET https://127.0.0.1:35619/mail/v4/messages/e7fa34ea-1208-46dc-9414-3d2f98d45f4a" /client userID=a303cff7-e4a5-4a80-a04b-61389f12e6e7 Then IMAP client "2" eventually sees the following messages in "Inbox": # :1 -> *scenario | from | to | bcc | subject | unread | | 01f1692b-85e1-4ade-8285-58e6c9f2eace@proton.local | | | hi | true | When user "54422ba7-0f94-4c13-9c49-2f4afc5fa299" connects and authenticates IMAP client "2" # :1 -> *scenario time="2026-09-17T09:52:40Z" msg="200 OK: GET https://127.0.0.1:35619/core/v4/events/Aw==" /client userID=7fbed2a3-12a5-4b86-974f-623bdddcb0d0 time="2026-09-17T09:52:40Z" msg="Received new API event" new="Event Bg==: messages: , , " old="Aw==" time="2026-09-17T09:52:40Z" msg="Handling message created event" messageID=eabfeab9-0c30-4869-afef-cb7e35367bfa subject="******** (8f434346)" time="2026-09-17T09:52:40Z" msg="200 OK: GET https://127.0.0.1:35619/mail/v4/messages/eabfeab9-0c30-4869-afef-cb7e35367bfa" /client userID=7fbed2a3-12a5-4b86-974f-623bdddcb0d0 time="2026-09-17T09:52:40Z" msg="Frontend service stopped" time="2026-09-17T09:52:40Z" msg="Frontend client stopped" time="2026-09-17T09:52:40Z" msg="Closing bridge" time="2026-09-17T09:52:40Z" msg="Stopping service" time="2026-09-17T09:52:40Z" msg="Closing user" userID=9361551f-2c6e-4c91-a6de-7d018402df69 time="2026-09-17T09:52:40Z" msg="De-registering user client, ID:9361551f-2c6e-4c91-a6de-7d018402df69" time="2026-09-17T09:52:40Z" msg="Exiting IMAP Service" time="2026-09-17T09:52:40Z" msg="Exiting service main loop" time="2026-09-17T09:52:40Z" msg="Exiting service main loop" time="2026-09-17T09:52:40Z" msg="Exiting Service" time="2026-09-17T09:52:40Z" msg="Exiting service main loop" time="2026-09-17T09:52:40Z" msg="Exiting service" time="2026-09-17T09:52:40Z" msg="Closing user" userID=a303cff7-e4a5-4a80-a04b-61389f12e6e7 time="2026-09-17T09:52:40Z" msg="De-registering user client, ID:a303cff7-e4a5-4a80-a04b-61389f12e6e7" time="2026-09-17T09:52:40Z" msg="Exiting IMAP Service" time="2026-09-17T09:52:40Z" msg="Exiting service main loop" time="2026-09-17T09:52:40Z" msg="Exiting service main loop" time="2026-09-17T09:52:40Z" msg="Exiting Service" time="2026-09-17T09:52:40Z" msg="Exiting service main loop" time="2026-09-17T09:52:40Z" msg="Exiting service" time="2026-09-17T09:52:40Z" msg="Closing user" userID=7fbed2a3-12a5-4b86-974f-623bdddcb0d0 time="2026-09-17T09:52:40Z" msg="De-registering user client, ID:7fbed2a3-12a5-4b86-974f-623bdddcb0d0" time="2026-09-17T09:52:40Z" msg="Exiting IMAP Service" time="2026-09-17T09:52:40Z" msg="Exiting service main loop" time="2026-09-17T09:52:40Z" msg="Exiting service main loop" time="2026-09-17T09:52:40Z" msg="Exiting Service" time="2026-09-17T09:52:40Z" msg="Exiting service main loop" time="2026-09-17T09:52:40Z" msg="Exiting service" time="2026-09-17T09:52:40Z" msg="Closing IMAP Listener" time="2026-09-17T09:52:40Z" msg="Closing IMAP server" time="2026-09-17T09:52:40Z" msg="Closing SMTP Listener" time="2026-09-17T09:52:40Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:52:40Z" msg="Closing SMTP server" time="2026-09-17T09:52:40Z" msg="Closing service" Then IMAP client "2" eventually sees the following messages in "Inbox": # :1 -> *scenario | from | to | bcc | subject | unread | | 01f1692b-85e1-4ade-8285-58e6c9f2eace@proton.local | | | hi | true | Feature: SMTP sending embedded message time="2026-09-17T09:52:40Z" msg="User '6c2ecb96-a3c4-4120-849d-5922518bc4f1' created with " /server/backend Background: Given there exists an account with username "6c2ecb96-a3c4-4120-849d-5922518bc4f1" and password "password" # :1 -> *scenario time="2026-09-17T09:52:41Z" msg="User 'faa583da-bb57-497e-ad75-492e48c54432' created with " /server/backend And there exists an account with username "faa583da-bb57-497e-ad75-492e48c54432" and password "password" # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:52:41Z" msg="Starting bridge" time="2026-09-17T09:52:41Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/200/config1801589086/grpcFocusServerConfig.json /service time="2026-09-17T09:52:41Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/200/cache1891550860/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:52:41Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/200/cache1891550860/notifications/notification_cache: no such file or directory" time="2026-09-17T09:52:41Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/200/data3157767644/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/200/data3157767644/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:52:41Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:52:41Z" msg="Starting IMAP server" time="2026-09-17T09:52:41Z" msg="Starting SMTP server" time="2026-09-17T09:52:41Z" msg="Starting service" time="2026-09-17T09:52:41Z" msg="Starting service" time="2026-09-17T09:52:41Z" msg="Starting frontend service" time="2026-09-17T09:52:41Z" msg="Starting poll service" time="2026-09-17T09:52:41Z" msg="Starting receiver service" time="2026-09-17T09:52:41Z" msg="Loading users" /user time="2026-09-17T09:52:41Z" msg="Checking for updates" time="2026-09-17T09:52:41Z" msg="Finished loading users" /user time="2026-09-17T09:52:41Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/200/config1801589086/grpcServerConfig.json time="2026-09-17T09:52:41Z" msg="gRPC server listening on /tmp/bridge3414" time="2026-09-17T09:52:41Z" msg="Frontend service started" time="2026-09-17T09:52:41Z" msg="Starting frontend client" time="2026-09-17T09:52:41Z" msg="Not monitoring parent PID" time="2026-09-17T09:52:41Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:52:41Z" msg="200 OK: GET https://127.0.0.1:36915/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:52:41Z" msg="Frontend client started" When bridge starts # :1 -> *scenario time="2026-09-17T09:52:41Z" msg="Performing full user login" /user username="******** (c54d34ab)" time="2026-09-17T09:52:41Z" msg="Authorizing user for login" /user username="******** (c54d34ab)" time="2026-09-17T09:52:41Z" msg="200 OK: POST https://127.0.0.1:36915/auth/v4/info" /manager time="2026-09-17T09:52:42Z" msg="200 OK: POST https://127.0.0.1:36915/auth/v4" /manager time="2026-09-17T09:52:42Z" msg="Logging in authorized user" /user userID=514f2e2a-776f-4faf-9a94-27b3e1e7c279 time="2026-09-17T09:52:42Z" msg="Adding vault user" userID=514f2e2a-776f-4faf-9a94-27b3e1e7c279 time="2026-09-17T09:52:42Z" msg="Creating new user" userID=514f2e2a-776f-4faf-9a94-27b3e1e7c279 time="2026-09-17T09:52:42Z" msg="404 GET https://127.0.0.1:36915/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:52:42Z" msg="404 GET https://127.0.0.1:36915/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:52:42Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:36915/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:52:42Z" msg="Creating user object" authUID=41ec9486-c29f-4b9b-a7e7-0602a994ba79 numA numL userID=514f2e2a-776f-4faf-9a94-27b3e1e7c279 time="2026-09-17T09:52:42Z" msg="200 OK: GET https://127.0.0.1:36915/core/v4/events/latest" /client userID=514f2e2a-776f-4faf-9a94-27b3e1e7c279 time="2026-09-17T09:52:42Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:52:42Z" msg="200 OK: GET https://127.0.0.1:36915/core/v4/settings" /client userID=514f2e2a-776f-4faf-9a94-27b3e1e7c279 time="2026-09-17T09:52:42Z" msg="Registering user client, ID:514f2e2a-776f-4faf-9a94-27b3e1e7c279" time="2026-09-17T09:52:42Z" msg="Starting service main loop" time="2026-09-17T09:52:42Z" msg="Starting user identity service" numA time="2026-09-17T09:52:42Z" msg="Starting service main loop" time="2026-09-17T09:52:42Z" msg="Starting service main loop" time="2026-09-17T09:52:42Z" msg="200 OK: GET https://127.0.0.1:36915/core/v4/labels?T" /client userID=514f2e2a-776f-4faf-9a94-27b3e1e7c279 time="2026-09-17T09:52:42Z" msg="200 OK: GET https://127.0.0.1:36915/core/v4/labels?T" /client userID=514f2e2a-776f-4faf-9a94-27b3e1e7c279 time="2026-09-17T09:52:42Z" msg="200 OK: GET https://127.0.0.1:36915/core/v4/labels?T" /client userID=514f2e2a-776f-4faf-9a94-27b3e1e7c279 time="2026-09-17T09:52:42Z" msg="Setting labels" labelIDs="[7 12 1 2 3 5 6 8 9 10 0 4]" time="2026-09-17T09:52:42Z" msg="Adding user to imap server" addrID=e16dd0c3-5073-4b77-8635-fd1ec51db96e time="2026-09-17T09:52:42Z" msg="Creating new IMAP user" addrID=e16dd0c3-5073-4b77-8635-fd1ec51db96e time="2026-09-17T09:52:42Z" msg="Setting gluon ID" addrID=e16dd0c3-5073-4b77-8635-fd1ec51db96e gluonID=ddfe8085-93db-44c4-bc72-fa410c205b2b userID=514f2e2a-776f-4faf-9a94-27b3e1e7c279 time="2026-09-17T09:52:42Z" msg="Received mailbox message count" gluonID=ddfe8085-93db-44c4-bc72-fa410c205b2b labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:52:42Z" msg="Created new IMAP user" addrID=e16dd0c3-5073-4b77-8635-fd1ec51db96e gluonID=ddfe8085-93db-44c4-bc72-fa410c205b2b time="2026-09-17T09:52:42Z" msg="Validating Listener State" time="2026-09-17T09:52:42Z" time="2026-09-17T09:52:42Z" msg="Checking whether logged in user should re-sync. UserID:514f2e2a-776f-4faf-9a94-27b3e1e7c279" userID=514f2e2a-776f-4faf-9a94-27b3e1e7c279 time="2026-09-17T09:52:42Z" msg="Starting IMAP Service" And the user logs in with username "6c2ecb96-a3c4-4120-849d-5922518bc4f1" and password "password" # :1 -> *scenario time="2026-09-17T09:52:42Z" msg="Sync triggered" time="2026-09-17T09:52:42Z" msg="Beginning user sync" start="2026-09-17 09:52:42.197852396 +0000 UTC m=+450.690154692" time="2026-09-17T09:52:42Z" msg="Performing full user login" /user username="******** (42493ac8)" time="2026-09-17T09:52:42Z" msg="Authorizing user for login" /user username="******** (42493ac8)" time="2026-09-17T09:52:42Z" msg="Syncing labels" time="2026-09-17T09:52:42Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=ddfe8085-93db-44c4-bc72-fa410c205b2b time="2026-09-17T09:52:42Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=ddfe8085-93db-44c4-bc72-fa410c205b2b time="2026-09-17T09:52:42Z" msg="Mailbox created" /user remoteMailboxID=7 userID=ddfe8085-93db-44c4-bc72-fa410c205b2b time="2026-09-17T09:52:42Z" msg="Mailbox created" /user remoteMailboxID=12 userID=ddfe8085-93db-44c4-bc72-fa410c205b2b time="2026-09-17T09:52:42Z" msg="Mailbox created" /user remoteMailboxID=6 userID=ddfe8085-93db-44c4-bc72-fa410c205b2b time="2026-09-17T09:52:42Z" msg="Mailbox created" /user remoteMailboxID=8 userID=ddfe8085-93db-44c4-bc72-fa410c205b2b time="2026-09-17T09:52:42Z" msg="Mailbox created" /user remoteMailboxID=10 userID=ddfe8085-93db-44c4-bc72-fa410c205b2b time="2026-09-17T09:52:42Z" msg="Mailbox created" /user remoteMailboxID=3 userID=ddfe8085-93db-44c4-bc72-fa410c205b2b time="2026-09-17T09:52:42Z" msg="Mailbox created" /user remoteMailboxID=5 userID=ddfe8085-93db-44c4-bc72-fa410c205b2b time="2026-09-17T09:52:42Z" msg="Mailbox created" /user remoteMailboxID=0 userID=ddfe8085-93db-44c4-bc72-fa410c205b2b time="2026-09-17T09:52:42Z" msg="Mailbox created" /user remoteMailboxID=4 userID=ddfe8085-93db-44c4-bc72-fa410c205b2b time="2026-09-17T09:52:42Z" msg="Synced labels" time="2026-09-17T09:52:42Z" msg="200 OK: GET https://127.0.0.1:36915/mail/v4/messages/count" /client userID=514f2e2a-776f-4faf-9a94-27b3e1e7c279 time="2026-09-17T09:52:42Z" msg="200 OK: POST https://127.0.0.1:36915/auth/v4/info" /manager time="2026-09-17T09:52:42Z" msg="Syncing messages" time="2026-09-17T09:52:42Z" msg="Job started" time="2026-09-17T09:52:42Z" msg="200 OK: POST https://127.0.0.1:36915/mail/v4/messages" /client userID=514f2e2a-776f-4faf-9a94-27b3e1e7c279 time="2026-09-17T09:52:42Z" msg="Job finished" time="2026-09-17T09:52:42Z" msg="All child jobs completed" sync- time="2026-09-17T09:52:42Z" msg="Synced messages" time="2026-09-17T09:52:42Z" msg="Finished user sync" .758764ms time="2026-09-17T09:52:42Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:52:42Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:52:42Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 9} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:52:42Z" msg="200 OK: POST https://127.0.0.1:36915/auth/v4" /manager time="2026-09-17T09:52:42Z" msg="Logging in authorized user" /user userID=a3394be8-19f3-4640-804c-ab0893510139 time="2026-09-17T09:52:42Z" msg="Adding vault user" userID=a3394be8-19f3-4640-804c-ab0893510139 time="2026-09-17T09:52:42Z" msg="Creating new user" userID=a3394be8-19f3-4640-804c-ab0893510139 time="2026-09-17T09:52:42Z" msg="404 GET https://127.0.0.1:36915/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:52:42Z" msg="404 GET https://127.0.0.1:36915/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:52:42Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:36915/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:52:42Z" msg="Creating user object" authUID=63138016-4ba7-46e8-91d8-0128e0864493 numA numL userID=a3394be8-19f3-4640-804c-ab0893510139 time="2026-09-17T09:52:42Z" msg="200 OK: GET https://127.0.0.1:36915/core/v4/events/latest" /client userID=a3394be8-19f3-4640-804c-ab0893510139 time="2026-09-17T09:52:42Z" msg="Starting service Last EventID=AQ==" time="2026-09-17T09:52:42Z" msg="200 OK: GET https://127.0.0.1:36915/core/v4/settings" /client userID=a3394be8-19f3-4640-804c-ab0893510139 time="2026-09-17T09:52:42Z" msg="Registering user client, ID:a3394be8-19f3-4640-804c-ab0893510139" time="2026-09-17T09:52:42Z" msg="Starting service main loop" time="2026-09-17T09:52:42Z" msg="Starting user identity service" numA time="2026-09-17T09:52:42Z" msg="Starting service main loop" time="2026-09-17T09:52:42Z" msg="Starting service main loop" time="2026-09-17T09:52:42Z" msg="200 OK: GET https://127.0.0.1:36915/core/v4/labels?T" /client userID=a3394be8-19f3-4640-804c-ab0893510139 time="2026-09-17T09:52:42Z" msg="200 OK: GET https://127.0.0.1:36915/core/v4/labels?T" /client userID=a3394be8-19f3-4640-804c-ab0893510139 time="2026-09-17T09:52:42Z" msg="200 OK: GET https://127.0.0.1:36915/core/v4/labels?T" /client userID=a3394be8-19f3-4640-804c-ab0893510139 time="2026-09-17T09:52:42Z" msg="Setting labels" labelIDs="[0 4 6 7 8 9 12 1 2 3 5 10]" time="2026-09-17T09:52:42Z" msg="Adding user to imap server" addrID=0d413ce1-51be-47d0-95f6-0565014280c6 time="2026-09-17T09:52:42Z" msg="Creating new IMAP user" addrID=0d413ce1-51be-47d0-95f6-0565014280c6 time="2026-09-17T09:52:42Z" msg="Setting gluon ID" addrID=0d413ce1-51be-47d0-95f6-0565014280c6 gluonID=91370161-7280-442e-bb61-d26fcccb870b userID=a3394be8-19f3-4640-804c-ab0893510139 time="2026-09-17T09:52:42Z" msg="Received mailbox message count" gluonID=91370161-7280-442e-bb61-d26fcccb870b labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:52:42Z" msg="Created new IMAP user" addrID=0d413ce1-51be-47d0-95f6-0565014280c6 gluonID=91370161-7280-442e-bb61-d26fcccb870b time="2026-09-17T09:52:42Z" msg="Validating Listener State" time="2026-09-17T09:52:42Z" time="2026-09-17T09:52:42Z" msg="Starting IMAP Service" time="2026-09-17T09:52:42Z" msg="Checking whether logged in user should re-sync. UserID:a3394be8-19f3-4640-804c-ab0893510139" userID=a3394be8-19f3-4640-804c-ab0893510139 And the user logs in with username "faa583da-bb57-497e-ad75-492e48c54432" and password "password" # :1 -> *scenario time="2026-09-17T09:52:42Z" msg="Sync triggered" time="2026-09-17T09:52:42Z" msg="Beginning user sync" start="2026-09-17 09:52:42.63124381 +0000 UTC m=+451.123546146" And user "6c2ecb96-a3c4-4120-849d-5922518bc4f1" connects and authenticates SMTP client "1" # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:52:42Z" msg="Syncing labels" time="2026-09-17T09:52:42Z" msg="Sending observability data." time="2026-09-17T09:52:42Z" msg="200 OK: POST https://127.0.0.1:36915/data/v1/metrics" /client userID=514f2e2a-776f-4faf-9a94-27b3e1e7c279 time="2026-09-17T09:52:42Z" msg="Successfully sent observability data." time="2026-09-17T09:52:42Z" msg="200 OK: GET https://127.0.0.1:36915/mail/v4/settings" /client userID=514f2e2a-776f-4faf-9a94-27b3e1e7c279 time="2026-09-17T09:52:42Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=91370161-7280-442e-bb61-d26fcccb870b time="2026-09-17T09:52:42Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=91370161-7280-442e-bb61-d26fcccb870b time="2026-09-17T09:52:42Z" msg="Mailbox created" /user remoteMailboxID=3 userID=91370161-7280-442e-bb61-d26fcccb870b time="2026-09-17T09:52:42Z" msg="Mailbox created" /user remoteMailboxID=5 userID=91370161-7280-442e-bb61-d26fcccb870b time="2026-09-17T09:52:42Z" msg="Mailbox created" /user remoteMailboxID=4 userID=91370161-7280-442e-bb61-d26fcccb870b time="2026-09-17T09:52:42Z" msg="Mailbox created" /user remoteMailboxID=6 userID=91370161-7280-442e-bb61-d26fcccb870b time="2026-09-17T09:52:42Z" msg="Mailbox created" /user remoteMailboxID=8 userID=91370161-7280-442e-bb61-d26fcccb870b time="2026-09-17T09:52:42Z" msg="Mailbox created" /user remoteMailboxID=10 userID=91370161-7280-442e-bb61-d26fcccb870b time="2026-09-17T09:52:42Z" msg="Mailbox created" /user remoteMailboxID=0 userID=91370161-7280-442e-bb61-d26fcccb870b time="2026-09-17T09:52:42Z" msg="Mailbox created" /user remoteMailboxID=7 userID=91370161-7280-442e-bb61-d26fcccb870b time="2026-09-17T09:52:42Z" msg="Mailbox created" /user remoteMailboxID=12 userID=91370161-7280-442e-bb61-d26fcccb870b time="2026-09-17T09:52:42Z" msg="Synced labels" time="2026-09-17T09:52:42Z" msg="200 OK: GET https://127.0.0.1:36915/mail/v4/messages/count" /client userID=a3394be8-19f3-4640-804c-ab0893510139 time="2026-09-17T09:52:42Z" msg="Syncing messages" time="2026-09-17T09:52:42Z" msg="Job started" time="2026-09-17T09:52:42Z" msg="200 OK: POST https://127.0.0.1:36915/mail/v4/messages" /client userID=a3394be8-19f3-4640-804c-ab0893510139 time="2026-09-17T09:52:42Z" msg="Job finished" time="2026-09-17T09:52:42Z" msg="All child jobs completed" sync- time="2026-09-17T09:52:42Z" msg="Synced messages" time="2026-09-17T09:52:42Z" msg="Finished user sync" .577762ms time="2026-09-17T09:52:42Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:52:42Z" msg="Event loop reset" eventID="AQ==" time="2026-09-17T09:52:42Z" msg="200 OK: POST https://127.0.0.1:36915/mail/v4/messages" /client userID=514f2e2a-776f-4faf-9a94-27b3e1e7c279 time="2026-09-17T09:52:42Z" msg="200 OK: POST https://127.0.0.1:36915/mail/v4/attachments" /client userID=514f2e2a-776f-4faf-9a94-27b3e1e7c279 time="2026-09-17T09:52:42Z" msg="200 OK: GET https://127.0.0.1:36915/core/v4/keys?E%40proton.local" /client userID=514f2e2a-776f-4faf-9a94-27b3e1e7c279 time="2026-09-17T09:52:42Z" msg="200 OK: GET https://127.0.0.1:36915/contacts/v4/emails?E%40proton.local&P&PageS" /client userID=514f2e2a-776f-4faf-9a94-27b3e1e7c279 time="2026-09-17T09:52:42Z" msg="200 OK: POST https://127.0.0.1:36915/mail/v4/messages/3639b3ee-7000-461e-8a3c-0894855a7407" /client userID=514f2e2a-776f-4faf-9a94-27b3e1e7c279 time="2026-09-17T09:52:42Z" msg="Scheduling observability data sending" Scenario: Send it # features/smtp/send/embedded_message.feature:12 When SMTP client "1" sends the following message from "6c2ecb96-a3c4-4120-849d-5922518bc4f1@proton.local" to "faa583da-bb57-497e-ad75-492e48c54432@proton.local": # :1 -> *scenario """ From: Bridge Test <[user:user]@[domain]> To: Internal Bridge <[user:to]@[domain]> Subject: Embedded message Content-Type: multipart/mixed; boundary="boundary" This is a multi-part message in MIME format. --boundary Content-Type: text/plain; Content-Transfer-Encoding: 7bit --boundary Content-Type: message/rfc822; name="embedded.eml" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="embedded.eml" From: Bar To: Bridge Test <[user:to]@pm.test> Subject: (No Subject) Content-Type: text/plain; Content-Transfer-Encoding: quoted-printable hello --boundary-- """ Then it succeeds # :1 -> *scenario When user "6c2ecb96-a3c4-4120-849d-5922518bc4f1" connects and authenticates IMAP client "1" # :1 -> *scenario time="2026-09-17T09:52:43Z" msg="200 OK: GET https://127.0.0.1:36915/core/v4/events/AA==" /client userID=514f2e2a-776f-4faf-9a94-27b3e1e7c279 time="2026-09-17T09:52:43Z" msg="Received new API event" new="Event BA==: messages: , , " old="AA==" time="2026-09-17T09:52:43Z" msg="Handling message created event" messageID=3639b3ee-7000-461e-8a3c-0894855a7407 subject="******** (7fdefc66)" time="2026-09-17T09:52:43Z" msg="200 OK: GET https://127.0.0.1:36915/mail/v4/messages/3639b3ee-7000-461e-8a3c-0894855a7407" /client userID=514f2e2a-776f-4faf-9a94-27b3e1e7c279 time="2026-09-17T09:52:43Z" msg="Handling draft or sent updated event" isD messageID=3639b3ee-7000-461e-8a3c-0894855a7407 subject="******** (7fdefc66)" time="2026-09-17T09:52:43Z" msg="200 OK: GET https://127.0.0.1:36915/mail/v4/messages/3639b3ee-7000-461e-8a3c-0894855a7407" /client userID=514f2e2a-776f-4faf-9a94-27b3e1e7c279 Then IMAP client "1" eventually sees the following messages in "Sent": # :1 -> *scenario | from | to | subject | | 6c2ecb96-a3c4-4120-849d-5922518bc4f1@proton.local | faa583da-bb57-497e-ad75-492e48c54432@proton.local | Embedded message | When user "faa583da-bb57-497e-ad75-492e48c54432" connects and authenticates IMAP client "2" # :1 -> *scenario time="2026-09-17T09:52:43Z" msg="200 OK: GET https://127.0.0.1:36915/core/v4/events/AQ==" /client userID=a3394be8-19f3-4640-804c-ab0893510139 time="2026-09-17T09:52:43Z" msg="Received new API event" new="Event BQ==: messages: , , " old="AQ==" time="2026-09-17T09:52:43Z" msg="Handling message created event" messageID=6c36f848-912a-4fda-8e96-55433745eb2e subject="******** (7fdefc66)" time="2026-09-17T09:52:43Z" msg="200 OK: GET https://127.0.0.1:36915/mail/v4/messages/6c36f848-912a-4fda-8e96-55433745eb2e" /client userID=a3394be8-19f3-4640-804c-ab0893510139 time="2026-09-17T09:52:43Z" msg="Frontend service stopped" time="2026-09-17T09:52:43Z" msg="Frontend client stopped" time="2026-09-17T09:52:43Z" msg="Closing bridge" time="2026-09-17T09:52:43Z" msg="Stopping service" time="2026-09-17T09:52:43Z" msg="Closing user" userID=514f2e2a-776f-4faf-9a94-27b3e1e7c279 time="2026-09-17T09:52:43Z" msg="De-registering user client, ID:514f2e2a-776f-4faf-9a94-27b3e1e7c279" time="2026-09-17T09:52:43Z" msg="Exiting IMAP Service" time="2026-09-17T09:52:43Z" msg="Exiting service main loop" time="2026-09-17T09:52:43Z" msg="Exiting service main loop" time="2026-09-17T09:52:43Z" msg="Exiting Service" time="2026-09-17T09:52:43Z" msg="Exiting service main loop" time="2026-09-17T09:52:43Z" msg="Exiting service" time="2026-09-17T09:52:43Z" msg="Closing user" userID=a3394be8-19f3-4640-804c-ab0893510139 time="2026-09-17T09:52:43Z" msg="De-registering user client, ID:a3394be8-19f3-4640-804c-ab0893510139" time="2026-09-17T09:52:43Z" msg="Exiting IMAP Service" time="2026-09-17T09:52:43Z" msg="Exiting service main loop" time="2026-09-17T09:52:43Z" msg="Exiting service main loop" time="2026-09-17T09:52:43Z" msg="Exiting Service" time="2026-09-17T09:52:43Z" msg="Exiting service main loop" time="2026-09-17T09:52:43Z" msg="Exiting service" time="2026-09-17T09:52:43Z" msg="Closing IMAP Listener" time="2026-09-17T09:52:43Z" msg="Closing IMAP server" time="2026-09-17T09:52:43Z" msg="Closing SMTP Listener" time="2026-09-17T09:52:43Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:52:43Z" msg="Closing SMTP server" time="2026-09-17T09:52:43Z" msg="Closing service" Then IMAP client "2" eventually sees the following messages in "Inbox": # :1 -> *scenario | from | to | subject | attachments | unread | | 6c2ecb96-a3c4-4120-849d-5922518bc4f1@proton.local | faa583da-bb57-497e-ad75-492e48c54432@proton.local | Embedded message | embedded.eml | true | Feature: SMTP wrong messages time="2026-09-17T09:52:43Z" msg="User '795b9181-82c3-40fa-beda-45ffc0571517' created with " /server/backend Background: Given there exists an account with username "795b9181-82c3-40fa-beda-45ffc0571517" and password "password" # :1 -> *scenario time="2026-09-17T09:52:44Z" msg="User 'bd9ee0f0-453b-42d3-b849-46cc8edd6739' created with " /server/backend And there exists an account with username "bd9ee0f0-453b-42d3-b849-46cc8edd6739" and password "password" # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:52:44Z" msg="Starting bridge" time="2026-09-17T09:52:44Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/201/config767875290/grpcFocusServerConfig.json /service time="2026-09-17T09:52:44Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/201/cache94904087/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:52:44Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/201/cache94904087/notifications/notification_cache: no such file or directory" time="2026-09-17T09:52:44Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/201/data1640624975/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/201/data1640624975/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:52:44Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:52:44Z" msg="Starting IMAP server" time="2026-09-17T09:52:44Z" msg="Starting SMTP server" time="2026-09-17T09:52:44Z" msg="Starting service" time="2026-09-17T09:52:44Z" msg="Starting service" time="2026-09-17T09:52:44Z" msg="Starting poll service" time="2026-09-17T09:52:44Z" msg="Checking for updates" time="2026-09-17T09:52:44Z" msg="Starting receiver service" time="2026-09-17T09:52:44Z" msg="Loading users" /user time="2026-09-17T09:52:44Z" msg="Starting frontend service" time="2026-09-17T09:52:44Z" msg="Finished loading users" /user time="2026-09-17T09:52:44Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/201/config767875290/grpcServerConfig.json time="2026-09-17T09:52:44Z" msg="gRPC server listening on /tmp/bridge5921" time="2026-09-17T09:52:44Z" msg="Frontend service started" time="2026-09-17T09:52:44Z" msg="Starting frontend client" time="2026-09-17T09:52:44Z" msg="Not monitoring parent PID" time="2026-09-17T09:52:44Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:52:44Z" msg="Frontend client started" When bridge starts # :1 -> *scenario time="2026-09-17T09:52:44Z" msg="200 OK: GET https://127.0.0.1:39985/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:52:44Z" msg="Performing full user login" /user username="******** (553bc221)" time="2026-09-17T09:52:44Z" msg="Authorizing user for login" /user username="******** (553bc221)" time="2026-09-17T09:52:44Z" msg="200 OK: POST https://127.0.0.1:39985/auth/v4/info" /manager time="2026-09-17T09:52:45Z" msg="200 OK: POST https://127.0.0.1:39985/auth/v4" /manager time="2026-09-17T09:52:45Z" msg="Logging in authorized user" /user userID=ab39224b-09af-4fd8-9ce4-88884c2d2548 time="2026-09-17T09:52:45Z" msg="Adding vault user" userID=ab39224b-09af-4fd8-9ce4-88884c2d2548 time="2026-09-17T09:52:45Z" msg="Creating new user" userID=ab39224b-09af-4fd8-9ce4-88884c2d2548 time="2026-09-17T09:52:45Z" msg="404 GET https://127.0.0.1:39985/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:52:45Z" msg="404 GET https://127.0.0.1:39985/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:52:45Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:39985/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:52:45Z" msg="Creating user object" authUID=8b7ddd60-1775-4760-b411-33d85d3f9c92 numA numL userID=ab39224b-09af-4fd8-9ce4-88884c2d2548 time="2026-09-17T09:52:45Z" msg="200 OK: GET https://127.0.0.1:39985/core/v4/events/latest" /client userID=ab39224b-09af-4fd8-9ce4-88884c2d2548 time="2026-09-17T09:52:45Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:52:45Z" msg="200 OK: GET https://127.0.0.1:39985/core/v4/settings" /client userID=ab39224b-09af-4fd8-9ce4-88884c2d2548 time="2026-09-17T09:52:45Z" msg="Registering user client, ID:ab39224b-09af-4fd8-9ce4-88884c2d2548" time="2026-09-17T09:52:45Z" msg="Starting service main loop" time="2026-09-17T09:52:45Z" msg="Starting user identity service" numA time="2026-09-17T09:52:45Z" msg="Starting service main loop" time="2026-09-17T09:52:45Z" msg="Starting service main loop" time="2026-09-17T09:52:45Z" msg="200 OK: GET https://127.0.0.1:39985/core/v4/labels?T" /client userID=ab39224b-09af-4fd8-9ce4-88884c2d2548 time="2026-09-17T09:52:45Z" msg="200 OK: GET https://127.0.0.1:39985/core/v4/labels?T" /client userID=ab39224b-09af-4fd8-9ce4-88884c2d2548 time="2026-09-17T09:52:45Z" msg="200 OK: GET https://127.0.0.1:39985/core/v4/labels?T" /client userID=ab39224b-09af-4fd8-9ce4-88884c2d2548 time="2026-09-17T09:52:45Z" msg="Setting labels" labelIDs="[12 0 1 2 3 5 6 7 8 4 9 10]" time="2026-09-17T09:52:45Z" msg="Adding user to imap server" addrID=f744de97-5ca6-4cd8-a4fb-e5273f56822a time="2026-09-17T09:52:45Z" msg="Creating new IMAP user" addrID=f744de97-5ca6-4cd8-a4fb-e5273f56822a time="2026-09-17T09:52:45Z" msg="Setting gluon ID" addrID=f744de97-5ca6-4cd8-a4fb-e5273f56822a gluonID=61c39d33-d36b-4791-929a-02721d4d5680 userID=ab39224b-09af-4fd8-9ce4-88884c2d2548 time="2026-09-17T09:52:45Z" msg="Received mailbox message count" gluonID=61c39d33-d36b-4791-929a-02721d4d5680 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:52:45Z" msg="Created new IMAP user" addrID=f744de97-5ca6-4cd8-a4fb-e5273f56822a gluonID=61c39d33-d36b-4791-929a-02721d4d5680 time="2026-09-17T09:52:45Z" msg="Validating Listener State" time="2026-09-17T09:52:45Z" time="2026-09-17T09:52:45Z" msg="Starting IMAP Service" And the user logs in with username "795b9181-82c3-40fa-beda-45ffc0571517" and password "password" # :1 -> *scenario time="2026-09-17T09:52:45Z" msg="Sync triggered" time="2026-09-17T09:52:45Z" msg="Beginning user sync" start="2026-09-17 09:52:45.364478443 +0000 UTC m=+453.856780739" time="2026-09-17T09:52:45Z" msg="Checking whether logged in user should re-sync. UserID:ab39224b-09af-4fd8-9ce4-88884c2d2548" userID=ab39224b-09af-4fd8-9ce4-88884c2d2548 time="2026-09-17T09:52:45Z" msg="Syncing labels" And user "795b9181-82c3-40fa-beda-45ffc0571517" connects and authenticates SMTP client "1" # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:52:45Z" msg="Sending observability data." time="2026-09-17T09:52:45Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=61c39d33-d36b-4791-929a-02721d4d5680 time="2026-09-17T09:52:45Z" msg="Send mail failed." error="failed to create parser: unexpected EOF" time="2026-09-17T09:52:45Z" msg="200 OK: POST https://127.0.0.1:39985/data/v1/metrics" /client userID=ab39224b-09af-4fd8-9ce4-88884c2d2548 time="2026-09-17T09:52:45Z" msg="Successfully sent observability data." Scenario: Message with attachment and wrong boundaries # features/smtp/send/failures.feature:11 time="2026-09-17T09:52:45Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=61c39d33-d36b-4791-929a-02721d4d5680 When SMTP client "1" sends the following message from "795b9181-82c3-40fa-beda-45ffc0571517@proton.local" to "bd9ee0f0-453b-42d3-b849-46cc8edd6739@proton.local": # :1 -> *scenario """ From: Bridge Test <[user:user]@[domain]> To: Internal Bridge <[user:to]@[domain]> Subject: With attachment (wrong boundaries) Content-Type: multipart/related; --bc5bd30245232f31b6c976adcd59bb0069c9b13f986f9e40c2571bb80aa16606 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; This is body of mail with attachment --bc5bd30245232f31b6c976adcd59bb0069c9b13f986f9e40c2571bb80aa16606 Content-Disposition: attachment; .png Content-Id: <9114fe6f0adfaf7fdf7a@protonmail.com> Content-Transfer-Encoding: base64 Content-Type: image/png iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQot tAAAAABJRU5ErkJggg== --bc5bd30245232f31b6c976adcd59bb0069c9b13f986f9e40c2571bb80aa16606 """ time="2026-09-17T09:52:45Z" msg="Mailbox created" /user remoteMailboxID=3 userID=61c39d33-d36b-4791-929a-02721d4d5680 time="2026-09-17T09:52:45Z" msg="Frontend service stopped" time="2026-09-17T09:52:45Z" msg="Mailbox created" /user remoteMailboxID=5 userID=61c39d33-d36b-4791-929a-02721d4d5680 time="2026-09-17T09:52:45Z" msg="Frontend client stopped" time="2026-09-17T09:52:45Z" msg="Closing bridge" time="2026-09-17T09:52:45Z" msg="Stopping service" time="2026-09-17T09:52:45Z" msg="Closing user" userID=ab39224b-09af-4fd8-9ce4-88884c2d2548 time="2026-09-17T09:52:45Z" msg="De-registering user client, ID:ab39224b-09af-4fd8-9ce4-88884c2d2548" time="2026-09-17T09:52:45Z" msg="Synced labels" time="2026-09-17T09:52:45Z" msg="Mailbox created" /user remoteMailboxID=10 userID=61c39d33-d36b-4791-929a-02721d4d5680 time="2026-09-17T09:52:45Z" msg="Get \"https://127.0.0.1:39985/mail/v4/messages/count\": context canceled, Attempt 1" /client time="2026-09-17T09:52:45Z" msg="Get \"https://127.0.0.1:39985/mail/v4/messages/count\": context canceled" /client time="2026-09-17T09:52:45Z" msg="Failed to sync, will retry later" error="failed to retrieve message ids: received no response from API: Get \"https://127.0.0.1:39985/mail/v4/messages/count\": context canceled" time="2026-09-17T09:52:45Z" msg="Sync aborted" error="context canceled" time="2026-09-17T09:52:45Z" msg="Finished user sync" .104458ms time="2026-09-17T09:52:45Z" msg="Exiting IMAP Service" time="2026-09-17T09:52:45Z" msg="Exiting service main loop" time="2026-09-17T09:52:45Z" msg="Exiting service main loop" time="2026-09-17T09:52:45Z" msg="Exiting Service" time="2026-09-17T09:52:45Z" msg="Exiting service main loop" time="2026-09-17T09:52:45Z" msg="Exiting service" time="2026-09-17T09:52:45Z" msg="Mailbox created" /user remoteMailboxID=12 userID=61c39d33-d36b-4791-929a-02721d4d5680 time="2026-09-17T09:52:45Z" msg="Closing IMAP Listener" time="2026-09-17T09:52:45Z" msg="Closing IMAP server" time="2026-09-17T09:52:45Z" msg="Mailbox created" /user remoteMailboxID=0 userID=61c39d33-d36b-4791-929a-02721d4d5680 time="2026-09-17T09:52:45Z" msg="Closing SMTP Listener" time="2026-09-17T09:52:45Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:52:45Z" msg="Closing SMTP server" time="2026-09-17T09:52:45Z" msg="Closing service" Then it fails # :1 -> *scenario time="2026-09-17T09:52:45Z" msg="User 'cbb547a1-562c-41c2-8f29-6189def7bcd7' created with " /server/backend time="2026-09-17T09:52:46Z" msg="User '86f346ab-53e1-4925-ae3e-10a42a4e0f74' created with " /server/backend time="2026-09-17T09:52:46Z" msg="Starting bridge" time="2026-09-17T09:52:46Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/202/config3423424843/grpcFocusServerConfig.json /service time="2026-09-17T09:52:46Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/202/cache3088436404/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:52:46Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/202/cache3088436404/notifications/notification_cache: no such file or directory" time="2026-09-17T09:52:46Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/202/data4122045169/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/202/data4122045169/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:52:46Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:52:46Z" msg="Starting IMAP server" time="2026-09-17T09:52:46Z" msg="Starting SMTP server" time="2026-09-17T09:52:46Z" msg="Starting service" time="2026-09-17T09:52:46Z" msg="Starting service" time="2026-09-17T09:52:46Z" msg="Starting receiver service" time="2026-09-17T09:52:46Z" msg="Starting poll service" time="2026-09-17T09:52:46Z" msg="Checking for updates" time="2026-09-17T09:52:46Z" msg="Starting frontend service" time="2026-09-17T09:52:46Z" msg="Loading users" /user time="2026-09-17T09:52:46Z" msg="Finished loading users" /user time="2026-09-17T09:52:46Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/202/config3423424843/grpcServerConfig.json time="2026-09-17T09:52:46Z" msg="gRPC server listening on /tmp/bridge5107" time="2026-09-17T09:52:46Z" msg="Frontend service started" time="2026-09-17T09:52:46Z" msg="Starting frontend client" time="2026-09-17T09:52:46Z" msg="Not monitoring parent PID" time="2026-09-17T09:52:46Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:52:46Z" msg="200 OK: GET https://127.0.0.1:35379/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:52:46Z" msg="Frontend client started" time="2026-09-17T09:52:46Z" msg="Performing full user login" /user username="******** (f4d59945)" time="2026-09-17T09:52:46Z" msg="Authorizing user for login" /user username="******** (f4d59945)" time="2026-09-17T09:52:46Z" msg="200 OK: POST https://127.0.0.1:35379/auth/v4/info" /manager time="2026-09-17T09:52:46Z" msg="200 OK: POST https://127.0.0.1:35379/auth/v4" /manager time="2026-09-17T09:52:46Z" msg="Logging in authorized user" /user userID=8fe1c0ac-e44c-47a2-9e7a-1a3b32f153e3 time="2026-09-17T09:52:47Z" msg="Adding vault user" userID=8fe1c0ac-e44c-47a2-9e7a-1a3b32f153e3 time="2026-09-17T09:52:47Z" msg="Creating new user" userID=8fe1c0ac-e44c-47a2-9e7a-1a3b32f153e3 time="2026-09-17T09:52:47Z" msg="404 GET https://127.0.0.1:35379/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:52:47Z" msg="404 GET https://127.0.0.1:35379/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:52:47Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:35379/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:52:47Z" msg="Creating user object" authUID=b55e757f-0468-4b10-bc67-af0e3607e20a numA numL userID=8fe1c0ac-e44c-47a2-9e7a-1a3b32f153e3 time="2026-09-17T09:52:47Z" msg="200 OK: GET https://127.0.0.1:35379/core/v4/events/latest" /client userID=8fe1c0ac-e44c-47a2-9e7a-1a3b32f153e3 time="2026-09-17T09:52:47Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:52:47Z" msg="200 OK: GET https://127.0.0.1:35379/core/v4/settings" /client userID=8fe1c0ac-e44c-47a2-9e7a-1a3b32f153e3 time="2026-09-17T09:52:47Z" msg="Registering user client, ID:8fe1c0ac-e44c-47a2-9e7a-1a3b32f153e3" time="2026-09-17T09:52:47Z" msg="Starting service main loop" time="2026-09-17T09:52:47Z" msg="Starting service main loop" time="2026-09-17T09:52:47Z" msg="Starting user identity service" numA time="2026-09-17T09:52:47Z" msg="Starting service main loop" time="2026-09-17T09:52:47Z" msg="200 OK: GET https://127.0.0.1:35379/core/v4/labels?T" /client userID=8fe1c0ac-e44c-47a2-9e7a-1a3b32f153e3 time="2026-09-17T09:52:47Z" msg="200 OK: GET https://127.0.0.1:35379/core/v4/labels?T" /client userID=8fe1c0ac-e44c-47a2-9e7a-1a3b32f153e3 time="2026-09-17T09:52:47Z" msg="200 OK: GET https://127.0.0.1:35379/core/v4/labels?T" /client userID=8fe1c0ac-e44c-47a2-9e7a-1a3b32f153e3 time="2026-09-17T09:52:47Z" msg="Setting labels" labelIDs="[0 1 2 3 5 7 8 9 4 6 10 12]" time="2026-09-17T09:52:47Z" msg="Adding user to imap server" addrID=0379f35a-e1a2-4d09-b39b-09b0c92328e5 time="2026-09-17T09:52:47Z" msg="Creating new IMAP user" addrID=0379f35a-e1a2-4d09-b39b-09b0c92328e5 time="2026-09-17T09:52:47Z" msg="Setting gluon ID" addrID=0379f35a-e1a2-4d09-b39b-09b0c92328e5 gluonID=1f222d33-1aec-4397-b7b6-21d80f184e4e userID=8fe1c0ac-e44c-47a2-9e7a-1a3b32f153e3 time="2026-09-17T09:52:47Z" msg="Received mailbox message count" gluonID=1f222d33-1aec-4397-b7b6-21d80f184e4e labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:52:47Z" msg="Created new IMAP user" addrID=0379f35a-e1a2-4d09-b39b-09b0c92328e5 gluonID=1f222d33-1aec-4397-b7b6-21d80f184e4e time="2026-09-17T09:52:47Z" msg="Validating Listener State" time="2026-09-17T09:52:47Z" time="2026-09-17T09:52:47Z" msg="Starting IMAP Service" time="2026-09-17T09:52:47Z" msg="Checking whether logged in user should re-sync. UserID:8fe1c0ac-e44c-47a2-9e7a-1a3b32f153e3" userID=8fe1c0ac-e44c-47a2-9e7a-1a3b32f153e3 time="2026-09-17T09:52:47Z" msg="Sync triggered" time="2026-09-17T09:52:47Z" msg="Beginning user sync" start="2026-09-17 09:52:47.061922216 +0000 UTC m=+455.554224512" time="2026-09-17T09:52:47Z" msg="Syncing labels" time="2026-09-17T09:52:47Z" msg="Send mail failed." error="invalid return path" time="2026-09-17T09:52:47Z" msg="Sending observability data." Scenario: Invalid from # features/smtp/send/failures.feature:40 When SMTP client "1" sends the following message from "unowned@proton.local" to "86f346ab-53e1-4925-ae3e-10a42a4e0f74@proton.local": # :1 -> *scenario """ From: Bridge Test To: Internal Bridge <[user:to]@[domain]> hello """ time="2026-09-17T09:52:47Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=1f222d33-1aec-4397-b7b6-21d80f184e4e time="2026-09-17T09:52:47Z" msg="200 OK: POST https://127.0.0.1:35379/data/v1/metrics" /client userID=8fe1c0ac-e44c-47a2-9e7a-1a3b32f153e3 time="2026-09-17T09:52:47Z" msg="Successfully sent observability data." time="2026-09-17T09:52:47Z" msg="Frontend service stopped" time="2026-09-17T09:52:47Z" msg="Frontend client stopped" time="2026-09-17T09:52:47Z" msg="Closing bridge" time="2026-09-17T09:52:47Z" msg="Stopping service" time="2026-09-17T09:52:47Z" msg="Closing user" userID=8fe1c0ac-e44c-47a2-9e7a-1a3b32f153e3 time="2026-09-17T09:52:47Z" msg="De-registering user client, ID:8fe1c0ac-e44c-47a2-9e7a-1a3b32f153e3" time="2026-09-17T09:52:47Z" msg="Synced labels" time="2026-09-17T09:52:47Z" msg="Get \"https://127.0.0.1:35379/mail/v4/messages/count\": context canceled, Attempt 1" /client time="2026-09-17T09:52:47Z" msg="Get \"https://127.0.0.1:35379/mail/v4/messages/count\": context canceled" /client time="2026-09-17T09:52:47Z" msg="Failed to sync, will retry later" error="failed to retrieve message ids: received no response from API: Get \"https://127.0.0.1:35379/mail/v4/messages/count\": context canceled" time="2026-09-17T09:52:47Z" msg="Sync aborted" error="context canceled" time="2026-09-17T09:52:47Z" msg="Finished user sync" .965173ms time="2026-09-17T09:52:47Z" msg="Exiting IMAP Service" time="2026-09-17T09:52:47Z" msg="Exiting service main loop" time="2026-09-17T09:52:47Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=1f222d33-1aec-4397-b7b6-21d80f184e4e time="2026-09-17T09:52:47Z" msg="Exiting service main loop" time="2026-09-17T09:52:47Z" msg="Exiting Service" time="2026-09-17T09:52:47Z" msg="Exiting service main loop" time="2026-09-17T09:52:47Z" msg="Exiting service" time="2026-09-17T09:52:47Z" msg="Closing IMAP Listener" time="2026-09-17T09:52:47Z" msg="Closing IMAP server" time="2026-09-17T09:52:47Z" msg="Closing SMTP Listener" time="2026-09-17T09:52:47Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:52:47Z" msg="Closing SMTP server" time="2026-09-17T09:52:47Z" msg="Closing service" Then it fails with error "The sender or recipient address is not valid. Review the addresses and resend the message" # :1 -> *scenario Feature: SMTP wrong messages time="2026-09-17T09:52:47Z" msg="User '82ee6316-45a5-4f08-881a-813f47207c81' created with " /server/backend Background: Given there exists an account with username "82ee6316-45a5-4f08-881a-813f47207c81" and password "password" # :1 -> *scenario And the account "82ee6316-45a5-4f08-881a-813f47207c81" has additional disabled address "14e147f1-9a75-4ff7-8af1-7a344da36e2b@proton.local"# :1 -> *scenario time="2026-09-17T09:52:48Z" msg="User '6b5f6998-2a71-4e52-9754-d01cdc7d7c86' created with " /server/backend And there exists an account with username "6b5f6998-2a71-4e52-9754-d01cdc7d7c86" and password "password" # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:52:48Z" msg="Starting bridge" time="2026-09-17T09:52:48Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/203/config2106751624/grpcFocusServerConfig.json /service time="2026-09-17T09:52:48Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/203/cache2242316057/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:52:48Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/203/cache2242316057/notifications/notification_cache: no such file or directory" time="2026-09-17T09:52:48Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/203/data3729014575/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/203/data3729014575/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:52:48Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:52:48Z" msg="Starting IMAP server" time="2026-09-17T09:52:48Z" msg="Starting SMTP server" time="2026-09-17T09:52:48Z" msg="Starting service" time="2026-09-17T09:52:48Z" msg="Starting service" time="2026-09-17T09:52:48Z" msg="Starting poll service" time="2026-09-17T09:52:48Z" msg="Checking for updates" time="2026-09-17T09:52:48Z" msg="Loading users" /user time="2026-09-17T09:52:48Z" msg="Starting frontend service" time="2026-09-17T09:52:48Z" msg="Finished loading users" /user time="2026-09-17T09:52:48Z" msg="Starting receiver service" time="2026-09-17T09:52:48Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/203/config2106751624/grpcServerConfig.json time="2026-09-17T09:52:48Z" msg="gRPC server listening on /tmp/bridge7027" time="2026-09-17T09:52:48Z" msg="Frontend service started" time="2026-09-17T09:52:48Z" msg="Starting frontend client" time="2026-09-17T09:52:48Z" msg="Not monitoring parent PID" time="2026-09-17T09:52:48Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:52:48Z" msg="Frontend client started" When bridge starts # :1 -> *scenario time="2026-09-17T09:52:48Z" msg="Performing full user login" /user username="******** (38b5fca4)" time="2026-09-17T09:52:48Z" msg="Authorizing user for login" /user username="******** (38b5fca4)" time="2026-09-17T09:52:48Z" msg="200 OK: GET https://127.0.0.1:41269/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:52:48Z" msg="200 OK: POST https://127.0.0.1:41269/auth/v4/info" /manager time="2026-09-17T09:52:49Z" msg="200 OK: POST https://127.0.0.1:41269/auth/v4" /manager time="2026-09-17T09:52:49Z" msg="Logging in authorized user" /user userID=aa59cad9-2dc4-4d66-99b2-02ee786c40ce time="2026-09-17T09:52:49Z" msg="Adding vault user" userID=aa59cad9-2dc4-4d66-99b2-02ee786c40ce time="2026-09-17T09:52:49Z" msg="Creating new user" userID=aa59cad9-2dc4-4d66-99b2-02ee786c40ce time="2026-09-17T09:52:49Z" msg="404 GET https://127.0.0.1:41269/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:52:49Z" msg="404 GET https://127.0.0.1:41269/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:52:49Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:41269/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:52:49Z" msg="Creating user object" authUID=996a5e55-7ece-452f-9a73-aa11824bf785 numA numL userID=aa59cad9-2dc4-4d66-99b2-02ee786c40ce time="2026-09-17T09:52:49Z" msg="200 OK: GET https://127.0.0.1:41269/core/v4/events/latest" /client userID=aa59cad9-2dc4-4d66-99b2-02ee786c40ce time="2026-09-17T09:52:49Z" msg="Starting service Last EventID=AQ==" time="2026-09-17T09:52:49Z" msg="200 OK: GET https://127.0.0.1:41269/core/v4/settings" /client userID=aa59cad9-2dc4-4d66-99b2-02ee786c40ce time="2026-09-17T09:52:49Z" msg="Registering user client, ID:aa59cad9-2dc4-4d66-99b2-02ee786c40ce" time="2026-09-17T09:52:49Z" msg="Starting user identity service" numA time="2026-09-17T09:52:49Z" msg="Starting service main loop" time="2026-09-17T09:52:49Z" msg="Starting service main loop" time="2026-09-17T09:52:49Z" msg="Starting service main loop" time="2026-09-17T09:52:49Z" msg="200 OK: GET https://127.0.0.1:41269/core/v4/labels?T" /client userID=aa59cad9-2dc4-4d66-99b2-02ee786c40ce time="2026-09-17T09:52:49Z" msg="200 OK: GET https://127.0.0.1:41269/core/v4/labels?T" /client userID=aa59cad9-2dc4-4d66-99b2-02ee786c40ce time="2026-09-17T09:52:49Z" msg="200 OK: GET https://127.0.0.1:41269/core/v4/labels?T" /client userID=aa59cad9-2dc4-4d66-99b2-02ee786c40ce time="2026-09-17T09:52:49Z" msg="Setting labels" labelIDs="[7 8 9 12 0 3 4 10 1 2 5 6]" time="2026-09-17T09:52:49Z" msg="Adding user to imap server" addrID=a503e7ae-7e73-41b3-94a4-b266a8ee9a2f time="2026-09-17T09:52:49Z" msg="Creating new IMAP user" addrID=a503e7ae-7e73-41b3-94a4-b266a8ee9a2f time="2026-09-17T09:52:49Z" msg="Setting gluon ID" addrID=a503e7ae-7e73-41b3-94a4-b266a8ee9a2f gluonID=8a455fda-f6b7-4d66-89f2-de73b7ca400e userID=aa59cad9-2dc4-4d66-99b2-02ee786c40ce time="2026-09-17T09:52:49Z" msg="Received mailbox message count" gluonID=8a455fda-f6b7-4d66-89f2-de73b7ca400e labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:52:49Z" msg="Created new IMAP user" addrID=a503e7ae-7e73-41b3-94a4-b266a8ee9a2f gluonID=8a455fda-f6b7-4d66-89f2-de73b7ca400e time="2026-09-17T09:52:49Z" msg="Validating Listener State" time="2026-09-17T09:52:49Z" time="2026-09-17T09:52:49Z" msg="Starting IMAP Service" time="2026-09-17T09:52:49Z" msg="Checking whether logged in user should re-sync. UserID:aa59cad9-2dc4-4d66-99b2-02ee786c40ce" userID=aa59cad9-2dc4-4d66-99b2-02ee786c40ce time="2026-09-17T09:52:49Z" msg="Sync triggered" time="2026-09-17T09:52:49Z" msg="Beginning user sync" start="2026-09-17 09:52:49.206011303 +0000 UTC m=+457.698313599" And the user logs in with username "82ee6316-45a5-4f08-881a-813f47207c81" and password "password" # :1 -> *scenario time="2026-09-17T09:52:49Z" msg="Syncing labels" And user "82ee6316-45a5-4f08-881a-813f47207c81" connects and authenticates SMTP client "1" # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:52:49Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=8a455fda-f6b7-4d66-89f2-de73b7ca400e time="2026-09-17T09:52:49Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=8a455fda-f6b7-4d66-89f2-de73b7ca400e time="2026-09-17T09:52:49Z" msg="Mailbox created" /user remoteMailboxID=7 userID=8a455fda-f6b7-4d66-89f2-de73b7ca400e time="2026-09-17T09:52:49Z" msg="Mailbox created" /user remoteMailboxID=3 userID=8a455fda-f6b7-4d66-89f2-de73b7ca400e time="2026-09-17T09:52:49Z" msg="Mailbox created" /user remoteMailboxID=4 userID=8a455fda-f6b7-4d66-89f2-de73b7ca400e time="2026-09-17T09:52:49Z" msg="Mailbox created" /user remoteMailboxID=5 userID=8a455fda-f6b7-4d66-89f2-de73b7ca400e time="2026-09-17T09:52:49Z" msg="Mailbox created" /user remoteMailboxID=6 userID=8a455fda-f6b7-4d66-89f2-de73b7ca400e time="2026-09-17T09:52:49Z" msg="Mailbox created" /user remoteMailboxID=8 userID=8a455fda-f6b7-4d66-89f2-de73b7ca400e time="2026-09-17T09:52:49Z" msg="Mailbox created" /user remoteMailboxID=12 userID=8a455fda-f6b7-4d66-89f2-de73b7ca400e time="2026-09-17T09:52:49Z" msg="Mailbox created" /user remoteMailboxID=0 userID=8a455fda-f6b7-4d66-89f2-de73b7ca400e time="2026-09-17T09:52:49Z" msg="Mailbox created" /user remoteMailboxID=10 userID=8a455fda-f6b7-4d66-89f2-de73b7ca400e time="2026-09-17T09:52:49Z" msg="Synced labels" time="2026-09-17T09:52:49Z" msg="200 OK: GET https://127.0.0.1:41269/mail/v4/messages/count" /client userID=aa59cad9-2dc4-4d66-99b2-02ee786c40ce time="2026-09-17T09:52:49Z" msg="Syncing messages" time="2026-09-17T09:52:49Z" msg="Job started" time="2026-09-17T09:52:49Z" msg="200 OK: POST https://127.0.0.1:41269/mail/v4/messages" /client userID=aa59cad9-2dc4-4d66-99b2-02ee786c40ce time="2026-09-17T09:52:49Z" msg="Job finished" time="2026-09-17T09:52:49Z" msg="All child jobs completed" sync- time="2026-09-17T09:52:49Z" msg="Synced messages" time="2026-09-17T09:52:49Z" msg="Finished user sync" .474767ms time="2026-09-17T09:52:49Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:52:49Z" msg="Event loop reset" eventID="AQ==" time="2026-09-17T09:52:49Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 4} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" Scenario: Send from a valid address that cannot send # features/smtp/send/failures_disabled.feature:14 Given the account "82ee6316-45a5-4f08-881a-813f47207c81" has additional disabled address "14e147f1-9a75-4ff7-8af1-7a344da36e2b@proton.local" # :1 -> *scenario time="2026-09-17T09:52:49Z" msg="Sending observability data." time="2026-09-17T09:52:49Z" msg="Cannot send emails from address: 14e147f1-9a75-4ff7-8af1-7a344da36e2b@proton.local" time="2026-09-17T09:52:49Z" msg="Send mail failed." error="cannot send from address: 14e147f1-9a75-4ff7-8af1-7a344da36e2b@proton.local" When SMTP client "1" sends the following message from "14e147f1-9a75-4ff7-8af1-7a344da36e2b@proton.local" to "6b5f6998-2a71-4e52-9754-d01cdc7d7c86@proton.local": # :1 -> *scenario """ From: Bridge Test Disabled <[user:disabled]@[domain]> To: Internal Bridge <[user:to]@[domain]> Hello """ time="2026-09-17T09:52:49Z" msg="200 OK: POST https://127.0.0.1:41269/data/v1/metrics" /client userID=aa59cad9-2dc4-4d66-99b2-02ee786c40ce time="2026-09-17T09:52:49Z" msg="Successfully sent observability data." time="2026-09-17T09:52:49Z" msg="Frontend service stopped" time="2026-09-17T09:52:49Z" msg="Frontend client stopped" time="2026-09-17T09:52:49Z" msg="Closing bridge" time="2026-09-17T09:52:49Z" msg="Stopping service" time="2026-09-17T09:52:49Z" msg="Closing user" userID=aa59cad9-2dc4-4d66-99b2-02ee786c40ce time="2026-09-17T09:52:49Z" msg="De-registering user client, ID:aa59cad9-2dc4-4d66-99b2-02ee786c40ce" time="2026-09-17T09:52:49Z" msg="Exiting IMAP Service" time="2026-09-17T09:52:49Z" msg="Exiting service main loop" time="2026-09-17T09:52:49Z" msg="Exiting service main loop" time="2026-09-17T09:52:49Z" msg="Exiting Service" time="2026-09-17T09:52:49Z" msg="Exiting service main loop" time="2026-09-17T09:52:49Z" msg="Exiting service" time="2026-09-17T09:52:49Z" msg="Closing IMAP Listener" time="2026-09-17T09:52:49Z" msg="Closing IMAP server" time="2026-09-17T09:52:49Z" msg="Closing SMTP Listener" time="2026-09-17T09:52:49Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:52:49Z" msg="Closing SMTP server" time="2026-09-17T09:52:49Z" msg="Closing service" And it fails with error "Error: You cannot send from this address: 14e147f1-9a75-4ff7-8af1-7a344da36e2b@proton.local. Check your email client and Bridge settings" # :1 -> *scenario Feature: SMTP sending of plain messages time="2026-09-17T09:52:49Z" msg="User 'ba266d73-3545-4c75-9dcd-40d5c1d93fea' created with " /server/backend Background: Given there exists an account with username "ba266d73-3545-4c75-9dcd-40d5c1d93fea" and password "password"# :1 -> *scenario time="2026-09-17T09:52:50Z" msg="User 'ce615c90-8224-4629-b5cf-ed6e38fac1a3' created with " /server/backend And there exists an account with username "ce615c90-8224-4629-b5cf-ed6e38fac1a3" and password "password" # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:52:50Z" msg="Starting bridge" time="2026-09-17T09:52:50Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/204/config570898200/grpcFocusServerConfig.json /service time="2026-09-17T09:52:50Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/204/cache998716821/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:52:50Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/204/cache998716821/notifications/notification_cache: no such file or directory" time="2026-09-17T09:52:50Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/204/data536567918/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/204/data536567918/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:52:50Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:52:50Z" msg="Starting IMAP server" time="2026-09-17T09:52:50Z" msg="Starting SMTP server" time="2026-09-17T09:52:50Z" msg="Starting service" time="2026-09-17T09:52:50Z" msg="Starting service" time="2026-09-17T09:52:50Z" msg="Starting poll service" time="2026-09-17T09:52:50Z" msg="Starting frontend service" time="2026-09-17T09:52:50Z" msg="Checking for updates" time="2026-09-17T09:52:50Z" msg="Starting receiver service" time="2026-09-17T09:52:50Z" msg="Loading users" /user time="2026-09-17T09:52:50Z" msg="Finished loading users" /user time="2026-09-17T09:52:50Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/204/config570898200/grpcServerConfig.json time="2026-09-17T09:52:50Z" msg="gRPC server listening on /tmp/bridge9233" time="2026-09-17T09:52:50Z" msg="Frontend service started" time="2026-09-17T09:52:50Z" msg="Starting frontend client" time="2026-09-17T09:52:50Z" msg="Not monitoring parent PID" time="2026-09-17T09:52:50Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:52:50Z" msg="200 OK: GET https://127.0.0.1:41785/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:52:50Z" msg="Frontend client started" When bridge starts # :1 -> *scenario time="2026-09-17T09:52:50Z" msg="Performing full user login" /user username="******** (aecf92b7)" time="2026-09-17T09:52:50Z" msg="Authorizing user for login" /user username="******** (aecf92b7)" time="2026-09-17T09:52:50Z" msg="200 OK: POST https://127.0.0.1:41785/auth/v4/info" /manager time="2026-09-17T09:52:51Z" msg="200 OK: POST https://127.0.0.1:41785/auth/v4" /manager time="2026-09-17T09:52:51Z" msg="Logging in authorized user" /user userID=4466cc2f-22cd-4360-bbe8-5d3c4c9276ba time="2026-09-17T09:52:51Z" msg="Adding vault user" userID=4466cc2f-22cd-4360-bbe8-5d3c4c9276ba time="2026-09-17T09:52:51Z" msg="Creating new user" userID=4466cc2f-22cd-4360-bbe8-5d3c4c9276ba time="2026-09-17T09:52:51Z" msg="404 GET https://127.0.0.1:41785/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:52:51Z" msg="404 GET https://127.0.0.1:41785/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:52:51Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:41785/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:52:51Z" msg="Creating user object" authUID=b54d6458-1b16-49b3-b906-463033d12eea numA numL userID=4466cc2f-22cd-4360-bbe8-5d3c4c9276ba time="2026-09-17T09:52:51Z" msg="200 OK: GET https://127.0.0.1:41785/core/v4/events/latest" /client userID=4466cc2f-22cd-4360-bbe8-5d3c4c9276ba time="2026-09-17T09:52:51Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:52:51Z" msg="200 OK: GET https://127.0.0.1:41785/core/v4/settings" /client userID=4466cc2f-22cd-4360-bbe8-5d3c4c9276ba time="2026-09-17T09:52:51Z" msg="Registering user client, ID:4466cc2f-22cd-4360-bbe8-5d3c4c9276ba" time="2026-09-17T09:52:51Z" msg="Starting service main loop" time="2026-09-17T09:52:51Z" msg="Starting user identity service" numA time="2026-09-17T09:52:51Z" msg="Starting service main loop" time="2026-09-17T09:52:51Z" msg="Starting service main loop" time="2026-09-17T09:52:51Z" msg="200 OK: GET https://127.0.0.1:41785/core/v4/labels?T" /client userID=4466cc2f-22cd-4360-bbe8-5d3c4c9276ba time="2026-09-17T09:52:51Z" msg="200 OK: GET https://127.0.0.1:41785/core/v4/labels?T" /client userID=4466cc2f-22cd-4360-bbe8-5d3c4c9276ba time="2026-09-17T09:52:51Z" msg="200 OK: GET https://127.0.0.1:41785/core/v4/labels?T" /client userID=4466cc2f-22cd-4360-bbe8-5d3c4c9276ba time="2026-09-17T09:52:51Z" msg="Setting labels" labelIDs="[2 5 6 9 10 1 3 4 7 8 12 0]" time="2026-09-17T09:52:51Z" msg="Adding user to imap server" addrID=bc0066ec-a1a3-47a7-945a-3a5be7d3c7e3 time="2026-09-17T09:52:51Z" msg="Creating new IMAP user" addrID=bc0066ec-a1a3-47a7-945a-3a5be7d3c7e3 time="2026-09-17T09:52:51Z" msg="Setting gluon ID" addrID=bc0066ec-a1a3-47a7-945a-3a5be7d3c7e3 gluonID=eee66e9e-85fb-453b-9282-fdf9bdb6f646 userID=4466cc2f-22cd-4360-bbe8-5d3c4c9276ba time="2026-09-17T09:52:51Z" msg="Received mailbox message count" gluonID=eee66e9e-85fb-453b-9282-fdf9bdb6f646 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:52:51Z" msg="Created new IMAP user" addrID=bc0066ec-a1a3-47a7-945a-3a5be7d3c7e3 gluonID=eee66e9e-85fb-453b-9282-fdf9bdb6f646 time="2026-09-17T09:52:51Z" msg="Validating Listener State" time="2026-09-17T09:52:51Z" time="2026-09-17T09:52:51Z" msg="Starting IMAP Service" time="2026-09-17T09:52:51Z" msg="Checking whether logged in user should re-sync. UserID:4466cc2f-22cd-4360-bbe8-5d3c4c9276ba" userID=4466cc2f-22cd-4360-bbe8-5d3c4c9276ba And the user logs in with username "ba266d73-3545-4c75-9dcd-40d5c1d93fea" and password "password" # :1 -> *scenario time="2026-09-17T09:52:51Z" msg="Sync triggered" time="2026-09-17T09:52:51Z" msg="Beginning user sync" start="2026-09-17 09:52:51.3566665 +0000 UTC m=+459.848968836" time="2026-09-17T09:52:51Z" msg="Syncing labels" time="2026-09-17T09:52:51Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=eee66e9e-85fb-453b-9282-fdf9bdb6f646 time="2026-09-17T09:52:51Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=eee66e9e-85fb-453b-9282-fdf9bdb6f646 time="2026-09-17T09:52:51Z" msg="Mailbox created" /user remoteMailboxID=0 userID=eee66e9e-85fb-453b-9282-fdf9bdb6f646 time="2026-09-17T09:52:51Z" msg="Mailbox created" /user remoteMailboxID=5 userID=eee66e9e-85fb-453b-9282-fdf9bdb6f646 time="2026-09-17T09:52:51Z" msg="Mailbox created" /user remoteMailboxID=10 userID=eee66e9e-85fb-453b-9282-fdf9bdb6f646 time="2026-09-17T09:52:51Z" msg="Mailbox created" /user remoteMailboxID=3 userID=eee66e9e-85fb-453b-9282-fdf9bdb6f646 time="2026-09-17T09:52:51Z" msg="Mailbox created" /user remoteMailboxID=12 userID=eee66e9e-85fb-453b-9282-fdf9bdb6f646 time="2026-09-17T09:52:51Z" msg="Mailbox created" /user remoteMailboxID=6 userID=eee66e9e-85fb-453b-9282-fdf9bdb6f646 time="2026-09-17T09:52:51Z" msg="Mailbox created" /user remoteMailboxID=4 userID=eee66e9e-85fb-453b-9282-fdf9bdb6f646 time="2026-09-17T09:52:51Z" msg="Mailbox created" /user remoteMailboxID=7 userID=eee66e9e-85fb-453b-9282-fdf9bdb6f646 time="2026-09-17T09:52:51Z" msg="Mailbox created" /user remoteMailboxID=8 userID=eee66e9e-85fb-453b-9282-fdf9bdb6f646 time="2026-09-17T09:52:51Z" msg="Synced labels" time="2026-09-17T09:52:51Z" msg="200 OK: GET https://127.0.0.1:41785/mail/v4/messages/count" /client userID=4466cc2f-22cd-4360-bbe8-5d3c4c9276ba time="2026-09-17T09:52:51Z" msg="Syncing messages" time="2026-09-17T09:52:51Z" msg="Job started" time="2026-09-17T09:52:51Z" msg="200 OK: POST https://127.0.0.1:41785/mail/v4/messages" /client userID=4466cc2f-22cd-4360-bbe8-5d3c4c9276ba time="2026-09-17T09:52:51Z" msg="Job finished" time="2026-09-17T09:52:51Z" msg="All child jobs completed" sync- time="2026-09-17T09:52:51Z" msg="Synced messages" time="2026-09-17T09:52:51Z" msg="Finished user sync" .134591ms time="2026-09-17T09:52:51Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:52:51Z" msg="Event loop reset" eventID="AA==" And user "ba266d73-3545-4c75-9dcd-40d5c1d93fea" finishes syncing # :1 -> *scenario And user "ba266d73-3545-4c75-9dcd-40d5c1d93fea" connects and authenticates SMTP client "1" # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:52:51Z" msg="Sending observability data." time="2026-09-17T09:52:51Z" msg="200 OK: GET https://127.0.0.1:41785/mail/v4/settings" /client userID=4466cc2f-22cd-4360-bbe8-5d3c4c9276ba time="2026-09-17T09:52:51Z" msg="200 OK: POST https://127.0.0.1:41785/data/v1/metrics" /client userID=4466cc2f-22cd-4360-bbe8-5d3c4c9276ba time="2026-09-17T09:52:51Z" msg="Successfully sent observability data." time="2026-09-17T09:52:51Z" msg="200 OK: POST https://127.0.0.1:41785/mail/v4/messages" /client userID=4466cc2f-22cd-4360-bbe8-5d3c4c9276ba time="2026-09-17T09:52:51Z" msg="200 OK: POST https://127.0.0.1:41785/mail/v4/messages" /client userID=4466cc2f-22cd-4360-bbe8-5d3c4c9276ba time="2026-09-17T09:52:51Z" msg="200 OK: POST https://127.0.0.1:41785/mail/v4/messages" /client userID=4466cc2f-22cd-4360-bbe8-5d3c4c9276ba time="2026-09-17T09:52:51Z" msg="200 OK: GET https://127.0.0.1:41785/core/v4/keys?E.bridge.qa%40gmail.com" /client userID=4466cc2f-22cd-4360-bbe8-5d3c4c9276ba time="2026-09-17T09:52:51Z" msg="200 OK: GET https://127.0.0.1:41785/contacts/v4/emails?E.bridge.qa%40gmail.com&P&PageS" /client userID=4466cc2f-22cd-4360-bbe8-5d3c4c9276ba time="2026-09-17T09:52:51Z" msg="200 OK: POST https://127.0.0.1:41785/mail/v4/messages/57bb3842-d82c-4d9c-a86b-e440983ff51d" /client userID=4466cc2f-22cd-4360-bbe8-5d3c4c9276ba time="2026-09-17T09:52:51Z" msg="Scheduling observability data sending" Scenario: HTML message to external account # features/smtp/send/html.feature:14 When SMTP client "1" sends the following message from "ba266d73-3545-4c75-9dcd-40d5c1d93fea@proton.local" to "pm.bridge.qa@gmail.com": # :1 -> *scenario """ From: Bridge Test <[user:user]@[domain]> To: External Bridge Subject: HTML text external Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/html; In-Reply-To: This is body of HTML mail without attachment """ Then it succeeds # :1 -> *scenario When user "ba266d73-3545-4c75-9dcd-40d5c1d93fea" connects and authenticates IMAP client "1" # :1 -> *scenario time="2026-09-17T09:52:51Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 5} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:52:52Z" msg="200 OK: GET https://127.0.0.1:41785/core/v4/events/AA==" /client userID=4466cc2f-22cd-4360-bbe8-5d3c4c9276ba time="2026-09-17T09:52:52Z" msg="Received new API event" new="Event Aw==: messages: , , " old="AA==" time="2026-09-17T09:52:52Z" msg="Handling message created event" messageID=57bb3842-d82c-4d9c-a86b-e440983ff51d subject="******** (1d8cf8ad)" time="2026-09-17T09:52:52Z" msg="200 OK: GET https://127.0.0.1:41785/mail/v4/messages/57bb3842-d82c-4d9c-a86b-e440983ff51d" /client userID=4466cc2f-22cd-4360-bbe8-5d3c4c9276ba time="2026-09-17T09:52:52Z" msg="Handling draft or sent updated event" isD messageID=57bb3842-d82c-4d9c-a86b-e440983ff51d subject="******** (1d8cf8ad)" time="2026-09-17T09:52:52Z" msg="200 OK: GET https://127.0.0.1:41785/mail/v4/messages/57bb3842-d82c-4d9c-a86b-e440983ff51d" /client userID=4466cc2f-22cd-4360-bbe8-5d3c4c9276ba Then IMAP client "1" eventually sees the following messages in "Sent": # :1 -> *scenario | from | to | subject | | ba266d73-3545-4c75-9dcd-40d5c1d93fea@proton.local | pm.bridge.qa@gmail.com | HTML text external | time="2026-09-17T09:52:52Z" msg="Frontend service stopped" time="2026-09-17T09:52:52Z" msg="Frontend client stopped" time="2026-09-17T09:52:52Z" msg="Closing bridge" time="2026-09-17T09:52:52Z" msg="Stopping service" time="2026-09-17T09:52:52Z" msg="Closing user" userID=4466cc2f-22cd-4360-bbe8-5d3c4c9276ba time="2026-09-17T09:52:52Z" msg="De-registering user client, ID:4466cc2f-22cd-4360-bbe8-5d3c4c9276ba" time="2026-09-17T09:52:52Z" msg="Exiting IMAP Service" time="2026-09-17T09:52:52Z" msg="Exiting service main loop" time="2026-09-17T09:52:52Z" msg="Exiting service main loop" time="2026-09-17T09:52:52Z" msg="Exiting Service" time="2026-09-17T09:52:52Z" msg="Exiting service main loop" time="2026-09-17T09:52:52Z" msg="Exiting service" time="2026-09-17T09:52:52Z" msg="Closing IMAP Listener" time="2026-09-17T09:52:52Z" msg="Closing IMAP server" time="2026-09-17T09:52:52Z" msg="Closing SMTP Listener" time="2026-09-17T09:52:52Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:52:52Z" msg="Closing SMTP server" time="2026-09-17T09:52:52Z" msg="Closing service" And the body in the "POST" request to "/mail/v4/messages" is: # :1 -> *scenario """ { "Message": { "Subject": "HTML text external", "Sender": { "Name": "Bridge Test" }, "ToList": [ { "Address": "pm.bridge.qa@gmail.com", "Name": "External Bridge" } ], "CCList": [], "BCCList": [], "MIMEType": "text/html" } } """ time="2026-09-17T09:52:52Z" msg="User '44c5a591-d73f-459e-9f91-ca9d6a7347bf' created with " /server/backend time="2026-09-17T09:52:53Z" msg="User '0206af6e-8479-4da6-a14c-71f1c7f97063' created with " /server/backend time="2026-09-17T09:52:53Z" msg="Starting bridge" time="2026-09-17T09:52:53Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/205/config3436546357/grpcFocusServerConfig.json /service time="2026-09-17T09:52:53Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/205/cache5827930/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:52:53Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/205/cache5827930/notifications/notification_cache: no such file or directory" time="2026-09-17T09:52:53Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/205/data2015972546/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/205/data2015972546/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:52:53Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:52:53Z" msg="Starting IMAP server" time="2026-09-17T09:52:53Z" msg="Starting SMTP server" time="2026-09-17T09:52:53Z" msg="Starting service" time="2026-09-17T09:52:53Z" msg="Starting service" time="2026-09-17T09:52:53Z" msg="Starting poll service" time="2026-09-17T09:52:53Z" msg="Loading users" /user time="2026-09-17T09:52:53Z" msg="Finished loading users" /user time="2026-09-17T09:52:53Z" msg="Starting receiver service" time="2026-09-17T09:52:53Z" msg="Starting frontend service" time="2026-09-17T09:52:53Z" msg="Checking for updates" time="2026-09-17T09:52:53Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/205/config3436546357/grpcServerConfig.json time="2026-09-17T09:52:53Z" msg="gRPC server listening on /tmp/bridge5815" time="2026-09-17T09:52:53Z" msg="Frontend service started" time="2026-09-17T09:52:53Z" msg="Starting frontend client" time="2026-09-17T09:52:53Z" msg="Not monitoring parent PID" time="2026-09-17T09:52:53Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:52:53Z" msg="200 OK: GET https://127.0.0.1:34607/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:52:53Z" msg="Frontend client started" time="2026-09-17T09:52:53Z" msg="Performing full user login" /user username="******** (e17f67d7)" time="2026-09-17T09:52:53Z" msg="Authorizing user for login" /user username="******** (e17f67d7)" time="2026-09-17T09:52:53Z" msg="200 OK: POST https://127.0.0.1:34607/auth/v4/info" /manager time="2026-09-17T09:52:53Z" msg="200 OK: POST https://127.0.0.1:34607/auth/v4" /manager time="2026-09-17T09:52:53Z" msg="Logging in authorized user" /user userID=7cff6996-b2c1-4160-a7c9-00476950f27e time="2026-09-17T09:52:54Z" msg="Adding vault user" userID=7cff6996-b2c1-4160-a7c9-00476950f27e time="2026-09-17T09:52:54Z" msg="Creating new user" userID=7cff6996-b2c1-4160-a7c9-00476950f27e time="2026-09-17T09:52:54Z" msg="404 GET https://127.0.0.1:34607/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:52:54Z" msg="404 GET https://127.0.0.1:34607/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:52:54Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:34607/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:52:54Z" msg="Creating user object" authUID=e0276599-25c7-49ec-8898-6c939bf50383 numA numL userID=7cff6996-b2c1-4160-a7c9-00476950f27e time="2026-09-17T09:52:54Z" msg="200 OK: GET https://127.0.0.1:34607/core/v4/events/latest" /client userID=7cff6996-b2c1-4160-a7c9-00476950f27e time="2026-09-17T09:52:54Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:52:54Z" msg="200 OK: GET https://127.0.0.1:34607/core/v4/settings" /client userID=7cff6996-b2c1-4160-a7c9-00476950f27e time="2026-09-17T09:52:54Z" msg="Registering user client, ID:7cff6996-b2c1-4160-a7c9-00476950f27e" time="2026-09-17T09:52:54Z" msg="Starting service main loop" time="2026-09-17T09:52:54Z" msg="Starting user identity service" numA time="2026-09-17T09:52:54Z" msg="Starting service main loop" time="2026-09-17T09:52:54Z" msg="Starting service main loop" time="2026-09-17T09:52:54Z" msg="200 OK: GET https://127.0.0.1:34607/core/v4/labels?T" /client userID=7cff6996-b2c1-4160-a7c9-00476950f27e time="2026-09-17T09:52:54Z" msg="200 OK: GET https://127.0.0.1:34607/core/v4/labels?T" /client userID=7cff6996-b2c1-4160-a7c9-00476950f27e time="2026-09-17T09:52:54Z" msg="200 OK: GET https://127.0.0.1:34607/core/v4/labels?T" /client userID=7cff6996-b2c1-4160-a7c9-00476950f27e time="2026-09-17T09:52:54Z" msg="Setting labels" labelIDs="[5 6 7 8 0 3 4 9 10 12 1 2]" time="2026-09-17T09:52:54Z" msg="Adding user to imap server" addrID=5dc7cc4f-a4cb-4d6e-9017-723c14bb703f time="2026-09-17T09:52:54Z" msg="Creating new IMAP user" addrID=5dc7cc4f-a4cb-4d6e-9017-723c14bb703f time="2026-09-17T09:52:54Z" msg="Setting gluon ID" addrID=5dc7cc4f-a4cb-4d6e-9017-723c14bb703f gluonID=5018dd87-bf8a-495c-af9c-547a1de1825f userID=7cff6996-b2c1-4160-a7c9-00476950f27e time="2026-09-17T09:52:54Z" msg="Received mailbox message count" gluonID=5018dd87-bf8a-495c-af9c-547a1de1825f labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:52:54Z" msg="Created new IMAP user" addrID=5dc7cc4f-a4cb-4d6e-9017-723c14bb703f gluonID=5018dd87-bf8a-495c-af9c-547a1de1825f time="2026-09-17T09:52:54Z" msg="Validating Listener State" time="2026-09-17T09:52:54Z" time="2026-09-17T09:52:54Z" msg="Checking whether logged in user should re-sync. UserID:7cff6996-b2c1-4160-a7c9-00476950f27e" userID=7cff6996-b2c1-4160-a7c9-00476950f27e time="2026-09-17T09:52:54Z" msg="Starting IMAP Service" time="2026-09-17T09:52:54Z" msg="Sync triggered" time="2026-09-17T09:52:54Z" msg="Beginning user sync" start="2026-09-17 09:52:54.091823106 +0000 UTC m=+462.584125442" time="2026-09-17T09:52:54Z" msg="Syncing labels" time="2026-09-17T09:52:54Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=5018dd87-bf8a-495c-af9c-547a1de1825f time="2026-09-17T09:52:54Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=5018dd87-bf8a-495c-af9c-547a1de1825f time="2026-09-17T09:52:54Z" msg="Mailbox created" /user remoteMailboxID=6 userID=5018dd87-bf8a-495c-af9c-547a1de1825f time="2026-09-17T09:52:54Z" msg="Mailbox created" /user remoteMailboxID=8 userID=5018dd87-bf8a-495c-af9c-547a1de1825f time="2026-09-17T09:52:54Z" msg="Mailbox created" /user remoteMailboxID=0 userID=5018dd87-bf8a-495c-af9c-547a1de1825f time="2026-09-17T09:52:54Z" msg="Mailbox created" /user remoteMailboxID=4 userID=5018dd87-bf8a-495c-af9c-547a1de1825f time="2026-09-17T09:52:54Z" msg="Mailbox created" /user remoteMailboxID=10 userID=5018dd87-bf8a-495c-af9c-547a1de1825f time="2026-09-17T09:52:54Z" msg="Mailbox created" /user remoteMailboxID=12 userID=5018dd87-bf8a-495c-af9c-547a1de1825f time="2026-09-17T09:52:54Z" msg="Mailbox created" /user remoteMailboxID=5 userID=5018dd87-bf8a-495c-af9c-547a1de1825f time="2026-09-17T09:52:54Z" msg="Mailbox created" /user remoteMailboxID=7 userID=5018dd87-bf8a-495c-af9c-547a1de1825f time="2026-09-17T09:52:54Z" msg="Mailbox created" /user remoteMailboxID=3 userID=5018dd87-bf8a-495c-af9c-547a1de1825f time="2026-09-17T09:52:54Z" msg="Synced labels" time="2026-09-17T09:52:54Z" msg="200 OK: GET https://127.0.0.1:34607/mail/v4/messages/count" /client userID=7cff6996-b2c1-4160-a7c9-00476950f27e time="2026-09-17T09:52:54Z" msg="Syncing messages" time="2026-09-17T09:52:54Z" msg="Job started" time="2026-09-17T09:52:54Z" msg="200 OK: POST https://127.0.0.1:34607/mail/v4/messages" /client userID=7cff6996-b2c1-4160-a7c9-00476950f27e time="2026-09-17T09:52:54Z" msg="Job finished" time="2026-09-17T09:52:54Z" msg="All child jobs completed" sync- time="2026-09-17T09:52:54Z" msg="Synced messages" time="2026-09-17T09:52:54Z" msg="Finished user sync" .950684ms time="2026-09-17T09:52:54Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:52:54Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:52:54Z" msg="Sending observability data." time="2026-09-17T09:52:54Z" msg="200 OK: POST https://127.0.0.1:34607/data/v1/metrics" /client userID=7cff6996-b2c1-4160-a7c9-00476950f27e time="2026-09-17T09:52:54Z" msg="Successfully sent observability data." time="2026-09-17T09:52:54Z" msg="200 OK: GET https://127.0.0.1:34607/mail/v4/settings" /client userID=7cff6996-b2c1-4160-a7c9-00476950f27e time="2026-09-17T09:52:54Z" msg="200 OK: POST https://127.0.0.1:34607/mail/v4/messages" /client userID=7cff6996-b2c1-4160-a7c9-00476950f27e time="2026-09-17T09:52:54Z" msg="200 OK: POST https://127.0.0.1:34607/mail/v4/attachments" /client userID=7cff6996-b2c1-4160-a7c9-00476950f27e time="2026-09-17T09:52:54Z" msg="200 OK: GET https://127.0.0.1:34607/core/v4/keys?E.bridge.qa%40gmail.com" /client userID=7cff6996-b2c1-4160-a7c9-00476950f27e time="2026-09-17T09:52:54Z" msg="200 OK: GET https://127.0.0.1:34607/contacts/v4/emails?E.bridge.qa%40gmail.com&P&PageS" /client userID=7cff6996-b2c1-4160-a7c9-00476950f27e time="2026-09-17T09:52:54Z" msg="200 OK: POST https://127.0.0.1:34607/mail/v4/messages/0fe8a40a-ed04-4a72-bfa1-e2b434483175" /client userID=7cff6996-b2c1-4160-a7c9-00476950f27e time="2026-09-17T09:52:54Z" msg="Scheduling observability data sending" Scenario: HTML message with inline image to external account # features/smtp/send/html.feature:56 When SMTP client "1" sends the following message from "44c5a591-d73f-459e-9f91-ca9d6a7347bf@proton.local" to "pm.bridge.qa@gmail.com": # :1 -> *scenario """ From: Bridge Test <[user:user]@[domain]> To: External Bridge Subject: Html Inline External Content-Disposition: inline User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.0 MIME-Version: 1.0 Content-Language: en-US Content-Type: multipart/related; boundary="------------61FA22A41A3F46E8E90EF528" This is a multi-part message in MIME format. --------------61FA22A41A3F46E8E90EF528 Content-Type: text/html; Content-Transfer-Encoding: 7bit


Behold! An inline

--------------61FA22A41A3F46E8E90EF528 Content-Type: image/gif; name="email-action-left.gif" Content-Transfer-Encoding: base64 Content-ID: Content-Disposition: inline; filename="email-action-left.gif" R0lGODlhAQABAAAAADs= --------------61FA22A41A3F46E8E90EF528-- """ Then it succeeds # :1 -> *scenario When user "44c5a591-d73f-459e-9f91-ca9d6a7347bf" connects and authenticates IMAP client "1" # :1 -> *scenario time="2026-09-17T09:52:54Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 8} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:52:55Z" msg="200 OK: GET https://127.0.0.1:34607/core/v4/events/AA==" /client userID=7cff6996-b2c1-4160-a7c9-00476950f27e time="2026-09-17T09:52:55Z" msg="Received new API event" new="Event BA==: messages: , , " old="AA==" time="2026-09-17T09:52:55Z" msg="Handling message created event" messageID=0fe8a40a-ed04-4a72-bfa1-e2b434483175 subject="******** (ad07dba3)" time="2026-09-17T09:52:55Z" msg="200 OK: GET https://127.0.0.1:34607/mail/v4/messages/0fe8a40a-ed04-4a72-bfa1-e2b434483175" /client userID=7cff6996-b2c1-4160-a7c9-00476950f27e time="2026-09-17T09:52:55Z" msg="Handling draft or sent updated event" isD messageID=0fe8a40a-ed04-4a72-bfa1-e2b434483175 subject="******** (ad07dba3)" time="2026-09-17T09:52:55Z" msg="200 OK: GET https://127.0.0.1:34607/mail/v4/messages/0fe8a40a-ed04-4a72-bfa1-e2b434483175" /client userID=7cff6996-b2c1-4160-a7c9-00476950f27e Then IMAP client "1" eventually sees the following messages in "Sent": # :1 -> *scenario | from | to | subject | | 44c5a591-d73f-459e-9f91-ca9d6a7347bf@proton.local | pm.bridge.qa@gmail.com | Html Inline External | And the body in the "POST" request to "/mail/v4/messages" is: # :1 -> *scenario """ { "Message": { "Subject": "Html Inline External", "Sender": { "Name": "Bridge Test" }, "ToList": [ { "Address": "pm.bridge.qa@gmail.com", "Name": "External Bridge" } ], "CCList": [], "BCCList": [], "MIMEType": "text/html" } } """ time="2026-09-17T09:52:55Z" msg="Frontend service stopped" time="2026-09-17T09:52:55Z" msg="Frontend client stopped" time="2026-09-17T09:52:55Z" msg="Closing bridge" time="2026-09-17T09:52:55Z" msg="Stopping service" time="2026-09-17T09:52:55Z" msg="Closing user" userID=7cff6996-b2c1-4160-a7c9-00476950f27e time="2026-09-17T09:52:55Z" msg="De-registering user client, ID:7cff6996-b2c1-4160-a7c9-00476950f27e" time="2026-09-17T09:52:55Z" msg="Exiting IMAP Service" time="2026-09-17T09:52:55Z" msg="Exiting service main loop" time="2026-09-17T09:52:55Z" msg="Exiting service main loop" time="2026-09-17T09:52:55Z" msg="Exiting Service" time="2026-09-17T09:52:55Z" msg="Exiting service main loop" time="2026-09-17T09:52:55Z" msg="Exiting service" time="2026-09-17T09:52:55Z" msg="Closing IMAP Listener" time="2026-09-17T09:52:55Z" msg="Closing IMAP server" time="2026-09-17T09:52:55Z" msg="Closing SMTP Listener" time="2026-09-17T09:52:55Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:52:55Z" msg="Closing SMTP server" time="2026-09-17T09:52:55Z" msg="Closing service" And IMAP client "1" eventually sees the following message in "Sent" with this structure: # :1 -> *scenario """ { "date": "01 Jan 01 00:00 +0000", "to": "External Bridge ", "from": "Bridge Test <[user:user]@[domain]>", "subject": "Html Inline External", "content": { "content-type": "multipart/mixed", "sections":[ { "content-type": "multipart/related", "sections":[ { "content-type": "text/html", "content-type-charset": "utf-8", "transfer-encoding": "quoted-printable", "body-is": "\r\n\r\n\r\n\r\n\r\n


\r\n

\r\n

Behold! An inline
\r\n

\r\n\r\n" }, { "content-type": "image/gif", "content-type-name": "email-action-left.gif", "content-disposition": "inline", "content-disposition-filename": "email-action-left.gif", "transfer-encoding": "base64", "body-is": "R0lGODlhAQABAAAAADs=" } ] } ] } } """ time="2026-09-17T09:52:55Z" msg="User '17a4fd15-ebe7-4d2e-9aa3-ad06459cf953' created with " /server/backend time="2026-09-17T09:52:56Z" msg="User '82260d61-966a-4c74-8c1c-9a6edb70c241' created with " /server/backend time="2026-09-17T09:52:56Z" msg="Starting bridge" time="2026-09-17T09:52:56Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/206/config1918849535/grpcFocusServerConfig.json /service time="2026-09-17T09:52:56Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/206/cache654989068/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:52:56Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/206/cache654989068/notifications/notification_cache: no such file or directory" time="2026-09-17T09:52:56Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/206/data1280012945/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/206/data1280012945/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:52:56Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:52:56Z" msg="Starting IMAP server" time="2026-09-17T09:52:56Z" msg="Starting SMTP server" time="2026-09-17T09:52:56Z" msg="Starting service" time="2026-09-17T09:52:56Z" msg="Starting service" time="2026-09-17T09:52:56Z" msg="Starting poll service" time="2026-09-17T09:52:56Z" msg="Loading users" /user time="2026-09-17T09:52:56Z" msg="Starting receiver service" time="2026-09-17T09:52:56Z" msg="Finished loading users" /user time="2026-09-17T09:52:56Z" msg="Checking for updates" time="2026-09-17T09:52:56Z" msg="Starting frontend service" time="2026-09-17T09:52:56Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/206/config1918849535/grpcServerConfig.json time="2026-09-17T09:52:56Z" msg="gRPC server listening on /tmp/bridge5149" time="2026-09-17T09:52:56Z" msg="Frontend service started" time="2026-09-17T09:52:56Z" msg="Starting frontend client" time="2026-09-17T09:52:56Z" msg="Not monitoring parent PID" time="2026-09-17T09:52:56Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:52:56Z" msg="Frontend client started" time="2026-09-17T09:52:56Z" msg="200 OK: GET https://127.0.0.1:33327/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:52:56Z" msg="Performing full user login" /user username="******** (1d4f73ca)" time="2026-09-17T09:52:56Z" msg="Authorizing user for login" /user username="******** (1d4f73ca)" time="2026-09-17T09:52:56Z" msg="200 OK: POST https://127.0.0.1:33327/auth/v4/info" /manager time="2026-09-17T09:52:56Z" msg="200 OK: POST https://127.0.0.1:33327/auth/v4" /manager time="2026-09-17T09:52:56Z" msg="Logging in authorized user" /user userID=0e8a8c33-3cdb-4173-bc53-d8cb9d057684 time="2026-09-17T09:52:56Z" msg="Adding vault user" userID=0e8a8c33-3cdb-4173-bc53-d8cb9d057684 time="2026-09-17T09:52:56Z" msg="Creating new user" userID=0e8a8c33-3cdb-4173-bc53-d8cb9d057684 time="2026-09-17T09:52:56Z" msg="404 GET https://127.0.0.1:33327/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:52:56Z" msg="404 GET https://127.0.0.1:33327/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:52:56Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:33327/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:52:56Z" msg="Creating user object" authUID=61ce14ba-0087-4a15-ad58-e13012587b0b numA numL userID=0e8a8c33-3cdb-4173-bc53-d8cb9d057684 time="2026-09-17T09:52:56Z" msg="200 OK: GET https://127.0.0.1:33327/core/v4/events/latest" /client userID=0e8a8c33-3cdb-4173-bc53-d8cb9d057684 time="2026-09-17T09:52:56Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:52:56Z" msg="200 OK: GET https://127.0.0.1:33327/core/v4/settings" /client userID=0e8a8c33-3cdb-4173-bc53-d8cb9d057684 time="2026-09-17T09:52:56Z" msg="Registering user client, ID:0e8a8c33-3cdb-4173-bc53-d8cb9d057684" time="2026-09-17T09:52:56Z" msg="Starting user identity service" numA time="2026-09-17T09:52:56Z" msg="Starting service main loop" time="2026-09-17T09:52:56Z" msg="Starting service main loop" time="2026-09-17T09:52:56Z" msg="Starting service main loop" time="2026-09-17T09:52:56Z" msg="200 OK: GET https://127.0.0.1:33327/core/v4/labels?T" /client userID=0e8a8c33-3cdb-4173-bc53-d8cb9d057684 time="2026-09-17T09:52:56Z" msg="200 OK: GET https://127.0.0.1:33327/core/v4/labels?T" /client userID=0e8a8c33-3cdb-4173-bc53-d8cb9d057684 time="2026-09-17T09:52:56Z" msg="200 OK: GET https://127.0.0.1:33327/core/v4/labels?T" /client userID=0e8a8c33-3cdb-4173-bc53-d8cb9d057684 time="2026-09-17T09:52:56Z" msg="Setting labels" labelIDs="[7 9 0 2 5 6 8 10 12 1 3 4]" time="2026-09-17T09:52:56Z" msg="Adding user to imap server" addrID=5bc28cd2-5266-495f-918a-ba4c8edcd268 time="2026-09-17T09:52:56Z" msg="Creating new IMAP user" addrID=5bc28cd2-5266-495f-918a-ba4c8edcd268 time="2026-09-17T09:52:56Z" msg="Setting gluon ID" addrID=5bc28cd2-5266-495f-918a-ba4c8edcd268 gluonID=80e24960-f418-4740-a025-52c395e20d80 userID=0e8a8c33-3cdb-4173-bc53-d8cb9d057684 time="2026-09-17T09:52:56Z" msg="Received mailbox message count" gluonID=80e24960-f418-4740-a025-52c395e20d80 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:52:56Z" msg="Created new IMAP user" addrID=5bc28cd2-5266-495f-918a-ba4c8edcd268 gluonID=80e24960-f418-4740-a025-52c395e20d80 time="2026-09-17T09:52:56Z" msg="Validating Listener State" time="2026-09-17T09:52:56Z" time="2026-09-17T09:52:56Z" msg="Checking whether logged in user should re-sync. UserID:0e8a8c33-3cdb-4173-bc53-d8cb9d057684" userID=0e8a8c33-3cdb-4173-bc53-d8cb9d057684 time="2026-09-17T09:52:56Z" msg="Starting IMAP Service" time="2026-09-17T09:52:56Z" msg="Sync triggered" time="2026-09-17T09:52:56Z" msg="Beginning user sync" start="2026-09-17 09:52:56.924410468 +0000 UTC m=+465.416712764" time="2026-09-17T09:52:56Z" msg="Syncing labels" time="2026-09-17T09:52:56Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=80e24960-f418-4740-a025-52c395e20d80 time="2026-09-17T09:52:56Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=80e24960-f418-4740-a025-52c395e20d80 time="2026-09-17T09:52:56Z" msg="Mailbox created" /user remoteMailboxID=5 userID=80e24960-f418-4740-a025-52c395e20d80 time="2026-09-17T09:52:56Z" msg="Mailbox created" /user remoteMailboxID=6 userID=80e24960-f418-4740-a025-52c395e20d80 time="2026-09-17T09:52:56Z" msg="Mailbox created" /user remoteMailboxID=8 userID=80e24960-f418-4740-a025-52c395e20d80 time="2026-09-17T09:52:56Z" msg="Mailbox created" /user remoteMailboxID=10 userID=80e24960-f418-4740-a025-52c395e20d80 time="2026-09-17T09:52:56Z" msg="Mailbox created" /user remoteMailboxID=4 userID=80e24960-f418-4740-a025-52c395e20d80 time="2026-09-17T09:52:56Z" msg="Mailbox created" /user remoteMailboxID=7 userID=80e24960-f418-4740-a025-52c395e20d80 time="2026-09-17T09:52:56Z" msg="Mailbox created" /user remoteMailboxID=12 userID=80e24960-f418-4740-a025-52c395e20d80 time="2026-09-17T09:52:56Z" msg="Mailbox created" /user remoteMailboxID=3 userID=80e24960-f418-4740-a025-52c395e20d80 time="2026-09-17T09:52:56Z" msg="Mailbox created" /user remoteMailboxID=0 userID=80e24960-f418-4740-a025-52c395e20d80 time="2026-09-17T09:52:56Z" msg="Synced labels" time="2026-09-17T09:52:56Z" msg="200 OK: GET https://127.0.0.1:33327/mail/v4/messages/count" /client userID=0e8a8c33-3cdb-4173-bc53-d8cb9d057684 time="2026-09-17T09:52:56Z" msg="Syncing messages" time="2026-09-17T09:52:56Z" msg="Job started" time="2026-09-17T09:52:56Z" msg="200 OK: POST https://127.0.0.1:33327/mail/v4/messages" /client userID=0e8a8c33-3cdb-4173-bc53-d8cb9d057684 time="2026-09-17T09:52:56Z" msg="Job finished" time="2026-09-17T09:52:56Z" msg="All child jobs completed" sync- time="2026-09-17T09:52:56Z" msg="Synced messages" time="2026-09-17T09:52:56Z" msg="Finished user sync" .32909ms time="2026-09-17T09:52:56Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:52:56Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:52:56Z" msg="Sending observability data." time="2026-09-17T09:52:56Z" msg="200 OK: POST https://127.0.0.1:33327/data/v1/metrics" /client userID=0e8a8c33-3cdb-4173-bc53-d8cb9d057684 time="2026-09-17T09:52:56Z" msg="Successfully sent observability data." time="2026-09-17T09:52:56Z" msg="200 OK: GET https://127.0.0.1:33327/mail/v4/settings" /client userID=0e8a8c33-3cdb-4173-bc53-d8cb9d057684 time="2026-09-17T09:52:56Z" msg="200 OK: POST https://127.0.0.1:33327/mail/v4/messages" /client userID=0e8a8c33-3cdb-4173-bc53-d8cb9d057684 time="2026-09-17T09:52:56Z" msg="200 OK: POST https://127.0.0.1:33327/mail/v4/attachments" /client userID=0e8a8c33-3cdb-4173-bc53-d8cb9d057684 time="2026-09-17T09:52:56Z" msg="200 OK: GET https://127.0.0.1:33327/core/v4/keys?E%40proton.local" /client userID=0e8a8c33-3cdb-4173-bc53-d8cb9d057684 time="2026-09-17T09:52:56Z" msg="200 OK: GET https://127.0.0.1:33327/contacts/v4/emails?E%40proton.local&P&PageS" /client userID=0e8a8c33-3cdb-4173-bc53-d8cb9d057684 time="2026-09-17T09:52:56Z" msg="200 OK: POST https://127.0.0.1:33327/mail/v4/messages/eae41515-5b26-41f8-80f5-a9c907cf700e" /client userID=0e8a8c33-3cdb-4173-bc53-d8cb9d057684 time="2026-09-17T09:52:56Z" msg="Scheduling observability data sending" Scenario: HTML message with alternative inline to internal account # features/smtp/send/html.feature:156 When SMTP client "1" sends the following message from "17a4fd15-ebe7-4d2e-9aa3-ad06459cf953@proton.local" to "82260d61-966a-4c74-8c1c-9a6edb70c241@proton.local": # :1 -> *scenario """ From: Bridge Test <[user:user]@[domain]> To: Internal Bridge <[user:user2]@[domain]> Subject: Html Inline Alternative Internal Content-Disposition: inline User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.0 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="------------5A259F4DE164B5ADA313F644" Content-Language: en-US This is a multi-part message in MIME format. --------------5A259F4DE164B5ADA313F644 Content-Type: text/plain; Content-Transfer-Encoding: 7bit Behold! An inline --------------5A259F4DE164B5ADA313F644 Content-Type: multipart/related; boundary="------------61FA22A41A3F46E8E90EF528" --------------61FA22A41A3F46E8E90EF528 Content-Type: text/html; Content-Transfer-Encoding: 7bit


Behold! An inline

--------------61FA22A41A3F46E8E90EF528 Content-Type: image/gif; name="email-action-left.gif" Content-Transfer-Encoding: base64 Content-ID: Content-Disposition: inline; filename="email-action-left.gif" R0lGODlhAQABAAAAADs= --------------61FA22A41A3F46E8E90EF528-- --------------5A259F4DE164B5ADA313F644-- """ Then it succeeds # :1 -> *scenario When user "17a4fd15-ebe7-4d2e-9aa3-ad06459cf953" connects and authenticates IMAP client "1" # :1 -> *scenario time="2026-09-17T09:52:57Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 4} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:52:57Z" msg="200 OK: GET https://127.0.0.1:33327/core/v4/events/AA==" /client userID=0e8a8c33-3cdb-4173-bc53-d8cb9d057684 time="2026-09-17T09:52:57Z" msg="Received new API event" new="Event BA==: messages: , , " old="AA==" time="2026-09-17T09:52:57Z" msg="Handling message created event" messageID=eae41515-5b26-41f8-80f5-a9c907cf700e subject="******** (c97b2181)" time="2026-09-17T09:52:57Z" msg="200 OK: GET https://127.0.0.1:33327/mail/v4/messages/eae41515-5b26-41f8-80f5-a9c907cf700e" /client userID=0e8a8c33-3cdb-4173-bc53-d8cb9d057684 time="2026-09-17T09:52:57Z" msg="Handling draft or sent updated event" isD messageID=eae41515-5b26-41f8-80f5-a9c907cf700e subject="******** (c97b2181)" time="2026-09-17T09:52:57Z" msg="200 OK: GET https://127.0.0.1:33327/mail/v4/messages/eae41515-5b26-41f8-80f5-a9c907cf700e" /client userID=0e8a8c33-3cdb-4173-bc53-d8cb9d057684 Then IMAP client "1" eventually sees the following messages in "Sent": # :1 -> *scenario | from | to | subject | | 17a4fd15-ebe7-4d2e-9aa3-ad06459cf953@proton.local | 82260d61-966a-4c74-8c1c-9a6edb70c241@proton.local | Html Inline Alternative Internal | time="2026-09-17T09:52:57Z" msg="Frontend service stopped" time="2026-09-17T09:52:57Z" msg="Frontend client stopped" time="2026-09-17T09:52:57Z" msg="Closing bridge" time="2026-09-17T09:52:57Z" msg="Stopping service" time="2026-09-17T09:52:57Z" msg="Closing user" userID=0e8a8c33-3cdb-4173-bc53-d8cb9d057684 time="2026-09-17T09:52:57Z" msg="De-registering user client, ID:0e8a8c33-3cdb-4173-bc53-d8cb9d057684" time="2026-09-17T09:52:57Z" msg="Exiting IMAP Service" time="2026-09-17T09:52:57Z" msg="Exiting service main loop" time="2026-09-17T09:52:57Z" msg="Exiting service main loop" time="2026-09-17T09:52:57Z" msg="Exiting Service" time="2026-09-17T09:52:57Z" msg="Exiting service main loop" time="2026-09-17T09:52:57Z" msg="Exiting service" time="2026-09-17T09:52:57Z" msg="Closing IMAP Listener" time="2026-09-17T09:52:57Z" msg="Closing IMAP server" time="2026-09-17T09:52:57Z" msg="Closing SMTP Listener" time="2026-09-17T09:52:57Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:52:57Z" msg="Closing SMTP server" time="2026-09-17T09:52:57Z" msg="Closing service" And the body in the "POST" request to "/mail/v4/messages" is: # :1 -> *scenario """ { "Message": { "Subject": "Html Inline Alternative Internal", "Sender": { "Name": "Bridge Test" }, "ToList": [ { "Address": "[user:user2]@[domain]", "Name": "Internal Bridge" } ], "CCList": [], "BCCList": [], "MIMEType": "text/html" } } """ time="2026-09-17T09:52:58Z" msg="User '95985c1a-86f8-417d-8e81-72a3e9580012' created with " /server/backend time="2026-09-17T09:52:58Z" msg="User '87720dcf-427e-47f7-ba9d-8aadb0e03581' created with " /server/backend time="2026-09-17T09:52:59Z" msg="Starting bridge" time="2026-09-17T09:52:59Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/207/config4254383425/grpcFocusServerConfig.json /service time="2026-09-17T09:52:59Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/207/cache1685018416/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:52:59Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/207/cache1685018416/notifications/notification_cache: no such file or directory" time="2026-09-17T09:52:59Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/207/data55472112/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/207/data55472112/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:52:59Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:52:59Z" msg="Starting IMAP server" time="2026-09-17T09:52:59Z" msg="Starting SMTP server" time="2026-09-17T09:52:59Z" msg="Starting service" time="2026-09-17T09:52:59Z" msg="Starting service" time="2026-09-17T09:52:59Z" msg="Starting frontend service" time="2026-09-17T09:52:59Z" msg="Starting poll service" time="2026-09-17T09:52:59Z" msg="Starting receiver service" time="2026-09-17T09:52:59Z" msg="Loading users" /user time="2026-09-17T09:52:59Z" msg="Finished loading users" /user time="2026-09-17T09:52:59Z" msg="Checking for updates" time="2026-09-17T09:52:59Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/207/config4254383425/grpcServerConfig.json time="2026-09-17T09:52:59Z" msg="gRPC server listening on /tmp/bridge4339" time="2026-09-17T09:52:59Z" msg="Frontend service started" time="2026-09-17T09:52:59Z" msg="Starting frontend client" time="2026-09-17T09:52:59Z" msg="Not monitoring parent PID" time="2026-09-17T09:52:59Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:52:59Z" msg="Frontend client started" time="2026-09-17T09:52:59Z" msg="Performing full user login" /user username="******** (28eccfd9)" time="2026-09-17T09:52:59Z" msg="Authorizing user for login" /user username="******** (28eccfd9)" time="2026-09-17T09:52:59Z" msg="200 OK: GET https://127.0.0.1:39767/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:52:59Z" msg="200 OK: POST https://127.0.0.1:39767/auth/v4/info" /manager time="2026-09-17T09:52:59Z" msg="200 OK: POST https://127.0.0.1:39767/auth/v4" /manager time="2026-09-17T09:52:59Z" msg="Logging in authorized user" /user userID=9a9f22af-a954-4d3a-9cb5-e50db4778402 time="2026-09-17T09:52:59Z" msg="Adding vault user" userID=9a9f22af-a954-4d3a-9cb5-e50db4778402 time="2026-09-17T09:52:59Z" msg="Creating new user" userID=9a9f22af-a954-4d3a-9cb5-e50db4778402 time="2026-09-17T09:52:59Z" msg="404 GET https://127.0.0.1:39767/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:52:59Z" msg="404 GET https://127.0.0.1:39767/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:52:59Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:39767/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:52:59Z" msg="Creating user object" authUID=1c7f80fd-20a7-4746-ac6d-f0b8f3564587 numA numL userID=9a9f22af-a954-4d3a-9cb5-e50db4778402 time="2026-09-17T09:52:59Z" msg="200 OK: GET https://127.0.0.1:39767/core/v4/events/latest" /client userID=9a9f22af-a954-4d3a-9cb5-e50db4778402 time="2026-09-17T09:52:59Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:52:59Z" msg="200 OK: GET https://127.0.0.1:39767/core/v4/settings" /client userID=9a9f22af-a954-4d3a-9cb5-e50db4778402 time="2026-09-17T09:52:59Z" msg="Registering user client, ID:9a9f22af-a954-4d3a-9cb5-e50db4778402" time="2026-09-17T09:52:59Z" msg="Starting service main loop" time="2026-09-17T09:52:59Z" msg="Starting service main loop" time="2026-09-17T09:52:59Z" msg="Starting user identity service" numA time="2026-09-17T09:52:59Z" msg="Starting service main loop" time="2026-09-17T09:52:59Z" msg="200 OK: GET https://127.0.0.1:39767/core/v4/labels?T" /client userID=9a9f22af-a954-4d3a-9cb5-e50db4778402 time="2026-09-17T09:52:59Z" msg="200 OK: GET https://127.0.0.1:39767/core/v4/labels?T" /client userID=9a9f22af-a954-4d3a-9cb5-e50db4778402 time="2026-09-17T09:52:59Z" msg="200 OK: GET https://127.0.0.1:39767/core/v4/labels?T" /client userID=9a9f22af-a954-4d3a-9cb5-e50db4778402 time="2026-09-17T09:52:59Z" msg="Setting labels" labelIDs="[1 2 5 6 7 8 12 0 3 4 9 10]" time="2026-09-17T09:52:59Z" msg="Adding user to imap server" addrID=6a67d39d-5ffa-4d9a-9d10-111ca0fa93f1 time="2026-09-17T09:52:59Z" msg="Creating new IMAP user" addrID=6a67d39d-5ffa-4d9a-9d10-111ca0fa93f1 time="2026-09-17T09:52:59Z" msg="Setting gluon ID" addrID=6a67d39d-5ffa-4d9a-9d10-111ca0fa93f1 gluonID=fcf5616a-4659-4390-bc94-3f2de3d3c80e userID=9a9f22af-a954-4d3a-9cb5-e50db4778402 time="2026-09-17T09:52:59Z" msg="Received mailbox message count" gluonID=fcf5616a-4659-4390-bc94-3f2de3d3c80e labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:52:59Z" msg="Created new IMAP user" addrID=6a67d39d-5ffa-4d9a-9d10-111ca0fa93f1 gluonID=fcf5616a-4659-4390-bc94-3f2de3d3c80e time="2026-09-17T09:52:59Z" msg="Validating Listener State" time="2026-09-17T09:52:59Z" time="2026-09-17T09:52:59Z" msg="Starting IMAP Service" time="2026-09-17T09:52:59Z" msg="Checking whether logged in user should re-sync. UserID:9a9f22af-a954-4d3a-9cb5-e50db4778402" userID=9a9f22af-a954-4d3a-9cb5-e50db4778402 time="2026-09-17T09:52:59Z" msg="Sync triggered" time="2026-09-17T09:52:59Z" msg="Beginning user sync" start="2026-09-17 09:52:59.667670192 +0000 UTC m=+468.159972488" time="2026-09-17T09:52:59Z" msg="Syncing labels" time="2026-09-17T09:52:59Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=fcf5616a-4659-4390-bc94-3f2de3d3c80e time="2026-09-17T09:52:59Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=fcf5616a-4659-4390-bc94-3f2de3d3c80e time="2026-09-17T09:52:59Z" msg="Mailbox created" /user remoteMailboxID=7 userID=fcf5616a-4659-4390-bc94-3f2de3d3c80e time="2026-09-17T09:52:59Z" msg="Mailbox created" /user remoteMailboxID=0 userID=fcf5616a-4659-4390-bc94-3f2de3d3c80e time="2026-09-17T09:52:59Z" msg="Mailbox created" /user remoteMailboxID=3 userID=fcf5616a-4659-4390-bc94-3f2de3d3c80e time="2026-09-17T09:52:59Z" msg="Mailbox created" /user remoteMailboxID=4 userID=fcf5616a-4659-4390-bc94-3f2de3d3c80e time="2026-09-17T09:52:59Z" msg="Mailbox created" /user remoteMailboxID=8 userID=fcf5616a-4659-4390-bc94-3f2de3d3c80e time="2026-09-17T09:52:59Z" msg="Mailbox created" /user remoteMailboxID=12 userID=fcf5616a-4659-4390-bc94-3f2de3d3c80e time="2026-09-17T09:52:59Z" msg="Mailbox created" /user remoteMailboxID=10 userID=fcf5616a-4659-4390-bc94-3f2de3d3c80e time="2026-09-17T09:52:59Z" msg="Mailbox created" /user remoteMailboxID=5 userID=fcf5616a-4659-4390-bc94-3f2de3d3c80e time="2026-09-17T09:52:59Z" msg="Mailbox created" /user remoteMailboxID=6 userID=fcf5616a-4659-4390-bc94-3f2de3d3c80e time="2026-09-17T09:52:59Z" msg="Synced labels" time="2026-09-17T09:52:59Z" msg="200 OK: GET https://127.0.0.1:39767/mail/v4/messages/count" /client userID=9a9f22af-a954-4d3a-9cb5-e50db4778402 time="2026-09-17T09:52:59Z" msg="Syncing messages" time="2026-09-17T09:52:59Z" msg="Job started" time="2026-09-17T09:52:59Z" msg="200 OK: POST https://127.0.0.1:39767/mail/v4/messages" /client userID=9a9f22af-a954-4d3a-9cb5-e50db4778402 time="2026-09-17T09:52:59Z" msg="Job finished" time="2026-09-17T09:52:59Z" msg="All child jobs completed" sync- time="2026-09-17T09:52:59Z" msg="Synced messages" time="2026-09-17T09:52:59Z" msg="Finished user sync" .423438ms time="2026-09-17T09:52:59Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:52:59Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:52:59Z" msg="Sending observability data." time="2026-09-17T09:52:59Z" msg="200 OK: POST https://127.0.0.1:39767/data/v1/metrics" /client userID=9a9f22af-a954-4d3a-9cb5-e50db4778402 time="2026-09-17T09:52:59Z" msg="Successfully sent observability data." time="2026-09-17T09:52:59Z" msg="200 OK: GET https://127.0.0.1:39767/mail/v4/settings" /client userID=9a9f22af-a954-4d3a-9cb5-e50db4778402 time="2026-09-17T09:52:59Z" msg="200 OK: POST https://127.0.0.1:39767/mail/v4/messages" /client userID=9a9f22af-a954-4d3a-9cb5-e50db4778402 time="2026-09-17T09:52:59Z" msg="200 OK: POST https://127.0.0.1:39767/mail/v4/attachments" /client userID=9a9f22af-a954-4d3a-9cb5-e50db4778402 time="2026-09-17T09:52:59Z" msg="200 OK: GET https://127.0.0.1:39767/core/v4/keys?E.bridge.qa%40gmail.com" /client userID=9a9f22af-a954-4d3a-9cb5-e50db4778402 time="2026-09-17T09:52:59Z" msg="200 OK: GET https://127.0.0.1:39767/contacts/v4/emails?E.bridge.qa%40gmail.com&P&PageS" /client userID=9a9f22af-a954-4d3a-9cb5-e50db4778402 time="2026-09-17T09:52:59Z" msg="200 OK: POST https://127.0.0.1:39767/mail/v4/messages/3017bdc8-ed38-4734-86c1-fd34bdb415de" /client userID=9a9f22af-a954-4d3a-9cb5-e50db4778402 time="2026-09-17T09:52:59Z" msg="Scheduling observability data sending" Scenario: HTML message with alternative inline to external account # features/smtp/send/html.feature:237 When SMTP client "1" sends the following message from "95985c1a-86f8-417d-8e81-72a3e9580012@proton.local" to "pm.bridge.qa@gmail.com": # :1 -> *scenario """ From: Bridge Test <[user:user]@[domain]> To: External Bridge Subject: Html Inline Alternative External Content-Disposition: inline User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.0 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="------------5A259F4DE164B5ADA313F644" Content-Language: en-US This is a multi-part message in MIME format. --------------5A259F4DE164B5ADA313F644 Content-Type: text/plain; Content-Transfer-Encoding: 7bit Behold! An inline --------------5A259F4DE164B5ADA313F644 Content-Type: multipart/related; boundary="------------61FA22A41A3F46E8E90EF528" --------------61FA22A41A3F46E8E90EF528 Content-Type: text/html; Content-Transfer-Encoding: 7bit


Behold! An inline

--------------61FA22A41A3F46E8E90EF528 Content-Type: image/gif; name="email-action-left.gif" Content-Transfer-Encoding: base64 Content-ID: Content-Disposition: inline; filename="email-action-left.gif" R0lGODlhAQABAAAAADs= --------------61FA22A41A3F46E8E90EF528-- --------------5A259F4DE164B5ADA313F644-- """ Then it succeeds # :1 -> *scenario When user "95985c1a-86f8-417d-8e81-72a3e9580012" connects and authenticates IMAP client "1" # :1 -> *scenario time="2026-09-17T09:52:59Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 1} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:53:00Z" msg="200 OK: GET https://127.0.0.1:39767/core/v4/events/AA==" /client userID=9a9f22af-a954-4d3a-9cb5-e50db4778402 time="2026-09-17T09:53:00Z" msg="Received new API event" new="Event BA==: messages: , , " old="AA==" time="2026-09-17T09:53:00Z" msg="Handling message created event" messageID=3017bdc8-ed38-4734-86c1-fd34bdb415de subject="******** (6adb39ef)" time="2026-09-17T09:53:00Z" msg="200 OK: GET https://127.0.0.1:39767/mail/v4/messages/3017bdc8-ed38-4734-86c1-fd34bdb415de" /client userID=9a9f22af-a954-4d3a-9cb5-e50db4778402 time="2026-09-17T09:53:00Z" msg="Handling draft or sent updated event" isD messageID=3017bdc8-ed38-4734-86c1-fd34bdb415de subject="******** (6adb39ef)" time="2026-09-17T09:53:00Z" msg="200 OK: GET https://127.0.0.1:39767/mail/v4/messages/3017bdc8-ed38-4734-86c1-fd34bdb415de" /client userID=9a9f22af-a954-4d3a-9cb5-e50db4778402 Then IMAP client "1" eventually sees the following messages in "Sent": # :1 -> *scenario | from | to | subject | | 95985c1a-86f8-417d-8e81-72a3e9580012@proton.local | pm.bridge.qa@gmail.com | Html Inline Alternative External | time="2026-09-17T09:53:00Z" msg="Frontend service stopped" time="2026-09-17T09:53:00Z" msg="Frontend client stopped" time="2026-09-17T09:53:00Z" msg="Closing bridge" time="2026-09-17T09:53:00Z" msg="Stopping service" time="2026-09-17T09:53:00Z" msg="Closing user" userID=9a9f22af-a954-4d3a-9cb5-e50db4778402 time="2026-09-17T09:53:00Z" msg="De-registering user client, ID:9a9f22af-a954-4d3a-9cb5-e50db4778402" time="2026-09-17T09:53:00Z" msg="Exiting IMAP Service" time="2026-09-17T09:53:00Z" msg="Exiting service main loop" time="2026-09-17T09:53:00Z" msg="Exiting service main loop" time="2026-09-17T09:53:00Z" msg="Exiting Service" time="2026-09-17T09:53:00Z" msg="Exiting service main loop" time="2026-09-17T09:53:00Z" msg="Exiting service" time="2026-09-17T09:53:00Z" msg="Closing IMAP Listener" time="2026-09-17T09:53:00Z" msg="Closing IMAP server" time="2026-09-17T09:53:00Z" msg="Closing SMTP Listener" time="2026-09-17T09:53:00Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:53:00Z" msg="Closing SMTP server" time="2026-09-17T09:53:00Z" msg="Closing service" And the body in the "POST" request to "/mail/v4/messages" is: # :1 -> *scenario """ { "Message": { "Subject": "Html Inline Alternative External", "Sender": { "Name": "Bridge Test" }, "ToList": [ { "Address": "pm.bridge.qa@gmail.com", "Name": "External Bridge" } ], "CCList": [], "BCCList": [], "MIMEType": "text/html" } } """ time="2026-09-17T09:53:00Z" msg="User '9f8f2948-f740-4eac-aae1-19e9ff5fae17' created with " /server/backend time="2026-09-17T09:53:01Z" msg="User 'c0500e51-6673-420f-b611-536f55ef2663' created with " /server/backend time="2026-09-17T09:53:01Z" msg="Starting bridge" time="2026-09-17T09:53:01Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/208/config42347735/grpcFocusServerConfig.json /service time="2026-09-17T09:53:01Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/208/cache2213250047/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:53:01Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/208/cache2213250047/notifications/notification_cache: no such file or directory" time="2026-09-17T09:53:01Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/208/data3801444317/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/208/data3801444317/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:53:01Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:53:01Z" msg="Starting IMAP server" time="2026-09-17T09:53:01Z" msg="Starting SMTP server" time="2026-09-17T09:53:01Z" msg="Starting service" time="2026-09-17T09:53:01Z" msg="Starting service" time="2026-09-17T09:53:01Z" msg="Starting poll service" time="2026-09-17T09:53:01Z" msg="Checking for updates" time="2026-09-17T09:53:01Z" msg="Starting receiver service" time="2026-09-17T09:53:01Z" msg="Starting frontend service" time="2026-09-17T09:53:01Z" msg="Loading users" /user time="2026-09-17T09:53:01Z" msg="Finished loading users" /user time="2026-09-17T09:53:01Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/208/config42347735/grpcServerConfig.json time="2026-09-17T09:53:01Z" msg="gRPC server listening on /tmp/bridge9825" time="2026-09-17T09:53:01Z" msg="Frontend service started" time="2026-09-17T09:53:01Z" msg="Starting frontend client" time="2026-09-17T09:53:01Z" msg="Not monitoring parent PID" time="2026-09-17T09:53:01Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:53:01Z" msg="Frontend client started" time="2026-09-17T09:53:01Z" msg="Performing full user login" /user username="******** (a2634bfb)" time="2026-09-17T09:53:01Z" msg="Authorizing user for login" /user username="******** (a2634bfb)" time="2026-09-17T09:53:01Z" msg="200 OK: GET https://127.0.0.1:33751/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:53:01Z" msg="200 OK: POST https://127.0.0.1:33751/auth/v4/info" /manager time="2026-09-17T09:53:02Z" msg="200 OK: POST https://127.0.0.1:33751/auth/v4" /manager time="2026-09-17T09:53:02Z" msg="Logging in authorized user" /user userID=4cf5e213-fbdd-4c96-997f-e0501d7dbbf4 time="2026-09-17T09:53:02Z" msg="Adding vault user" userID=4cf5e213-fbdd-4c96-997f-e0501d7dbbf4 time="2026-09-17T09:53:02Z" msg="Creating new user" userID=4cf5e213-fbdd-4c96-997f-e0501d7dbbf4 time="2026-09-17T09:53:02Z" msg="404 GET https://127.0.0.1:33751/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:53:02Z" msg="404 GET https://127.0.0.1:33751/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:53:02Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:33751/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:53:02Z" msg="Creating user object" authUID=93ba7d23-2bd4-45ec-8358-14d017668179 numA numL userID=4cf5e213-fbdd-4c96-997f-e0501d7dbbf4 time="2026-09-17T09:53:02Z" msg="200 OK: GET https://127.0.0.1:33751/core/v4/events/latest" /client userID=4cf5e213-fbdd-4c96-997f-e0501d7dbbf4 time="2026-09-17T09:53:02Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:53:02Z" msg="200 OK: GET https://127.0.0.1:33751/core/v4/settings" /client userID=4cf5e213-fbdd-4c96-997f-e0501d7dbbf4 time="2026-09-17T09:53:02Z" msg="Registering user client, ID:4cf5e213-fbdd-4c96-997f-e0501d7dbbf4" time="2026-09-17T09:53:02Z" msg="Starting user identity service" numA time="2026-09-17T09:53:02Z" msg="Starting service main loop" time="2026-09-17T09:53:02Z" msg="Starting service main loop" time="2026-09-17T09:53:02Z" msg="Starting service main loop" time="2026-09-17T09:53:02Z" msg="200 OK: GET https://127.0.0.1:33751/core/v4/labels?T" /client userID=4cf5e213-fbdd-4c96-997f-e0501d7dbbf4 time="2026-09-17T09:53:02Z" msg="200 OK: GET https://127.0.0.1:33751/core/v4/labels?T" /client userID=4cf5e213-fbdd-4c96-997f-e0501d7dbbf4 time="2026-09-17T09:53:02Z" msg="200 OK: GET https://127.0.0.1:33751/core/v4/labels?T" /client userID=4cf5e213-fbdd-4c96-997f-e0501d7dbbf4 time="2026-09-17T09:53:02Z" msg="Setting labels" labelIDs="[10 12 0 1 3 5 6 7 2 4 8 9]" time="2026-09-17T09:53:02Z" msg="Adding user to imap server" addrID=044c66f8-8c05-4d13-8ad3-82330d598f2a time="2026-09-17T09:53:02Z" msg="Creating new IMAP user" addrID=044c66f8-8c05-4d13-8ad3-82330d598f2a time="2026-09-17T09:53:02Z" msg="Setting gluon ID" addrID=044c66f8-8c05-4d13-8ad3-82330d598f2a gluonID=227014e7-8043-4b81-b193-6c54f2f694c3 userID=4cf5e213-fbdd-4c96-997f-e0501d7dbbf4 time="2026-09-17T09:53:02Z" msg="Received mailbox message count" gluonID=227014e7-8043-4b81-b193-6c54f2f694c3 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:53:02Z" msg="Created new IMAP user" addrID=044c66f8-8c05-4d13-8ad3-82330d598f2a gluonID=227014e7-8043-4b81-b193-6c54f2f694c3 time="2026-09-17T09:53:02Z" msg="Validating Listener State" time="2026-09-17T09:53:02Z" time="2026-09-17T09:53:02Z" msg="Starting IMAP Service" time="2026-09-17T09:53:02Z" msg="Checking whether logged in user should re-sync. UserID:4cf5e213-fbdd-4c96-997f-e0501d7dbbf4" userID=4cf5e213-fbdd-4c96-997f-e0501d7dbbf4 time="2026-09-17T09:53:02Z" msg="Sync triggered" time="2026-09-17T09:53:02Z" msg="Beginning user sync" start="2026-09-17 09:53:02.406686219 +0000 UTC m=+470.898988515" time="2026-09-17T09:53:02Z" msg="Syncing labels" time="2026-09-17T09:53:02Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=227014e7-8043-4b81-b193-6c54f2f694c3 time="2026-09-17T09:53:02Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=227014e7-8043-4b81-b193-6c54f2f694c3 time="2026-09-17T09:53:02Z" msg="Mailbox created" /user remoteMailboxID=12 userID=227014e7-8043-4b81-b193-6c54f2f694c3 time="2026-09-17T09:53:02Z" msg="Mailbox created" /user remoteMailboxID=0 userID=227014e7-8043-4b81-b193-6c54f2f694c3 time="2026-09-17T09:53:02Z" msg="Mailbox created" /user remoteMailboxID=5 userID=227014e7-8043-4b81-b193-6c54f2f694c3 time="2026-09-17T09:53:02Z" msg="Mailbox created" /user remoteMailboxID=6 userID=227014e7-8043-4b81-b193-6c54f2f694c3 time="2026-09-17T09:53:02Z" msg="Mailbox created" /user remoteMailboxID=7 userID=227014e7-8043-4b81-b193-6c54f2f694c3 time="2026-09-17T09:53:02Z" msg="Mailbox created" /user remoteMailboxID=4 userID=227014e7-8043-4b81-b193-6c54f2f694c3 time="2026-09-17T09:53:02Z" msg="Mailbox created" /user remoteMailboxID=10 userID=227014e7-8043-4b81-b193-6c54f2f694c3 time="2026-09-17T09:53:02Z" msg="Mailbox created" /user remoteMailboxID=3 userID=227014e7-8043-4b81-b193-6c54f2f694c3 time="2026-09-17T09:53:02Z" msg="Mailbox created" /user remoteMailboxID=8 userID=227014e7-8043-4b81-b193-6c54f2f694c3 time="2026-09-17T09:53:02Z" msg="Synced labels" time="2026-09-17T09:53:02Z" msg="200 OK: GET https://127.0.0.1:33751/mail/v4/messages/count" /client userID=4cf5e213-fbdd-4c96-997f-e0501d7dbbf4 time="2026-09-17T09:53:02Z" msg="Syncing messages" time="2026-09-17T09:53:02Z" msg="Job started" time="2026-09-17T09:53:02Z" msg="200 OK: POST https://127.0.0.1:33751/mail/v4/messages" /client userID=4cf5e213-fbdd-4c96-997f-e0501d7dbbf4 time="2026-09-17T09:53:02Z" msg="Job finished" time="2026-09-17T09:53:02Z" msg="All child jobs completed" sync- time="2026-09-17T09:53:02Z" msg="Synced messages" time="2026-09-17T09:53:02Z" msg="Finished user sync" .272157ms time="2026-09-17T09:53:02Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:53:02Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:53:02Z" msg="Sending observability data." time="2026-09-17T09:53:02Z" msg="200 OK: POST https://127.0.0.1:33751/data/v1/metrics" /client userID=4cf5e213-fbdd-4c96-997f-e0501d7dbbf4 time="2026-09-17T09:53:02Z" msg="Successfully sent observability data." time="2026-09-17T09:53:02Z" msg="200 OK: GET https://127.0.0.1:33751/mail/v4/settings" /client userID=4cf5e213-fbdd-4c96-997f-e0501d7dbbf4 time="2026-09-17T09:53:02Z" msg="200 OK: POST https://127.0.0.1:33751/mail/v4/messages" /client userID=4cf5e213-fbdd-4c96-997f-e0501d7dbbf4 time="2026-09-17T09:53:02Z" msg="200 OK: POST https://127.0.0.1:33751/mail/v4/messages" /client userID=4cf5e213-fbdd-4c96-997f-e0501d7dbbf4 time="2026-09-17T09:53:02Z" msg="200 OK: POST https://127.0.0.1:33751/mail/v4/messages" /client userID=4cf5e213-fbdd-4c96-997f-e0501d7dbbf4 time="2026-09-17T09:53:02Z" msg="200 OK: GET https://127.0.0.1:33751/core/v4/keys?E.bridge.qa%40gmail.com" /client userID=4cf5e213-fbdd-4c96-997f-e0501d7dbbf4 time="2026-09-17T09:53:02Z" msg="200 OK: GET https://127.0.0.1:33751/contacts/v4/emails?E.bridge.qa%40gmail.com&P&PageS" /client userID=4cf5e213-fbdd-4c96-997f-e0501d7dbbf4 time="2026-09-17T09:53:02Z" msg="200 OK: POST https://127.0.0.1:33751/mail/v4/messages/64eed5c4-2b6a-4490-8655-6c58f8d962e7" /client userID=4cf5e213-fbdd-4c96-997f-e0501d7dbbf4 time="2026-09-17T09:53:02Z" msg="Scheduling observability data sending" Scenario: HTML message with extremely long line (greater than default 2000 line limit) to external account # features/smtp/send/html.feature:320 When SMTP client "1" sends the following message from "9f8f2948-f740-4eac-aae1-19e9ff5fae17@proton.local" to "pm.bridge.qa@gmail.com": # :1 -> *scenario """ From: Bridge Test <[user:user]@[domain]> To: External Bridge Subject: HTML text external Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/html; In-Reply-To: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa """ Then it succeeds # :1 -> *scenario When user "9f8f2948-f740-4eac-aae1-19e9ff5fae17" connects and authenticates IMAP client "1" # :1 -> *scenario time="2026-09-17T09:53:02Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 2} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:53:03Z" msg="200 OK: GET https://127.0.0.1:33751/core/v4/events/AA==" /client userID=4cf5e213-fbdd-4c96-997f-e0501d7dbbf4 time="2026-09-17T09:53:03Z" msg="Received new API event" new="Event Aw==: messages: , , " old="AA==" time="2026-09-17T09:53:03Z" msg="Handling message created event" messageID=64eed5c4-2b6a-4490-8655-6c58f8d962e7 subject="******** (1d8cf8ad)" time="2026-09-17T09:53:03Z" msg="200 OK: GET https://127.0.0.1:33751/mail/v4/messages/64eed5c4-2b6a-4490-8655-6c58f8d962e7" /client userID=4cf5e213-fbdd-4c96-997f-e0501d7dbbf4 time="2026-09-17T09:53:03Z" msg="Handling draft or sent updated event" isD messageID=64eed5c4-2b6a-4490-8655-6c58f8d962e7 subject="******** (1d8cf8ad)" time="2026-09-17T09:53:03Z" msg="200 OK: GET https://127.0.0.1:33751/mail/v4/messages/64eed5c4-2b6a-4490-8655-6c58f8d962e7" /client userID=4cf5e213-fbdd-4c96-997f-e0501d7dbbf4 Then IMAP client "1" eventually sees the following messages in "Sent": # :1 -> *scenario | from | to | subject | | 9f8f2948-f740-4eac-aae1-19e9ff5fae17@proton.local | pm.bridge.qa@gmail.com | HTML text external | time="2026-09-17T09:53:03Z" msg="Frontend service stopped" time="2026-09-17T09:53:03Z" msg="Frontend client stopped" time="2026-09-17T09:53:03Z" msg="Closing bridge" time="2026-09-17T09:53:03Z" msg="Stopping service" time="2026-09-17T09:53:03Z" msg="Closing user" userID=4cf5e213-fbdd-4c96-997f-e0501d7dbbf4 time="2026-09-17T09:53:03Z" msg="De-registering user client, ID:4cf5e213-fbdd-4c96-997f-e0501d7dbbf4" time="2026-09-17T09:53:03Z" msg="Exiting IMAP Service" time="2026-09-17T09:53:03Z" msg="Exiting service main loop" time="2026-09-17T09:53:03Z" msg="Exiting service main loop" time="2026-09-17T09:53:03Z" msg="Exiting Service" time="2026-09-17T09:53:03Z" msg="Exiting service main loop" time="2026-09-17T09:53:03Z" msg="Exiting service" time="2026-09-17T09:53:03Z" msg="Closing IMAP Listener" time="2026-09-17T09:53:03Z" msg="Closing IMAP server" time="2026-09-17T09:53:03Z" msg="Closing SMTP Listener" time="2026-09-17T09:53:03Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:53:03Z" msg="Closing SMTP server" time="2026-09-17T09:53:03Z" msg="Closing service" And the body in the "POST" request to "/mail/v4/messages" is: # :1 -> *scenario """ { "Message": { "Subject": "HTML text external", "Sender": { "Name": "Bridge Test" }, "ToList": [ { "Address": "pm.bridge.qa@gmail.com", "Name": "External Bridge" } ], "CCList": [], "BCCList": [], "MIMEType": "text/html" } } """ time="2026-09-17T09:53:03Z" msg="User 'd4868d3a-a8ad-468a-97d8-1204ecfac3b4' created with " /server/backend time="2026-09-17T09:53:04Z" msg="User 'b8b32811-cd86-414d-810b-26f5dfb2b9f7' created with " /server/backend time="2026-09-17T09:53:04Z" msg="Starting bridge" time="2026-09-17T09:53:04Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/209/config4073799834/grpcFocusServerConfig.json /service time="2026-09-17T09:53:04Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/209/cache185719649/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:53:04Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/209/cache185719649/notifications/notification_cache: no such file or directory" time="2026-09-17T09:53:04Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/209/data2962909469/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/209/data2962909469/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:53:04Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:53:04Z" msg="Starting IMAP server" time="2026-09-17T09:53:04Z" msg="Starting SMTP server" time="2026-09-17T09:53:04Z" msg="Starting service" time="2026-09-17T09:53:04Z" msg="Starting service" time="2026-09-17T09:53:04Z" msg="Starting poll service" time="2026-09-17T09:53:04Z" msg="Loading users" /user time="2026-09-17T09:53:04Z" msg="Finished loading users" /user time="2026-09-17T09:53:04Z" msg="Checking for updates" time="2026-09-17T09:53:04Z" msg="Starting frontend service" time="2026-09-17T09:53:04Z" msg="Starting receiver service" time="2026-09-17T09:53:04Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/209/config4073799834/grpcServerConfig.json time="2026-09-17T09:53:04Z" msg="gRPC server listening on /tmp/bridge1514" time="2026-09-17T09:53:04Z" msg="Frontend service started" time="2026-09-17T09:53:04Z" msg="Starting frontend client" time="2026-09-17T09:53:04Z" msg="Not monitoring parent PID" time="2026-09-17T09:53:04Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:53:04Z" msg="200 OK: GET https://127.0.0.1:46409/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:53:04Z" msg="Frontend client started" time="2026-09-17T09:53:04Z" msg="Performing full user login" /user username="******** (92332bbc)" time="2026-09-17T09:53:04Z" msg="Authorizing user for login" /user username="******** (92332bbc)" time="2026-09-17T09:53:04Z" msg="200 OK: POST https://127.0.0.1:46409/auth/v4/info" /manager time="2026-09-17T09:53:05Z" msg="200 OK: POST https://127.0.0.1:46409/auth/v4" /manager time="2026-09-17T09:53:05Z" msg="Logging in authorized user" /user userID=a15abde0-fdaf-45ec-8043-b59944ab6114 time="2026-09-17T09:53:05Z" msg="Adding vault user" userID=a15abde0-fdaf-45ec-8043-b59944ab6114 time="2026-09-17T09:53:05Z" msg="Creating new user" userID=a15abde0-fdaf-45ec-8043-b59944ab6114 time="2026-09-17T09:53:05Z" msg="404 GET https://127.0.0.1:46409/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:53:05Z" msg="404 GET https://127.0.0.1:46409/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:53:05Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:46409/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:53:05Z" msg="Creating user object" authUID=085b5496-da07-4a9d-b6a4-5f9bc6f0036d numA numL userID=a15abde0-fdaf-45ec-8043-b59944ab6114 time="2026-09-17T09:53:05Z" msg="200 OK: GET https://127.0.0.1:46409/core/v4/events/latest" /client userID=a15abde0-fdaf-45ec-8043-b59944ab6114 time="2026-09-17T09:53:05Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:53:05Z" msg="200 OK: GET https://127.0.0.1:46409/core/v4/settings" /client userID=a15abde0-fdaf-45ec-8043-b59944ab6114 time="2026-09-17T09:53:05Z" msg="Registering user client, ID:a15abde0-fdaf-45ec-8043-b59944ab6114" time="2026-09-17T09:53:05Z" msg="Starting user identity service" numA time="2026-09-17T09:53:05Z" msg="Starting service main loop" time="2026-09-17T09:53:05Z" msg="Starting service main loop" time="2026-09-17T09:53:05Z" msg="Starting service main loop" time="2026-09-17T09:53:05Z" msg="200 OK: GET https://127.0.0.1:46409/core/v4/labels?T" /client userID=a15abde0-fdaf-45ec-8043-b59944ab6114 time="2026-09-17T09:53:05Z" msg="200 OK: GET https://127.0.0.1:46409/core/v4/labels?T" /client userID=a15abde0-fdaf-45ec-8043-b59944ab6114 time="2026-09-17T09:53:05Z" msg="200 OK: GET https://127.0.0.1:46409/core/v4/labels?T" /client userID=a15abde0-fdaf-45ec-8043-b59944ab6114 time="2026-09-17T09:53:05Z" msg="Setting labels" labelIDs="[8 9 12 1 2 3 5 7 10 0 4 6]" time="2026-09-17T09:53:05Z" msg="Adding user to imap server" addrID=3e4aed48-ac6e-47ae-8fc2-d82a14a90326 time="2026-09-17T09:53:05Z" msg="Creating new IMAP user" addrID=3e4aed48-ac6e-47ae-8fc2-d82a14a90326 time="2026-09-17T09:53:05Z" msg="Setting gluon ID" addrID=3e4aed48-ac6e-47ae-8fc2-d82a14a90326 gluonID=7fa09da7-2dec-4bc4-86eb-05640fc32c3e userID=a15abde0-fdaf-45ec-8043-b59944ab6114 time="2026-09-17T09:53:05Z" msg="Received mailbox message count" gluonID=7fa09da7-2dec-4bc4-86eb-05640fc32c3e labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:53:05Z" msg="Created new IMAP user" addrID=3e4aed48-ac6e-47ae-8fc2-d82a14a90326 gluonID=7fa09da7-2dec-4bc4-86eb-05640fc32c3e time="2026-09-17T09:53:05Z" msg="Validating Listener State" time="2026-09-17T09:53:05Z" time="2026-09-17T09:53:05Z" msg="Checking whether logged in user should re-sync. UserID:a15abde0-fdaf-45ec-8043-b59944ab6114" userID=a15abde0-fdaf-45ec-8043-b59944ab6114 time="2026-09-17T09:53:05Z" msg="Starting IMAP Service" time="2026-09-17T09:53:05Z" msg="Sync triggered" time="2026-09-17T09:53:05Z" msg="Beginning user sync" start="2026-09-17 09:53:05.14402628 +0000 UTC m=+473.636328576" time="2026-09-17T09:53:05Z" msg="Syncing labels" time="2026-09-17T09:53:05Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=7fa09da7-2dec-4bc4-86eb-05640fc32c3e time="2026-09-17T09:53:05Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=7fa09da7-2dec-4bc4-86eb-05640fc32c3e time="2026-09-17T09:53:05Z" msg="Mailbox created" /user remoteMailboxID=10 userID=7fa09da7-2dec-4bc4-86eb-05640fc32c3e time="2026-09-17T09:53:05Z" msg="Mailbox created" /user remoteMailboxID=4 userID=7fa09da7-2dec-4bc4-86eb-05640fc32c3e time="2026-09-17T09:53:05Z" msg="Mailbox created" /user remoteMailboxID=3 userID=7fa09da7-2dec-4bc4-86eb-05640fc32c3e time="2026-09-17T09:53:05Z" msg="Mailbox created" /user remoteMailboxID=0 userID=7fa09da7-2dec-4bc4-86eb-05640fc32c3e time="2026-09-17T09:53:05Z" msg="Mailbox created" /user remoteMailboxID=6 userID=7fa09da7-2dec-4bc4-86eb-05640fc32c3e time="2026-09-17T09:53:05Z" msg="Mailbox created" /user remoteMailboxID=8 userID=7fa09da7-2dec-4bc4-86eb-05640fc32c3e time="2026-09-17T09:53:05Z" msg="Mailbox created" /user remoteMailboxID=12 userID=7fa09da7-2dec-4bc4-86eb-05640fc32c3e time="2026-09-17T09:53:05Z" msg="Mailbox created" /user remoteMailboxID=5 userID=7fa09da7-2dec-4bc4-86eb-05640fc32c3e time="2026-09-17T09:53:05Z" msg="Mailbox created" /user remoteMailboxID=7 userID=7fa09da7-2dec-4bc4-86eb-05640fc32c3e time="2026-09-17T09:53:05Z" msg="Synced labels" time="2026-09-17T09:53:05Z" msg="200 OK: GET https://127.0.0.1:46409/mail/v4/messages/count" /client userID=a15abde0-fdaf-45ec-8043-b59944ab6114 time="2026-09-17T09:53:05Z" msg="Syncing messages" time="2026-09-17T09:53:05Z" msg="Job started" time="2026-09-17T09:53:05Z" msg="200 OK: POST https://127.0.0.1:46409/mail/v4/messages" /client userID=a15abde0-fdaf-45ec-8043-b59944ab6114 time="2026-09-17T09:53:05Z" msg="Job finished" time="2026-09-17T09:53:05Z" msg="All child jobs completed" sync- time="2026-09-17T09:53:05Z" msg="Synced messages" time="2026-09-17T09:53:05Z" msg="Finished user sync" .271592ms time="2026-09-17T09:53:05Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:53:05Z" msg="Event loop reset" eventID="AA==" Scenario: HTML message with Foreign/Nonascii chars in Subject and Body to external # features/smtp/send/html.feature:360 When user "d4868d3a-a8ad-468a-97d8-1204ecfac3b4" connects and authenticates SMTP client "1" # :1 -> *scenario time="2026-09-17T09:53:05Z" msg="Sending observability data." time="2026-09-17T09:53:05Z" msg="200 OK: POST https://127.0.0.1:46409/data/v1/metrics" /client userID=a15abde0-fdaf-45ec-8043-b59944ab6114 time="2026-09-17T09:53:05Z" msg="Successfully sent observability data." time="2026-09-17T09:53:05Z" msg="200 OK: GET https://127.0.0.1:46409/mail/v4/settings" /client userID=a15abde0-fdaf-45ec-8043-b59944ab6114 time="2026-09-17T09:53:05Z" msg="200 OK: POST https://127.0.0.1:46409/mail/v4/messages" /client userID=a15abde0-fdaf-45ec-8043-b59944ab6114 time="2026-09-17T09:53:05Z" msg="200 OK: GET https://127.0.0.1:46409/core/v4/keys?E.bridge.qa%40gmail.com" /client userID=a15abde0-fdaf-45ec-8043-b59944ab6114 time="2026-09-17T09:53:05Z" msg="200 OK: GET https://127.0.0.1:46409/contacts/v4/emails?E.bridge.qa%40gmail.com&P&PageS" /client userID=a15abde0-fdaf-45ec-8043-b59944ab6114 time="2026-09-17T09:53:05Z" msg="200 OK: POST https://127.0.0.1:46409/mail/v4/messages/d7da2005-f924-4d85-b5ec-1d6ecfe7852a" /client userID=a15abde0-fdaf-45ec-8043-b59944ab6114 time="2026-09-17T09:53:05Z" msg="Scheduling observability data sending" And SMTP client "1" sends the following EML "html/foreign_ascii_subject_body.template.eml" from "d4868d3a-a8ad-468a-97d8-1204ecfac3b4@proton.local" to "pm.bridge.qa@gmail.com" # :1 -> *scenario Then it succeeds # :1 -> *scenario When user "d4868d3a-a8ad-468a-97d8-1204ecfac3b4" connects and authenticates IMAP client "1" # :1 -> *scenario time="2026-09-17T09:53:05Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 8} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:53:06Z" msg="200 OK: GET https://127.0.0.1:46409/core/v4/events/AA==" /client userID=a15abde0-fdaf-45ec-8043-b59944ab6114 time="2026-09-17T09:53:06Z" msg="Received new API event" new="Event Aw==: messages: , , " old="AA==" time="2026-09-17T09:53:06Z" msg="Handling message created event" messageID=d7da2005-f924-4d85-b5ec-1d6ecfe7852a subject="******** (d192b9b2)" time="2026-09-17T09:53:06Z" msg="200 OK: GET https://127.0.0.1:46409/mail/v4/messages/d7da2005-f924-4d85-b5ec-1d6ecfe7852a" /client userID=a15abde0-fdaf-45ec-8043-b59944ab6114 time="2026-09-17T09:53:06Z" msg="Handling draft or sent updated event" isD messageID=d7da2005-f924-4d85-b5ec-1d6ecfe7852a subject="******** (d192b9b2)" time="2026-09-17T09:53:06Z" msg="200 OK: GET https://127.0.0.1:46409/mail/v4/messages/d7da2005-f924-4d85-b5ec-1d6ecfe7852a" /client userID=a15abde0-fdaf-45ec-8043-b59944ab6114 Then IMAP client "1" eventually sees the following messages in "Sent": # :1 -> *scenario | from | to | subject | | d4868d3a-a8ad-468a-97d8-1204ecfac3b4@proton.local | pm.bridge.qa@gmail.com | Subjεέςτ ¶ Ä È | time="2026-09-17T09:53:06Z" msg="Frontend service stopped" time="2026-09-17T09:53:06Z" msg="Frontend client stopped" time="2026-09-17T09:53:06Z" msg="Closing bridge" time="2026-09-17T09:53:06Z" msg="Stopping service" time="2026-09-17T09:53:06Z" msg="Closing user" userID=a15abde0-fdaf-45ec-8043-b59944ab6114 time="2026-09-17T09:53:06Z" msg="De-registering user client, ID:a15abde0-fdaf-45ec-8043-b59944ab6114" time="2026-09-17T09:53:06Z" msg="Exiting IMAP Service" time="2026-09-17T09:53:06Z" msg="Exiting service main loop" time="2026-09-17T09:53:06Z" msg="Exiting service main loop" time="2026-09-17T09:53:06Z" msg="Exiting Service" time="2026-09-17T09:53:06Z" msg="Exiting service main loop" time="2026-09-17T09:53:06Z" msg="Exiting service" time="2026-09-17T09:53:06Z" msg="Closing IMAP Listener" time="2026-09-17T09:53:06Z" msg="Closing IMAP server" time="2026-09-17T09:53:06Z" msg="Closing SMTP Listener" time="2026-09-17T09:53:06Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:53:06Z" msg="Closing SMTP server" time="2026-09-17T09:53:06Z" msg="Closing service" And the body in the "POST" request to "/mail/v4/messages" is: # :1 -> *scenario """ { "Message": { "Subject": "Subjεέςτ ¶ Ä È", "Sender": { "Name": "Bridge Test" }, "ToList": [ { "Address": "pm.bridge.qa@gmail.com", "Name": "External Bridge" } ], "CCList": [], "BCCList": [], "MIMEType": "text/html" } } """ Feature: SMTP sending of plain messages time="2026-09-17T09:53:06Z" msg="User '7c33afd3-ec74-47bb-a996-80657261da7d' created with " /server/backend Background: Given there exists an account with username "7c33afd3-ec74-47bb-a996-80657261da7d" and password "password" # :1 -> *scenario time="2026-09-17T09:53:07Z" msg="User '0b15f274-24f4-4769-b366-0b179f5d7b5f' created with " /server/backend And there exists an account with username "0b15f274-24f4-4769-b366-0b179f5d7b5f" and password "password" # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:53:07Z" msg="Starting bridge" time="2026-09-17T09:53:07Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/210/config904201407/grpcFocusServerConfig.json /service time="2026-09-17T09:53:07Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/210/cache252177576/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:53:07Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/210/cache252177576/notifications/notification_cache: no such file or directory" time="2026-09-17T09:53:07Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/210/data1756265651/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/210/data1756265651/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:53:07Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:53:07Z" msg="Starting IMAP server" time="2026-09-17T09:53:07Z" msg="Starting SMTP server" time="2026-09-17T09:53:07Z" msg="Starting service" time="2026-09-17T09:53:07Z" msg="Starting service" time="2026-09-17T09:53:07Z" msg="Starting frontend service" time="2026-09-17T09:53:07Z" msg="Checking for updates" time="2026-09-17T09:53:07Z" msg="Starting receiver service" time="2026-09-17T09:53:07Z" msg="Starting poll service" time="2026-09-17T09:53:07Z" msg="Loading users" /user time="2026-09-17T09:53:07Z" msg="Finished loading users" /user time="2026-09-17T09:53:07Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/210/config904201407/grpcServerConfig.json time="2026-09-17T09:53:07Z" msg="gRPC server listening on /tmp/bridge6232" time="2026-09-17T09:53:07Z" msg="Frontend service started" time="2026-09-17T09:53:07Z" msg="Starting frontend client" time="2026-09-17T09:53:07Z" msg="Not monitoring parent PID" time="2026-09-17T09:53:07Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:53:07Z" msg="Frontend client started" When bridge starts # :1 -> *scenario time="2026-09-17T09:53:07Z" msg="Performing full user login" /user username="******** (c4416838)" time="2026-09-17T09:53:07Z" msg="Authorizing user for login" /user username="******** (c4416838)" time="2026-09-17T09:53:07Z" msg="200 OK: GET https://127.0.0.1:33067/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:53:07Z" msg="200 OK: POST https://127.0.0.1:33067/auth/v4/info" /manager time="2026-09-17T09:53:07Z" msg="200 OK: POST https://127.0.0.1:33067/auth/v4" /manager time="2026-09-17T09:53:07Z" msg="Logging in authorized user" /user userID=1754176b-d4dd-49b7-ab5d-205e67ebb09f time="2026-09-17T09:53:07Z" msg="Adding vault user" userID=1754176b-d4dd-49b7-ab5d-205e67ebb09f time="2026-09-17T09:53:07Z" msg="Creating new user" userID=1754176b-d4dd-49b7-ab5d-205e67ebb09f time="2026-09-17T09:53:07Z" msg="404 GET https://127.0.0.1:33067/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:53:07Z" msg="404 GET https://127.0.0.1:33067/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:53:07Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:33067/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:53:07Z" msg="Creating user object" authUID=0a8db52d-6ca7-4e0c-9656-d4aeaa0bb5c2 numA numL userID=1754176b-d4dd-49b7-ab5d-205e67ebb09f time="2026-09-17T09:53:07Z" msg="200 OK: GET https://127.0.0.1:33067/core/v4/events/latest" /client userID=1754176b-d4dd-49b7-ab5d-205e67ebb09f time="2026-09-17T09:53:07Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:53:07Z" msg="200 OK: GET https://127.0.0.1:33067/core/v4/settings" /client userID=1754176b-d4dd-49b7-ab5d-205e67ebb09f time="2026-09-17T09:53:07Z" msg="Registering user client, ID:1754176b-d4dd-49b7-ab5d-205e67ebb09f" time="2026-09-17T09:53:07Z" msg="Starting service main loop" time="2026-09-17T09:53:07Z" msg="Starting user identity service" numA time="2026-09-17T09:53:07Z" msg="Starting service main loop" time="2026-09-17T09:53:07Z" msg="Starting service main loop" time="2026-09-17T09:53:07Z" msg="200 OK: GET https://127.0.0.1:33067/core/v4/labels?T" /client userID=1754176b-d4dd-49b7-ab5d-205e67ebb09f time="2026-09-17T09:53:07Z" msg="200 OK: GET https://127.0.0.1:33067/core/v4/labels?T" /client userID=1754176b-d4dd-49b7-ab5d-205e67ebb09f time="2026-09-17T09:53:07Z" msg="200 OK: GET https://127.0.0.1:33067/core/v4/labels?T" /client userID=1754176b-d4dd-49b7-ab5d-205e67ebb09f time="2026-09-17T09:53:07Z" msg="Setting labels" labelIDs="[6 8 9 0 7 10 12 1 2 3 4 5]" time="2026-09-17T09:53:07Z" msg="Adding user to imap server" addrID=445c48e9-3763-4c37-9039-b71075c242c0 time="2026-09-17T09:53:07Z" msg="Creating new IMAP user" addrID=445c48e9-3763-4c37-9039-b71075c242c0 time="2026-09-17T09:53:07Z" msg="Setting gluon ID" addrID=445c48e9-3763-4c37-9039-b71075c242c0 gluonID=493c9202-4e22-464a-bcf1-b60db49b9409 userID=1754176b-d4dd-49b7-ab5d-205e67ebb09f time="2026-09-17T09:53:07Z" msg="Received mailbox message count" gluonID=493c9202-4e22-464a-bcf1-b60db49b9409 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:53:07Z" msg="Created new IMAP user" addrID=445c48e9-3763-4c37-9039-b71075c242c0 gluonID=493c9202-4e22-464a-bcf1-b60db49b9409 time="2026-09-17T09:53:07Z" msg="Validating Listener State" time="2026-09-17T09:53:07Z" time="2026-09-17T09:53:07Z" msg="Starting IMAP Service" And the user logs in with username "7c33afd3-ec74-47bb-a996-80657261da7d" and password "password" # :1 -> *scenario time="2026-09-17T09:53:07Z" msg="Checking whether logged in user should re-sync. UserID:1754176b-d4dd-49b7-ab5d-205e67ebb09f" userID=1754176b-d4dd-49b7-ab5d-205e67ebb09f time="2026-09-17T09:53:07Z" msg="Sync triggered" time="2026-09-17T09:53:07Z" msg="Beginning user sync" start="2026-09-17 09:53:07.879021091 +0000 UTC m=+476.371323387" time="2026-09-17T09:53:07Z" msg="Syncing labels" And user "7c33afd3-ec74-47bb-a996-80657261da7d" connects and authenticates SMTP client "1" # :1 -> *scenario time="2026-09-17T09:53:07Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=493c9202-4e22-464a-bcf1-b60db49b9409 Then it succeeds # :1 -> *scenario time="2026-09-17T09:53:07Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=493c9202-4e22-464a-bcf1-b60db49b9409 time="2026-09-17T09:53:07Z" msg="Sending observability data." time="2026-09-17T09:53:07Z" msg="Mailbox created" /user remoteMailboxID=6 userID=493c9202-4e22-464a-bcf1-b60db49b9409 time="2026-09-17T09:53:07Z" msg="200 OK: GET https://127.0.0.1:33067/mail/v4/settings" /client userID=1754176b-d4dd-49b7-ab5d-205e67ebb09f time="2026-09-17T09:53:07Z" msg="200 OK: POST https://127.0.0.1:33067/data/v1/metrics" /client userID=1754176b-d4dd-49b7-ab5d-205e67ebb09f time="2026-09-17T09:53:07Z" msg="Successfully sent observability data." time="2026-09-17T09:53:07Z" msg="Mailbox created" /user remoteMailboxID=8 userID=493c9202-4e22-464a-bcf1-b60db49b9409 time="2026-09-17T09:53:07Z" msg="Mailbox created" /user remoteMailboxID=7 userID=493c9202-4e22-464a-bcf1-b60db49b9409 time="2026-09-17T09:53:07Z" msg="Mailbox created" /user remoteMailboxID=3 userID=493c9202-4e22-464a-bcf1-b60db49b9409 time="2026-09-17T09:53:07Z" msg="Mailbox created" /user remoteMailboxID=4 userID=493c9202-4e22-464a-bcf1-b60db49b9409 time="2026-09-17T09:53:07Z" msg="Mailbox created" /user remoteMailboxID=5 userID=493c9202-4e22-464a-bcf1-b60db49b9409 time="2026-09-17T09:53:07Z" msg="Mailbox created" /user remoteMailboxID=0 userID=493c9202-4e22-464a-bcf1-b60db49b9409 time="2026-09-17T09:53:07Z" msg="Mailbox created" /user remoteMailboxID=10 userID=493c9202-4e22-464a-bcf1-b60db49b9409 time="2026-09-17T09:53:07Z" msg="Mailbox created" /user remoteMailboxID=12 userID=493c9202-4e22-464a-bcf1-b60db49b9409 time="2026-09-17T09:53:07Z" msg="Synced labels" time="2026-09-17T09:53:07Z" msg="200 OK: GET https://127.0.0.1:33067/mail/v4/messages/count" /client userID=1754176b-d4dd-49b7-ab5d-205e67ebb09f time="2026-09-17T09:53:07Z" msg="Syncing messages" time="2026-09-17T09:53:07Z" msg="Job started" time="2026-09-17T09:53:07Z" msg="200 OK: POST https://127.0.0.1:33067/mail/v4/messages" /client userID=1754176b-d4dd-49b7-ab5d-205e67ebb09f time="2026-09-17T09:53:07Z" msg="Job finished" time="2026-09-17T09:53:07Z" msg="All child jobs completed" sync- time="2026-09-17T09:53:07Z" msg="Synced messages" time="2026-09-17T09:53:07Z" msg="Finished user sync" .814435ms time="2026-09-17T09:53:07Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:53:07Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:53:07Z" msg="200 OK: POST https://127.0.0.1:33067/mail/v4/messages" /client userID=1754176b-d4dd-49b7-ab5d-205e67ebb09f time="2026-09-17T09:53:07Z" msg="200 OK: POST https://127.0.0.1:33067/mail/v4/attachments" /client userID=1754176b-d4dd-49b7-ab5d-205e67ebb09f time="2026-09-17T09:53:07Z" msg="200 OK: GET https://127.0.0.1:33067/core/v4/keys?E%40proton.local" /client userID=1754176b-d4dd-49b7-ab5d-205e67ebb09f time="2026-09-17T09:53:07Z" msg="200 OK: GET https://127.0.0.1:33067/contacts/v4/emails?E%40proton.local&P&PageS" /client userID=1754176b-d4dd-49b7-ab5d-205e67ebb09f time="2026-09-17T09:53:07Z" msg="200 OK: POST https://127.0.0.1:33067/mail/v4/messages/58ec2ddc-5e6f-475e-bbd3-c78c770061bb" /client userID=1754176b-d4dd-49b7-ab5d-205e67ebb09f time="2026-09-17T09:53:07Z" msg="Scheduling observability data sending" Scenario: HTML message with attachment to internal account # features/smtp/send/html_att.feature:11 When SMTP client "1" sends the following message from "7c33afd3-ec74-47bb-a996-80657261da7d@proton.local" to "0b15f274-24f4-4769-b366-0b179f5d7b5f@proton.local": # :1 -> *scenario """ From: Bridge Test <[user:user]@[domain]> To: Internal Bridge <[user:to]@[domain]> Subject: HTML with attachment internal Content-Type: multipart/related; --bc5bd30245232f31b6c976adcd59bb0069c9b13f986f9e40c2571bb80aa16606 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/html; This is body of HTML mail with attachment --bc5bd30245232f31b6c976adcd59bb0069c9b13f986f9e40c2571bb80aa16606 Content-Disposition: attachment; .png Content-Id: <9114fe6f0adfaf7fdf7a@protonmail.com> Content-Transfer-Encoding: base64 Content-Type: image/png iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQot tAAAAABJRU5ErkJggg== --bc5bd30245232f31b6c976adcd59bb0069c9b13f986f9e40c2571bb80aa16606-- """ Then it succeeds # :1 -> *scenario When user "7c33afd3-ec74-47bb-a996-80657261da7d" connects and authenticates IMAP client "1" # :1 -> *scenario time="2026-09-17T09:53:08Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 2} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:53:08Z" msg="200 OK: GET https://127.0.0.1:33067/core/v4/events/AA==" /client userID=1754176b-d4dd-49b7-ab5d-205e67ebb09f time="2026-09-17T09:53:08Z" msg="Received new API event" new="Event BA==: messages: , , " old="AA==" time="2026-09-17T09:53:08Z" msg="Handling message created event" messageID=58ec2ddc-5e6f-475e-bbd3-c78c770061bb subject="******** (64ef96fe)" time="2026-09-17T09:53:08Z" msg="200 OK: GET https://127.0.0.1:33067/mail/v4/messages/58ec2ddc-5e6f-475e-bbd3-c78c770061bb" /client userID=1754176b-d4dd-49b7-ab5d-205e67ebb09f time="2026-09-17T09:53:08Z" msg="Handling draft or sent updated event" isD messageID=58ec2ddc-5e6f-475e-bbd3-c78c770061bb subject="******** (64ef96fe)" time="2026-09-17T09:53:08Z" msg="200 OK: GET https://127.0.0.1:33067/mail/v4/messages/58ec2ddc-5e6f-475e-bbd3-c78c770061bb" /client userID=1754176b-d4dd-49b7-ab5d-205e67ebb09f Then IMAP client "1" eventually sees the following messages in "Sent": # :1 -> *scenario | from | to | subject | | 7c33afd3-ec74-47bb-a996-80657261da7d@proton.local | 0b15f274-24f4-4769-b366-0b179f5d7b5f@proton.local | HTML with attachment internal | time="2026-09-17T09:53:08Z" msg="Frontend service stopped" time="2026-09-17T09:53:08Z" msg="Frontend client stopped" time="2026-09-17T09:53:08Z" msg="Closing bridge" time="2026-09-17T09:53:08Z" msg="Stopping service" time="2026-09-17T09:53:08Z" msg="Closing user" userID=1754176b-d4dd-49b7-ab5d-205e67ebb09f time="2026-09-17T09:53:08Z" msg="De-registering user client, ID:1754176b-d4dd-49b7-ab5d-205e67ebb09f" time="2026-09-17T09:53:08Z" msg="Exiting IMAP Service" time="2026-09-17T09:53:08Z" msg="Exiting service main loop" time="2026-09-17T09:53:08Z" msg="Exiting service main loop" time="2026-09-17T09:53:08Z" msg="Exiting Service" time="2026-09-17T09:53:08Z" msg="Exiting service main loop" time="2026-09-17T09:53:08Z" msg="Exiting service" time="2026-09-17T09:53:08Z" msg="Closing IMAP Listener" time="2026-09-17T09:53:08Z" msg="Closing IMAP server" time="2026-09-17T09:53:08Z" msg="Closing SMTP Listener" time="2026-09-17T09:53:08Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:53:08Z" msg="Closing SMTP server" time="2026-09-17T09:53:08Z" msg="Closing service" And the body in the "POST" request to "/mail/v4/messages" is: # :1 -> *scenario """ { "Message": { "Subject": "HTML with attachment internal", "Sender": { "Name": "Bridge Test" }, "ToList": [ { "Address": "[user:to]@[domain]", "Name": "Internal Bridge" } ], "CCList": [], "BCCList": [], "MIMEType": "text/html" } } """ time="2026-09-17T09:53:09Z" msg="User '0b793c68-3b33-40c4-9cd4-8cc085bc0d9b' created with " /server/backend time="2026-09-17T09:53:09Z" msg="User '4ee9c0bf-7df7-40ce-a599-eedca6b6d045' created with " /server/backend time="2026-09-17T09:53:10Z" msg="Starting bridge" time="2026-09-17T09:53:10Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/211/config451089861/grpcFocusServerConfig.json /service time="2026-09-17T09:53:10Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/211/cache3034056062/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:53:10Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/211/cache3034056062/notifications/notification_cache: no such file or directory" time="2026-09-17T09:53:10Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/211/data3565222062/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/211/data3565222062/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:53:10Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:53:10Z" msg="Starting IMAP server" time="2026-09-17T09:53:10Z" msg="Starting SMTP server" time="2026-09-17T09:53:10Z" msg="Starting service" time="2026-09-17T09:53:10Z" msg="Starting service" time="2026-09-17T09:53:10Z" msg="Starting poll service" time="2026-09-17T09:53:10Z" msg="Checking for updates" time="2026-09-17T09:53:10Z" msg="Loading users" /user time="2026-09-17T09:53:10Z" msg="Starting frontend service" time="2026-09-17T09:53:10Z" msg="Finished loading users" /user time="2026-09-17T09:53:10Z" msg="Starting receiver service" time="2026-09-17T09:53:10Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/211/config451089861/grpcServerConfig.json time="2026-09-17T09:53:10Z" msg="gRPC server listening on /tmp/bridge5637" time="2026-09-17T09:53:10Z" msg="Frontend service started" time="2026-09-17T09:53:10Z" msg="Starting frontend client" time="2026-09-17T09:53:10Z" msg="Not monitoring parent PID" time="2026-09-17T09:53:10Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:53:10Z" msg="Frontend client started" time="2026-09-17T09:53:10Z" msg="200 OK: GET https://127.0.0.1:43511/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:53:10Z" msg="Performing full user login" /user username="******** (12519256)" time="2026-09-17T09:53:10Z" msg="Authorizing user for login" /user username="******** (12519256)" time="2026-09-17T09:53:10Z" msg="200 OK: POST https://127.0.0.1:43511/auth/v4/info" /manager time="2026-09-17T09:53:10Z" msg="200 OK: POST https://127.0.0.1:43511/auth/v4" /manager time="2026-09-17T09:53:10Z" msg="Logging in authorized user" /user userID=5aa107ce-2487-436a-b773-c6190a6e0e18 time="2026-09-17T09:53:10Z" msg="Adding vault user" userID=5aa107ce-2487-436a-b773-c6190a6e0e18 time="2026-09-17T09:53:10Z" msg="Creating new user" userID=5aa107ce-2487-436a-b773-c6190a6e0e18 time="2026-09-17T09:53:10Z" msg="404 GET https://127.0.0.1:43511/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:53:10Z" msg="404 GET https://127.0.0.1:43511/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:53:10Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:43511/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:53:10Z" msg="Creating user object" authUID=923f713b-4c01-44fe-94db-3c9c5817c00b numA numL userID=5aa107ce-2487-436a-b773-c6190a6e0e18 time="2026-09-17T09:53:10Z" msg="200 OK: GET https://127.0.0.1:43511/core/v4/events/latest" /client userID=5aa107ce-2487-436a-b773-c6190a6e0e18 time="2026-09-17T09:53:10Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:53:10Z" msg="200 OK: GET https://127.0.0.1:43511/core/v4/settings" /client userID=5aa107ce-2487-436a-b773-c6190a6e0e18 time="2026-09-17T09:53:10Z" msg="Registering user client, ID:5aa107ce-2487-436a-b773-c6190a6e0e18" time="2026-09-17T09:53:10Z" msg="Starting service main loop" time="2026-09-17T09:53:10Z" msg="Starting user identity service" numA time="2026-09-17T09:53:10Z" msg="Starting service main loop" time="2026-09-17T09:53:10Z" msg="Starting service main loop" time="2026-09-17T09:53:10Z" msg="200 OK: GET https://127.0.0.1:43511/core/v4/labels?T" /client userID=5aa107ce-2487-436a-b773-c6190a6e0e18 time="2026-09-17T09:53:10Z" msg="200 OK: GET https://127.0.0.1:43511/core/v4/labels?T" /client userID=5aa107ce-2487-436a-b773-c6190a6e0e18 time="2026-09-17T09:53:10Z" msg="200 OK: GET https://127.0.0.1:43511/core/v4/labels?T" /client userID=5aa107ce-2487-436a-b773-c6190a6e0e18 time="2026-09-17T09:53:10Z" msg="Setting labels" labelIDs="[2 4 7 12 3 5 6 8 9 10 0 1]" time="2026-09-17T09:53:10Z" msg="Adding user to imap server" addrID=1de1cb92-5696-4dc4-9f5c-f85d794c2728 time="2026-09-17T09:53:10Z" msg="Creating new IMAP user" addrID=1de1cb92-5696-4dc4-9f5c-f85d794c2728 time="2026-09-17T09:53:10Z" msg="Setting gluon ID" addrID=1de1cb92-5696-4dc4-9f5c-f85d794c2728 gluonID=28712a62-54cd-4cc7-a3c3-e28a760b79f5 userID=5aa107ce-2487-436a-b773-c6190a6e0e18 time="2026-09-17T09:53:10Z" msg="Received mailbox message count" gluonID=28712a62-54cd-4cc7-a3c3-e28a760b79f5 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:53:10Z" msg="Created new IMAP user" addrID=1de1cb92-5696-4dc4-9f5c-f85d794c2728 gluonID=28712a62-54cd-4cc7-a3c3-e28a760b79f5 time="2026-09-17T09:53:10Z" msg="Validating Listener State" time="2026-09-17T09:53:10Z" time="2026-09-17T09:53:10Z" msg="Checking whether logged in user should re-sync. UserID:5aa107ce-2487-436a-b773-c6190a6e0e18" userID=5aa107ce-2487-436a-b773-c6190a6e0e18 time="2026-09-17T09:53:10Z" msg="Starting IMAP Service" time="2026-09-17T09:53:10Z" msg="Sync triggered" time="2026-09-17T09:53:10Z" msg="Beginning user sync" start="2026-09-17 09:53:10.59962724 +0000 UTC m=+479.091929856" time="2026-09-17T09:53:10Z" msg="Sending observability data." time="2026-09-17T09:53:10Z" msg="Syncing labels" time="2026-09-17T09:53:10Z" msg="200 OK: POST https://127.0.0.1:43511/data/v1/metrics" /client userID=5aa107ce-2487-436a-b773-c6190a6e0e18 time="2026-09-17T09:53:10Z" msg="Successfully sent observability data." time="2026-09-17T09:53:10Z" msg="200 OK: GET https://127.0.0.1:43511/mail/v4/settings" /client userID=5aa107ce-2487-436a-b773-c6190a6e0e18 time="2026-09-17T09:53:10Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=28712a62-54cd-4cc7-a3c3-e28a760b79f5 time="2026-09-17T09:53:10Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=28712a62-54cd-4cc7-a3c3-e28a760b79f5 time="2026-09-17T09:53:10Z" msg="Mailbox created" /user remoteMailboxID=7 userID=28712a62-54cd-4cc7-a3c3-e28a760b79f5 time="2026-09-17T09:53:10Z" msg="Mailbox created" /user remoteMailboxID=3 userID=28712a62-54cd-4cc7-a3c3-e28a760b79f5 time="2026-09-17T09:53:10Z" msg="Mailbox created" /user remoteMailboxID=6 userID=28712a62-54cd-4cc7-a3c3-e28a760b79f5 time="2026-09-17T09:53:10Z" msg="Mailbox created" /user remoteMailboxID=8 userID=28712a62-54cd-4cc7-a3c3-e28a760b79f5 time="2026-09-17T09:53:10Z" msg="Mailbox created" /user remoteMailboxID=0 userID=28712a62-54cd-4cc7-a3c3-e28a760b79f5 time="2026-09-17T09:53:10Z" msg="Mailbox created" /user remoteMailboxID=4 userID=28712a62-54cd-4cc7-a3c3-e28a760b79f5 time="2026-09-17T09:53:10Z" msg="Mailbox created" /user remoteMailboxID=12 userID=28712a62-54cd-4cc7-a3c3-e28a760b79f5 time="2026-09-17T09:53:10Z" msg="Mailbox created" /user remoteMailboxID=5 userID=28712a62-54cd-4cc7-a3c3-e28a760b79f5 time="2026-09-17T09:53:10Z" msg="Mailbox created" /user remoteMailboxID=10 userID=28712a62-54cd-4cc7-a3c3-e28a760b79f5 time="2026-09-17T09:53:10Z" msg="Synced labels" time="2026-09-17T09:53:10Z" msg="200 OK: GET https://127.0.0.1:43511/mail/v4/messages/count" /client userID=5aa107ce-2487-436a-b773-c6190a6e0e18 time="2026-09-17T09:53:10Z" msg="Syncing messages" time="2026-09-17T09:53:10Z" msg="Job started" time="2026-09-17T09:53:10Z" msg="200 OK: POST https://127.0.0.1:43511/mail/v4/messages" /client userID=5aa107ce-2487-436a-b773-c6190a6e0e18 time="2026-09-17T09:53:10Z" msg="Job finished" time="2026-09-17T09:53:10Z" msg="All child jobs completed" sync- time="2026-09-17T09:53:10Z" msg="Synced messages" time="2026-09-17T09:53:10Z" msg="Finished user sync" .747296ms time="2026-09-17T09:53:10Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:53:10Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:53:10Z" msg="200 OK: POST https://127.0.0.1:43511/mail/v4/messages" /client userID=5aa107ce-2487-436a-b773-c6190a6e0e18 time="2026-09-17T09:53:10Z" msg="200 OK: POST https://127.0.0.1:43511/mail/v4/attachments" /client userID=5aa107ce-2487-436a-b773-c6190a6e0e18 time="2026-09-17T09:53:10Z" msg="200 OK: GET https://127.0.0.1:43511/core/v4/keys?E.bridge.qa%40gmail.com" /client userID=5aa107ce-2487-436a-b773-c6190a6e0e18 time="2026-09-17T09:53:10Z" msg="200 OK: GET https://127.0.0.1:43511/contacts/v4/emails?E.bridge.qa%40gmail.com&P&PageS" /client userID=5aa107ce-2487-436a-b773-c6190a6e0e18 time="2026-09-17T09:53:10Z" msg="200 OK: POST https://127.0.0.1:43511/mail/v4/messages/9163b280-f5f3-46c2-8065-74112a3282b4" /client userID=5aa107ce-2487-436a-b773-c6190a6e0e18 time="2026-09-17T09:53:10Z" msg="Scheduling observability data sending" Scenario: HTML message with attachment to external account # features/smtp/send/html_att.feature:63 When SMTP client "1" sends the following message from "0b793c68-3b33-40c4-9cd4-8cc085bc0d9b@proton.local" to "pm.bridge.qa@gmail.com": # :1 -> *scenario """ From: Bridge Test <[user:user]@[domain]> To: External Bridge Subject: HTML with attachment external PGP Content-Type: multipart/mixed; --bc5bd30245232f31b6c976adcd59bb0069c9b13f986f9e40c2571bb80aa16606 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/html; This is body of HTML mail with attachment --bc5bd30245232f31b6c976adcd59bb0069c9b13f986f9e40c2571bb80aa16606 Content-Disposition: attachment; .png Content-Id: <9114fe6f0adfaf7fdf7a@protonmail.com> Content-Transfer-Encoding: base64 Content-Type: image/png iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQot tAAAAABJRU5ErkJggg== --bc5bd30245232f31b6c976adcd59bb0069c9b13f986f9e40c2571bb80aa16606-- """ Then it succeeds # :1 -> *scenario When user "0b793c68-3b33-40c4-9cd4-8cc085bc0d9b" connects and authenticates IMAP client "1" # :1 -> *scenario time="2026-09-17T09:53:10Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 6} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:53:11Z" msg="200 OK: GET https://127.0.0.1:43511/core/v4/events/AA==" /client userID=5aa107ce-2487-436a-b773-c6190a6e0e18 time="2026-09-17T09:53:11Z" msg="Received new API event" new="Event BA==: messages: , , " old="AA==" time="2026-09-17T09:53:11Z" msg="Handling message created event" messageID=9163b280-f5f3-46c2-8065-74112a3282b4 subject="******** (d5f194d1)" time="2026-09-17T09:53:11Z" msg="200 OK: GET https://127.0.0.1:43511/mail/v4/messages/9163b280-f5f3-46c2-8065-74112a3282b4" /client userID=5aa107ce-2487-436a-b773-c6190a6e0e18 time="2026-09-17T09:53:11Z" msg="Handling draft or sent updated event" isD messageID=9163b280-f5f3-46c2-8065-74112a3282b4 subject="******** (d5f194d1)" time="2026-09-17T09:53:11Z" msg="200 OK: GET https://127.0.0.1:43511/mail/v4/messages/9163b280-f5f3-46c2-8065-74112a3282b4" /client userID=5aa107ce-2487-436a-b773-c6190a6e0e18 Then IMAP client "1" eventually sees the following messages in "Sent": # :1 -> *scenario | from | to | subject | | 0b793c68-3b33-40c4-9cd4-8cc085bc0d9b@proton.local | pm.bridge.qa@gmail.com | HTML with attachment external PGP | time="2026-09-17T09:53:11Z" msg="Frontend service stopped" time="2026-09-17T09:53:11Z" msg="Frontend client stopped" time="2026-09-17T09:53:11Z" msg="Closing bridge" time="2026-09-17T09:53:11Z" msg="Stopping service" time="2026-09-17T09:53:11Z" msg="Closing user" userID=5aa107ce-2487-436a-b773-c6190a6e0e18 time="2026-09-17T09:53:11Z" msg="De-registering user client, ID:5aa107ce-2487-436a-b773-c6190a6e0e18" time="2026-09-17T09:53:11Z" msg="Exiting IMAP Service" time="2026-09-17T09:53:11Z" msg="Exiting service main loop" time="2026-09-17T09:53:11Z" msg="Exiting service main loop" time="2026-09-17T09:53:11Z" msg="Exiting Service" time="2026-09-17T09:53:11Z" msg="Exiting service main loop" time="2026-09-17T09:53:11Z" msg="Exiting service" time="2026-09-17T09:53:11Z" msg="Closing IMAP Listener" time="2026-09-17T09:53:11Z" msg="Closing IMAP server" time="2026-09-17T09:53:11Z" msg="Closing SMTP Listener" time="2026-09-17T09:53:11Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:53:11Z" msg="Closing SMTP server" time="2026-09-17T09:53:11Z" msg="Closing service" And the body in the "POST" request to "/mail/v4/messages" is: # :1 -> *scenario """ { "Message": { "Subject": "HTML with attachment external PGP", "Sender": { "Name": "Bridge Test" }, "ToList": [ { "Address": "pm.bridge.qa@gmail.com", "Name": "External Bridge" } ], "CCList": [], "BCCList": [], "MIMEType": "text/html" } } """ time="2026-09-17T09:53:11Z" msg="User '147fc6f3-ffd9-48cb-b2ff-8c94f2eda553' created with " /server/backend time="2026-09-17T09:53:12Z" msg="User '632ea146-7866-4035-b3d7-94b25e1302f7' created with " /server/backend time="2026-09-17T09:53:12Z" msg="Starting bridge" time="2026-09-17T09:53:12Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/212/config4260688681/grpcFocusServerConfig.json /service time="2026-09-17T09:53:12Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/212/cache2006750269/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:53:12Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/212/cache2006750269/notifications/notification_cache: no such file or directory" time="2026-09-17T09:53:12Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/212/data1825412478/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/212/data1825412478/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:53:12Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:53:12Z" msg="Starting IMAP server" time="2026-09-17T09:53:12Z" msg="Starting SMTP server" time="2026-09-17T09:53:12Z" msg="Starting service" time="2026-09-17T09:53:12Z" msg="Starting service" time="2026-09-17T09:53:12Z" msg="Starting receiver service" time="2026-09-17T09:53:12Z" msg="Starting poll service" time="2026-09-17T09:53:12Z" msg="Loading users" /user time="2026-09-17T09:53:12Z" msg="Finished loading users" /user time="2026-09-17T09:53:12Z" msg="Checking for updates" time="2026-09-17T09:53:12Z" msg="Starting frontend service" time="2026-09-17T09:53:12Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/212/config4260688681/grpcServerConfig.json time="2026-09-17T09:53:12Z" msg="gRPC server listening on /tmp/bridge2207" time="2026-09-17T09:53:12Z" msg="Frontend service started" time="2026-09-17T09:53:12Z" msg="Starting frontend client" time="2026-09-17T09:53:12Z" msg="Not monitoring parent PID" time="2026-09-17T09:53:12Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:53:12Z" msg="Frontend client started" time="2026-09-17T09:53:12Z" msg="Performing full user login" /user username="******** (aeecb09e)" time="2026-09-17T09:53:12Z" msg="Authorizing user for login" /user username="******** (aeecb09e)" time="2026-09-17T09:53:12Z" msg="200 OK: GET https://127.0.0.1:32829/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:53:12Z" msg="200 OK: POST https://127.0.0.1:32829/auth/v4/info" /manager time="2026-09-17T09:53:13Z" msg="200 OK: POST https://127.0.0.1:32829/auth/v4" /manager time="2026-09-17T09:53:13Z" msg="Logging in authorized user" /user userID=60fc1388-1981-4cc2-a9c1-dce46e48ee3a time="2026-09-17T09:53:13Z" msg="Adding vault user" userID=60fc1388-1981-4cc2-a9c1-dce46e48ee3a time="2026-09-17T09:53:13Z" msg="Creating new user" userID=60fc1388-1981-4cc2-a9c1-dce46e48ee3a time="2026-09-17T09:53:13Z" msg="404 GET https://127.0.0.1:32829/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:53:13Z" msg="404 GET https://127.0.0.1:32829/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:53:13Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:32829/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:53:13Z" msg="Creating user object" authUID=b9e055b5-9905-4193-992a-923527392fd8 numA numL userID=60fc1388-1981-4cc2-a9c1-dce46e48ee3a time="2026-09-17T09:53:13Z" msg="200 OK: GET https://127.0.0.1:32829/core/v4/events/latest" /client userID=60fc1388-1981-4cc2-a9c1-dce46e48ee3a time="2026-09-17T09:53:13Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:53:13Z" msg="200 OK: GET https://127.0.0.1:32829/core/v4/settings" /client userID=60fc1388-1981-4cc2-a9c1-dce46e48ee3a time="2026-09-17T09:53:13Z" msg="Registering user client, ID:60fc1388-1981-4cc2-a9c1-dce46e48ee3a" time="2026-09-17T09:53:13Z" msg="Starting service main loop" time="2026-09-17T09:53:13Z" msg="Starting user identity service" numA time="2026-09-17T09:53:13Z" msg="Starting service main loop" time="2026-09-17T09:53:13Z" msg="Starting service main loop" time="2026-09-17T09:53:13Z" msg="200 OK: GET https://127.0.0.1:32829/core/v4/labels?T" /client userID=60fc1388-1981-4cc2-a9c1-dce46e48ee3a time="2026-09-17T09:53:13Z" msg="200 OK: GET https://127.0.0.1:32829/core/v4/labels?T" /client userID=60fc1388-1981-4cc2-a9c1-dce46e48ee3a time="2026-09-17T09:53:13Z" msg="200 OK: GET https://127.0.0.1:32829/core/v4/labels?T" /client userID=60fc1388-1981-4cc2-a9c1-dce46e48ee3a time="2026-09-17T09:53:13Z" msg="Setting labels" labelIDs="[12 1 2 3 4 5 6 7 9 0 8 10]" time="2026-09-17T09:53:13Z" msg="Adding user to imap server" addrID=1a7e5fb0-9d0d-4907-91b4-f027135ffa99 time="2026-09-17T09:53:13Z" msg="Creating new IMAP user" addrID=1a7e5fb0-9d0d-4907-91b4-f027135ffa99 time="2026-09-17T09:53:13Z" msg="Setting gluon ID" addrID=1a7e5fb0-9d0d-4907-91b4-f027135ffa99 gluonID=526ddd1d-cb82-4e7b-b328-04f7c7e93e58 userID=60fc1388-1981-4cc2-a9c1-dce46e48ee3a time="2026-09-17T09:53:13Z" msg="Received mailbox message count" gluonID=526ddd1d-cb82-4e7b-b328-04f7c7e93e58 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:53:13Z" msg="Created new IMAP user" addrID=1a7e5fb0-9d0d-4907-91b4-f027135ffa99 gluonID=526ddd1d-cb82-4e7b-b328-04f7c7e93e58 time="2026-09-17T09:53:13Z" msg="Validating Listener State" time="2026-09-17T09:53:13Z" time="2026-09-17T09:53:13Z" msg="Starting IMAP Service" time="2026-09-17T09:53:13Z" msg="Checking whether logged in user should re-sync. UserID:60fc1388-1981-4cc2-a9c1-dce46e48ee3a" userID=60fc1388-1981-4cc2-a9c1-dce46e48ee3a time="2026-09-17T09:53:13Z" msg="Sync triggered" time="2026-09-17T09:53:13Z" msg="Beginning user sync" start="2026-09-17 09:53:13.328346705 +0000 UTC m=+481.820649041" time="2026-09-17T09:53:13Z" msg="Sending observability data." time="2026-09-17T09:53:13Z" msg="Syncing labels" time="2026-09-17T09:53:13Z" msg="200 OK: POST https://127.0.0.1:32829/data/v1/metrics" /client userID=60fc1388-1981-4cc2-a9c1-dce46e48ee3a time="2026-09-17T09:53:13Z" msg="Successfully sent observability data." time="2026-09-17T09:53:13Z" msg="200 OK: GET https://127.0.0.1:32829/mail/v4/settings" /client userID=60fc1388-1981-4cc2-a9c1-dce46e48ee3a time="2026-09-17T09:53:13Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=526ddd1d-cb82-4e7b-b328-04f7c7e93e58 time="2026-09-17T09:53:13Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=526ddd1d-cb82-4e7b-b328-04f7c7e93e58 time="2026-09-17T09:53:13Z" msg="Mailbox created" /user remoteMailboxID=6 userID=526ddd1d-cb82-4e7b-b328-04f7c7e93e58 time="2026-09-17T09:53:13Z" msg="Mailbox created" /user remoteMailboxID=0 userID=526ddd1d-cb82-4e7b-b328-04f7c7e93e58 time="2026-09-17T09:53:13Z" msg="Mailbox created" /user remoteMailboxID=8 userID=526ddd1d-cb82-4e7b-b328-04f7c7e93e58 time="2026-09-17T09:53:13Z" msg="Mailbox created" /user remoteMailboxID=12 userID=526ddd1d-cb82-4e7b-b328-04f7c7e93e58 time="2026-09-17T09:53:13Z" msg="Mailbox created" /user remoteMailboxID=7 userID=526ddd1d-cb82-4e7b-b328-04f7c7e93e58 time="2026-09-17T09:53:13Z" msg="Mailbox created" /user remoteMailboxID=10 userID=526ddd1d-cb82-4e7b-b328-04f7c7e93e58 time="2026-09-17T09:53:13Z" msg="Mailbox created" /user remoteMailboxID=3 userID=526ddd1d-cb82-4e7b-b328-04f7c7e93e58 time="2026-09-17T09:53:13Z" msg="Mailbox created" /user remoteMailboxID=4 userID=526ddd1d-cb82-4e7b-b328-04f7c7e93e58 time="2026-09-17T09:53:13Z" msg="Mailbox created" /user remoteMailboxID=5 userID=526ddd1d-cb82-4e7b-b328-04f7c7e93e58 time="2026-09-17T09:53:13Z" msg="Synced labels" time="2026-09-17T09:53:13Z" msg="200 OK: GET https://127.0.0.1:32829/mail/v4/messages/count" /client userID=60fc1388-1981-4cc2-a9c1-dce46e48ee3a time="2026-09-17T09:53:13Z" msg="Syncing messages" time="2026-09-17T09:53:13Z" msg="Job started" time="2026-09-17T09:53:13Z" msg="200 OK: POST https://127.0.0.1:32829/mail/v4/messages" /client userID=60fc1388-1981-4cc2-a9c1-dce46e48ee3a time="2026-09-17T09:53:13Z" msg="Job finished" time="2026-09-17T09:53:13Z" msg="All child jobs completed" sync- time="2026-09-17T09:53:13Z" msg="Synced messages" time="2026-09-17T09:53:13Z" msg="Finished user sync" .537287ms time="2026-09-17T09:53:13Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:53:13Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:53:13Z" msg="200 OK: POST https://127.0.0.1:32829/mail/v4/messages" /client userID=60fc1388-1981-4cc2-a9c1-dce46e48ee3a time="2026-09-17T09:53:13Z" msg="200 OK: POST https://127.0.0.1:32829/mail/v4/attachments" /client userID=60fc1388-1981-4cc2-a9c1-dce46e48ee3a time="2026-09-17T09:53:13Z" msg="200 OK: GET https://127.0.0.1:32829/core/v4/keys?E.bridge.qa%40gmail.com" /client userID=60fc1388-1981-4cc2-a9c1-dce46e48ee3a time="2026-09-17T09:53:13Z" msg="200 OK: GET https://127.0.0.1:32829/contacts/v4/emails?E.bridge.qa%40gmail.com&P&PageS" /client userID=60fc1388-1981-4cc2-a9c1-dce46e48ee3a time="2026-09-17T09:53:13Z" msg="200 OK: POST https://127.0.0.1:32829/mail/v4/messages/bcac93ce-7c0a-4664-bd24-dde9a644adc3" /client userID=60fc1388-1981-4cc2-a9c1-dce46e48ee3a time="2026-09-17T09:53:13Z" msg="Scheduling observability data sending" Scenario: Alternative plain and HTML message with rfc822 attachment # features/smtp/send/html_att.feature:115 When SMTP client "1" sends the following message from "147fc6f3-ffd9-48cb-b2ff-8c94f2eda553@proton.local" to "pm.bridge.qa@gmail.com": # :1 -> *scenario """ From: Bridge Test <[user:user]@[domain]> To: External Bridge Subject: Alternative plain and HTML with rfc822 attachment Content-Type: multipart/mixed; This is a multipart message in MIME format --main-parts Content-Type: multipart/alternative; --alternatives Content-Type: text/plain There is an attachment --alternatives Content-Type: text/html There is an attachment --alternatives-- --main-parts Content-Type: message/rfc822 Content-Transfer-Encoding: 7bit Content-Disposition: attachment Received: from mx1.opensuse.org (mx1.infra.opensuse.org [192.168.47.95]) by mailman3.infra.opensuse.org (Postfix) with ESMTP id 38BE2AC3 for ; Sun, 11 Jul 2021 19:50:34 +0000 (UTC) From: "Bob " Sender: "Bob" To: "opensuse-factory" Cc: "Bob" References: Subject: VirtualBox problems with kernel 5.13 Date: Sun, 11 Jul 2021 21:50:25 +0200 Message-ID: <71672e5f-24a2-c79f-03cc-4c923eb1790b@lwfinger.net> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 16.0 List-Unsubscribe: Content-Language: en-us List-Help: List-Subscribe: Thread-Index: AQFWvbNSAqFOch49YPlLU4eJWPObaQK2iKDq I am writing this message as openSUSE's maintainer of VirtualBox. Nearly every update of the Linux kernel to a new 5.X version breaks = VirtualBox. Bob --main-parts-- """ Then it succeeds # :1 -> *scenario When user "147fc6f3-ffd9-48cb-b2ff-8c94f2eda553" connects and authenticates IMAP client "1" # :1 -> *scenario time="2026-09-17T09:53:13Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 3} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:53:14Z" msg="200 OK: GET https://127.0.0.1:32829/core/v4/events/AA==" /client userID=60fc1388-1981-4cc2-a9c1-dce46e48ee3a time="2026-09-17T09:53:14Z" msg="Received new API event" new="Event BA==: messages: , , " old="AA==" time="2026-09-17T09:53:14Z" msg="Handling message created event" messageID=bcac93ce-7c0a-4664-bd24-dde9a644adc3 subject="******** (eea612bb)" time="2026-09-17T09:53:14Z" msg="200 OK: GET https://127.0.0.1:32829/mail/v4/messages/bcac93ce-7c0a-4664-bd24-dde9a644adc3" /client userID=60fc1388-1981-4cc2-a9c1-dce46e48ee3a time="2026-09-17T09:53:14Z" msg="Handling draft or sent updated event" isD messageID=bcac93ce-7c0a-4664-bd24-dde9a644adc3 subject="******** (eea612bb)" time="2026-09-17T09:53:14Z" msg="200 OK: GET https://127.0.0.1:32829/mail/v4/messages/bcac93ce-7c0a-4664-bd24-dde9a644adc3" /client userID=60fc1388-1981-4cc2-a9c1-dce46e48ee3a Then IMAP client "1" eventually sees the following messages in "Sent": # :1 -> *scenario | from | to | subject | | 147fc6f3-ffd9-48cb-b2ff-8c94f2eda553@proton.local | pm.bridge.qa@gmail.com | Alternative plain and HTML with rfc822 attachment | time="2026-09-17T09:53:14Z" msg="Frontend service stopped" time="2026-09-17T09:53:14Z" msg="Frontend client stopped" time="2026-09-17T09:53:14Z" msg="Closing bridge" time="2026-09-17T09:53:14Z" msg="Stopping service" time="2026-09-17T09:53:14Z" msg="Closing user" userID=60fc1388-1981-4cc2-a9c1-dce46e48ee3a time="2026-09-17T09:53:14Z" msg="De-registering user client, ID:60fc1388-1981-4cc2-a9c1-dce46e48ee3a" time="2026-09-17T09:53:14Z" msg="Exiting IMAP Service" time="2026-09-17T09:53:14Z" msg="Exiting service main loop" time="2026-09-17T09:53:14Z" msg="Exiting service main loop" time="2026-09-17T09:53:14Z" msg="Exiting Service" time="2026-09-17T09:53:14Z" msg="Exiting service main loop" time="2026-09-17T09:53:14Z" msg="Exiting service" time="2026-09-17T09:53:14Z" msg="Closing IMAP Listener" time="2026-09-17T09:53:14Z" msg="Closing IMAP server" time="2026-09-17T09:53:14Z" msg="Closing SMTP Listener" time="2026-09-17T09:53:14Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:53:14Z" msg="Closing SMTP server" time="2026-09-17T09:53:14Z" msg="Closing service" And the body in the "POST" request to "/mail/v4/messages" is: # :1 -> *scenario """ { "Message": { "Subject": "Alternative plain and HTML with rfc822 attachment", "Sender": { "Name": "Bridge Test" }, "ToList": [ { "Address": "pm.bridge.qa@gmail.com", "Name": "External Bridge" } ], "CCList": [], "BCCList": [], "MIMEType": "text/html" } } """ Feature: SMTP messages containing inlines time="2026-09-17T09:53:14Z" msg="User 'ecc2aab6-bc84-4c88-9e08-b20a90f530f5' created with " /server/backend Background: Given there exists an account with username "ecc2aab6-bc84-4c88-9e08-b20a90f530f5" and password "password" # :1 -> *scenario time="2026-09-17T09:53:15Z" msg="User '0a742ff2-2a06-46bf-8b6e-a76945c42e32' created with " /server/backend And there exists an account with username "0a742ff2-2a06-46bf-8b6e-a76945c42e32" and password "password" # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:53:15Z" msg="Starting bridge" time="2026-09-17T09:53:15Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/213/config3060619373/grpcFocusServerConfig.json /service time="2026-09-17T09:53:15Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/213/cache4167425276/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:53:15Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/213/cache4167425276/notifications/notification_cache: no such file or directory" time="2026-09-17T09:53:15Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/213/data3870020762/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/213/data3870020762/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:53:15Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:53:15Z" msg="Starting IMAP server" time="2026-09-17T09:53:15Z" msg="Starting SMTP server" time="2026-09-17T09:53:15Z" msg="Starting service" time="2026-09-17T09:53:15Z" msg="Starting service" time="2026-09-17T09:53:15Z" msg="Starting frontend service" time="2026-09-17T09:53:15Z" msg="Checking for updates" time="2026-09-17T09:53:15Z" msg="Starting receiver service" time="2026-09-17T09:53:15Z" msg="Starting poll service" time="2026-09-17T09:53:15Z" msg="Loading users" /user time="2026-09-17T09:53:15Z" msg="Finished loading users" /user time="2026-09-17T09:53:15Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/213/config3060619373/grpcServerConfig.json time="2026-09-17T09:53:15Z" msg="gRPC server listening on /tmp/bridge2197" time="2026-09-17T09:53:15Z" msg="Frontend service started" time="2026-09-17T09:53:15Z" msg="Starting frontend client" time="2026-09-17T09:53:15Z" msg="Not monitoring parent PID" time="2026-09-17T09:53:15Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:53:15Z" msg="200 OK: GET https://127.0.0.1:34771/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:53:15Z" msg="Frontend client started" When bridge starts # :1 -> *scenario time="2026-09-17T09:53:15Z" msg="Performing full user login" /user username="******** (2ebfc783)" time="2026-09-17T09:53:15Z" msg="Authorizing user for login" /user username="******** (2ebfc783)" time="2026-09-17T09:53:15Z" msg="200 OK: POST https://127.0.0.1:34771/auth/v4/info" /manager time="2026-09-17T09:53:15Z" msg="200 OK: POST https://127.0.0.1:34771/auth/v4" /manager time="2026-09-17T09:53:15Z" msg="Logging in authorized user" /user userID=dcf409a1-d9c4-4ecb-9502-a0985be96655 time="2026-09-17T09:53:16Z" msg="Adding vault user" userID=dcf409a1-d9c4-4ecb-9502-a0985be96655 time="2026-09-17T09:53:16Z" msg="Creating new user" userID=dcf409a1-d9c4-4ecb-9502-a0985be96655 time="2026-09-17T09:53:16Z" msg="404 GET https://127.0.0.1:34771/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:53:16Z" msg="404 GET https://127.0.0.1:34771/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:53:16Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:34771/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:53:16Z" msg="Creating user object" authUID=697436e5-9ee3-45d0-b02f-12899de83a82 numA numL userID=dcf409a1-d9c4-4ecb-9502-a0985be96655 time="2026-09-17T09:53:16Z" msg="200 OK: GET https://127.0.0.1:34771/core/v4/events/latest" /client userID=dcf409a1-d9c4-4ecb-9502-a0985be96655 time="2026-09-17T09:53:16Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:53:16Z" msg="200 OK: GET https://127.0.0.1:34771/core/v4/settings" /client userID=dcf409a1-d9c4-4ecb-9502-a0985be96655 time="2026-09-17T09:53:16Z" msg="Registering user client, ID:dcf409a1-d9c4-4ecb-9502-a0985be96655" time="2026-09-17T09:53:16Z" msg="Starting service main loop" time="2026-09-17T09:53:16Z" msg="Starting user identity service" numA time="2026-09-17T09:53:16Z" msg="Starting service main loop" time="2026-09-17T09:53:16Z" msg="Starting service main loop" time="2026-09-17T09:53:16Z" msg="200 OK: GET https://127.0.0.1:34771/core/v4/labels?T" /client userID=dcf409a1-d9c4-4ecb-9502-a0985be96655 time="2026-09-17T09:53:16Z" msg="200 OK: GET https://127.0.0.1:34771/core/v4/labels?T" /client userID=dcf409a1-d9c4-4ecb-9502-a0985be96655 time="2026-09-17T09:53:16Z" msg="200 OK: GET https://127.0.0.1:34771/core/v4/labels?T" /client userID=dcf409a1-d9c4-4ecb-9502-a0985be96655 time="2026-09-17T09:53:16Z" msg="Setting labels" labelIDs="[0 2 4 6 8 10 12 1 3 5 7 9]" time="2026-09-17T09:53:16Z" msg="Adding user to imap server" addrID=c0b45a38-c6be-42b2-a260-a80586695fdb time="2026-09-17T09:53:16Z" msg="Creating new IMAP user" addrID=c0b45a38-c6be-42b2-a260-a80586695fdb time="2026-09-17T09:53:16Z" msg="Setting gluon ID" addrID=c0b45a38-c6be-42b2-a260-a80586695fdb gluonID=aff70386-1179-4eab-a121-6548ef94a354 userID=dcf409a1-d9c4-4ecb-9502-a0985be96655 time="2026-09-17T09:53:16Z" msg="Received mailbox message count" gluonID=aff70386-1179-4eab-a121-6548ef94a354 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:53:16Z" msg="Created new IMAP user" addrID=c0b45a38-c6be-42b2-a260-a80586695fdb gluonID=aff70386-1179-4eab-a121-6548ef94a354 time="2026-09-17T09:53:16Z" msg="Validating Listener State" time="2026-09-17T09:53:16Z" time="2026-09-17T09:53:16Z" msg="Starting IMAP Service" time="2026-09-17T09:53:16Z" msg="Checking whether logged in user should re-sync. UserID:dcf409a1-d9c4-4ecb-9502-a0985be96655" userID=dcf409a1-d9c4-4ecb-9502-a0985be96655 time="2026-09-17T09:53:16Z" msg="Sync triggered" time="2026-09-17T09:53:16Z" msg="Beginning user sync" start="2026-09-17 09:53:16.051288706 +0000 UTC m=+484.543591002" And the user logs in with username "ecc2aab6-bc84-4c88-9e08-b20a90f530f5" and password "password" # :1 -> *scenario time="2026-09-17T09:53:16Z" msg="Syncing labels" And user "ecc2aab6-bc84-4c88-9e08-b20a90f530f5" connects and authenticates SMTP client "1" # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:53:16Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=aff70386-1179-4eab-a121-6548ef94a354 time="2026-09-17T09:53:16Z" msg="Sending observability data." time="2026-09-17T09:53:16Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=aff70386-1179-4eab-a121-6548ef94a354 time="2026-09-17T09:53:16Z" msg="Mailbox created" /user remoteMailboxID=0 userID=aff70386-1179-4eab-a121-6548ef94a354 time="2026-09-17T09:53:16Z" msg="200 OK: POST https://127.0.0.1:34771/data/v1/metrics" /client userID=dcf409a1-d9c4-4ecb-9502-a0985be96655 time="2026-09-17T09:53:16Z" msg="Successfully sent observability data." time="2026-09-17T09:53:16Z" msg="Mailbox created" /user remoteMailboxID=6 userID=aff70386-1179-4eab-a121-6548ef94a354 time="2026-09-17T09:53:16Z" msg="200 OK: GET https://127.0.0.1:34771/mail/v4/settings" /client userID=dcf409a1-d9c4-4ecb-9502-a0985be96655 time="2026-09-17T09:53:16Z" msg="Mailbox created" /user remoteMailboxID=8 userID=aff70386-1179-4eab-a121-6548ef94a354 time="2026-09-17T09:53:16Z" msg="Mailbox created" /user remoteMailboxID=12 userID=aff70386-1179-4eab-a121-6548ef94a354 time="2026-09-17T09:53:16Z" msg="Mailbox created" /user remoteMailboxID=7 userID=aff70386-1179-4eab-a121-6548ef94a354 time="2026-09-17T09:53:16Z" msg="Mailbox created" /user remoteMailboxID=4 userID=aff70386-1179-4eab-a121-6548ef94a354 time="2026-09-17T09:53:16Z" msg="Mailbox created" /user remoteMailboxID=10 userID=aff70386-1179-4eab-a121-6548ef94a354 time="2026-09-17T09:53:16Z" msg="Mailbox created" /user remoteMailboxID=3 userID=aff70386-1179-4eab-a121-6548ef94a354 time="2026-09-17T09:53:16Z" msg="Mailbox created" /user remoteMailboxID=5 userID=aff70386-1179-4eab-a121-6548ef94a354 time="2026-09-17T09:53:16Z" msg="Synced labels" time="2026-09-17T09:53:16Z" msg="200 OK: GET https://127.0.0.1:34771/mail/v4/messages/count" /client userID=dcf409a1-d9c4-4ecb-9502-a0985be96655 time="2026-09-17T09:53:16Z" msg="Syncing messages" time="2026-09-17T09:53:16Z" msg="Job started" time="2026-09-17T09:53:16Z" msg="200 OK: POST https://127.0.0.1:34771/mail/v4/messages" /client userID=dcf409a1-d9c4-4ecb-9502-a0985be96655 time="2026-09-17T09:53:16Z" msg="Job finished" time="2026-09-17T09:53:16Z" msg="All child jobs completed" sync- time="2026-09-17T09:53:16Z" msg="Synced messages" time="2026-09-17T09:53:16Z" msg="Finished user sync" .985676ms time="2026-09-17T09:53:16Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:53:16Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:53:16Z" msg="200 OK: POST https://127.0.0.1:34771/mail/v4/messages" /client userID=dcf409a1-d9c4-4ecb-9502-a0985be96655 time="2026-09-17T09:53:16Z" msg="200 OK: POST https://127.0.0.1:34771/mail/v4/attachments" /client userID=dcf409a1-d9c4-4ecb-9502-a0985be96655 time="2026-09-17T09:53:16Z" msg="200 OK: GET https://127.0.0.1:34771/core/v4/keys?E%40proton.local" /client userID=dcf409a1-d9c4-4ecb-9502-a0985be96655 time="2026-09-17T09:53:16Z" msg="200 OK: GET https://127.0.0.1:34771/contacts/v4/emails?E%40proton.local&P&PageS" /client userID=dcf409a1-d9c4-4ecb-9502-a0985be96655 time="2026-09-17T09:53:16Z" msg="200 OK: POST https://127.0.0.1:34771/mail/v4/messages/1f18b8fd-a5d5-4248-8ea1-e0cab439bd82" /client userID=dcf409a1-d9c4-4ecb-9502-a0985be96655 time="2026-09-17T09:53:16Z" msg="Scheduling observability data sending" Scenario: A message with inline attachment to internal account # features/smtp/send/inline.feature:11 When SMTP client "1" sends the following message from "ecc2aab6-bc84-4c88-9e08-b20a90f530f5@proton.local" to "0a742ff2-2a06-46bf-8b6e-a76945c42e32@proton.local": # :1 -> *scenario """ From: Bridge Test <[user:user]@[domain]> To: Internal Bridge <[user:to]@[domain]> Subject: Plain with inline Content-Type: multipart/related; --bc5bd30245232f31b6c976adcd59bb0069c9b13f986f9e40c2571bb80aa16606 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; This is body of mail with attachment --bc5bd30245232f31b6c976adcd59bb0069c9b13f986f9e40c2571bb80aa16606 Content-Disposition: inline; .png Content-Id: <9114fe6f0adfaf7fdf7a@protonmail.com> Content-Transfer-Encoding: base64 Content-Type: image/png iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQot tAAAAABJRU5ErkJggg== --bc5bd30245232f31b6c976adcd59bb0069c9b13f986f9e40c2571bb80aa16606-- """ Then it succeeds # :1 -> *scenario When user "ecc2aab6-bc84-4c88-9e08-b20a90f530f5" connects and authenticates IMAP client "1" # :1 -> *scenario time="2026-09-17T09:53:16Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 1} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:53:17Z" msg="200 OK: GET https://127.0.0.1:34771/core/v4/events/AA==" /client userID=dcf409a1-d9c4-4ecb-9502-a0985be96655 time="2026-09-17T09:53:17Z" msg="Received new API event" new="Event BA==: messages: , , " old="AA==" time="2026-09-17T09:53:17Z" msg="Handling message created event" messageID=1f18b8fd-a5d5-4248-8ea1-e0cab439bd82 subject="******** (abb50e42)" time="2026-09-17T09:53:17Z" msg="200 OK: GET https://127.0.0.1:34771/mail/v4/messages/1f18b8fd-a5d5-4248-8ea1-e0cab439bd82" /client userID=dcf409a1-d9c4-4ecb-9502-a0985be96655 time="2026-09-17T09:53:17Z" msg="Handling draft or sent updated event" isD messageID=1f18b8fd-a5d5-4248-8ea1-e0cab439bd82 subject="******** (abb50e42)" time="2026-09-17T09:53:17Z" msg="200 OK: GET https://127.0.0.1:34771/mail/v4/messages/1f18b8fd-a5d5-4248-8ea1-e0cab439bd82" /client userID=dcf409a1-d9c4-4ecb-9502-a0985be96655 Then IMAP client "1" eventually sees the following messages in "Sent": # :1 -> *scenario | from | to | subject | | ecc2aab6-bc84-4c88-9e08-b20a90f530f5@proton.local | 0a742ff2-2a06-46bf-8b6e-a76945c42e32@proton.local | Plain with inline | time="2026-09-17T09:53:17Z" msg="Frontend service stopped" time="2026-09-17T09:53:17Z" msg="Frontend client stopped" time="2026-09-17T09:53:17Z" msg="Closing bridge" time="2026-09-17T09:53:17Z" msg="Stopping service" time="2026-09-17T09:53:17Z" msg="Closing user" userID=dcf409a1-d9c4-4ecb-9502-a0985be96655 time="2026-09-17T09:53:17Z" msg="De-registering user client, ID:dcf409a1-d9c4-4ecb-9502-a0985be96655" time="2026-09-17T09:53:17Z" msg="Exiting IMAP Service" time="2026-09-17T09:53:17Z" msg="Exiting service main loop" time="2026-09-17T09:53:17Z" msg="Exiting service main loop" time="2026-09-17T09:53:17Z" msg="Exiting Service" time="2026-09-17T09:53:17Z" msg="Exiting service main loop" time="2026-09-17T09:53:17Z" msg="Exiting service" time="2026-09-17T09:53:17Z" msg="Closing IMAP Listener" time="2026-09-17T09:53:17Z" msg="Closing IMAP server" time="2026-09-17T09:53:17Z" msg="Closing SMTP Listener" time="2026-09-17T09:53:17Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:53:17Z" msg="Closing SMTP server" time="2026-09-17T09:53:17Z" msg="Closing service" And the body in the "POST" request to "/mail/v4/messages" is: # :1 -> *scenario """ { "Message": { "Subject": "Plain with inline", "Sender": { "Name": "Bridge Test" }, "ToList": [ { "Address": "[user:to]@[domain]", "Name": "Internal Bridge" } ], "CCList": [], "BCCList": [], "MIMEType": "text/plain" } } """ time="2026-09-17T09:53:17Z" msg="User '6c44268f-76ff-427b-a5d2-ba71d26170a9' created with " /server/backend time="2026-09-17T09:53:17Z" msg="User '968b6507-a6e0-4cc2-8789-aa52b8c295a1' created with " /server/backend time="2026-09-17T09:53:18Z" msg="Starting bridge" time="2026-09-17T09:53:18Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/214/config1017446422/grpcFocusServerConfig.json /service time="2026-09-17T09:53:18Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/214/cache4225364293/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:53:18Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/214/cache4225364293/notifications/notification_cache: no such file or directory" time="2026-09-17T09:53:18Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/214/data1624494700/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/214/data1624494700/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:53:18Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:53:18Z" msg="Starting IMAP server" time="2026-09-17T09:53:18Z" msg="Starting SMTP server" time="2026-09-17T09:53:18Z" msg="Starting service" time="2026-09-17T09:53:18Z" msg="Starting service" time="2026-09-17T09:53:18Z" msg="Starting frontend service" time="2026-09-17T09:53:18Z" msg="Checking for updates" time="2026-09-17T09:53:18Z" msg="Loading users" /user time="2026-09-17T09:53:18Z" msg="Starting poll service" time="2026-09-17T09:53:18Z" msg="Finished loading users" /user time="2026-09-17T09:53:18Z" msg="Starting receiver service" time="2026-09-17T09:53:18Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/214/config1017446422/grpcServerConfig.json time="2026-09-17T09:53:18Z" msg="gRPC server listening on /tmp/bridge9151" time="2026-09-17T09:53:18Z" msg="Frontend service started" time="2026-09-17T09:53:18Z" msg="Starting frontend client" time="2026-09-17T09:53:18Z" msg="Not monitoring parent PID" time="2026-09-17T09:53:18Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:53:18Z" msg="200 OK: GET https://127.0.0.1:43671/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:53:18Z" msg="Frontend client started" time="2026-09-17T09:53:18Z" msg="Performing full user login" /user username="******** (8f9767eb)" time="2026-09-17T09:53:18Z" msg="Authorizing user for login" /user username="******** (8f9767eb)" time="2026-09-17T09:53:18Z" msg="200 OK: POST https://127.0.0.1:43671/auth/v4/info" /manager time="2026-09-17T09:53:18Z" msg="200 OK: POST https://127.0.0.1:43671/auth/v4" /manager time="2026-09-17T09:53:18Z" msg="Logging in authorized user" /user userID=fc5b78bd-737b-4df1-93e6-026d380f8078 time="2026-09-17T09:53:18Z" msg="Adding vault user" userID=fc5b78bd-737b-4df1-93e6-026d380f8078 time="2026-09-17T09:53:18Z" msg="Creating new user" userID=fc5b78bd-737b-4df1-93e6-026d380f8078 time="2026-09-17T09:53:18Z" msg="404 GET https://127.0.0.1:43671/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:53:18Z" msg="404 GET https://127.0.0.1:43671/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:53:18Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:43671/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:53:18Z" msg="Creating user object" authUID=0134c4af-89ca-4140-a6dc-cd7e6918972a numA numL userID=fc5b78bd-737b-4df1-93e6-026d380f8078 time="2026-09-17T09:53:18Z" msg="200 OK: GET https://127.0.0.1:43671/core/v4/events/latest" /client userID=fc5b78bd-737b-4df1-93e6-026d380f8078 time="2026-09-17T09:53:18Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:53:18Z" msg="200 OK: GET https://127.0.0.1:43671/core/v4/settings" /client userID=fc5b78bd-737b-4df1-93e6-026d380f8078 time="2026-09-17T09:53:18Z" msg="Registering user client, ID:fc5b78bd-737b-4df1-93e6-026d380f8078" time="2026-09-17T09:53:18Z" msg="Starting service main loop" time="2026-09-17T09:53:18Z" msg="Starting user identity service" numA time="2026-09-17T09:53:18Z" msg="Starting service main loop" time="2026-09-17T09:53:18Z" msg="Starting service main loop" time="2026-09-17T09:53:18Z" msg="200 OK: GET https://127.0.0.1:43671/core/v4/labels?T" /client userID=fc5b78bd-737b-4df1-93e6-026d380f8078 time="2026-09-17T09:53:18Z" msg="200 OK: GET https://127.0.0.1:43671/core/v4/labels?T" /client userID=fc5b78bd-737b-4df1-93e6-026d380f8078 time="2026-09-17T09:53:18Z" msg="200 OK: GET https://127.0.0.1:43671/core/v4/labels?T" /client userID=fc5b78bd-737b-4df1-93e6-026d380f8078 time="2026-09-17T09:53:18Z" msg="Setting labels" labelIDs="[7 3 4 5 8 9 10 12 0 1 2 6]" time="2026-09-17T09:53:18Z" msg="Adding user to imap server" addrID=31a11c42-4bc7-4de3-94dd-89790d3926d0 time="2026-09-17T09:53:18Z" msg="Creating new IMAP user" addrID=31a11c42-4bc7-4de3-94dd-89790d3926d0 time="2026-09-17T09:53:18Z" msg="Setting gluon ID" addrID=31a11c42-4bc7-4de3-94dd-89790d3926d0 gluonID=2f420de3-49d9-47cf-9143-e4ae69133871 userID=fc5b78bd-737b-4df1-93e6-026d380f8078 time="2026-09-17T09:53:18Z" msg="Received mailbox message count" gluonID=2f420de3-49d9-47cf-9143-e4ae69133871 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:53:18Z" msg="Created new IMAP user" addrID=31a11c42-4bc7-4de3-94dd-89790d3926d0 gluonID=2f420de3-49d9-47cf-9143-e4ae69133871 time="2026-09-17T09:53:18Z" msg="Validating Listener State" time="2026-09-17T09:53:18Z" time="2026-09-17T09:53:18Z" msg="Checking whether logged in user should re-sync. UserID:fc5b78bd-737b-4df1-93e6-026d380f8078" userID=fc5b78bd-737b-4df1-93e6-026d380f8078 time="2026-09-17T09:53:18Z" msg="Starting IMAP Service" time="2026-09-17T09:53:18Z" msg="Sync triggered" time="2026-09-17T09:53:18Z" msg="Beginning user sync" start="2026-09-17 09:53:18.795259003 +0000 UTC m=+487.287561339" time="2026-09-17T09:53:18Z" msg="Sending observability data." time="2026-09-17T09:53:18Z" msg="Syncing labels" time="2026-09-17T09:53:18Z" msg="200 OK: GET https://127.0.0.1:43671/mail/v4/settings" /client userID=fc5b78bd-737b-4df1-93e6-026d380f8078 time="2026-09-17T09:53:18Z" msg="200 OK: POST https://127.0.0.1:43671/data/v1/metrics" /client userID=fc5b78bd-737b-4df1-93e6-026d380f8078 time="2026-09-17T09:53:18Z" msg="Successfully sent observability data." time="2026-09-17T09:53:18Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=2f420de3-49d9-47cf-9143-e4ae69133871 time="2026-09-17T09:53:18Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=2f420de3-49d9-47cf-9143-e4ae69133871 time="2026-09-17T09:53:18Z" msg="Mailbox created" /user remoteMailboxID=0 userID=2f420de3-49d9-47cf-9143-e4ae69133871 time="2026-09-17T09:53:18Z" msg="Mailbox created" /user remoteMailboxID=3 userID=2f420de3-49d9-47cf-9143-e4ae69133871 time="2026-09-17T09:53:18Z" msg="Mailbox created" /user remoteMailboxID=4 userID=2f420de3-49d9-47cf-9143-e4ae69133871 time="2026-09-17T09:53:18Z" msg="Mailbox created" /user remoteMailboxID=5 userID=2f420de3-49d9-47cf-9143-e4ae69133871 time="2026-09-17T09:53:18Z" msg="Mailbox created" /user remoteMailboxID=8 userID=2f420de3-49d9-47cf-9143-e4ae69133871 time="2026-09-17T09:53:18Z" msg="Mailbox created" /user remoteMailboxID=6 userID=2f420de3-49d9-47cf-9143-e4ae69133871 time="2026-09-17T09:53:18Z" msg="Mailbox created" /user remoteMailboxID=7 userID=2f420de3-49d9-47cf-9143-e4ae69133871 time="2026-09-17T09:53:18Z" msg="Mailbox created" /user remoteMailboxID=10 userID=2f420de3-49d9-47cf-9143-e4ae69133871 time="2026-09-17T09:53:18Z" msg="Mailbox created" /user remoteMailboxID=12 userID=2f420de3-49d9-47cf-9143-e4ae69133871 time="2026-09-17T09:53:18Z" msg="Synced labels" time="2026-09-17T09:53:18Z" msg="200 OK: GET https://127.0.0.1:43671/mail/v4/messages/count" /client userID=fc5b78bd-737b-4df1-93e6-026d380f8078 time="2026-09-17T09:53:18Z" msg="Syncing messages" time="2026-09-17T09:53:18Z" msg="Job started" time="2026-09-17T09:53:18Z" msg="200 OK: POST https://127.0.0.1:43671/mail/v4/messages" /client userID=fc5b78bd-737b-4df1-93e6-026d380f8078 time="2026-09-17T09:53:18Z" msg="Job finished" time="2026-09-17T09:53:18Z" msg="All child jobs completed" sync- time="2026-09-17T09:53:18Z" msg="Synced messages" time="2026-09-17T09:53:18Z" msg="Finished user sync" .912564ms time="2026-09-17T09:53:18Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:53:18Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:53:18Z" msg="200 OK: POST https://127.0.0.1:43671/mail/v4/messages" /client userID=fc5b78bd-737b-4df1-93e6-026d380f8078 time="2026-09-17T09:53:18Z" msg="200 OK: POST https://127.0.0.1:43671/mail/v4/attachments" /client userID=fc5b78bd-737b-4df1-93e6-026d380f8078 time="2026-09-17T09:53:18Z" msg="200 OK: GET https://127.0.0.1:43671/core/v4/keys?E%40proton.local" /client userID=fc5b78bd-737b-4df1-93e6-026d380f8078 time="2026-09-17T09:53:18Z" msg="200 OK: GET https://127.0.0.1:43671/contacts/v4/emails?E%40proton.local&P&PageS" /client userID=fc5b78bd-737b-4df1-93e6-026d380f8078 time="2026-09-17T09:53:18Z" msg="200 OK: POST https://127.0.0.1:43671/mail/v4/messages/67e5b1be-5da4-4211-ac52-15adc246ce69" /client userID=fc5b78bd-737b-4df1-93e6-026d380f8078 time="2026-09-17T09:53:18Z" msg="Scheduling observability data sending" Scenario: A message with inline attachment without content ID to internal account # features/smtp/send/inline.feature:62 When SMTP client "1" sends the following message from "6c44268f-76ff-427b-a5d2-ba71d26170a9@proton.local" to "968b6507-a6e0-4cc2-8789-aa52b8c295a1@proton.local": # :1 -> *scenario """ From: Bridge Test <[user:user]@[domain]> To: Internal Bridge <[user:to]@[domain]> Subject: Plain with inline Content-Type: multipart/related; --bc5bd30245232f31b6c976adcd59bb0069c9b13f986f9e40c2571bb80aa16606 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; This is body of mail with attachment --bc5bd30245232f31b6c976adcd59bb0069c9b13f986f9e40c2571bb80aa16606 Content-Disposition: inline; .png Content-Transfer-Encoding: base64 Content-Type: image/png iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQot tAAAAABJRU5ErkJggg== --bc5bd30245232f31b6c976adcd59bb0069c9b13f986f9e40c2571bb80aa16606-- """ Then it succeeds # :1 -> *scenario When user "6c44268f-76ff-427b-a5d2-ba71d26170a9" connects and authenticates IMAP client "1" # :1 -> *scenario time="2026-09-17T09:53:18Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 2} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:53:19Z" msg="200 OK: GET https://127.0.0.1:43671/core/v4/events/AA==" /client userID=fc5b78bd-737b-4df1-93e6-026d380f8078 time="2026-09-17T09:53:19Z" msg="Received new API event" new="Event BA==: messages: , , " old="AA==" time="2026-09-17T09:53:19Z" msg="Handling message created event" messageID=67e5b1be-5da4-4211-ac52-15adc246ce69 subject="******** (abb50e42)" time="2026-09-17T09:53:19Z" msg="200 OK: GET https://127.0.0.1:43671/mail/v4/messages/67e5b1be-5da4-4211-ac52-15adc246ce69" /client userID=fc5b78bd-737b-4df1-93e6-026d380f8078 time="2026-09-17T09:53:19Z" msg="Handling draft or sent updated event" isD messageID=67e5b1be-5da4-4211-ac52-15adc246ce69 subject="******** (abb50e42)" time="2026-09-17T09:53:19Z" msg="200 OK: GET https://127.0.0.1:43671/mail/v4/messages/67e5b1be-5da4-4211-ac52-15adc246ce69" /client userID=fc5b78bd-737b-4df1-93e6-026d380f8078 Then IMAP client "1" eventually sees the following messages in "Sent": # :1 -> *scenario | from | to | subject | | 6c44268f-76ff-427b-a5d2-ba71d26170a9@proton.local | 968b6507-a6e0-4cc2-8789-aa52b8c295a1@proton.local | Plain with inline | time="2026-09-17T09:53:19Z" msg="Frontend service stopped" time="2026-09-17T09:53:19Z" msg="Frontend client stopped" time="2026-09-17T09:53:19Z" msg="Closing bridge" time="2026-09-17T09:53:19Z" msg="Stopping service" time="2026-09-17T09:53:19Z" msg="Closing user" userID=fc5b78bd-737b-4df1-93e6-026d380f8078 time="2026-09-17T09:53:19Z" msg="De-registering user client, ID:fc5b78bd-737b-4df1-93e6-026d380f8078" time="2026-09-17T09:53:19Z" msg="Exiting IMAP Service" time="2026-09-17T09:53:19Z" msg="Exiting service main loop" time="2026-09-17T09:53:19Z" msg="Exiting service main loop" time="2026-09-17T09:53:19Z" msg="Exiting Service" time="2026-09-17T09:53:19Z" msg="Exiting service main loop" time="2026-09-17T09:53:19Z" msg="Exiting service" time="2026-09-17T09:53:19Z" msg="Closing IMAP Listener" time="2026-09-17T09:53:19Z" msg="Closing IMAP server" time="2026-09-17T09:53:19Z" msg="Closing SMTP Listener" time="2026-09-17T09:53:19Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:53:19Z" msg="Closing SMTP server" time="2026-09-17T09:53:19Z" msg="Closing service" And the body in the "POST" request to "/mail/v4/messages" is: # :1 -> *scenario """ { "Message": { "Subject": "Plain with inline", "Sender": { "Name": "Bridge Test" }, "ToList": [ { "Address": "[user:to]@[domain]", "Name": "Internal Bridge" } ], "CCList": [], "BCCList": [], "MIMEType": "text/plain" } } """ time="2026-09-17T09:53:20Z" msg="User '664fec1b-a5a9-4f75-bc26-23e85afad7d0' created with " /server/backend time="2026-09-17T09:53:20Z" msg="User 'e02dc3ed-7f79-449b-b4c5-3f8eb5800c06' created with " /server/backend time="2026-09-17T09:53:21Z" msg="Starting bridge" time="2026-09-17T09:53:21Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/215/config1980200883/grpcFocusServerConfig.json /service time="2026-09-17T09:53:21Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/215/cache2836117467/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:53:21Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/215/cache2836117467/notifications/notification_cache: no such file or directory" time="2026-09-17T09:53:21Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/215/data4212690965/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/215/data4212690965/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:53:21Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:53:21Z" msg="Starting IMAP server" time="2026-09-17T09:53:21Z" msg="Starting SMTP server" time="2026-09-17T09:53:21Z" msg="Starting service" time="2026-09-17T09:53:21Z" msg="Starting service" time="2026-09-17T09:53:21Z" msg="Starting receiver service" time="2026-09-17T09:53:21Z" msg="Starting poll service" time="2026-09-17T09:53:21Z" msg="Starting frontend service" time="2026-09-17T09:53:21Z" msg="Checking for updates" time="2026-09-17T09:53:21Z" msg="Loading users" /user time="2026-09-17T09:53:21Z" msg="Finished loading users" /user time="2026-09-17T09:53:21Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/215/config1980200883/grpcServerConfig.json time="2026-09-17T09:53:21Z" msg="gRPC server listening on /tmp/bridge0821" time="2026-09-17T09:53:21Z" msg="Frontend service started" time="2026-09-17T09:53:21Z" msg="Starting frontend client" time="2026-09-17T09:53:21Z" msg="Not monitoring parent PID" time="2026-09-17T09:53:21Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:53:21Z" msg="200 OK: GET https://127.0.0.1:36087/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:53:21Z" msg="Frontend client started" time="2026-09-17T09:53:21Z" msg="Performing full user login" /user username="******** (1a80d278)" time="2026-09-17T09:53:21Z" msg="Authorizing user for login" /user username="******** (1a80d278)" time="2026-09-17T09:53:21Z" msg="200 OK: POST https://127.0.0.1:36087/auth/v4/info" /manager time="2026-09-17T09:53:21Z" msg="200 OK: POST https://127.0.0.1:36087/auth/v4" /manager time="2026-09-17T09:53:21Z" msg="Logging in authorized user" /user userID=c9e06436-2a25-499f-a6e1-4e7f6eff16aa time="2026-09-17T09:53:21Z" msg="Adding vault user" userID=c9e06436-2a25-499f-a6e1-4e7f6eff16aa time="2026-09-17T09:53:21Z" msg="Creating new user" userID=c9e06436-2a25-499f-a6e1-4e7f6eff16aa time="2026-09-17T09:53:21Z" msg="404 GET https://127.0.0.1:36087/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:53:21Z" msg="404 GET https://127.0.0.1:36087/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:53:21Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:36087/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:53:21Z" msg="Creating user object" authUID=1b539ff4-c943-445e-880d-777c763136d0 numA numL userID=c9e06436-2a25-499f-a6e1-4e7f6eff16aa time="2026-09-17T09:53:21Z" msg="200 OK: GET https://127.0.0.1:36087/core/v4/events/latest" /client userID=c9e06436-2a25-499f-a6e1-4e7f6eff16aa time="2026-09-17T09:53:21Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:53:21Z" msg="200 OK: GET https://127.0.0.1:36087/core/v4/settings" /client userID=c9e06436-2a25-499f-a6e1-4e7f6eff16aa time="2026-09-17T09:53:21Z" msg="Registering user client, ID:c9e06436-2a25-499f-a6e1-4e7f6eff16aa" time="2026-09-17T09:53:21Z" msg="Starting service main loop" time="2026-09-17T09:53:21Z" msg="Starting user identity service" numA time="2026-09-17T09:53:21Z" msg="Starting service main loop" time="2026-09-17T09:53:21Z" msg="Starting service main loop" time="2026-09-17T09:53:21Z" msg="200 OK: GET https://127.0.0.1:36087/core/v4/labels?T" /client userID=c9e06436-2a25-499f-a6e1-4e7f6eff16aa time="2026-09-17T09:53:21Z" msg="200 OK: GET https://127.0.0.1:36087/core/v4/labels?T" /client userID=c9e06436-2a25-499f-a6e1-4e7f6eff16aa time="2026-09-17T09:53:21Z" msg="200 OK: GET https://127.0.0.1:36087/core/v4/labels?T" /client userID=c9e06436-2a25-499f-a6e1-4e7f6eff16aa time="2026-09-17T09:53:21Z" msg="Setting labels" labelIDs="[7 8 0 1 4 6 9 10 12 2 3 5]" time="2026-09-17T09:53:21Z" msg="Adding user to imap server" addrID=562a00dd-e174-4b2b-aeca-0d35ce71aff0 time="2026-09-17T09:53:21Z" msg="Creating new IMAP user" addrID=562a00dd-e174-4b2b-aeca-0d35ce71aff0 time="2026-09-17T09:53:21Z" msg="Setting gluon ID" addrID=562a00dd-e174-4b2b-aeca-0d35ce71aff0 gluonID=482470f9-ba3c-43d4-8e7f-a494c773e59d userID=c9e06436-2a25-499f-a6e1-4e7f6eff16aa time="2026-09-17T09:53:21Z" msg="Received mailbox message count" gluonID=482470f9-ba3c-43d4-8e7f-a494c773e59d labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:53:21Z" msg="Created new IMAP user" addrID=562a00dd-e174-4b2b-aeca-0d35ce71aff0 gluonID=482470f9-ba3c-43d4-8e7f-a494c773e59d time="2026-09-17T09:53:21Z" msg="Validating Listener State" time="2026-09-17T09:53:21Z" time="2026-09-17T09:53:21Z" msg="Checking whether logged in user should re-sync. UserID:c9e06436-2a25-499f-a6e1-4e7f6eff16aa" userID=c9e06436-2a25-499f-a6e1-4e7f6eff16aa time="2026-09-17T09:53:21Z" msg="Starting IMAP Service" time="2026-09-17T09:53:21Z" msg="Sync triggered" time="2026-09-17T09:53:21Z" msg="Beginning user sync" start="2026-09-17 09:53:21.513489225 +0000 UTC m=+490.005791561" time="2026-09-17T09:53:21Z" msg="Sending observability data." time="2026-09-17T09:53:21Z" msg="Syncing labels" time="2026-09-17T09:53:21Z" msg="200 OK: POST https://127.0.0.1:36087/data/v1/metrics" /client userID=c9e06436-2a25-499f-a6e1-4e7f6eff16aa time="2026-09-17T09:53:21Z" msg="Successfully sent observability data." time="2026-09-17T09:53:21Z" msg="200 OK: GET https://127.0.0.1:36087/mail/v4/settings" /client userID=c9e06436-2a25-499f-a6e1-4e7f6eff16aa time="2026-09-17T09:53:21Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=482470f9-ba3c-43d4-8e7f-a494c773e59d time="2026-09-17T09:53:21Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=482470f9-ba3c-43d4-8e7f-a494c773e59d time="2026-09-17T09:53:21Z" msg="Mailbox created" /user remoteMailboxID=7 userID=482470f9-ba3c-43d4-8e7f-a494c773e59d time="2026-09-17T09:53:21Z" msg="Mailbox created" /user remoteMailboxID=0 userID=482470f9-ba3c-43d4-8e7f-a494c773e59d time="2026-09-17T09:53:21Z" msg="Mailbox created" /user remoteMailboxID=6 userID=482470f9-ba3c-43d4-8e7f-a494c773e59d time="2026-09-17T09:53:21Z" msg="Mailbox created" /user remoteMailboxID=10 userID=482470f9-ba3c-43d4-8e7f-a494c773e59d time="2026-09-17T09:53:21Z" msg="Mailbox created" /user remoteMailboxID=12 userID=482470f9-ba3c-43d4-8e7f-a494c773e59d time="2026-09-17T09:53:21Z" msg="Mailbox created" /user remoteMailboxID=8 userID=482470f9-ba3c-43d4-8e7f-a494c773e59d time="2026-09-17T09:53:21Z" msg="Mailbox created" /user remoteMailboxID=4 userID=482470f9-ba3c-43d4-8e7f-a494c773e59d time="2026-09-17T09:53:21Z" msg="Mailbox created" /user remoteMailboxID=3 userID=482470f9-ba3c-43d4-8e7f-a494c773e59d time="2026-09-17T09:53:21Z" msg="Mailbox created" /user remoteMailboxID=5 userID=482470f9-ba3c-43d4-8e7f-a494c773e59d time="2026-09-17T09:53:21Z" msg="Synced labels" time="2026-09-17T09:53:21Z" msg="200 OK: GET https://127.0.0.1:36087/mail/v4/messages/count" /client userID=c9e06436-2a25-499f-a6e1-4e7f6eff16aa time="2026-09-17T09:53:21Z" msg="Syncing messages" time="2026-09-17T09:53:21Z" msg="Job started" time="2026-09-17T09:53:21Z" msg="200 OK: POST https://127.0.0.1:36087/mail/v4/messages" /client userID=c9e06436-2a25-499f-a6e1-4e7f6eff16aa time="2026-09-17T09:53:21Z" msg="Job finished" time="2026-09-17T09:53:21Z" msg="All child jobs completed" sync- time="2026-09-17T09:53:21Z" msg="Synced messages" time="2026-09-17T09:53:21Z" msg="Finished user sync" .504527ms time="2026-09-17T09:53:21Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:53:21Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:53:21Z" msg="200 OK: POST https://127.0.0.1:36087/mail/v4/messages" /client userID=c9e06436-2a25-499f-a6e1-4e7f6eff16aa time="2026-09-17T09:53:21Z" msg="200 OK: POST https://127.0.0.1:36087/mail/v4/attachments" /client userID=c9e06436-2a25-499f-a6e1-4e7f6eff16aa time="2026-09-17T09:53:21Z" msg="200 OK: GET https://127.0.0.1:36087/core/v4/keys?E%40proton.local" /client userID=c9e06436-2a25-499f-a6e1-4e7f6eff16aa time="2026-09-17T09:53:21Z" msg="200 OK: GET https://127.0.0.1:36087/contacts/v4/emails?E%40proton.local&P&PageS" /client userID=c9e06436-2a25-499f-a6e1-4e7f6eff16aa time="2026-09-17T09:53:21Z" msg="200 OK: POST https://127.0.0.1:36087/mail/v4/messages/fd258fed-8f32-460d-836b-e75d56e71a6b" /client userID=c9e06436-2a25-499f-a6e1-4e7f6eff16aa time="2026-09-17T09:53:21Z" msg="Scheduling observability data sending" Scenario: A message with bad disposition to internal account # features/smtp/send/inline.feature:112 When SMTP client "1" sends the following message from "664fec1b-a5a9-4f75-bc26-23e85afad7d0@proton.local" to "e02dc3ed-7f79-449b-b4c5-3f8eb5800c06@proton.local": # :1 -> *scenario """ From: Bridge Test <[user:user]@[domain]> To: Internal Bridge <[user:to]@[domain]> Subject: Plain with inline Content-Type: multipart/related; --bc5bd30245232f31b6c976adcd59bb0069c9b13f986f9e40c2571bb80aa16606 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; This is body of mail with attachment --bc5bd30245232f31b6c976adcd59bb0069c9b13f986f9e40c2571bb80aa16606 Content-Disposition: att; .png Content-Transfer-Encoding: base64 Content-Type: image/png iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQot tAAAAABJRU5ErkJggg== --bc5bd30245232f31b6c976adcd59bb0069c9b13f986f9e40c2571bb80aa16606-- """ Then it succeeds # :1 -> *scenario When user "664fec1b-a5a9-4f75-bc26-23e85afad7d0" connects and authenticates IMAP client "1" # :1 -> *scenario time="2026-09-17T09:53:21Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 6} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:53:22Z" msg="200 OK: GET https://127.0.0.1:36087/core/v4/events/AA==" /client userID=c9e06436-2a25-499f-a6e1-4e7f6eff16aa time="2026-09-17T09:53:22Z" msg="Received new API event" new="Event BA==: messages: , , " old="AA==" time="2026-09-17T09:53:22Z" msg="Handling message created event" messageID=fd258fed-8f32-460d-836b-e75d56e71a6b subject="******** (abb50e42)" time="2026-09-17T09:53:22Z" msg="200 OK: GET https://127.0.0.1:36087/mail/v4/messages/fd258fed-8f32-460d-836b-e75d56e71a6b" /client userID=c9e06436-2a25-499f-a6e1-4e7f6eff16aa time="2026-09-17T09:53:22Z" msg="Handling draft or sent updated event" isD messageID=fd258fed-8f32-460d-836b-e75d56e71a6b subject="******** (abb50e42)" time="2026-09-17T09:53:22Z" msg="200 OK: GET https://127.0.0.1:36087/mail/v4/messages/fd258fed-8f32-460d-836b-e75d56e71a6b" /client userID=c9e06436-2a25-499f-a6e1-4e7f6eff16aa Then IMAP client "1" eventually sees the following messages in "Sent": # :1 -> *scenario | from | to | subject | | 664fec1b-a5a9-4f75-bc26-23e85afad7d0@proton.local | e02dc3ed-7f79-449b-b4c5-3f8eb5800c06@proton.local | Plain with inline | time="2026-09-17T09:53:22Z" msg="Frontend service stopped" time="2026-09-17T09:53:22Z" msg="Frontend client stopped" time="2026-09-17T09:53:22Z" msg="Closing bridge" time="2026-09-17T09:53:22Z" msg="Stopping service" time="2026-09-17T09:53:22Z" msg="Closing user" userID=c9e06436-2a25-499f-a6e1-4e7f6eff16aa time="2026-09-17T09:53:22Z" msg="De-registering user client, ID:c9e06436-2a25-499f-a6e1-4e7f6eff16aa" time="2026-09-17T09:53:22Z" msg="Exiting IMAP Service" time="2026-09-17T09:53:22Z" msg="Exiting service main loop" time="2026-09-17T09:53:22Z" msg="Exiting service main loop" time="2026-09-17T09:53:22Z" msg="Exiting Service" time="2026-09-17T09:53:22Z" msg="Exiting service main loop" time="2026-09-17T09:53:22Z" msg="Exiting service" time="2026-09-17T09:53:22Z" msg="Closing IMAP Listener" time="2026-09-17T09:53:22Z" msg="Closing IMAP server" time="2026-09-17T09:53:22Z" msg="Closing SMTP Listener" time="2026-09-17T09:53:22Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:53:22Z" msg="Closing SMTP server" time="2026-09-17T09:53:22Z" msg="Closing service" And the body in the "POST" request to "/mail/v4/messages" is: # :1 -> *scenario """ { "Message": { "Subject": "Plain with inline", "Sender": { "Name": "Bridge Test" }, "ToList": [ { "Address": "[user:to]@[domain]", "Name": "Internal Bridge" } ], "CCList": [], "BCCList": [], "MIMEType": "text/plain" } } """ Feature: SMTP sending with mixed case address time="2026-09-17T09:53:22Z" msg="User '782c8bff-5cd4-4e75-ac8b-2b2c71ec83d0' created with " /server/backend Background: Given there exists an account with username "782c8bff-5cd4-4e75-ac8b-2b2c71ec83d0" and password "password" # :1 -> *scenario time="2026-09-17T09:53:23Z" msg="User '1bebe4ad-fe28-4e86-89dc-28ebef40ca3b' created with " /server/backend And there exists an account with username "1bebe4ad-fe28-4e86-89dc-28ebef40ca3b" and password "password" # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:53:23Z" msg="Starting bridge" time="2026-09-17T09:53:23Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/216/config3192549755/grpcFocusServerConfig.json /service time="2026-09-17T09:53:23Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/216/cache384144397/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:53:23Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/216/cache384144397/notifications/notification_cache: no such file or directory" time="2026-09-17T09:53:23Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/216/data2747416156/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/216/data2747416156/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:53:23Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:53:23Z" msg="Starting IMAP server" time="2026-09-17T09:53:23Z" msg="Starting SMTP server" time="2026-09-17T09:53:23Z" msg="Starting service" time="2026-09-17T09:53:23Z" msg="Starting service" time="2026-09-17T09:53:23Z" msg="Starting poll service" time="2026-09-17T09:53:23Z" msg="Checking for updates" time="2026-09-17T09:53:23Z" msg="Starting frontend service" time="2026-09-17T09:53:23Z" msg="Starting receiver service" time="2026-09-17T09:53:23Z" msg="Loading users" /user time="2026-09-17T09:53:23Z" msg="Finished loading users" /user time="2026-09-17T09:53:23Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/216/config3192549755/grpcServerConfig.json time="2026-09-17T09:53:23Z" msg="gRPC server listening on /tmp/bridge6457" time="2026-09-17T09:53:23Z" msg="Frontend service started" time="2026-09-17T09:53:23Z" msg="Starting frontend client" time="2026-09-17T09:53:23Z" msg="Not monitoring parent PID" time="2026-09-17T09:53:23Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:53:23Z" msg="200 OK: GET https://127.0.0.1:42599/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:53:23Z" msg="Frontend client started" When bridge starts # :1 -> *scenario time="2026-09-17T09:53:23Z" msg="Performing full user login" /user username="******** (c2a4688f)" time="2026-09-17T09:53:23Z" msg="Authorizing user for login" /user username="******** (c2a4688f)" time="2026-09-17T09:53:23Z" msg="200 OK: POST https://127.0.0.1:42599/auth/v4/info" /manager time="2026-09-17T09:53:24Z" msg="200 OK: POST https://127.0.0.1:42599/auth/v4" /manager time="2026-09-17T09:53:24Z" msg="Logging in authorized user" /user userID=1cfeae93-48bc-4e7f-ba2e-d38d850e94a1 time="2026-09-17T09:53:24Z" msg="Adding vault user" userID=1cfeae93-48bc-4e7f-ba2e-d38d850e94a1 time="2026-09-17T09:53:24Z" msg="Creating new user" userID=1cfeae93-48bc-4e7f-ba2e-d38d850e94a1 time="2026-09-17T09:53:24Z" msg="404 GET https://127.0.0.1:42599/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:53:24Z" msg="404 GET https://127.0.0.1:42599/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:53:24Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:42599/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:53:24Z" msg="Creating user object" authUID=ef8562f1-ea62-4817-b49d-67fd122f2b28 numA numL userID=1cfeae93-48bc-4e7f-ba2e-d38d850e94a1 time="2026-09-17T09:53:24Z" msg="200 OK: GET https://127.0.0.1:42599/core/v4/events/latest" /client userID=1cfeae93-48bc-4e7f-ba2e-d38d850e94a1 time="2026-09-17T09:53:24Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:53:24Z" msg="200 OK: GET https://127.0.0.1:42599/core/v4/settings" /client userID=1cfeae93-48bc-4e7f-ba2e-d38d850e94a1 time="2026-09-17T09:53:24Z" msg="Registering user client, ID:1cfeae93-48bc-4e7f-ba2e-d38d850e94a1" time="2026-09-17T09:53:24Z" msg="Starting service main loop" time="2026-09-17T09:53:24Z" msg="Starting user identity service" numA time="2026-09-17T09:53:24Z" msg="Starting service main loop" time="2026-09-17T09:53:24Z" msg="Starting service main loop" time="2026-09-17T09:53:24Z" msg="200 OK: GET https://127.0.0.1:42599/core/v4/labels?T" /client userID=1cfeae93-48bc-4e7f-ba2e-d38d850e94a1 time="2026-09-17T09:53:24Z" msg="200 OK: GET https://127.0.0.1:42599/core/v4/labels?T" /client userID=1cfeae93-48bc-4e7f-ba2e-d38d850e94a1 time="2026-09-17T09:53:24Z" msg="200 OK: GET https://127.0.0.1:42599/core/v4/labels?T" /client userID=1cfeae93-48bc-4e7f-ba2e-d38d850e94a1 time="2026-09-17T09:53:24Z" msg="Setting labels" labelIDs="[8 9 12 0 1 2 4 5 6 7 10 3]" time="2026-09-17T09:53:24Z" msg="Adding user to imap server" addrID=3206a4e4-0c7b-45b6-8b35-d43c8351a05b time="2026-09-17T09:53:24Z" msg="Creating new IMAP user" addrID=3206a4e4-0c7b-45b6-8b35-d43c8351a05b time="2026-09-17T09:53:24Z" msg="Setting gluon ID" addrID=3206a4e4-0c7b-45b6-8b35-d43c8351a05b gluonID=b0d42bd8-ccf2-411d-9ae9-45d7cbaac0df userID=1cfeae93-48bc-4e7f-ba2e-d38d850e94a1 time="2026-09-17T09:53:24Z" msg="Received mailbox message count" gluonID=b0d42bd8-ccf2-411d-9ae9-45d7cbaac0df labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:53:24Z" msg="Created new IMAP user" addrID=3206a4e4-0c7b-45b6-8b35-d43c8351a05b gluonID=b0d42bd8-ccf2-411d-9ae9-45d7cbaac0df time="2026-09-17T09:53:24Z" msg="Validating Listener State" time="2026-09-17T09:53:24Z" time="2026-09-17T09:53:24Z" msg="Checking whether logged in user should re-sync. UserID:1cfeae93-48bc-4e7f-ba2e-d38d850e94a1" userID=1cfeae93-48bc-4e7f-ba2e-d38d850e94a1 time="2026-09-17T09:53:24Z" msg="Starting IMAP Service" And the user logs in with username "782c8bff-5cd4-4e75-ac8b-2b2c71ec83d0" and password "password" # :1 -> *scenario time="2026-09-17T09:53:24Z" msg="Sync triggered" time="2026-09-17T09:53:24Z" msg="Beginning user sync" start="2026-09-17 09:53:24.233066495 +0000 UTC m=+492.725368831" And user "782c8bff-5cd4-4e75-ac8b-2b2c71ec83d0" connects and authenticates SMTP client "1" # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:53:24Z" msg="Sending observability data." time="2026-09-17T09:53:24Z" msg="Syncing labels" time="2026-09-17T09:53:24Z" msg="200 OK: POST https://127.0.0.1:42599/data/v1/metrics" /client userID=1cfeae93-48bc-4e7f-ba2e-d38d850e94a1 time="2026-09-17T09:53:24Z" msg="Successfully sent observability data." time="2026-09-17T09:53:24Z" msg="200 OK: GET https://127.0.0.1:42599/mail/v4/settings" /client userID=1cfeae93-48bc-4e7f-ba2e-d38d850e94a1 time="2026-09-17T09:53:24Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=b0d42bd8-ccf2-411d-9ae9-45d7cbaac0df time="2026-09-17T09:53:24Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=b0d42bd8-ccf2-411d-9ae9-45d7cbaac0df time="2026-09-17T09:53:24Z" msg="Mailbox created" /user remoteMailboxID=4 userID=b0d42bd8-ccf2-411d-9ae9-45d7cbaac0df time="2026-09-17T09:53:24Z" msg="Mailbox created" /user remoteMailboxID=5 userID=b0d42bd8-ccf2-411d-9ae9-45d7cbaac0df time="2026-09-17T09:53:24Z" msg="Mailbox created" /user remoteMailboxID=6 userID=b0d42bd8-ccf2-411d-9ae9-45d7cbaac0df time="2026-09-17T09:53:24Z" msg="Mailbox created" /user remoteMailboxID=7 userID=b0d42bd8-ccf2-411d-9ae9-45d7cbaac0df time="2026-09-17T09:53:24Z" msg="Mailbox created" /user remoteMailboxID=10 userID=b0d42bd8-ccf2-411d-9ae9-45d7cbaac0df time="2026-09-17T09:53:24Z" msg="Mailbox created" /user remoteMailboxID=8 userID=b0d42bd8-ccf2-411d-9ae9-45d7cbaac0df time="2026-09-17T09:53:24Z" msg="Mailbox created" /user remoteMailboxID=3 userID=b0d42bd8-ccf2-411d-9ae9-45d7cbaac0df time="2026-09-17T09:53:24Z" msg="Mailbox created" /user remoteMailboxID=12 userID=b0d42bd8-ccf2-411d-9ae9-45d7cbaac0df time="2026-09-17T09:53:24Z" msg="Mailbox created" /user remoteMailboxID=0 userID=b0d42bd8-ccf2-411d-9ae9-45d7cbaac0df time="2026-09-17T09:53:24Z" msg="Synced labels" time="2026-09-17T09:53:24Z" msg="200 OK: GET https://127.0.0.1:42599/mail/v4/messages/count" /client userID=1cfeae93-48bc-4e7f-ba2e-d38d850e94a1 time="2026-09-17T09:53:24Z" msg="Syncing messages" time="2026-09-17T09:53:24Z" msg="Job started" time="2026-09-17T09:53:24Z" msg="200 OK: POST https://127.0.0.1:42599/mail/v4/messages" /client userID=1cfeae93-48bc-4e7f-ba2e-d38d850e94a1 time="2026-09-17T09:53:24Z" msg="Job finished" time="2026-09-17T09:53:24Z" msg="All child jobs completed" sync- time="2026-09-17T09:53:24Z" msg="Synced messages" time="2026-09-17T09:53:24Z" msg="Finished user sync" .363241ms time="2026-09-17T09:53:24Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:53:24Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:53:24Z" msg="200 OK: POST https://127.0.0.1:42599/mail/v4/messages" /client userID=1cfeae93-48bc-4e7f-ba2e-d38d850e94a1 time="2026-09-17T09:53:24Z" msg="200 OK: GET https://127.0.0.1:42599/core/v4/keys?E%40proton.local" /client userID=1cfeae93-48bc-4e7f-ba2e-d38d850e94a1 time="2026-09-17T09:53:24Z" msg="200 OK: GET https://127.0.0.1:42599/contacts/v4/emails?E%40proton.local&P&PageS" /client userID=1cfeae93-48bc-4e7f-ba2e-d38d850e94a1 time="2026-09-17T09:53:24Z" msg="200 OK: POST https://127.0.0.1:42599/mail/v4/messages/2ae007d9-e8b1-4986-84b5-e2661b5d3072" /client userID=1cfeae93-48bc-4e7f-ba2e-d38d850e94a1 time="2026-09-17T09:53:24Z" msg="Scheduling observability data sending" Scenario: Mixed sender case in sender address # features/smtp/send/mixed_case.feature:11 When SMTP client "1" sends the following message from "782c8bff-5cd4-4e75-ac8b-2b2c71ec83d0@proton.local" to "1bebe4ad-fe28-4e86-89dc-28ebef40ca3b@proton.local": # :1 -> *scenario """ From: Bridge Test <{toUpper:[user:user]@[domain]}> To: Internal Bridge <[user:to]@[domain]> hello """ Then it succeeds # :1 -> *scenario When user "782c8bff-5cd4-4e75-ac8b-2b2c71ec83d0" connects and authenticates IMAP client "1" # :1 -> *scenario time="2026-09-17T09:53:24Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 8} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:53:25Z" msg="200 OK: GET https://127.0.0.1:42599/core/v4/events/AA==" /client userID=1cfeae93-48bc-4e7f-ba2e-d38d850e94a1 time="2026-09-17T09:53:25Z" msg="Received new API event" new="Event Aw==: messages: , , " old="AA==" time="2026-09-17T09:53:25Z" msg="Handling message created event" messageID=2ae007d9-e8b1-4986-84b5-e2661b5d3072 subject="******** (e3b0c442)" time="2026-09-17T09:53:25Z" msg="200 OK: GET https://127.0.0.1:42599/mail/v4/messages/2ae007d9-e8b1-4986-84b5-e2661b5d3072" /client userID=1cfeae93-48bc-4e7f-ba2e-d38d850e94a1 time="2026-09-17T09:53:25Z" msg="Handling draft or sent updated event" isD messageID=2ae007d9-e8b1-4986-84b5-e2661b5d3072 subject="******** (e3b0c442)" time="2026-09-17T09:53:25Z" msg="200 OK: GET https://127.0.0.1:42599/mail/v4/messages/2ae007d9-e8b1-4986-84b5-e2661b5d3072" /client userID=1cfeae93-48bc-4e7f-ba2e-d38d850e94a1 Then IMAP client "1" eventually sees the following messages in "Sent": # :1 -> *scenario | from | to | subject | | 782c8bff-5cd4-4e75-ac8b-2b2c71ec83d0@proton.local | 1bebe4ad-fe28-4e86-89dc-28ebef40ca3b@proton.local | | time="2026-09-17T09:53:25Z" msg="Frontend service stopped" time="2026-09-17T09:53:25Z" msg="Frontend client stopped" time="2026-09-17T09:53:25Z" msg="Closing bridge" time="2026-09-17T09:53:25Z" msg="Stopping service" time="2026-09-17T09:53:25Z" msg="Closing user" userID=1cfeae93-48bc-4e7f-ba2e-d38d850e94a1 time="2026-09-17T09:53:25Z" msg="De-registering user client, ID:1cfeae93-48bc-4e7f-ba2e-d38d850e94a1" time="2026-09-17T09:53:25Z" msg="Exiting IMAP Service" time="2026-09-17T09:53:25Z" msg="Exiting service main loop" time="2026-09-17T09:53:25Z" msg="Exiting service main loop" time="2026-09-17T09:53:25Z" msg="Exiting Service" time="2026-09-17T09:53:25Z" msg="Exiting service main loop" time="2026-09-17T09:53:25Z" msg="Exiting service" time="2026-09-17T09:53:25Z" msg="Closing IMAP Listener" time="2026-09-17T09:53:25Z" msg="Closing IMAP server" time="2026-09-17T09:53:25Z" msg="Closing SMTP Listener" time="2026-09-17T09:53:25Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:53:25Z" msg="Closing SMTP server" time="2026-09-17T09:53:25Z" msg="Closing service" And the body in the "POST" request to "/mail/v4/messages" is: # :1 -> *scenario """ { "Message": { "Subject": "", "Sender": { "Name": "Bridge Test", "Address": "[user:user]@[domain]" }, "ToList": [ { "Address": "[user:to]@[domain]", "Name": "Internal Bridge" } ], "CCList": [], "BCCList": [], "MIMEType": "text/plain" } } """ Feature: SMTP sending two messages time="2026-09-17T09:53:25Z" msg="User '66e16848-273b-4b63-83ed-2dce17019aa0' created with " /server/backend Background: Given there exists an account with username "66e16848-273b-4b63-83ed-2dce17019aa0" and password "password" # :1 -> *scenario time="2026-09-17T09:53:26Z" msg="User '813aaf32-f678-4cae-986e-fc999ccb5c66' created with " /server/backend And there exists an account with username "813aaf32-f678-4cae-986e-fc999ccb5c66" and password "password" # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:53:26Z" msg="Starting bridge" time="2026-09-17T09:53:26Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/217/config3857628817/grpcFocusServerConfig.json /service time="2026-09-17T09:53:26Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/217/cache4092442622/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:53:26Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/217/cache4092442622/notifications/notification_cache: no such file or directory" time="2026-09-17T09:53:26Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/217/data3487925897/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/217/data3487925897/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:53:26Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:53:26Z" msg="Starting IMAP server" time="2026-09-17T09:53:26Z" msg="Starting SMTP server" time="2026-09-17T09:53:26Z" msg="Starting service" time="2026-09-17T09:53:26Z" msg="Starting service" time="2026-09-17T09:53:26Z" msg="Starting receiver service" time="2026-09-17T09:53:26Z" msg="Starting poll service" time="2026-09-17T09:53:26Z" msg="Starting frontend service" time="2026-09-17T09:53:26Z" msg="Checking for updates" time="2026-09-17T09:53:26Z" msg="Loading users" /user time="2026-09-17T09:53:26Z" msg="Finished loading users" /user time="2026-09-17T09:53:26Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/217/config3857628817/grpcServerConfig.json time="2026-09-17T09:53:26Z" msg="gRPC server listening on /tmp/bridge6587" time="2026-09-17T09:53:26Z" msg="Frontend service started" time="2026-09-17T09:53:26Z" msg="Starting frontend client" time="2026-09-17T09:53:26Z" msg="Not monitoring parent PID" time="2026-09-17T09:53:26Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:53:26Z" msg="200 OK: GET https://127.0.0.1:33785/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:53:26Z" msg="Frontend client started" When bridge starts # :1 -> *scenario time="2026-09-17T09:53:26Z" msg="Performing full user login" /user username="******** (4dcb83d4)" time="2026-09-17T09:53:26Z" msg="Authorizing user for login" /user username="******** (4dcb83d4)" time="2026-09-17T09:53:26Z" msg="200 OK: POST https://127.0.0.1:33785/auth/v4/info" /manager time="2026-09-17T09:53:26Z" msg="200 OK: POST https://127.0.0.1:33785/auth/v4" /manager time="2026-09-17T09:53:26Z" msg="Logging in authorized user" /user userID=520c65a8-720d-4990-8d91-c091cceb8312 time="2026-09-17T09:53:26Z" msg="Adding vault user" userID=520c65a8-720d-4990-8d91-c091cceb8312 time="2026-09-17T09:53:26Z" msg="Creating new user" userID=520c65a8-720d-4990-8d91-c091cceb8312 time="2026-09-17T09:53:26Z" msg="404 GET https://127.0.0.1:33785/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:53:26Z" msg="404 GET https://127.0.0.1:33785/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:53:26Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:33785/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:53:26Z" msg="Creating user object" authUID=25c7e9a5-19ef-4838-b6c8-86e86f6110cc numA numL userID=520c65a8-720d-4990-8d91-c091cceb8312 time="2026-09-17T09:53:26Z" msg="200 OK: GET https://127.0.0.1:33785/core/v4/events/latest" /client userID=520c65a8-720d-4990-8d91-c091cceb8312 time="2026-09-17T09:53:26Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:53:26Z" msg="200 OK: GET https://127.0.0.1:33785/core/v4/settings" /client userID=520c65a8-720d-4990-8d91-c091cceb8312 time="2026-09-17T09:53:26Z" msg="Registering user client, ID:520c65a8-720d-4990-8d91-c091cceb8312" time="2026-09-17T09:53:26Z" msg="Starting service main loop" time="2026-09-17T09:53:26Z" msg="Starting service main loop" time="2026-09-17T09:53:26Z" msg="Starting user identity service" numA time="2026-09-17T09:53:26Z" msg="Starting service main loop" time="2026-09-17T09:53:26Z" msg="200 OK: GET https://127.0.0.1:33785/core/v4/labels?T" /client userID=520c65a8-720d-4990-8d91-c091cceb8312 time="2026-09-17T09:53:26Z" msg="200 OK: GET https://127.0.0.1:33785/core/v4/labels?T" /client userID=520c65a8-720d-4990-8d91-c091cceb8312 time="2026-09-17T09:53:26Z" msg="200 OK: GET https://127.0.0.1:33785/core/v4/labels?T" /client userID=520c65a8-720d-4990-8d91-c091cceb8312 time="2026-09-17T09:53:26Z" msg="Setting labels" labelIDs="[9 10 12 1 3 5 6 0 2 4 7 8]" time="2026-09-17T09:53:26Z" msg="Adding user to imap server" addrID=6ace7ff5-8502-4f09-8a6b-eb62e8a8153a time="2026-09-17T09:53:26Z" msg="Creating new IMAP user" addrID=6ace7ff5-8502-4f09-8a6b-eb62e8a8153a time="2026-09-17T09:53:26Z" msg="Setting gluon ID" addrID=6ace7ff5-8502-4f09-8a6b-eb62e8a8153a gluonID=b8eca23f-162e-4028-8a00-ed16a52926f6 userID=520c65a8-720d-4990-8d91-c091cceb8312 time="2026-09-17T09:53:26Z" msg="Received mailbox message count" gluonID=b8eca23f-162e-4028-8a00-ed16a52926f6 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:53:26Z" msg="Created new IMAP user" addrID=6ace7ff5-8502-4f09-8a6b-eb62e8a8153a gluonID=b8eca23f-162e-4028-8a00-ed16a52926f6 time="2026-09-17T09:53:26Z" msg="Validating Listener State" time="2026-09-17T09:53:26Z" time="2026-09-17T09:53:26Z" msg="Starting IMAP Service" And the user logs in with username "66e16848-273b-4b63-83ed-2dce17019aa0" and password "password" # :1 -> *scenario time="2026-09-17T09:53:26Z" msg="Checking whether logged in user should re-sync. UserID:520c65a8-720d-4990-8d91-c091cceb8312" userID=520c65a8-720d-4990-8d91-c091cceb8312 time="2026-09-17T09:53:26Z" msg="Sync triggered" time="2026-09-17T09:53:26Z" msg="Beginning user sync" start="2026-09-17 09:53:26.958968434 +0000 UTC m=+495.451270730" time="2026-09-17T09:53:26Z" msg="Performing full user login" /user username="******** (2a5f7c64)" time="2026-09-17T09:53:26Z" msg="Authorizing user for login" /user username="******** (2a5f7c64)" time="2026-09-17T09:53:26Z" msg="Syncing labels" time="2026-09-17T09:53:26Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=b8eca23f-162e-4028-8a00-ed16a52926f6 time="2026-09-17T09:53:26Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=b8eca23f-162e-4028-8a00-ed16a52926f6 time="2026-09-17T09:53:26Z" msg="Mailbox created" /user remoteMailboxID=10 userID=b8eca23f-162e-4028-8a00-ed16a52926f6 time="2026-09-17T09:53:26Z" msg="Mailbox created" /user remoteMailboxID=12 userID=b8eca23f-162e-4028-8a00-ed16a52926f6 time="2026-09-17T09:53:26Z" msg="Mailbox created" /user remoteMailboxID=3 userID=b8eca23f-162e-4028-8a00-ed16a52926f6 time="2026-09-17T09:53:26Z" msg="Mailbox created" /user remoteMailboxID=6 userID=b8eca23f-162e-4028-8a00-ed16a52926f6 time="2026-09-17T09:53:26Z" msg="Mailbox created" /user remoteMailboxID=4 userID=b8eca23f-162e-4028-8a00-ed16a52926f6 time="2026-09-17T09:53:26Z" msg="Mailbox created" /user remoteMailboxID=7 userID=b8eca23f-162e-4028-8a00-ed16a52926f6 time="2026-09-17T09:53:26Z" msg="Mailbox created" /user remoteMailboxID=5 userID=b8eca23f-162e-4028-8a00-ed16a52926f6 time="2026-09-17T09:53:26Z" msg="Mailbox created" /user remoteMailboxID=0 userID=b8eca23f-162e-4028-8a00-ed16a52926f6 time="2026-09-17T09:53:26Z" msg="Mailbox created" /user remoteMailboxID=8 userID=b8eca23f-162e-4028-8a00-ed16a52926f6 time="2026-09-17T09:53:26Z" msg="Synced labels" time="2026-09-17T09:53:26Z" msg="200 OK: POST https://127.0.0.1:33785/auth/v4/info" /manager time="2026-09-17T09:53:26Z" msg="200 OK: GET https://127.0.0.1:33785/mail/v4/messages/count" /client userID=520c65a8-720d-4990-8d91-c091cceb8312 time="2026-09-17T09:53:26Z" msg="Syncing messages" time="2026-09-17T09:53:26Z" msg="Job started" time="2026-09-17T09:53:26Z" msg="200 OK: POST https://127.0.0.1:33785/mail/v4/messages" /client userID=520c65a8-720d-4990-8d91-c091cceb8312 time="2026-09-17T09:53:26Z" msg="Job finished" time="2026-09-17T09:53:26Z" msg="All child jobs completed" sync- time="2026-09-17T09:53:26Z" msg="Synced messages" time="2026-09-17T09:53:26Z" msg="Finished user sync" .807399ms time="2026-09-17T09:53:26Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:53:26Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:53:27Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 8} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:53:27Z" msg="200 OK: POST https://127.0.0.1:33785/auth/v4" /manager time="2026-09-17T09:53:27Z" msg="Logging in authorized user" /user userID=e15a4baa-49f5-4f54-aee1-f7cd86f99125 time="2026-09-17T09:53:27Z" msg="Adding vault user" userID=e15a4baa-49f5-4f54-aee1-f7cd86f99125 time="2026-09-17T09:53:27Z" msg="Creating new user" userID=e15a4baa-49f5-4f54-aee1-f7cd86f99125 time="2026-09-17T09:53:27Z" msg="404 GET https://127.0.0.1:33785/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:53:27Z" msg="404 GET https://127.0.0.1:33785/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:53:27Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:33785/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:53:27Z" msg="Creating user object" authUID=f51d5aa7-1ab7-455b-8bb8-15886a6ec866 numA numL userID=e15a4baa-49f5-4f54-aee1-f7cd86f99125 time="2026-09-17T09:53:27Z" msg="200 OK: GET https://127.0.0.1:33785/core/v4/events/latest" /client userID=e15a4baa-49f5-4f54-aee1-f7cd86f99125 time="2026-09-17T09:53:27Z" msg="Starting service Last EventID=AQ==" time="2026-09-17T09:53:27Z" msg="200 OK: GET https://127.0.0.1:33785/core/v4/settings" /client userID=e15a4baa-49f5-4f54-aee1-f7cd86f99125 time="2026-09-17T09:53:27Z" msg="Registering user client, ID:e15a4baa-49f5-4f54-aee1-f7cd86f99125" time="2026-09-17T09:53:27Z" msg="Starting service main loop" time="2026-09-17T09:53:27Z" msg="Starting user identity service" numA time="2026-09-17T09:53:27Z" msg="Starting service main loop" time="2026-09-17T09:53:27Z" msg="Starting service main loop" time="2026-09-17T09:53:27Z" msg="200 OK: GET https://127.0.0.1:33785/core/v4/labels?T" /client userID=e15a4baa-49f5-4f54-aee1-f7cd86f99125 time="2026-09-17T09:53:27Z" msg="200 OK: GET https://127.0.0.1:33785/core/v4/labels?T" /client userID=e15a4baa-49f5-4f54-aee1-f7cd86f99125 time="2026-09-17T09:53:27Z" msg="200 OK: GET https://127.0.0.1:33785/core/v4/labels?T" /client userID=e15a4baa-49f5-4f54-aee1-f7cd86f99125 time="2026-09-17T09:53:27Z" msg="Setting labels" labelIDs="[2 5 7 9 10 12 0 3 4 6 8 1]" time="2026-09-17T09:53:27Z" msg="Adding user to imap server" addrID=ee114f07-64f8-48bd-9a74-af36a8dd5f78 time="2026-09-17T09:53:27Z" msg="Creating new IMAP user" addrID=ee114f07-64f8-48bd-9a74-af36a8dd5f78 time="2026-09-17T09:53:27Z" msg="Setting gluon ID" addrID=ee114f07-64f8-48bd-9a74-af36a8dd5f78 gluonID=9174cae2-5e18-4394-a8a4-762f3fdb076e userID=e15a4baa-49f5-4f54-aee1-f7cd86f99125 time="2026-09-17T09:53:27Z" msg="Received mailbox message count" gluonID=9174cae2-5e18-4394-a8a4-762f3fdb076e labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:53:27Z" msg="Created new IMAP user" addrID=ee114f07-64f8-48bd-9a74-af36a8dd5f78 gluonID=9174cae2-5e18-4394-a8a4-762f3fdb076e time="2026-09-17T09:53:27Z" msg="Validating Listener State" time="2026-09-17T09:53:27Z" time="2026-09-17T09:53:27Z" msg="Starting IMAP Service" time="2026-09-17T09:53:27Z" msg="Checking whether logged in user should re-sync. UserID:e15a4baa-49f5-4f54-aee1-f7cd86f99125" userID=e15a4baa-49f5-4f54-aee1-f7cd86f99125 And the user logs in with username "813aaf32-f678-4cae-986e-fc999ccb5c66" and password "password" # :1 -> *scenario time="2026-09-17T09:53:27Z" msg="Sync triggered" Then it succeeds # :1 -> *scenario time="2026-09-17T09:53:27Z" msg="Beginning user sync" start="2026-09-17 09:53:27.39018744 +0000 UTC m=+495.882489736" Scenario: Send from one account to the other # features/smtp/send/one_account_to_another.feature:11 When user "66e16848-273b-4b63-83ed-2dce17019aa0" connects and authenticates SMTP client "1" # :1 -> *scenario time="2026-09-17T09:53:27Z" msg="Syncing labels" time="2026-09-17T09:53:27Z" msg="Sending observability data." time="2026-09-17T09:53:27Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=9174cae2-5e18-4394-a8a4-762f3fdb076e time="2026-09-17T09:53:27Z" msg="200 OK: POST https://127.0.0.1:33785/data/v1/metrics" /client userID=520c65a8-720d-4990-8d91-c091cceb8312 time="2026-09-17T09:53:27Z" msg="Successfully sent observability data." time="2026-09-17T09:53:27Z" msg="200 OK: GET https://127.0.0.1:33785/mail/v4/settings" /client userID=520c65a8-720d-4990-8d91-c091cceb8312 time="2026-09-17T09:53:27Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=9174cae2-5e18-4394-a8a4-762f3fdb076e time="2026-09-17T09:53:27Z" msg="Mailbox created" /user remoteMailboxID=7 userID=9174cae2-5e18-4394-a8a4-762f3fdb076e time="2026-09-17T09:53:27Z" msg="Mailbox created" /user remoteMailboxID=12 userID=9174cae2-5e18-4394-a8a4-762f3fdb076e time="2026-09-17T09:53:27Z" msg="Mailbox created" /user remoteMailboxID=3 userID=9174cae2-5e18-4394-a8a4-762f3fdb076e time="2026-09-17T09:53:27Z" msg="Mailbox created" /user remoteMailboxID=5 userID=9174cae2-5e18-4394-a8a4-762f3fdb076e time="2026-09-17T09:53:27Z" msg="Mailbox created" /user remoteMailboxID=10 userID=9174cae2-5e18-4394-a8a4-762f3fdb076e time="2026-09-17T09:53:27Z" msg="Mailbox created" /user remoteMailboxID=0 userID=9174cae2-5e18-4394-a8a4-762f3fdb076e time="2026-09-17T09:53:27Z" msg="Mailbox created" /user remoteMailboxID=4 userID=9174cae2-5e18-4394-a8a4-762f3fdb076e time="2026-09-17T09:53:27Z" msg="Mailbox created" /user remoteMailboxID=6 userID=9174cae2-5e18-4394-a8a4-762f3fdb076e time="2026-09-17T09:53:27Z" msg="Mailbox created" /user remoteMailboxID=8 userID=9174cae2-5e18-4394-a8a4-762f3fdb076e time="2026-09-17T09:53:27Z" msg="Synced labels" time="2026-09-17T09:53:27Z" msg="200 OK: GET https://127.0.0.1:33785/mail/v4/messages/count" /client userID=e15a4baa-49f5-4f54-aee1-f7cd86f99125 time="2026-09-17T09:53:27Z" msg="Syncing messages" time="2026-09-17T09:53:27Z" msg="Job started" time="2026-09-17T09:53:27Z" msg="200 OK: POST https://127.0.0.1:33785/mail/v4/messages" /client userID=e15a4baa-49f5-4f54-aee1-f7cd86f99125 time="2026-09-17T09:53:27Z" msg="Job finished" time="2026-09-17T09:53:27Z" msg="All child jobs completed" sync- time="2026-09-17T09:53:27Z" msg="Synced messages" time="2026-09-17T09:53:27Z" msg="Finished user sync" .502438ms time="2026-09-17T09:53:27Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:53:27Z" msg="Event loop reset" eventID="AQ==" time="2026-09-17T09:53:27Z" msg="200 OK: POST https://127.0.0.1:33785/mail/v4/messages" /client userID=520c65a8-720d-4990-8d91-c091cceb8312 time="2026-09-17T09:53:27Z" msg="200 OK: GET https://127.0.0.1:33785/core/v4/keys?E%40proton.local" /client userID=520c65a8-720d-4990-8d91-c091cceb8312 time="2026-09-17T09:53:27Z" msg="200 OK: GET https://127.0.0.1:33785/contacts/v4/emails?E%40proton.local&P&PageS" /client userID=520c65a8-720d-4990-8d91-c091cceb8312 time="2026-09-17T09:53:27Z" msg="200 OK: POST https://127.0.0.1:33785/mail/v4/messages/f586323d-202f-45a7-bc0b-aa74caa689e8" /client userID=520c65a8-720d-4990-8d91-c091cceb8312 time="2026-09-17T09:53:27Z" msg="Scheduling observability data sending" And SMTP client "1" sends the following message from "66e16848-273b-4b63-83ed-2dce17019aa0@proton.local" to "813aaf32-f678-4cae-986e-fc999ccb5c66@proton.local": # :1 -> *scenario """ From: Bridge Test <[user:user]@[domain]> To: Internal Bridge <[user:recp]@[domain]> Subject: One account to the other hello """ Then it succeeds # :1 -> *scenario And the body in the "POST" request to "/mail/v4/messages" is: # :1 -> *scenario """ { "Message": { "Subject": "One account to the other", "Sender": { "Name": "Bridge Test", "Address": "[user:user]@[domain]" }, "ToList": [ { "Name": "Internal Bridge", "Address": "[user:recp]@[domain]" } ], "CCList": [], "BCCList": [], "MIMEType": "text/plain" } } """ And the body in the "POST" request to "/mail/v4/messages/.*" is: # :1 -> *scenario """ { "Packages": [ { "Addresses": { "[user:recp]@[domain]": { "Type": 1 } }, "Type": 1, "MIMEType": "text/plain" } ] } """ When user "813aaf32-f678-4cae-986e-fc999ccb5c66" connects and authenticates IMAP client "1" # :1 -> *scenario time="2026-09-17T09:53:27Z" msg="200 OK: GET https://127.0.0.1:33785/core/v4/events/AA==" /client userID=520c65a8-720d-4990-8d91-c091cceb8312 time="2026-09-17T09:53:27Z" msg="Received new API event" new="Event Aw==: messages: , , " old="AA==" time="2026-09-17T09:53:27Z" msg="Handling message created event" messageID=f586323d-202f-45a7-bc0b-aa74caa689e8 subject="******** (b476d953)" time="2026-09-17T09:53:27Z" msg="200 OK: GET https://127.0.0.1:33785/mail/v4/messages/f586323d-202f-45a7-bc0b-aa74caa689e8" /client userID=520c65a8-720d-4990-8d91-c091cceb8312 time="2026-09-17T09:53:27Z" msg="Handling draft or sent updated event" isD messageID=f586323d-202f-45a7-bc0b-aa74caa689e8 subject="******** (b476d953)" time="2026-09-17T09:53:27Z" msg="200 OK: GET https://127.0.0.1:33785/mail/v4/messages/f586323d-202f-45a7-bc0b-aa74caa689e8" /client userID=520c65a8-720d-4990-8d91-c091cceb8312 time="2026-09-17T09:53:28Z" msg="200 OK: GET https://127.0.0.1:33785/core/v4/events/AQ==" /client userID=e15a4baa-49f5-4f54-aee1-f7cd86f99125 time="2026-09-17T09:53:28Z" msg="Received new API event" new="Event BA==: messages: , , " old="AQ==" time="2026-09-17T09:53:28Z" msg="Handling message created event" messageID=0d51c1a6-66dd-41cd-87fd-53625d8bc903 subject="******** (b476d953)" time="2026-09-17T09:53:28Z" msg="200 OK: GET https://127.0.0.1:33785/mail/v4/messages/0d51c1a6-66dd-41cd-87fd-53625d8bc903" /client userID=e15a4baa-49f5-4f54-aee1-f7cd86f99125 time="2026-09-17T09:53:28Z" msg="Frontend service stopped" time="2026-09-17T09:53:28Z" msg="Frontend client stopped" time="2026-09-17T09:53:28Z" msg="Closing bridge" time="2026-09-17T09:53:28Z" msg="Stopping service" time="2026-09-17T09:53:28Z" msg="Closing user" userID=e15a4baa-49f5-4f54-aee1-f7cd86f99125 time="2026-09-17T09:53:28Z" msg="De-registering user client, ID:e15a4baa-49f5-4f54-aee1-f7cd86f99125" time="2026-09-17T09:53:28Z" msg="Exiting IMAP Service" time="2026-09-17T09:53:28Z" msg="Exiting service main loop" time="2026-09-17T09:53:28Z" msg="Exiting service main loop" time="2026-09-17T09:53:28Z" msg="Exiting Service" time="2026-09-17T09:53:28Z" msg="Exiting service main loop" time="2026-09-17T09:53:28Z" msg="Exiting service" time="2026-09-17T09:53:28Z" msg="Closing user" userID=520c65a8-720d-4990-8d91-c091cceb8312 time="2026-09-17T09:53:28Z" msg="De-registering user client, ID:520c65a8-720d-4990-8d91-c091cceb8312" time="2026-09-17T09:53:28Z" msg="Exiting IMAP Service" time="2026-09-17T09:53:28Z" msg="Exiting service main loop" time="2026-09-17T09:53:28Z" msg="Exiting service main loop" time="2026-09-17T09:53:28Z" msg="Exiting Service" time="2026-09-17T09:53:28Z" msg="Exiting service main loop" time="2026-09-17T09:53:28Z" msg="Exiting service" time="2026-09-17T09:53:28Z" msg="Closing IMAP Listener" time="2026-09-17T09:53:28Z" msg="Closing IMAP server" time="2026-09-17T09:53:28Z" msg="Closing SMTP Listener" time="2026-09-17T09:53:28Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:53:28Z" msg="Closing SMTP server" time="2026-09-17T09:53:28Z" msg="Closing service" Then IMAP client "1" eventually sees the following messages in "Inbox": # :1 -> *scenario | from | to | subject | body | | 66e16848-273b-4b63-83ed-2dce17019aa0@proton.local | 813aaf32-f678-4cae-986e-fc999ccb5c66@proton.local | One account to the other | hello | time="2026-09-17T09:53:28Z" msg="User '63116a7e-df4c-4eec-a925-bcbe3c3a2967' created with " /server/backend time="2026-09-17T09:53:29Z" msg="User 'fed30a64-e238-4e28-8977-2bac328b4361' created with " /server/backend time="2026-09-17T09:53:29Z" msg="Starting bridge" time="2026-09-17T09:53:29Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/218/config3902594403/grpcFocusServerConfig.json /service time="2026-09-17T09:53:29Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/218/cache3074088633/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:53:29Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/218/cache3074088633/notifications/notification_cache: no such file or directory" time="2026-09-17T09:53:29Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/218/data2046767032/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/218/data2046767032/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:53:29Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:53:29Z" msg="Starting IMAP server" time="2026-09-17T09:53:29Z" msg="Starting SMTP server" time="2026-09-17T09:53:29Z" msg="Starting service" time="2026-09-17T09:53:29Z" msg="Starting service" time="2026-09-17T09:53:29Z" msg="Starting poll service" time="2026-09-17T09:53:29Z" msg="Checking for updates" time="2026-09-17T09:53:29Z" msg="Starting frontend service" time="2026-09-17T09:53:29Z" msg="Loading users" /user time="2026-09-17T09:53:29Z" msg="Starting receiver service" time="2026-09-17T09:53:29Z" msg="Finished loading users" /user time="2026-09-17T09:53:29Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/218/config3902594403/grpcServerConfig.json time="2026-09-17T09:53:29Z" msg="gRPC server listening on /tmp/bridge6727" time="2026-09-17T09:53:29Z" msg="Frontend service started" time="2026-09-17T09:53:29Z" msg="Starting frontend client" time="2026-09-17T09:53:29Z" msg="Not monitoring parent PID" time="2026-09-17T09:53:29Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:53:29Z" msg="200 OK: GET https://127.0.0.1:35433/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:53:29Z" msg="Frontend client started" time="2026-09-17T09:53:29Z" msg="Performing full user login" /user username="******** (3c3656bc)" time="2026-09-17T09:53:29Z" msg="Authorizing user for login" /user username="******** (3c3656bc)" time="2026-09-17T09:53:29Z" msg="200 OK: POST https://127.0.0.1:35433/auth/v4/info" /manager time="2026-09-17T09:53:30Z" msg="200 OK: POST https://127.0.0.1:35433/auth/v4" /manager time="2026-09-17T09:53:30Z" msg="Logging in authorized user" /user userID=1dfab1ca-c09f-41f1-86ed-ed7f56a8d504 time="2026-09-17T09:53:30Z" msg="Adding vault user" userID=1dfab1ca-c09f-41f1-86ed-ed7f56a8d504 time="2026-09-17T09:53:30Z" msg="Creating new user" userID=1dfab1ca-c09f-41f1-86ed-ed7f56a8d504 time="2026-09-17T09:53:30Z" msg="404 GET https://127.0.0.1:35433/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:53:30Z" msg="404 GET https://127.0.0.1:35433/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:53:30Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:35433/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:53:30Z" msg="Creating user object" authUID=06350f7d-789b-4a01-a660-4f6d521eec73 numA numL userID=1dfab1ca-c09f-41f1-86ed-ed7f56a8d504 time="2026-09-17T09:53:30Z" msg="200 OK: GET https://127.0.0.1:35433/core/v4/events/latest" /client userID=1dfab1ca-c09f-41f1-86ed-ed7f56a8d504 time="2026-09-17T09:53:30Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:53:30Z" msg="200 OK: GET https://127.0.0.1:35433/core/v4/settings" /client userID=1dfab1ca-c09f-41f1-86ed-ed7f56a8d504 time="2026-09-17T09:53:30Z" msg="Registering user client, ID:1dfab1ca-c09f-41f1-86ed-ed7f56a8d504" time="2026-09-17T09:53:30Z" msg="Starting user identity service" numA time="2026-09-17T09:53:30Z" msg="Starting service main loop" time="2026-09-17T09:53:30Z" msg="Starting service main loop" time="2026-09-17T09:53:30Z" msg="Starting service main loop" time="2026-09-17T09:53:30Z" msg="200 OK: GET https://127.0.0.1:35433/core/v4/labels?T" /client userID=1dfab1ca-c09f-41f1-86ed-ed7f56a8d504 time="2026-09-17T09:53:30Z" msg="200 OK: GET https://127.0.0.1:35433/core/v4/labels?T" /client userID=1dfab1ca-c09f-41f1-86ed-ed7f56a8d504 time="2026-09-17T09:53:30Z" msg="200 OK: GET https://127.0.0.1:35433/core/v4/labels?T" /client userID=1dfab1ca-c09f-41f1-86ed-ed7f56a8d504 time="2026-09-17T09:53:30Z" msg="Setting labels" labelIDs="[12 0 1 3 4 6 7 8 9 2 5 10]" time="2026-09-17T09:53:30Z" msg="Adding user to imap server" addrID=ca62e899-11dd-4ddd-96a0-81900df86d1e time="2026-09-17T09:53:30Z" msg="Creating new IMAP user" addrID=ca62e899-11dd-4ddd-96a0-81900df86d1e time="2026-09-17T09:53:30Z" msg="Setting gluon ID" addrID=ca62e899-11dd-4ddd-96a0-81900df86d1e gluonID=336340e7-542d-4c0b-91f3-e38f2332e1c1 userID=1dfab1ca-c09f-41f1-86ed-ed7f56a8d504 time="2026-09-17T09:53:30Z" msg="Received mailbox message count" gluonID=336340e7-542d-4c0b-91f3-e38f2332e1c1 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:53:30Z" msg="Created new IMAP user" addrID=ca62e899-11dd-4ddd-96a0-81900df86d1e gluonID=336340e7-542d-4c0b-91f3-e38f2332e1c1 time="2026-09-17T09:53:30Z" msg="Validating Listener State" time="2026-09-17T09:53:30Z" time="2026-09-17T09:53:30Z" msg="Starting IMAP Service" time="2026-09-17T09:53:30Z" msg="Checking whether logged in user should re-sync. UserID:1dfab1ca-c09f-41f1-86ed-ed7f56a8d504" userID=1dfab1ca-c09f-41f1-86ed-ed7f56a8d504 time="2026-09-17T09:53:30Z" msg="Performing full user login" /user username="******** (76300768)" time="2026-09-17T09:53:30Z" msg="Authorizing user for login" /user username="******** (76300768)" time="2026-09-17T09:53:30Z" msg="Sync triggered" time="2026-09-17T09:53:30Z" msg="Beginning user sync" start="2026-09-17 09:53:30.130012123 +0000 UTC m=+498.622314459" time="2026-09-17T09:53:30Z" msg="Syncing labels" time="2026-09-17T09:53:30Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=336340e7-542d-4c0b-91f3-e38f2332e1c1 time="2026-09-17T09:53:30Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=336340e7-542d-4c0b-91f3-e38f2332e1c1 time="2026-09-17T09:53:30Z" msg="Mailbox created" /user remoteMailboxID=8 userID=336340e7-542d-4c0b-91f3-e38f2332e1c1 time="2026-09-17T09:53:30Z" msg="Mailbox created" /user remoteMailboxID=12 userID=336340e7-542d-4c0b-91f3-e38f2332e1c1 time="2026-09-17T09:53:30Z" msg="Mailbox created" /user remoteMailboxID=0 userID=336340e7-542d-4c0b-91f3-e38f2332e1c1 time="2026-09-17T09:53:30Z" msg="Mailbox created" /user remoteMailboxID=3 userID=336340e7-542d-4c0b-91f3-e38f2332e1c1 time="2026-09-17T09:53:30Z" msg="Mailbox created" /user remoteMailboxID=6 userID=336340e7-542d-4c0b-91f3-e38f2332e1c1 time="2026-09-17T09:53:30Z" msg="Mailbox created" /user remoteMailboxID=5 userID=336340e7-542d-4c0b-91f3-e38f2332e1c1 time="2026-09-17T09:53:30Z" msg="Mailbox created" /user remoteMailboxID=10 userID=336340e7-542d-4c0b-91f3-e38f2332e1c1 time="2026-09-17T09:53:30Z" msg="Mailbox created" /user remoteMailboxID=4 userID=336340e7-542d-4c0b-91f3-e38f2332e1c1 time="2026-09-17T09:53:30Z" msg="Mailbox created" /user remoteMailboxID=7 userID=336340e7-542d-4c0b-91f3-e38f2332e1c1 time="2026-09-17T09:53:30Z" msg="Synced labels" time="2026-09-17T09:53:30Z" msg="200 OK: POST https://127.0.0.1:35433/auth/v4/info" /manager time="2026-09-17T09:53:30Z" msg="200 OK: GET https://127.0.0.1:35433/mail/v4/messages/count" /client userID=1dfab1ca-c09f-41f1-86ed-ed7f56a8d504 time="2026-09-17T09:53:30Z" msg="Syncing messages" time="2026-09-17T09:53:30Z" msg="Job started" time="2026-09-17T09:53:30Z" msg="200 OK: POST https://127.0.0.1:35433/mail/v4/messages" /client userID=1dfab1ca-c09f-41f1-86ed-ed7f56a8d504 time="2026-09-17T09:53:30Z" msg="Job finished" time="2026-09-17T09:53:30Z" msg="All child jobs completed" sync- time="2026-09-17T09:53:30Z" msg="Synced messages" time="2026-09-17T09:53:30Z" msg="Finished user sync" .934756ms time="2026-09-17T09:53:30Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:53:30Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:53:30Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 2} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:53:30Z" msg="200 OK: POST https://127.0.0.1:35433/auth/v4" /manager time="2026-09-17T09:53:30Z" msg="Logging in authorized user" /user userID=b3a07508-32e2-4bcb-b9d3-1c18cc688459 time="2026-09-17T09:53:30Z" msg="Adding vault user" userID=b3a07508-32e2-4bcb-b9d3-1c18cc688459 time="2026-09-17T09:53:30Z" msg="Creating new user" userID=b3a07508-32e2-4bcb-b9d3-1c18cc688459 time="2026-09-17T09:53:30Z" msg="404 GET https://127.0.0.1:35433/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:53:30Z" msg="404 GET https://127.0.0.1:35433/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:53:30Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:35433/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:53:30Z" msg="Creating user object" authUID=0b4441cf-1709-4b28-b11c-54e30a4f5bdc numA numL userID=b3a07508-32e2-4bcb-b9d3-1c18cc688459 time="2026-09-17T09:53:30Z" msg="200 OK: GET https://127.0.0.1:35433/core/v4/events/latest" /client userID=b3a07508-32e2-4bcb-b9d3-1c18cc688459 time="2026-09-17T09:53:30Z" msg="Starting service Last EventID=AQ==" time="2026-09-17T09:53:30Z" msg="200 OK: GET https://127.0.0.1:35433/core/v4/settings" /client userID=b3a07508-32e2-4bcb-b9d3-1c18cc688459 time="2026-09-17T09:53:30Z" msg="Registering user client, ID:b3a07508-32e2-4bcb-b9d3-1c18cc688459" time="2026-09-17T09:53:30Z" msg="Starting user identity service" numA time="2026-09-17T09:53:30Z" msg="Starting service main loop" time="2026-09-17T09:53:30Z" msg="Starting service main loop" time="2026-09-17T09:53:30Z" msg="Starting service main loop" time="2026-09-17T09:53:30Z" msg="200 OK: GET https://127.0.0.1:35433/core/v4/labels?T" /client userID=b3a07508-32e2-4bcb-b9d3-1c18cc688459 time="2026-09-17T09:53:30Z" msg="200 OK: GET https://127.0.0.1:35433/core/v4/labels?T" /client userID=b3a07508-32e2-4bcb-b9d3-1c18cc688459 time="2026-09-17T09:53:30Z" msg="200 OK: GET https://127.0.0.1:35433/core/v4/labels?T" /client userID=b3a07508-32e2-4bcb-b9d3-1c18cc688459 time="2026-09-17T09:53:30Z" msg="Setting labels" labelIDs="[4 5 7 0 3 6 8 9 10 12 1 2]" time="2026-09-17T09:53:30Z" msg="Adding user to imap server" addrID=d5969a39-40fb-4ea5-bc01-861647926ad1 time="2026-09-17T09:53:30Z" msg="Creating new IMAP user" addrID=d5969a39-40fb-4ea5-bc01-861647926ad1 time="2026-09-17T09:53:30Z" msg="Setting gluon ID" addrID=d5969a39-40fb-4ea5-bc01-861647926ad1 gluonID=8cae6fd5-7104-4315-8e5a-29695a527e4b userID=b3a07508-32e2-4bcb-b9d3-1c18cc688459 time="2026-09-17T09:53:30Z" msg="Received mailbox message count" gluonID=8cae6fd5-7104-4315-8e5a-29695a527e4b labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:53:30Z" msg="Created new IMAP user" addrID=d5969a39-40fb-4ea5-bc01-861647926ad1 gluonID=8cae6fd5-7104-4315-8e5a-29695a527e4b time="2026-09-17T09:53:30Z" msg="Validating Listener State" time="2026-09-17T09:53:30Z" time="2026-09-17T09:53:30Z" msg="Checking whether logged in user should re-sync. UserID:b3a07508-32e2-4bcb-b9d3-1c18cc688459" userID=b3a07508-32e2-4bcb-b9d3-1c18cc688459 time="2026-09-17T09:53:30Z" msg="Starting IMAP Service" time="2026-09-17T09:53:30Z" msg="Sync triggered" time="2026-09-17T09:53:30Z" msg="Beginning user sync" start="2026-09-17 09:53:30.563909022 +0000 UTC m=+499.056211318" time="2026-09-17T09:53:30Z" msg="Syncing labels" time="2026-09-17T09:53:30Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=8cae6fd5-7104-4315-8e5a-29695a527e4b Scenario: Send from one account to the other with attachments # features/smtp/send/one_account_to_another.feature:65 When user "63116a7e-df4c-4eec-a925-bcbe3c3a2967" connects and authenticates SMTP client "1" # :1 -> *scenario time="2026-09-17T09:53:30Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=8cae6fd5-7104-4315-8e5a-29695a527e4b time="2026-09-17T09:53:30Z" msg="Sending observability data." time="2026-09-17T09:53:30Z" msg="Mailbox created" /user remoteMailboxID=4 userID=8cae6fd5-7104-4315-8e5a-29695a527e4b time="2026-09-17T09:53:30Z" msg="Mailbox created" /user remoteMailboxID=5 userID=8cae6fd5-7104-4315-8e5a-29695a527e4b time="2026-09-17T09:53:30Z" msg="200 OK: POST https://127.0.0.1:35433/data/v1/metrics" /client userID=1dfab1ca-c09f-41f1-86ed-ed7f56a8d504 time="2026-09-17T09:53:30Z" msg="Successfully sent observability data." time="2026-09-17T09:53:30Z" msg="200 OK: GET https://127.0.0.1:35433/mail/v4/settings" /client userID=1dfab1ca-c09f-41f1-86ed-ed7f56a8d504 time="2026-09-17T09:53:30Z" msg="Mailbox created" /user remoteMailboxID=7 userID=8cae6fd5-7104-4315-8e5a-29695a527e4b time="2026-09-17T09:53:30Z" msg="Mailbox created" /user remoteMailboxID=6 userID=8cae6fd5-7104-4315-8e5a-29695a527e4b time="2026-09-17T09:53:30Z" msg="Mailbox created" /user remoteMailboxID=8 userID=8cae6fd5-7104-4315-8e5a-29695a527e4b time="2026-09-17T09:53:30Z" msg="Mailbox created" /user remoteMailboxID=10 userID=8cae6fd5-7104-4315-8e5a-29695a527e4b time="2026-09-17T09:53:30Z" msg="Mailbox created" /user remoteMailboxID=12 userID=8cae6fd5-7104-4315-8e5a-29695a527e4b time="2026-09-17T09:53:30Z" msg="Mailbox created" /user remoteMailboxID=0 userID=8cae6fd5-7104-4315-8e5a-29695a527e4b time="2026-09-17T09:53:30Z" msg="Mailbox created" /user remoteMailboxID=3 userID=8cae6fd5-7104-4315-8e5a-29695a527e4b time="2026-09-17T09:53:30Z" msg="Synced labels" time="2026-09-17T09:53:30Z" msg="200 OK: GET https://127.0.0.1:35433/mail/v4/messages/count" /client userID=b3a07508-32e2-4bcb-b9d3-1c18cc688459 time="2026-09-17T09:53:30Z" msg="Syncing messages" time="2026-09-17T09:53:30Z" msg="Job started" time="2026-09-17T09:53:30Z" msg="200 OK: POST https://127.0.0.1:35433/mail/v4/messages" /client userID=b3a07508-32e2-4bcb-b9d3-1c18cc688459 time="2026-09-17T09:53:30Z" msg="Job finished" time="2026-09-17T09:53:30Z" msg="All child jobs completed" sync- time="2026-09-17T09:53:30Z" msg="Synced messages" time="2026-09-17T09:53:30Z" msg="Finished user sync" .544433ms time="2026-09-17T09:53:30Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:53:30Z" msg="Event loop reset" eventID="AQ==" time="2026-09-17T09:53:30Z" msg="200 OK: POST https://127.0.0.1:35433/mail/v4/messages" /client userID=1dfab1ca-c09f-41f1-86ed-ed7f56a8d504 time="2026-09-17T09:53:30Z" msg="200 OK: POST https://127.0.0.1:35433/mail/v4/attachments" /client userID=1dfab1ca-c09f-41f1-86ed-ed7f56a8d504 time="2026-09-17T09:53:30Z" msg="200 OK: GET https://127.0.0.1:35433/core/v4/keys?E%40proton.local" /client userID=1dfab1ca-c09f-41f1-86ed-ed7f56a8d504 time="2026-09-17T09:53:30Z" msg="200 OK: GET https://127.0.0.1:35433/contacts/v4/emails?E%40proton.local&P&PageS" /client userID=1dfab1ca-c09f-41f1-86ed-ed7f56a8d504 time="2026-09-17T09:53:30Z" msg="200 OK: POST https://127.0.0.1:35433/mail/v4/messages/fa1d3465-c502-4156-beea-9d6e8ef92b8a" /client userID=1dfab1ca-c09f-41f1-86ed-ed7f56a8d504 time="2026-09-17T09:53:30Z" msg="Scheduling observability data sending" And SMTP client "1" sends the following message from "63116a7e-df4c-4eec-a925-bcbe3c3a2967@proton.local" to "fed30a64-e238-4e28-8977-2bac328b4361@proton.local": # :1 -> *scenario """ From: Bridge Test <[user:user]@[domain]> To: Internal Bridge <[user:recp]@[domain]> Subject: Plain with attachment internal Content-Type: multipart/related; --bc5bd30245232f31b6c976adcd59bb0069c9b13f986f9e40c2571bb80aa16606 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; This is the body --bc5bd30245232f31b6c976adcd59bb0069c9b13f986f9e40c2571bb80aa16606 Content-Disposition: attachment; .png Content-Id: <9114fe6f0adfaf7fdf7a@protonmail.com> Content-Transfer-Encoding: base64 Content-Type: image/png iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQot tAAAAABJRU5ErkJggg== --bc5bd30245232f31b6c976adcd59bb0069c9b13f986f9e40c2571bb80aa16606-- """ Then it succeeds # :1 -> *scenario And the body in the "POST" request to "/mail/v4/messages" is: # :1 -> *scenario """ { "Message": { "Subject": "Plain with attachment internal", "Sender": { "Name": "Bridge Test" }, "ToList": [ { "Address": "[user:recp]@[domain]", "Name": "Internal Bridge" } ], "CCList": [], "BCCList": [], "MIMEType": "text/plain" } } """ And the body in the "POST" request to "/mail/v4/messages/.*" is: # :1 -> *scenario """ { "Packages": [ { "Addresses": { "[user:recp]@[domain]": { "Type": 1 } }, "Type": 1, "MIMEType": "text/plain" } ] } """ When user "63116a7e-df4c-4eec-a925-bcbe3c3a2967" connects and authenticates IMAP client "1" # :1 -> *scenario time="2026-09-17T09:53:31Z" msg="200 OK: GET https://127.0.0.1:35433/core/v4/events/AA==" /client userID=1dfab1ca-c09f-41f1-86ed-ed7f56a8d504 time="2026-09-17T09:53:31Z" msg="Received new API event" new="Event BA==: messages: , , " old="AA==" time="2026-09-17T09:53:31Z" msg="Handling message created event" messageID=fa1d3465-c502-4156-beea-9d6e8ef92b8a subject="******** (cfef659e)" time="2026-09-17T09:53:31Z" msg="200 OK: GET https://127.0.0.1:35433/mail/v4/messages/fa1d3465-c502-4156-beea-9d6e8ef92b8a" /client userID=1dfab1ca-c09f-41f1-86ed-ed7f56a8d504 time="2026-09-17T09:53:31Z" msg="Handling draft or sent updated event" isD messageID=fa1d3465-c502-4156-beea-9d6e8ef92b8a subject="******** (cfef659e)" time="2026-09-17T09:53:31Z" msg="200 OK: GET https://127.0.0.1:35433/mail/v4/messages/fa1d3465-c502-4156-beea-9d6e8ef92b8a" /client userID=1dfab1ca-c09f-41f1-86ed-ed7f56a8d504 Then IMAP client "1" eventually sees the following messages in "Sent": # :1 -> *scenario | from | to | subject | body | attachments | unread | | 63116a7e-df4c-4eec-a925-bcbe3c3a2967@proton.local | fed30a64-e238-4e28-8977-2bac328b4361@proton.local | Plain with attachment internal | This is the body | outline-light-instagram-48.png | false | When user "fed30a64-e238-4e28-8977-2bac328b4361" connects and authenticates IMAP client "2" # :1 -> *scenario time="2026-09-17T09:53:31Z" msg="200 OK: GET https://127.0.0.1:35433/core/v4/events/AQ==" /client userID=b3a07508-32e2-4bcb-b9d3-1c18cc688459 time="2026-09-17T09:53:31Z" msg="Received new API event" new="Event BQ==: messages: , , " old="AQ==" time="2026-09-17T09:53:31Z" msg="Handling message created event" messageID=99625a8f-6df8-4fb8-b795-80e86f2d922c subject="******** (cfef659e)" time="2026-09-17T09:53:31Z" msg="200 OK: GET https://127.0.0.1:35433/mail/v4/messages/99625a8f-6df8-4fb8-b795-80e86f2d922c" /client userID=b3a07508-32e2-4bcb-b9d3-1c18cc688459 time="2026-09-17T09:53:31Z" msg="Frontend service stopped" time="2026-09-17T09:53:31Z" msg="Frontend client stopped" time="2026-09-17T09:53:31Z" msg="Closing bridge" time="2026-09-17T09:53:31Z" msg="Stopping service" time="2026-09-17T09:53:31Z" msg="Closing user" userID=1dfab1ca-c09f-41f1-86ed-ed7f56a8d504 time="2026-09-17T09:53:31Z" msg="De-registering user client, ID:1dfab1ca-c09f-41f1-86ed-ed7f56a8d504" time="2026-09-17T09:53:31Z" msg="Exiting IMAP Service" time="2026-09-17T09:53:31Z" msg="Exiting service main loop" time="2026-09-17T09:53:31Z" msg="Exiting service main loop" time="2026-09-17T09:53:31Z" msg="Exiting Service" time="2026-09-17T09:53:31Z" msg="Exiting service main loop" time="2026-09-17T09:53:31Z" msg="Exiting service" time="2026-09-17T09:53:31Z" msg="Closing user" userID=b3a07508-32e2-4bcb-b9d3-1c18cc688459 time="2026-09-17T09:53:31Z" msg="De-registering user client, ID:b3a07508-32e2-4bcb-b9d3-1c18cc688459" time="2026-09-17T09:53:31Z" msg="Exiting IMAP Service" time="2026-09-17T09:53:31Z" msg="Exiting service main loop" time="2026-09-17T09:53:31Z" msg="Exiting service main loop" time="2026-09-17T09:53:31Z" msg="Exiting Service" time="2026-09-17T09:53:31Z" msg="Exiting service main loop" time="2026-09-17T09:53:31Z" msg="Exiting service" time="2026-09-17T09:53:31Z" msg="Closing IMAP Listener" time="2026-09-17T09:53:31Z" msg="Closing IMAP server" time="2026-09-17T09:53:31Z" msg="Closing SMTP Listener" time="2026-09-17T09:53:31Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:53:31Z" msg="Closing SMTP server" time="2026-09-17T09:53:31Z" msg="Closing service" Then IMAP client "2" eventually sees the following messages in "Inbox": # :1 -> *scenario | from | to | subject | body | attachments | unread | | 63116a7e-df4c-4eec-a925-bcbe3c3a2967@proton.local | fed30a64-e238-4e28-8977-2bac328b4361@proton.local | Plain with attachment internal | This is the body | outline-light-instagram-48.png | true | Feature: SMTP sending of plain messages time="2026-09-17T09:53:31Z" msg="User 'e38e10e3-a67e-41f2-b5ea-62824e8e005b' created with " /server/backend Background: Given there exists an account with username "e38e10e3-a67e-41f2-b5ea-62824e8e005b" and password "password" # :1 -> *scenario time="2026-09-17T09:53:32Z" msg="User 'd099b348-4e07-4977-b22d-596157a82cbb' created with " /server/backend And there exists an account with username "d099b348-4e07-4977-b22d-596157a82cbb" and password "password" # :1 -> *scenario time="2026-09-17T09:53:33Z" msg="User 'c189fe56-29ab-4906-a138-fa511ed5dd0e' created with " /server/backend And there exists an account with username "c189fe56-29ab-4906-a138-fa511ed5dd0e" and password "password" # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:53:33Z" msg="Starting bridge" time="2026-09-17T09:53:33Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/219/config161855727/grpcFocusServerConfig.json /service time="2026-09-17T09:53:33Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/219/cache2905762890/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:53:33Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/219/cache2905762890/notifications/notification_cache: no such file or directory" time="2026-09-17T09:53:33Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/219/data4255717911/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/219/data4255717911/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:53:33Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:53:33Z" msg="Starting IMAP server" time="2026-09-17T09:53:33Z" msg="Starting SMTP server" time="2026-09-17T09:53:33Z" msg="Starting service" time="2026-09-17T09:53:33Z" msg="Starting service" time="2026-09-17T09:53:33Z" msg="Starting receiver service" time="2026-09-17T09:53:33Z" msg="Checking for updates" time="2026-09-17T09:53:33Z" msg="Loading users" /user time="2026-09-17T09:53:33Z" msg="Finished loading users" /user time="2026-09-17T09:53:33Z" msg="Starting frontend service" time="2026-09-17T09:53:33Z" msg="Starting poll service" time="2026-09-17T09:53:33Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/219/config161855727/grpcServerConfig.json time="2026-09-17T09:53:33Z" msg="gRPC server listening on /tmp/bridge8089" time="2026-09-17T09:53:33Z" msg="Frontend service started" time="2026-09-17T09:53:33Z" msg="Starting frontend client" time="2026-09-17T09:53:33Z" msg="Not monitoring parent PID" time="2026-09-17T09:53:33Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:53:33Z" msg="Frontend client started" When bridge starts # :1 -> *scenario time="2026-09-17T09:53:33Z" msg="Performing full user login" /user username="******** (2f9a8194)" time="2026-09-17T09:53:33Z" msg="Authorizing user for login" /user username="******** (2f9a8194)" time="2026-09-17T09:53:33Z" msg="200 OK: GET https://127.0.0.1:35845/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:53:33Z" msg="200 OK: POST https://127.0.0.1:35845/auth/v4/info" /manager time="2026-09-17T09:53:33Z" msg="200 OK: POST https://127.0.0.1:35845/auth/v4" /manager time="2026-09-17T09:53:33Z" msg="Logging in authorized user" /user userID=34d26cfb-43b4-40b1-ae72-39eddeaa9111 time="2026-09-17T09:53:33Z" msg="Adding vault user" userID=34d26cfb-43b4-40b1-ae72-39eddeaa9111 time="2026-09-17T09:53:33Z" msg="Creating new user" userID=34d26cfb-43b4-40b1-ae72-39eddeaa9111 time="2026-09-17T09:53:33Z" msg="404 GET https://127.0.0.1:35845/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:53:33Z" msg="404 GET https://127.0.0.1:35845/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:53:33Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:35845/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:53:33Z" msg="Creating user object" authUID=04a6fdcd-5307-4485-a6ee-0f30639eab79 numA numL userID=34d26cfb-43b4-40b1-ae72-39eddeaa9111 time="2026-09-17T09:53:33Z" msg="200 OK: GET https://127.0.0.1:35845/core/v4/events/latest" /client userID=34d26cfb-43b4-40b1-ae72-39eddeaa9111 time="2026-09-17T09:53:33Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:53:33Z" msg="200 OK: GET https://127.0.0.1:35845/core/v4/settings" /client userID=34d26cfb-43b4-40b1-ae72-39eddeaa9111 time="2026-09-17T09:53:33Z" msg="Registering user client, ID:34d26cfb-43b4-40b1-ae72-39eddeaa9111" time="2026-09-17T09:53:33Z" msg="Starting user identity service" numA time="2026-09-17T09:53:33Z" msg="Starting service main loop" time="2026-09-17T09:53:33Z" msg="Starting service main loop" time="2026-09-17T09:53:33Z" msg="Starting service main loop" time="2026-09-17T09:53:33Z" msg="200 OK: GET https://127.0.0.1:35845/core/v4/labels?T" /client userID=34d26cfb-43b4-40b1-ae72-39eddeaa9111 time="2026-09-17T09:53:33Z" msg="200 OK: GET https://127.0.0.1:35845/core/v4/labels?T" /client userID=34d26cfb-43b4-40b1-ae72-39eddeaa9111 time="2026-09-17T09:53:33Z" msg="200 OK: GET https://127.0.0.1:35845/core/v4/labels?T" /client userID=34d26cfb-43b4-40b1-ae72-39eddeaa9111 time="2026-09-17T09:53:33Z" msg="Setting labels" labelIDs="[7 9 10 5 6 8 12 0 1 2 3 4]" time="2026-09-17T09:53:33Z" msg="Adding user to imap server" addrID=629eec7f-239b-407b-bfe7-168c13e4fb81 time="2026-09-17T09:53:33Z" msg="Creating new IMAP user" addrID=629eec7f-239b-407b-bfe7-168c13e4fb81 time="2026-09-17T09:53:33Z" msg="Setting gluon ID" addrID=629eec7f-239b-407b-bfe7-168c13e4fb81 gluonID=6fad0b4d-fcdf-4863-97e0-06b4b9375653 userID=34d26cfb-43b4-40b1-ae72-39eddeaa9111 time="2026-09-17T09:53:33Z" msg="Received mailbox message count" gluonID=6fad0b4d-fcdf-4863-97e0-06b4b9375653 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:53:33Z" msg="Created new IMAP user" addrID=629eec7f-239b-407b-bfe7-168c13e4fb81 gluonID=6fad0b4d-fcdf-4863-97e0-06b4b9375653 time="2026-09-17T09:53:33Z" msg="Validating Listener State" time="2026-09-17T09:53:33Z" time="2026-09-17T09:53:33Z" msg="Checking whether logged in user should re-sync. UserID:34d26cfb-43b4-40b1-ae72-39eddeaa9111" userID=34d26cfb-43b4-40b1-ae72-39eddeaa9111 time="2026-09-17T09:53:33Z" msg="Starting IMAP Service" And the user logs in with username "e38e10e3-a67e-41f2-b5ea-62824e8e005b" and password "password" # :1 -> *scenario time="2026-09-17T09:53:33Z" msg="Sync triggered" time="2026-09-17T09:53:33Z" msg="Beginning user sync" start="2026-09-17 09:53:33.934100283 +0000 UTC m=+502.426402579" time="2026-09-17T09:53:33Z" msg="Syncing labels" time="2026-09-17T09:53:33Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=6fad0b4d-fcdf-4863-97e0-06b4b9375653 And user "e38e10e3-a67e-41f2-b5ea-62824e8e005b" connects and authenticates SMTP client "1" # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:53:33Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=6fad0b4d-fcdf-4863-97e0-06b4b9375653 time="2026-09-17T09:53:33Z" msg="Sending observability data." time="2026-09-17T09:53:33Z" msg="200 OK: GET https://127.0.0.1:35845/mail/v4/settings" /client userID=34d26cfb-43b4-40b1-ae72-39eddeaa9111 time="2026-09-17T09:53:33Z" msg="200 OK: POST https://127.0.0.1:35845/data/v1/metrics" /client userID=34d26cfb-43b4-40b1-ae72-39eddeaa9111 time="2026-09-17T09:53:33Z" msg="Successfully sent observability data." time="2026-09-17T09:53:33Z" msg="Mailbox created" /user remoteMailboxID=4 userID=6fad0b4d-fcdf-4863-97e0-06b4b9375653 time="2026-09-17T09:53:33Z" msg="Mailbox created" /user remoteMailboxID=7 userID=6fad0b4d-fcdf-4863-97e0-06b4b9375653 time="2026-09-17T09:53:33Z" msg="Mailbox created" /user remoteMailboxID=10 userID=6fad0b4d-fcdf-4863-97e0-06b4b9375653 time="2026-09-17T09:53:33Z" msg="Mailbox created" /user remoteMailboxID=5 userID=6fad0b4d-fcdf-4863-97e0-06b4b9375653 time="2026-09-17T09:53:33Z" msg="Mailbox created" /user remoteMailboxID=6 userID=6fad0b4d-fcdf-4863-97e0-06b4b9375653 time="2026-09-17T09:53:33Z" msg="Mailbox created" /user remoteMailboxID=0 userID=6fad0b4d-fcdf-4863-97e0-06b4b9375653 time="2026-09-17T09:53:33Z" msg="Mailbox created" /user remoteMailboxID=8 userID=6fad0b4d-fcdf-4863-97e0-06b4b9375653 time="2026-09-17T09:53:33Z" msg="Mailbox created" /user remoteMailboxID=12 userID=6fad0b4d-fcdf-4863-97e0-06b4b9375653 time="2026-09-17T09:53:33Z" msg="Mailbox created" /user remoteMailboxID=3 userID=6fad0b4d-fcdf-4863-97e0-06b4b9375653 time="2026-09-17T09:53:33Z" msg="Synced labels" time="2026-09-17T09:53:33Z" msg="200 OK: GET https://127.0.0.1:35845/mail/v4/messages/count" /client userID=34d26cfb-43b4-40b1-ae72-39eddeaa9111 time="2026-09-17T09:53:33Z" msg="Syncing messages" time="2026-09-17T09:53:33Z" msg="Job started" time="2026-09-17T09:53:33Z" msg="200 OK: POST https://127.0.0.1:35845/mail/v4/messages" /client userID=34d26cfb-43b4-40b1-ae72-39eddeaa9111 time="2026-09-17T09:53:33Z" msg="Job finished" time="2026-09-17T09:53:33Z" msg="All child jobs completed" sync- time="2026-09-17T09:53:33Z" msg="Synced messages" time="2026-09-17T09:53:33Z" msg="Finished user sync" .24197ms time="2026-09-17T09:53:33Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:53:33Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:53:33Z" msg="200 OK: POST https://127.0.0.1:35845/mail/v4/messages" /client userID=34d26cfb-43b4-40b1-ae72-39eddeaa9111 time="2026-09-17T09:53:33Z" msg="200 OK: GET https://127.0.0.1:35845/core/v4/keys?E%40proton.local" /client userID=34d26cfb-43b4-40b1-ae72-39eddeaa9111 time="2026-09-17T09:53:33Z" msg="200 OK: GET https://127.0.0.1:35845/contacts/v4/emails?E%40proton.local&P&PageS" /client userID=34d26cfb-43b4-40b1-ae72-39eddeaa9111 time="2026-09-17T09:53:33Z" msg="200 OK: POST https://127.0.0.1:35845/mail/v4/messages/c47690dd-2b0e-4191-b429-c30163091bf0" /client userID=34d26cfb-43b4-40b1-ae72-39eddeaa9111 time="2026-09-17T09:53:33Z" msg="Scheduling observability data sending" Scenario: Only from and to headers to internal account # features/smtp/send/plain.feature:12 When SMTP client "1" sends the following message from "e38e10e3-a67e-41f2-b5ea-62824e8e005b@proton.local" to "d099b348-4e07-4977-b22d-596157a82cbb@proton.local": # :1 -> *scenario """ From: Bridge Test <[user:user]@[domain]> To: Internal Bridge <[user:to]@[domain]> hello """ Then it succeeds # :1 -> *scenario When user "e38e10e3-a67e-41f2-b5ea-62824e8e005b" connects and authenticates IMAP client "1" # :1 -> *scenario time="2026-09-17T09:53:34Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 2} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:53:34Z" msg="200 OK: GET https://127.0.0.1:35845/core/v4/events/AA==" /client userID=34d26cfb-43b4-40b1-ae72-39eddeaa9111 time="2026-09-17T09:53:34Z" msg="Received new API event" new="Event BA==: messages: , , " old="AA==" time="2026-09-17T09:53:34Z" msg="Handling message created event" messageID=c47690dd-2b0e-4191-b429-c30163091bf0 subject="******** (e3b0c442)" time="2026-09-17T09:53:34Z" msg="200 OK: GET https://127.0.0.1:35845/mail/v4/messages/c47690dd-2b0e-4191-b429-c30163091bf0" /client userID=34d26cfb-43b4-40b1-ae72-39eddeaa9111 time="2026-09-17T09:53:34Z" msg="Handling draft or sent updated event" isD messageID=c47690dd-2b0e-4191-b429-c30163091bf0 subject="******** (e3b0c442)" time="2026-09-17T09:53:34Z" msg="200 OK: GET https://127.0.0.1:35845/mail/v4/messages/c47690dd-2b0e-4191-b429-c30163091bf0" /client userID=34d26cfb-43b4-40b1-ae72-39eddeaa9111 Then IMAP client "1" eventually sees the following messages in "Sent": # :1 -> *scenario | from | to | subject | | e38e10e3-a67e-41f2-b5ea-62824e8e005b@proton.local | d099b348-4e07-4977-b22d-596157a82cbb@proton.local | | time="2026-09-17T09:53:34Z" msg="Frontend service stopped" time="2026-09-17T09:53:34Z" msg="Frontend client stopped" time="2026-09-17T09:53:34Z" msg="Closing bridge" time="2026-09-17T09:53:34Z" msg="Stopping service" time="2026-09-17T09:53:34Z" msg="Closing user" userID=34d26cfb-43b4-40b1-ae72-39eddeaa9111 time="2026-09-17T09:53:34Z" msg="De-registering user client, ID:34d26cfb-43b4-40b1-ae72-39eddeaa9111" time="2026-09-17T09:53:34Z" msg="Exiting IMAP Service" time="2026-09-17T09:53:34Z" msg="Exiting service main loop" time="2026-09-17T09:53:34Z" msg="Exiting service main loop" time="2026-09-17T09:53:34Z" msg="Exiting Service" time="2026-09-17T09:53:34Z" msg="Exiting service main loop" time="2026-09-17T09:53:34Z" msg="Exiting service" time="2026-09-17T09:53:34Z" msg="Closing IMAP Listener" time="2026-09-17T09:53:34Z" msg="Closing IMAP server" time="2026-09-17T09:53:34Z" msg="Closing SMTP Listener" time="2026-09-17T09:53:34Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:53:34Z" msg="Closing SMTP server" time="2026-09-17T09:53:34Z" msg="Closing service" And the body in the "POST" request to "/mail/v4/messages" is: # :1 -> *scenario """ { "Message": { "Subject": "", "Sender": { "Name": "Bridge Test" }, "ToList": [ { "Address": "[user:to]@[domain]", "Name": "Internal Bridge" } ], "CCList": [], "BCCList": [], "MIMEType": "text/plain" } } """ time="2026-09-17T09:53:35Z" msg="User '8f0fc549-f925-477f-b358-e6aed1db9d43' created with " /server/backend time="2026-09-17T09:53:35Z" msg="User 'a3ec4816-886f-47b1-a766-9880b5dbf561' created with " /server/backend time="2026-09-17T09:53:36Z" msg="User '9a21571c-9b69-48c4-a310-35ff4fde714c' created with " /server/backend time="2026-09-17T09:53:36Z" msg="Starting bridge" time="2026-09-17T09:53:36Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/220/config655607469/grpcFocusServerConfig.json /service time="2026-09-17T09:53:36Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/220/cache2528144087/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:53:36Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/220/cache2528144087/notifications/notification_cache: no such file or directory" time="2026-09-17T09:53:36Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/220/data1439833375/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/220/data1439833375/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:53:36Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:53:36Z" msg="Starting IMAP server" time="2026-09-17T09:53:36Z" msg="Starting SMTP server" time="2026-09-17T09:53:36Z" msg="Starting service" time="2026-09-17T09:53:36Z" msg="Starting service" time="2026-09-17T09:53:36Z" msg="Starting poll service" time="2026-09-17T09:53:36Z" msg="Checking for updates" time="2026-09-17T09:53:36Z" msg="Starting receiver service" time="2026-09-17T09:53:36Z" msg="Starting frontend service" time="2026-09-17T09:53:36Z" msg="Loading users" /user time="2026-09-17T09:53:36Z" msg="Finished loading users" /user time="2026-09-17T09:53:36Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/220/config655607469/grpcServerConfig.json time="2026-09-17T09:53:36Z" msg="gRPC server listening on /tmp/bridge6231" time="2026-09-17T09:53:36Z" msg="Frontend service started" time="2026-09-17T09:53:36Z" msg="Starting frontend client" time="2026-09-17T09:53:36Z" msg="Not monitoring parent PID" time="2026-09-17T09:53:36Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:53:36Z" msg="200 OK: GET https://127.0.0.1:34183/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:53:36Z" msg="Frontend client started" time="2026-09-17T09:53:36Z" msg="Performing full user login" /user username="******** (cbfe278c)" time="2026-09-17T09:53:36Z" msg="Authorizing user for login" /user username="******** (cbfe278c)" time="2026-09-17T09:53:36Z" msg="200 OK: POST https://127.0.0.1:34183/auth/v4/info" /manager time="2026-09-17T09:53:37Z" msg="200 OK: POST https://127.0.0.1:34183/auth/v4" /manager time="2026-09-17T09:53:37Z" msg="Logging in authorized user" /user userID=af469552-0721-4f75-a715-f43c27838856 time="2026-09-17T09:53:37Z" msg="Adding vault user" userID=af469552-0721-4f75-a715-f43c27838856 time="2026-09-17T09:53:37Z" msg="Creating new user" userID=af469552-0721-4f75-a715-f43c27838856 time="2026-09-17T09:53:37Z" msg="404 GET https://127.0.0.1:34183/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:53:37Z" msg="404 GET https://127.0.0.1:34183/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:53:37Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:34183/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:53:37Z" msg="Creating user object" authUID=bde9136b-9db6-4868-81e5-84c357594ea3 numA numL userID=af469552-0721-4f75-a715-f43c27838856 time="2026-09-17T09:53:37Z" msg="200 OK: GET https://127.0.0.1:34183/core/v4/events/latest" /client userID=af469552-0721-4f75-a715-f43c27838856 time="2026-09-17T09:53:37Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:53:37Z" msg="200 OK: GET https://127.0.0.1:34183/core/v4/settings" /client userID=af469552-0721-4f75-a715-f43c27838856 time="2026-09-17T09:53:37Z" msg="Registering user client, ID:af469552-0721-4f75-a715-f43c27838856" time="2026-09-17T09:53:37Z" msg="Starting user identity service" numA time="2026-09-17T09:53:37Z" msg="Starting service main loop" time="2026-09-17T09:53:37Z" msg="Starting service main loop" time="2026-09-17T09:53:37Z" msg="Starting service main loop" time="2026-09-17T09:53:37Z" msg="200 OK: GET https://127.0.0.1:34183/core/v4/labels?T" /client userID=af469552-0721-4f75-a715-f43c27838856 time="2026-09-17T09:53:37Z" msg="200 OK: GET https://127.0.0.1:34183/core/v4/labels?T" /client userID=af469552-0721-4f75-a715-f43c27838856 time="2026-09-17T09:53:37Z" msg="200 OK: GET https://127.0.0.1:34183/core/v4/labels?T" /client userID=af469552-0721-4f75-a715-f43c27838856 time="2026-09-17T09:53:37Z" msg="Setting labels" labelIDs="[0 2 3 4 7 8 12 1 5 6 9 10]" time="2026-09-17T09:53:37Z" msg="Adding user to imap server" addrID=a0f4e64e-c035-4e20-b27f-ae4c5a0ea242 time="2026-09-17T09:53:37Z" msg="Creating new IMAP user" addrID=a0f4e64e-c035-4e20-b27f-ae4c5a0ea242 time="2026-09-17T09:53:37Z" msg="Setting gluon ID" addrID=a0f4e64e-c035-4e20-b27f-ae4c5a0ea242 gluonID=63b1e033-d9ee-4105-be3e-4350f0e3164d userID=af469552-0721-4f75-a715-f43c27838856 time="2026-09-17T09:53:37Z" msg="Received mailbox message count" gluonID=63b1e033-d9ee-4105-be3e-4350f0e3164d labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:53:37Z" msg="Created new IMAP user" addrID=a0f4e64e-c035-4e20-b27f-ae4c5a0ea242 gluonID=63b1e033-d9ee-4105-be3e-4350f0e3164d time="2026-09-17T09:53:37Z" msg="Validating Listener State" time="2026-09-17T09:53:37Z" time="2026-09-17T09:53:37Z" msg="Starting IMAP Service" time="2026-09-17T09:53:37Z" msg="Checking whether logged in user should re-sync. UserID:af469552-0721-4f75-a715-f43c27838856" userID=af469552-0721-4f75-a715-f43c27838856 time="2026-09-17T09:53:37Z" msg="Sync triggered" time="2026-09-17T09:53:37Z" msg="Beginning user sync" start="2026-09-17 09:53:37.281729405 +0000 UTC m=+505.774031701" time="2026-09-17T09:53:37Z" msg="Syncing labels" time="2026-09-17T09:53:37Z" msg="Sending observability data." time="2026-09-17T09:53:37Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=63b1e033-d9ee-4105-be3e-4350f0e3164d time="2026-09-17T09:53:37Z" msg="200 OK: GET https://127.0.0.1:34183/mail/v4/settings" /client userID=af469552-0721-4f75-a715-f43c27838856 time="2026-09-17T09:53:37Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=63b1e033-d9ee-4105-be3e-4350f0e3164d time="2026-09-17T09:53:37Z" msg="200 OK: POST https://127.0.0.1:34183/data/v1/metrics" /client userID=af469552-0721-4f75-a715-f43c27838856 time="2026-09-17T09:53:37Z" msg="Successfully sent observability data." time="2026-09-17T09:53:37Z" msg="Mailbox created" /user remoteMailboxID=0 userID=63b1e033-d9ee-4105-be3e-4350f0e3164d time="2026-09-17T09:53:37Z" msg="Mailbox created" /user remoteMailboxID=3 userID=63b1e033-d9ee-4105-be3e-4350f0e3164d time="2026-09-17T09:53:37Z" msg="Mailbox created" /user remoteMailboxID=7 userID=63b1e033-d9ee-4105-be3e-4350f0e3164d time="2026-09-17T09:53:37Z" msg="Mailbox created" /user remoteMailboxID=8 userID=63b1e033-d9ee-4105-be3e-4350f0e3164d time="2026-09-17T09:53:37Z" msg="Mailbox created" /user remoteMailboxID=5 userID=63b1e033-d9ee-4105-be3e-4350f0e3164d time="2026-09-17T09:53:37Z" msg="Mailbox created" /user remoteMailboxID=10 userID=63b1e033-d9ee-4105-be3e-4350f0e3164d time="2026-09-17T09:53:37Z" msg="Mailbox created" /user remoteMailboxID=4 userID=63b1e033-d9ee-4105-be3e-4350f0e3164d time="2026-09-17T09:53:37Z" msg="Mailbox created" /user remoteMailboxID=12 userID=63b1e033-d9ee-4105-be3e-4350f0e3164d time="2026-09-17T09:53:37Z" msg="Mailbox created" /user remoteMailboxID=6 userID=63b1e033-d9ee-4105-be3e-4350f0e3164d time="2026-09-17T09:53:37Z" msg="Synced labels" time="2026-09-17T09:53:37Z" msg="200 OK: GET https://127.0.0.1:34183/mail/v4/messages/count" /client userID=af469552-0721-4f75-a715-f43c27838856 time="2026-09-17T09:53:37Z" msg="Syncing messages" time="2026-09-17T09:53:37Z" msg="Job started" time="2026-09-17T09:53:37Z" msg="200 OK: POST https://127.0.0.1:34183/mail/v4/messages" /client userID=af469552-0721-4f75-a715-f43c27838856 time="2026-09-17T09:53:37Z" msg="Job finished" time="2026-09-17T09:53:37Z" msg="All child jobs completed" sync- time="2026-09-17T09:53:37Z" msg="Synced messages" time="2026-09-17T09:53:37Z" msg="Finished user sync" .861395ms time="2026-09-17T09:53:37Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:53:37Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:53:37Z" msg="200 OK: POST https://127.0.0.1:34183/mail/v4/messages" /client userID=af469552-0721-4f75-a715-f43c27838856 time="2026-09-17T09:53:37Z" msg="200 OK: GET https://127.0.0.1:34183/core/v4/keys?E.bridge.qa%40gmail.com" /client userID=af469552-0721-4f75-a715-f43c27838856 time="2026-09-17T09:53:37Z" msg="200 OK: GET https://127.0.0.1:34183/contacts/v4/emails?E.bridge.qa%40gmail.com&P&PageS" /client userID=af469552-0721-4f75-a715-f43c27838856 time="2026-09-17T09:53:37Z" msg="200 OK: POST https://127.0.0.1:34183/mail/v4/messages/32c861fb-9bae-40fc-b3f1-5858612d7987" /client userID=af469552-0721-4f75-a715-f43c27838856 time="2026-09-17T09:53:37Z" msg="Scheduling observability data sending" Scenario: Only from and to headers to external account # features/smtp/send/plain.feature:47 When SMTP client "1" sends the following message from "8f0fc549-f925-477f-b358-e6aed1db9d43@proton.local" to "pm.bridge.qa@gmail.com": # :1 -> *scenario """ From: Bridge Test <[user:user]@[domain]> To: External Bridge hello """ Then it succeeds # :1 -> *scenario When user "8f0fc549-f925-477f-b358-e6aed1db9d43" connects and authenticates IMAP client "1" # :1 -> *scenario time="2026-09-17T09:53:37Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 6} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:53:38Z" msg="200 OK: GET https://127.0.0.1:34183/core/v4/events/AA==" /client userID=af469552-0721-4f75-a715-f43c27838856 time="2026-09-17T09:53:38Z" msg="Received new API event" new="Event BA==: messages: , , " old="AA==" time="2026-09-17T09:53:38Z" msg="Handling message created event" messageID=32c861fb-9bae-40fc-b3f1-5858612d7987 subject="******** (e3b0c442)" time="2026-09-17T09:53:38Z" msg="200 OK: GET https://127.0.0.1:34183/mail/v4/messages/32c861fb-9bae-40fc-b3f1-5858612d7987" /client userID=af469552-0721-4f75-a715-f43c27838856 time="2026-09-17T09:53:38Z" msg="Handling draft or sent updated event" isD messageID=32c861fb-9bae-40fc-b3f1-5858612d7987 subject="******** (e3b0c442)" time="2026-09-17T09:53:38Z" msg="200 OK: GET https://127.0.0.1:34183/mail/v4/messages/32c861fb-9bae-40fc-b3f1-5858612d7987" /client userID=af469552-0721-4f75-a715-f43c27838856 Then IMAP client "1" eventually sees the following messages in "Sent": # :1 -> *scenario | from | to | subject | | 8f0fc549-f925-477f-b358-e6aed1db9d43@proton.local | pm.bridge.qa@gmail.com | | time="2026-09-17T09:53:38Z" msg="Frontend service stopped" time="2026-09-17T09:53:38Z" msg="Frontend client stopped" time="2026-09-17T09:53:38Z" msg="Closing bridge" time="2026-09-17T09:53:38Z" msg="Stopping service" time="2026-09-17T09:53:38Z" msg="Closing user" userID=af469552-0721-4f75-a715-f43c27838856 time="2026-09-17T09:53:38Z" msg="De-registering user client, ID:af469552-0721-4f75-a715-f43c27838856" time="2026-09-17T09:53:38Z" msg="Exiting IMAP Service" time="2026-09-17T09:53:38Z" msg="Exiting service main loop" time="2026-09-17T09:53:38Z" msg="Exiting service main loop" time="2026-09-17T09:53:38Z" msg="Exiting Service" time="2026-09-17T09:53:38Z" msg="Exiting service main loop" time="2026-09-17T09:53:38Z" msg="Exiting service" time="2026-09-17T09:53:38Z" msg="Closing IMAP Listener" time="2026-09-17T09:53:38Z" msg="Closing IMAP server" time="2026-09-17T09:53:38Z" msg="Closing SMTP Listener" time="2026-09-17T09:53:38Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:53:38Z" msg="Closing SMTP server" time="2026-09-17T09:53:38Z" msg="Closing service" And the body in the "POST" request to "/mail/v4/messages" is: # :1 -> *scenario """ { "Message": { "Subject": "", "Sender": { "Name": "Bridge Test" }, "ToList": [ { "Address": "pm.bridge.qa@gmail.com", "Name": "External Bridge" } ], "CCList": [], "BCCList": [], "MIMEType": "text/plain" } } """ time="2026-09-17T09:53:38Z" msg="User 'd77efb32-dd62-400c-a033-bedce83b9a0e' created with " /server/backend time="2026-09-17T09:53:39Z" msg="User '42f0c0a3-e88c-46cb-aa3b-8b5990e36e70' created with " /server/backend time="2026-09-17T09:53:39Z" msg="User '2d7ccf80-0d80-451a-a01c-5e08f1778311' created with " /server/backend time="2026-09-17T09:53:40Z" msg="Starting bridge" time="2026-09-17T09:53:40Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/221/config3729077811/grpcFocusServerConfig.json /service time="2026-09-17T09:53:40Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/221/cache1195486576/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:53:40Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/221/cache1195486576/notifications/notification_cache: no such file or directory" time="2026-09-17T09:53:40Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/221/data2374465499/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/221/data2374465499/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:53:40Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:53:40Z" msg="Starting IMAP server" time="2026-09-17T09:53:40Z" msg="Starting SMTP server" time="2026-09-17T09:53:40Z" msg="Starting service" time="2026-09-17T09:53:40Z" msg="Starting service" time="2026-09-17T09:53:40Z" msg="Starting frontend service" time="2026-09-17T09:53:40Z" msg="Starting receiver service" time="2026-09-17T09:53:40Z" msg="Checking for updates" time="2026-09-17T09:53:40Z" msg="Loading users" /user time="2026-09-17T09:53:40Z" msg="Starting poll service" time="2026-09-17T09:53:40Z" msg="Finished loading users" /user time="2026-09-17T09:53:40Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/221/config3729077811/grpcServerConfig.json time="2026-09-17T09:53:40Z" msg="gRPC server listening on /tmp/bridge2314" time="2026-09-17T09:53:40Z" msg="Frontend service started" time="2026-09-17T09:53:40Z" msg="Starting frontend client" time="2026-09-17T09:53:40Z" msg="Not monitoring parent PID" time="2026-09-17T09:53:40Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:53:40Z" msg="200 OK: GET https://127.0.0.1:41331/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:53:40Z" msg="Frontend client started" time="2026-09-17T09:53:40Z" msg="Performing full user login" /user username="******** (a6816ee0)" time="2026-09-17T09:53:40Z" msg="Authorizing user for login" /user username="******** (a6816ee0)" time="2026-09-17T09:53:40Z" msg="200 OK: POST https://127.0.0.1:41331/auth/v4/info" /manager time="2026-09-17T09:53:40Z" msg="200 OK: POST https://127.0.0.1:41331/auth/v4" /manager time="2026-09-17T09:53:40Z" msg="Logging in authorized user" /user userID=6884bfed-5b1f-4c62-bebf-3383f09ee474 time="2026-09-17T09:53:40Z" msg="Adding vault user" userID=6884bfed-5b1f-4c62-bebf-3383f09ee474 time="2026-09-17T09:53:40Z" msg="Creating new user" userID=6884bfed-5b1f-4c62-bebf-3383f09ee474 time="2026-09-17T09:53:40Z" msg="404 GET https://127.0.0.1:41331/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:53:40Z" msg="404 GET https://127.0.0.1:41331/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:53:40Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:41331/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:53:40Z" msg="Creating user object" authUID=2049a887-b3c3-4518-abe7-49005b7c94ed numA numL userID=6884bfed-5b1f-4c62-bebf-3383f09ee474 time="2026-09-17T09:53:40Z" msg="200 OK: GET https://127.0.0.1:41331/core/v4/events/latest" /client userID=6884bfed-5b1f-4c62-bebf-3383f09ee474 time="2026-09-17T09:53:40Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:53:40Z" msg="200 OK: GET https://127.0.0.1:41331/core/v4/settings" /client userID=6884bfed-5b1f-4c62-bebf-3383f09ee474 time="2026-09-17T09:53:40Z" msg="Registering user client, ID:6884bfed-5b1f-4c62-bebf-3383f09ee474" time="2026-09-17T09:53:40Z" msg="Starting service main loop" time="2026-09-17T09:53:40Z" msg="Starting user identity service" numA time="2026-09-17T09:53:40Z" msg="Starting service main loop" time="2026-09-17T09:53:40Z" msg="Starting service main loop" time="2026-09-17T09:53:40Z" msg="200 OK: GET https://127.0.0.1:41331/core/v4/labels?T" /client userID=6884bfed-5b1f-4c62-bebf-3383f09ee474 time="2026-09-17T09:53:40Z" msg="200 OK: GET https://127.0.0.1:41331/core/v4/labels?T" /client userID=6884bfed-5b1f-4c62-bebf-3383f09ee474 time="2026-09-17T09:53:40Z" msg="200 OK: GET https://127.0.0.1:41331/core/v4/labels?T" /client userID=6884bfed-5b1f-4c62-bebf-3383f09ee474 time="2026-09-17T09:53:40Z" msg="Setting labels" labelIDs="[8 10 12 1 2 5 6 7 9 0 3 4]" time="2026-09-17T09:53:40Z" msg="Adding user to imap server" addrID=fced25e1-e5fb-44d8-bd0f-af40b0c7a142 time="2026-09-17T09:53:40Z" msg="Creating new IMAP user" addrID=fced25e1-e5fb-44d8-bd0f-af40b0c7a142 time="2026-09-17T09:53:40Z" msg="Setting gluon ID" addrID=fced25e1-e5fb-44d8-bd0f-af40b0c7a142 gluonID=8791ecd8-04ba-4f87-8e1e-1d73dccaa410 userID=6884bfed-5b1f-4c62-bebf-3383f09ee474 time="2026-09-17T09:53:40Z" msg="Received mailbox message count" gluonID=8791ecd8-04ba-4f87-8e1e-1d73dccaa410 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:53:40Z" msg="Created new IMAP user" addrID=fced25e1-e5fb-44d8-bd0f-af40b0c7a142 gluonID=8791ecd8-04ba-4f87-8e1e-1d73dccaa410 time="2026-09-17T09:53:40Z" msg="Validating Listener State" time="2026-09-17T09:53:40Z" time="2026-09-17T09:53:40Z" msg="Checking whether logged in user should re-sync. UserID:6884bfed-5b1f-4c62-bebf-3383f09ee474" userID=6884bfed-5b1f-4c62-bebf-3383f09ee474 time="2026-09-17T09:53:40Z" msg="Starting IMAP Service" time="2026-09-17T09:53:40Z" msg="Sync triggered" time="2026-09-17T09:53:40Z" msg="Beginning user sync" start="2026-09-17 09:53:40.63207206 +0000 UTC m=+509.124374356" time="2026-09-17T09:53:40Z" msg="Syncing labels" time="2026-09-17T09:53:40Z" msg="Sending observability data." time="2026-09-17T09:53:40Z" msg="200 OK: POST https://127.0.0.1:41331/data/v1/metrics" /client userID=6884bfed-5b1f-4c62-bebf-3383f09ee474 time="2026-09-17T09:53:40Z" msg="Successfully sent observability data." time="2026-09-17T09:53:40Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=8791ecd8-04ba-4f87-8e1e-1d73dccaa410 time="2026-09-17T09:53:40Z" msg="200 OK: GET https://127.0.0.1:41331/mail/v4/settings" /client userID=6884bfed-5b1f-4c62-bebf-3383f09ee474 time="2026-09-17T09:53:40Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=8791ecd8-04ba-4f87-8e1e-1d73dccaa410 time="2026-09-17T09:53:40Z" msg="Mailbox created" /user remoteMailboxID=3 userID=8791ecd8-04ba-4f87-8e1e-1d73dccaa410 time="2026-09-17T09:53:40Z" msg="Mailbox created" /user remoteMailboxID=4 userID=8791ecd8-04ba-4f87-8e1e-1d73dccaa410 time="2026-09-17T09:53:40Z" msg="Mailbox created" /user remoteMailboxID=10 userID=8791ecd8-04ba-4f87-8e1e-1d73dccaa410 time="2026-09-17T09:53:40Z" msg="Mailbox created" /user remoteMailboxID=12 userID=8791ecd8-04ba-4f87-8e1e-1d73dccaa410 time="2026-09-17T09:53:40Z" msg="Mailbox created" /user remoteMailboxID=5 userID=8791ecd8-04ba-4f87-8e1e-1d73dccaa410 time="2026-09-17T09:53:40Z" msg="Mailbox created" /user remoteMailboxID=6 userID=8791ecd8-04ba-4f87-8e1e-1d73dccaa410 time="2026-09-17T09:53:40Z" msg="Mailbox created" /user remoteMailboxID=7 userID=8791ecd8-04ba-4f87-8e1e-1d73dccaa410 time="2026-09-17T09:53:40Z" msg="Mailbox created" /user remoteMailboxID=0 userID=8791ecd8-04ba-4f87-8e1e-1d73dccaa410 time="2026-09-17T09:53:40Z" msg="Mailbox created" /user remoteMailboxID=8 userID=8791ecd8-04ba-4f87-8e1e-1d73dccaa410 time="2026-09-17T09:53:40Z" msg="Synced labels" time="2026-09-17T09:53:40Z" msg="200 OK: GET https://127.0.0.1:41331/mail/v4/messages/count" /client userID=6884bfed-5b1f-4c62-bebf-3383f09ee474 time="2026-09-17T09:53:40Z" msg="Syncing messages" time="2026-09-17T09:53:40Z" msg="Job started" time="2026-09-17T09:53:40Z" msg="200 OK: POST https://127.0.0.1:41331/mail/v4/messages" /client userID=6884bfed-5b1f-4c62-bebf-3383f09ee474 time="2026-09-17T09:53:40Z" msg="Job finished" time="2026-09-17T09:53:40Z" msg="All child jobs completed" sync- time="2026-09-17T09:53:40Z" msg="Synced messages" time="2026-09-17T09:53:40Z" msg="Finished user sync" .408563ms time="2026-09-17T09:53:40Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:53:40Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:53:40Z" msg="200 OK: POST https://127.0.0.1:41331/mail/v4/messages" /client userID=6884bfed-5b1f-4c62-bebf-3383f09ee474 time="2026-09-17T09:53:40Z" msg="200 OK: GET https://127.0.0.1:41331/core/v4/keys?E%40proton.local" /client userID=6884bfed-5b1f-4c62-bebf-3383f09ee474 time="2026-09-17T09:53:40Z" msg="200 OK: GET https://127.0.0.1:41331/contacts/v4/emails?E%40proton.local&P&PageS" /client userID=6884bfed-5b1f-4c62-bebf-3383f09ee474 time="2026-09-17T09:53:40Z" msg="200 OK: POST https://127.0.0.1:41331/mail/v4/messages/d6f435cf-2ccb-4086-bbd3-0aff896a1850" /client userID=6884bfed-5b1f-4c62-bebf-3383f09ee474 time="2026-09-17T09:53:40Z" msg="Scheduling observability data sending" Scenario: Basic message to internal account # features/smtp/send/plain.feature:82 When SMTP client "1" sends the following message from "d77efb32-dd62-400c-a033-bedce83b9a0e@proton.local" to "42f0c0a3-e88c-46cb-aa3b-8b5990e36e70@proton.local": # :1 -> *scenario """ From: Bridge Test <[user:user]@[domain]> To: Internal Bridge <[user:to]@[domain]> Subject: Plain text internal Content-Disposition: inline Content-Type: text/plain; This is body of mail 👋 """ Then it succeeds # :1 -> *scenario When user "d77efb32-dd62-400c-a033-bedce83b9a0e" connects and authenticates IMAP client "1" # :1 -> *scenario time="2026-09-17T09:53:40Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 1} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:53:41Z" msg="200 OK: GET https://127.0.0.1:41331/core/v4/events/AA==" /client userID=6884bfed-5b1f-4c62-bebf-3383f09ee474 time="2026-09-17T09:53:41Z" msg="Received new API event" new="Event BA==: messages: , , " old="AA==" time="2026-09-17T09:53:41Z" msg="Handling message created event" messageID=d6f435cf-2ccb-4086-bbd3-0aff896a1850 subject="******** (0729a1a1)" time="2026-09-17T09:53:41Z" msg="200 OK: GET https://127.0.0.1:41331/mail/v4/messages/d6f435cf-2ccb-4086-bbd3-0aff896a1850" /client userID=6884bfed-5b1f-4c62-bebf-3383f09ee474 time="2026-09-17T09:53:41Z" msg="Handling draft or sent updated event" isD messageID=d6f435cf-2ccb-4086-bbd3-0aff896a1850 subject="******** (0729a1a1)" time="2026-09-17T09:53:41Z" msg="200 OK: GET https://127.0.0.1:41331/mail/v4/messages/d6f435cf-2ccb-4086-bbd3-0aff896a1850" /client userID=6884bfed-5b1f-4c62-bebf-3383f09ee474 Then IMAP client "1" eventually sees the following messages in "Sent": # :1 -> *scenario | from | to | subject | | d77efb32-dd62-400c-a033-bedce83b9a0e@proton.local | 42f0c0a3-e88c-46cb-aa3b-8b5990e36e70@proton.local | Plain text internal | time="2026-09-17T09:53:41Z" msg="Frontend service stopped" time="2026-09-17T09:53:41Z" msg="Frontend client stopped" time="2026-09-17T09:53:41Z" msg="Closing bridge" time="2026-09-17T09:53:41Z" msg="Stopping service" time="2026-09-17T09:53:41Z" msg="Closing user" userID=6884bfed-5b1f-4c62-bebf-3383f09ee474 time="2026-09-17T09:53:41Z" msg="De-registering user client, ID:6884bfed-5b1f-4c62-bebf-3383f09ee474" time="2026-09-17T09:53:41Z" msg="Exiting IMAP Service" time="2026-09-17T09:53:41Z" msg="Exiting service main loop" time="2026-09-17T09:53:41Z" msg="Exiting service main loop" time="2026-09-17T09:53:41Z" msg="Exiting Service" time="2026-09-17T09:53:41Z" msg="Exiting service main loop" time="2026-09-17T09:53:41Z" msg="Exiting service" time="2026-09-17T09:53:41Z" msg="Closing IMAP Listener" time="2026-09-17T09:53:41Z" msg="Closing IMAP server" time="2026-09-17T09:53:41Z" msg="Closing SMTP Listener" time="2026-09-17T09:53:41Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:53:41Z" msg="Closing SMTP server" time="2026-09-17T09:53:41Z" msg="Closing service" And the body in the "POST" request to "/mail/v4/messages" is: # :1 -> *scenario """ { "Message": { "Subject": "Plain text internal", "Sender": { "Name": "Bridge Test" }, "ToList": [ { "Address": "[user:to]@[domain]", "Name": "Internal Bridge" } ], "CCList": [], "BCCList": [], "MIMEType": "text/plain" } } """ time="2026-09-17T09:53:41Z" msg="User 'bd900dfa-fb48-4b69-a8e0-6d5e82a70dea' created with " /server/backend time="2026-09-17T09:53:42Z" msg="User '208f050c-b7cd-467c-8908-7eff67bfb273' created with " /server/backend time="2026-09-17T09:53:43Z" msg="User 'bbf32199-935f-44a5-b17c-915703090b0a' created with " /server/backend time="2026-09-17T09:53:43Z" msg="Starting bridge" time="2026-09-17T09:53:43Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/222/config4110869685/grpcFocusServerConfig.json /service time="2026-09-17T09:53:43Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/222/cache644032694/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:53:43Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/222/cache644032694/notifications/notification_cache: no such file or directory" time="2026-09-17T09:53:43Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/222/data2479870702/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/222/data2479870702/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:53:43Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:53:43Z" msg="Starting IMAP server" time="2026-09-17T09:53:43Z" msg="Starting SMTP server" time="2026-09-17T09:53:43Z" msg="Starting service" time="2026-09-17T09:53:43Z" msg="Starting service" time="2026-09-17T09:53:43Z" msg="Starting poll service" time="2026-09-17T09:53:43Z" msg="Loading users" /user time="2026-09-17T09:53:43Z" msg="Starting frontend service" time="2026-09-17T09:53:43Z" msg="Finished loading users" /user time="2026-09-17T09:53:43Z" msg="Checking for updates" time="2026-09-17T09:53:43Z" msg="Starting receiver service" time="2026-09-17T09:53:43Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/222/config4110869685/grpcServerConfig.json time="2026-09-17T09:53:43Z" msg="gRPC server listening on /tmp/bridge8194" time="2026-09-17T09:53:43Z" msg="Frontend service started" time="2026-09-17T09:53:43Z" msg="Starting frontend client" time="2026-09-17T09:53:43Z" msg="Not monitoring parent PID" time="2026-09-17T09:53:43Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:53:43Z" msg="Frontend client started" time="2026-09-17T09:53:43Z" msg="Performing full user login" /user username="******** (a8a01c9b)" time="2026-09-17T09:53:43Z" msg="Authorizing user for login" /user username="******** (a8a01c9b)" time="2026-09-17T09:53:43Z" msg="200 OK: GET https://127.0.0.1:37105/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:53:43Z" msg="200 OK: POST https://127.0.0.1:37105/auth/v4/info" /manager time="2026-09-17T09:53:43Z" msg="200 OK: POST https://127.0.0.1:37105/auth/v4" /manager time="2026-09-17T09:53:43Z" msg="Logging in authorized user" /user userID=2a4d8d68-2ac8-417e-a1d4-b0a402b88eee time="2026-09-17T09:53:43Z" msg="Adding vault user" userID=2a4d8d68-2ac8-417e-a1d4-b0a402b88eee time="2026-09-17T09:53:43Z" msg="Creating new user" userID=2a4d8d68-2ac8-417e-a1d4-b0a402b88eee time="2026-09-17T09:53:43Z" msg="404 GET https://127.0.0.1:37105/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:53:43Z" msg="404 GET https://127.0.0.1:37105/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:53:43Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:37105/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:53:43Z" msg="Creating user object" authUID=6ef93565-f9f6-4785-b888-830600f89658 numA numL userID=2a4d8d68-2ac8-417e-a1d4-b0a402b88eee time="2026-09-17T09:53:43Z" msg="200 OK: GET https://127.0.0.1:37105/core/v4/events/latest" /client userID=2a4d8d68-2ac8-417e-a1d4-b0a402b88eee time="2026-09-17T09:53:43Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:53:43Z" msg="200 OK: GET https://127.0.0.1:37105/core/v4/settings" /client userID=2a4d8d68-2ac8-417e-a1d4-b0a402b88eee time="2026-09-17T09:53:43Z" msg="Registering user client, ID:2a4d8d68-2ac8-417e-a1d4-b0a402b88eee" time="2026-09-17T09:53:43Z" msg="Starting user identity service" numA time="2026-09-17T09:53:43Z" msg="Starting service main loop" time="2026-09-17T09:53:43Z" msg="Starting service main loop" time="2026-09-17T09:53:43Z" msg="Starting service main loop" time="2026-09-17T09:53:43Z" msg="200 OK: GET https://127.0.0.1:37105/core/v4/labels?T" /client userID=2a4d8d68-2ac8-417e-a1d4-b0a402b88eee time="2026-09-17T09:53:43Z" msg="200 OK: GET https://127.0.0.1:37105/core/v4/labels?T" /client userID=2a4d8d68-2ac8-417e-a1d4-b0a402b88eee time="2026-09-17T09:53:43Z" msg="200 OK: GET https://127.0.0.1:37105/core/v4/labels?T" /client userID=2a4d8d68-2ac8-417e-a1d4-b0a402b88eee time="2026-09-17T09:53:43Z" msg="Setting labels" labelIDs="[0 1 3 4 7 12 2 5 6 8 9 10]" time="2026-09-17T09:53:43Z" msg="Adding user to imap server" addrID=fc9d1028-832d-4700-832f-dff4b891aa5e time="2026-09-17T09:53:43Z" msg="Creating new IMAP user" addrID=fc9d1028-832d-4700-832f-dff4b891aa5e time="2026-09-17T09:53:43Z" msg="Setting gluon ID" addrID=fc9d1028-832d-4700-832f-dff4b891aa5e gluonID=ade9af67-13ee-4ed6-a80e-054a185d0931 userID=2a4d8d68-2ac8-417e-a1d4-b0a402b88eee time="2026-09-17T09:53:43Z" msg="Received mailbox message count" gluonID=ade9af67-13ee-4ed6-a80e-054a185d0931 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:53:43Z" msg="Created new IMAP user" addrID=fc9d1028-832d-4700-832f-dff4b891aa5e gluonID=ade9af67-13ee-4ed6-a80e-054a185d0931 time="2026-09-17T09:53:43Z" msg="Validating Listener State" time="2026-09-17T09:53:43Z" time="2026-09-17T09:53:43Z" msg="Starting IMAP Service" time="2026-09-17T09:53:43Z" msg="Checking whether logged in user should re-sync. UserID:2a4d8d68-2ac8-417e-a1d4-b0a402b88eee" userID=2a4d8d68-2ac8-417e-a1d4-b0a402b88eee time="2026-09-17T09:53:43Z" msg="Sync triggered" time="2026-09-17T09:53:43Z" msg="Beginning user sync" start="2026-09-17 09:53:43.977071694 +0000 UTC m=+512.469373990" time="2026-09-17T09:53:43Z" msg="Syncing labels" time="2026-09-17T09:53:43Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=ade9af67-13ee-4ed6-a80e-054a185d0931 time="2026-09-17T09:53:43Z" msg="Sending observability data." time="2026-09-17T09:53:43Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=ade9af67-13ee-4ed6-a80e-054a185d0931 time="2026-09-17T09:53:43Z" msg="200 OK: POST https://127.0.0.1:37105/data/v1/metrics" /client userID=2a4d8d68-2ac8-417e-a1d4-b0a402b88eee time="2026-09-17T09:53:43Z" msg="Successfully sent observability data." time="2026-09-17T09:53:43Z" msg="200 OK: GET https://127.0.0.1:37105/mail/v4/settings" /client userID=2a4d8d68-2ac8-417e-a1d4-b0a402b88eee time="2026-09-17T09:53:43Z" msg="Mailbox created" /user remoteMailboxID=12 userID=ade9af67-13ee-4ed6-a80e-054a185d0931 time="2026-09-17T09:53:43Z" msg="Mailbox created" /user remoteMailboxID=5 userID=ade9af67-13ee-4ed6-a80e-054a185d0931 time="2026-09-17T09:53:43Z" msg="Mailbox created" /user remoteMailboxID=6 userID=ade9af67-13ee-4ed6-a80e-054a185d0931 time="2026-09-17T09:53:43Z" msg="Mailbox created" /user remoteMailboxID=8 userID=ade9af67-13ee-4ed6-a80e-054a185d0931 time="2026-09-17T09:53:43Z" msg="Mailbox created" /user remoteMailboxID=10 userID=ade9af67-13ee-4ed6-a80e-054a185d0931 time="2026-09-17T09:53:43Z" msg="Mailbox created" /user remoteMailboxID=0 userID=ade9af67-13ee-4ed6-a80e-054a185d0931 time="2026-09-17T09:53:43Z" msg="Mailbox created" /user remoteMailboxID=3 userID=ade9af67-13ee-4ed6-a80e-054a185d0931 time="2026-09-17T09:53:43Z" msg="Mailbox created" /user remoteMailboxID=4 userID=ade9af67-13ee-4ed6-a80e-054a185d0931 time="2026-09-17T09:53:43Z" msg="Mailbox created" /user remoteMailboxID=7 userID=ade9af67-13ee-4ed6-a80e-054a185d0931 time="2026-09-17T09:53:43Z" msg="Synced labels" time="2026-09-17T09:53:43Z" msg="200 OK: GET https://127.0.0.1:37105/mail/v4/messages/count" /client userID=2a4d8d68-2ac8-417e-a1d4-b0a402b88eee time="2026-09-17T09:53:43Z" msg="Syncing messages" time="2026-09-17T09:53:43Z" msg="Job started" time="2026-09-17T09:53:43Z" msg="200 OK: POST https://127.0.0.1:37105/mail/v4/messages" /client userID=2a4d8d68-2ac8-417e-a1d4-b0a402b88eee time="2026-09-17T09:53:43Z" msg="Job finished" time="2026-09-17T09:53:43Z" msg="All child jobs completed" sync- time="2026-09-17T09:53:43Z" msg="Synced messages" time="2026-09-17T09:53:43Z" msg="Finished user sync" .102752ms time="2026-09-17T09:53:43Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:53:43Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:53:43Z" msg="200 OK: POST https://127.0.0.1:37105/mail/v4/messages" /client userID=2a4d8d68-2ac8-417e-a1d4-b0a402b88eee time="2026-09-17T09:53:43Z" msg="200 OK: GET https://127.0.0.1:37105/core/v4/keys?E.bridge.qa%40gmail.com" /client userID=2a4d8d68-2ac8-417e-a1d4-b0a402b88eee time="2026-09-17T09:53:43Z" msg="200 OK: GET https://127.0.0.1:37105/contacts/v4/emails?E.bridge.qa%40gmail.com&P&PageS" /client userID=2a4d8d68-2ac8-417e-a1d4-b0a402b88eee time="2026-09-17T09:53:43Z" msg="200 OK: POST https://127.0.0.1:37105/mail/v4/messages/e7332148-070e-4443-9fe5-84cf5ba0ecf5" /client userID=2a4d8d68-2ac8-417e-a1d4-b0a402b88eee time="2026-09-17T09:53:43Z" msg="Scheduling observability data sending" Scenario: Basic message to external account # features/smtp/send/plain.feature:120 When SMTP client "1" sends the following message from "bd900dfa-fb48-4b69-a8e0-6d5e82a70dea@proton.local" to "pm.bridge.qa@gmail.com": # :1 -> *scenario """ From: Bridge Test <[user:user]@[domain]> To: External Bridge Subject: Plain text external Content-Disposition: inline Content-Type: text/plain; This is body of mail 👋 """ Then it succeeds # :1 -> *scenario When user "bd900dfa-fb48-4b69-a8e0-6d5e82a70dea" connects and authenticates IMAP client "1" # :1 -> *scenario time="2026-09-17T09:53:44Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 2} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:53:44Z" msg="200 OK: GET https://127.0.0.1:37105/core/v4/events/AA==" /client userID=2a4d8d68-2ac8-417e-a1d4-b0a402b88eee time="2026-09-17T09:53:44Z" msg="Received new API event" new="Event BA==: messages: , , " old="AA==" time="2026-09-17T09:53:44Z" msg="Handling message created event" messageID=e7332148-070e-4443-9fe5-84cf5ba0ecf5 subject="******** (0c301b9a)" time="2026-09-17T09:53:44Z" msg="200 OK: GET https://127.0.0.1:37105/mail/v4/messages/e7332148-070e-4443-9fe5-84cf5ba0ecf5" /client userID=2a4d8d68-2ac8-417e-a1d4-b0a402b88eee time="2026-09-17T09:53:44Z" msg="Handling draft or sent updated event" isD messageID=e7332148-070e-4443-9fe5-84cf5ba0ecf5 subject="******** (0c301b9a)" time="2026-09-17T09:53:44Z" msg="200 OK: GET https://127.0.0.1:37105/mail/v4/messages/e7332148-070e-4443-9fe5-84cf5ba0ecf5" /client userID=2a4d8d68-2ac8-417e-a1d4-b0a402b88eee Then IMAP client "1" eventually sees the following messages in "Sent": # :1 -> *scenario | from | to | subject | | bd900dfa-fb48-4b69-a8e0-6d5e82a70dea@proton.local | pm.bridge.qa@gmail.com | Plain text external | time="2026-09-17T09:53:45Z" msg="Frontend service stopped" time="2026-09-17T09:53:45Z" msg="Frontend client stopped" time="2026-09-17T09:53:45Z" msg="Closing bridge" time="2026-09-17T09:53:45Z" msg="Stopping service" time="2026-09-17T09:53:45Z" msg="Closing user" userID=2a4d8d68-2ac8-417e-a1d4-b0a402b88eee time="2026-09-17T09:53:45Z" msg="De-registering user client, ID:2a4d8d68-2ac8-417e-a1d4-b0a402b88eee" time="2026-09-17T09:53:45Z" msg="Exiting IMAP Service" time="2026-09-17T09:53:45Z" msg="Exiting service main loop" time="2026-09-17T09:53:45Z" msg="Exiting service main loop" time="2026-09-17T09:53:45Z" msg="Exiting Service" time="2026-09-17T09:53:45Z" msg="Exiting service main loop" time="2026-09-17T09:53:45Z" msg="Exiting service" time="2026-09-17T09:53:45Z" msg="Closing IMAP Listener" time="2026-09-17T09:53:45Z" msg="Closing IMAP server" time="2026-09-17T09:53:45Z" msg="Closing SMTP Listener" time="2026-09-17T09:53:45Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:53:45Z" msg="Closing SMTP server" time="2026-09-17T09:53:45Z" msg="Closing service" And the body in the "POST" request to "/mail/v4/messages" is: # :1 -> *scenario """ { "Message": { "Subject": "Plain text external", "Sender": { "Name": "Bridge Test" }, "ToList": [ { "Address": "pm.bridge.qa@gmail.com", "Name": "External Bridge" } ], "CCList": [], "BCCList": [], "MIMEType": "text/plain" } } """ time="2026-09-17T09:53:45Z" msg="User '8b985dd5-1c16-410b-94ab-5bcba61b7ade' created with " /server/backend time="2026-09-17T09:53:45Z" msg="User 'cd391e60-7212-43da-bbf4-065a93e9e84b' created with " /server/backend time="2026-09-17T09:53:46Z" msg="User 'f4601424-ceb0-4159-8f5d-d32907c780a0' created with " /server/backend time="2026-09-17T09:53:46Z" msg="Starting bridge" time="2026-09-17T09:53:46Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/223/config605021429/grpcFocusServerConfig.json /service time="2026-09-17T09:53:46Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/223/cache313635491/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:53:46Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/223/cache313635491/notifications/notification_cache: no such file or directory" time="2026-09-17T09:53:46Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/223/data2055895378/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/223/data2055895378/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:53:46Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:53:46Z" msg="Starting IMAP server" time="2026-09-17T09:53:46Z" msg="Starting SMTP server" time="2026-09-17T09:53:46Z" msg="Starting service" time="2026-09-17T09:53:46Z" msg="Starting service" time="2026-09-17T09:53:46Z" msg="Starting frontend service" time="2026-09-17T09:53:46Z" msg="Starting poll service" time="2026-09-17T09:53:46Z" msg="Loading users" /user time="2026-09-17T09:53:46Z" msg="Finished loading users" /user time="2026-09-17T09:53:46Z" msg="Starting receiver service" time="2026-09-17T09:53:46Z" msg="Checking for updates" time="2026-09-17T09:53:46Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/223/config605021429/grpcServerConfig.json time="2026-09-17T09:53:46Z" msg="gRPC server listening on /tmp/bridge4688" time="2026-09-17T09:53:46Z" msg="Frontend service started" time="2026-09-17T09:53:46Z" msg="Starting frontend client" time="2026-09-17T09:53:46Z" msg="Not monitoring parent PID" time="2026-09-17T09:53:46Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:53:46Z" msg="Frontend client started" time="2026-09-17T09:53:46Z" msg="Performing full user login" /user username="******** (a1d8d9c5)" time="2026-09-17T09:53:46Z" msg="Authorizing user for login" /user username="******** (a1d8d9c5)" time="2026-09-17T09:53:46Z" msg="200 OK: GET https://127.0.0.1:33083/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:53:46Z" msg="200 OK: POST https://127.0.0.1:33083/auth/v4/info" /manager time="2026-09-17T09:53:47Z" msg="200 OK: POST https://127.0.0.1:33083/auth/v4" /manager time="2026-09-17T09:53:47Z" msg="Logging in authorized user" /user userID=ee0448ab-f160-43ba-80b9-2a58a5441fcc time="2026-09-17T09:53:47Z" msg="Adding vault user" userID=ee0448ab-f160-43ba-80b9-2a58a5441fcc time="2026-09-17T09:53:47Z" msg="Creating new user" userID=ee0448ab-f160-43ba-80b9-2a58a5441fcc time="2026-09-17T09:53:47Z" msg="404 GET https://127.0.0.1:33083/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:53:47Z" msg="404 GET https://127.0.0.1:33083/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:53:47Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:33083/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:53:47Z" msg="Creating user object" authUID=8b7dbb12-ac7d-42bf-b16e-88012fc4828f numA numL userID=ee0448ab-f160-43ba-80b9-2a58a5441fcc time="2026-09-17T09:53:47Z" msg="200 OK: GET https://127.0.0.1:33083/core/v4/events/latest" /client userID=ee0448ab-f160-43ba-80b9-2a58a5441fcc time="2026-09-17T09:53:47Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:53:47Z" msg="200 OK: GET https://127.0.0.1:33083/core/v4/settings" /client userID=ee0448ab-f160-43ba-80b9-2a58a5441fcc time="2026-09-17T09:53:47Z" msg="Registering user client, ID:ee0448ab-f160-43ba-80b9-2a58a5441fcc" time="2026-09-17T09:53:47Z" msg="Starting service main loop" time="2026-09-17T09:53:47Z" msg="Starting user identity service" numA time="2026-09-17T09:53:47Z" msg="Starting service main loop" time="2026-09-17T09:53:47Z" msg="Starting service main loop" time="2026-09-17T09:53:47Z" msg="200 OK: GET https://127.0.0.1:33083/core/v4/labels?T" /client userID=ee0448ab-f160-43ba-80b9-2a58a5441fcc time="2026-09-17T09:53:47Z" msg="200 OK: GET https://127.0.0.1:33083/core/v4/labels?T" /client userID=ee0448ab-f160-43ba-80b9-2a58a5441fcc time="2026-09-17T09:53:47Z" msg="200 OK: GET https://127.0.0.1:33083/core/v4/labels?T" /client userID=ee0448ab-f160-43ba-80b9-2a58a5441fcc time="2026-09-17T09:53:47Z" msg="Setting labels" labelIDs="[1 5 7 9 12 2 3 4 6 8 10 0]" time="2026-09-17T09:53:47Z" msg="Adding user to imap server" addrID=c41f21e6-c3e8-49f1-8f8d-7b18451f978e time="2026-09-17T09:53:47Z" msg="Creating new IMAP user" addrID=c41f21e6-c3e8-49f1-8f8d-7b18451f978e time="2026-09-17T09:53:47Z" msg="Setting gluon ID" addrID=c41f21e6-c3e8-49f1-8f8d-7b18451f978e gluonID=a66e77ea-e893-410f-95e3-78a76e2308a4 userID=ee0448ab-f160-43ba-80b9-2a58a5441fcc time="2026-09-17T09:53:47Z" msg="Received mailbox message count" gluonID=a66e77ea-e893-410f-95e3-78a76e2308a4 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:53:47Z" msg="Created new IMAP user" addrID=c41f21e6-c3e8-49f1-8f8d-7b18451f978e gluonID=a66e77ea-e893-410f-95e3-78a76e2308a4 time="2026-09-17T09:53:47Z" msg="Validating Listener State" time="2026-09-17T09:53:47Z" time="2026-09-17T09:53:47Z" msg="Checking whether logged in user should re-sync. UserID:ee0448ab-f160-43ba-80b9-2a58a5441fcc" userID=ee0448ab-f160-43ba-80b9-2a58a5441fcc time="2026-09-17T09:53:47Z" msg="Starting IMAP Service" time="2026-09-17T09:53:47Z" msg="Sync triggered" time="2026-09-17T09:53:47Z" msg="Beginning user sync" start="2026-09-17 09:53:47.310901399 +0000 UTC m=+515.803203735" time="2026-09-17T09:53:47Z" msg="Sending observability data." time="2026-09-17T09:53:47Z" msg="Syncing labels" time="2026-09-17T09:53:47Z" msg="200 OK: POST https://127.0.0.1:33083/data/v1/metrics" /client userID=ee0448ab-f160-43ba-80b9-2a58a5441fcc time="2026-09-17T09:53:47Z" msg="Successfully sent observability data." time="2026-09-17T09:53:47Z" msg="200 OK: GET https://127.0.0.1:33083/mail/v4/settings" /client userID=ee0448ab-f160-43ba-80b9-2a58a5441fcc time="2026-09-17T09:53:47Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=a66e77ea-e893-410f-95e3-78a76e2308a4 time="2026-09-17T09:53:47Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=a66e77ea-e893-410f-95e3-78a76e2308a4 time="2026-09-17T09:53:47Z" msg="Mailbox created" /user remoteMailboxID=12 userID=a66e77ea-e893-410f-95e3-78a76e2308a4 time="2026-09-17T09:53:47Z" msg="Mailbox created" /user remoteMailboxID=3 userID=a66e77ea-e893-410f-95e3-78a76e2308a4 time="2026-09-17T09:53:47Z" msg="Mailbox created" /user remoteMailboxID=4 userID=a66e77ea-e893-410f-95e3-78a76e2308a4 time="2026-09-17T09:53:47Z" msg="Mailbox created" /user remoteMailboxID=8 userID=a66e77ea-e893-410f-95e3-78a76e2308a4 time="2026-09-17T09:53:47Z" msg="Mailbox created" /user remoteMailboxID=6 userID=a66e77ea-e893-410f-95e3-78a76e2308a4 time="2026-09-17T09:53:47Z" msg="Mailbox created" /user remoteMailboxID=10 userID=a66e77ea-e893-410f-95e3-78a76e2308a4 time="2026-09-17T09:53:47Z" msg="Mailbox created" /user remoteMailboxID=0 userID=a66e77ea-e893-410f-95e3-78a76e2308a4 time="2026-09-17T09:53:47Z" msg="Mailbox created" /user remoteMailboxID=5 userID=a66e77ea-e893-410f-95e3-78a76e2308a4 time="2026-09-17T09:53:47Z" msg="Mailbox created" /user remoteMailboxID=7 userID=a66e77ea-e893-410f-95e3-78a76e2308a4 time="2026-09-17T09:53:47Z" msg="Synced labels" time="2026-09-17T09:53:47Z" msg="200 OK: GET https://127.0.0.1:33083/mail/v4/messages/count" /client userID=ee0448ab-f160-43ba-80b9-2a58a5441fcc time="2026-09-17T09:53:47Z" msg="Syncing messages" time="2026-09-17T09:53:47Z" msg="Job started" time="2026-09-17T09:53:47Z" msg="200 OK: POST https://127.0.0.1:33083/mail/v4/messages" /client userID=ee0448ab-f160-43ba-80b9-2a58a5441fcc time="2026-09-17T09:53:47Z" msg="200 OK: GET https://127.0.0.1:33083/core/v4/keys?E.bridge.qa%40gmail.com" /client userID=ee0448ab-f160-43ba-80b9-2a58a5441fcc time="2026-09-17T09:53:47Z" msg="200 OK: POST https://127.0.0.1:33083/mail/v4/messages" /client userID=ee0448ab-f160-43ba-80b9-2a58a5441fcc time="2026-09-17T09:53:47Z" msg="200 OK: GET https://127.0.0.1:33083/contacts/v4/emails?E.bridge.qa%40gmail.com&P&PageS" /client userID=ee0448ab-f160-43ba-80b9-2a58a5441fcc time="2026-09-17T09:53:47Z" msg="200 OK: POST https://127.0.0.1:33083/mail/v4/messages" /client userID=ee0448ab-f160-43ba-80b9-2a58a5441fcc time="2026-09-17T09:53:47Z" msg="Creating new child job" time="2026-09-17T09:53:47Z" msg="Job finished" time="2026-09-17T09:53:47Z" msg="200 OK: GET https://127.0.0.1:33083/mail/v4/messages/23a1f8a2-11dc-4b7d-a90f-06d7c80d823c" /client userID=ee0448ab-f160-43ba-80b9-2a58a5441fcc time="2026-09-17T09:53:47Z" msg="200 OK: POST https://127.0.0.1:33083/mail/v4/messages/23a1f8a2-11dc-4b7d-a90f-06d7c80d823c" /client userID=ee0448ab-f160-43ba-80b9-2a58a5441fcc time="2026-09-17T09:53:47Z" msg="Scheduling observability data sending" Scenario: Message without charset is utf8 # features/smtp/send/plain.feature:158 When SMTP client "1" sends the following message from "8b985dd5-1c16-410b-94ab-5bcba61b7ade@proton.local" to "pm.bridge.qa@gmail.com": # :1 -> *scenario """ From: Bridge Test <[user:user]@[domain]> To: External Bridge Subject: Plain text no charset external Content-Disposition: inline Content-Type: text/plain; This is body of mail without charset. Please assume utf8 """ Then it succeeds # :1 -> *scenario When user "8b985dd5-1c16-410b-94ab-5bcba61b7ade" connects and authenticates IMAP client "1" # :1 -> *scenario time="2026-09-17T09:53:47Z" msg="Child job finished" time="2026-09-17T09:53:47Z" msg="All child jobs completed" sync- time="2026-09-17T09:53:47Z" msg="Synced messages" time="2026-09-17T09:53:47Z" msg="Finished user sync" .723333ms time="2026-09-17T09:53:47Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:53:47Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:53:47Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 2} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:53:48Z" msg="200 OK: GET https://127.0.0.1:33083/core/v4/events/AA==" /client userID=ee0448ab-f160-43ba-80b9-2a58a5441fcc time="2026-09-17T09:53:48Z" msg="Received new API event" new="Event BA==: messages: , , " old="AA==" time="2026-09-17T09:53:48Z" msg="Handling message created event" messageID=23a1f8a2-11dc-4b7d-a90f-06d7c80d823c subject="******** (8a3d8c52)" time="2026-09-17T09:53:48Z" msg="200 OK: GET https://127.0.0.1:33083/mail/v4/messages/23a1f8a2-11dc-4b7d-a90f-06d7c80d823c" /client userID=ee0448ab-f160-43ba-80b9-2a58a5441fcc time="2026-09-17T09:53:48Z" msg="Found existing message in create event, will update instead" MessageID=23a1f8a2-11dc-4b7d-a90f-06d7c80d823c... /user userID=a66e77ea-e893-410f-95e3-78a76e2308a4 time="2026-09-17T09:53:48Z" msg="Handling draft or sent updated event" isD messageID=23a1f8a2-11dc-4b7d-a90f-06d7c80d823c subject="******** (8a3d8c52)" time="2026-09-17T09:53:48Z" msg="200 OK: GET https://127.0.0.1:33083/mail/v4/messages/23a1f8a2-11dc-4b7d-a90f-06d7c80d823c" /client userID=ee0448ab-f160-43ba-80b9-2a58a5441fcc Then IMAP client "1" eventually sees the following messages in "Sent": # :1 -> *scenario | from | to | subject | | 8b985dd5-1c16-410b-94ab-5bcba61b7ade@proton.local | pm.bridge.qa@gmail.com | Plain text no charset external | time="2026-09-17T09:53:48Z" msg="Frontend service stopped" time="2026-09-17T09:53:48Z" msg="Frontend client stopped" time="2026-09-17T09:53:48Z" msg="Closing bridge" time="2026-09-17T09:53:48Z" msg="Stopping service" time="2026-09-17T09:53:48Z" msg="Closing user" userID=ee0448ab-f160-43ba-80b9-2a58a5441fcc time="2026-09-17T09:53:48Z" msg="De-registering user client, ID:ee0448ab-f160-43ba-80b9-2a58a5441fcc" time="2026-09-17T09:53:48Z" msg="Exiting IMAP Service" time="2026-09-17T09:53:48Z" msg="Exiting service main loop" time="2026-09-17T09:53:48Z" msg="Exiting service main loop" time="2026-09-17T09:53:48Z" msg="Exiting Service" time="2026-09-17T09:53:48Z" msg="Exiting service main loop" time="2026-09-17T09:53:48Z" msg="Exiting service" time="2026-09-17T09:53:48Z" msg="Closing IMAP Listener" time="2026-09-17T09:53:48Z" msg="Closing IMAP server" time="2026-09-17T09:53:48Z" msg="Closing SMTP Listener" time="2026-09-17T09:53:48Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:53:48Z" msg="Closing SMTP server" time="2026-09-17T09:53:48Z" msg="Closing service" And the body in the "POST" request to "/mail/v4/messages" is: # :1 -> *scenario """ { "Message": { "Subject": "Plain text no charset external", "Sender": { "Name": "Bridge Test" }, "ToList": [ { "Address": "pm.bridge.qa@gmail.com", "Name": "External Bridge" } ], "CCList": [], "BCCList": [], "MIMEType": "text/plain" } } """ time="2026-09-17T09:53:48Z" msg="User 'f1823b3c-44a7-4440-97f9-5dd69a18b467' created with " /server/backend time="2026-09-17T09:53:49Z" msg="User 'f3588a02-c324-4c86-a55f-805d3b688a1f' created with " /server/backend time="2026-09-17T09:53:49Z" msg="User '35aa09be-cea6-4527-b2df-bc9d982a2430' created with " /server/backend time="2026-09-17T09:53:50Z" msg="Starting bridge" time="2026-09-17T09:53:50Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/224/config1650799221/grpcFocusServerConfig.json /service time="2026-09-17T09:53:50Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/224/cache579729777/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:53:50Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/224/cache579729777/notifications/notification_cache: no such file or directory" time="2026-09-17T09:53:50Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/224/data1665125111/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/224/data1665125111/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:53:50Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:53:50Z" msg="Starting IMAP server" time="2026-09-17T09:53:50Z" msg="Starting SMTP server" time="2026-09-17T09:53:50Z" msg="Starting service" time="2026-09-17T09:53:50Z" msg="Starting service" time="2026-09-17T09:53:50Z" msg="Starting poll service" time="2026-09-17T09:53:50Z" msg="Checking for updates" time="2026-09-17T09:53:50Z" msg="Starting frontend service" time="2026-09-17T09:53:50Z" msg="Loading users" /user time="2026-09-17T09:53:50Z" msg="Starting receiver service" time="2026-09-17T09:53:50Z" msg="Finished loading users" /user time="2026-09-17T09:53:50Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/224/config1650799221/grpcServerConfig.json time="2026-09-17T09:53:50Z" msg="gRPC server listening on /tmp/bridge8148" time="2026-09-17T09:53:50Z" msg="Frontend service started" time="2026-09-17T09:53:50Z" msg="Starting frontend client" time="2026-09-17T09:53:50Z" msg="Not monitoring parent PID" time="2026-09-17T09:53:50Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:53:50Z" msg="200 OK: GET https://127.0.0.1:42617/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:53:50Z" msg="Frontend client started" time="2026-09-17T09:53:50Z" msg="Performing full user login" /user username="******** (e3ffefd3)" time="2026-09-17T09:53:50Z" msg="Authorizing user for login" /user username="******** (e3ffefd3)" time="2026-09-17T09:53:50Z" msg="200 OK: POST https://127.0.0.1:42617/auth/v4/info" /manager time="2026-09-17T09:53:50Z" msg="200 OK: POST https://127.0.0.1:42617/auth/v4" /manager time="2026-09-17T09:53:50Z" msg="Logging in authorized user" /user userID=50003ad6-8744-4c36-8568-b54e254430b7 time="2026-09-17T09:53:50Z" msg="Adding vault user" userID=50003ad6-8744-4c36-8568-b54e254430b7 time="2026-09-17T09:53:50Z" msg="Creating new user" userID=50003ad6-8744-4c36-8568-b54e254430b7 time="2026-09-17T09:53:50Z" msg="404 GET https://127.0.0.1:42617/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:53:50Z" msg="404 GET https://127.0.0.1:42617/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:53:50Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:42617/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:53:50Z" msg="Creating user object" authUID=d98d7277-1c45-4584-939d-78489d9081a9 numA numL userID=50003ad6-8744-4c36-8568-b54e254430b7 time="2026-09-17T09:53:50Z" msg="200 OK: GET https://127.0.0.1:42617/core/v4/events/latest" /client userID=50003ad6-8744-4c36-8568-b54e254430b7 time="2026-09-17T09:53:50Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:53:50Z" msg="200 OK: GET https://127.0.0.1:42617/core/v4/settings" /client userID=50003ad6-8744-4c36-8568-b54e254430b7 time="2026-09-17T09:53:50Z" msg="Registering user client, ID:50003ad6-8744-4c36-8568-b54e254430b7" time="2026-09-17T09:53:50Z" msg="Starting service main loop" time="2026-09-17T09:53:50Z" msg="Starting service main loop" time="2026-09-17T09:53:50Z" msg="Starting user identity service" numA time="2026-09-17T09:53:50Z" msg="Starting service main loop" time="2026-09-17T09:53:50Z" msg="200 OK: GET https://127.0.0.1:42617/core/v4/labels?T" /client userID=50003ad6-8744-4c36-8568-b54e254430b7 time="2026-09-17T09:53:50Z" msg="200 OK: GET https://127.0.0.1:42617/core/v4/labels?T" /client userID=50003ad6-8744-4c36-8568-b54e254430b7 time="2026-09-17T09:53:50Z" msg="200 OK: GET https://127.0.0.1:42617/core/v4/labels?T" /client userID=50003ad6-8744-4c36-8568-b54e254430b7 time="2026-09-17T09:53:50Z" msg="Setting labels" labelIDs="[0 2 3 5 6 7 10 12 1 4 8 9]" time="2026-09-17T09:53:50Z" msg="Adding user to imap server" addrID=b10faafe-3adc-422e-90fa-54a08af0add3 time="2026-09-17T09:53:50Z" msg="Creating new IMAP user" addrID=b10faafe-3adc-422e-90fa-54a08af0add3 time="2026-09-17T09:53:50Z" msg="Setting gluon ID" addrID=b10faafe-3adc-422e-90fa-54a08af0add3 gluonID=7a3f0bd6-46d2-4d67-9627-a57b11c80467 userID=50003ad6-8744-4c36-8568-b54e254430b7 time="2026-09-17T09:53:50Z" msg="Received mailbox message count" gluonID=7a3f0bd6-46d2-4d67-9627-a57b11c80467 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:53:50Z" msg="Created new IMAP user" addrID=b10faafe-3adc-422e-90fa-54a08af0add3 gluonID=7a3f0bd6-46d2-4d67-9627-a57b11c80467 time="2026-09-17T09:53:50Z" msg="Validating Listener State" time="2026-09-17T09:53:50Z" time="2026-09-17T09:53:50Z" msg="Starting IMAP Service" time="2026-09-17T09:53:50Z" msg="Checking whether logged in user should re-sync. UserID:50003ad6-8744-4c36-8568-b54e254430b7" userID=50003ad6-8744-4c36-8568-b54e254430b7 time="2026-09-17T09:53:50Z" msg="Sync triggered" time="2026-09-17T09:53:50Z" msg="Beginning user sync" start="2026-09-17 09:53:50.640078085 +0000 UTC m=+519.132380421" time="2026-09-17T09:53:50Z" msg="Sending observability data." time="2026-09-17T09:53:50Z" msg="Syncing labels" time="2026-09-17T09:53:50Z" msg="200 OK: GET https://127.0.0.1:42617/mail/v4/settings" /client userID=50003ad6-8744-4c36-8568-b54e254430b7 time="2026-09-17T09:53:50Z" msg="200 OK: POST https://127.0.0.1:42617/data/v1/metrics" /client userID=50003ad6-8744-4c36-8568-b54e254430b7 time="2026-09-17T09:53:50Z" msg="Successfully sent observability data." time="2026-09-17T09:53:50Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=7a3f0bd6-46d2-4d67-9627-a57b11c80467 time="2026-09-17T09:53:50Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=7a3f0bd6-46d2-4d67-9627-a57b11c80467 time="2026-09-17T09:53:50Z" msg="Mailbox created" /user remoteMailboxID=5 userID=7a3f0bd6-46d2-4d67-9627-a57b11c80467 time="2026-09-17T09:53:50Z" msg="Mailbox created" /user remoteMailboxID=4 userID=7a3f0bd6-46d2-4d67-9627-a57b11c80467 time="2026-09-17T09:53:50Z" msg="Mailbox created" /user remoteMailboxID=8 userID=7a3f0bd6-46d2-4d67-9627-a57b11c80467 time="2026-09-17T09:53:50Z" msg="Mailbox created" /user remoteMailboxID=0 userID=7a3f0bd6-46d2-4d67-9627-a57b11c80467 time="2026-09-17T09:53:50Z" msg="Mailbox created" /user remoteMailboxID=3 userID=7a3f0bd6-46d2-4d67-9627-a57b11c80467 time="2026-09-17T09:53:50Z" msg="Mailbox created" /user remoteMailboxID=6 userID=7a3f0bd6-46d2-4d67-9627-a57b11c80467 time="2026-09-17T09:53:50Z" msg="Mailbox created" /user remoteMailboxID=7 userID=7a3f0bd6-46d2-4d67-9627-a57b11c80467 time="2026-09-17T09:53:50Z" msg="Mailbox created" /user remoteMailboxID=10 userID=7a3f0bd6-46d2-4d67-9627-a57b11c80467 time="2026-09-17T09:53:50Z" msg="Mailbox created" /user remoteMailboxID=12 userID=7a3f0bd6-46d2-4d67-9627-a57b11c80467 time="2026-09-17T09:53:50Z" msg="Synced labels" time="2026-09-17T09:53:50Z" msg="Determined encoding by reading body" time="2026-09-17T09:53:50Z" msg="200 OK: GET https://127.0.0.1:42617/mail/v4/messages/count" /client userID=50003ad6-8744-4c36-8568-b54e254430b7 time="2026-09-17T09:53:50Z" msg="Syncing messages" time="2026-09-17T09:53:50Z" msg="Job started" time="2026-09-17T09:53:50Z" msg="200 OK: POST https://127.0.0.1:42617/mail/v4/messages" /client userID=50003ad6-8744-4c36-8568-b54e254430b7 time="2026-09-17T09:53:50Z" msg="Job finished" time="2026-09-17T09:53:50Z" msg="All child jobs completed" sync- time="2026-09-17T09:53:50Z" msg="Synced messages" time="2026-09-17T09:53:50Z" msg="Finished user sync" .373247ms time="2026-09-17T09:53:50Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:53:50Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:53:50Z" msg="200 OK: POST https://127.0.0.1:42617/mail/v4/messages" /client userID=50003ad6-8744-4c36-8568-b54e254430b7 time="2026-09-17T09:53:50Z" msg="200 OK: GET https://127.0.0.1:42617/core/v4/keys?E.bridge.qa%40gmail.com" /client userID=50003ad6-8744-4c36-8568-b54e254430b7 time="2026-09-17T09:53:50Z" msg="200 OK: GET https://127.0.0.1:42617/contacts/v4/emails?E.bridge.qa%40gmail.com&P&PageS" /client userID=50003ad6-8744-4c36-8568-b54e254430b7 time="2026-09-17T09:53:50Z" msg="200 OK: POST https://127.0.0.1:42617/mail/v4/messages/a9b773d2-5d8f-4edd-b84c-4f1fc5027d1c" /client userID=50003ad6-8744-4c36-8568-b54e254430b7 time="2026-09-17T09:53:50Z" msg="Scheduling observability data sending" Scenario: Message without charset is base64-encoded latin1 # features/smtp/send/plain.feature:196 When SMTP client "1" sends the following message from "f1823b3c-44a7-4440-97f9-5dd69a18b467@proton.local" to "pm.bridge.qa@gmail.com": # :1 -> *scenario """ From: Bridge Test <[user:user]@[domain]> To: External Bridge Subject: Plain text no charset external Content-Disposition: inline Content-Type: text/plain; Content-Transfer-Encoding: base64 dGhpcyBpcyBpbiBsYXRpbjEgYW5kIHRoZXJlIGFyZSBsb3RzIG9mIGVzIHdpdGggYWNjZW50czog 6enp6enp6enp6enp6enp """ Then it succeeds # :1 -> *scenario When user "f1823b3c-44a7-4440-97f9-5dd69a18b467" connects and authenticates IMAP client "1" # :1 -> *scenario time="2026-09-17T09:53:50Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 1} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:53:51Z" msg="200 OK: GET https://127.0.0.1:42617/core/v4/events/AA==" /client userID=50003ad6-8744-4c36-8568-b54e254430b7 time="2026-09-17T09:53:51Z" msg="Received new API event" new="Event BA==: messages: , , " old="AA==" time="2026-09-17T09:53:51Z" msg="Handling message created event" messageID=a9b773d2-5d8f-4edd-b84c-4f1fc5027d1c subject="******** (8a3d8c52)" time="2026-09-17T09:53:51Z" msg="200 OK: GET https://127.0.0.1:42617/mail/v4/messages/a9b773d2-5d8f-4edd-b84c-4f1fc5027d1c" /client userID=50003ad6-8744-4c36-8568-b54e254430b7 time="2026-09-17T09:53:51Z" msg="Handling draft or sent updated event" isD messageID=a9b773d2-5d8f-4edd-b84c-4f1fc5027d1c subject="******** (8a3d8c52)" time="2026-09-17T09:53:51Z" msg="200 OK: GET https://127.0.0.1:42617/mail/v4/messages/a9b773d2-5d8f-4edd-b84c-4f1fc5027d1c" /client userID=50003ad6-8744-4c36-8568-b54e254430b7 Then IMAP client "1" eventually sees the following messages in "Sent": # :1 -> *scenario | from | to | subject | | f1823b3c-44a7-4440-97f9-5dd69a18b467@proton.local | pm.bridge.qa@gmail.com | Plain text no charset external | time="2026-09-17T09:53:51Z" msg="Frontend service stopped" time="2026-09-17T09:53:51Z" msg="Frontend client stopped" time="2026-09-17T09:53:51Z" msg="Closing bridge" time="2026-09-17T09:53:51Z" msg="Stopping service" time="2026-09-17T09:53:51Z" msg="Closing user" userID=50003ad6-8744-4c36-8568-b54e254430b7 time="2026-09-17T09:53:51Z" msg="De-registering user client, ID:50003ad6-8744-4c36-8568-b54e254430b7" time="2026-09-17T09:53:51Z" msg="Exiting IMAP Service" time="2026-09-17T09:53:51Z" msg="Exiting service main loop" time="2026-09-17T09:53:51Z" msg="Exiting service main loop" time="2026-09-17T09:53:51Z" msg="Exiting Service" time="2026-09-17T09:53:51Z" msg="Exiting service main loop" time="2026-09-17T09:53:51Z" msg="Exiting service" time="2026-09-17T09:53:51Z" msg="Closing IMAP Listener" time="2026-09-17T09:53:51Z" msg="Closing IMAP server" time="2026-09-17T09:53:51Z" msg="Closing SMTP Listener" time="2026-09-17T09:53:51Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:53:51Z" msg="Closing SMTP server" time="2026-09-17T09:53:51Z" msg="Closing service" And the body in the "POST" request to "/mail/v4/messages" is: # :1 -> *scenario """ { "Message": { "Subject": "Plain text no charset external", "Sender": { "Name": "Bridge Test" }, "ToList": [ { "Address": "pm.bridge.qa@gmail.com", "Name": "External Bridge" } ], "CCList": [], "BCCList": [], "MIMEType": "text/plain" } } """ time="2026-09-17T09:53:51Z" msg="User 'ac5640df-a90b-4cb4-8a83-81e988053e9f' created with " /server/backend time="2026-09-17T09:53:52Z" msg="User '2ef9216d-3d25-4c8f-a068-a2789151f359' created with " /server/backend time="2026-09-17T09:53:53Z" msg="User 'fb43242d-7c5f-476b-8c2d-943e73f4298e' created with " /server/backend time="2026-09-17T09:53:53Z" msg="Starting bridge" time="2026-09-17T09:53:53Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/225/config1236859126/grpcFocusServerConfig.json /service time="2026-09-17T09:53:53Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/225/cache798692919/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:53:53Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/225/cache798692919/notifications/notification_cache: no such file or directory" time="2026-09-17T09:53:53Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/225/data544920069/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/225/data544920069/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:53:53Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:53:53Z" msg="Starting IMAP server" time="2026-09-17T09:53:53Z" msg="Starting SMTP server" time="2026-09-17T09:53:53Z" msg="Starting service" time="2026-09-17T09:53:53Z" msg="Starting service" time="2026-09-17T09:53:53Z" msg="Starting receiver service" time="2026-09-17T09:53:53Z" msg="Starting frontend service" time="2026-09-17T09:53:53Z" msg="Checking for updates" time="2026-09-17T09:53:53Z" msg="Loading users" /user time="2026-09-17T09:53:53Z" msg="Starting poll service" time="2026-09-17T09:53:53Z" msg="Finished loading users" /user time="2026-09-17T09:53:53Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/225/config1236859126/grpcServerConfig.json time="2026-09-17T09:53:53Z" msg="gRPC server listening on /tmp/bridge6990" time="2026-09-17T09:53:53Z" msg="Frontend service started" time="2026-09-17T09:53:53Z" msg="Starting frontend client" time="2026-09-17T09:53:53Z" msg="Not monitoring parent PID" time="2026-09-17T09:53:53Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:53:53Z" msg="200 OK: GET https://127.0.0.1:44989/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:53:53Z" msg="Frontend client started" time="2026-09-17T09:53:53Z" msg="Performing full user login" /user username="******** (1ded777f)" time="2026-09-17T09:53:53Z" msg="Authorizing user for login" /user username="******** (1ded777f)" time="2026-09-17T09:53:53Z" msg="200 OK: POST https://127.0.0.1:44989/auth/v4/info" /manager time="2026-09-17T09:53:53Z" msg="200 OK: POST https://127.0.0.1:44989/auth/v4" /manager time="2026-09-17T09:53:53Z" msg="Logging in authorized user" /user userID=906abb13-6512-4135-a113-f7231908ddeb time="2026-09-17T09:53:53Z" msg="Adding vault user" userID=906abb13-6512-4135-a113-f7231908ddeb time="2026-09-17T09:53:53Z" msg="Creating new user" userID=906abb13-6512-4135-a113-f7231908ddeb time="2026-09-17T09:53:53Z" msg="404 GET https://127.0.0.1:44989/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:53:53Z" msg="404 GET https://127.0.0.1:44989/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:53:53Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:44989/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:53:53Z" msg="Creating user object" authUID=691dbea4-78cd-400a-b394-70eaf418e41a numA numL userID=906abb13-6512-4135-a113-f7231908ddeb time="2026-09-17T09:53:53Z" msg="200 OK: GET https://127.0.0.1:44989/core/v4/events/latest" /client userID=906abb13-6512-4135-a113-f7231908ddeb time="2026-09-17T09:53:53Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:53:53Z" msg="200 OK: GET https://127.0.0.1:44989/core/v4/settings" /client userID=906abb13-6512-4135-a113-f7231908ddeb time="2026-09-17T09:53:53Z" msg="Registering user client, ID:906abb13-6512-4135-a113-f7231908ddeb" time="2026-09-17T09:53:53Z" msg="Starting service main loop" time="2026-09-17T09:53:53Z" msg="Starting service main loop" time="2026-09-17T09:53:53Z" msg="Starting user identity service" numA time="2026-09-17T09:53:53Z" msg="Starting service main loop" time="2026-09-17T09:53:53Z" msg="200 OK: GET https://127.0.0.1:44989/core/v4/labels?T" /client userID=906abb13-6512-4135-a113-f7231908ddeb time="2026-09-17T09:53:53Z" msg="200 OK: GET https://127.0.0.1:44989/core/v4/labels?T" /client userID=906abb13-6512-4135-a113-f7231908ddeb time="2026-09-17T09:53:53Z" msg="200 OK: GET https://127.0.0.1:44989/core/v4/labels?T" /client userID=906abb13-6512-4135-a113-f7231908ddeb time="2026-09-17T09:53:53Z" msg="Setting labels" labelIDs="[3 9 12 0 2 4 5 6 7 8 10 1]" time="2026-09-17T09:53:53Z" msg="Adding user to imap server" addrID=93be0622-c776-4f5a-bc7d-cc6bdb563fad time="2026-09-17T09:53:53Z" msg="Creating new IMAP user" addrID=93be0622-c776-4f5a-bc7d-cc6bdb563fad time="2026-09-17T09:53:53Z" msg="Setting gluon ID" addrID=93be0622-c776-4f5a-bc7d-cc6bdb563fad gluonID=7d0eaaff-af6e-4d06-834d-517dca043d63 userID=906abb13-6512-4135-a113-f7231908ddeb time="2026-09-17T09:53:53Z" msg="Created new IMAP user" addrID=93be0622-c776-4f5a-bc7d-cc6bdb563fad gluonID=7d0eaaff-af6e-4d06-834d-517dca043d63 time="2026-09-17T09:53:53Z" msg="Validating Listener State" time="2026-09-17T09:53:53Z" time="2026-09-17T09:53:53Z" msg="Received mailbox message count" gluonID=7d0eaaff-af6e-4d06-834d-517dca043d63 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:53:53Z" msg="Starting IMAP Service" time="2026-09-17T09:53:53Z" msg="Checking whether logged in user should re-sync. UserID:906abb13-6512-4135-a113-f7231908ddeb" userID=906abb13-6512-4135-a113-f7231908ddeb time="2026-09-17T09:53:53Z" msg="Sync triggered" time="2026-09-17T09:53:53Z" msg="Beginning user sync" start="2026-09-17 09:53:53.97303139 +0000 UTC m=+522.465333686" time="2026-09-17T09:53:53Z" msg="Syncing labels" time="2026-09-17T09:53:53Z" msg="Sending observability data." time="2026-09-17T09:53:53Z" msg="200 OK: POST https://127.0.0.1:44989/data/v1/metrics" /client userID=906abb13-6512-4135-a113-f7231908ddeb time="2026-09-17T09:53:53Z" msg="Successfully sent observability data." time="2026-09-17T09:53:53Z" msg="200 OK: GET https://127.0.0.1:44989/mail/v4/settings" /client userID=906abb13-6512-4135-a113-f7231908ddeb time="2026-09-17T09:53:53Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=7d0eaaff-af6e-4d06-834d-517dca043d63 time="2026-09-17T09:53:53Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=7d0eaaff-af6e-4d06-834d-517dca043d63 time="2026-09-17T09:53:53Z" msg="Mailbox created" /user remoteMailboxID=4 userID=7d0eaaff-af6e-4d06-834d-517dca043d63 time="2026-09-17T09:53:53Z" msg="Mailbox created" /user remoteMailboxID=6 userID=7d0eaaff-af6e-4d06-834d-517dca043d63 time="2026-09-17T09:53:53Z" msg="Mailbox created" /user remoteMailboxID=7 userID=7d0eaaff-af6e-4d06-834d-517dca043d63 time="2026-09-17T09:53:53Z" msg="Mailbox created" /user remoteMailboxID=10 userID=7d0eaaff-af6e-4d06-834d-517dca043d63 time="2026-09-17T09:53:53Z" msg="Mailbox created" /user remoteMailboxID=3 userID=7d0eaaff-af6e-4d06-834d-517dca043d63 time="2026-09-17T09:53:53Z" msg="Mailbox created" /user remoteMailboxID=12 userID=7d0eaaff-af6e-4d06-834d-517dca043d63 time="2026-09-17T09:53:53Z" msg="Mailbox created" /user remoteMailboxID=0 userID=7d0eaaff-af6e-4d06-834d-517dca043d63 time="2026-09-17T09:53:53Z" msg="Mailbox created" /user remoteMailboxID=5 userID=7d0eaaff-af6e-4d06-834d-517dca043d63 time="2026-09-17T09:53:53Z" msg="Mailbox created" /user remoteMailboxID=8 userID=7d0eaaff-af6e-4d06-834d-517dca043d63 time="2026-09-17T09:53:53Z" msg="Synced labels" time="2026-09-17T09:53:53Z" msg="200 OK: GET https://127.0.0.1:44989/mail/v4/messages/count" /client userID=906abb13-6512-4135-a113-f7231908ddeb time="2026-09-17T09:53:53Z" msg="Syncing messages" time="2026-09-17T09:53:53Z" msg="Job started" time="2026-09-17T09:53:53Z" msg="200 OK: POST https://127.0.0.1:44989/mail/v4/messages" /client userID=906abb13-6512-4135-a113-f7231908ddeb time="2026-09-17T09:53:53Z" msg="Job finished" time="2026-09-17T09:53:53Z" msg="All child jobs completed" sync- time="2026-09-17T09:53:53Z" msg="Synced messages" time="2026-09-17T09:53:53Z" msg="Finished user sync" .774337ms time="2026-09-17T09:53:53Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:53:53Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:53:53Z" msg="200 OK: POST https://127.0.0.1:44989/mail/v4/messages" /client userID=906abb13-6512-4135-a113-f7231908ddeb time="2026-09-17T09:53:53Z" msg="200 OK: GET https://127.0.0.1:44989/core/v4/keys?E.bridge.qa%40gmail.com" /client userID=906abb13-6512-4135-a113-f7231908ddeb time="2026-09-17T09:53:53Z" msg="200 OK: GET https://127.0.0.1:44989/contacts/v4/emails?E.bridge.qa%40gmail.com&P&PageS" /client userID=906abb13-6512-4135-a113-f7231908ddeb time="2026-09-17T09:53:53Z" msg="200 OK: POST https://127.0.0.1:44989/mail/v4/messages/41c0c0e0-9039-41ba-bc14-18a91623bdc0" /client userID=906abb13-6512-4135-a113-f7231908ddeb time="2026-09-17T09:53:53Z" msg="Scheduling observability data sending" Scenario: Message without charset and content is detected as HTML # features/smtp/send/plain.feature:237 When SMTP client "1" sends the following message from "ac5640df-a90b-4cb4-8a83-81e988053e9f@proton.local" to "pm.bridge.qa@gmail.com": # :1 -> *scenario """ From: Bridge Test <[user:user]@[domain]> To: External Bridge Subject: Plain, no charset, no content, external Content-Disposition: inline Content-Type: text/plain; """ Then it succeeds # :1 -> *scenario When user "ac5640df-a90b-4cb4-8a83-81e988053e9f" connects and authenticates IMAP client "1" # :1 -> *scenario time="2026-09-17T09:53:54Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 8} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:53:54Z" msg="200 OK: GET https://127.0.0.1:44989/core/v4/events/AA==" /client userID=906abb13-6512-4135-a113-f7231908ddeb time="2026-09-17T09:53:54Z" msg="Received new API event" new="Event BA==: messages: , , " old="AA==" time="2026-09-17T09:53:54Z" msg="Handling message created event" messageID=41c0c0e0-9039-41ba-bc14-18a91623bdc0 subject="******** (39aad2ab)" time="2026-09-17T09:53:54Z" msg="200 OK: GET https://127.0.0.1:44989/mail/v4/messages/41c0c0e0-9039-41ba-bc14-18a91623bdc0" /client userID=906abb13-6512-4135-a113-f7231908ddeb time="2026-09-17T09:53:54Z" msg="Handling draft or sent updated event" isD messageID=41c0c0e0-9039-41ba-bc14-18a91623bdc0 subject="******** (39aad2ab)" time="2026-09-17T09:53:54Z" msg="200 OK: GET https://127.0.0.1:44989/mail/v4/messages/41c0c0e0-9039-41ba-bc14-18a91623bdc0" /client userID=906abb13-6512-4135-a113-f7231908ddeb Then IMAP client "1" eventually sees the following messages in "Sent": # :1 -> *scenario | from | to | subject | | ac5640df-a90b-4cb4-8a83-81e988053e9f@proton.local | pm.bridge.qa@gmail.com | Plain, no charset, no content, external | time="2026-09-17T09:53:54Z" msg="Frontend service stopped" time="2026-09-17T09:53:54Z" msg="Frontend client stopped" time="2026-09-17T09:53:54Z" msg="Closing bridge" time="2026-09-17T09:53:54Z" msg="Stopping service" time="2026-09-17T09:53:54Z" msg="Closing user" userID=906abb13-6512-4135-a113-f7231908ddeb time="2026-09-17T09:53:54Z" msg="De-registering user client, ID:906abb13-6512-4135-a113-f7231908ddeb" time="2026-09-17T09:53:54Z" msg="Exiting IMAP Service" time="2026-09-17T09:53:54Z" msg="Exiting service main loop" time="2026-09-17T09:53:54Z" msg="Exiting service main loop" time="2026-09-17T09:53:54Z" msg="Exiting Service" time="2026-09-17T09:53:54Z" msg="Exiting service main loop" time="2026-09-17T09:53:54Z" msg="Exiting service" time="2026-09-17T09:53:54Z" msg="Closing IMAP Listener" time="2026-09-17T09:53:54Z" msg="Closing IMAP server" time="2026-09-17T09:53:54Z" msg="Closing SMTP Listener" time="2026-09-17T09:53:54Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:53:54Z" msg="Closing SMTP server" time="2026-09-17T09:53:54Z" msg="Closing service" And the body in the "POST" request to "/mail/v4/messages" is: # :1 -> *scenario """ { "Message": { "Subject": "Plain, no charset, no content, external", "Sender": { "Name": "Bridge Test" }, "ToList": [ { "Address": "pm.bridge.qa@gmail.com", "Name": "External Bridge" } ], "CCList": [], "BCCList": [], "MIMEType": "text/plain" } } """ time="2026-09-17T09:53:55Z" msg="User 'bce04d0e-f9d9-4b4c-9737-45b282b324dc' created with " /server/backend time="2026-09-17T09:53:55Z" msg="User '3cb5c82a-7728-454c-94e5-6fd952dc2c02' created with " /server/backend time="2026-09-17T09:53:56Z" msg="User '86b13a15-daa6-4bc2-afe8-9349debb107d' created with " /server/backend time="2026-09-17T09:53:56Z" msg="Starting bridge" time="2026-09-17T09:53:56Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/226/config1060424072/grpcFocusServerConfig.json /service time="2026-09-17T09:53:56Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/226/cache712960542/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:53:56Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/226/cache712960542/notifications/notification_cache: no such file or directory" time="2026-09-17T09:53:56Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/226/data21776733/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/226/data21776733/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:53:56Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:53:56Z" msg="Starting IMAP server" time="2026-09-17T09:53:56Z" msg="Starting SMTP server" time="2026-09-17T09:53:56Z" msg="Starting service" time="2026-09-17T09:53:56Z" msg="Starting service" time="2026-09-17T09:53:56Z" msg="Starting frontend service" time="2026-09-17T09:53:56Z" msg="Starting receiver service" time="2026-09-17T09:53:56Z" msg="Checking for updates" time="2026-09-17T09:53:56Z" msg="Starting poll service" time="2026-09-17T09:53:56Z" msg="Loading users" /user time="2026-09-17T09:53:56Z" msg="Finished loading users" /user time="2026-09-17T09:53:56Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/226/config1060424072/grpcServerConfig.json time="2026-09-17T09:53:56Z" msg="gRPC server listening on /tmp/bridge5198" time="2026-09-17T09:53:56Z" msg="Frontend service started" time="2026-09-17T09:53:56Z" msg="Starting frontend client" time="2026-09-17T09:53:56Z" msg="Not monitoring parent PID" time="2026-09-17T09:53:56Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:53:56Z" msg="Frontend client started" time="2026-09-17T09:53:56Z" msg="Performing full user login" /user username="******** (91be14ee)" time="2026-09-17T09:53:56Z" msg="Authorizing user for login" /user username="******** (91be14ee)" time="2026-09-17T09:53:56Z" msg="200 OK: GET https://127.0.0.1:35743/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:53:56Z" msg="200 OK: POST https://127.0.0.1:35743/auth/v4/info" /manager time="2026-09-17T09:53:57Z" msg="200 OK: POST https://127.0.0.1:35743/auth/v4" /manager time="2026-09-17T09:53:57Z" msg="Logging in authorized user" /user userID=00db769b-3660-44d1-9c1b-673418c505ec time="2026-09-17T09:53:57Z" msg="Adding vault user" userID=00db769b-3660-44d1-9c1b-673418c505ec time="2026-09-17T09:53:57Z" msg="Creating new user" userID=00db769b-3660-44d1-9c1b-673418c505ec time="2026-09-17T09:53:57Z" msg="404 GET https://127.0.0.1:35743/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:53:57Z" msg="404 GET https://127.0.0.1:35743/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:53:57Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:35743/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:53:57Z" msg="Creating user object" authUID=aca30b2f-9939-4c3e-8c5e-a32fea504725 numA numL userID=00db769b-3660-44d1-9c1b-673418c505ec time="2026-09-17T09:53:57Z" msg="200 OK: GET https://127.0.0.1:35743/core/v4/events/latest" /client userID=00db769b-3660-44d1-9c1b-673418c505ec time="2026-09-17T09:53:57Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:53:57Z" msg="200 OK: GET https://127.0.0.1:35743/core/v4/settings" /client userID=00db769b-3660-44d1-9c1b-673418c505ec time="2026-09-17T09:53:57Z" msg="Registering user client, ID:00db769b-3660-44d1-9c1b-673418c505ec" time="2026-09-17T09:53:57Z" msg="Starting service main loop" time="2026-09-17T09:53:57Z" msg="Starting user identity service" numA time="2026-09-17T09:53:57Z" msg="Starting service main loop" time="2026-09-17T09:53:57Z" msg="Starting service main loop" time="2026-09-17T09:53:57Z" msg="200 OK: GET https://127.0.0.1:35743/core/v4/labels?T" /client userID=00db769b-3660-44d1-9c1b-673418c505ec time="2026-09-17T09:53:57Z" msg="200 OK: GET https://127.0.0.1:35743/core/v4/labels?T" /client userID=00db769b-3660-44d1-9c1b-673418c505ec time="2026-09-17T09:53:57Z" msg="200 OK: GET https://127.0.0.1:35743/core/v4/labels?T" /client userID=00db769b-3660-44d1-9c1b-673418c505ec time="2026-09-17T09:53:57Z" msg="Setting labels" labelIDs="[5 6 8 9 10 0 2 3 7 12 1 4]" time="2026-09-17T09:53:57Z" msg="Adding user to imap server" addrID=389b0de9-e00a-4173-8f14-f9b4654aa111 time="2026-09-17T09:53:57Z" msg="Creating new IMAP user" addrID=389b0de9-e00a-4173-8f14-f9b4654aa111 time="2026-09-17T09:53:57Z" msg="Setting gluon ID" addrID=389b0de9-e00a-4173-8f14-f9b4654aa111 gluonID=18d1cff4-b7cb-4583-8ac8-7b7387984f73 userID=00db769b-3660-44d1-9c1b-673418c505ec time="2026-09-17T09:53:57Z" msg="Received mailbox message count" gluonID=18d1cff4-b7cb-4583-8ac8-7b7387984f73 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:53:57Z" msg="Created new IMAP user" addrID=389b0de9-e00a-4173-8f14-f9b4654aa111 gluonID=18d1cff4-b7cb-4583-8ac8-7b7387984f73 time="2026-09-17T09:53:57Z" msg="Validating Listener State" time="2026-09-17T09:53:57Z" time="2026-09-17T09:53:57Z" msg="Starting IMAP Service" time="2026-09-17T09:53:57Z" msg="Checking whether logged in user should re-sync. UserID:00db769b-3660-44d1-9c1b-673418c505ec" userID=00db769b-3660-44d1-9c1b-673418c505ec time="2026-09-17T09:53:57Z" msg="Sync triggered" time="2026-09-17T09:53:57Z" msg="Beginning user sync" start="2026-09-17 09:53:57.309701513 +0000 UTC m=+525.802003849" time="2026-09-17T09:53:57Z" msg="Syncing labels" Scenario: RCPT does not contain all CC # features/smtp/send/plain.feature:273 When SMTP client "1" sends MAIL FROM "" # :1 -> *scenario And SMTP client "1" sends RCPT TO "<3cb5c82a-7728-454c-94e5-6fd952dc2c02@proton.local>" # :1 -> *scenario time="2026-09-17T09:53:57Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=18d1cff4-b7cb-4583-8ac8-7b7387984f73 time="2026-09-17T09:53:57Z" msg="Sending observability data." time="2026-09-17T09:53:57Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=18d1cff4-b7cb-4583-8ac8-7b7387984f73 time="2026-09-17T09:53:57Z" msg="200 OK: GET https://127.0.0.1:35743/mail/v4/settings" /client userID=00db769b-3660-44d1-9c1b-673418c505ec time="2026-09-17T09:53:57Z" msg="Mailbox created" /user remoteMailboxID=5 userID=18d1cff4-b7cb-4583-8ac8-7b7387984f73 time="2026-09-17T09:53:57Z" msg="200 OK: POST https://127.0.0.1:35743/data/v1/metrics" /client userID=00db769b-3660-44d1-9c1b-673418c505ec time="2026-09-17T09:53:57Z" msg="Successfully sent observability data." time="2026-09-17T09:53:57Z" msg="Mailbox created" /user remoteMailboxID=8 userID=18d1cff4-b7cb-4583-8ac8-7b7387984f73 time="2026-09-17T09:53:57Z" msg="Mailbox created" /user remoteMailboxID=10 userID=18d1cff4-b7cb-4583-8ac8-7b7387984f73 time="2026-09-17T09:53:57Z" msg="Mailbox created" /user remoteMailboxID=3 userID=18d1cff4-b7cb-4583-8ac8-7b7387984f73 time="2026-09-17T09:53:57Z" msg="Mailbox created" /user remoteMailboxID=7 userID=18d1cff4-b7cb-4583-8ac8-7b7387984f73 time="2026-09-17T09:53:57Z" msg="Mailbox created" /user remoteMailboxID=12 userID=18d1cff4-b7cb-4583-8ac8-7b7387984f73 time="2026-09-17T09:53:57Z" msg="Mailbox created" /user remoteMailboxID=4 userID=18d1cff4-b7cb-4583-8ac8-7b7387984f73 time="2026-09-17T09:53:57Z" msg="Mailbox created" /user remoteMailboxID=6 userID=18d1cff4-b7cb-4583-8ac8-7b7387984f73 time="2026-09-17T09:53:57Z" msg="Mailbox created" /user remoteMailboxID=0 userID=18d1cff4-b7cb-4583-8ac8-7b7387984f73 time="2026-09-17T09:53:57Z" msg="Synced labels" time="2026-09-17T09:53:57Z" msg="200 OK: GET https://127.0.0.1:35743/mail/v4/messages/count" /client userID=00db769b-3660-44d1-9c1b-673418c505ec time="2026-09-17T09:53:57Z" msg="Syncing messages" time="2026-09-17T09:53:57Z" msg="Job started" time="2026-09-17T09:53:57Z" msg="200 OK: POST https://127.0.0.1:35743/mail/v4/messages" /client userID=00db769b-3660-44d1-9c1b-673418c505ec time="2026-09-17T09:53:57Z" msg="Job finished" time="2026-09-17T09:53:57Z" msg="All child jobs completed" sync- time="2026-09-17T09:53:57Z" msg="Synced messages" time="2026-09-17T09:53:57Z" msg="Finished user sync" .567247ms time="2026-09-17T09:53:57Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:53:57Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:53:57Z" msg="200 OK: POST https://127.0.0.1:35743/mail/v4/messages" /client userID=00db769b-3660-44d1-9c1b-673418c505ec time="2026-09-17T09:53:57Z" msg="200 OK: GET https://127.0.0.1:35743/core/v4/keys?E%40proton.local" /client userID=00db769b-3660-44d1-9c1b-673418c505ec time="2026-09-17T09:53:57Z" msg="200 OK: GET https://127.0.0.1:35743/core/v4/keys?E%40proton.local" /client userID=00db769b-3660-44d1-9c1b-673418c505ec time="2026-09-17T09:53:57Z" msg="200 OK: GET https://127.0.0.1:35743/contacts/v4/emails?E%40proton.local&P&PageS" /client userID=00db769b-3660-44d1-9c1b-673418c505ec time="2026-09-17T09:53:57Z" msg="200 OK: GET https://127.0.0.1:35743/contacts/v4/emails?E%40proton.local&P&PageS" /client userID=00db769b-3660-44d1-9c1b-673418c505ec time="2026-09-17T09:53:57Z" msg="200 OK: POST https://127.0.0.1:35743/mail/v4/messages/6b835cad-b7b9-4f09-9fca-dd60726dc9a8" /client userID=00db769b-3660-44d1-9c1b-673418c505ec time="2026-09-17T09:53:57Z" msg="Scheduling observability data sending" And SMTP client "1" sends DATA: # :1 -> *scenario """ From: Bridge Test <[user:user]@[domain]> To: Internal Bridge <[user:to]@[domain]> CC: Internal Bridge 2 <[user:cc]@[domain]> Content-Type: text/plain Subject: RCPT-CC test This is CC missing in RCPT test. Have a nice day! . """ Then it succeeds # :1 -> *scenario When user "bce04d0e-f9d9-4b4c-9737-45b282b324dc" connects and authenticates IMAP client "1" # :1 -> *scenario time="2026-09-17T09:53:57Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 8} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:53:58Z" msg="200 OK: GET https://127.0.0.1:35743/core/v4/events/AA==" /client userID=00db769b-3660-44d1-9c1b-673418c505ec time="2026-09-17T09:53:58Z" msg="Received new API event" new="Event BA==: messages: , , " old="AA==" time="2026-09-17T09:53:58Z" msg="Handling message created event" messageID=6b835cad-b7b9-4f09-9fca-dd60726dc9a8 subject="******** (a414bfbf)" time="2026-09-17T09:53:58Z" msg="200 OK: GET https://127.0.0.1:35743/mail/v4/messages/6b835cad-b7b9-4f09-9fca-dd60726dc9a8" /client userID=00db769b-3660-44d1-9c1b-673418c505ec time="2026-09-17T09:53:58Z" msg="Handling draft or sent updated event" isD messageID=6b835cad-b7b9-4f09-9fca-dd60726dc9a8 subject="******** (a414bfbf)" time="2026-09-17T09:53:58Z" msg="200 OK: GET https://127.0.0.1:35743/mail/v4/messages/6b835cad-b7b9-4f09-9fca-dd60726dc9a8" /client userID=00db769b-3660-44d1-9c1b-673418c505ec Then IMAP client "1" eventually sees the following messages in "Sent": # :1 -> *scenario | from | to | cc | subject | | bce04d0e-f9d9-4b4c-9737-45b282b324dc@proton.local | 3cb5c82a-7728-454c-94e5-6fd952dc2c02@proton.local | 86b13a15-daa6-4bc2-afe8-9349debb107d@proton.local | RCPT-CC test | And the body in the "POST" request to "/mail/v4/messages" is: # :1 -> *scenario """ { "Message": { "Subject": "RCPT-CC test", "Sender": { "Name": "Bridge Test" }, "ToList": [ { "Address": "[user:to]@[domain]", "Name": "Internal Bridge" } ], "CCList": [ { "Address": "[user:cc]@[domain]", "Name": "Internal Bridge 2" } ], "BCCList": [] } } """ time="2026-09-17T09:53:58Z" msg="Frontend service stopped" time="2026-09-17T09:53:58Z" msg="Frontend client stopped" time="2026-09-17T09:53:58Z" msg="Closing bridge" time="2026-09-17T09:53:58Z" msg="Stopping service" time="2026-09-17T09:53:58Z" msg="Closing user" userID=00db769b-3660-44d1-9c1b-673418c505ec time="2026-09-17T09:53:58Z" msg="De-registering user client, ID:00db769b-3660-44d1-9c1b-673418c505ec" time="2026-09-17T09:53:58Z" msg="Exiting IMAP Service" time="2026-09-17T09:53:58Z" msg="Exiting service main loop" time="2026-09-17T09:53:58Z" msg="Exiting service main loop" time="2026-09-17T09:53:58Z" msg="Exiting Service" time="2026-09-17T09:53:58Z" msg="Exiting service main loop" time="2026-09-17T09:53:58Z" msg="Exiting service" time="2026-09-17T09:53:58Z" msg="Closing IMAP Listener" time="2026-09-17T09:53:58Z" msg="Closing IMAP server" time="2026-09-17T09:53:58Z" msg="Closing SMTP Listener" time="2026-09-17T09:53:58Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:53:58Z" msg="Closing SMTP server" time="2026-09-17T09:53:58Z" msg="Closing service" And the body in the "POST" request to "/mail/v4/messages/.*" is: # :1 -> *scenario """ { "Packages": [ { "Addresses": { "[user:to]@[domain]": { "Type": 1 }, "[user:cc]@[domain]": { "Type": 1 } }, "Type": 1, "MIMEType": "text/plain" } ] } """ Feature: SMTP sending of plain messages time="2026-09-17T09:53:58Z" msg="User 'b968c258-8625-430e-92ee-2b022fb46f59' created with " /server/backend Background: Given there exists an account with username "b968c258-8625-430e-92ee-2b022fb46f59" and password "password" # :1 -> *scenario time="2026-09-17T09:53:59Z" msg="User '697495e6-72a7-47bc-a155-1ac7963ba548' created with " /server/backend And there exists an account with username "697495e6-72a7-47bc-a155-1ac7963ba548" and password "password" # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:53:59Z" msg="Starting bridge" time="2026-09-17T09:53:59Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/227/config3628441531/grpcFocusServerConfig.json /service time="2026-09-17T09:53:59Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/227/cache2598780514/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:53:59Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/227/cache2598780514/notifications/notification_cache: no such file or directory" time="2026-09-17T09:53:59Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/227/data1739710786/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/227/data1739710786/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:53:59Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:53:59Z" msg="Starting IMAP server" time="2026-09-17T09:53:59Z" msg="Starting SMTP server" time="2026-09-17T09:53:59Z" msg="Starting service" time="2026-09-17T09:53:59Z" msg="Starting service" time="2026-09-17T09:53:59Z" msg="Starting poll service" time="2026-09-17T09:53:59Z" msg="Checking for updates" time="2026-09-17T09:53:59Z" msg="Starting frontend service" time="2026-09-17T09:53:59Z" msg="Loading users" /user time="2026-09-17T09:53:59Z" msg="Finished loading users" /user time="2026-09-17T09:53:59Z" msg="Starting receiver service" time="2026-09-17T09:53:59Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/227/config3628441531/grpcServerConfig.json time="2026-09-17T09:53:59Z" msg="gRPC server listening on /tmp/bridge9229" time="2026-09-17T09:53:59Z" msg="Frontend service started" time="2026-09-17T09:53:59Z" msg="Starting frontend client" time="2026-09-17T09:53:59Z" msg="Not monitoring parent PID" time="2026-09-17T09:53:59Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:53:59Z" msg="200 OK: GET https://127.0.0.1:33827/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:53:59Z" msg="Frontend client started" When bridge starts # :1 -> *scenario time="2026-09-17T09:53:59Z" msg="Performing full user login" /user username="******** (805c0da3)" time="2026-09-17T09:53:59Z" msg="Authorizing user for login" /user username="******** (805c0da3)" time="2026-09-17T09:53:59Z" msg="200 OK: POST https://127.0.0.1:33827/auth/v4/info" /manager time="2026-09-17T09:54:00Z" msg="200 OK: POST https://127.0.0.1:33827/auth/v4" /manager time="2026-09-17T09:54:00Z" msg="Logging in authorized user" /user userID=1baedb88-bf1a-4c67-bcc6-da79a7f3b69f time="2026-09-17T09:54:00Z" msg="Adding vault user" userID=1baedb88-bf1a-4c67-bcc6-da79a7f3b69f time="2026-09-17T09:54:00Z" msg="Creating new user" userID=1baedb88-bf1a-4c67-bcc6-da79a7f3b69f time="2026-09-17T09:54:00Z" msg="404 GET https://127.0.0.1:33827/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:54:00Z" msg="404 GET https://127.0.0.1:33827/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:54:00Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:33827/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:54:00Z" msg="Creating user object" authUID=c47f21f8-bff3-4a4e-8b47-bd1a6125ebec numA numL userID=1baedb88-bf1a-4c67-bcc6-da79a7f3b69f time="2026-09-17T09:54:00Z" msg="200 OK: GET https://127.0.0.1:33827/core/v4/events/latest" /client userID=1baedb88-bf1a-4c67-bcc6-da79a7f3b69f time="2026-09-17T09:54:00Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:54:00Z" msg="200 OK: GET https://127.0.0.1:33827/core/v4/settings" /client userID=1baedb88-bf1a-4c67-bcc6-da79a7f3b69f time="2026-09-17T09:54:00Z" msg="Registering user client, ID:1baedb88-bf1a-4c67-bcc6-da79a7f3b69f" time="2026-09-17T09:54:00Z" msg="Starting service main loop" time="2026-09-17T09:54:00Z" msg="Starting user identity service" numA time="2026-09-17T09:54:00Z" msg="Starting service main loop" time="2026-09-17T09:54:00Z" msg="Starting service main loop" time="2026-09-17T09:54:00Z" msg="200 OK: GET https://127.0.0.1:33827/core/v4/labels?T" /client userID=1baedb88-bf1a-4c67-bcc6-da79a7f3b69f time="2026-09-17T09:54:00Z" msg="200 OK: GET https://127.0.0.1:33827/core/v4/labels?T" /client userID=1baedb88-bf1a-4c67-bcc6-da79a7f3b69f time="2026-09-17T09:54:00Z" msg="200 OK: GET https://127.0.0.1:33827/core/v4/labels?T" /client userID=1baedb88-bf1a-4c67-bcc6-da79a7f3b69f time="2026-09-17T09:54:00Z" msg="Setting labels" labelIDs="[0 2 4 5 9 1 3 6 7 8 10 12]" time="2026-09-17T09:54:00Z" msg="Adding user to imap server" addrID=e808b014-e95f-41cc-9107-d7aa05b50979 time="2026-09-17T09:54:00Z" msg="Creating new IMAP user" addrID=e808b014-e95f-41cc-9107-d7aa05b50979 time="2026-09-17T09:54:00Z" msg="Setting gluon ID" addrID=e808b014-e95f-41cc-9107-d7aa05b50979 gluonID=675c11f6-698a-4662-be1d-7e286ba4188f userID=1baedb88-bf1a-4c67-bcc6-da79a7f3b69f time="2026-09-17T09:54:00Z" msg="Created new IMAP user" addrID=e808b014-e95f-41cc-9107-d7aa05b50979 gluonID=675c11f6-698a-4662-be1d-7e286ba4188f time="2026-09-17T09:54:00Z" msg="Validating Listener State" time="2026-09-17T09:54:00Z" time="2026-09-17T09:54:00Z" msg="Received mailbox message count" gluonID=675c11f6-698a-4662-be1d-7e286ba4188f labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap And the user logs in with username "b968c258-8625-430e-92ee-2b022fb46f59" and password "password" # :1 -> *scenario time="2026-09-17T09:54:00Z" msg="Starting IMAP Service" time="2026-09-17T09:54:00Z" msg="Checking whether logged in user should re-sync. UserID:1baedb88-bf1a-4c67-bcc6-da79a7f3b69f" userID=1baedb88-bf1a-4c67-bcc6-da79a7f3b69f time="2026-09-17T09:54:00Z" msg="Sync triggered" time="2026-09-17T09:54:00Z" msg="Beginning user sync" start="2026-09-17 09:54:00.185884578 +0000 UTC m=+528.678186914" time="2026-09-17T09:54:00Z" msg="Syncing labels" And user "b968c258-8625-430e-92ee-2b022fb46f59" connects and authenticates SMTP client "1" # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:54:00Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=675c11f6-698a-4662-be1d-7e286ba4188f time="2026-09-17T09:54:00Z" msg="Sending observability data." time="2026-09-17T09:54:00Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=675c11f6-698a-4662-be1d-7e286ba4188f time="2026-09-17T09:54:00Z" msg="200 OK: POST https://127.0.0.1:33827/data/v1/metrics" /client userID=1baedb88-bf1a-4c67-bcc6-da79a7f3b69f time="2026-09-17T09:54:00Z" msg="Successfully sent observability data." time="2026-09-17T09:54:00Z" msg="200 OK: GET https://127.0.0.1:33827/mail/v4/settings" /client userID=1baedb88-bf1a-4c67-bcc6-da79a7f3b69f time="2026-09-17T09:54:00Z" msg="Mailbox created" /user remoteMailboxID=7 userID=675c11f6-698a-4662-be1d-7e286ba4188f time="2026-09-17T09:54:00Z" msg="Mailbox created" /user remoteMailboxID=8 userID=675c11f6-698a-4662-be1d-7e286ba4188f time="2026-09-17T09:54:00Z" msg="Mailbox created" /user remoteMailboxID=12 userID=675c11f6-698a-4662-be1d-7e286ba4188f time="2026-09-17T09:54:00Z" msg="Mailbox created" /user remoteMailboxID=5 userID=675c11f6-698a-4662-be1d-7e286ba4188f time="2026-09-17T09:54:00Z" msg="Mailbox created" /user remoteMailboxID=3 userID=675c11f6-698a-4662-be1d-7e286ba4188f time="2026-09-17T09:54:00Z" msg="Mailbox created" /user remoteMailboxID=6 userID=675c11f6-698a-4662-be1d-7e286ba4188f time="2026-09-17T09:54:00Z" msg="Mailbox created" /user remoteMailboxID=10 userID=675c11f6-698a-4662-be1d-7e286ba4188f time="2026-09-17T09:54:00Z" msg="Mailbox created" /user remoteMailboxID=0 userID=675c11f6-698a-4662-be1d-7e286ba4188f time="2026-09-17T09:54:00Z" msg="Mailbox created" /user remoteMailboxID=4 userID=675c11f6-698a-4662-be1d-7e286ba4188f time="2026-09-17T09:54:00Z" msg="Synced labels" time="2026-09-17T09:54:00Z" msg="200 OK: GET https://127.0.0.1:33827/mail/v4/messages/count" /client userID=1baedb88-bf1a-4c67-bcc6-da79a7f3b69f time="2026-09-17T09:54:00Z" msg="Syncing messages" time="2026-09-17T09:54:00Z" msg="Job started" time="2026-09-17T09:54:00Z" msg="200 OK: POST https://127.0.0.1:33827/mail/v4/messages" /client userID=1baedb88-bf1a-4c67-bcc6-da79a7f3b69f time="2026-09-17T09:54:00Z" msg="Job finished" time="2026-09-17T09:54:00Z" msg="All child jobs completed" sync- time="2026-09-17T09:54:00Z" msg="Synced messages" time="2026-09-17T09:54:00Z" msg="Finished user sync" .167645ms time="2026-09-17T09:54:00Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:54:00Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:54:00Z" msg="200 OK: POST https://127.0.0.1:33827/mail/v4/messages" /client userID=1baedb88-bf1a-4c67-bcc6-da79a7f3b69f time="2026-09-17T09:54:00Z" msg="200 OK: POST https://127.0.0.1:33827/mail/v4/attachments" /client userID=1baedb88-bf1a-4c67-bcc6-da79a7f3b69f time="2026-09-17T09:54:00Z" msg="200 OK: GET https://127.0.0.1:33827/core/v4/keys?E%40proton.local" /client userID=1baedb88-bf1a-4c67-bcc6-da79a7f3b69f time="2026-09-17T09:54:00Z" msg="200 OK: GET https://127.0.0.1:33827/contacts/v4/emails?E%40proton.local&P&PageS" /client userID=1baedb88-bf1a-4c67-bcc6-da79a7f3b69f time="2026-09-17T09:54:00Z" msg="200 OK: POST https://127.0.0.1:33827/mail/v4/messages/108d183a-a98b-4f2f-b2dd-19e07c0c206c" /client userID=1baedb88-bf1a-4c67-bcc6-da79a7f3b69f time="2026-09-17T09:54:00Z" msg="Scheduling observability data sending" Scenario: Basic message with attachment to internal account # features/smtp/send/plain_att.feature:11 When SMTP client "1" sends the following message from "b968c258-8625-430e-92ee-2b022fb46f59@proton.local" to "697495e6-72a7-47bc-a155-1ac7963ba548@proton.local": # :1 -> *scenario """ From: Bridge Test <[user:user]@[domain]> To: Internal Bridge <[user:to]@[domain]> Subject: Plain with attachment Content-Type: multipart/related; --bc5bd30245232f31b6c976adcd59bb0069c9b13f986f9e40c2571bb80aa16606 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; This is body of mail with attachment --bc5bd30245232f31b6c976adcd59bb0069c9b13f986f9e40c2571bb80aa16606 Content-Disposition: attachment; .png Content-Id: <9114fe6f0adfaf7fdf7a@protonmail.com> Content-Transfer-Encoding: base64 Content-Type: image/png iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQot tAAAAABJRU5ErkJggg== --bc5bd30245232f31b6c976adcd59bb0069c9b13f986f9e40c2571bb80aa16606-- """ Then it succeeds # :1 -> *scenario When user "b968c258-8625-430e-92ee-2b022fb46f59" connects and authenticates IMAP client "1" # :1 -> *scenario time="2026-09-17T09:54:00Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 5} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:54:01Z" msg="200 OK: GET https://127.0.0.1:33827/core/v4/events/AA==" /client userID=1baedb88-bf1a-4c67-bcc6-da79a7f3b69f time="2026-09-17T09:54:01Z" msg="Received new API event" new="Event BA==: messages: , , " old="AA==" time="2026-09-17T09:54:01Z" msg="Handling message created event" messageID=108d183a-a98b-4f2f-b2dd-19e07c0c206c subject="******** (333ee8ef)" time="2026-09-17T09:54:01Z" msg="200 OK: GET https://127.0.0.1:33827/mail/v4/messages/108d183a-a98b-4f2f-b2dd-19e07c0c206c" /client userID=1baedb88-bf1a-4c67-bcc6-da79a7f3b69f time="2026-09-17T09:54:01Z" msg="Handling draft or sent updated event" isD messageID=108d183a-a98b-4f2f-b2dd-19e07c0c206c subject="******** (333ee8ef)" time="2026-09-17T09:54:01Z" msg="200 OK: GET https://127.0.0.1:33827/mail/v4/messages/108d183a-a98b-4f2f-b2dd-19e07c0c206c" /client userID=1baedb88-bf1a-4c67-bcc6-da79a7f3b69f Then IMAP client "1" eventually sees the following messages in "Sent": # :1 -> *scenario | from | to | subject | | b968c258-8625-430e-92ee-2b022fb46f59@proton.local | 697495e6-72a7-47bc-a155-1ac7963ba548@proton.local | Plain with attachment | time="2026-09-17T09:54:01Z" msg="Frontend service stopped" time="2026-09-17T09:54:01Z" msg="Frontend client stopped" time="2026-09-17T09:54:01Z" msg="Closing bridge" time="2026-09-17T09:54:01Z" msg="Stopping service" time="2026-09-17T09:54:01Z" msg="Closing user" userID=1baedb88-bf1a-4c67-bcc6-da79a7f3b69f time="2026-09-17T09:54:01Z" msg="De-registering user client, ID:1baedb88-bf1a-4c67-bcc6-da79a7f3b69f" time="2026-09-17T09:54:01Z" msg="Exiting IMAP Service" time="2026-09-17T09:54:01Z" msg="Exiting service main loop" time="2026-09-17T09:54:01Z" msg="Exiting service main loop" time="2026-09-17T09:54:01Z" msg="Exiting Service" time="2026-09-17T09:54:01Z" msg="Exiting service main loop" time="2026-09-17T09:54:01Z" msg="Exiting service" time="2026-09-17T09:54:01Z" msg="Closing IMAP Listener" time="2026-09-17T09:54:01Z" msg="Closing IMAP server" time="2026-09-17T09:54:01Z" msg="Closing SMTP Listener" time="2026-09-17T09:54:01Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:54:01Z" msg="Closing SMTP server" time="2026-09-17T09:54:01Z" msg="Closing service" And the body in the "POST" request to "/mail/v4/messages" is: # :1 -> *scenario """ { "Message": { "Subject": "Plain with attachment", "Sender": { "Name": "Bridge Test" }, "ToList": [ { "Address": "[user:to]@[domain]", "Name": "Internal Bridge" } ], "CCList": [], "BCCList": [], "MIMEType": "text/plain" } } """ time="2026-09-17T09:54:01Z" msg="User '743ff444-57f0-4b17-a194-596a54bf395b' created with " /server/backend time="2026-09-17T09:54:02Z" msg="User '74df6cd3-288e-46ba-ae22-803bafe41b86' created with " /server/backend time="2026-09-17T09:54:02Z" msg="Starting bridge" time="2026-09-17T09:54:02Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/228/config570102343/grpcFocusServerConfig.json /service time="2026-09-17T09:54:02Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/228/cache3166702695/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:54:02Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/228/cache3166702695/notifications/notification_cache: no such file or directory" time="2026-09-17T09:54:02Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/228/data4061303430/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/228/data4061303430/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:54:02Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:54:02Z" msg="Starting IMAP server" time="2026-09-17T09:54:02Z" msg="Starting SMTP server" time="2026-09-17T09:54:02Z" msg="Starting service" time="2026-09-17T09:54:02Z" msg="Starting service" time="2026-09-17T09:54:02Z" msg="Starting poll service" time="2026-09-17T09:54:02Z" msg="Checking for updates" time="2026-09-17T09:54:02Z" msg="Starting frontend service" time="2026-09-17T09:54:02Z" msg="Starting receiver service" time="2026-09-17T09:54:02Z" msg="Loading users" /user time="2026-09-17T09:54:02Z" msg="Finished loading users" /user time="2026-09-17T09:54:02Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/228/config570102343/grpcServerConfig.json time="2026-09-17T09:54:02Z" msg="gRPC server listening on /tmp/bridge5742" time="2026-09-17T09:54:02Z" msg="Frontend service started" time="2026-09-17T09:54:02Z" msg="Starting frontend client" time="2026-09-17T09:54:02Z" msg="Not monitoring parent PID" time="2026-09-17T09:54:02Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:54:02Z" msg="200 OK: GET https://127.0.0.1:37891/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:54:02Z" msg="Frontend client started" time="2026-09-17T09:54:02Z" msg="Performing full user login" /user username="******** (9120df05)" time="2026-09-17T09:54:02Z" msg="Authorizing user for login" /user username="******** (9120df05)" time="2026-09-17T09:54:02Z" msg="200 OK: POST https://127.0.0.1:37891/auth/v4/info" /manager time="2026-09-17T09:54:02Z" msg="200 OK: POST https://127.0.0.1:37891/auth/v4" /manager time="2026-09-17T09:54:02Z" msg="Logging in authorized user" /user userID=2fd1e526-f04e-48e9-b5d9-328b97bd9849 time="2026-09-17T09:54:02Z" msg="Adding vault user" userID=2fd1e526-f04e-48e9-b5d9-328b97bd9849 time="2026-09-17T09:54:02Z" msg="Creating new user" userID=2fd1e526-f04e-48e9-b5d9-328b97bd9849 time="2026-09-17T09:54:02Z" msg="404 GET https://127.0.0.1:37891/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:54:02Z" msg="404 GET https://127.0.0.1:37891/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:54:02Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:37891/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:54:02Z" msg="Creating user object" authUID=4089c214-19f9-4838-ba2b-b4f4c5931137 numA numL userID=2fd1e526-f04e-48e9-b5d9-328b97bd9849 time="2026-09-17T09:54:02Z" msg="200 OK: GET https://127.0.0.1:37891/core/v4/events/latest" /client userID=2fd1e526-f04e-48e9-b5d9-328b97bd9849 time="2026-09-17T09:54:02Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:54:02Z" msg="200 OK: GET https://127.0.0.1:37891/core/v4/settings" /client userID=2fd1e526-f04e-48e9-b5d9-328b97bd9849 time="2026-09-17T09:54:02Z" msg="Registering user client, ID:2fd1e526-f04e-48e9-b5d9-328b97bd9849" time="2026-09-17T09:54:02Z" msg="Starting service main loop" time="2026-09-17T09:54:02Z" msg="Starting user identity service" numA time="2026-09-17T09:54:02Z" msg="Starting service main loop" time="2026-09-17T09:54:02Z" msg="Starting service main loop" time="2026-09-17T09:54:02Z" msg="200 OK: GET https://127.0.0.1:37891/core/v4/labels?T" /client userID=2fd1e526-f04e-48e9-b5d9-328b97bd9849 time="2026-09-17T09:54:02Z" msg="200 OK: GET https://127.0.0.1:37891/core/v4/labels?T" /client userID=2fd1e526-f04e-48e9-b5d9-328b97bd9849 time="2026-09-17T09:54:02Z" msg="200 OK: GET https://127.0.0.1:37891/core/v4/labels?T" /client userID=2fd1e526-f04e-48e9-b5d9-328b97bd9849 time="2026-09-17T09:54:02Z" msg="Setting labels" labelIDs="[0 2 4 6 7 8 9 10 1 3 5 12]" time="2026-09-17T09:54:02Z" msg="Adding user to imap server" addrID=3e4d2d21-6dc1-4c6e-8b34-ea246cf3f369 time="2026-09-17T09:54:02Z" msg="Creating new IMAP user" addrID=3e4d2d21-6dc1-4c6e-8b34-ea246cf3f369 time="2026-09-17T09:54:02Z" msg="Setting gluon ID" addrID=3e4d2d21-6dc1-4c6e-8b34-ea246cf3f369 gluonID=756da342-e600-4e2f-bebb-7f93bd5a3cc5 userID=2fd1e526-f04e-48e9-b5d9-328b97bd9849 time="2026-09-17T09:54:02Z" msg="Received mailbox message count" gluonID=756da342-e600-4e2f-bebb-7f93bd5a3cc5 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:54:02Z" msg="Created new IMAP user" addrID=3e4d2d21-6dc1-4c6e-8b34-ea246cf3f369 gluonID=756da342-e600-4e2f-bebb-7f93bd5a3cc5 time="2026-09-17T09:54:02Z" msg="Validating Listener State" time="2026-09-17T09:54:02Z" time="2026-09-17T09:54:02Z" msg="Checking whether logged in user should re-sync. UserID:2fd1e526-f04e-48e9-b5d9-328b97bd9849" userID=2fd1e526-f04e-48e9-b5d9-328b97bd9849 time="2026-09-17T09:54:02Z" msg="Starting IMAP Service" time="2026-09-17T09:54:02Z" msg="Sync triggered" time="2026-09-17T09:54:02Z" msg="Beginning user sync" start="2026-09-17 09:54:02.919065844 +0000 UTC m=+531.411368140" time="2026-09-17T09:54:02Z" msg="Syncing labels" time="2026-09-17T09:54:02Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=756da342-e600-4e2f-bebb-7f93bd5a3cc5 time="2026-09-17T09:54:02Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=756da342-e600-4e2f-bebb-7f93bd5a3cc5 time="2026-09-17T09:54:02Z" msg="Sending observability data." time="2026-09-17T09:54:02Z" msg="200 OK: POST https://127.0.0.1:37891/data/v1/metrics" /client userID=2fd1e526-f04e-48e9-b5d9-328b97bd9849 time="2026-09-17T09:54:02Z" msg="Successfully sent observability data." time="2026-09-17T09:54:02Z" msg="Mailbox created" /user remoteMailboxID=0 userID=756da342-e600-4e2f-bebb-7f93bd5a3cc5 time="2026-09-17T09:54:02Z" msg="200 OK: GET https://127.0.0.1:37891/mail/v4/settings" /client userID=2fd1e526-f04e-48e9-b5d9-328b97bd9849 time="2026-09-17T09:54:02Z" msg="Mailbox created" /user remoteMailboxID=4 userID=756da342-e600-4e2f-bebb-7f93bd5a3cc5 time="2026-09-17T09:54:02Z" msg="Mailbox created" /user remoteMailboxID=7 userID=756da342-e600-4e2f-bebb-7f93bd5a3cc5 time="2026-09-17T09:54:02Z" msg="Mailbox created" /user remoteMailboxID=8 userID=756da342-e600-4e2f-bebb-7f93bd5a3cc5 time="2026-09-17T09:54:02Z" msg="Mailbox created" /user remoteMailboxID=10 userID=756da342-e600-4e2f-bebb-7f93bd5a3cc5 time="2026-09-17T09:54:02Z" msg="Mailbox created" /user remoteMailboxID=3 userID=756da342-e600-4e2f-bebb-7f93bd5a3cc5 time="2026-09-17T09:54:02Z" msg="Mailbox created" /user remoteMailboxID=6 userID=756da342-e600-4e2f-bebb-7f93bd5a3cc5 time="2026-09-17T09:54:02Z" msg="Mailbox created" /user remoteMailboxID=5 userID=756da342-e600-4e2f-bebb-7f93bd5a3cc5 time="2026-09-17T09:54:02Z" msg="Mailbox created" /user remoteMailboxID=12 userID=756da342-e600-4e2f-bebb-7f93bd5a3cc5 time="2026-09-17T09:54:02Z" msg="Synced labels" time="2026-09-17T09:54:02Z" msg="200 OK: GET https://127.0.0.1:37891/mail/v4/messages/count" /client userID=2fd1e526-f04e-48e9-b5d9-328b97bd9849 time="2026-09-17T09:54:02Z" msg="Syncing messages" time="2026-09-17T09:54:02Z" msg="Job started" time="2026-09-17T09:54:02Z" msg="200 OK: POST https://127.0.0.1:37891/mail/v4/messages" /client userID=2fd1e526-f04e-48e9-b5d9-328b97bd9849 time="2026-09-17T09:54:02Z" msg="Job finished" time="2026-09-17T09:54:02Z" msg="All child jobs completed" sync- time="2026-09-17T09:54:02Z" msg="Synced messages" time="2026-09-17T09:54:02Z" msg="Finished user sync" .18165ms time="2026-09-17T09:54:02Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:54:02Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:54:02Z" msg="200 OK: POST https://127.0.0.1:37891/mail/v4/messages" /client userID=2fd1e526-f04e-48e9-b5d9-328b97bd9849 time="2026-09-17T09:54:02Z" msg="200 OK: POST https://127.0.0.1:37891/mail/v4/attachments" /client userID=2fd1e526-f04e-48e9-b5d9-328b97bd9849 time="2026-09-17T09:54:02Z" msg="200 OK: GET https://127.0.0.1:37891/core/v4/keys?E.bridge.qa%40gmail.com" /client userID=2fd1e526-f04e-48e9-b5d9-328b97bd9849 time="2026-09-17T09:54:02Z" msg="200 OK: GET https://127.0.0.1:37891/contacts/v4/emails?E.bridge.qa%40gmail.com&P&PageS" /client userID=2fd1e526-f04e-48e9-b5d9-328b97bd9849 time="2026-09-17T09:54:02Z" msg="200 OK: POST https://127.0.0.1:37891/mail/v4/messages/4b51fca4-2646-4eec-906d-70da671b1a21" /client userID=2fd1e526-f04e-48e9-b5d9-328b97bd9849 time="2026-09-17T09:54:02Z" msg="Scheduling observability data sending" Scenario: Plain message with attachment to external account # features/smtp/send/plain_att.feature:63 When SMTP client "1" sends the following message from "743ff444-57f0-4b17-a194-596a54bf395b@proton.local" to "pm.bridge.qa@gmail.com": # :1 -> *scenario """ From: Bridge Test <[user:user]@[domain]> To: External Bridge Subject: Plain with attachment external Content-Type: multipart/related; --bc5bd30245232f31b6c976adcd59bb0069c9b13f986f9e40c2571bb80aa16606 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; This is body of mail with attachment --bc5bd30245232f31b6c976adcd59bb0069c9b13f986f9e40c2571bb80aa16606 Content-Disposition: attachment; .png Content-Id: <9114fe6f0adfaf7fdf7a@protonmail.com> Content-Transfer-Encoding: base64 Content-Type: image/png iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQot tAAAAABJRU5ErkJggg== --bc5bd30245232f31b6c976adcd59bb0069c9b13f986f9e40c2571bb80aa16606-- """ Then it succeeds # :1 -> *scenario When user "743ff444-57f0-4b17-a194-596a54bf395b" connects and authenticates IMAP client "1" # :1 -> *scenario time="2026-09-17T09:54:03Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 0} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:54:03Z" msg="200 OK: GET https://127.0.0.1:37891/core/v4/events/AA==" /client userID=2fd1e526-f04e-48e9-b5d9-328b97bd9849 time="2026-09-17T09:54:03Z" msg="Received new API event" new="Event BA==: messages: , , " old="AA==" time="2026-09-17T09:54:03Z" msg="Handling message created event" messageID=4b51fca4-2646-4eec-906d-70da671b1a21 subject="******** (acff7c7e)" time="2026-09-17T09:54:03Z" msg="200 OK: GET https://127.0.0.1:37891/mail/v4/messages/4b51fca4-2646-4eec-906d-70da671b1a21" /client userID=2fd1e526-f04e-48e9-b5d9-328b97bd9849 time="2026-09-17T09:54:03Z" msg="Handling draft or sent updated event" isD messageID=4b51fca4-2646-4eec-906d-70da671b1a21 subject="******** (acff7c7e)" time="2026-09-17T09:54:03Z" msg="200 OK: GET https://127.0.0.1:37891/mail/v4/messages/4b51fca4-2646-4eec-906d-70da671b1a21" /client userID=2fd1e526-f04e-48e9-b5d9-328b97bd9849 Then IMAP client "1" eventually sees the following messages in "Sent": # :1 -> *scenario | from | to | subject | | 743ff444-57f0-4b17-a194-596a54bf395b@proton.local | pm.bridge.qa@gmail.com | Plain with attachment external | time="2026-09-17T09:54:03Z" msg="Frontend service stopped" time="2026-09-17T09:54:03Z" msg="Frontend client stopped" time="2026-09-17T09:54:03Z" msg="Closing bridge" time="2026-09-17T09:54:03Z" msg="Stopping service" time="2026-09-17T09:54:03Z" msg="Closing user" userID=2fd1e526-f04e-48e9-b5d9-328b97bd9849 time="2026-09-17T09:54:03Z" msg="De-registering user client, ID:2fd1e526-f04e-48e9-b5d9-328b97bd9849" time="2026-09-17T09:54:03Z" msg="Exiting IMAP Service" time="2026-09-17T09:54:03Z" msg="Exiting service main loop" time="2026-09-17T09:54:03Z" msg="Exiting service main loop" time="2026-09-17T09:54:03Z" msg="Exiting Service" time="2026-09-17T09:54:03Z" msg="Exiting service main loop" time="2026-09-17T09:54:03Z" msg="Exiting service" time="2026-09-17T09:54:03Z" msg="Closing IMAP Listener" time="2026-09-17T09:54:03Z" msg="Closing IMAP server" time="2026-09-17T09:54:03Z" msg="Closing SMTP Listener" time="2026-09-17T09:54:03Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:54:03Z" msg="Closing SMTP server" time="2026-09-17T09:54:03Z" msg="Closing service" And the body in the "POST" request to "/mail/v4/messages" is: # :1 -> *scenario """ { "Message": { "Subject": "Plain with attachment external", "Sender": { "Name": "Bridge Test" }, "ToList": [ { "Address": "pm.bridge.qa@gmail.com", "Name": "External Bridge" } ], "CCList": [], "BCCList": [], "MIMEType": "text/plain" } } """ time="2026-09-17T09:54:04Z" msg="User '7c74d965-b410-4859-877b-305c061cc076' created with " /server/backend time="2026-09-17T09:54:04Z" msg="User '89403265-7563-46a9-af25-066b5479fce7' created with " /server/backend time="2026-09-17T09:54:05Z" msg="Starting bridge" time="2026-09-17T09:54:05Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/229/config3566277890/grpcFocusServerConfig.json /service time="2026-09-17T09:54:05Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/229/cache3055910177/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:54:05Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/229/cache3055910177/notifications/notification_cache: no such file or directory" time="2026-09-17T09:54:05Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/229/data768470174/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/229/data768470174/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:54:05Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:54:05Z" msg="Starting IMAP server" time="2026-09-17T09:54:05Z" msg="Starting SMTP server" time="2026-09-17T09:54:05Z" msg="Starting service" time="2026-09-17T09:54:05Z" msg="Starting service" time="2026-09-17T09:54:05Z" msg="Starting poll service" time="2026-09-17T09:54:05Z" msg="Starting frontend service" time="2026-09-17T09:54:05Z" msg="Starting receiver service" time="2026-09-17T09:54:05Z" msg="Checking for updates" time="2026-09-17T09:54:05Z" msg="Loading users" /user time="2026-09-17T09:54:05Z" msg="Finished loading users" /user time="2026-09-17T09:54:05Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/229/config3566277890/grpcServerConfig.json time="2026-09-17T09:54:05Z" msg="gRPC server listening on /tmp/bridge7118" time="2026-09-17T09:54:05Z" msg="Frontend service started" time="2026-09-17T09:54:05Z" msg="Starting frontend client" time="2026-09-17T09:54:05Z" msg="Not monitoring parent PID" time="2026-09-17T09:54:05Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:54:05Z" msg="200 OK: GET https://127.0.0.1:45003/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:54:05Z" msg="Frontend client started" time="2026-09-17T09:54:05Z" msg="Performing full user login" /user username="******** (f2fa40ff)" time="2026-09-17T09:54:05Z" msg="Authorizing user for login" /user username="******** (f2fa40ff)" time="2026-09-17T09:54:05Z" msg="200 OK: POST https://127.0.0.1:45003/auth/v4/info" /manager time="2026-09-17T09:54:05Z" msg="200 OK: POST https://127.0.0.1:45003/auth/v4" /manager time="2026-09-17T09:54:05Z" msg="Logging in authorized user" /user userID=1ffebff6-6b25-4245-8945-309652254966 time="2026-09-17T09:54:05Z" msg="Adding vault user" userID=1ffebff6-6b25-4245-8945-309652254966 time="2026-09-17T09:54:05Z" msg="Creating new user" userID=1ffebff6-6b25-4245-8945-309652254966 time="2026-09-17T09:54:05Z" msg="404 GET https://127.0.0.1:45003/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:54:05Z" msg="404 GET https://127.0.0.1:45003/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:54:05Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:45003/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:54:05Z" msg="Creating user object" authUID=54aaf3e4-ae03-4de1-a928-b1a11848d57a numA numL userID=1ffebff6-6b25-4245-8945-309652254966 time="2026-09-17T09:54:05Z" msg="200 OK: GET https://127.0.0.1:45003/core/v4/events/latest" /client userID=1ffebff6-6b25-4245-8945-309652254966 time="2026-09-17T09:54:05Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:54:05Z" msg="200 OK: GET https://127.0.0.1:45003/core/v4/settings" /client userID=1ffebff6-6b25-4245-8945-309652254966 time="2026-09-17T09:54:05Z" msg="Registering user client, ID:1ffebff6-6b25-4245-8945-309652254966" time="2026-09-17T09:54:05Z" msg="Starting service main loop" time="2026-09-17T09:54:05Z" msg="Starting user identity service" numA time="2026-09-17T09:54:05Z" msg="Starting service main loop" time="2026-09-17T09:54:05Z" msg="Starting service main loop" time="2026-09-17T09:54:05Z" msg="200 OK: GET https://127.0.0.1:45003/core/v4/labels?T" /client userID=1ffebff6-6b25-4245-8945-309652254966 time="2026-09-17T09:54:05Z" msg="200 OK: GET https://127.0.0.1:45003/core/v4/labels?T" /client userID=1ffebff6-6b25-4245-8945-309652254966 time="2026-09-17T09:54:05Z" msg="200 OK: GET https://127.0.0.1:45003/core/v4/labels?T" /client userID=1ffebff6-6b25-4245-8945-309652254966 time="2026-09-17T09:54:05Z" msg="Setting labels" labelIDs="[10 12 1 2 7 8 9 0 3 4 5 6]" time="2026-09-17T09:54:05Z" msg="Adding user to imap server" addrID=d615d4da-a2b7-4ede-9898-cc4be8516891 time="2026-09-17T09:54:05Z" msg="Creating new IMAP user" addrID=d615d4da-a2b7-4ede-9898-cc4be8516891 time="2026-09-17T09:54:05Z" msg="Setting gluon ID" addrID=d615d4da-a2b7-4ede-9898-cc4be8516891 gluonID=d09c69a8-54c9-4021-a759-cdbcaf0c01e2 userID=1ffebff6-6b25-4245-8945-309652254966 time="2026-09-17T09:54:05Z" msg="Received mailbox message count" gluonID=d09c69a8-54c9-4021-a759-cdbcaf0c01e2 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:54:05Z" msg="Created new IMAP user" addrID=d615d4da-a2b7-4ede-9898-cc4be8516891 gluonID=d09c69a8-54c9-4021-a759-cdbcaf0c01e2 time="2026-09-17T09:54:05Z" msg="Validating Listener State" time="2026-09-17T09:54:05Z" time="2026-09-17T09:54:05Z" msg="Checking whether logged in user should re-sync. UserID:1ffebff6-6b25-4245-8945-309652254966" userID=1ffebff6-6b25-4245-8945-309652254966 time="2026-09-17T09:54:05Z" msg="Starting IMAP Service" time="2026-09-17T09:54:05Z" msg="Sync triggered" time="2026-09-17T09:54:05Z" msg="Beginning user sync" start="2026-09-17 09:54:05.64088354 +0000 UTC m=+534.133185836" time="2026-09-17T09:54:05Z" msg="Syncing labels" time="2026-09-17T09:54:05Z" msg="Sending observability data." time="2026-09-17T09:54:05Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=d09c69a8-54c9-4021-a759-cdbcaf0c01e2 time="2026-09-17T09:54:05Z" msg="200 OK: POST https://127.0.0.1:45003/data/v1/metrics" /client userID=1ffebff6-6b25-4245-8945-309652254966 time="2026-09-17T09:54:05Z" msg="Successfully sent observability data." time="2026-09-17T09:54:05Z" msg="200 OK: GET https://127.0.0.1:45003/mail/v4/settings" /client userID=1ffebff6-6b25-4245-8945-309652254966 time="2026-09-17T09:54:05Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=d09c69a8-54c9-4021-a759-cdbcaf0c01e2 time="2026-09-17T09:54:05Z" msg="Mailbox created" /user remoteMailboxID=5 userID=d09c69a8-54c9-4021-a759-cdbcaf0c01e2 time="2026-09-17T09:54:05Z" msg="Mailbox created" /user remoteMailboxID=7 userID=d09c69a8-54c9-4021-a759-cdbcaf0c01e2 time="2026-09-17T09:54:05Z" msg="Mailbox created" /user remoteMailboxID=0 userID=d09c69a8-54c9-4021-a759-cdbcaf0c01e2 time="2026-09-17T09:54:05Z" msg="Mailbox created" /user remoteMailboxID=3 userID=d09c69a8-54c9-4021-a759-cdbcaf0c01e2 time="2026-09-17T09:54:05Z" msg="Mailbox created" /user remoteMailboxID=4 userID=d09c69a8-54c9-4021-a759-cdbcaf0c01e2 time="2026-09-17T09:54:05Z" msg="Mailbox created" /user remoteMailboxID=6 userID=d09c69a8-54c9-4021-a759-cdbcaf0c01e2 time="2026-09-17T09:54:05Z" msg="Mailbox created" /user remoteMailboxID=10 userID=d09c69a8-54c9-4021-a759-cdbcaf0c01e2 time="2026-09-17T09:54:05Z" msg="Mailbox created" /user remoteMailboxID=12 userID=d09c69a8-54c9-4021-a759-cdbcaf0c01e2 time="2026-09-17T09:54:05Z" msg="Mailbox created" /user remoteMailboxID=8 userID=d09c69a8-54c9-4021-a759-cdbcaf0c01e2 time="2026-09-17T09:54:05Z" msg="Synced labels" time="2026-09-17T09:54:05Z" msg="200 OK: GET https://127.0.0.1:45003/mail/v4/messages/count" /client userID=1ffebff6-6b25-4245-8945-309652254966 time="2026-09-17T09:54:05Z" msg="Syncing messages" time="2026-09-17T09:54:05Z" msg="Job started" time="2026-09-17T09:54:05Z" msg="200 OK: POST https://127.0.0.1:45003/mail/v4/messages" /client userID=1ffebff6-6b25-4245-8945-309652254966 time="2026-09-17T09:54:05Z" msg="Job finished" time="2026-09-17T09:54:05Z" msg="All child jobs completed" sync- time="2026-09-17T09:54:05Z" msg="Synced messages" time="2026-09-17T09:54:05Z" msg="Finished user sync" .283415ms time="2026-09-17T09:54:05Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:54:05Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:54:05Z" msg="200 OK: POST https://127.0.0.1:45003/mail/v4/messages" /client userID=1ffebff6-6b25-4245-8945-309652254966 time="2026-09-17T09:54:05Z" msg="200 OK: POST https://127.0.0.1:45003/mail/v4/attachments" /client userID=1ffebff6-6b25-4245-8945-309652254966 time="2026-09-17T09:54:05Z" msg="200 OK: GET https://127.0.0.1:45003/core/v4/keys?E.bridge.qa%40gmail.com" /client userID=1ffebff6-6b25-4245-8945-309652254966 time="2026-09-17T09:54:05Z" msg="200 OK: GET https://127.0.0.1:45003/core/v4/keys?E%40seznam.cz" /client userID=1ffebff6-6b25-4245-8945-309652254966 time="2026-09-17T09:54:05Z" msg="200 OK: GET https://127.0.0.1:45003/contacts/v4/emails?E.bridge.qa%40gmail.com&P&PageS" /client userID=1ffebff6-6b25-4245-8945-309652254966 time="2026-09-17T09:54:05Z" msg="200 OK: GET https://127.0.0.1:45003/contacts/v4/emails?E%40seznam.cz&P&PageS" /client userID=1ffebff6-6b25-4245-8945-309652254966 time="2026-09-17T09:54:05Z" msg="200 OK: POST https://127.0.0.1:45003/mail/v4/messages/190d0505-ed72-46f3-9034-890b5750a3d3" /client userID=1ffebff6-6b25-4245-8945-309652254966 time="2026-09-17T09:54:05Z" msg="Scheduling observability data sending" Scenario: Plain message with attachment to two external accounts # features/smtp/send/plain_att.feature:115 When SMTP client "1" sends the following message from "7c74d965-b410-4859-877b-305c061cc076@proton.local" to "pm.bridge.qa@gmail.com": # :1 -> *scenario """ From: Bridge Test <[user:user]@[domain]> To: External Bridge 1 CC: External Bridge 2 Subject: Plain with attachment external PGP and external CC Content-Type: multipart/mixed; --bc5bd30245232f31b6c976adcd59bb0069c9b13f986f9e40c2571bb80aa16606 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; This is body of mail with attachment --bc5bd30245232f31b6c976adcd59bb0069c9b13f986f9e40c2571bb80aa16606 Content-Disposition: attachment; .png Content-Id: <9114fe6f0adfaf7fdf7a@protonmail.com> Content-Transfer-Encoding: base64 Content-Type: image/png iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQot tAAAAABJRU5ErkJggg== --bc5bd30245232f31b6c976adcd59bb0069c9b13f986f9e40c2571bb80aa16606-- """ Then it succeeds # :1 -> *scenario When user "7c74d965-b410-4859-877b-305c061cc076" connects and authenticates IMAP client "1" # :1 -> *scenario time="2026-09-17T09:54:05Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 3} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:54:06Z" msg="200 OK: GET https://127.0.0.1:45003/core/v4/events/AA==" /client userID=1ffebff6-6b25-4245-8945-309652254966 time="2026-09-17T09:54:06Z" msg="Received new API event" new="Event BA==: messages: , , " old="AA==" time="2026-09-17T09:54:06Z" msg="Handling message created event" messageID=190d0505-ed72-46f3-9034-890b5750a3d3 subject="******** (c18df004)" time="2026-09-17T09:54:06Z" msg="200 OK: GET https://127.0.0.1:45003/mail/v4/messages/190d0505-ed72-46f3-9034-890b5750a3d3" /client userID=1ffebff6-6b25-4245-8945-309652254966 time="2026-09-17T09:54:06Z" msg="Handling draft or sent updated event" isD messageID=190d0505-ed72-46f3-9034-890b5750a3d3 subject="******** (c18df004)" time="2026-09-17T09:54:06Z" msg="200 OK: GET https://127.0.0.1:45003/mail/v4/messages/190d0505-ed72-46f3-9034-890b5750a3d3" /client userID=1ffebff6-6b25-4245-8945-309652254966 Then IMAP client "1" eventually sees the following messages in "Sent": # :1 -> *scenario | from | to | cc | subject | | 7c74d965-b410-4859-877b-305c061cc076@proton.local | pm.bridge.qa@gmail.com | bridgeqa@seznam.cz | Plain with attachment external PGP and external CC | time="2026-09-17T09:54:06Z" msg="Frontend service stopped" time="2026-09-17T09:54:06Z" msg="Frontend client stopped" time="2026-09-17T09:54:06Z" msg="Closing bridge" time="2026-09-17T09:54:06Z" msg="Stopping service" time="2026-09-17T09:54:06Z" msg="Closing user" userID=1ffebff6-6b25-4245-8945-309652254966 time="2026-09-17T09:54:06Z" msg="De-registering user client, ID:1ffebff6-6b25-4245-8945-309652254966" time="2026-09-17T09:54:06Z" msg="Exiting IMAP Service" time="2026-09-17T09:54:06Z" msg="Exiting service main loop" time="2026-09-17T09:54:06Z" msg="Exiting service main loop" time="2026-09-17T09:54:06Z" msg="Exiting Service" time="2026-09-17T09:54:06Z" msg="Exiting service main loop" time="2026-09-17T09:54:06Z" msg="Exiting service" time="2026-09-17T09:54:06Z" msg="Closing IMAP Listener" time="2026-09-17T09:54:06Z" msg="Closing IMAP server" time="2026-09-17T09:54:06Z" msg="Closing SMTP Listener" time="2026-09-17T09:54:06Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:54:06Z" msg="Closing SMTP server" time="2026-09-17T09:54:06Z" msg="Closing service" And the body in the "POST" request to "/mail/v4/messages" is: # :1 -> *scenario """ { "Message": { "Subject": "Plain with attachment external PGP and external CC", "Sender": { "Name": "Bridge Test" }, "ToList": [ { "Address": "pm.bridge.qa@gmail.com", "Name": "External Bridge 1" } ], "CCList": [ { "Address": "bridgeqa@seznam.cz", "Name": "External Bridge 2" } ], "BCCList": [], "MIMEType": "text/plain" } } """ time="2026-09-17T09:54:06Z" msg="User '1797703b-1d28-465b-afcf-7a232e3514a9' created with " /server/backend time="2026-09-17T09:54:07Z" msg="User '2554a9ba-bfcd-4671-a11a-75e35ba8a39a' created with " /server/backend time="2026-09-17T09:54:07Z" msg="Starting bridge" time="2026-09-17T09:54:07Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/230/config2084142715/grpcFocusServerConfig.json /service time="2026-09-17T09:54:07Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/230/cache2037683867/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:54:07Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/230/cache2037683867/notifications/notification_cache: no such file or directory" time="2026-09-17T09:54:07Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/230/data3740745743/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/230/data3740745743/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:54:07Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:54:07Z" msg="Starting IMAP server" time="2026-09-17T09:54:07Z" msg="Starting SMTP server" time="2026-09-17T09:54:07Z" msg="Starting service" time="2026-09-17T09:54:07Z" msg="Starting service" time="2026-09-17T09:54:07Z" msg="Starting receiver service" time="2026-09-17T09:54:07Z" msg="Starting frontend service" time="2026-09-17T09:54:07Z" msg="Starting poll service" time="2026-09-17T09:54:07Z" msg="Checking for updates" time="2026-09-17T09:54:07Z" msg="Loading users" /user time="2026-09-17T09:54:07Z" msg="Finished loading users" /user time="2026-09-17T09:54:07Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/230/config2084142715/grpcServerConfig.json time="2026-09-17T09:54:07Z" msg="gRPC server listening on /tmp/bridge0064" time="2026-09-17T09:54:07Z" msg="Frontend service started" time="2026-09-17T09:54:07Z" msg="Starting frontend client" time="2026-09-17T09:54:07Z" msg="Not monitoring parent PID" time="2026-09-17T09:54:07Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:54:07Z" msg="200 OK: GET https://127.0.0.1:46189/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:54:07Z" msg="Frontend client started" time="2026-09-17T09:54:07Z" msg="Performing full user login" /user username="******** (b813d5a2)" time="2026-09-17T09:54:07Z" msg="Authorizing user for login" /user username="******** (b813d5a2)" time="2026-09-17T09:54:07Z" msg="200 OK: POST https://127.0.0.1:46189/auth/v4/info" /manager time="2026-09-17T09:54:08Z" msg="200 OK: POST https://127.0.0.1:46189/auth/v4" /manager time="2026-09-17T09:54:08Z" msg="Logging in authorized user" /user userID=48f5acaf-fa70-4ee6-b6f0-857fa8473116 time="2026-09-17T09:54:08Z" msg="Adding vault user" userID=48f5acaf-fa70-4ee6-b6f0-857fa8473116 time="2026-09-17T09:54:08Z" msg="Creating new user" userID=48f5acaf-fa70-4ee6-b6f0-857fa8473116 time="2026-09-17T09:54:08Z" msg="404 GET https://127.0.0.1:46189/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:54:08Z" msg="404 GET https://127.0.0.1:46189/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:54:08Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:46189/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:54:08Z" msg="Creating user object" authUID=ebacd567-57e5-4592-90f9-713bdd91911a numA numL userID=48f5acaf-fa70-4ee6-b6f0-857fa8473116 time="2026-09-17T09:54:08Z" msg="200 OK: GET https://127.0.0.1:46189/core/v4/events/latest" /client userID=48f5acaf-fa70-4ee6-b6f0-857fa8473116 time="2026-09-17T09:54:08Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:54:08Z" msg="200 OK: GET https://127.0.0.1:46189/core/v4/settings" /client userID=48f5acaf-fa70-4ee6-b6f0-857fa8473116 time="2026-09-17T09:54:08Z" msg="Registering user client, ID:48f5acaf-fa70-4ee6-b6f0-857fa8473116" time="2026-09-17T09:54:08Z" msg="Starting service main loop" time="2026-09-17T09:54:08Z" msg="Starting service main loop" time="2026-09-17T09:54:08Z" msg="Starting user identity service" numA time="2026-09-17T09:54:08Z" msg="Starting service main loop" time="2026-09-17T09:54:08Z" msg="200 OK: GET https://127.0.0.1:46189/core/v4/labels?T" /client userID=48f5acaf-fa70-4ee6-b6f0-857fa8473116 time="2026-09-17T09:54:08Z" msg="200 OK: GET https://127.0.0.1:46189/core/v4/labels?T" /client userID=48f5acaf-fa70-4ee6-b6f0-857fa8473116 time="2026-09-17T09:54:08Z" msg="200 OK: GET https://127.0.0.1:46189/core/v4/labels?T" /client userID=48f5acaf-fa70-4ee6-b6f0-857fa8473116 time="2026-09-17T09:54:08Z" msg="Setting labels" labelIDs="[7 8 12 1 3 4 6 9 10 0 2 5]" time="2026-09-17T09:54:08Z" msg="Adding user to imap server" addrID=ffa52621-ce24-496e-ba30-0cda5813ad1b time="2026-09-17T09:54:08Z" msg="Creating new IMAP user" addrID=ffa52621-ce24-496e-ba30-0cda5813ad1b time="2026-09-17T09:54:08Z" msg="Setting gluon ID" addrID=ffa52621-ce24-496e-ba30-0cda5813ad1b gluonID=328da85d-985f-4a06-ad34-6f65dfbb7d55 userID=48f5acaf-fa70-4ee6-b6f0-857fa8473116 time="2026-09-17T09:54:08Z" msg="Received mailbox message count" gluonID=328da85d-985f-4a06-ad34-6f65dfbb7d55 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:54:08Z" msg="Created new IMAP user" addrID=ffa52621-ce24-496e-ba30-0cda5813ad1b gluonID=328da85d-985f-4a06-ad34-6f65dfbb7d55 time="2026-09-17T09:54:08Z" msg="Validating Listener State" time="2026-09-17T09:54:08Z" time="2026-09-17T09:54:08Z" msg="Starting IMAP Service" time="2026-09-17T09:54:08Z" msg="Checking whether logged in user should re-sync. UserID:48f5acaf-fa70-4ee6-b6f0-857fa8473116" userID=48f5acaf-fa70-4ee6-b6f0-857fa8473116 time="2026-09-17T09:54:08Z" msg="Sync triggered" time="2026-09-17T09:54:08Z" msg="Beginning user sync" start="2026-09-17 09:54:08.385867581 +0000 UTC m=+536.878169877" time="2026-09-17T09:54:08Z" msg="Syncing labels" Scenario: Basic message with multiple different attachments to internal account # features/smtp/send/plain_att.feature:173 When user "1797703b-1d28-465b-afcf-7a232e3514a9" connects and authenticates SMTP client "1" # :1 -> *scenario time="2026-09-17T09:54:08Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=328da85d-985f-4a06-ad34-6f65dfbb7d55 time="2026-09-17T09:54:08Z" msg="Sending observability data." time="2026-09-17T09:54:08Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=328da85d-985f-4a06-ad34-6f65dfbb7d55 time="2026-09-17T09:54:08Z" msg="200 OK: POST https://127.0.0.1:46189/data/v1/metrics" /client userID=48f5acaf-fa70-4ee6-b6f0-857fa8473116 time="2026-09-17T09:54:08Z" msg="Successfully sent observability data." time="2026-09-17T09:54:08Z" msg="Mailbox created" /user remoteMailboxID=3 userID=328da85d-985f-4a06-ad34-6f65dfbb7d55 time="2026-09-17T09:54:08Z" msg="200 OK: GET https://127.0.0.1:46189/mail/v4/settings" /client userID=48f5acaf-fa70-4ee6-b6f0-857fa8473116 time="2026-09-17T09:54:08Z" msg="Mailbox created" /user remoteMailboxID=4 userID=328da85d-985f-4a06-ad34-6f65dfbb7d55 time="2026-09-17T09:54:08Z" msg="Mailbox created" /user remoteMailboxID=10 userID=328da85d-985f-4a06-ad34-6f65dfbb7d55 time="2026-09-17T09:54:08Z" msg="Mailbox created" /user remoteMailboxID=5 userID=328da85d-985f-4a06-ad34-6f65dfbb7d55 time="2026-09-17T09:54:08Z" msg="Mailbox created" /user remoteMailboxID=12 userID=328da85d-985f-4a06-ad34-6f65dfbb7d55 time="2026-09-17T09:54:08Z" msg="Mailbox created" /user remoteMailboxID=6 userID=328da85d-985f-4a06-ad34-6f65dfbb7d55 time="2026-09-17T09:54:08Z" msg="Mailbox created" /user remoteMailboxID=0 userID=328da85d-985f-4a06-ad34-6f65dfbb7d55 time="2026-09-17T09:54:08Z" msg="Mailbox created" /user remoteMailboxID=7 userID=328da85d-985f-4a06-ad34-6f65dfbb7d55 time="2026-09-17T09:54:08Z" msg="Mailbox created" /user remoteMailboxID=8 userID=328da85d-985f-4a06-ad34-6f65dfbb7d55 time="2026-09-17T09:54:08Z" msg="Synced labels" time="2026-09-17T09:54:08Z" msg="200 OK: GET https://127.0.0.1:46189/mail/v4/messages/count" /client userID=48f5acaf-fa70-4ee6-b6f0-857fa8473116 time="2026-09-17T09:54:08Z" msg="Syncing messages" time="2026-09-17T09:54:08Z" msg="Job started" time="2026-09-17T09:54:08Z" msg="200 OK: POST https://127.0.0.1:46189/mail/v4/messages" /client userID=48f5acaf-fa70-4ee6-b6f0-857fa8473116 time="2026-09-17T09:54:08Z" msg="Job finished" time="2026-09-17T09:54:08Z" msg="All child jobs completed" sync- time="2026-09-17T09:54:08Z" msg="Synced messages" time="2026-09-17T09:54:08Z" msg="Finished user sync" .015601ms time="2026-09-17T09:54:08Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:54:08Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:54:08Z" msg="200 OK: POST https://127.0.0.1:46189/mail/v4/messages" /client userID=48f5acaf-fa70-4ee6-b6f0-857fa8473116 time="2026-09-17T09:54:08Z" msg="200 OK: POST https://127.0.0.1:46189/mail/v4/attachments" /client userID=48f5acaf-fa70-4ee6-b6f0-857fa8473116 time="2026-09-17T09:54:08Z" msg="200 OK: POST https://127.0.0.1:46189/mail/v4/attachments" /client userID=48f5acaf-fa70-4ee6-b6f0-857fa8473116 time="2026-09-17T09:54:08Z" msg="200 OK: POST https://127.0.0.1:46189/mail/v4/attachments" /client userID=48f5acaf-fa70-4ee6-b6f0-857fa8473116 time="2026-09-17T09:54:08Z" msg="200 OK: POST https://127.0.0.1:46189/mail/v4/attachments" /client userID=48f5acaf-fa70-4ee6-b6f0-857fa8473116 time="2026-09-17T09:54:08Z" msg="200 OK: POST https://127.0.0.1:46189/mail/v4/attachments" /client userID=48f5acaf-fa70-4ee6-b6f0-857fa8473116 time="2026-09-17T09:54:08Z" msg="200 OK: POST https://127.0.0.1:46189/mail/v4/attachments" /client userID=48f5acaf-fa70-4ee6-b6f0-857fa8473116 time="2026-09-17T09:54:08Z" msg="200 OK: POST https://127.0.0.1:46189/mail/v4/attachments" /client userID=48f5acaf-fa70-4ee6-b6f0-857fa8473116 time="2026-09-17T09:54:08Z" msg="200 OK: GET https://127.0.0.1:46189/core/v4/keys?E%40proton.local" /client userID=48f5acaf-fa70-4ee6-b6f0-857fa8473116 time="2026-09-17T09:54:08Z" msg="200 OK: GET https://127.0.0.1:46189/contacts/v4/emails?E%40proton.local&P&PageS" /client userID=48f5acaf-fa70-4ee6-b6f0-857fa8473116 time="2026-09-17T09:54:08Z" msg="200 OK: POST https://127.0.0.1:46189/mail/v4/messages/df370ac9-03b6-4ced-910e-35263b5aefc1" /client userID=48f5acaf-fa70-4ee6-b6f0-857fa8473116 time="2026-09-17T09:54:08Z" msg="Scheduling observability data sending" And SMTP client "1" sends the following EML "plain/text_plain_multiple_attachments.template.eml" from "1797703b-1d28-465b-afcf-7a232e3514a9@proton.local" to "2554a9ba-bfcd-4671-a11a-75e35ba8a39a@proton.local" # :1 -> *scenario Then it succeeds # :1 -> *scenario When user "1797703b-1d28-465b-afcf-7a232e3514a9" connects and authenticates IMAP client "1" # :1 -> *scenario time="2026-09-17T09:54:08Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 5} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:54:09Z" msg="200 OK: GET https://127.0.0.1:46189/core/v4/events/AA==" /client userID=48f5acaf-fa70-4ee6-b6f0-857fa8473116 time="2026-09-17T09:54:09Z" msg="Received new API event" new="Event Cg==: messages: , , " old="AA==" time="2026-09-17T09:54:09Z" msg="Handling message created event" messageID=df370ac9-03b6-4ced-910e-35263b5aefc1 subject="******** (f140a214)" time="2026-09-17T09:54:09Z" msg="200 OK: GET https://127.0.0.1:46189/mail/v4/messages/df370ac9-03b6-4ced-910e-35263b5aefc1" /client userID=48f5acaf-fa70-4ee6-b6f0-857fa8473116 time="2026-09-17T09:54:09Z" msg="Handling draft or sent updated event" isD messageID=df370ac9-03b6-4ced-910e-35263b5aefc1 subject="******** (f140a214)" time="2026-09-17T09:54:09Z" msg="200 OK: GET https://127.0.0.1:46189/mail/v4/messages/df370ac9-03b6-4ced-910e-35263b5aefc1" /client userID=48f5acaf-fa70-4ee6-b6f0-857fa8473116 Then IMAP client "1" eventually sees the following messages in "Sent": # :1 -> *scenario | from | to | subject | | 1797703b-1d28-465b-afcf-7a232e3514a9@proton.local | 2554a9ba-bfcd-4671-a11a-75e35ba8a39a@proton.local | Plain with multiple different attachments | time="2026-09-17T09:54:09Z" msg="Frontend service stopped" time="2026-09-17T09:54:09Z" msg="Frontend client stopped" time="2026-09-17T09:54:09Z" msg="Closing bridge" time="2026-09-17T09:54:09Z" msg="Stopping service" time="2026-09-17T09:54:09Z" msg="Closing user" userID=48f5acaf-fa70-4ee6-b6f0-857fa8473116 time="2026-09-17T09:54:09Z" msg="De-registering user client, ID:48f5acaf-fa70-4ee6-b6f0-857fa8473116" time="2026-09-17T09:54:09Z" msg="Exiting IMAP Service" time="2026-09-17T09:54:09Z" msg="Exiting service main loop" time="2026-09-17T09:54:09Z" msg="Exiting service main loop" time="2026-09-17T09:54:09Z" msg="Exiting Service" time="2026-09-17T09:54:09Z" msg="Exiting service main loop" time="2026-09-17T09:54:09Z" msg="Exiting service" time="2026-09-17T09:54:09Z" msg="Closing IMAP Listener" time="2026-09-17T09:54:09Z" msg="Closing IMAP server" time="2026-09-17T09:54:09Z" msg="Closing SMTP Listener" time="2026-09-17T09:54:09Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:54:09Z" msg="Closing SMTP server" time="2026-09-17T09:54:09Z" msg="Closing service" 2026/09/17 09:54:09 http: TLS handshake error from 127.0.0.1:57084: write tcp 127.0.0.1:46189->127.0.0.1:57084: use of closed network connection And the body in the "POST" request to "/mail/v4/messages" is: # :1 -> *scenario """ { "Message": { "Subject": "Plain with multiple different attachments", "Sender": { "Name": "Bridge Test" }, "ToList": [ { "Address": "[user:to]@[domain]", "Name": "Internal Bridge" } ], "CCList": [], "BCCList": [], "MIMEType": "text/plain" } } """ Feature: SMTP sending the same message twice time="2026-09-17T09:54:09Z" msg="User 'ef69adb4-b6e2-4df5-a8b8-c2a2f5f07de6' created with " /server/backend Background: Given there exists an account with username "ef69adb4-b6e2-4df5-a8b8-c2a2f5f07de6" and password "password" # :1 -> *scenario time="2026-09-17T09:54:10Z" msg="User '88ba8bd5-ae35-4351-9163-62f0b894690d' created with " /server/backend And there exists an account with username "88ba8bd5-ae35-4351-9163-62f0b894690d" and password "password" # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:54:10Z" msg="Starting bridge" time="2026-09-17T09:54:10Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/231/config2599689265/grpcFocusServerConfig.json /service time="2026-09-17T09:54:10Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/231/cache4049158783/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:54:10Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/231/cache4049158783/notifications/notification_cache: no such file or directory" time="2026-09-17T09:54:10Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/231/data2572753254/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/231/data2572753254/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:54:10Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:54:10Z" msg="Starting IMAP server" time="2026-09-17T09:54:10Z" msg="Starting SMTP server" time="2026-09-17T09:54:10Z" msg="Starting service" time="2026-09-17T09:54:10Z" msg="Starting service" time="2026-09-17T09:54:10Z" msg="Starting poll service" time="2026-09-17T09:54:10Z" msg="Loading users" /user time="2026-09-17T09:54:10Z" msg="Starting frontend service" time="2026-09-17T09:54:10Z" msg="Starting receiver service" time="2026-09-17T09:54:10Z" msg="Checking for updates" time="2026-09-17T09:54:10Z" msg="Finished loading users" /user time="2026-09-17T09:54:10Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/231/config2599689265/grpcServerConfig.json time="2026-09-17T09:54:10Z" msg="gRPC server listening on /tmp/bridge9428" time="2026-09-17T09:54:10Z" msg="Frontend service started" time="2026-09-17T09:54:10Z" msg="Starting frontend client" time="2026-09-17T09:54:10Z" msg="Not monitoring parent PID" time="2026-09-17T09:54:10Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:54:10Z" msg="Frontend client started" When bridge starts # :1 -> *scenario time="2026-09-17T09:54:10Z" msg="Performing full user login" /user username="******** (40b8fc49)" time="2026-09-17T09:54:10Z" msg="Authorizing user for login" /user username="******** (40b8fc49)" time="2026-09-17T09:54:10Z" msg="200 OK: GET https://127.0.0.1:39469/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:54:10Z" msg="200 OK: POST https://127.0.0.1:39469/auth/v4/info" /manager time="2026-09-17T09:54:11Z" msg="200 OK: POST https://127.0.0.1:39469/auth/v4" /manager time="2026-09-17T09:54:11Z" msg="Logging in authorized user" /user userID=ee81d4ab-33cb-4b47-9390-4e2e113870f6 time="2026-09-17T09:54:11Z" msg="Adding vault user" userID=ee81d4ab-33cb-4b47-9390-4e2e113870f6 time="2026-09-17T09:54:11Z" msg="Creating new user" userID=ee81d4ab-33cb-4b47-9390-4e2e113870f6 time="2026-09-17T09:54:11Z" msg="404 GET https://127.0.0.1:39469/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:54:11Z" msg="404 GET https://127.0.0.1:39469/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:54:11Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:39469/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:54:11Z" msg="Creating user object" authUID=880a4517-3e89-4457-a813-d91600652038 numA numL userID=ee81d4ab-33cb-4b47-9390-4e2e113870f6 time="2026-09-17T09:54:11Z" msg="200 OK: GET https://127.0.0.1:39469/core/v4/events/latest" /client userID=ee81d4ab-33cb-4b47-9390-4e2e113870f6 time="2026-09-17T09:54:11Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:54:11Z" msg="200 OK: GET https://127.0.0.1:39469/core/v4/settings" /client userID=ee81d4ab-33cb-4b47-9390-4e2e113870f6 time="2026-09-17T09:54:11Z" msg="Registering user client, ID:ee81d4ab-33cb-4b47-9390-4e2e113870f6" time="2026-09-17T09:54:11Z" msg="Starting service main loop" time="2026-09-17T09:54:11Z" msg="Starting user identity service" numA time="2026-09-17T09:54:11Z" msg="Starting service main loop" time="2026-09-17T09:54:11Z" msg="Starting service main loop" time="2026-09-17T09:54:11Z" msg="200 OK: GET https://127.0.0.1:39469/core/v4/labels?T" /client userID=ee81d4ab-33cb-4b47-9390-4e2e113870f6 time="2026-09-17T09:54:11Z" msg="200 OK: GET https://127.0.0.1:39469/core/v4/labels?T" /client userID=ee81d4ab-33cb-4b47-9390-4e2e113870f6 time="2026-09-17T09:54:11Z" msg="200 OK: GET https://127.0.0.1:39469/core/v4/labels?T" /client userID=ee81d4ab-33cb-4b47-9390-4e2e113870f6 time="2026-09-17T09:54:11Z" msg="Setting labels" labelIDs="[5 6 7 8 0 9 10 12 1 2 3 4]" time="2026-09-17T09:54:11Z" msg="Adding user to imap server" addrID=30c16895-be4c-4ade-8483-2f05cb1cf81d time="2026-09-17T09:54:11Z" msg="Creating new IMAP user" addrID=30c16895-be4c-4ade-8483-2f05cb1cf81d time="2026-09-17T09:54:11Z" msg="Setting gluon ID" addrID=30c16895-be4c-4ade-8483-2f05cb1cf81d gluonID=463fe874-1647-441d-9144-525a5815fa89 userID=ee81d4ab-33cb-4b47-9390-4e2e113870f6 time="2026-09-17T09:54:11Z" msg="Received mailbox message count" gluonID=463fe874-1647-441d-9144-525a5815fa89 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:54:11Z" msg="Created new IMAP user" addrID=30c16895-be4c-4ade-8483-2f05cb1cf81d gluonID=463fe874-1647-441d-9144-525a5815fa89 time="2026-09-17T09:54:11Z" msg="Validating Listener State" time="2026-09-17T09:54:11Z" time="2026-09-17T09:54:11Z" msg="Starting IMAP Service" time="2026-09-17T09:54:11Z" msg="Checking whether logged in user should re-sync. UserID:ee81d4ab-33cb-4b47-9390-4e2e113870f6" userID=ee81d4ab-33cb-4b47-9390-4e2e113870f6 And the user logs in with username "ef69adb4-b6e2-4df5-a8b8-c2a2f5f07de6" and password "password" # :1 -> *scenario time="2026-09-17T09:54:11Z" msg="Sync triggered" time="2026-09-17T09:54:11Z" msg="Beginning user sync" start="2026-09-17 09:54:11.138703459 +0000 UTC m=+539.631005755" time="2026-09-17T09:54:11Z" msg="Performing full user login" /user username="******** (182e92dd)" time="2026-09-17T09:54:11Z" msg="Authorizing user for login" /user username="******** (182e92dd)" time="2026-09-17T09:54:11Z" msg="Syncing labels" time="2026-09-17T09:54:11Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=463fe874-1647-441d-9144-525a5815fa89 time="2026-09-17T09:54:11Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=463fe874-1647-441d-9144-525a5815fa89 time="2026-09-17T09:54:11Z" msg="Mailbox created" /user remoteMailboxID=5 userID=463fe874-1647-441d-9144-525a5815fa89 time="2026-09-17T09:54:11Z" msg="Mailbox created" /user remoteMailboxID=6 userID=463fe874-1647-441d-9144-525a5815fa89 time="2026-09-17T09:54:11Z" msg="Mailbox created" /user remoteMailboxID=8 userID=463fe874-1647-441d-9144-525a5815fa89 time="2026-09-17T09:54:11Z" msg="Mailbox created" /user remoteMailboxID=0 userID=463fe874-1647-441d-9144-525a5815fa89 time="2026-09-17T09:54:11Z" msg="Mailbox created" /user remoteMailboxID=12 userID=463fe874-1647-441d-9144-525a5815fa89 time="2026-09-17T09:54:11Z" msg="Mailbox created" /user remoteMailboxID=3 userID=463fe874-1647-441d-9144-525a5815fa89 time="2026-09-17T09:54:11Z" msg="Mailbox created" /user remoteMailboxID=4 userID=463fe874-1647-441d-9144-525a5815fa89 time="2026-09-17T09:54:11Z" msg="Mailbox created" /user remoteMailboxID=7 userID=463fe874-1647-441d-9144-525a5815fa89 time="2026-09-17T09:54:11Z" msg="Mailbox created" /user remoteMailboxID=10 userID=463fe874-1647-441d-9144-525a5815fa89 time="2026-09-17T09:54:11Z" msg="Synced labels" time="2026-09-17T09:54:11Z" msg="200 OK: GET https://127.0.0.1:39469/mail/v4/messages/count" /client userID=ee81d4ab-33cb-4b47-9390-4e2e113870f6 time="2026-09-17T09:54:11Z" msg="200 OK: POST https://127.0.0.1:39469/auth/v4/info" /manager time="2026-09-17T09:54:11Z" msg="Syncing messages" time="2026-09-17T09:54:11Z" msg="Job started" time="2026-09-17T09:54:11Z" msg="200 OK: POST https://127.0.0.1:39469/mail/v4/messages" /client userID=ee81d4ab-33cb-4b47-9390-4e2e113870f6 time="2026-09-17T09:54:11Z" msg="Job finished" time="2026-09-17T09:54:11Z" msg="All child jobs completed" sync- time="2026-09-17T09:54:11Z" msg="Synced messages" time="2026-09-17T09:54:11Z" msg="Finished user sync" .973614ms time="2026-09-17T09:54:11Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:54:11Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:54:11Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 8} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:54:11Z" msg="200 OK: POST https://127.0.0.1:39469/auth/v4" /manager time="2026-09-17T09:54:11Z" msg="Logging in authorized user" /user userID=0bebd214-de64-47a9-ac25-16f0016bd327 time="2026-09-17T09:54:11Z" msg="Adding vault user" userID=0bebd214-de64-47a9-ac25-16f0016bd327 time="2026-09-17T09:54:11Z" msg="Creating new user" userID=0bebd214-de64-47a9-ac25-16f0016bd327 time="2026-09-17T09:54:11Z" msg="404 GET https://127.0.0.1:39469/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:54:11Z" msg="404 GET https://127.0.0.1:39469/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:54:11Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:39469/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:54:11Z" msg="Creating user object" authUID=f47446ec-3935-4b94-8dd5-9bd92b18a67d numA numL userID=0bebd214-de64-47a9-ac25-16f0016bd327 time="2026-09-17T09:54:11Z" msg="200 OK: GET https://127.0.0.1:39469/core/v4/events/latest" /client userID=0bebd214-de64-47a9-ac25-16f0016bd327 time="2026-09-17T09:54:11Z" msg="Starting service Last EventID=AQ==" time="2026-09-17T09:54:11Z" msg="200 OK: GET https://127.0.0.1:39469/core/v4/settings" /client userID=0bebd214-de64-47a9-ac25-16f0016bd327 time="2026-09-17T09:54:11Z" msg="Registering user client, ID:0bebd214-de64-47a9-ac25-16f0016bd327" time="2026-09-17T09:54:11Z" msg="Starting user identity service" numA time="2026-09-17T09:54:11Z" msg="Starting service main loop" time="2026-09-17T09:54:11Z" msg="Starting service main loop" time="2026-09-17T09:54:11Z" msg="Starting service main loop" time="2026-09-17T09:54:11Z" msg="200 OK: GET https://127.0.0.1:39469/core/v4/labels?T" /client userID=0bebd214-de64-47a9-ac25-16f0016bd327 time="2026-09-17T09:54:11Z" msg="200 OK: GET https://127.0.0.1:39469/core/v4/labels?T" /client userID=0bebd214-de64-47a9-ac25-16f0016bd327 time="2026-09-17T09:54:11Z" msg="200 OK: GET https://127.0.0.1:39469/core/v4/labels?T" /client userID=0bebd214-de64-47a9-ac25-16f0016bd327 time="2026-09-17T09:54:11Z" msg="Setting labels" labelIDs="[6 7 8 9 10 1 2 5 12 0 3 4]" time="2026-09-17T09:54:11Z" msg="Adding user to imap server" addrID=5afc297d-63bb-4768-afb8-fae1fe61a049 time="2026-09-17T09:54:11Z" msg="Creating new IMAP user" addrID=5afc297d-63bb-4768-afb8-fae1fe61a049 time="2026-09-17T09:54:11Z" msg="Setting gluon ID" addrID=5afc297d-63bb-4768-afb8-fae1fe61a049 gluonID=d0334523-1605-432c-9b87-f35c9e649513 userID=0bebd214-de64-47a9-ac25-16f0016bd327 time="2026-09-17T09:54:11Z" msg="Received mailbox message count" gluonID=d0334523-1605-432c-9b87-f35c9e649513 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:54:11Z" msg="Created new IMAP user" addrID=5afc297d-63bb-4768-afb8-fae1fe61a049 gluonID=d0334523-1605-432c-9b87-f35c9e649513 time="2026-09-17T09:54:11Z" msg="Validating Listener State" time="2026-09-17T09:54:11Z" time="2026-09-17T09:54:11Z" msg="Checking whether logged in user should re-sync. UserID:0bebd214-de64-47a9-ac25-16f0016bd327" userID=0bebd214-de64-47a9-ac25-16f0016bd327 And the user logs in with username "88ba8bd5-ae35-4351-9163-62f0b894690d" and password "password" # :1 -> *scenario time="2026-09-17T09:54:11Z" msg="Starting IMAP Service" time="2026-09-17T09:54:11Z" msg="Sync triggered" time="2026-09-17T09:54:11Z" msg="Beginning user sync" start="2026-09-17 09:54:11.585527338 +0000 UTC m=+540.077829634" time="2026-09-17T09:54:11Z" msg="Syncing labels" And user "ef69adb4-b6e2-4df5-a8b8-c2a2f5f07de6" connects and authenticates SMTP client "1" # :1 -> *scenario time="2026-09-17T09:54:11Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=d0334523-1605-432c-9b87-f35c9e649513 time="2026-09-17T09:54:11Z" msg="Sending observability data." time="2026-09-17T09:54:11Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=d0334523-1605-432c-9b87-f35c9e649513 time="2026-09-17T09:54:11Z" msg="200 OK: GET https://127.0.0.1:39469/mail/v4/settings" /client userID=ee81d4ab-33cb-4b47-9390-4e2e113870f6 time="2026-09-17T09:54:11Z" msg="200 OK: POST https://127.0.0.1:39469/data/v1/metrics" /client userID=ee81d4ab-33cb-4b47-9390-4e2e113870f6 time="2026-09-17T09:54:11Z" msg="Mailbox created" /user remoteMailboxID=4 userID=d0334523-1605-432c-9b87-f35c9e649513 time="2026-09-17T09:54:11Z" msg="Successfully sent observability data." time="2026-09-17T09:54:11Z" msg="Mailbox created" /user remoteMailboxID=6 userID=d0334523-1605-432c-9b87-f35c9e649513 time="2026-09-17T09:54:11Z" msg="Mailbox created" /user remoteMailboxID=8 userID=d0334523-1605-432c-9b87-f35c9e649513 time="2026-09-17T09:54:11Z" msg="Mailbox created" /user remoteMailboxID=12 userID=d0334523-1605-432c-9b87-f35c9e649513 time="2026-09-17T09:54:11Z" msg="Mailbox created" /user remoteMailboxID=7 userID=d0334523-1605-432c-9b87-f35c9e649513 time="2026-09-17T09:54:11Z" msg="Mailbox created" /user remoteMailboxID=10 userID=d0334523-1605-432c-9b87-f35c9e649513 time="2026-09-17T09:54:11Z" msg="Mailbox created" /user remoteMailboxID=5 userID=d0334523-1605-432c-9b87-f35c9e649513 time="2026-09-17T09:54:11Z" msg="Mailbox created" /user remoteMailboxID=0 userID=d0334523-1605-432c-9b87-f35c9e649513 time="2026-09-17T09:54:11Z" msg="Mailbox created" /user remoteMailboxID=3 userID=d0334523-1605-432c-9b87-f35c9e649513 time="2026-09-17T09:54:11Z" msg="Synced labels" time="2026-09-17T09:54:11Z" msg="200 OK: GET https://127.0.0.1:39469/mail/v4/messages/count" /client userID=0bebd214-de64-47a9-ac25-16f0016bd327 time="2026-09-17T09:54:11Z" msg="Syncing messages" time="2026-09-17T09:54:11Z" msg="Job started" time="2026-09-17T09:54:11Z" msg="200 OK: POST https://127.0.0.1:39469/mail/v4/messages" /client userID=0bebd214-de64-47a9-ac25-16f0016bd327 time="2026-09-17T09:54:11Z" msg="Job finished" time="2026-09-17T09:54:11Z" msg="All child jobs completed" sync- time="2026-09-17T09:54:11Z" msg="Synced messages" time="2026-09-17T09:54:11Z" msg="Finished user sync" .782675ms time="2026-09-17T09:54:11Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:54:11Z" msg="Event loop reset" eventID="AQ==" time="2026-09-17T09:54:11Z" msg="200 OK: POST https://127.0.0.1:39469/mail/v4/messages" /client userID=ee81d4ab-33cb-4b47-9390-4e2e113870f6 time="2026-09-17T09:54:11Z" msg="200 OK: GET https://127.0.0.1:39469/core/v4/keys?E%40proton.local" /client userID=ee81d4ab-33cb-4b47-9390-4e2e113870f6 time="2026-09-17T09:54:11Z" msg="200 OK: GET https://127.0.0.1:39469/contacts/v4/emails?E%40proton.local&P&PageS" /client userID=ee81d4ab-33cb-4b47-9390-4e2e113870f6 time="2026-09-17T09:54:11Z" msg="200 OK: POST https://127.0.0.1:39469/mail/v4/messages/6f739748-7dfa-42e7-83f9-2da38a9ba823" /client userID=ee81d4ab-33cb-4b47-9390-4e2e113870f6 time="2026-09-17T09:54:11Z" msg="Scheduling observability data sending" And SMTP client "1" sends the following message from "ef69adb4-b6e2-4df5-a8b8-c2a2f5f07de6@proton.local" to "88ba8bd5-ae35-4351-9163-62f0b894690d@proton.local": # :1 -> *scenario """ From: Bridge Test <[user:user]@[domain]> To: Internal Bridge <[user:to]@[domain]> Subject: Hello World """ And it succeeds # :1 -> *scenario time="2026-09-17T09:54:11Z" msg="A duplicate message was already sent recently, skipping" Scenario: The exact same message is not sent twice # features/smtp/send/same_message.feature:20 When SMTP client "1" sends the following message from "ef69adb4-b6e2-4df5-a8b8-c2a2f5f07de6@proton.local" to "88ba8bd5-ae35-4351-9163-62f0b894690d@proton.local": # :1 -> *scenario """ From: Bridge Test <[user:user]@[domain]> To: Internal Bridge <[user:to]@[domain]> Subject: Hello World """ Then it succeeds # :1 -> *scenario When user "ef69adb4-b6e2-4df5-a8b8-c2a2f5f07de6" connects and authenticates IMAP client "1" # :1 -> *scenario time="2026-09-17T09:54:12Z" msg="200 OK: GET https://127.0.0.1:39469/core/v4/events/AA==" /client userID=ee81d4ab-33cb-4b47-9390-4e2e113870f6 time="2026-09-17T09:54:12Z" msg="Received new API event" new="Event Aw==: messages: , , " old="AA==" time="2026-09-17T09:54:12Z" msg="Handling message created event" messageID=6f739748-7dfa-42e7-83f9-2da38a9ba823 subject="******** (185f8db3)" time="2026-09-17T09:54:12Z" msg="200 OK: GET https://127.0.0.1:39469/mail/v4/messages/6f739748-7dfa-42e7-83f9-2da38a9ba823" /client userID=ee81d4ab-33cb-4b47-9390-4e2e113870f6 time="2026-09-17T09:54:12Z" msg="Handling draft or sent updated event" isD messageID=6f739748-7dfa-42e7-83f9-2da38a9ba823 subject="******** (185f8db3)" time="2026-09-17T09:54:12Z" msg="200 OK: GET https://127.0.0.1:39469/mail/v4/messages/6f739748-7dfa-42e7-83f9-2da38a9ba823" /client userID=ee81d4ab-33cb-4b47-9390-4e2e113870f6 Then IMAP client "1" eventually sees the following messages in "Sent": # :1 -> *scenario | from | to | subject | body | | ef69adb4-b6e2-4df5-a8b8-c2a2f5f07de6@proton.local | 88ba8bd5-ae35-4351-9163-62f0b894690d@proton.local | Hello | World | When user "88ba8bd5-ae35-4351-9163-62f0b894690d" connects and authenticates IMAP client "2" # :1 -> *scenario time="2026-09-17T09:54:12Z" msg="200 OK: GET https://127.0.0.1:39469/core/v4/events/AQ==" /client userID=0bebd214-de64-47a9-ac25-16f0016bd327 time="2026-09-17T09:54:12Z" msg="Received new API event" new="Event BA==: messages: , , " old="AQ==" time="2026-09-17T09:54:12Z" msg="Handling message created event" messageID=8d2faaf1-9c30-4d63-99ca-5ff786d02901 subject="******** (185f8db3)" time="2026-09-17T09:54:12Z" msg="200 OK: GET https://127.0.0.1:39469/mail/v4/messages/8d2faaf1-9c30-4d63-99ca-5ff786d02901" /client userID=0bebd214-de64-47a9-ac25-16f0016bd327 time="2026-09-17T09:54:12Z" msg="Frontend service stopped" time="2026-09-17T09:54:12Z" msg="Frontend client stopped" time="2026-09-17T09:54:12Z" msg="Closing bridge" time="2026-09-17T09:54:12Z" msg="Stopping service" time="2026-09-17T09:54:12Z" msg="Closing user" userID=ee81d4ab-33cb-4b47-9390-4e2e113870f6 time="2026-09-17T09:54:12Z" msg="De-registering user client, ID:ee81d4ab-33cb-4b47-9390-4e2e113870f6" time="2026-09-17T09:54:12Z" msg="Exiting IMAP Service" time="2026-09-17T09:54:12Z" msg="Exiting service main loop" time="2026-09-17T09:54:12Z" msg="Exiting service main loop" time="2026-09-17T09:54:12Z" msg="Exiting Service" time="2026-09-17T09:54:12Z" msg="Exiting service main loop" time="2026-09-17T09:54:12Z" msg="Exiting service" time="2026-09-17T09:54:12Z" msg="Closing user" userID=0bebd214-de64-47a9-ac25-16f0016bd327 time="2026-09-17T09:54:12Z" msg="De-registering user client, ID:0bebd214-de64-47a9-ac25-16f0016bd327" time="2026-09-17T09:54:12Z" msg="Exiting IMAP Service" time="2026-09-17T09:54:12Z" msg="Exiting service main loop" time="2026-09-17T09:54:12Z" msg="Exiting service main loop" time="2026-09-17T09:54:12Z" msg="Exiting Service" time="2026-09-17T09:54:12Z" msg="Exiting service main loop" time="2026-09-17T09:54:12Z" msg="Exiting service" time="2026-09-17T09:54:12Z" msg="Closing IMAP Listener" time="2026-09-17T09:54:12Z" msg="Closing IMAP server" time="2026-09-17T09:54:12Z" msg="Closing SMTP Listener" time="2026-09-17T09:54:12Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:54:12Z" msg="Closing SMTP server" time="2026-09-17T09:54:12Z" msg="Closing service" Then IMAP client "2" eventually sees the following messages in "Inbox": # :1 -> *scenario | from | to | subject | body | | ef69adb4-b6e2-4df5-a8b8-c2a2f5f07de6@proton.local | 88ba8bd5-ae35-4351-9163-62f0b894690d@proton.local | Hello | World | time="2026-09-17T09:54:12Z" msg="User '00ecf5ca-d051-4277-b6a6-f4a74cfcd6da' created with " /server/backend time="2026-09-17T09:54:13Z" msg="User '4afe7e41-fda2-4419-8dc2-a83e383628d0' created with " /server/backend time="2026-09-17T09:54:13Z" msg="Starting bridge" time="2026-09-17T09:54:13Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/232/config3288887964/grpcFocusServerConfig.json /service time="2026-09-17T09:54:13Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/232/cache4254076697/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:54:13Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/232/cache4254076697/notifications/notification_cache: no such file or directory" time="2026-09-17T09:54:13Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/232/data3915139107/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/232/data3915139107/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:54:13Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:54:13Z" msg="Starting IMAP server" time="2026-09-17T09:54:13Z" msg="Starting SMTP server" time="2026-09-17T09:54:13Z" msg="Starting service" time="2026-09-17T09:54:13Z" msg="Starting service" time="2026-09-17T09:54:13Z" msg="Starting receiver service" time="2026-09-17T09:54:13Z" msg="Starting poll service" time="2026-09-17T09:54:13Z" msg="Checking for updates" time="2026-09-17T09:54:13Z" msg="Starting frontend service" time="2026-09-17T09:54:13Z" msg="Loading users" /user time="2026-09-17T09:54:13Z" msg="Finished loading users" /user time="2026-09-17T09:54:13Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/232/config3288887964/grpcServerConfig.json time="2026-09-17T09:54:13Z" msg="gRPC server listening on /tmp/bridge1496" time="2026-09-17T09:54:13Z" msg="Frontend service started" time="2026-09-17T09:54:13Z" msg="Starting frontend client" time="2026-09-17T09:54:13Z" msg="Not monitoring parent PID" time="2026-09-17T09:54:13Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:54:13Z" msg="Frontend client started" time="2026-09-17T09:54:13Z" msg="Performing full user login" /user username="******** (e2e45b16)" time="2026-09-17T09:54:13Z" msg="Authorizing user for login" /user username="******** (e2e45b16)" time="2026-09-17T09:54:13Z" msg="200 OK: GET https://127.0.0.1:39455/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:54:13Z" msg="200 OK: POST https://127.0.0.1:39455/auth/v4/info" /manager time="2026-09-17T09:54:14Z" msg="200 OK: POST https://127.0.0.1:39455/auth/v4" /manager time="2026-09-17T09:54:14Z" msg="Logging in authorized user" /user userID=da2f1b30-40e5-4c43-a2db-833e6c9a7b68 time="2026-09-17T09:54:14Z" msg="Adding vault user" userID=da2f1b30-40e5-4c43-a2db-833e6c9a7b68 time="2026-09-17T09:54:14Z" msg="Creating new user" userID=da2f1b30-40e5-4c43-a2db-833e6c9a7b68 time="2026-09-17T09:54:14Z" msg="404 GET https://127.0.0.1:39455/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:54:14Z" msg="404 GET https://127.0.0.1:39455/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:54:14Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:39455/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:54:14Z" msg="Creating user object" authUID=001d062b-1b1d-4413-974a-6b7be17da29d numA numL userID=da2f1b30-40e5-4c43-a2db-833e6c9a7b68 time="2026-09-17T09:54:14Z" msg="200 OK: GET https://127.0.0.1:39455/core/v4/events/latest" /client userID=da2f1b30-40e5-4c43-a2db-833e6c9a7b68 time="2026-09-17T09:54:14Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:54:14Z" msg="200 OK: GET https://127.0.0.1:39455/core/v4/settings" /client userID=da2f1b30-40e5-4c43-a2db-833e6c9a7b68 time="2026-09-17T09:54:14Z" msg="Registering user client, ID:da2f1b30-40e5-4c43-a2db-833e6c9a7b68" time="2026-09-17T09:54:14Z" msg="Starting user identity service" numA time="2026-09-17T09:54:14Z" msg="Starting service main loop" time="2026-09-17T09:54:14Z" msg="Starting service main loop" time="2026-09-17T09:54:14Z" msg="Starting service main loop" time="2026-09-17T09:54:14Z" msg="200 OK: GET https://127.0.0.1:39455/core/v4/labels?T" /client userID=da2f1b30-40e5-4c43-a2db-833e6c9a7b68 time="2026-09-17T09:54:14Z" msg="200 OK: GET https://127.0.0.1:39455/core/v4/labels?T" /client userID=da2f1b30-40e5-4c43-a2db-833e6c9a7b68 time="2026-09-17T09:54:14Z" msg="200 OK: GET https://127.0.0.1:39455/core/v4/labels?T" /client userID=da2f1b30-40e5-4c43-a2db-833e6c9a7b68 time="2026-09-17T09:54:14Z" msg="Setting labels" labelIDs="[9 12 3 4 6 7 10 0 1 2 5 8]" time="2026-09-17T09:54:14Z" msg="Adding user to imap server" addrID=47cf8910-e1cd-498a-87cc-5c223e39ed92 time="2026-09-17T09:54:14Z" msg="Creating new IMAP user" addrID=47cf8910-e1cd-498a-87cc-5c223e39ed92 time="2026-09-17T09:54:14Z" msg="Setting gluon ID" addrID=47cf8910-e1cd-498a-87cc-5c223e39ed92 gluonID=fd2636ca-07cd-49c8-9ee7-b3694d91c2ad userID=da2f1b30-40e5-4c43-a2db-833e6c9a7b68 time="2026-09-17T09:54:14Z" msg="Received mailbox message count" gluonID=fd2636ca-07cd-49c8-9ee7-b3694d91c2ad labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:54:14Z" msg="Created new IMAP user" addrID=47cf8910-e1cd-498a-87cc-5c223e39ed92 gluonID=fd2636ca-07cd-49c8-9ee7-b3694d91c2ad time="2026-09-17T09:54:14Z" msg="Validating Listener State" time="2026-09-17T09:54:14Z" time="2026-09-17T09:54:14Z" msg="Starting IMAP Service" time="2026-09-17T09:54:14Z" msg="Checking whether logged in user should re-sync. UserID:da2f1b30-40e5-4c43-a2db-833e6c9a7b68" userID=da2f1b30-40e5-4c43-a2db-833e6c9a7b68 time="2026-09-17T09:54:14Z" msg="Performing full user login" /user username="******** (a73618d6)" time="2026-09-17T09:54:14Z" msg="Authorizing user for login" /user username="******** (a73618d6)" time="2026-09-17T09:54:14Z" msg="Sync triggered" time="2026-09-17T09:54:14Z" msg="Beginning user sync" start="2026-09-17 09:54:14.324896156 +0000 UTC m=+542.817198492" time="2026-09-17T09:54:14Z" msg="Syncing labels" time="2026-09-17T09:54:14Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=fd2636ca-07cd-49c8-9ee7-b3694d91c2ad time="2026-09-17T09:54:14Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=fd2636ca-07cd-49c8-9ee7-b3694d91c2ad time="2026-09-17T09:54:14Z" msg="Mailbox created" /user remoteMailboxID=4 userID=fd2636ca-07cd-49c8-9ee7-b3694d91c2ad time="2026-09-17T09:54:14Z" msg="Mailbox created" /user remoteMailboxID=6 userID=fd2636ca-07cd-49c8-9ee7-b3694d91c2ad time="2026-09-17T09:54:14Z" msg="Mailbox created" /user remoteMailboxID=5 userID=fd2636ca-07cd-49c8-9ee7-b3694d91c2ad time="2026-09-17T09:54:14Z" msg="Mailbox created" /user remoteMailboxID=8 userID=fd2636ca-07cd-49c8-9ee7-b3694d91c2ad time="2026-09-17T09:54:14Z" msg="Mailbox created" /user remoteMailboxID=12 userID=fd2636ca-07cd-49c8-9ee7-b3694d91c2ad time="2026-09-17T09:54:14Z" msg="Mailbox created" /user remoteMailboxID=3 userID=fd2636ca-07cd-49c8-9ee7-b3694d91c2ad time="2026-09-17T09:54:14Z" msg="Mailbox created" /user remoteMailboxID=7 userID=fd2636ca-07cd-49c8-9ee7-b3694d91c2ad time="2026-09-17T09:54:14Z" msg="Mailbox created" /user remoteMailboxID=10 userID=fd2636ca-07cd-49c8-9ee7-b3694d91c2ad time="2026-09-17T09:54:14Z" msg="Mailbox created" /user remoteMailboxID=0 userID=fd2636ca-07cd-49c8-9ee7-b3694d91c2ad time="2026-09-17T09:54:14Z" msg="Synced labels" time="2026-09-17T09:54:14Z" msg="200 OK: POST https://127.0.0.1:39455/auth/v4/info" /manager time="2026-09-17T09:54:14Z" msg="200 OK: GET https://127.0.0.1:39455/mail/v4/messages/count" /client userID=da2f1b30-40e5-4c43-a2db-833e6c9a7b68 time="2026-09-17T09:54:14Z" msg="Syncing messages" time="2026-09-17T09:54:14Z" msg="Job started" time="2026-09-17T09:54:14Z" msg="200 OK: POST https://127.0.0.1:39455/mail/v4/messages" /client userID=da2f1b30-40e5-4c43-a2db-833e6c9a7b68 time="2026-09-17T09:54:14Z" msg="Job finished" time="2026-09-17T09:54:14Z" msg="All child jobs completed" sync- time="2026-09-17T09:54:14Z" msg="Synced messages" time="2026-09-17T09:54:14Z" msg="Finished user sync" .634124ms time="2026-09-17T09:54:14Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:54:14Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:54:14Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 4} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:54:14Z" msg="200 OK: POST https://127.0.0.1:39455/auth/v4" /manager time="2026-09-17T09:54:14Z" msg="Logging in authorized user" /user userID=2cfac02e-8732-414c-b828-054c85b26c9e time="2026-09-17T09:54:14Z" msg="Adding vault user" userID=2cfac02e-8732-414c-b828-054c85b26c9e time="2026-09-17T09:54:14Z" msg="Creating new user" userID=2cfac02e-8732-414c-b828-054c85b26c9e time="2026-09-17T09:54:14Z" msg="404 GET https://127.0.0.1:39455/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:54:14Z" msg="404 GET https://127.0.0.1:39455/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:54:14Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:39455/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:54:14Z" msg="Creating user object" authUID=cae8155a-b311-40ff-a762-9a118e88965c numA numL userID=2cfac02e-8732-414c-b828-054c85b26c9e time="2026-09-17T09:54:14Z" msg="200 OK: GET https://127.0.0.1:39455/core/v4/events/latest" /client userID=2cfac02e-8732-414c-b828-054c85b26c9e time="2026-09-17T09:54:14Z" msg="Starting service Last EventID=AQ==" time="2026-09-17T09:54:14Z" msg="200 OK: GET https://127.0.0.1:39455/core/v4/settings" /client userID=2cfac02e-8732-414c-b828-054c85b26c9e time="2026-09-17T09:54:14Z" msg="Registering user client, ID:2cfac02e-8732-414c-b828-054c85b26c9e" time="2026-09-17T09:54:14Z" msg="Starting service main loop" time="2026-09-17T09:54:14Z" msg="Starting user identity service" numA time="2026-09-17T09:54:14Z" msg="Starting service main loop" time="2026-09-17T09:54:14Z" msg="Starting service main loop" time="2026-09-17T09:54:14Z" msg="200 OK: GET https://127.0.0.1:39455/core/v4/labels?T" /client userID=2cfac02e-8732-414c-b828-054c85b26c9e time="2026-09-17T09:54:14Z" msg="200 OK: GET https://127.0.0.1:39455/core/v4/labels?T" /client userID=2cfac02e-8732-414c-b828-054c85b26c9e time="2026-09-17T09:54:14Z" msg="200 OK: GET https://127.0.0.1:39455/core/v4/labels?T" /client userID=2cfac02e-8732-414c-b828-054c85b26c9e time="2026-09-17T09:54:14Z" msg="Setting labels" labelIDs="[5 7 8 9 10 12 0 1 2 4 6 3]" time="2026-09-17T09:54:14Z" msg="Adding user to imap server" addrID=6ac7d020-d67b-478d-8409-9b8a5d4b53d5 time="2026-09-17T09:54:14Z" msg="Creating new IMAP user" addrID=6ac7d020-d67b-478d-8409-9b8a5d4b53d5 time="2026-09-17T09:54:14Z" msg="Setting gluon ID" addrID=6ac7d020-d67b-478d-8409-9b8a5d4b53d5 gluonID=4d607d34-1ad9-4680-a843-7357f1dab633 userID=2cfac02e-8732-414c-b828-054c85b26c9e time="2026-09-17T09:54:14Z" msg="Received mailbox message count" gluonID=4d607d34-1ad9-4680-a843-7357f1dab633 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:54:14Z" msg="Created new IMAP user" addrID=6ac7d020-d67b-478d-8409-9b8a5d4b53d5 gluonID=4d607d34-1ad9-4680-a843-7357f1dab633 time="2026-09-17T09:54:14Z" msg="Validating Listener State" time="2026-09-17T09:54:14Z" time="2026-09-17T09:54:14Z" msg="Starting IMAP Service" time="2026-09-17T09:54:14Z" msg="Checking whether logged in user should re-sync. UserID:2cfac02e-8732-414c-b828-054c85b26c9e" userID=2cfac02e-8732-414c-b828-054c85b26c9e time="2026-09-17T09:54:14Z" msg="Sync triggered" time="2026-09-17T09:54:14Z" msg="Beginning user sync" start="2026-09-17 09:54:14.767023175 +0000 UTC m=+543.259325471" time="2026-09-17T09:54:14Z" msg="Sending observability data." time="2026-09-17T09:54:14Z" msg="Syncing labels" time="2026-09-17T09:54:14Z" msg="200 OK: POST https://127.0.0.1:39455/data/v1/metrics" /client userID=da2f1b30-40e5-4c43-a2db-833e6c9a7b68 time="2026-09-17T09:54:14Z" msg="Successfully sent observability data." time="2026-09-17T09:54:14Z" msg="200 OK: GET https://127.0.0.1:39455/mail/v4/settings" /client userID=da2f1b30-40e5-4c43-a2db-833e6c9a7b68 time="2026-09-17T09:54:14Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=4d607d34-1ad9-4680-a843-7357f1dab633 time="2026-09-17T09:54:14Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=4d607d34-1ad9-4680-a843-7357f1dab633 time="2026-09-17T09:54:14Z" msg="Mailbox created" /user remoteMailboxID=0 userID=4d607d34-1ad9-4680-a843-7357f1dab633 time="2026-09-17T09:54:14Z" msg="Mailbox created" /user remoteMailboxID=4 userID=4d607d34-1ad9-4680-a843-7357f1dab633 time="2026-09-17T09:54:14Z" msg="Mailbox created" /user remoteMailboxID=5 userID=4d607d34-1ad9-4680-a843-7357f1dab633 time="2026-09-17T09:54:14Z" msg="Mailbox created" /user remoteMailboxID=7 userID=4d607d34-1ad9-4680-a843-7357f1dab633 time="2026-09-17T09:54:14Z" msg="Mailbox created" /user remoteMailboxID=8 userID=4d607d34-1ad9-4680-a843-7357f1dab633 time="2026-09-17T09:54:14Z" msg="Mailbox created" /user remoteMailboxID=12 userID=4d607d34-1ad9-4680-a843-7357f1dab633 time="2026-09-17T09:54:14Z" msg="Mailbox created" /user remoteMailboxID=6 userID=4d607d34-1ad9-4680-a843-7357f1dab633 time="2026-09-17T09:54:14Z" msg="Mailbox created" /user remoteMailboxID=3 userID=4d607d34-1ad9-4680-a843-7357f1dab633 time="2026-09-17T09:54:14Z" msg="Mailbox created" /user remoteMailboxID=10 userID=4d607d34-1ad9-4680-a843-7357f1dab633 time="2026-09-17T09:54:14Z" msg="Synced labels" time="2026-09-17T09:54:14Z" msg="200 OK: GET https://127.0.0.1:39455/mail/v4/messages/count" /client userID=2cfac02e-8732-414c-b828-054c85b26c9e time="2026-09-17T09:54:14Z" msg="Syncing messages" time="2026-09-17T09:54:14Z" msg="Job started" time="2026-09-17T09:54:14Z" msg="200 OK: POST https://127.0.0.1:39455/mail/v4/messages" /client userID=2cfac02e-8732-414c-b828-054c85b26c9e time="2026-09-17T09:54:14Z" msg="Job finished" time="2026-09-17T09:54:14Z" msg="All child jobs completed" sync- time="2026-09-17T09:54:14Z" msg="200 OK: POST https://127.0.0.1:39455/mail/v4/messages" /client userID=da2f1b30-40e5-4c43-a2db-833e6c9a7b68 time="2026-09-17T09:54:14Z" msg="Synced messages" time="2026-09-17T09:54:14Z" msg="Finished user sync" .788008ms time="2026-09-17T09:54:14Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:54:14Z" msg="Event loop reset" eventID="AQ==" time="2026-09-17T09:54:14Z" msg="200 OK: GET https://127.0.0.1:39455/core/v4/keys?E%40proton.local" /client userID=da2f1b30-40e5-4c43-a2db-833e6c9a7b68 time="2026-09-17T09:54:14Z" msg="200 OK: GET https://127.0.0.1:39455/contacts/v4/emails?E%40proton.local&P&PageS" /client userID=da2f1b30-40e5-4c43-a2db-833e6c9a7b68 time="2026-09-17T09:54:14Z" msg="200 OK: POST https://127.0.0.1:39455/mail/v4/messages/6fe4909d-99bc-480b-b03d-78e8f1862a98" /client userID=da2f1b30-40e5-4c43-a2db-833e6c9a7b68 time="2026-09-17T09:54:14Z" msg="Scheduling observability data sending" time="2026-09-17T09:54:14Z" msg="200 OK: GET https://127.0.0.1:39455/mail/v4/settings" /client userID=da2f1b30-40e5-4c43-a2db-833e6c9a7b68 time="2026-09-17T09:54:14Z" msg="200 OK: POST https://127.0.0.1:39455/mail/v4/messages" /client userID=da2f1b30-40e5-4c43-a2db-833e6c9a7b68 time="2026-09-17T09:54:14Z" msg="200 OK: GET https://127.0.0.1:39455/core/v4/keys?E%40proton.local" /client userID=da2f1b30-40e5-4c43-a2db-833e6c9a7b68 time="2026-09-17T09:54:14Z" msg="200 OK: GET https://127.0.0.1:39455/contacts/v4/emails?E%40proton.local&P&PageS" /client userID=da2f1b30-40e5-4c43-a2db-833e6c9a7b68 time="2026-09-17T09:54:14Z" msg="200 OK: POST https://127.0.0.1:39455/mail/v4/messages/ff24dfbf-a000-45d0-8af6-d7d68e22c858" /client userID=da2f1b30-40e5-4c43-a2db-833e6c9a7b68 Scenario: Slight change means different message and is sent twice # features/smtp/send/same_message.feature:39 When SMTP client "1" sends the following message from "00ecf5ca-d051-4277-b6a6-f4a74cfcd6da@proton.local" to "4afe7e41-fda2-4419-8dc2-a83e383628d0@proton.local": # :1 -> *scenario """ From: Bridge Test <[user:user]@[domain]> To: Internal Bridge <[user:to]@[domain]> Subject: Hello. World """ Then it succeeds # :1 -> *scenario When user "00ecf5ca-d051-4277-b6a6-f4a74cfcd6da" connects and authenticates IMAP client "1" # :1 -> *scenario time="2026-09-17T09:54:15Z" msg="200 OK: GET https://127.0.0.1:39455/core/v4/events/AA==" /client userID=da2f1b30-40e5-4c43-a2db-833e6c9a7b68 time="2026-09-17T09:54:15Z" msg="Received new API event" new="Event Bg==: messages: , , " old="AA==" time="2026-09-17T09:54:15Z" msg="Handling message created event" messageID=6fe4909d-99bc-480b-b03d-78e8f1862a98 subject="******** (185f8db3)" time="2026-09-17T09:54:15Z" msg="200 OK: GET https://127.0.0.1:39455/mail/v4/messages/6fe4909d-99bc-480b-b03d-78e8f1862a98" /client userID=da2f1b30-40e5-4c43-a2db-833e6c9a7b68 time="2026-09-17T09:54:15Z" msg="Handling draft or sent updated event" isD messageID=6fe4909d-99bc-480b-b03d-78e8f1862a98 subject="******** (185f8db3)" time="2026-09-17T09:54:15Z" msg="200 OK: GET https://127.0.0.1:39455/mail/v4/messages/6fe4909d-99bc-480b-b03d-78e8f1862a98" /client userID=da2f1b30-40e5-4c43-a2db-833e6c9a7b68 time="2026-09-17T09:54:15Z" msg="Handling message created event" messageID=ff24dfbf-a000-45d0-8af6-d7d68e22c858 subject="******** (2d8bd7d9)" time="2026-09-17T09:54:15Z" msg="200 OK: GET https://127.0.0.1:39455/mail/v4/messages/ff24dfbf-a000-45d0-8af6-d7d68e22c858" /client userID=da2f1b30-40e5-4c43-a2db-833e6c9a7b68 time="2026-09-17T09:54:15Z" msg="Handling draft or sent updated event" isD messageID=ff24dfbf-a000-45d0-8af6-d7d68e22c858 subject="******** (2d8bd7d9)" time="2026-09-17T09:54:15Z" msg="200 OK: GET https://127.0.0.1:39455/mail/v4/messages/ff24dfbf-a000-45d0-8af6-d7d68e22c858" /client userID=da2f1b30-40e5-4c43-a2db-833e6c9a7b68 Then IMAP client "1" eventually sees the following messages in "Sent": # :1 -> *scenario | from | to | subject | body | | 00ecf5ca-d051-4277-b6a6-f4a74cfcd6da@proton.local | 4afe7e41-fda2-4419-8dc2-a83e383628d0@proton.local | Hello | World | | 00ecf5ca-d051-4277-b6a6-f4a74cfcd6da@proton.local | 4afe7e41-fda2-4419-8dc2-a83e383628d0@proton.local | Hello. | World | When user "4afe7e41-fda2-4419-8dc2-a83e383628d0" connects and authenticates IMAP client "2" # :1 -> *scenario time="2026-09-17T09:54:15Z" msg="200 OK: GET https://127.0.0.1:39455/core/v4/events/AQ==" /client userID=2cfac02e-8732-414c-b828-054c85b26c9e time="2026-09-17T09:54:15Z" msg="Received new API event" new="Event Bw==: messages: , , " old="AQ==" time="2026-09-17T09:54:15Z" msg="Handling message created event" messageID=91ae699c-7e5f-4f89-a92b-58edfee9c7ba subject="******** (185f8db3)" time="2026-09-17T09:54:15Z" msg="200 OK: GET https://127.0.0.1:39455/mail/v4/messages/91ae699c-7e5f-4f89-a92b-58edfee9c7ba" /client userID=2cfac02e-8732-414c-b828-054c85b26c9e time="2026-09-17T09:54:15Z" msg="Handling message created event" messageID=e5c6ce2b-3d56-48a5-997a-669351d8a184 subject="******** (2d8bd7d9)" time="2026-09-17T09:54:15Z" msg="200 OK: GET https://127.0.0.1:39455/mail/v4/messages/e5c6ce2b-3d56-48a5-997a-669351d8a184" /client userID=2cfac02e-8732-414c-b828-054c85b26c9e time="2026-09-17T09:54:15Z" msg="Frontend service stopped" time="2026-09-17T09:54:15Z" msg="Frontend client stopped" time="2026-09-17T09:54:15Z" msg="Closing bridge" time="2026-09-17T09:54:15Z" msg="Stopping service" time="2026-09-17T09:54:15Z" msg="Closing user" userID=da2f1b30-40e5-4c43-a2db-833e6c9a7b68 time="2026-09-17T09:54:15Z" msg="De-registering user client, ID:da2f1b30-40e5-4c43-a2db-833e6c9a7b68" time="2026-09-17T09:54:15Z" msg="Exiting IMAP Service" time="2026-09-17T09:54:15Z" msg="Exiting service main loop" time="2026-09-17T09:54:15Z" msg="Exiting service main loop" time="2026-09-17T09:54:15Z" msg="Exiting Service" time="2026-09-17T09:54:15Z" msg="Exiting service main loop" time="2026-09-17T09:54:15Z" msg="Exiting service" time="2026-09-17T09:54:15Z" msg="Closing user" userID=2cfac02e-8732-414c-b828-054c85b26c9e time="2026-09-17T09:54:15Z" msg="De-registering user client, ID:2cfac02e-8732-414c-b828-054c85b26c9e" time="2026-09-17T09:54:15Z" msg="Exiting IMAP Service" time="2026-09-17T09:54:15Z" msg="Exiting service main loop" time="2026-09-17T09:54:15Z" msg="Exiting service main loop" time="2026-09-17T09:54:15Z" msg="Exiting Service" time="2026-09-17T09:54:15Z" msg="Exiting service main loop" time="2026-09-17T09:54:15Z" msg="Exiting service" time="2026-09-17T09:54:15Z" msg="Closing IMAP Listener" time="2026-09-17T09:54:15Z" msg="Closing IMAP server" time="2026-09-17T09:54:15Z" msg="Closing SMTP Listener" time="2026-09-17T09:54:15Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:54:15Z" msg="Closing SMTP server" time="2026-09-17T09:54:15Z" msg="Closing service" Then IMAP client "2" eventually sees the following messages in "Inbox": # :1 -> *scenario | from | to | subject | body | | 00ecf5ca-d051-4277-b6a6-f4a74cfcd6da@proton.local | 4afe7e41-fda2-4419-8dc2-a83e383628d0@proton.local | Hello | World | | 00ecf5ca-d051-4277-b6a6-f4a74cfcd6da@proton.local | 4afe7e41-fda2-4419-8dc2-a83e383628d0@proton.local | Hello. | World | Feature: SMTP sending with APPENDing to Sent time="2026-09-17T09:54:16Z" msg="User '9280cae2-e84b-46ac-bb3f-9a9028403d65' created with " /server/backend Background: Given there exists an account with username "9280cae2-e84b-46ac-bb3f-9a9028403d65" and password "password" # :1 -> *scenario time="2026-09-17T09:54:16Z" msg="User '04805761-e16e-4309-9394-faf1dc672b53' created with " /server/backend And there exists an account with username "04805761-e16e-4309-9394-faf1dc672b53" and password "password" # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:54:17Z" msg="Starting bridge" time="2026-09-17T09:54:17Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/233/config2132353259/grpcFocusServerConfig.json /service time="2026-09-17T09:54:17Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/233/cache2528055433/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:54:17Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/233/cache2528055433/notifications/notification_cache: no such file or directory" time="2026-09-17T09:54:17Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/233/data1216882753/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/233/data1216882753/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:54:17Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:54:17Z" msg="Starting IMAP server" time="2026-09-17T09:54:17Z" msg="Starting SMTP server" time="2026-09-17T09:54:17Z" msg="Starting service" time="2026-09-17T09:54:17Z" msg="Starting service" time="2026-09-17T09:54:17Z" msg="Starting poll service" time="2026-09-17T09:54:17Z" msg="Loading users" /user time="2026-09-17T09:54:17Z" msg="Finished loading users" /user time="2026-09-17T09:54:17Z" msg="Checking for updates" time="2026-09-17T09:54:17Z" msg="Starting receiver service" time="2026-09-17T09:54:17Z" msg="Starting frontend service" time="2026-09-17T09:54:17Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/233/config2132353259/grpcServerConfig.json time="2026-09-17T09:54:17Z" msg="gRPC server listening on /tmp/bridge3395" time="2026-09-17T09:54:17Z" msg="Frontend service started" time="2026-09-17T09:54:17Z" msg="Starting frontend client" time="2026-09-17T09:54:17Z" msg="Not monitoring parent PID" time="2026-09-17T09:54:17Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:54:17Z" msg="Frontend client started" When bridge starts # :1 -> *scenario time="2026-09-17T09:54:17Z" msg="Performing full user login" /user username="******** (fd77c49b)" time="2026-09-17T09:54:17Z" msg="Authorizing user for login" /user username="******** (fd77c49b)" time="2026-09-17T09:54:17Z" msg="200 OK: GET https://127.0.0.1:32853/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:54:17Z" msg="200 OK: POST https://127.0.0.1:32853/auth/v4/info" /manager time="2026-09-17T09:54:17Z" msg="200 OK: POST https://127.0.0.1:32853/auth/v4" /manager time="2026-09-17T09:54:17Z" msg="Logging in authorized user" /user userID=c95e6567-7344-4070-8a6d-a83dc53da497 time="2026-09-17T09:54:17Z" msg="Adding vault user" userID=c95e6567-7344-4070-8a6d-a83dc53da497 time="2026-09-17T09:54:17Z" msg="Creating new user" userID=c95e6567-7344-4070-8a6d-a83dc53da497 time="2026-09-17T09:54:17Z" msg="404 GET https://127.0.0.1:32853/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:54:17Z" msg="404 GET https://127.0.0.1:32853/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:54:17Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:32853/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:54:17Z" msg="Creating user object" authUID=340e8bdf-715c-4fac-b1c4-0f4742c42262 numA numL userID=c95e6567-7344-4070-8a6d-a83dc53da497 time="2026-09-17T09:54:17Z" msg="200 OK: GET https://127.0.0.1:32853/core/v4/events/latest" /client userID=c95e6567-7344-4070-8a6d-a83dc53da497 time="2026-09-17T09:54:17Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:54:17Z" msg="200 OK: GET https://127.0.0.1:32853/core/v4/settings" /client userID=c95e6567-7344-4070-8a6d-a83dc53da497 time="2026-09-17T09:54:17Z" msg="Registering user client, ID:c95e6567-7344-4070-8a6d-a83dc53da497" time="2026-09-17T09:54:17Z" msg="Starting service main loop" time="2026-09-17T09:54:17Z" msg="Starting user identity service" numA time="2026-09-17T09:54:17Z" msg="Starting service main loop" time="2026-09-17T09:54:17Z" msg="Starting service main loop" time="2026-09-17T09:54:17Z" msg="200 OK: GET https://127.0.0.1:32853/core/v4/labels?T" /client userID=c95e6567-7344-4070-8a6d-a83dc53da497 time="2026-09-17T09:54:17Z" msg="200 OK: GET https://127.0.0.1:32853/core/v4/labels?T" /client userID=c95e6567-7344-4070-8a6d-a83dc53da497 time="2026-09-17T09:54:17Z" msg="200 OK: GET https://127.0.0.1:32853/core/v4/labels?T" /client userID=c95e6567-7344-4070-8a6d-a83dc53da497 time="2026-09-17T09:54:17Z" msg="Setting labels" labelIDs="[10 0 1 2 3 4 12 5 6 7 8 9]" time="2026-09-17T09:54:17Z" msg="Adding user to imap server" addrID=32f0c53b-c940-4d99-9e96-295f82d14ed3 time="2026-09-17T09:54:17Z" msg="Creating new IMAP user" addrID=32f0c53b-c940-4d99-9e96-295f82d14ed3 time="2026-09-17T09:54:17Z" msg="Setting gluon ID" addrID=32f0c53b-c940-4d99-9e96-295f82d14ed3 gluonID=04659a34-4fbe-4f56-beb0-6afbe56c72aa userID=c95e6567-7344-4070-8a6d-a83dc53da497 time="2026-09-17T09:54:17Z" msg="Received mailbox message count" gluonID=04659a34-4fbe-4f56-beb0-6afbe56c72aa labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:54:17Z" msg="Created new IMAP user" addrID=32f0c53b-c940-4d99-9e96-295f82d14ed3 gluonID=04659a34-4fbe-4f56-beb0-6afbe56c72aa time="2026-09-17T09:54:17Z" msg="Validating Listener State" time="2026-09-17T09:54:17Z" time="2026-09-17T09:54:17Z" msg="Starting IMAP Service" time="2026-09-17T09:54:17Z" msg="Checking whether logged in user should re-sync. UserID:c95e6567-7344-4070-8a6d-a83dc53da497" userID=c95e6567-7344-4070-8a6d-a83dc53da497 And the user logs in with username "9280cae2-e84b-46ac-bb3f-9a9028403d65" and password "password" # :1 -> *scenario time="2026-09-17T09:54:17Z" msg="Sync triggered" time="2026-09-17T09:54:17Z" msg="Beginning user sync" start="2026-09-17 09:54:17.505578951 +0000 UTC m=+545.997881367" time="2026-09-17T09:54:17Z" msg="Syncing labels" And user "9280cae2-e84b-46ac-bb3f-9a9028403d65" connects and authenticates SMTP client "1" # :1 -> *scenario time="2026-09-17T09:54:17Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=04659a34-4fbe-4f56-beb0-6afbe56c72aa And user "9280cae2-e84b-46ac-bb3f-9a9028403d65" connects and authenticates IMAP client "1" # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:54:17Z" msg="Sending observability data." time="2026-09-17T09:54:17Z" msg="200 OK: GET https://127.0.0.1:32853/mail/v4/settings" /client userID=c95e6567-7344-4070-8a6d-a83dc53da497 time="2026-09-17T09:54:17Z" msg="200 OK: POST https://127.0.0.1:32853/data/v1/metrics" /client userID=c95e6567-7344-4070-8a6d-a83dc53da497 time="2026-09-17T09:54:17Z" msg="Successfully sent observability data." time="2026-09-17T09:54:17Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=04659a34-4fbe-4f56-beb0-6afbe56c72aa time="2026-09-17T09:54:17Z" msg="Mailbox created" /user remoteMailboxID=10 userID=04659a34-4fbe-4f56-beb0-6afbe56c72aa time="2026-09-17T09:54:17Z" msg="Mailbox created" /user remoteMailboxID=4 userID=04659a34-4fbe-4f56-beb0-6afbe56c72aa time="2026-09-17T09:54:17Z" msg="Mailbox created" /user remoteMailboxID=12 userID=04659a34-4fbe-4f56-beb0-6afbe56c72aa time="2026-09-17T09:54:17Z" msg="Mailbox created" /user remoteMailboxID=6 userID=04659a34-4fbe-4f56-beb0-6afbe56c72aa time="2026-09-17T09:54:17Z" msg="Mailbox created" /user remoteMailboxID=8 userID=04659a34-4fbe-4f56-beb0-6afbe56c72aa time="2026-09-17T09:54:17Z" msg="Mailbox created" /user remoteMailboxID=0 userID=04659a34-4fbe-4f56-beb0-6afbe56c72aa time="2026-09-17T09:54:17Z" msg="Mailbox created" /user remoteMailboxID=3 userID=04659a34-4fbe-4f56-beb0-6afbe56c72aa time="2026-09-17T09:54:17Z" msg="Mailbox created" /user remoteMailboxID=5 userID=04659a34-4fbe-4f56-beb0-6afbe56c72aa time="2026-09-17T09:54:17Z" msg="Mailbox created" /user remoteMailboxID=7 userID=04659a34-4fbe-4f56-beb0-6afbe56c72aa time="2026-09-17T09:54:17Z" msg="Synced labels" time="2026-09-17T09:54:17Z" msg="200 OK: GET https://127.0.0.1:32853/mail/v4/messages/count" /client userID=c95e6567-7344-4070-8a6d-a83dc53da497 time="2026-09-17T09:54:17Z" msg="Syncing messages" time="2026-09-17T09:54:17Z" msg="Job started" time="2026-09-17T09:54:17Z" msg="200 OK: POST https://127.0.0.1:32853/mail/v4/messages" /client userID=c95e6567-7344-4070-8a6d-a83dc53da497 time="2026-09-17T09:54:17Z" msg="Job finished" time="2026-09-17T09:54:17Z" msg="All child jobs completed" sync- time="2026-09-17T09:54:17Z" msg="Synced messages" time="2026-09-17T09:54:17Z" msg="Finished user sync" .720839ms time="2026-09-17T09:54:17Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:54:17Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:54:17Z" msg="200 OK: POST https://127.0.0.1:32853/mail/v4/messages" /client userID=c95e6567-7344-4070-8a6d-a83dc53da497 time="2026-09-17T09:54:17Z" msg="200 OK: GET https://127.0.0.1:32853/core/v4/keys?E%40proton.local" /client userID=c95e6567-7344-4070-8a6d-a83dc53da497 time="2026-09-17T09:54:17Z" msg="200 OK: GET https://127.0.0.1:32853/contacts/v4/emails?E%40proton.local&P&PageS" /client userID=c95e6567-7344-4070-8a6d-a83dc53da497 time="2026-09-17T09:54:17Z" msg="200 OK: POST https://127.0.0.1:32853/mail/v4/messages/f2a3d1cc-5981-4405-ac05-5e19d56a53b8" /client userID=c95e6567-7344-4070-8a6d-a83dc53da497 time="2026-09-17T09:54:17Z" msg="Scheduling observability data sending" Scenario: Send message and append to Sent # features/smtp/send/send_append.feature:12 When SMTP client "1" sends the following message from "9280cae2-e84b-46ac-bb3f-9a9028403d65@proton.local" to "04805761-e16e-4309-9394-faf1dc672b53@proton.local": # :1 -> *scenario """ From: [user:user]@[domain] To: Internal Bridge <[user:to]@[domain]> Date: 01 Jan 1980 00:00:00 +0000 Subject: Manual send and append Message-ID: bridgemessage42 hello """ Then it succeeds # :1 -> *scenario And the body in the "POST" request to "/mail/v4/messages" is: # :1 -> *scenario """ { "Message": { "Subject": "Manual send and append", "ExternalID": "bridgemessage42" } } """ time="2026-09-17T09:54:17Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 9} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:54:18Z" msg="200 OK: GET https://127.0.0.1:32853/core/v4/events/AA==" /client userID=c95e6567-7344-4070-8a6d-a83dc53da497 time="2026-09-17T09:54:18Z" msg="Received new API event" new="Event Aw==: messages: , , " old="AA==" time="2026-09-17T09:54:18Z" msg="Handling message created event" messageID=f2a3d1cc-5981-4405-ac05-5e19d56a53b8 subject="******** (c59de2d1)" time="2026-09-17T09:54:18Z" msg="200 OK: GET https://127.0.0.1:32853/mail/v4/messages/f2a3d1cc-5981-4405-ac05-5e19d56a53b8" /client userID=c95e6567-7344-4070-8a6d-a83dc53da497 time="2026-09-17T09:54:18Z" msg="Handling draft or sent updated event" isD messageID=f2a3d1cc-5981-4405-ac05-5e19d56a53b8 subject="******** (c59de2d1)" time="2026-09-17T09:54:18Z" msg="200 OK: GET https://127.0.0.1:32853/mail/v4/messages/f2a3d1cc-5981-4405-ac05-5e19d56a53b8" /client userID=c95e6567-7344-4070-8a6d-a83dc53da497 And IMAP client "1" eventually sees the following messages in "Sent": # :1 -> *scenario | to | subject | body | message-id | | 04805761-e16e-4309-9394-faf1dc672b53@proton.local | Manual send and append | hello | | time="2026-09-17T09:54:18Z" msg="Message already in sent mailbox" addr- gluon- messageID=f2a3d1cc-5981-4405-ac05-5e19d56a53b8 user- time="2026-09-17T09:54:18Z" msg="200 OK: GET https://127.0.0.1:32853/mail/v4/messages/f2a3d1cc-5981-4405-ac05-5e19d56a53b8" /client userID=c95e6567-7344-4070-8a6d-a83dc53da497 time="2026-09-17T09:54:18Z" msg="200 OK: PUT https://127.0.0.1:32853/mail/v4/messages/unlabel" /client userID=c95e6567-7344-4070-8a6d-a83dc53da497 time="2026-09-17T09:54:18Z" msg="200 OK: PUT https://127.0.0.1:32853/mail/v4/messages/label" /client userID=c95e6567-7344-4070-8a6d-a83dc53da497 When IMAP client "1" appends the following message to "Sent": # :1 -> *scenario """ From: [user:user]@[domain] To: Internal Bridge <[user:to]@[domain]> Date: 01 Jan 1980 00:00:00 +0000 Subject: Manual send and append Message-ID: bridgemessage42 hello """ Then it succeeds # :1 -> *scenario time="2026-09-17T09:54:18Z" msg="Frontend service stopped" time="2026-09-17T09:54:18Z" msg="Frontend client stopped" time="2026-09-17T09:54:18Z" msg="Closing bridge" time="2026-09-17T09:54:18Z" msg="Stopping service" time="2026-09-17T09:54:18Z" msg="Closing user" userID=c95e6567-7344-4070-8a6d-a83dc53da497 time="2026-09-17T09:54:18Z" msg="De-registering user client, ID:c95e6567-7344-4070-8a6d-a83dc53da497" time="2026-09-17T09:54:18Z" msg="Exiting IMAP Service" time="2026-09-17T09:54:18Z" msg="Exiting service main loop" time="2026-09-17T09:54:18Z" msg="Exiting service main loop" time="2026-09-17T09:54:18Z" msg="Exiting Service" time="2026-09-17T09:54:18Z" msg="Exiting service main loop" time="2026-09-17T09:54:18Z" msg="Exiting service" time="2026-09-17T09:54:18Z" msg="Closing IMAP Listener" time="2026-09-17T09:54:18Z" msg="Closing IMAP server" time="2026-09-17T09:54:18Z" msg="Closing SMTP Listener" time="2026-09-17T09:54:18Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:54:18Z" msg="Closing SMTP server" time="2026-09-17T09:54:18Z" msg="Closing service" And IMAP client "1" eventually sees the following messages in "Sent": # :1 -> *scenario | to | subject | body | message-id | | 04805761-e16e-4309-9394-faf1dc672b53@proton.local | Manual send and append | hello | | Feature: SMTP send reply time="2026-09-17T09:54:18Z" msg="User '19741e4d-c27c-4b15-a469-77958076c688' created with " /server/backend Background: Given there exists an account with username "19741e4d-c27c-4b15-a469-77958076c688" and password "password"# :1 -> *scenario time="2026-09-17T09:54:19Z" msg="User '7b2ea974-6d1a-4032-aafc-e77d585b2ff9' created with " /server/backend And there exists an account with username "7b2ea974-6d1a-4032-aafc-e77d585b2ff9" and password "password" # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:54:19Z" msg="Starting bridge" time="2026-09-17T09:54:19Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/234/config179626338/grpcFocusServerConfig.json /service time="2026-09-17T09:54:19Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/234/cache174183839/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:54:19Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/234/cache174183839/notifications/notification_cache: no such file or directory" time="2026-09-17T09:54:19Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/234/data1771565790/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/234/data1771565790/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:54:19Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:54:19Z" msg="Starting IMAP server" time="2026-09-17T09:54:19Z" msg="Starting SMTP server" time="2026-09-17T09:54:19Z" msg="Starting service" time="2026-09-17T09:54:19Z" msg="Starting service" time="2026-09-17T09:54:19Z" msg="Starting poll service" time="2026-09-17T09:54:19Z" msg="Starting receiver service" time="2026-09-17T09:54:19Z" msg="Checking for updates" time="2026-09-17T09:54:19Z" msg="Starting frontend service" time="2026-09-17T09:54:19Z" msg="Loading users" /user time="2026-09-17T09:54:19Z" msg="Finished loading users" /user time="2026-09-17T09:54:19Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/234/config179626338/grpcServerConfig.json time="2026-09-17T09:54:19Z" msg="gRPC server listening on /tmp/bridge7405" time="2026-09-17T09:54:19Z" msg="Frontend service started" time="2026-09-17T09:54:19Z" msg="Starting frontend client" time="2026-09-17T09:54:19Z" msg="Not monitoring parent PID" time="2026-09-17T09:54:19Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:54:19Z" msg="Frontend client started" When bridge starts # :1 -> *scenario time="2026-09-17T09:54:19Z" msg="Performing full user login" /user username="******** (2051c790)" time="2026-09-17T09:54:19Z" msg="Authorizing user for login" /user username="******** (2051c790)" time="2026-09-17T09:54:19Z" msg="200 OK: GET https://127.0.0.1:39433/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:54:19Z" msg="200 OK: POST https://127.0.0.1:39433/auth/v4/info" /manager time="2026-09-17T09:54:20Z" msg="200 OK: POST https://127.0.0.1:39433/auth/v4" /manager time="2026-09-17T09:54:20Z" msg="Logging in authorized user" /user userID=d279f9ad-20e5-4ba8-a282-51a7c923e99b time="2026-09-17T09:54:20Z" msg="Adding vault user" userID=d279f9ad-20e5-4ba8-a282-51a7c923e99b time="2026-09-17T09:54:20Z" msg="Creating new user" userID=d279f9ad-20e5-4ba8-a282-51a7c923e99b time="2026-09-17T09:54:20Z" msg="404 GET https://127.0.0.1:39433/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:54:20Z" msg="404 GET https://127.0.0.1:39433/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:54:20Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:39433/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:54:20Z" msg="Creating user object" authUID=f0e7942b-991f-4dda-9c50-9de5cfcebd76 numA numL userID=d279f9ad-20e5-4ba8-a282-51a7c923e99b time="2026-09-17T09:54:20Z" msg="200 OK: GET https://127.0.0.1:39433/core/v4/events/latest" /client userID=d279f9ad-20e5-4ba8-a282-51a7c923e99b time="2026-09-17T09:54:20Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:54:20Z" msg="200 OK: GET https://127.0.0.1:39433/core/v4/settings" /client userID=d279f9ad-20e5-4ba8-a282-51a7c923e99b time="2026-09-17T09:54:20Z" msg="Registering user client, ID:d279f9ad-20e5-4ba8-a282-51a7c923e99b" time="2026-09-17T09:54:20Z" msg="Starting service main loop" time="2026-09-17T09:54:20Z" msg="Starting user identity service" numA time="2026-09-17T09:54:20Z" msg="Starting service main loop" time="2026-09-17T09:54:20Z" msg="Starting service main loop" time="2026-09-17T09:54:20Z" msg="200 OK: GET https://127.0.0.1:39433/core/v4/labels?T" /client userID=d279f9ad-20e5-4ba8-a282-51a7c923e99b time="2026-09-17T09:54:20Z" msg="200 OK: GET https://127.0.0.1:39433/core/v4/labels?T" /client userID=d279f9ad-20e5-4ba8-a282-51a7c923e99b time="2026-09-17T09:54:20Z" msg="200 OK: GET https://127.0.0.1:39433/core/v4/labels?T" /client userID=d279f9ad-20e5-4ba8-a282-51a7c923e99b time="2026-09-17T09:54:20Z" msg="Setting labels" labelIDs="[8 9 2 5 6 10 12 0 1 3 4 7]" time="2026-09-17T09:54:20Z" msg="Adding user to imap server" addrID=7a04f00c-1e73-440f-92c2-090898288e45 time="2026-09-17T09:54:20Z" msg="Creating new IMAP user" addrID=7a04f00c-1e73-440f-92c2-090898288e45 time="2026-09-17T09:54:20Z" msg="Setting gluon ID" addrID=7a04f00c-1e73-440f-92c2-090898288e45 gluonID=6c044f74-2e96-4187-b578-04f246c6bf06 userID=d279f9ad-20e5-4ba8-a282-51a7c923e99b time="2026-09-17T09:54:20Z" msg="Received mailbox message count" gluonID=6c044f74-2e96-4187-b578-04f246c6bf06 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:54:20Z" msg="Created new IMAP user" addrID=7a04f00c-1e73-440f-92c2-090898288e45 gluonID=6c044f74-2e96-4187-b578-04f246c6bf06 time="2026-09-17T09:54:20Z" msg="Validating Listener State" time="2026-09-17T09:54:20Z" time="2026-09-17T09:54:20Z" msg="Starting IMAP Service" time="2026-09-17T09:54:20Z" msg="Checking whether logged in user should re-sync. UserID:d279f9ad-20e5-4ba8-a282-51a7c923e99b" userID=d279f9ad-20e5-4ba8-a282-51a7c923e99b time="2026-09-17T09:54:20Z" msg="Sync triggered" And the user logs in with username "19741e4d-c27c-4b15-a469-77958076c688" and password "password" # :1 -> *scenario time="2026-09-17T09:54:20Z" msg="Beginning user sync" start="2026-09-17 09:54:20.354596222 +0000 UTC m=+548.846898558" time="2026-09-17T09:54:20Z" msg="Syncing labels" time="2026-09-17T09:54:20Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=6c044f74-2e96-4187-b578-04f246c6bf06 time="2026-09-17T09:54:20Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=6c044f74-2e96-4187-b578-04f246c6bf06 time="2026-09-17T09:54:20Z" msg="Mailbox created" /user remoteMailboxID=3 userID=6c044f74-2e96-4187-b578-04f246c6bf06 time="2026-09-17T09:54:20Z" msg="Mailbox created" /user remoteMailboxID=4 userID=6c044f74-2e96-4187-b578-04f246c6bf06 time="2026-09-17T09:54:20Z" msg="Mailbox created" /user remoteMailboxID=7 userID=6c044f74-2e96-4187-b578-04f246c6bf06 time="2026-09-17T09:54:20Z" msg="Mailbox created" /user remoteMailboxID=5 userID=6c044f74-2e96-4187-b578-04f246c6bf06 time="2026-09-17T09:54:20Z" msg="Mailbox created" /user remoteMailboxID=10 userID=6c044f74-2e96-4187-b578-04f246c6bf06 time="2026-09-17T09:54:20Z" msg="Mailbox created" /user remoteMailboxID=12 userID=6c044f74-2e96-4187-b578-04f246c6bf06 time="2026-09-17T09:54:20Z" msg="Mailbox created" /user remoteMailboxID=0 userID=6c044f74-2e96-4187-b578-04f246c6bf06 time="2026-09-17T09:54:20Z" msg="Mailbox created" /user remoteMailboxID=8 userID=6c044f74-2e96-4187-b578-04f246c6bf06 time="2026-09-17T09:54:20Z" msg="Mailbox created" /user remoteMailboxID=6 userID=6c044f74-2e96-4187-b578-04f246c6bf06 time="2026-09-17T09:54:20Z" msg="Synced labels" time="2026-09-17T09:54:20Z" msg="200 OK: GET https://127.0.0.1:39433/mail/v4/messages/count" /client userID=d279f9ad-20e5-4ba8-a282-51a7c923e99b time="2026-09-17T09:54:20Z" msg="Syncing messages" time="2026-09-17T09:54:20Z" msg="Job started" time="2026-09-17T09:54:20Z" msg="200 OK: POST https://127.0.0.1:39433/mail/v4/messages" /client userID=d279f9ad-20e5-4ba8-a282-51a7c923e99b time="2026-09-17T09:54:20Z" msg="Job finished" time="2026-09-17T09:54:20Z" msg="All child jobs completed" sync- time="2026-09-17T09:54:20Z" msg="Synced messages" time="2026-09-17T09:54:20Z" msg="Finished user sync" .134041ms time="2026-09-17T09:54:20Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:54:20Z" msg="Event loop reset" eventID="AA==" And user "19741e4d-c27c-4b15-a469-77958076c688" finishes syncing # :1 -> *scenario And user "19741e4d-c27c-4b15-a469-77958076c688" connects and authenticates SMTP client "1" # :1 -> *scenario And user "19741e4d-c27c-4b15-a469-77958076c688" connects and authenticates IMAP client "1" # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:54:20Z" msg="Sending observability data." time="2026-09-17T09:54:20Z" msg="200 OK: GET https://127.0.0.1:39433/mail/v4/settings" /client userID=d279f9ad-20e5-4ba8-a282-51a7c923e99b time="2026-09-17T09:54:20Z" msg="200 OK: POST https://127.0.0.1:39433/data/v1/metrics" /client userID=d279f9ad-20e5-4ba8-a282-51a7c923e99b time="2026-09-17T09:54:20Z" msg="Successfully sent observability data." time="2026-09-17T09:54:20Z" msg="200 OK: POST https://127.0.0.1:39433/mail/v4/messages" /client userID=d279f9ad-20e5-4ba8-a282-51a7c923e99b time="2026-09-17T09:54:20Z" msg="200 OK: GET https://127.0.0.1:39433/core/v4/keys?E%40proton.local" /client userID=d279f9ad-20e5-4ba8-a282-51a7c923e99b time="2026-09-17T09:54:20Z" msg="200 OK: GET https://127.0.0.1:39433/contacts/v4/emails?E%40proton.local&P&PageS" /client userID=d279f9ad-20e5-4ba8-a282-51a7c923e99b time="2026-09-17T09:54:20Z" msg="200 OK: POST https://127.0.0.1:39433/mail/v4/messages/4d0898cc-4117-442d-a5e7-82da03be85f6" /client userID=d279f9ad-20e5-4ba8-a282-51a7c923e99b time="2026-09-17T09:54:20Z" msg="Scheduling observability data sending" Scenario: Reply with In-Reply-To but no References # features/smtp/send/send_reply.feature:14 When SMTP client "1" sends the following message from "19741e4d-c27c-4b15-a469-77958076c688@proton.local" to "7b2ea974-6d1a-4032-aafc-e77d585b2ff9@proton.local": # :1 -> *scenario """ From: Bridge Test <[user:user1]@[domain]> To: Internal Bridge <[user:user2]@[domain]> Subject: Please Reply Message-ID: hello """ Then it succeeds # :1 -> *scenario time="2026-09-17T09:54:20Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 7} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:54:21Z" msg="200 OK: GET https://127.0.0.1:39433/core/v4/events/AA==" /client userID=d279f9ad-20e5-4ba8-a282-51a7c923e99b time="2026-09-17T09:54:21Z" msg="Received new API event" new="Event Aw==: messages: , , " old="AA==" time="2026-09-17T09:54:21Z" msg="Handling message created event" messageID=4d0898cc-4117-442d-a5e7-82da03be85f6 subject="******** (d9b2d36e)" time="2026-09-17T09:54:21Z" msg="200 OK: GET https://127.0.0.1:39433/mail/v4/messages/4d0898cc-4117-442d-a5e7-82da03be85f6" /client userID=d279f9ad-20e5-4ba8-a282-51a7c923e99b time="2026-09-17T09:54:21Z" msg="Handling draft or sent updated event" isD messageID=4d0898cc-4117-442d-a5e7-82da03be85f6 subject="******** (d9b2d36e)" time="2026-09-17T09:54:21Z" msg="200 OK: GET https://127.0.0.1:39433/mail/v4/messages/4d0898cc-4117-442d-a5e7-82da03be85f6" /client userID=d279f9ad-20e5-4ba8-a282-51a7c923e99b Then IMAP client "1" eventually sees the following messages in "Sent": # :1 -> *scenario | from | to | subject | message-id | | 19741e4d-c27c-4b15-a469-77958076c688@proton.local | 7b2ea974-6d1a-4032-aafc-e77d585b2ff9@proton.local | Please Reply | | time="2026-09-17T09:54:21Z" msg="Performing full user login" /user username="******** (34310273)" time="2026-09-17T09:54:21Z" msg="Authorizing user for login" /user username="******** (34310273)" time="2026-09-17T09:54:21Z" msg="200 OK: POST https://127.0.0.1:39433/auth/v4/info" /manager time="2026-09-17T09:54:21Z" msg="200 OK: POST https://127.0.0.1:39433/auth/v4" /manager time="2026-09-17T09:54:21Z" msg="Logging in authorized user" /user userID=703d9d9d-eac3-45b2-b717-817eabe6cd61 time="2026-09-17T09:54:21Z" msg="Adding vault user" userID=703d9d9d-eac3-45b2-b717-817eabe6cd61 time="2026-09-17T09:54:21Z" msg="Creating new user" userID=703d9d9d-eac3-45b2-b717-817eabe6cd61 time="2026-09-17T09:54:21Z" msg="404 GET https://127.0.0.1:39433/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:54:21Z" msg="404 GET https://127.0.0.1:39433/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:54:21Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:39433/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:54:21Z" msg="Creating user object" authUID=96f2317c-ded6-4df4-ba6f-bc9751b16cc6 numA numL userID=703d9d9d-eac3-45b2-b717-817eabe6cd61 time="2026-09-17T09:54:21Z" msg="200 OK: GET https://127.0.0.1:39433/core/v4/events/latest" /client userID=703d9d9d-eac3-45b2-b717-817eabe6cd61 time="2026-09-17T09:54:21Z" msg="Starting service Last EventID=BA==" time="2026-09-17T09:54:21Z" msg="200 OK: GET https://127.0.0.1:39433/core/v4/settings" /client userID=703d9d9d-eac3-45b2-b717-817eabe6cd61 time="2026-09-17T09:54:21Z" msg="Registering user client, ID:703d9d9d-eac3-45b2-b717-817eabe6cd61" time="2026-09-17T09:54:21Z" msg="Starting service main loop" time="2026-09-17T09:54:21Z" msg="Starting service main loop" time="2026-09-17T09:54:21Z" msg="Starting user identity service" numA time="2026-09-17T09:54:21Z" msg="Starting service main loop" time="2026-09-17T09:54:21Z" msg="200 OK: GET https://127.0.0.1:39433/core/v4/labels?T" /client userID=703d9d9d-eac3-45b2-b717-817eabe6cd61 time="2026-09-17T09:54:21Z" msg="200 OK: GET https://127.0.0.1:39433/core/v4/labels?T" /client userID=703d9d9d-eac3-45b2-b717-817eabe6cd61 time="2026-09-17T09:54:21Z" msg="200 OK: GET https://127.0.0.1:39433/core/v4/labels?T" /client userID=703d9d9d-eac3-45b2-b717-817eabe6cd61 time="2026-09-17T09:54:21Z" msg="Setting labels" labelIDs="[5 9 12 1 6 7 8 10 0 2 3 4]" time="2026-09-17T09:54:21Z" msg="Adding user to imap server" addrID=ad8d2c90-eb51-4e5d-b0ff-48eec59b85d6 time="2026-09-17T09:54:21Z" msg="Creating new IMAP user" addrID=ad8d2c90-eb51-4e5d-b0ff-48eec59b85d6 time="2026-09-17T09:54:21Z" msg="Setting gluon ID" addrID=ad8d2c90-eb51-4e5d-b0ff-48eec59b85d6 gluonID=0b40613e-ef74-4926-9cf9-5e16a6d25281 userID=703d9d9d-eac3-45b2-b717-817eabe6cd61 time="2026-09-17T09:54:21Z" msg="Received mailbox message count" gluonID=0b40613e-ef74-4926-9cf9-5e16a6d25281 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:54:21Z" msg="Created new IMAP user" addrID=ad8d2c90-eb51-4e5d-b0ff-48eec59b85d6 gluonID=0b40613e-ef74-4926-9cf9-5e16a6d25281 time="2026-09-17T09:54:21Z" msg="Validating Listener State" time="2026-09-17T09:54:21Z" time="2026-09-17T09:54:21Z" msg="Starting IMAP Service" And the user logs in with username "7b2ea974-6d1a-4032-aafc-e77d585b2ff9" and password "password" # :1 -> *scenario time="2026-09-17T09:54:21Z" msg="Checking whether logged in user should re-sync. UserID:703d9d9d-eac3-45b2-b717-817eabe6cd61" userID=703d9d9d-eac3-45b2-b717-817eabe6cd61 time="2026-09-17T09:54:21Z" msg="Sync triggered" time="2026-09-17T09:54:21Z" msg="Beginning user sync" start="2026-09-17 09:54:21.835518971 +0000 UTC m=+550.327821307" And user "7b2ea974-6d1a-4032-aafc-e77d585b2ff9" connects and authenticates IMAP client "2" # :1 -> *scenario time="2026-09-17T09:54:21Z" msg="Syncing labels" And user "7b2ea974-6d1a-4032-aafc-e77d585b2ff9" connects and authenticates SMTP client "2" # :1 -> *scenario time="2026-09-17T09:54:21Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=0b40613e-ef74-4926-9cf9-5e16a6d25281 time="2026-09-17T09:54:21Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=0b40613e-ef74-4926-9cf9-5e16a6d25281 time="2026-09-17T09:54:21Z" msg="Mailbox created" /user remoteMailboxID=6 userID=0b40613e-ef74-4926-9cf9-5e16a6d25281 time="2026-09-17T09:54:21Z" msg="Mailbox created" /user remoteMailboxID=7 userID=0b40613e-ef74-4926-9cf9-5e16a6d25281 time="2026-09-17T09:54:21Z" msg="Mailbox created" /user remoteMailboxID=8 userID=0b40613e-ef74-4926-9cf9-5e16a6d25281 time="2026-09-17T09:54:21Z" msg="Mailbox created" /user remoteMailboxID=3 userID=0b40613e-ef74-4926-9cf9-5e16a6d25281 time="2026-09-17T09:54:21Z" msg="Mailbox created" /user remoteMailboxID=4 userID=0b40613e-ef74-4926-9cf9-5e16a6d25281 time="2026-09-17T09:54:21Z" msg="Mailbox created" /user remoteMailboxID=12 userID=0b40613e-ef74-4926-9cf9-5e16a6d25281 time="2026-09-17T09:54:21Z" msg="Mailbox created" /user remoteMailboxID=10 userID=0b40613e-ef74-4926-9cf9-5e16a6d25281 time="2026-09-17T09:54:21Z" msg="Mailbox created" /user remoteMailboxID=0 userID=0b40613e-ef74-4926-9cf9-5e16a6d25281 time="2026-09-17T09:54:21Z" msg="Mailbox created" /user remoteMailboxID=5 userID=0b40613e-ef74-4926-9cf9-5e16a6d25281 time="2026-09-17T09:54:21Z" msg="Synced labels" time="2026-09-17T09:54:21Z" msg="200 OK: GET https://127.0.0.1:39433/mail/v4/messages/count" /client userID=703d9d9d-eac3-45b2-b717-817eabe6cd61 time="2026-09-17T09:54:21Z" msg="Syncing messages" time="2026-09-17T09:54:21Z" msg="Job started" time="2026-09-17T09:54:21Z" msg="200 OK: POST https://127.0.0.1:39433/mail/v4/messages" /client userID=703d9d9d-eac3-45b2-b717-817eabe6cd61 time="2026-09-17T09:54:21Z" msg="200 OK: POST https://127.0.0.1:39433/mail/v4/messages" /client userID=703d9d9d-eac3-45b2-b717-817eabe6cd61 time="2026-09-17T09:54:21Z" msg="Creating new child job" time="2026-09-17T09:54:21Z" msg="Job finished" time="2026-09-17T09:54:21Z" msg="200 OK: GET https://127.0.0.1:39433/mail/v4/messages/715e9deb-b389-46b1-9d76-78a690fb1b3a" /client userID=703d9d9d-eac3-45b2-b717-817eabe6cd61 time="2026-09-17T09:54:21Z" msg="Child job finished" time="2026-09-17T09:54:21Z" msg="All child jobs completed" sync- time="2026-09-17T09:54:21Z" msg="Synced messages" time="2026-09-17T09:54:21Z" msg="Finished user sync" .377398ms time="2026-09-17T09:54:21Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:54:21Z" msg="Event loop reset" eventID="BA==" And user "7b2ea974-6d1a-4032-aafc-e77d585b2ff9" finishes syncing # :1 -> *scenario Then IMAP client "2" eventually sees the following messages in "INBOX": # :1 -> *scenario | from | subject | message-id | reply-to | | 19741e4d-c27c-4b15-a469-77958076c688@proton.local | Please Reply | | 19741e4d-c27c-4b15-a469-77958076c688@proton.local | time="2026-09-17T09:54:21Z" msg="200 OK: GET https://127.0.0.1:39433/mail/v4/settings" /client userID=703d9d9d-eac3-45b2-b717-817eabe6cd61 time="2026-09-17T09:54:21Z" msg="200 OK: POST https://127.0.0.1:39433/mail/v4/messages" /client userID=703d9d9d-eac3-45b2-b717-817eabe6cd61 time="2026-09-17T09:54:21Z" msg="200 OK: POST https://127.0.0.1:39433/mail/v4/messages" /client userID=703d9d9d-eac3-45b2-b717-817eabe6cd61 time="2026-09-17T09:54:21Z" msg="200 OK: POST https://127.0.0.1:39433/mail/v4/messages" /client userID=703d9d9d-eac3-45b2-b717-817eabe6cd61 time="2026-09-17T09:54:21Z" msg="200 OK: GET https://127.0.0.1:39433/core/v4/keys?E%40proton.local" /client userID=703d9d9d-eac3-45b2-b717-817eabe6cd61 time="2026-09-17T09:54:21Z" msg="200 OK: GET https://127.0.0.1:39433/contacts/v4/emails?E%40proton.local&P&PageS" /client userID=703d9d9d-eac3-45b2-b717-817eabe6cd61 time="2026-09-17T09:54:21Z" msg="200 OK: POST https://127.0.0.1:39433/mail/v4/messages/b9f476ab-c02a-4283-a6fa-8f9759e3afe1" /client userID=703d9d9d-eac3-45b2-b717-817eabe6cd61 When SMTP client "2" sends the following message from "7b2ea974-6d1a-4032-aafc-e77d585b2ff9@proton.local" to "19741e4d-c27c-4b15-a469-77958076c688@proton.local": # :1 -> *scenario """ From: Internal Bridge <[user:user2]@[domain]> To: Bridge Test <[user:user1]@[domain]> Content-Type: text/plain Subject: FW - Please Reply In-Reply-To: Heya """ Then it succeeds # :1 -> *scenario time="2026-09-17T09:54:22Z" msg="200 OK: GET https://127.0.0.1:39433/core/v4/events/Aw==" /client userID=d279f9ad-20e5-4ba8-a282-51a7c923e99b time="2026-09-17T09:54:22Z" msg="Received new API event" new="Event CA==: messages: , , " old="Aw==" time="2026-09-17T09:54:22Z" msg="Handling message created event" messageID=c9eaf20c-9049-44ca-87c0-6645f2524bb1 subject="******** (22f3b0e1)" time="2026-09-17T09:54:22Z" msg="200 OK: GET https://127.0.0.1:39433/mail/v4/messages/c9eaf20c-9049-44ca-87c0-6645f2524bb1" /client userID=d279f9ad-20e5-4ba8-a282-51a7c923e99b time="2026-09-17T09:54:22Z" msg="200 OK: GET https://127.0.0.1:39433/core/v4/events/BA==" /client userID=703d9d9d-eac3-45b2-b717-817eabe6cd61 time="2026-09-17T09:54:22Z" msg="Received new API event" new="Event Bw==: messages: , , " old="BA==" time="2026-09-17T09:54:22Z" msg="Handling message created event" messageID=b9f476ab-c02a-4283-a6fa-8f9759e3afe1 subject="******** (22f3b0e1)" time="2026-09-17T09:54:22Z" msg="200 OK: GET https://127.0.0.1:39433/mail/v4/messages/b9f476ab-c02a-4283-a6fa-8f9759e3afe1" /client userID=703d9d9d-eac3-45b2-b717-817eabe6cd61 time="2026-09-17T09:54:22Z" msg="Handling message updated event" messageID=715e9deb-b389-46b1-9d76-78a690fb1b3a subject="******** (d9b2d36e)" time="2026-09-17T09:54:22Z" msg="Handling draft or sent updated event" isD messageID=b9f476ab-c02a-4283-a6fa-8f9759e3afe1 subject="******** (22f3b0e1)" time="2026-09-17T09:54:22Z" msg="200 OK: GET https://127.0.0.1:39433/mail/v4/messages/b9f476ab-c02a-4283-a6fa-8f9759e3afe1" /client userID=703d9d9d-eac3-45b2-b717-817eabe6cd61 Then IMAP client "2" eventually sees the following messages in "Sent": # :1 -> *scenario | from | to | subject | in-reply-to | references | | 7b2ea974-6d1a-4032-aafc-e77d585b2ff9@proton.local | 19741e4d-c27c-4b15-a469-77958076c688@proton.local | FW - Please Reply | | | time="2026-09-17T09:54:22Z" msg="Frontend service stopped" time="2026-09-17T09:54:22Z" msg="Frontend client stopped" time="2026-09-17T09:54:22Z" msg="Closing bridge" time="2026-09-17T09:54:22Z" msg="Stopping service" time="2026-09-17T09:54:22Z" msg="Closing user" userID=703d9d9d-eac3-45b2-b717-817eabe6cd61 time="2026-09-17T09:54:22Z" msg="De-registering user client, ID:703d9d9d-eac3-45b2-b717-817eabe6cd61" time="2026-09-17T09:54:22Z" msg="Exiting IMAP Service" time="2026-09-17T09:54:22Z" msg="Exiting service main loop" time="2026-09-17T09:54:22Z" msg="Exiting service main loop" time="2026-09-17T09:54:22Z" msg="Exiting Service" time="2026-09-17T09:54:22Z" msg="Exiting service main loop" time="2026-09-17T09:54:22Z" msg="Exiting service" time="2026-09-17T09:54:22Z" msg="Closing user" userID=d279f9ad-20e5-4ba8-a282-51a7c923e99b time="2026-09-17T09:54:22Z" msg="De-registering user client, ID:d279f9ad-20e5-4ba8-a282-51a7c923e99b" time="2026-09-17T09:54:22Z" msg="Exiting IMAP Service" time="2026-09-17T09:54:22Z" msg="Exiting service main loop" time="2026-09-17T09:54:22Z" msg="Exiting service main loop" time="2026-09-17T09:54:22Z" msg="Exiting Service" time="2026-09-17T09:54:22Z" msg="Exiting service main loop" time="2026-09-17T09:54:22Z" msg="Exiting service" time="2026-09-17T09:54:22Z" msg="Closing IMAP Listener" time="2026-09-17T09:54:22Z" msg="Closing IMAP server" time="2026-09-17T09:54:22Z" msg="Closing SMTP Listener" time="2026-09-17T09:54:22Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:54:22Z" msg="Closing SMTP server" time="2026-09-17T09:54:22Z" msg="Closing service" And IMAP client "1" eventually sees the following messages in "INBOX": # :1 -> *scenario | from | subject | body | in-reply-to | references | reply-to | | 7b2ea974-6d1a-4032-aafc-e77d585b2ff9@proton.local | FW - Please Reply | Heya | | | 7b2ea974-6d1a-4032-aafc-e77d585b2ff9@proton.local | time="2026-09-17T09:54:23Z" msg="User 'b87f9459-57c2-4123-ac47-37ac95093f8e' created with " /server/backend time="2026-09-17T09:54:23Z" msg="User '2303b20f-c82f-4d15-954c-9c601f7a74a2' created with " /server/backend time="2026-09-17T09:54:24Z" msg="Starting bridge" time="2026-09-17T09:54:24Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/235/config3878096448/grpcFocusServerConfig.json /service time="2026-09-17T09:54:24Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/235/cache2291367609/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:54:24Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/235/cache2291367609/notifications/notification_cache: no such file or directory" time="2026-09-17T09:54:24Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/235/data2775759010/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/235/data2775759010/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:54:24Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:54:24Z" msg="Starting IMAP server" time="2026-09-17T09:54:24Z" msg="Starting SMTP server" time="2026-09-17T09:54:24Z" msg="Starting service" time="2026-09-17T09:54:24Z" msg="Starting service" time="2026-09-17T09:54:24Z" msg="Starting frontend service" time="2026-09-17T09:54:24Z" msg="Starting poll service" time="2026-09-17T09:54:24Z" msg="Checking for updates" time="2026-09-17T09:54:24Z" msg="Loading users" /user time="2026-09-17T09:54:24Z" msg="Starting receiver service" time="2026-09-17T09:54:24Z" msg="Finished loading users" /user time="2026-09-17T09:54:24Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/235/config3878096448/grpcServerConfig.json time="2026-09-17T09:54:24Z" msg="gRPC server listening on /tmp/bridge4199" time="2026-09-17T09:54:24Z" msg="Frontend service started" time="2026-09-17T09:54:24Z" msg="Starting frontend client" time="2026-09-17T09:54:24Z" msg="Not monitoring parent PID" time="2026-09-17T09:54:24Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:54:24Z" msg="200 OK: GET https://127.0.0.1:36839/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:54:24Z" msg="Frontend client started" time="2026-09-17T09:54:24Z" msg="Performing full user login" /user username="******** (833b13de)" time="2026-09-17T09:54:24Z" msg="Authorizing user for login" /user username="******** (833b13de)" time="2026-09-17T09:54:24Z" msg="200 OK: POST https://127.0.0.1:36839/auth/v4/info" /manager time="2026-09-17T09:54:24Z" msg="200 OK: POST https://127.0.0.1:36839/auth/v4" /manager time="2026-09-17T09:54:24Z" msg="Logging in authorized user" /user userID=7fae9ce6-8a45-4d45-b3cf-4464f56259bc time="2026-09-17T09:54:24Z" msg="Adding vault user" userID=7fae9ce6-8a45-4d45-b3cf-4464f56259bc time="2026-09-17T09:54:24Z" msg="Creating new user" userID=7fae9ce6-8a45-4d45-b3cf-4464f56259bc time="2026-09-17T09:54:24Z" msg="404 GET https://127.0.0.1:36839/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:54:24Z" msg="404 GET https://127.0.0.1:36839/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:54:24Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:36839/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:54:24Z" msg="Creating user object" authUID=df20b9ae-30e7-4c5e-8d4f-1a10a199c2c5 numA numL userID=7fae9ce6-8a45-4d45-b3cf-4464f56259bc time="2026-09-17T09:54:24Z" msg="200 OK: GET https://127.0.0.1:36839/core/v4/events/latest" /client userID=7fae9ce6-8a45-4d45-b3cf-4464f56259bc time="2026-09-17T09:54:24Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:54:24Z" msg="200 OK: GET https://127.0.0.1:36839/core/v4/settings" /client userID=7fae9ce6-8a45-4d45-b3cf-4464f56259bc time="2026-09-17T09:54:24Z" msg="Registering user client, ID:7fae9ce6-8a45-4d45-b3cf-4464f56259bc" time="2026-09-17T09:54:24Z" msg="Starting user identity service" numA time="2026-09-17T09:54:24Z" msg="Starting service main loop" time="2026-09-17T09:54:24Z" msg="Starting service main loop" time="2026-09-17T09:54:24Z" msg="Starting service main loop" time="2026-09-17T09:54:24Z" msg="200 OK: GET https://127.0.0.1:36839/core/v4/labels?T" /client userID=7fae9ce6-8a45-4d45-b3cf-4464f56259bc time="2026-09-17T09:54:24Z" msg="200 OK: GET https://127.0.0.1:36839/core/v4/labels?T" /client userID=7fae9ce6-8a45-4d45-b3cf-4464f56259bc time="2026-09-17T09:54:24Z" msg="200 OK: GET https://127.0.0.1:36839/core/v4/labels?T" /client userID=7fae9ce6-8a45-4d45-b3cf-4464f56259bc time="2026-09-17T09:54:24Z" msg="Setting labels" labelIDs="[0 2 4 6 7 8 10 12 1 3 5 9]" time="2026-09-17T09:54:24Z" msg="Adding user to imap server" addrID=615b58ac-0c5f-4de9-b8c7-ae3b05016b78 time="2026-09-17T09:54:24Z" msg="Creating new IMAP user" addrID=615b58ac-0c5f-4de9-b8c7-ae3b05016b78 time="2026-09-17T09:54:24Z" msg="Setting gluon ID" addrID=615b58ac-0c5f-4de9-b8c7-ae3b05016b78 gluonID=83aa8d28-7fd0-4c79-8882-0e4eeb45c059 userID=7fae9ce6-8a45-4d45-b3cf-4464f56259bc time="2026-09-17T09:54:24Z" msg="Received mailbox message count" gluonID=83aa8d28-7fd0-4c79-8882-0e4eeb45c059 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:54:24Z" msg="Created new IMAP user" addrID=615b58ac-0c5f-4de9-b8c7-ae3b05016b78 gluonID=83aa8d28-7fd0-4c79-8882-0e4eeb45c059 time="2026-09-17T09:54:24Z" msg="Validating Listener State" time="2026-09-17T09:54:24Z" time="2026-09-17T09:54:24Z" msg="Starting IMAP Service" time="2026-09-17T09:54:24Z" msg="Checking whether logged in user should re-sync. UserID:7fae9ce6-8a45-4d45-b3cf-4464f56259bc" userID=7fae9ce6-8a45-4d45-b3cf-4464f56259bc time="2026-09-17T09:54:24Z" msg="Sync triggered" time="2026-09-17T09:54:24Z" msg="Beginning user sync" start="2026-09-17 09:54:24.671963548 +0000 UTC m=+553.164265804" time="2026-09-17T09:54:24Z" msg="Syncing labels" time="2026-09-17T09:54:24Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=83aa8d28-7fd0-4c79-8882-0e4eeb45c059 time="2026-09-17T09:54:24Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=83aa8d28-7fd0-4c79-8882-0e4eeb45c059 time="2026-09-17T09:54:24Z" msg="Mailbox created" /user remoteMailboxID=7 userID=83aa8d28-7fd0-4c79-8882-0e4eeb45c059 time="2026-09-17T09:54:24Z" msg="Mailbox created" /user remoteMailboxID=8 userID=83aa8d28-7fd0-4c79-8882-0e4eeb45c059 time="2026-09-17T09:54:24Z" msg="Mailbox created" /user remoteMailboxID=10 userID=83aa8d28-7fd0-4c79-8882-0e4eeb45c059 time="2026-09-17T09:54:24Z" msg="Mailbox created" /user remoteMailboxID=12 userID=83aa8d28-7fd0-4c79-8882-0e4eeb45c059 time="2026-09-17T09:54:24Z" msg="Mailbox created" /user remoteMailboxID=3 userID=83aa8d28-7fd0-4c79-8882-0e4eeb45c059 time="2026-09-17T09:54:24Z" msg="Mailbox created" /user remoteMailboxID=0 userID=83aa8d28-7fd0-4c79-8882-0e4eeb45c059 time="2026-09-17T09:54:24Z" msg="Mailbox created" /user remoteMailboxID=4 userID=83aa8d28-7fd0-4c79-8882-0e4eeb45c059 time="2026-09-17T09:54:24Z" msg="Mailbox created" /user remoteMailboxID=6 userID=83aa8d28-7fd0-4c79-8882-0e4eeb45c059 time="2026-09-17T09:54:24Z" msg="Mailbox created" /user remoteMailboxID=5 userID=83aa8d28-7fd0-4c79-8882-0e4eeb45c059 time="2026-09-17T09:54:24Z" msg="Synced labels" time="2026-09-17T09:54:24Z" msg="200 OK: GET https://127.0.0.1:36839/mail/v4/messages/count" /client userID=7fae9ce6-8a45-4d45-b3cf-4464f56259bc time="2026-09-17T09:54:24Z" msg="Syncing messages" time="2026-09-17T09:54:24Z" msg="Job started" time="2026-09-17T09:54:24Z" msg="200 OK: POST https://127.0.0.1:36839/mail/v4/messages" /client userID=7fae9ce6-8a45-4d45-b3cf-4464f56259bc time="2026-09-17T09:54:24Z" msg="Job finished" time="2026-09-17T09:54:24Z" msg="All child jobs completed" sync- time="2026-09-17T09:54:24Z" msg="Synced messages" time="2026-09-17T09:54:24Z" msg="Finished user sync" .038289ms time="2026-09-17T09:54:24Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:54:24Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:54:24Z" msg="Sending observability data." time="2026-09-17T09:54:24Z" msg="200 OK: POST https://127.0.0.1:36839/data/v1/metrics" /client userID=7fae9ce6-8a45-4d45-b3cf-4464f56259bc time="2026-09-17T09:54:24Z" msg="Successfully sent observability data." time="2026-09-17T09:54:24Z" msg="200 OK: GET https://127.0.0.1:36839/mail/v4/settings" /client userID=7fae9ce6-8a45-4d45-b3cf-4464f56259bc time="2026-09-17T09:54:24Z" msg="200 OK: POST https://127.0.0.1:36839/mail/v4/messages" /client userID=7fae9ce6-8a45-4d45-b3cf-4464f56259bc time="2026-09-17T09:54:24Z" msg="200 OK: GET https://127.0.0.1:36839/core/v4/keys?E%40proton.local" /client userID=7fae9ce6-8a45-4d45-b3cf-4464f56259bc time="2026-09-17T09:54:24Z" msg="200 OK: GET https://127.0.0.1:36839/contacts/v4/emails?E%40proton.local&P&PageS" /client userID=7fae9ce6-8a45-4d45-b3cf-4464f56259bc time="2026-09-17T09:54:24Z" msg="200 OK: POST https://127.0.0.1:36839/mail/v4/messages/2ec6ab20-2883-434b-bc29-c9403ddb5856" /client userID=7fae9ce6-8a45-4d45-b3cf-4464f56259bc time="2026-09-17T09:54:24Z" msg="Scheduling observability data sending" Scenario: Reply with References but no In-Reply-To # features/smtp/send/send_reply.feature:60 When SMTP client "1" sends the following message from "b87f9459-57c2-4123-ac47-37ac95093f8e@proton.local" to "2303b20f-c82f-4d15-954c-9c601f7a74a2@proton.local": # :1 -> *scenario """ From: Bridge Test <[user:user1]@[domain]> To: Internal Bridge <[user:user2]@[domain]> Subject: Please Reply Message-ID: hello """ Then it succeeds # :1 -> *scenario time="2026-09-17T09:54:24Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 1} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:54:25Z" msg="200 OK: GET https://127.0.0.1:36839/core/v4/events/AA==" /client userID=7fae9ce6-8a45-4d45-b3cf-4464f56259bc time="2026-09-17T09:54:25Z" msg="Received new API event" new="Event Aw==: messages: , , " old="AA==" time="2026-09-17T09:54:25Z" msg="Handling message created event" messageID=2ec6ab20-2883-434b-bc29-c9403ddb5856 subject="******** (d9b2d36e)" time="2026-09-17T09:54:25Z" msg="200 OK: GET https://127.0.0.1:36839/mail/v4/messages/2ec6ab20-2883-434b-bc29-c9403ddb5856" /client userID=7fae9ce6-8a45-4d45-b3cf-4464f56259bc time="2026-09-17T09:54:25Z" msg="Handling draft or sent updated event" isD messageID=2ec6ab20-2883-434b-bc29-c9403ddb5856 subject="******** (d9b2d36e)" time="2026-09-17T09:54:25Z" msg="200 OK: GET https://127.0.0.1:36839/mail/v4/messages/2ec6ab20-2883-434b-bc29-c9403ddb5856" /client userID=7fae9ce6-8a45-4d45-b3cf-4464f56259bc Then IMAP client "1" eventually sees the following messages in "Sent": # :1 -> *scenario | from | to | subject | message-id | | b87f9459-57c2-4123-ac47-37ac95093f8e@proton.local | 2303b20f-c82f-4d15-954c-9c601f7a74a2@proton.local | Please Reply | | time="2026-09-17T09:54:25Z" msg="Performing full user login" /user username="******** (9b155fc5)" time="2026-09-17T09:54:25Z" msg="Authorizing user for login" /user username="******** (9b155fc5)" time="2026-09-17T09:54:25Z" msg="200 OK: POST https://127.0.0.1:36839/auth/v4/info" /manager time="2026-09-17T09:54:26Z" msg="200 OK: POST https://127.0.0.1:36839/auth/v4" /manager time="2026-09-17T09:54:26Z" msg="Logging in authorized user" /user userID=4bc31644-0111-4da8-84a0-e883918c70c9 time="2026-09-17T09:54:26Z" msg="Adding vault user" userID=4bc31644-0111-4da8-84a0-e883918c70c9 time="2026-09-17T09:54:26Z" msg="Creating new user" userID=4bc31644-0111-4da8-84a0-e883918c70c9 time="2026-09-17T09:54:26Z" msg="404 GET https://127.0.0.1:36839/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:54:26Z" msg="404 GET https://127.0.0.1:36839/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:54:26Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:36839/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:54:26Z" msg="Creating user object" authUID=b1987a2d-0372-4f88-b68b-7f1080554451 numA numL userID=4bc31644-0111-4da8-84a0-e883918c70c9 time="2026-09-17T09:54:26Z" msg="200 OK: GET https://127.0.0.1:36839/core/v4/events/latest" /client userID=4bc31644-0111-4da8-84a0-e883918c70c9 time="2026-09-17T09:54:26Z" msg="Starting service Last EventID=BA==" time="2026-09-17T09:54:26Z" msg="200 OK: GET https://127.0.0.1:36839/core/v4/settings" /client userID=4bc31644-0111-4da8-84a0-e883918c70c9 time="2026-09-17T09:54:26Z" msg="Registering user client, ID:4bc31644-0111-4da8-84a0-e883918c70c9" time="2026-09-17T09:54:26Z" msg="Starting service main loop" time="2026-09-17T09:54:26Z" msg="Starting user identity service" numA time="2026-09-17T09:54:26Z" msg="Starting service main loop" time="2026-09-17T09:54:26Z" msg="Starting service main loop" time="2026-09-17T09:54:26Z" msg="200 OK: GET https://127.0.0.1:36839/core/v4/labels?T" /client userID=4bc31644-0111-4da8-84a0-e883918c70c9 time="2026-09-17T09:54:26Z" msg="200 OK: GET https://127.0.0.1:36839/core/v4/labels?T" /client userID=4bc31644-0111-4da8-84a0-e883918c70c9 time="2026-09-17T09:54:26Z" msg="200 OK: GET https://127.0.0.1:36839/core/v4/labels?T" /client userID=4bc31644-0111-4da8-84a0-e883918c70c9 time="2026-09-17T09:54:26Z" msg="Setting labels" labelIDs="[2 4 5 6 8 12 3 7 9 10 0 1]" time="2026-09-17T09:54:26Z" msg="Adding user to imap server" addrID=4a9c0186-b95e-496f-b879-7da4144fede4 time="2026-09-17T09:54:26Z" msg="Creating new IMAP user" addrID=4a9c0186-b95e-496f-b879-7da4144fede4 time="2026-09-17T09:54:26Z" msg="Setting gluon ID" addrID=4a9c0186-b95e-496f-b879-7da4144fede4 gluonID=ff47b9e2-2d3e-4a3d-a743-fa7505cdae6a userID=4bc31644-0111-4da8-84a0-e883918c70c9 time="2026-09-17T09:54:26Z" msg="Received mailbox message count" gluonID=ff47b9e2-2d3e-4a3d-a743-fa7505cdae6a labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:54:26Z" msg="Created new IMAP user" addrID=4a9c0186-b95e-496f-b879-7da4144fede4 gluonID=ff47b9e2-2d3e-4a3d-a743-fa7505cdae6a time="2026-09-17T09:54:26Z" msg="Validating Listener State" time="2026-09-17T09:54:26Z" time="2026-09-17T09:54:26Z" msg="Starting IMAP Service" time="2026-09-17T09:54:26Z" msg="Checking whether logged in user should re-sync. UserID:4bc31644-0111-4da8-84a0-e883918c70c9" userID=4bc31644-0111-4da8-84a0-e883918c70c9 time="2026-09-17T09:54:26Z" msg="Sync triggered" time="2026-09-17T09:54:26Z" msg="Beginning user sync" start="2026-09-17 09:54:26.142058609 +0000 UTC m=+554.634360905" And the user logs in with username "2303b20f-c82f-4d15-954c-9c601f7a74a2" and password "password" # :1 -> *scenario time="2026-09-17T09:54:26Z" msg="Syncing labels" time="2026-09-17T09:54:26Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=ff47b9e2-2d3e-4a3d-a743-fa7505cdae6a And user "2303b20f-c82f-4d15-954c-9c601f7a74a2" connects and authenticates IMAP client "2" # :1 -> *scenario time="2026-09-17T09:54:26Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=ff47b9e2-2d3e-4a3d-a743-fa7505cdae6a time="2026-09-17T09:54:26Z" msg="Mailbox created" /user remoteMailboxID=7 userID=ff47b9e2-2d3e-4a3d-a743-fa7505cdae6a And user "2303b20f-c82f-4d15-954c-9c601f7a74a2" connects and authenticates SMTP client "2" # :1 -> *scenario time="2026-09-17T09:54:26Z" msg="Mailbox created" /user remoteMailboxID=10 userID=ff47b9e2-2d3e-4a3d-a743-fa7505cdae6a time="2026-09-17T09:54:26Z" msg="Mailbox created" /user remoteMailboxID=0 userID=ff47b9e2-2d3e-4a3d-a743-fa7505cdae6a time="2026-09-17T09:54:26Z" msg="Mailbox created" /user remoteMailboxID=5 userID=ff47b9e2-2d3e-4a3d-a743-fa7505cdae6a time="2026-09-17T09:54:26Z" msg="Mailbox created" /user remoteMailboxID=3 userID=ff47b9e2-2d3e-4a3d-a743-fa7505cdae6a time="2026-09-17T09:54:26Z" msg="Mailbox created" /user remoteMailboxID=4 userID=ff47b9e2-2d3e-4a3d-a743-fa7505cdae6a time="2026-09-17T09:54:26Z" msg="Mailbox created" /user remoteMailboxID=6 userID=ff47b9e2-2d3e-4a3d-a743-fa7505cdae6a time="2026-09-17T09:54:26Z" msg="Mailbox created" /user remoteMailboxID=8 userID=ff47b9e2-2d3e-4a3d-a743-fa7505cdae6a time="2026-09-17T09:54:26Z" msg="Mailbox created" /user remoteMailboxID=12 userID=ff47b9e2-2d3e-4a3d-a743-fa7505cdae6a time="2026-09-17T09:54:26Z" msg="Synced labels" time="2026-09-17T09:54:26Z" msg="200 OK: GET https://127.0.0.1:36839/mail/v4/messages/count" /client userID=4bc31644-0111-4da8-84a0-e883918c70c9 time="2026-09-17T09:54:26Z" msg="Syncing messages" time="2026-09-17T09:54:26Z" msg="Job started" time="2026-09-17T09:54:26Z" msg="200 OK: POST https://127.0.0.1:36839/mail/v4/messages" /client userID=4bc31644-0111-4da8-84a0-e883918c70c9 time="2026-09-17T09:54:26Z" msg="200 OK: POST https://127.0.0.1:36839/mail/v4/messages" /client userID=4bc31644-0111-4da8-84a0-e883918c70c9 time="2026-09-17T09:54:26Z" msg="Creating new child job" time="2026-09-17T09:54:26Z" msg="Job finished" time="2026-09-17T09:54:26Z" msg="200 OK: GET https://127.0.0.1:36839/mail/v4/messages/674f4873-98ef-4153-9329-175a56b3280d" /client userID=4bc31644-0111-4da8-84a0-e883918c70c9 time="2026-09-17T09:54:26Z" msg="Child job finished" time="2026-09-17T09:54:26Z" msg="All child jobs completed" sync- time="2026-09-17T09:54:26Z" msg="Synced messages" time="2026-09-17T09:54:26Z" msg="Finished user sync" .074352ms time="2026-09-17T09:54:26Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:54:26Z" msg="Event loop reset" eventID="BA==" And user "2303b20f-c82f-4d15-954c-9c601f7a74a2" finishes syncing # :1 -> *scenario Then IMAP client "2" eventually sees the following messages in "INBOX": # :1 -> *scenario | from | subject | message-id | reply-to | | b87f9459-57c2-4123-ac47-37ac95093f8e@proton.local | Please Reply | | b87f9459-57c2-4123-ac47-37ac95093f8e@proton.local | time="2026-09-17T09:54:26Z" msg="200 OK: GET https://127.0.0.1:36839/mail/v4/settings" /client userID=4bc31644-0111-4da8-84a0-e883918c70c9 time="2026-09-17T09:54:26Z" msg="200 OK: POST https://127.0.0.1:36839/mail/v4/messages" /client userID=4bc31644-0111-4da8-84a0-e883918c70c9 time="2026-09-17T09:54:26Z" msg="200 OK: POST https://127.0.0.1:36839/mail/v4/messages" /client userID=4bc31644-0111-4da8-84a0-e883918c70c9 time="2026-09-17T09:54:26Z" msg="200 OK: POST https://127.0.0.1:36839/mail/v4/messages" /client userID=4bc31644-0111-4da8-84a0-e883918c70c9 time="2026-09-17T09:54:26Z" msg="200 OK: GET https://127.0.0.1:36839/core/v4/keys?E%40proton.local" /client userID=4bc31644-0111-4da8-84a0-e883918c70c9 time="2026-09-17T09:54:26Z" msg="200 OK: GET https://127.0.0.1:36839/contacts/v4/emails?E%40proton.local&P&PageS" /client userID=4bc31644-0111-4da8-84a0-e883918c70c9 time="2026-09-17T09:54:26Z" msg="200 OK: POST https://127.0.0.1:36839/mail/v4/messages/f1520273-697c-46da-8fd4-e61b4b603800" /client userID=4bc31644-0111-4da8-84a0-e883918c70c9 When SMTP client "2" sends the following message from "2303b20f-c82f-4d15-954c-9c601f7a74a2@proton.local" to "b87f9459-57c2-4123-ac47-37ac95093f8e@proton.local": # :1 -> *scenario """ From: Internal Bridge <[user:user2]@[domain]> To: Bridge Test <[user:user1]@[domain]> Content-Type: text/plain Subject: FW - Please Reply References: Heya """ Then it succeeds # :1 -> *scenario time="2026-09-17T09:54:26Z" msg="200 OK: GET https://127.0.0.1:36839/core/v4/events/Aw==" /client userID=7fae9ce6-8a45-4d45-b3cf-4464f56259bc time="2026-09-17T09:54:26Z" msg="Received new API event" new="Event CA==: messages: , , " old="Aw==" time="2026-09-17T09:54:26Z" msg="Handling message created event" messageID=138d1a8b-61d4-45d0-b759-4a7cf5a3827a subject="******** (22f3b0e1)" time="2026-09-17T09:54:26Z" msg="200 OK: GET https://127.0.0.1:36839/mail/v4/messages/138d1a8b-61d4-45d0-b759-4a7cf5a3827a" /client userID=7fae9ce6-8a45-4d45-b3cf-4464f56259bc time="2026-09-17T09:54:27Z" msg="200 OK: GET https://127.0.0.1:36839/core/v4/events/BA==" /client userID=4bc31644-0111-4da8-84a0-e883918c70c9 time="2026-09-17T09:54:27Z" msg="Received new API event" new="Event Bw==: messages: , , " old="BA==" time="2026-09-17T09:54:27Z" msg="Handling message created event" messageID=f1520273-697c-46da-8fd4-e61b4b603800 subject="******** (22f3b0e1)" time="2026-09-17T09:54:27Z" msg="200 OK: GET https://127.0.0.1:36839/mail/v4/messages/f1520273-697c-46da-8fd4-e61b4b603800" /client userID=4bc31644-0111-4da8-84a0-e883918c70c9 time="2026-09-17T09:54:27Z" msg="Handling message updated event" messageID=674f4873-98ef-4153-9329-175a56b3280d subject="******** (d9b2d36e)" time="2026-09-17T09:54:27Z" msg="Handling draft or sent updated event" isD messageID=f1520273-697c-46da-8fd4-e61b4b603800 subject="******** (22f3b0e1)" time="2026-09-17T09:54:27Z" msg="200 OK: GET https://127.0.0.1:36839/mail/v4/messages/f1520273-697c-46da-8fd4-e61b4b603800" /client userID=4bc31644-0111-4da8-84a0-e883918c70c9 Then IMAP client "2" eventually sees the following messages in "Sent": # :1 -> *scenario | from | to | subject | in-reply-to | references | | 2303b20f-c82f-4d15-954c-9c601f7a74a2@proton.local | b87f9459-57c2-4123-ac47-37ac95093f8e@proton.local | FW - Please Reply | | | time="2026-09-17T09:54:27Z" msg="Frontend service stopped" time="2026-09-17T09:54:27Z" msg="Frontend client stopped" time="2026-09-17T09:54:27Z" msg="Closing bridge" time="2026-09-17T09:54:27Z" msg="Stopping service" time="2026-09-17T09:54:27Z" msg="Closing user" userID=7fae9ce6-8a45-4d45-b3cf-4464f56259bc time="2026-09-17T09:54:27Z" msg="De-registering user client, ID:7fae9ce6-8a45-4d45-b3cf-4464f56259bc" time="2026-09-17T09:54:27Z" msg="Exiting IMAP Service" time="2026-09-17T09:54:27Z" msg="Exiting service main loop" time="2026-09-17T09:54:27Z" msg="Exiting service main loop" time="2026-09-17T09:54:27Z" msg="Exiting Service" time="2026-09-17T09:54:27Z" msg="Exiting service main loop" time="2026-09-17T09:54:27Z" msg="Exiting service" time="2026-09-17T09:54:27Z" msg="Closing user" userID=4bc31644-0111-4da8-84a0-e883918c70c9 time="2026-09-17T09:54:27Z" msg="De-registering user client, ID:4bc31644-0111-4da8-84a0-e883918c70c9" time="2026-09-17T09:54:27Z" msg="Exiting IMAP Service" time="2026-09-17T09:54:27Z" msg="Exiting service main loop" time="2026-09-17T09:54:27Z" msg="Exiting service main loop" time="2026-09-17T09:54:27Z" msg="Exiting Service" time="2026-09-17T09:54:27Z" msg="Exiting service main loop" time="2026-09-17T09:54:27Z" msg="Exiting service" time="2026-09-17T09:54:27Z" msg="Closing IMAP Listener" time="2026-09-17T09:54:27Z" msg="Closing IMAP server" time="2026-09-17T09:54:27Z" msg="Closing SMTP Listener" time="2026-09-17T09:54:27Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:54:27Z" msg="Closing SMTP server" time="2026-09-17T09:54:27Z" msg="Closing service" And IMAP client "1" eventually sees the following messages in "INBOX": # :1 -> *scenario | from | subject | body | in-reply-to | references | reply-to | | 2303b20f-c82f-4d15-954c-9c601f7a74a2@proton.local | FW - Please Reply | Heya | | | 2303b20f-c82f-4d15-954c-9c601f7a74a2@proton.local | time="2026-09-17T09:54:27Z" msg="User '4220a0c6-bd19-4d97-9929-f19c5df6847b' created with " /server/backend time="2026-09-17T09:54:28Z" msg="User 'b80da3a2-dc9c-4443-97a9-6c9cbad77a8a' created with " /server/backend time="2026-09-17T09:54:28Z" msg="Starting bridge" time="2026-09-17T09:54:28Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/236/config1040964173/grpcFocusServerConfig.json /service time="2026-09-17T09:54:28Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/236/cache1565172457/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:54:28Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/236/cache1565172457/notifications/notification_cache: no such file or directory" time="2026-09-17T09:54:28Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/236/data965831883/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/236/data965831883/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:54:28Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:54:28Z" msg="Starting IMAP server" time="2026-09-17T09:54:28Z" msg="Starting SMTP server" time="2026-09-17T09:54:28Z" msg="Starting service" time="2026-09-17T09:54:28Z" msg="Starting service" time="2026-09-17T09:54:28Z" msg="Starting frontend service" time="2026-09-17T09:54:28Z" msg="Starting poll service" time="2026-09-17T09:54:28Z" msg="Starting receiver service" time="2026-09-17T09:54:28Z" msg="Checking for updates" time="2026-09-17T09:54:28Z" msg="Loading users" /user time="2026-09-17T09:54:28Z" msg="Finished loading users" /user time="2026-09-17T09:54:28Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/236/config1040964173/grpcServerConfig.json time="2026-09-17T09:54:28Z" msg="gRPC server listening on /tmp/bridge6170" time="2026-09-17T09:54:28Z" msg="Frontend service started" time="2026-09-17T09:54:28Z" msg="Starting frontend client" time="2026-09-17T09:54:28Z" msg="Not monitoring parent PID" time="2026-09-17T09:54:28Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:54:28Z" msg="200 OK: GET https://127.0.0.1:45535/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:54:28Z" msg="Frontend client started" time="2026-09-17T09:54:28Z" msg="Performing full user login" /user username="******** (153cb3b9)" time="2026-09-17T09:54:28Z" msg="Authorizing user for login" /user username="******** (153cb3b9)" time="2026-09-17T09:54:28Z" msg="200 OK: POST https://127.0.0.1:45535/auth/v4/info" /manager time="2026-09-17T09:54:28Z" msg="200 OK: POST https://127.0.0.1:45535/auth/v4" /manager time="2026-09-17T09:54:28Z" msg="Logging in authorized user" /user userID=95c71c92-5d8e-4ae3-978b-6b69fe13a0f1 time="2026-09-17T09:54:28Z" msg="Adding vault user" userID=95c71c92-5d8e-4ae3-978b-6b69fe13a0f1 time="2026-09-17T09:54:28Z" msg="Creating new user" userID=95c71c92-5d8e-4ae3-978b-6b69fe13a0f1 time="2026-09-17T09:54:28Z" msg="404 GET https://127.0.0.1:45535/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:54:28Z" msg="404 GET https://127.0.0.1:45535/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:54:28Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:45535/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:54:28Z" msg="Creating user object" authUID=a984c49d-4d74-4f3d-b2db-d5c785a7a897 numA numL userID=95c71c92-5d8e-4ae3-978b-6b69fe13a0f1 time="2026-09-17T09:54:28Z" msg="200 OK: GET https://127.0.0.1:45535/core/v4/events/latest" /client userID=95c71c92-5d8e-4ae3-978b-6b69fe13a0f1 time="2026-09-17T09:54:28Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:54:28Z" msg="200 OK: GET https://127.0.0.1:45535/core/v4/settings" /client userID=95c71c92-5d8e-4ae3-978b-6b69fe13a0f1 time="2026-09-17T09:54:28Z" msg="Registering user client, ID:95c71c92-5d8e-4ae3-978b-6b69fe13a0f1" time="2026-09-17T09:54:28Z" msg="Starting service main loop" time="2026-09-17T09:54:28Z" msg="Starting user identity service" numA time="2026-09-17T09:54:28Z" msg="Starting service main loop" time="2026-09-17T09:54:28Z" msg="Starting service main loop" time="2026-09-17T09:54:28Z" msg="200 OK: GET https://127.0.0.1:45535/core/v4/labels?T" /client userID=95c71c92-5d8e-4ae3-978b-6b69fe13a0f1 time="2026-09-17T09:54:28Z" msg="200 OK: GET https://127.0.0.1:45535/core/v4/labels?T" /client userID=95c71c92-5d8e-4ae3-978b-6b69fe13a0f1 time="2026-09-17T09:54:28Z" msg="200 OK: GET https://127.0.0.1:45535/core/v4/labels?T" /client userID=95c71c92-5d8e-4ae3-978b-6b69fe13a0f1 time="2026-09-17T09:54:28Z" msg="Setting labels" labelIDs="[0 1 3 4 5 6 7 8 2 9 10 12]" time="2026-09-17T09:54:28Z" msg="Adding user to imap server" addrID=4e210ff2-ac6c-4d11-8b2e-64f249d8d029 time="2026-09-17T09:54:28Z" msg="Creating new IMAP user" addrID=4e210ff2-ac6c-4d11-8b2e-64f249d8d029 time="2026-09-17T09:54:28Z" msg="Setting gluon ID" addrID=4e210ff2-ac6c-4d11-8b2e-64f249d8d029 gluonID=bb54db06-f01e-4480-a4ce-55f358d7f805 userID=95c71c92-5d8e-4ae3-978b-6b69fe13a0f1 time="2026-09-17T09:54:28Z" msg="Received mailbox message count" gluonID=bb54db06-f01e-4480-a4ce-55f358d7f805 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:54:28Z" msg="Created new IMAP user" addrID=4e210ff2-ac6c-4d11-8b2e-64f249d8d029 gluonID=bb54db06-f01e-4480-a4ce-55f358d7f805 time="2026-09-17T09:54:28Z" msg="Validating Listener State" time="2026-09-17T09:54:28Z" time="2026-09-17T09:54:28Z" msg="Checking whether logged in user should re-sync. UserID:95c71c92-5d8e-4ae3-978b-6b69fe13a0f1" userID=95c71c92-5d8e-4ae3-978b-6b69fe13a0f1 time="2026-09-17T09:54:28Z" msg="Starting IMAP Service" time="2026-09-17T09:54:28Z" msg="Sync triggered" time="2026-09-17T09:54:28Z" msg="Beginning user sync" start="2026-09-17 09:54:28.990656922 +0000 UTC m=+557.482959218" time="2026-09-17T09:54:28Z" msg="Syncing labels" time="2026-09-17T09:54:28Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=bb54db06-f01e-4480-a4ce-55f358d7f805 time="2026-09-17T09:54:28Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=bb54db06-f01e-4480-a4ce-55f358d7f805 time="2026-09-17T09:54:28Z" msg="Mailbox created" /user remoteMailboxID=0 userID=bb54db06-f01e-4480-a4ce-55f358d7f805 time="2026-09-17T09:54:28Z" msg="Mailbox created" /user remoteMailboxID=3 userID=bb54db06-f01e-4480-a4ce-55f358d7f805 time="2026-09-17T09:54:28Z" msg="Mailbox created" /user remoteMailboxID=4 userID=bb54db06-f01e-4480-a4ce-55f358d7f805 time="2026-09-17T09:54:28Z" msg="Mailbox created" /user remoteMailboxID=5 userID=bb54db06-f01e-4480-a4ce-55f358d7f805 time="2026-09-17T09:54:28Z" msg="Mailbox created" /user remoteMailboxID=8 userID=bb54db06-f01e-4480-a4ce-55f358d7f805 time="2026-09-17T09:54:28Z" msg="Mailbox created" /user remoteMailboxID=10 userID=bb54db06-f01e-4480-a4ce-55f358d7f805 time="2026-09-17T09:54:28Z" msg="Mailbox created" /user remoteMailboxID=6 userID=bb54db06-f01e-4480-a4ce-55f358d7f805 time="2026-09-17T09:54:28Z" msg="Mailbox created" /user remoteMailboxID=7 userID=bb54db06-f01e-4480-a4ce-55f358d7f805 time="2026-09-17T09:54:28Z" msg="Mailbox created" /user remoteMailboxID=12 userID=bb54db06-f01e-4480-a4ce-55f358d7f805 time="2026-09-17T09:54:28Z" msg="Synced labels" time="2026-09-17T09:54:28Z" msg="200 OK: GET https://127.0.0.1:45535/mail/v4/messages/count" /client userID=95c71c92-5d8e-4ae3-978b-6b69fe13a0f1 time="2026-09-17T09:54:28Z" msg="Syncing messages" time="2026-09-17T09:54:28Z" msg="Job started" time="2026-09-17T09:54:28Z" msg="200 OK: POST https://127.0.0.1:45535/mail/v4/messages" /client userID=95c71c92-5d8e-4ae3-978b-6b69fe13a0f1 time="2026-09-17T09:54:28Z" msg="Job finished" time="2026-09-17T09:54:28Z" msg="All child jobs completed" sync- time="2026-09-17T09:54:28Z" msg="Synced messages" time="2026-09-17T09:54:28Z" msg="Finished user sync" .242752ms time="2026-09-17T09:54:28Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:54:28Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:54:29Z" msg="Sending observability data." time="2026-09-17T09:54:29Z" msg="200 OK: GET https://127.0.0.1:45535/mail/v4/settings" /client userID=95c71c92-5d8e-4ae3-978b-6b69fe13a0f1 time="2026-09-17T09:54:29Z" msg="200 OK: POST https://127.0.0.1:45535/data/v1/metrics" /client userID=95c71c92-5d8e-4ae3-978b-6b69fe13a0f1 time="2026-09-17T09:54:29Z" msg="Successfully sent observability data." time="2026-09-17T09:54:29Z" msg="200 OK: POST https://127.0.0.1:45535/mail/v4/messages" /client userID=95c71c92-5d8e-4ae3-978b-6b69fe13a0f1 time="2026-09-17T09:54:29Z" msg="200 OK: GET https://127.0.0.1:45535/core/v4/keys?E%40proton.local" /client userID=95c71c92-5d8e-4ae3-978b-6b69fe13a0f1 time="2026-09-17T09:54:29Z" msg="200 OK: GET https://127.0.0.1:45535/contacts/v4/emails?E%40proton.local&P&PageS" /client userID=95c71c92-5d8e-4ae3-978b-6b69fe13a0f1 time="2026-09-17T09:54:29Z" msg="200 OK: POST https://127.0.0.1:45535/mail/v4/messages/74c1f161-388e-4a54-b581-b449aa0d9a03" /client userID=95c71c92-5d8e-4ae3-978b-6b69fe13a0f1 time="2026-09-17T09:54:29Z" msg="Scheduling observability data sending" Scenario: Reply with both References and In-Reply-To # features/smtp/send/send_reply.feature:107 When SMTP client "1" sends the following message from "4220a0c6-bd19-4d97-9929-f19c5df6847b@proton.local" to "b80da3a2-dc9c-4443-97a9-6c9cbad77a8a@proton.local": # :1 -> *scenario """ From: Bridge Test <[user:user1]@[domain]> To: Internal Bridge <[user:user2]@[domain]> Subject: Please Reply Message-ID: hello """ Then it succeeds # :1 -> *scenario time="2026-09-17T09:54:29Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 5} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:54:29Z" msg="200 OK: GET https://127.0.0.1:45535/core/v4/events/AA==" /client userID=95c71c92-5d8e-4ae3-978b-6b69fe13a0f1 time="2026-09-17T09:54:29Z" msg="Received new API event" new="Event Aw==: messages: , , " old="AA==" time="2026-09-17T09:54:29Z" msg="Handling message created event" messageID=74c1f161-388e-4a54-b581-b449aa0d9a03 subject="******** (d9b2d36e)" time="2026-09-17T09:54:29Z" msg="200 OK: GET https://127.0.0.1:45535/mail/v4/messages/74c1f161-388e-4a54-b581-b449aa0d9a03" /client userID=95c71c92-5d8e-4ae3-978b-6b69fe13a0f1 time="2026-09-17T09:54:29Z" msg="Handling draft or sent updated event" isD messageID=74c1f161-388e-4a54-b581-b449aa0d9a03 subject="******** (d9b2d36e)" time="2026-09-17T09:54:29Z" msg="200 OK: GET https://127.0.0.1:45535/mail/v4/messages/74c1f161-388e-4a54-b581-b449aa0d9a03" /client userID=95c71c92-5d8e-4ae3-978b-6b69fe13a0f1 Then IMAP client "1" eventually sees the following messages in "Sent": # :1 -> *scenario | from | to | subject | message-id | | 4220a0c6-bd19-4d97-9929-f19c5df6847b@proton.local | b80da3a2-dc9c-4443-97a9-6c9cbad77a8a@proton.local | Please Reply | | time="2026-09-17T09:54:30Z" msg="Performing full user login" /user username="******** (f48d4a2e)" time="2026-09-17T09:54:30Z" msg="Authorizing user for login" /user username="******** (f48d4a2e)" time="2026-09-17T09:54:30Z" msg="200 OK: POST https://127.0.0.1:45535/auth/v4/info" /manager time="2026-09-17T09:54:30Z" msg="200 OK: POST https://127.0.0.1:45535/auth/v4" /manager time="2026-09-17T09:54:30Z" msg="Logging in authorized user" /user userID=a4466b41-e1ac-4fd5-9fd3-60e11ade0c6a time="2026-09-17T09:54:30Z" msg="Adding vault user" userID=a4466b41-e1ac-4fd5-9fd3-60e11ade0c6a time="2026-09-17T09:54:30Z" msg="Creating new user" userID=a4466b41-e1ac-4fd5-9fd3-60e11ade0c6a time="2026-09-17T09:54:30Z" msg="404 GET https://127.0.0.1:45535/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:54:30Z" msg="404 GET https://127.0.0.1:45535/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:54:30Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:45535/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:54:30Z" msg="Creating user object" authUID=cd5258cd-01be-403c-95fe-d20ead5ab8ab numA numL userID=a4466b41-e1ac-4fd5-9fd3-60e11ade0c6a time="2026-09-17T09:54:30Z" msg="200 OK: GET https://127.0.0.1:45535/core/v4/events/latest" /client userID=a4466b41-e1ac-4fd5-9fd3-60e11ade0c6a time="2026-09-17T09:54:30Z" msg="Starting service Last EventID=BA==" time="2026-09-17T09:54:30Z" msg="200 OK: GET https://127.0.0.1:45535/core/v4/settings" /client userID=a4466b41-e1ac-4fd5-9fd3-60e11ade0c6a time="2026-09-17T09:54:30Z" msg="Registering user client, ID:a4466b41-e1ac-4fd5-9fd3-60e11ade0c6a" time="2026-09-17T09:54:30Z" msg="Starting user identity service" numA time="2026-09-17T09:54:30Z" msg="Starting service main loop" time="2026-09-17T09:54:30Z" msg="Starting service main loop" time="2026-09-17T09:54:30Z" msg="Starting service main loop" time="2026-09-17T09:54:30Z" msg="200 OK: GET https://127.0.0.1:45535/core/v4/labels?T" /client userID=a4466b41-e1ac-4fd5-9fd3-60e11ade0c6a time="2026-09-17T09:54:30Z" msg="200 OK: GET https://127.0.0.1:45535/core/v4/labels?T" /client userID=a4466b41-e1ac-4fd5-9fd3-60e11ade0c6a time="2026-09-17T09:54:30Z" msg="200 OK: GET https://127.0.0.1:45535/core/v4/labels?T" /client userID=a4466b41-e1ac-4fd5-9fd3-60e11ade0c6a time="2026-09-17T09:54:30Z" msg="Setting labels" labelIDs="[4 5 8 10 1 2 3 6 7 9 12 0]" time="2026-09-17T09:54:30Z" msg="Adding user to imap server" addrID=5971d7ea-42ff-4dba-b240-43fbebcdc04f time="2026-09-17T09:54:30Z" msg="Creating new IMAP user" addrID=5971d7ea-42ff-4dba-b240-43fbebcdc04f time="2026-09-17T09:54:30Z" msg="Setting gluon ID" addrID=5971d7ea-42ff-4dba-b240-43fbebcdc04f gluonID=14cf7af6-d4e2-48be-b57c-c51f2ded8596 userID=a4466b41-e1ac-4fd5-9fd3-60e11ade0c6a time="2026-09-17T09:54:30Z" msg="Received mailbox message count" gluonID=14cf7af6-d4e2-48be-b57c-c51f2ded8596 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:54:30Z" msg="Created new IMAP user" addrID=5971d7ea-42ff-4dba-b240-43fbebcdc04f gluonID=14cf7af6-d4e2-48be-b57c-c51f2ded8596 time="2026-09-17T09:54:30Z" msg="Validating Listener State" time="2026-09-17T09:54:30Z" time="2026-09-17T09:54:30Z" msg="Checking whether logged in user should re-sync. UserID:a4466b41-e1ac-4fd5-9fd3-60e11ade0c6a" userID=a4466b41-e1ac-4fd5-9fd3-60e11ade0c6a And the user logs in with username "b80da3a2-dc9c-4443-97a9-6c9cbad77a8a" and password "password" # :1 -> *scenario time="2026-09-17T09:54:30Z" msg="Starting IMAP Service" time="2026-09-17T09:54:30Z" msg="Sync triggered" time="2026-09-17T09:54:30Z" msg="Beginning user sync" start="2026-09-17 09:54:30.458688214 +0000 UTC m=+558.950990550" And user "b80da3a2-dc9c-4443-97a9-6c9cbad77a8a" connects and authenticates IMAP client "2" # :1 -> *scenario time="2026-09-17T09:54:30Z" msg="Syncing labels" And user "b80da3a2-dc9c-4443-97a9-6c9cbad77a8a" connects and authenticates SMTP client "2" # :1 -> *scenario time="2026-09-17T09:54:30Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=14cf7af6-d4e2-48be-b57c-c51f2ded8596 time="2026-09-17T09:54:30Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=14cf7af6-d4e2-48be-b57c-c51f2ded8596 time="2026-09-17T09:54:30Z" msg="Mailbox created" /user remoteMailboxID=3 userID=14cf7af6-d4e2-48be-b57c-c51f2ded8596 time="2026-09-17T09:54:30Z" msg="Mailbox created" /user remoteMailboxID=6 userID=14cf7af6-d4e2-48be-b57c-c51f2ded8596 time="2026-09-17T09:54:30Z" msg="Mailbox created" /user remoteMailboxID=12 userID=14cf7af6-d4e2-48be-b57c-c51f2ded8596 time="2026-09-17T09:54:30Z" msg="Mailbox created" /user remoteMailboxID=4 userID=14cf7af6-d4e2-48be-b57c-c51f2ded8596 time="2026-09-17T09:54:30Z" msg="Mailbox created" /user remoteMailboxID=8 userID=14cf7af6-d4e2-48be-b57c-c51f2ded8596 time="2026-09-17T09:54:30Z" msg="Mailbox created" /user remoteMailboxID=7 userID=14cf7af6-d4e2-48be-b57c-c51f2ded8596 time="2026-09-17T09:54:30Z" msg="Mailbox created" /user remoteMailboxID=0 userID=14cf7af6-d4e2-48be-b57c-c51f2ded8596 time="2026-09-17T09:54:30Z" msg="Mailbox created" /user remoteMailboxID=5 userID=14cf7af6-d4e2-48be-b57c-c51f2ded8596 time="2026-09-17T09:54:30Z" msg="Mailbox created" /user remoteMailboxID=10 userID=14cf7af6-d4e2-48be-b57c-c51f2ded8596 time="2026-09-17T09:54:30Z" msg="Synced labels" time="2026-09-17T09:54:30Z" msg="200 OK: GET https://127.0.0.1:45535/mail/v4/messages/count" /client userID=a4466b41-e1ac-4fd5-9fd3-60e11ade0c6a time="2026-09-17T09:54:30Z" msg="Syncing messages" time="2026-09-17T09:54:30Z" msg="Job started" time="2026-09-17T09:54:30Z" msg="200 OK: POST https://127.0.0.1:45535/mail/v4/messages" /client userID=a4466b41-e1ac-4fd5-9fd3-60e11ade0c6a time="2026-09-17T09:54:30Z" msg="200 OK: POST https://127.0.0.1:45535/mail/v4/messages" /client userID=a4466b41-e1ac-4fd5-9fd3-60e11ade0c6a time="2026-09-17T09:54:30Z" msg="Creating new child job" time="2026-09-17T09:54:30Z" msg="Job finished" time="2026-09-17T09:54:30Z" msg="200 OK: GET https://127.0.0.1:45535/mail/v4/messages/8eac0569-ccf1-4aea-aee4-52c77d8d0d3c" /client userID=a4466b41-e1ac-4fd5-9fd3-60e11ade0c6a time="2026-09-17T09:54:30Z" msg="Child job finished" time="2026-09-17T09:54:30Z" msg="All child jobs completed" sync- time="2026-09-17T09:54:30Z" msg="Synced messages" time="2026-09-17T09:54:30Z" msg="Finished user sync" .595568ms time="2026-09-17T09:54:30Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:54:30Z" msg="Event loop reset" eventID="BA==" And user "b80da3a2-dc9c-4443-97a9-6c9cbad77a8a" finishes syncing # :1 -> *scenario Then IMAP client "2" eventually sees the following messages in "INBOX": # :1 -> *scenario | from | subject | message-id | reply-to | | 4220a0c6-bd19-4d97-9929-f19c5df6847b@proton.local | Please Reply | | 4220a0c6-bd19-4d97-9929-f19c5df6847b@proton.local | time="2026-09-17T09:54:30Z" msg="200 OK: GET https://127.0.0.1:45535/mail/v4/settings" /client userID=a4466b41-e1ac-4fd5-9fd3-60e11ade0c6a time="2026-09-17T09:54:30Z" msg="200 OK: POST https://127.0.0.1:45535/mail/v4/messages" /client userID=a4466b41-e1ac-4fd5-9fd3-60e11ade0c6a time="2026-09-17T09:54:30Z" msg="200 OK: POST https://127.0.0.1:45535/mail/v4/messages" /client userID=a4466b41-e1ac-4fd5-9fd3-60e11ade0c6a time="2026-09-17T09:54:30Z" msg="200 OK: POST https://127.0.0.1:45535/mail/v4/messages" /client userID=a4466b41-e1ac-4fd5-9fd3-60e11ade0c6a time="2026-09-17T09:54:30Z" msg="200 OK: GET https://127.0.0.1:45535/core/v4/keys?E%40proton.local" /client userID=a4466b41-e1ac-4fd5-9fd3-60e11ade0c6a time="2026-09-17T09:54:30Z" msg="200 OK: GET https://127.0.0.1:45535/contacts/v4/emails?E%40proton.local&P&PageS" /client userID=a4466b41-e1ac-4fd5-9fd3-60e11ade0c6a time="2026-09-17T09:54:30Z" msg="200 OK: POST https://127.0.0.1:45535/mail/v4/messages/3a7900be-c37f-4634-b1d5-02c089d3f0f6" /client userID=a4466b41-e1ac-4fd5-9fd3-60e11ade0c6a When SMTP client "2" sends the following message from "b80da3a2-dc9c-4443-97a9-6c9cbad77a8a@proton.local" to "4220a0c6-bd19-4d97-9929-f19c5df6847b@proton.local": # :1 -> *scenario """ From: Internal Bridge <[user:user2]@[domain]> To: Bridge Test <[user:user1]@[domain]> Content-Type: text/plain Subject: FW - Please Reply In-Reply-To: References: Heya """ Then it succeeds # :1 -> *scenario time="2026-09-17T09:54:30Z" msg="200 OK: GET https://127.0.0.1:45535/core/v4/events/Aw==" /client userID=95c71c92-5d8e-4ae3-978b-6b69fe13a0f1 time="2026-09-17T09:54:30Z" msg="Received new API event" new="Event CA==: messages: , , " old="Aw==" time="2026-09-17T09:54:30Z" msg="Handling message created event" messageID=a08877f6-2525-4202-82db-5d2afde92f89 subject="******** (22f3b0e1)" time="2026-09-17T09:54:30Z" msg="200 OK: GET https://127.0.0.1:45535/mail/v4/messages/a08877f6-2525-4202-82db-5d2afde92f89" /client userID=95c71c92-5d8e-4ae3-978b-6b69fe13a0f1 time="2026-09-17T09:54:31Z" msg="200 OK: GET https://127.0.0.1:45535/core/v4/events/BA==" /client userID=a4466b41-e1ac-4fd5-9fd3-60e11ade0c6a time="2026-09-17T09:54:31Z" msg="Received new API event" new="Event Bw==: messages: , , " old="BA==" time="2026-09-17T09:54:31Z" msg="Handling message created event" messageID=3a7900be-c37f-4634-b1d5-02c089d3f0f6 subject="******** (22f3b0e1)" time="2026-09-17T09:54:31Z" msg="200 OK: GET https://127.0.0.1:45535/mail/v4/messages/3a7900be-c37f-4634-b1d5-02c089d3f0f6" /client userID=a4466b41-e1ac-4fd5-9fd3-60e11ade0c6a time="2026-09-17T09:54:31Z" msg="Handling message updated event" messageID=8eac0569-ccf1-4aea-aee4-52c77d8d0d3c subject="******** (d9b2d36e)" time="2026-09-17T09:54:31Z" msg="Handling draft or sent updated event" isD messageID=3a7900be-c37f-4634-b1d5-02c089d3f0f6 subject="******** (22f3b0e1)" time="2026-09-17T09:54:31Z" msg="200 OK: GET https://127.0.0.1:45535/mail/v4/messages/3a7900be-c37f-4634-b1d5-02c089d3f0f6" /client userID=a4466b41-e1ac-4fd5-9fd3-60e11ade0c6a Then IMAP client "2" eventually sees the following messages in "Sent": # :1 -> *scenario | from | to | subject | in-reply-to | references | | b80da3a2-dc9c-4443-97a9-6c9cbad77a8a@proton.local | 4220a0c6-bd19-4d97-9929-f19c5df6847b@proton.local | FW - Please Reply | | | time="2026-09-17T09:54:31Z" msg="Frontend service stopped" time="2026-09-17T09:54:31Z" msg="Frontend client stopped" time="2026-09-17T09:54:31Z" msg="Closing bridge" time="2026-09-17T09:54:31Z" msg="Stopping service" time="2026-09-17T09:54:31Z" msg="Closing user" userID=95c71c92-5d8e-4ae3-978b-6b69fe13a0f1 time="2026-09-17T09:54:31Z" msg="De-registering user client, ID:95c71c92-5d8e-4ae3-978b-6b69fe13a0f1" time="2026-09-17T09:54:31Z" msg="Exiting IMAP Service" time="2026-09-17T09:54:31Z" msg="Exiting service main loop" time="2026-09-17T09:54:31Z" msg="Exiting service main loop" time="2026-09-17T09:54:31Z" msg="Exiting Service" time="2026-09-17T09:54:31Z" msg="Exiting service main loop" time="2026-09-17T09:54:31Z" msg="Exiting service" time="2026-09-17T09:54:31Z" msg="Closing user" userID=a4466b41-e1ac-4fd5-9fd3-60e11ade0c6a time="2026-09-17T09:54:31Z" msg="De-registering user client, ID:a4466b41-e1ac-4fd5-9fd3-60e11ade0c6a" time="2026-09-17T09:54:31Z" msg="Exiting IMAP Service" time="2026-09-17T09:54:31Z" msg="Exiting service main loop" time="2026-09-17T09:54:31Z" msg="Exiting service main loop" time="2026-09-17T09:54:31Z" msg="Exiting Service" time="2026-09-17T09:54:31Z" msg="Exiting service main loop" time="2026-09-17T09:54:31Z" msg="Exiting service" time="2026-09-17T09:54:31Z" msg="Closing IMAP Listener" time="2026-09-17T09:54:31Z" msg="Closing IMAP server" time="2026-09-17T09:54:31Z" msg="Closing SMTP Listener" time="2026-09-17T09:54:31Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:54:31Z" msg="Closing SMTP server" time="2026-09-17T09:54:31Z" msg="Closing service" And IMAP client "1" eventually sees the following messages in "INBOX": # :1 -> *scenario | from | subject | body | in-reply-to | references | reply-to | | b80da3a2-dc9c-4443-97a9-6c9cbad77a8a@proton.local | FW - Please Reply | Heya | | | b80da3a2-dc9c-4443-97a9-6c9cbad77a8a@proton.local | time="2026-09-17T09:54:31Z" msg="User 'b6e06b29-2405-476c-b203-0d29cc495b26' created with " /server/backend time="2026-09-17T09:54:32Z" msg="User 'ba1ee429-3c53-437f-a251-8c49fc4e3a07' created with " /server/backend time="2026-09-17T09:54:32Z" msg="Starting bridge" time="2026-09-17T09:54:32Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/237/config4204032208/grpcFocusServerConfig.json /service time="2026-09-17T09:54:32Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/237/cache3608450412/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:54:32Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/237/cache3608450412/notifications/notification_cache: no such file or directory" time="2026-09-17T09:54:32Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/237/data2007644430/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/237/data2007644430/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:54:32Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:54:32Z" msg="Starting IMAP server" time="2026-09-17T09:54:32Z" msg="Starting SMTP server" time="2026-09-17T09:54:32Z" msg="Starting service" time="2026-09-17T09:54:32Z" msg="Starting service" time="2026-09-17T09:54:32Z" msg="Starting receiver service" time="2026-09-17T09:54:32Z" msg="Starting frontend service" time="2026-09-17T09:54:32Z" msg="Starting poll service" time="2026-09-17T09:54:32Z" msg="Checking for updates" time="2026-09-17T09:54:32Z" msg="Loading users" /user time="2026-09-17T09:54:32Z" msg="Finished loading users" /user time="2026-09-17T09:54:32Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/237/config4204032208/grpcServerConfig.json time="2026-09-17T09:54:32Z" msg="gRPC server listening on /tmp/bridge7584" time="2026-09-17T09:54:32Z" msg="Frontend service started" time="2026-09-17T09:54:32Z" msg="Starting frontend client" time="2026-09-17T09:54:32Z" msg="Not monitoring parent PID" time="2026-09-17T09:54:32Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:54:32Z" msg="200 OK: GET https://127.0.0.1:46193/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:54:32Z" msg="Frontend client started" time="2026-09-17T09:54:32Z" msg="Performing full user login" /user username="******** (0918a059)" time="2026-09-17T09:54:32Z" msg="Authorizing user for login" /user username="******** (0918a059)" time="2026-09-17T09:54:32Z" msg="200 OK: POST https://127.0.0.1:46193/auth/v4/info" /manager time="2026-09-17T09:54:33Z" msg="200 OK: POST https://127.0.0.1:46193/auth/v4" /manager time="2026-09-17T09:54:33Z" msg="Logging in authorized user" /user userID=d073a3e5-db4a-4e9c-8a1c-e46272adf59b time="2026-09-17T09:54:33Z" msg="Adding vault user" userID=d073a3e5-db4a-4e9c-8a1c-e46272adf59b time="2026-09-17T09:54:33Z" msg="Creating new user" userID=d073a3e5-db4a-4e9c-8a1c-e46272adf59b time="2026-09-17T09:54:33Z" msg="404 GET https://127.0.0.1:46193/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:54:33Z" msg="404 GET https://127.0.0.1:46193/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:54:33Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:46193/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:54:33Z" msg="Creating user object" authUID=873a2b4f-8640-4503-a871-cf7efd3a94a5 numA numL userID=d073a3e5-db4a-4e9c-8a1c-e46272adf59b time="2026-09-17T09:54:33Z" msg="200 OK: GET https://127.0.0.1:46193/core/v4/events/latest" /client userID=d073a3e5-db4a-4e9c-8a1c-e46272adf59b time="2026-09-17T09:54:33Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:54:33Z" msg="200 OK: GET https://127.0.0.1:46193/core/v4/settings" /client userID=d073a3e5-db4a-4e9c-8a1c-e46272adf59b time="2026-09-17T09:54:33Z" msg="Registering user client, ID:d073a3e5-db4a-4e9c-8a1c-e46272adf59b" time="2026-09-17T09:54:33Z" msg="Starting service main loop" time="2026-09-17T09:54:33Z" msg="Starting user identity service" numA time="2026-09-17T09:54:33Z" msg="Starting service main loop" time="2026-09-17T09:54:33Z" msg="Starting service main loop" time="2026-09-17T09:54:33Z" msg="200 OK: GET https://127.0.0.1:46193/core/v4/labels?T" /client userID=d073a3e5-db4a-4e9c-8a1c-e46272adf59b time="2026-09-17T09:54:33Z" msg="200 OK: GET https://127.0.0.1:46193/core/v4/labels?T" /client userID=d073a3e5-db4a-4e9c-8a1c-e46272adf59b time="2026-09-17T09:54:33Z" msg="200 OK: GET https://127.0.0.1:46193/core/v4/labels?T" /client userID=d073a3e5-db4a-4e9c-8a1c-e46272adf59b time="2026-09-17T09:54:33Z" msg="Setting labels" labelIDs="[0 2 3 5 7 9 10 12 1 4 6 8]" time="2026-09-17T09:54:33Z" msg="Adding user to imap server" addrID=c72fbfb3-7183-41db-98e1-5c420c1ea781 time="2026-09-17T09:54:33Z" msg="Creating new IMAP user" addrID=c72fbfb3-7183-41db-98e1-5c420c1ea781 time="2026-09-17T09:54:33Z" msg="Setting gluon ID" addrID=c72fbfb3-7183-41db-98e1-5c420c1ea781 gluonID=d59e7345-53a6-4738-90e8-773f3cfc8633 userID=d073a3e5-db4a-4e9c-8a1c-e46272adf59b time="2026-09-17T09:54:33Z" msg="Received mailbox message count" gluonID=d59e7345-53a6-4738-90e8-773f3cfc8633 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:54:33Z" msg="Created new IMAP user" addrID=c72fbfb3-7183-41db-98e1-5c420c1ea781 gluonID=d59e7345-53a6-4738-90e8-773f3cfc8633 time="2026-09-17T09:54:33Z" msg="Validating Listener State" time="2026-09-17T09:54:33Z" time="2026-09-17T09:54:33Z" msg="Starting IMAP Service" time="2026-09-17T09:54:33Z" msg="Checking whether logged in user should re-sync. UserID:d073a3e5-db4a-4e9c-8a1c-e46272adf59b" userID=d073a3e5-db4a-4e9c-8a1c-e46272adf59b time="2026-09-17T09:54:33Z" msg="Sync triggered" time="2026-09-17T09:54:33Z" msg="Beginning user sync" start="2026-09-17 09:54:33.313854918 +0000 UTC m=+561.806157254" time="2026-09-17T09:54:33Z" msg="Syncing labels" time="2026-09-17T09:54:33Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=d59e7345-53a6-4738-90e8-773f3cfc8633 time="2026-09-17T09:54:33Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=d59e7345-53a6-4738-90e8-773f3cfc8633 time="2026-09-17T09:54:33Z" msg="Mailbox created" /user remoteMailboxID=6 userID=d59e7345-53a6-4738-90e8-773f3cfc8633 time="2026-09-17T09:54:33Z" msg="Mailbox created" /user remoteMailboxID=0 userID=d59e7345-53a6-4738-90e8-773f3cfc8633 time="2026-09-17T09:54:33Z" msg="Mailbox created" /user remoteMailboxID=3 userID=d59e7345-53a6-4738-90e8-773f3cfc8633 time="2026-09-17T09:54:33Z" msg="Mailbox created" /user remoteMailboxID=5 userID=d59e7345-53a6-4738-90e8-773f3cfc8633 time="2026-09-17T09:54:33Z" msg="Mailbox created" /user remoteMailboxID=7 userID=d59e7345-53a6-4738-90e8-773f3cfc8633 time="2026-09-17T09:54:33Z" msg="Mailbox created" /user remoteMailboxID=10 userID=d59e7345-53a6-4738-90e8-773f3cfc8633 time="2026-09-17T09:54:33Z" msg="Mailbox created" /user remoteMailboxID=12 userID=d59e7345-53a6-4738-90e8-773f3cfc8633 time="2026-09-17T09:54:33Z" msg="Mailbox created" /user remoteMailboxID=4 userID=d59e7345-53a6-4738-90e8-773f3cfc8633 time="2026-09-17T09:54:33Z" msg="Mailbox created" /user remoteMailboxID=8 userID=d59e7345-53a6-4738-90e8-773f3cfc8633 time="2026-09-17T09:54:33Z" msg="Synced labels" time="2026-09-17T09:54:33Z" msg="200 OK: GET https://127.0.0.1:46193/mail/v4/messages/count" /client userID=d073a3e5-db4a-4e9c-8a1c-e46272adf59b time="2026-09-17T09:54:33Z" msg="Syncing messages" time="2026-09-17T09:54:33Z" msg="Job started" time="2026-09-17T09:54:33Z" msg="200 OK: POST https://127.0.0.1:46193/mail/v4/messages" /client userID=d073a3e5-db4a-4e9c-8a1c-e46272adf59b time="2026-09-17T09:54:33Z" msg="Job finished" time="2026-09-17T09:54:33Z" msg="All child jobs completed" sync- time="2026-09-17T09:54:33Z" msg="Synced messages" time="2026-09-17T09:54:33Z" msg="Finished user sync" .313606ms time="2026-09-17T09:54:33Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:54:33Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:54:33Z" msg="Sending observability data." time="2026-09-17T09:54:33Z" msg="200 OK: GET https://127.0.0.1:46193/mail/v4/settings" /client userID=d073a3e5-db4a-4e9c-8a1c-e46272adf59b time="2026-09-17T09:54:33Z" msg="200 OK: POST https://127.0.0.1:46193/data/v1/metrics" /client userID=d073a3e5-db4a-4e9c-8a1c-e46272adf59b time="2026-09-17T09:54:33Z" msg="Successfully sent observability data." time="2026-09-17T09:54:33Z" msg="200 OK: POST https://127.0.0.1:46193/mail/v4/messages" /client userID=d073a3e5-db4a-4e9c-8a1c-e46272adf59b time="2026-09-17T09:54:33Z" msg="200 OK: GET https://127.0.0.1:46193/core/v4/keys?E%40proton.local" /client userID=d073a3e5-db4a-4e9c-8a1c-e46272adf59b time="2026-09-17T09:54:33Z" msg="200 OK: GET https://127.0.0.1:46193/contacts/v4/emails?E%40proton.local&P&PageS" /client userID=d073a3e5-db4a-4e9c-8a1c-e46272adf59b time="2026-09-17T09:54:33Z" msg="200 OK: POST https://127.0.0.1:46193/mail/v4/messages/ce7a3109-5b83-49e1-9264-afb4079f8cc3" /client userID=d073a3e5-db4a-4e9c-8a1c-e46272adf59b time="2026-09-17T09:54:33Z" msg="Scheduling observability data sending" Scenario: Reply with In-Reply-To matching several received ExternalID # features/smtp/send/send_reply.feature:155 When SMTP client "1" sends the following message from "b6e06b29-2405-476c-b203-0d29cc495b26@proton.local" to "ba1ee429-3c53-437f-a251-8c49fc4e3a07@proton.local": # :1 -> *scenario """ From: Bridge Test <[user:user1]@[domain]> To: Internal Bridge <[user:user2]@[domain]> Subject: Please Reply Message-ID: hello """ Then it succeeds # :1 -> *scenario time="2026-09-17T09:54:33Z" msg="200 OK: GET https://127.0.0.1:46193/mail/v4/settings" /client userID=d073a3e5-db4a-4e9c-8a1c-e46272adf59b time="2026-09-17T09:54:33Z" msg="200 OK: POST https://127.0.0.1:46193/mail/v4/messages" /client userID=d073a3e5-db4a-4e9c-8a1c-e46272adf59b time="2026-09-17T09:54:33Z" msg="200 OK: GET https://127.0.0.1:46193/core/v4/keys?E%40proton.local" /client userID=d073a3e5-db4a-4e9c-8a1c-e46272adf59b time="2026-09-17T09:54:33Z" msg="200 OK: GET https://127.0.0.1:46193/contacts/v4/emails?E%40proton.local&P&PageS" /client userID=d073a3e5-db4a-4e9c-8a1c-e46272adf59b time="2026-09-17T09:54:33Z" msg="200 OK: POST https://127.0.0.1:46193/mail/v4/messages/aaba79c9-547d-4cc8-928d-27b9546f337f" /client userID=d073a3e5-db4a-4e9c-8a1c-e46272adf59b When SMTP client "1" sends the following message from "b6e06b29-2405-476c-b203-0d29cc495b26@proton.local" to "ba1ee429-3c53-437f-a251-8c49fc4e3a07@proton.local": # :1 -> *scenario """ From: Bridge Test <[user:user1]@[domain]> To: Internal Bridge <[user:user2]@[domain]> Subject: Please Reply Again Message-ID: hello """ Then it succeeds # :1 -> *scenario time="2026-09-17T09:54:33Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 4} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:54:34Z" msg="200 OK: GET https://127.0.0.1:46193/core/v4/events/AA==" /client userID=d073a3e5-db4a-4e9c-8a1c-e46272adf59b time="2026-09-17T09:54:34Z" msg="Received new API event" new="Event Bg==: messages: , , " old="AA==" time="2026-09-17T09:54:34Z" msg="Handling message created event" messageID=ce7a3109-5b83-49e1-9264-afb4079f8cc3 subject="******** (d9b2d36e)" time="2026-09-17T09:54:34Z" msg="200 OK: GET https://127.0.0.1:46193/mail/v4/messages/ce7a3109-5b83-49e1-9264-afb4079f8cc3" /client userID=d073a3e5-db4a-4e9c-8a1c-e46272adf59b time="2026-09-17T09:54:34Z" msg="Handling draft or sent updated event" isD messageID=ce7a3109-5b83-49e1-9264-afb4079f8cc3 subject="******** (d9b2d36e)" time="2026-09-17T09:54:34Z" msg="200 OK: GET https://127.0.0.1:46193/mail/v4/messages/ce7a3109-5b83-49e1-9264-afb4079f8cc3" /client userID=d073a3e5-db4a-4e9c-8a1c-e46272adf59b time="2026-09-17T09:54:34Z" msg="Handling message created event" messageID=aaba79c9-547d-4cc8-928d-27b9546f337f subject="******** (dcc3e73d)" time="2026-09-17T09:54:34Z" msg="200 OK: GET https://127.0.0.1:46193/mail/v4/messages/aaba79c9-547d-4cc8-928d-27b9546f337f" /client userID=d073a3e5-db4a-4e9c-8a1c-e46272adf59b time="2026-09-17T09:54:34Z" msg="Handling draft or sent updated event" isD messageID=aaba79c9-547d-4cc8-928d-27b9546f337f subject="******** (dcc3e73d)" time="2026-09-17T09:54:34Z" msg="200 OK: GET https://127.0.0.1:46193/mail/v4/messages/aaba79c9-547d-4cc8-928d-27b9546f337f" /client userID=d073a3e5-db4a-4e9c-8a1c-e46272adf59b Then IMAP client "1" eventually sees the following messages in "Sent": # :1 -> *scenario | from | to | subject | message-id | | b6e06b29-2405-476c-b203-0d29cc495b26@proton.local | ba1ee429-3c53-437f-a251-8c49fc4e3a07@proton.local | Please Reply | | | b6e06b29-2405-476c-b203-0d29cc495b26@proton.local | ba1ee429-3c53-437f-a251-8c49fc4e3a07@proton.local | Please Reply Again | | time="2026-09-17T09:54:34Z" msg="Performing full user login" /user username="******** (80d7f2f3)" time="2026-09-17T09:54:34Z" msg="Authorizing user for login" /user username="******** (80d7f2f3)" time="2026-09-17T09:54:34Z" msg="200 OK: POST https://127.0.0.1:46193/auth/v4/info" /manager time="2026-09-17T09:54:34Z" msg="200 OK: POST https://127.0.0.1:46193/auth/v4" /manager time="2026-09-17T09:54:34Z" msg="Logging in authorized user" /user userID=c6ac37cf-098f-4da4-9f83-06bbb8944b98 time="2026-09-17T09:54:34Z" msg="Adding vault user" userID=c6ac37cf-098f-4da4-9f83-06bbb8944b98 time="2026-09-17T09:54:34Z" msg="Creating new user" userID=c6ac37cf-098f-4da4-9f83-06bbb8944b98 time="2026-09-17T09:54:34Z" msg="404 GET https://127.0.0.1:46193/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:54:34Z" msg="404 GET https://127.0.0.1:46193/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:54:34Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:46193/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:54:34Z" msg="Creating user object" authUID=8c59195b-f282-4e7f-aeec-c7cc8a4cff8a numA numL userID=c6ac37cf-098f-4da4-9f83-06bbb8944b98 time="2026-09-17T09:54:34Z" msg="200 OK: GET https://127.0.0.1:46193/core/v4/events/latest" /client userID=c6ac37cf-098f-4da4-9f83-06bbb8944b98 time="2026-09-17T09:54:34Z" msg="Starting service Last EventID=Bw==" time="2026-09-17T09:54:34Z" msg="200 OK: GET https://127.0.0.1:46193/core/v4/settings" /client userID=c6ac37cf-098f-4da4-9f83-06bbb8944b98 time="2026-09-17T09:54:34Z" msg="Registering user client, ID:c6ac37cf-098f-4da4-9f83-06bbb8944b98" time="2026-09-17T09:54:34Z" msg="Starting user identity service" numA time="2026-09-17T09:54:34Z" msg="Starting service main loop" time="2026-09-17T09:54:34Z" msg="Starting service main loop" time="2026-09-17T09:54:34Z" msg="Starting service main loop" time="2026-09-17T09:54:34Z" msg="200 OK: GET https://127.0.0.1:46193/core/v4/labels?T" /client userID=c6ac37cf-098f-4da4-9f83-06bbb8944b98 time="2026-09-17T09:54:34Z" msg="200 OK: GET https://127.0.0.1:46193/core/v4/labels?T" /client userID=c6ac37cf-098f-4da4-9f83-06bbb8944b98 time="2026-09-17T09:54:34Z" msg="200 OK: GET https://127.0.0.1:46193/core/v4/labels?T" /client userID=c6ac37cf-098f-4da4-9f83-06bbb8944b98 time="2026-09-17T09:54:34Z" msg="Setting labels" labelIDs="[9 2 3 5 6 8 10 12 0 1 4 7]" time="2026-09-17T09:54:34Z" msg="Adding user to imap server" addrID=d6773837-865a-451e-860e-c319b01f5037 time="2026-09-17T09:54:34Z" msg="Creating new IMAP user" addrID=d6773837-865a-451e-860e-c319b01f5037 time="2026-09-17T09:54:34Z" msg="Setting gluon ID" addrID=d6773837-865a-451e-860e-c319b01f5037 gluonID=b0c430d0-4ca2-4b47-9d0d-d99b8f98144b userID=c6ac37cf-098f-4da4-9f83-06bbb8944b98 time="2026-09-17T09:54:34Z" msg="Created new IMAP user" addrID=d6773837-865a-451e-860e-c319b01f5037 gluonID=b0c430d0-4ca2-4b47-9d0d-d99b8f98144b time="2026-09-17T09:54:34Z" msg="Received mailbox message count" gluonID=b0c430d0-4ca2-4b47-9d0d-d99b8f98144b labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:54:34Z" msg="Starting IMAP Service" time="2026-09-17T09:54:34Z" msg="Validating Listener State" time="2026-09-17T09:54:34Z" time="2026-09-17T09:54:34Z" msg="Sync triggered" time="2026-09-17T09:54:34Z" msg="Beginning user sync" start="2026-09-17 09:54:34.807927648 +0000 UTC m=+563.300229944" time="2026-09-17T09:54:34Z" msg="Checking whether logged in user should re-sync. UserID:c6ac37cf-098f-4da4-9f83-06bbb8944b98" userID=c6ac37cf-098f-4da4-9f83-06bbb8944b98 And the user logs in with username "ba1ee429-3c53-437f-a251-8c49fc4e3a07" and password "password" # :1 -> *scenario time="2026-09-17T09:54:34Z" msg="Syncing labels" time="2026-09-17T09:54:34Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=b0c430d0-4ca2-4b47-9d0d-d99b8f98144b time="2026-09-17T09:54:34Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=b0c430d0-4ca2-4b47-9d0d-d99b8f98144b time="2026-09-17T09:54:34Z" msg="Mailbox created" /user remoteMailboxID=0 userID=b0c430d0-4ca2-4b47-9d0d-d99b8f98144b And user "ba1ee429-3c53-437f-a251-8c49fc4e3a07" connects and authenticates IMAP client "2" # :1 -> *scenario time="2026-09-17T09:54:34Z" msg="Mailbox created" /user remoteMailboxID=4 userID=b0c430d0-4ca2-4b47-9d0d-d99b8f98144b time="2026-09-17T09:54:34Z" msg="Mailbox created" /user remoteMailboxID=5 userID=b0c430d0-4ca2-4b47-9d0d-d99b8f98144b time="2026-09-17T09:54:34Z" msg="Mailbox created" /user remoteMailboxID=8 userID=b0c430d0-4ca2-4b47-9d0d-d99b8f98144b And user "ba1ee429-3c53-437f-a251-8c49fc4e3a07" connects and authenticates SMTP client "2" # :1 -> *scenario time="2026-09-17T09:54:34Z" msg="Mailbox created" /user remoteMailboxID=10 userID=b0c430d0-4ca2-4b47-9d0d-d99b8f98144b time="2026-09-17T09:54:34Z" msg="Mailbox created" /user remoteMailboxID=12 userID=b0c430d0-4ca2-4b47-9d0d-d99b8f98144b time="2026-09-17T09:54:34Z" msg="Mailbox created" /user remoteMailboxID=7 userID=b0c430d0-4ca2-4b47-9d0d-d99b8f98144b time="2026-09-17T09:54:34Z" msg="Mailbox created" /user remoteMailboxID=3 userID=b0c430d0-4ca2-4b47-9d0d-d99b8f98144b time="2026-09-17T09:54:34Z" msg="Mailbox created" /user remoteMailboxID=6 userID=b0c430d0-4ca2-4b47-9d0d-d99b8f98144b time="2026-09-17T09:54:34Z" msg="Synced labels" time="2026-09-17T09:54:34Z" msg="200 OK: GET https://127.0.0.1:46193/mail/v4/messages/count" /client userID=c6ac37cf-098f-4da4-9f83-06bbb8944b98 time="2026-09-17T09:54:34Z" msg="Syncing messages" time="2026-09-17T09:54:34Z" msg="Job started" time="2026-09-17T09:54:34Z" msg="200 OK: POST https://127.0.0.1:46193/mail/v4/messages" /client userID=c6ac37cf-098f-4da4-9f83-06bbb8944b98 time="2026-09-17T09:54:34Z" msg="200 OK: POST https://127.0.0.1:46193/mail/v4/messages" /client userID=c6ac37cf-098f-4da4-9f83-06bbb8944b98 time="2026-09-17T09:54:34Z" msg="Creating new child job" time="2026-09-17T09:54:34Z" msg="Job finished" time="2026-09-17T09:54:34Z" msg="200 OK: GET https://127.0.0.1:46193/mail/v4/messages/df1bc29d-96e5-4867-9d52-b7c439573cab" /client userID=c6ac37cf-098f-4da4-9f83-06bbb8944b98 time="2026-09-17T09:54:34Z" msg="200 OK: GET https://127.0.0.1:46193/mail/v4/messages/5d085d38-4aef-449f-ac61-585bd1e3779e" /client userID=c6ac37cf-098f-4da4-9f83-06bbb8944b98 time="2026-09-17T09:54:34Z" msg="Child job finished" time="2026-09-17T09:54:34Z" msg="All child jobs completed" sync- time="2026-09-17T09:54:34Z" msg="Synced messages" time="2026-09-17T09:54:34Z" msg="Finished user sync" .340074ms time="2026-09-17T09:54:34Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:54:34Z" msg="Event loop reset" eventID="Bw==" And user "ba1ee429-3c53-437f-a251-8c49fc4e3a07" finishes syncing # :1 -> *scenario Then IMAP client "2" eventually sees the following messages in "INBOX": # :1 -> *scenario | from | subject | message-id | reply-to | | b6e06b29-2405-476c-b203-0d29cc495b26@proton.local | Please Reply | | b6e06b29-2405-476c-b203-0d29cc495b26@proton.local | | b6e06b29-2405-476c-b203-0d29cc495b26@proton.local | Please Reply Again | | b6e06b29-2405-476c-b203-0d29cc495b26@proton.local | time="2026-09-17T09:54:34Z" msg="200 OK: GET https://127.0.0.1:46193/mail/v4/settings" /client userID=c6ac37cf-098f-4da4-9f83-06bbb8944b98 time="2026-09-17T09:54:34Z" msg="200 OK: POST https://127.0.0.1:46193/mail/v4/messages" /client userID=c6ac37cf-098f-4da4-9f83-06bbb8944b98 time="2026-09-17T09:54:34Z" msg="200 OK: POST https://127.0.0.1:46193/mail/v4/messages" /client userID=c6ac37cf-098f-4da4-9f83-06bbb8944b98 time="2026-09-17T09:54:34Z" msg="200 OK: POST https://127.0.0.1:46193/mail/v4/messages" /client userID=c6ac37cf-098f-4da4-9f83-06bbb8944b98 time="2026-09-17T09:54:34Z" msg="200 OK: GET https://127.0.0.1:46193/core/v4/keys?E%40proton.local" /client userID=c6ac37cf-098f-4da4-9f83-06bbb8944b98 time="2026-09-17T09:54:34Z" msg="200 OK: GET https://127.0.0.1:46193/contacts/v4/emails?E%40proton.local&P&PageS" /client userID=c6ac37cf-098f-4da4-9f83-06bbb8944b98 time="2026-09-17T09:54:34Z" msg="200 OK: POST https://127.0.0.1:46193/mail/v4/messages/5fe021c2-d7de-473d-ba7d-128dd35ebd33" /client userID=c6ac37cf-098f-4da4-9f83-06bbb8944b98 When SMTP client "2" sends the following message from "ba1ee429-3c53-437f-a251-8c49fc4e3a07@proton.local" to "b6e06b29-2405-476c-b203-0d29cc495b26@proton.local": # :1 -> *scenario """ From: Internal Bridge <[user:user2]@[domain]> To: Bridge Test <[user:user1]@[domain]> Content-Type: text/plain Subject: FW - Please Reply In-Reply-To: Heya """ Then it succeeds # :1 -> *scenario time="2026-09-17T09:54:35Z" msg="200 OK: GET https://127.0.0.1:46193/core/v4/events/Bg==" /client userID=d073a3e5-db4a-4e9c-8a1c-e46272adf59b time="2026-09-17T09:54:35Z" msg="Received new API event" new="Event Cg==: messages: , , " old="Bg==" time="2026-09-17T09:54:35Z" msg="Handling message created event" messageID=bd6c23f3-cc53-4778-937e-b1865418bf10 subject="******** (22f3b0e1)" time="2026-09-17T09:54:35Z" msg="200 OK: GET https://127.0.0.1:46193/mail/v4/messages/bd6c23f3-cc53-4778-937e-b1865418bf10" /client userID=d073a3e5-db4a-4e9c-8a1c-e46272adf59b time="2026-09-17T09:54:35Z" msg="200 OK: GET https://127.0.0.1:46193/core/v4/events/Bw==" /client userID=c6ac37cf-098f-4da4-9f83-06bbb8944b98 time="2026-09-17T09:54:35Z" msg="Received new API event" new="Event CQ==: messages: , , " old="Bw==" time="2026-09-17T09:54:35Z" msg="Handling message created event" messageID=5fe021c2-d7de-473d-ba7d-128dd35ebd33 subject="******** (22f3b0e1)" time="2026-09-17T09:54:35Z" msg="200 OK: GET https://127.0.0.1:46193/mail/v4/messages/5fe021c2-d7de-473d-ba7d-128dd35ebd33" /client userID=c6ac37cf-098f-4da4-9f83-06bbb8944b98 time="2026-09-17T09:54:35Z" msg="Handling draft or sent updated event" isD messageID=5fe021c2-d7de-473d-ba7d-128dd35ebd33 subject="******** (22f3b0e1)" time="2026-09-17T09:54:35Z" msg="200 OK: GET https://127.0.0.1:46193/mail/v4/messages/5fe021c2-d7de-473d-ba7d-128dd35ebd33" /client userID=c6ac37cf-098f-4da4-9f83-06bbb8944b98 Then IMAP client "2" eventually sees the following messages in "Sent": # :1 -> *scenario | from | to | subject | in-reply-to | references | | ba1ee429-3c53-437f-a251-8c49fc4e3a07@proton.local | b6e06b29-2405-476c-b203-0d29cc495b26@proton.local | FW - Please Reply | | | time="2026-09-17T09:54:35Z" msg="Frontend service stopped" time="2026-09-17T09:54:35Z" msg="Frontend client stopped" time="2026-09-17T09:54:35Z" msg="Closing bridge" time="2026-09-17T09:54:35Z" msg="Stopping service" time="2026-09-17T09:54:35Z" msg="Closing user" userID=c6ac37cf-098f-4da4-9f83-06bbb8944b98 time="2026-09-17T09:54:35Z" msg="De-registering user client, ID:c6ac37cf-098f-4da4-9f83-06bbb8944b98" time="2026-09-17T09:54:35Z" msg="Exiting IMAP Service" time="2026-09-17T09:54:35Z" msg="Exiting service main loop" time="2026-09-17T09:54:35Z" msg="Exiting service main loop" time="2026-09-17T09:54:35Z" msg="Exiting Service" time="2026-09-17T09:54:35Z" msg="Exiting service main loop" time="2026-09-17T09:54:35Z" msg="Exiting service" time="2026-09-17T09:54:35Z" msg="Closing user" userID=d073a3e5-db4a-4e9c-8a1c-e46272adf59b time="2026-09-17T09:54:35Z" msg="De-registering user client, ID:d073a3e5-db4a-4e9c-8a1c-e46272adf59b" time="2026-09-17T09:54:35Z" msg="Exiting IMAP Service" time="2026-09-17T09:54:35Z" msg="Exiting service main loop" time="2026-09-17T09:54:35Z" msg="Exiting service main loop" time="2026-09-17T09:54:35Z" msg="Exiting Service" time="2026-09-17T09:54:35Z" msg="Exiting service main loop" time="2026-09-17T09:54:35Z" msg="Exiting service" time="2026-09-17T09:54:35Z" msg="Closing IMAP Listener" time="2026-09-17T09:54:35Z" msg="Closing IMAP server" time="2026-09-17T09:54:35Z" msg="Closing SMTP Listener" time="2026-09-17T09:54:35Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:54:35Z" msg="Closing SMTP server" time="2026-09-17T09:54:35Z" msg="Closing service" And IMAP client "1" eventually sees the following messages in "INBOX": # :1 -> *scenario | from | subject | body | in-reply-to | references | | ba1ee429-3c53-437f-a251-8c49fc4e3a07@proton.local | FW - Please Reply | Heya | | | time="2026-09-17T09:54:36Z" msg="User 'a55213bf-7595-4262-9c4d-b5a9063f12f6' created with " /server/backend time="2026-09-17T09:54:36Z" msg="User 'f82cfb4b-9b3a-49e0-8543-98182d8ca854' created with " /server/backend time="2026-09-17T09:54:37Z" msg="Starting bridge" time="2026-09-17T09:54:37Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/238/config2978978493/grpcFocusServerConfig.json /service time="2026-09-17T09:54:37Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/238/cache1635972718/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:54:37Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/238/cache1635972718/notifications/notification_cache: no such file or directory" time="2026-09-17T09:54:37Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/238/data1030247051/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/238/data1030247051/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:54:37Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:54:37Z" msg="Starting IMAP server" time="2026-09-17T09:54:37Z" msg="Starting SMTP server" time="2026-09-17T09:54:37Z" msg="Starting service" time="2026-09-17T09:54:37Z" msg="Starting service" time="2026-09-17T09:54:37Z" msg="Starting frontend service" time="2026-09-17T09:54:37Z" msg="Starting poll service" time="2026-09-17T09:54:37Z" msg="Checking for updates" time="2026-09-17T09:54:37Z" msg="Starting receiver service" time="2026-09-17T09:54:37Z" msg="Loading users" /user time="2026-09-17T09:54:37Z" msg="Finished loading users" /user time="2026-09-17T09:54:37Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/238/config2978978493/grpcServerConfig.json time="2026-09-17T09:54:37Z" msg="gRPC server listening on /tmp/bridge3780" time="2026-09-17T09:54:37Z" msg="Frontend service started" time="2026-09-17T09:54:37Z" msg="Starting frontend client" time="2026-09-17T09:54:37Z" msg="Not monitoring parent PID" time="2026-09-17T09:54:37Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:54:37Z" msg="Frontend client started" time="2026-09-17T09:54:37Z" msg="Performing full user login" /user username="******** (cace405f)" time="2026-09-17T09:54:37Z" msg="Authorizing user for login" /user username="******** (cace405f)" time="2026-09-17T09:54:37Z" msg="200 OK: GET https://127.0.0.1:35075/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:54:37Z" msg="200 OK: POST https://127.0.0.1:35075/auth/v4/info" /manager time="2026-09-17T09:54:37Z" msg="200 OK: POST https://127.0.0.1:35075/auth/v4" /manager time="2026-09-17T09:54:37Z" msg="Logging in authorized user" /user userID=ba288eb5-a16a-4644-975e-4df8d170ab45 time="2026-09-17T09:54:37Z" msg="Adding vault user" userID=ba288eb5-a16a-4644-975e-4df8d170ab45 time="2026-09-17T09:54:37Z" msg="Creating new user" userID=ba288eb5-a16a-4644-975e-4df8d170ab45 time="2026-09-17T09:54:37Z" msg="404 GET https://127.0.0.1:35075/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:54:37Z" msg="404 GET https://127.0.0.1:35075/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:54:37Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:35075/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:54:37Z" msg="Creating user object" authUID=6b6b62dd-281e-4dc6-b814-6920b4685616 numA numL userID=ba288eb5-a16a-4644-975e-4df8d170ab45 time="2026-09-17T09:54:37Z" msg="200 OK: GET https://127.0.0.1:35075/core/v4/events/latest" /client userID=ba288eb5-a16a-4644-975e-4df8d170ab45 time="2026-09-17T09:54:37Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:54:37Z" msg="200 OK: GET https://127.0.0.1:35075/core/v4/settings" /client userID=ba288eb5-a16a-4644-975e-4df8d170ab45 time="2026-09-17T09:54:37Z" msg="Registering user client, ID:ba288eb5-a16a-4644-975e-4df8d170ab45" time="2026-09-17T09:54:37Z" msg="Starting service main loop" time="2026-09-17T09:54:37Z" msg="Starting service main loop" time="2026-09-17T09:54:37Z" msg="Starting user identity service" numA time="2026-09-17T09:54:37Z" msg="Starting service main loop" time="2026-09-17T09:54:37Z" msg="200 OK: GET https://127.0.0.1:35075/core/v4/labels?T" /client userID=ba288eb5-a16a-4644-975e-4df8d170ab45 time="2026-09-17T09:54:37Z" msg="200 OK: GET https://127.0.0.1:35075/core/v4/labels?T" /client userID=ba288eb5-a16a-4644-975e-4df8d170ab45 time="2026-09-17T09:54:37Z" msg="200 OK: GET https://127.0.0.1:35075/core/v4/labels?T" /client userID=ba288eb5-a16a-4644-975e-4df8d170ab45 time="2026-09-17T09:54:37Z" msg="Setting labels" labelIDs="[0 1 4 5 2 3 6 7 8 9 10 12]" time="2026-09-17T09:54:37Z" msg="Adding user to imap server" addrID=f9cfcc03-b75a-4f09-b91d-f63bd75ca252 time="2026-09-17T09:54:37Z" msg="Creating new IMAP user" addrID=f9cfcc03-b75a-4f09-b91d-f63bd75ca252 time="2026-09-17T09:54:37Z" msg="Setting gluon ID" addrID=f9cfcc03-b75a-4f09-b91d-f63bd75ca252 gluonID=537d432f-48aa-4e7f-996e-b1b1c948f750 userID=ba288eb5-a16a-4644-975e-4df8d170ab45 time="2026-09-17T09:54:37Z" msg="Received mailbox message count" gluonID=537d432f-48aa-4e7f-996e-b1b1c948f750 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:54:37Z" msg="Created new IMAP user" addrID=f9cfcc03-b75a-4f09-b91d-f63bd75ca252 gluonID=537d432f-48aa-4e7f-996e-b1b1c948f750 time="2026-09-17T09:54:37Z" msg="Validating Listener State" time="2026-09-17T09:54:37Z" time="2026-09-17T09:54:37Z" msg="Starting IMAP Service" time="2026-09-17T09:54:37Z" msg="Sync triggered" time="2026-09-17T09:54:37Z" msg="Beginning user sync" start="2026-09-17 09:54:37.668582299 +0000 UTC m=+566.160884595" time="2026-09-17T09:54:37Z" msg="Checking whether logged in user should re-sync. UserID:ba288eb5-a16a-4644-975e-4df8d170ab45" userID=ba288eb5-a16a-4644-975e-4df8d170ab45 time="2026-09-17T09:54:37Z" msg="Syncing labels" time="2026-09-17T09:54:37Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=537d432f-48aa-4e7f-996e-b1b1c948f750 time="2026-09-17T09:54:37Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=537d432f-48aa-4e7f-996e-b1b1c948f750 time="2026-09-17T09:54:37Z" msg="Mailbox created" /user remoteMailboxID=6 userID=537d432f-48aa-4e7f-996e-b1b1c948f750 time="2026-09-17T09:54:37Z" msg="Mailbox created" /user remoteMailboxID=8 userID=537d432f-48aa-4e7f-996e-b1b1c948f750 time="2026-09-17T09:54:37Z" msg="Mailbox created" /user remoteMailboxID=10 userID=537d432f-48aa-4e7f-996e-b1b1c948f750 time="2026-09-17T09:54:37Z" msg="Mailbox created" /user remoteMailboxID=12 userID=537d432f-48aa-4e7f-996e-b1b1c948f750 time="2026-09-17T09:54:37Z" msg="Mailbox created" /user remoteMailboxID=0 userID=537d432f-48aa-4e7f-996e-b1b1c948f750 time="2026-09-17T09:54:37Z" msg="Mailbox created" /user remoteMailboxID=4 userID=537d432f-48aa-4e7f-996e-b1b1c948f750 time="2026-09-17T09:54:37Z" msg="Mailbox created" /user remoteMailboxID=5 userID=537d432f-48aa-4e7f-996e-b1b1c948f750 time="2026-09-17T09:54:37Z" msg="Mailbox created" /user remoteMailboxID=3 userID=537d432f-48aa-4e7f-996e-b1b1c948f750 time="2026-09-17T09:54:37Z" msg="Mailbox created" /user remoteMailboxID=7 userID=537d432f-48aa-4e7f-996e-b1b1c948f750 time="2026-09-17T09:54:37Z" msg="Synced labels" time="2026-09-17T09:54:37Z" msg="200 OK: GET https://127.0.0.1:35075/mail/v4/messages/count" /client userID=ba288eb5-a16a-4644-975e-4df8d170ab45 time="2026-09-17T09:54:37Z" msg="Syncing messages" time="2026-09-17T09:54:37Z" msg="Job started" time="2026-09-17T09:54:37Z" msg="200 OK: POST https://127.0.0.1:35075/mail/v4/messages" /client userID=ba288eb5-a16a-4644-975e-4df8d170ab45 time="2026-09-17T09:54:37Z" msg="Job finished" time="2026-09-17T09:54:37Z" msg="All child jobs completed" sync- time="2026-09-17T09:54:37Z" msg="Synced messages" time="2026-09-17T09:54:37Z" msg="Finished user sync" .497785ms time="2026-09-17T09:54:37Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:54:37Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:54:37Z" msg="Sending observability data." time="2026-09-17T09:54:37Z" msg="200 OK: GET https://127.0.0.1:35075/mail/v4/settings" /client userID=ba288eb5-a16a-4644-975e-4df8d170ab45 time="2026-09-17T09:54:37Z" msg="200 OK: POST https://127.0.0.1:35075/data/v1/metrics" /client userID=ba288eb5-a16a-4644-975e-4df8d170ab45 time="2026-09-17T09:54:37Z" msg="Successfully sent observability data." time="2026-09-17T09:54:37Z" msg="200 OK: POST https://127.0.0.1:35075/mail/v4/messages" /client userID=ba288eb5-a16a-4644-975e-4df8d170ab45 time="2026-09-17T09:54:37Z" msg="200 OK: GET https://127.0.0.1:35075/core/v4/keys?E%40proton.local" /client userID=ba288eb5-a16a-4644-975e-4df8d170ab45 time="2026-09-17T09:54:37Z" msg="200 OK: GET https://127.0.0.1:35075/contacts/v4/emails?E%40proton.local&P&PageS" /client userID=ba288eb5-a16a-4644-975e-4df8d170ab45 time="2026-09-17T09:54:37Z" msg="200 OK: POST https://127.0.0.1:35075/mail/v4/messages/a1d534a3-d3e9-492a-b8cd-d2fd3defb4b4" /client userID=ba288eb5-a16a-4644-975e-4df8d170ab45 time="2026-09-17T09:54:37Z" msg="Scheduling observability data sending" Scenario: Reply with In-Reply-To matching several ExternalID but one sent by us # features/smtp/send/send_reply.feature:215 When SMTP client "1" sends the following message from "a55213bf-7595-4262-9c4d-b5a9063f12f6@proton.local" to "f82cfb4b-9b3a-49e0-8543-98182d8ca854@proton.local": # :1 -> *scenario """ From: Bridge Test <[user:user1]@[domain]> To: Internal Bridge <[user:user2]@[domain]> Subject: Please Reply Message-ID: hello """ Then it succeeds # :1 -> *scenario time="2026-09-17T09:54:37Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 2} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:54:38Z" msg="200 OK: GET https://127.0.0.1:35075/core/v4/events/AA==" /client userID=ba288eb5-a16a-4644-975e-4df8d170ab45 time="2026-09-17T09:54:38Z" msg="Received new API event" new="Event Aw==: messages: , , " old="AA==" time="2026-09-17T09:54:38Z" msg="Handling message created event" messageID=a1d534a3-d3e9-492a-b8cd-d2fd3defb4b4 subject="******** (d9b2d36e)" time="2026-09-17T09:54:38Z" msg="200 OK: GET https://127.0.0.1:35075/mail/v4/messages/a1d534a3-d3e9-492a-b8cd-d2fd3defb4b4" /client userID=ba288eb5-a16a-4644-975e-4df8d170ab45 time="2026-09-17T09:54:38Z" msg="Handling draft or sent updated event" isD messageID=a1d534a3-d3e9-492a-b8cd-d2fd3defb4b4 subject="******** (d9b2d36e)" time="2026-09-17T09:54:38Z" msg="200 OK: GET https://127.0.0.1:35075/mail/v4/messages/a1d534a3-d3e9-492a-b8cd-d2fd3defb4b4" /client userID=ba288eb5-a16a-4644-975e-4df8d170ab45 Then IMAP client "1" eventually sees the following messages in "Sent": # :1 -> *scenario | from | to | subject | message-id | | a55213bf-7595-4262-9c4d-b5a9063f12f6@proton.local | f82cfb4b-9b3a-49e0-8543-98182d8ca854@proton.local | Please Reply | | time="2026-09-17T09:54:38Z" msg="Performing full user login" /user username="******** (f8c50683)" time="2026-09-17T09:54:38Z" msg="Authorizing user for login" /user username="******** (f8c50683)" time="2026-09-17T09:54:38Z" msg="200 OK: POST https://127.0.0.1:35075/auth/v4/info" /manager time="2026-09-17T09:54:39Z" msg="200 OK: POST https://127.0.0.1:35075/auth/v4" /manager time="2026-09-17T09:54:39Z" msg="Logging in authorized user" /user userID=184b0834-2860-445d-9d12-bc583e049d57 time="2026-09-17T09:54:39Z" msg="Adding vault user" userID=184b0834-2860-445d-9d12-bc583e049d57 time="2026-09-17T09:54:39Z" msg="Creating new user" userID=184b0834-2860-445d-9d12-bc583e049d57 time="2026-09-17T09:54:39Z" msg="404 GET https://127.0.0.1:35075/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:54:39Z" msg="404 GET https://127.0.0.1:35075/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:54:39Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:35075/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:54:39Z" msg="Creating user object" authUID=c37bcf8d-fc82-4859-addd-046ed604502c numA numL userID=184b0834-2860-445d-9d12-bc583e049d57 time="2026-09-17T09:54:39Z" msg="200 OK: GET https://127.0.0.1:35075/core/v4/events/latest" /client userID=184b0834-2860-445d-9d12-bc583e049d57 time="2026-09-17T09:54:39Z" msg="Starting service Last EventID=BA==" time="2026-09-17T09:54:39Z" msg="200 OK: GET https://127.0.0.1:35075/core/v4/settings" /client userID=184b0834-2860-445d-9d12-bc583e049d57 time="2026-09-17T09:54:39Z" msg="Registering user client, ID:184b0834-2860-445d-9d12-bc583e049d57" time="2026-09-17T09:54:39Z" msg="Starting user identity service" numA time="2026-09-17T09:54:39Z" msg="Starting service main loop" time="2026-09-17T09:54:39Z" msg="Starting service main loop" time="2026-09-17T09:54:39Z" msg="Starting service main loop" time="2026-09-17T09:54:39Z" msg="200 OK: GET https://127.0.0.1:35075/core/v4/labels?T" /client userID=184b0834-2860-445d-9d12-bc583e049d57 time="2026-09-17T09:54:39Z" msg="200 OK: GET https://127.0.0.1:35075/core/v4/labels?T" /client userID=184b0834-2860-445d-9d12-bc583e049d57 time="2026-09-17T09:54:39Z" msg="200 OK: GET https://127.0.0.1:35075/core/v4/labels?T" /client userID=184b0834-2860-445d-9d12-bc583e049d57 time="2026-09-17T09:54:39Z" msg="Setting labels" labelIDs="[0 3 5 6 9 12 1 2 4 7 8 10]" time="2026-09-17T09:54:39Z" msg="Adding user to imap server" addrID=394e9c08-b7f4-437f-a7f4-4af9f8aee8e9 time="2026-09-17T09:54:39Z" msg="Creating new IMAP user" addrID=394e9c08-b7f4-437f-a7f4-4af9f8aee8e9 time="2026-09-17T09:54:39Z" msg="Setting gluon ID" addrID=394e9c08-b7f4-437f-a7f4-4af9f8aee8e9 gluonID=a0760f1c-46ef-4a5f-ac05-9a1674e6515d userID=184b0834-2860-445d-9d12-bc583e049d57 time="2026-09-17T09:54:39Z" msg="Received mailbox message count" gluonID=a0760f1c-46ef-4a5f-ac05-9a1674e6515d labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:54:39Z" msg="Created new IMAP user" addrID=394e9c08-b7f4-437f-a7f4-4af9f8aee8e9 gluonID=a0760f1c-46ef-4a5f-ac05-9a1674e6515d time="2026-09-17T09:54:39Z" msg="Validating Listener State" time="2026-09-17T09:54:39Z" time="2026-09-17T09:54:39Z" msg="Checking whether logged in user should re-sync. UserID:184b0834-2860-445d-9d12-bc583e049d57" userID=184b0834-2860-445d-9d12-bc583e049d57 And the user logs in with username "f82cfb4b-9b3a-49e0-8543-98182d8ca854" and password "password" # :1 -> *scenario time="2026-09-17T09:54:39Z" msg="Starting IMAP Service" time="2026-09-17T09:54:39Z" msg="Sync triggered" time="2026-09-17T09:54:39Z" msg="Beginning user sync" start="2026-09-17 09:54:39.145208112 +0000 UTC m=+567.637510408" And user "f82cfb4b-9b3a-49e0-8543-98182d8ca854" connects and authenticates IMAP client "2" # :1 -> *scenario time="2026-09-17T09:54:39Z" msg="Syncing labels" time="2026-09-17T09:54:39Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=a0760f1c-46ef-4a5f-ac05-9a1674e6515d And user "f82cfb4b-9b3a-49e0-8543-98182d8ca854" connects and authenticates SMTP client "2" # :1 -> *scenario time="2026-09-17T09:54:39Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=a0760f1c-46ef-4a5f-ac05-9a1674e6515d time="2026-09-17T09:54:39Z" msg="Mailbox created" /user remoteMailboxID=4 userID=a0760f1c-46ef-4a5f-ac05-9a1674e6515d time="2026-09-17T09:54:39Z" msg="Mailbox created" /user remoteMailboxID=7 userID=a0760f1c-46ef-4a5f-ac05-9a1674e6515d time="2026-09-17T09:54:39Z" msg="Mailbox created" /user remoteMailboxID=0 userID=a0760f1c-46ef-4a5f-ac05-9a1674e6515d time="2026-09-17T09:54:39Z" msg="Mailbox created" /user remoteMailboxID=12 userID=a0760f1c-46ef-4a5f-ac05-9a1674e6515d time="2026-09-17T09:54:39Z" msg="Mailbox created" /user remoteMailboxID=8 userID=a0760f1c-46ef-4a5f-ac05-9a1674e6515d time="2026-09-17T09:54:39Z" msg="Mailbox created" /user remoteMailboxID=10 userID=a0760f1c-46ef-4a5f-ac05-9a1674e6515d time="2026-09-17T09:54:39Z" msg="Mailbox created" /user remoteMailboxID=3 userID=a0760f1c-46ef-4a5f-ac05-9a1674e6515d time="2026-09-17T09:54:39Z" msg="Mailbox created" /user remoteMailboxID=5 userID=a0760f1c-46ef-4a5f-ac05-9a1674e6515d time="2026-09-17T09:54:39Z" msg="Mailbox created" /user remoteMailboxID=6 userID=a0760f1c-46ef-4a5f-ac05-9a1674e6515d time="2026-09-17T09:54:39Z" msg="Synced labels" time="2026-09-17T09:54:39Z" msg="200 OK: GET https://127.0.0.1:35075/mail/v4/messages/count" /client userID=184b0834-2860-445d-9d12-bc583e049d57 time="2026-09-17T09:54:39Z" msg="Syncing messages" time="2026-09-17T09:54:39Z" msg="Job started" time="2026-09-17T09:54:39Z" msg="200 OK: POST https://127.0.0.1:35075/mail/v4/messages" /client userID=184b0834-2860-445d-9d12-bc583e049d57 time="2026-09-17T09:54:39Z" msg="200 OK: POST https://127.0.0.1:35075/mail/v4/messages" /client userID=184b0834-2860-445d-9d12-bc583e049d57 time="2026-09-17T09:54:39Z" msg="Creating new child job" time="2026-09-17T09:54:39Z" msg="Job finished" time="2026-09-17T09:54:39Z" msg="200 OK: GET https://127.0.0.1:35075/mail/v4/messages/63562951-bf09-4f8f-be40-2d0b47e457f6" /client userID=184b0834-2860-445d-9d12-bc583e049d57 time="2026-09-17T09:54:39Z" msg="Child job finished" time="2026-09-17T09:54:39Z" msg="All child jobs completed" sync- time="2026-09-17T09:54:39Z" msg="Synced messages" time="2026-09-17T09:54:39Z" msg="Finished user sync" .535038ms time="2026-09-17T09:54:39Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:54:39Z" msg="Event loop reset" eventID="BA==" And user "f82cfb4b-9b3a-49e0-8543-98182d8ca854" finishes syncing # :1 -> *scenario Then IMAP client "2" eventually sees the following messages in "INBOX": # :1 -> *scenario | from | subject | message-id | reply-to | | a55213bf-7595-4262-9c4d-b5a9063f12f6@proton.local | Please Reply | | a55213bf-7595-4262-9c4d-b5a9063f12f6@proton.local | time="2026-09-17T09:54:39Z" msg="200 OK: GET https://127.0.0.1:35075/mail/v4/settings" /client userID=184b0834-2860-445d-9d12-bc583e049d57 time="2026-09-17T09:54:39Z" msg="200 OK: POST https://127.0.0.1:35075/mail/v4/messages" /client userID=184b0834-2860-445d-9d12-bc583e049d57 time="2026-09-17T09:54:39Z" msg="200 OK: POST https://127.0.0.1:35075/mail/v4/messages" /client userID=184b0834-2860-445d-9d12-bc583e049d57 time="2026-09-17T09:54:39Z" msg="200 OK: POST https://127.0.0.1:35075/mail/v4/messages" /client userID=184b0834-2860-445d-9d12-bc583e049d57 time="2026-09-17T09:54:39Z" msg="200 OK: GET https://127.0.0.1:35075/core/v4/keys?E%40proton.local" /client userID=184b0834-2860-445d-9d12-bc583e049d57 time="2026-09-17T09:54:39Z" msg="200 OK: GET https://127.0.0.1:35075/contacts/v4/emails?E%40proton.local&P&PageS" /client userID=184b0834-2860-445d-9d12-bc583e049d57 time="2026-09-17T09:54:39Z" msg="200 OK: POST https://127.0.0.1:35075/mail/v4/messages/22a8b1c4-41b8-41fe-bd8e-35fea2e981bb" /client userID=184b0834-2860-445d-9d12-bc583e049d57 When SMTP client "2" sends the following message from "f82cfb4b-9b3a-49e0-8543-98182d8ca854@proton.local" to "a55213bf-7595-4262-9c4d-b5a9063f12f6@proton.local": # :1 -> *scenario """ From: Internal Bridge <[user:user2]@[domain]> To: Bridge Test <[user:user1]@[domain]> Content-Type: text/plain Subject: FW - Please Reply In-Reply-To: Message-ID: Heya """ Then it succeeds # :1 -> *scenario time="2026-09-17T09:54:39Z" msg="200 OK: GET https://127.0.0.1:35075/mail/v4/settings" /client userID=184b0834-2860-445d-9d12-bc583e049d57 time="2026-09-17T09:54:39Z" msg="200 OK: POST https://127.0.0.1:35075/mail/v4/messages" /client userID=184b0834-2860-445d-9d12-bc583e049d57 time="2026-09-17T09:54:39Z" msg="200 OK: POST https://127.0.0.1:35075/mail/v4/messages" /client userID=184b0834-2860-445d-9d12-bc583e049d57 time="2026-09-17T09:54:39Z" msg="200 OK: POST https://127.0.0.1:35075/mail/v4/messages" /client userID=184b0834-2860-445d-9d12-bc583e049d57 time="2026-09-17T09:54:39Z" msg="200 OK: GET https://127.0.0.1:35075/core/v4/keys?E%40proton.local" /client userID=184b0834-2860-445d-9d12-bc583e049d57 time="2026-09-17T09:54:39Z" msg="200 OK: GET https://127.0.0.1:35075/contacts/v4/emails?E%40proton.local&P&PageS" /client userID=184b0834-2860-445d-9d12-bc583e049d57 time="2026-09-17T09:54:39Z" msg="200 OK: POST https://127.0.0.1:35075/mail/v4/messages/4e4e55a0-86fd-47c6-a818-d09f6376ec5d" /client userID=184b0834-2860-445d-9d12-bc583e049d57 When SMTP client "2" sends the following message from "f82cfb4b-9b3a-49e0-8543-98182d8ca854@proton.local" to "a55213bf-7595-4262-9c4d-b5a9063f12f6@proton.local": # :1 -> *scenario """ From: Internal Bridge <[user:user2]@[domain]> To: Bridge Test <[user:user1]@[domain]> Content-Type: text/plain Subject: FW - Please Reply Again In-Reply-To: Message-ID: Heya """ Then it succeeds # :1 -> *scenario time="2026-09-17T09:54:39Z" msg="200 OK: GET https://127.0.0.1:35075/core/v4/events/Aw==" /client userID=ba288eb5-a16a-4644-975e-4df8d170ab45 time="2026-09-17T09:54:39Z" msg="Received new API event" new="Event DA==: messages: , , " old="Aw==" time="2026-09-17T09:54:39Z" msg="Handling message created event" messageID=c8827d81-9f11-4aba-9d1a-9e92eabdddfc subject="******** (22f3b0e1)" time="2026-09-17T09:54:39Z" msg="200 OK: GET https://127.0.0.1:35075/mail/v4/messages/c8827d81-9f11-4aba-9d1a-9e92eabdddfc" /client userID=ba288eb5-a16a-4644-975e-4df8d170ab45 time="2026-09-17T09:54:39Z" msg="Handling message created event" messageID=43aba33b-4a48-45c7-aeb9-45c0ce286d20 subject="******** (5b996bb7)" time="2026-09-17T09:54:39Z" msg="200 OK: GET https://127.0.0.1:35075/mail/v4/messages/43aba33b-4a48-45c7-aeb9-45c0ce286d20" /client userID=ba288eb5-a16a-4644-975e-4df8d170ab45 time="2026-09-17T09:54:40Z" msg="200 OK: GET https://127.0.0.1:35075/core/v4/events/BA==" /client userID=184b0834-2860-445d-9d12-bc583e049d57 time="2026-09-17T09:54:40Z" msg="Received new API event" new="Event Cw==: messages: , , " old="BA==" time="2026-09-17T09:54:40Z" msg="Handling message created event" messageID=22a8b1c4-41b8-41fe-bd8e-35fea2e981bb subject="******** (22f3b0e1)" time="2026-09-17T09:54:40Z" msg="200 OK: GET https://127.0.0.1:35075/mail/v4/messages/22a8b1c4-41b8-41fe-bd8e-35fea2e981bb" /client userID=184b0834-2860-445d-9d12-bc583e049d57 time="2026-09-17T09:54:40Z" msg="Handling message updated event" messageID=63562951-bf09-4f8f-be40-2d0b47e457f6 subject="******** (d9b2d36e)" time="2026-09-17T09:54:40Z" msg="Handling message created event" messageID=4e4e55a0-86fd-47c6-a818-d09f6376ec5d subject="******** (5b996bb7)" time="2026-09-17T09:54:40Z" msg="200 OK: GET https://127.0.0.1:35075/mail/v4/messages/4e4e55a0-86fd-47c6-a818-d09f6376ec5d" /client userID=184b0834-2860-445d-9d12-bc583e049d57 time="2026-09-17T09:54:40Z" msg="Handling draft or sent updated event" isD messageID=22a8b1c4-41b8-41fe-bd8e-35fea2e981bb subject="******** (22f3b0e1)" time="2026-09-17T09:54:40Z" msg="200 OK: GET https://127.0.0.1:35075/mail/v4/messages/22a8b1c4-41b8-41fe-bd8e-35fea2e981bb" /client userID=184b0834-2860-445d-9d12-bc583e049d57 time="2026-09-17T09:54:40Z" msg="Handling draft or sent updated event" isD messageID=4e4e55a0-86fd-47c6-a818-d09f6376ec5d subject="******** (5b996bb7)" time="2026-09-17T09:54:40Z" msg="200 OK: GET https://127.0.0.1:35075/mail/v4/messages/4e4e55a0-86fd-47c6-a818-d09f6376ec5d" /client userID=184b0834-2860-445d-9d12-bc583e049d57 Then IMAP client "2" eventually sees the following messages in "Sent": # :1 -> *scenario | from | to | subject | in-reply-to | references | | f82cfb4b-9b3a-49e0-8543-98182d8ca854@proton.local | a55213bf-7595-4262-9c4d-b5a9063f12f6@proton.local | FW - Please Reply | | | | f82cfb4b-9b3a-49e0-8543-98182d8ca854@proton.local | a55213bf-7595-4262-9c4d-b5a9063f12f6@proton.local | FW - Please Reply Again | | | time="2026-09-17T09:54:40Z" msg="Frontend service stopped" time="2026-09-17T09:54:40Z" msg="Frontend client stopped" time="2026-09-17T09:54:40Z" msg="Closing bridge" time="2026-09-17T09:54:40Z" msg="Stopping service" time="2026-09-17T09:54:40Z" msg="Closing user" userID=ba288eb5-a16a-4644-975e-4df8d170ab45 time="2026-09-17T09:54:40Z" msg="De-registering user client, ID:ba288eb5-a16a-4644-975e-4df8d170ab45" time="2026-09-17T09:54:40Z" msg="Exiting IMAP Service" time="2026-09-17T09:54:40Z" msg="Exiting service main loop" time="2026-09-17T09:54:40Z" msg="Exiting service main loop" time="2026-09-17T09:54:40Z" msg="Exiting Service" time="2026-09-17T09:54:40Z" msg="Exiting service main loop" time="2026-09-17T09:54:40Z" msg="Exiting service" time="2026-09-17T09:54:40Z" msg="Closing user" userID=184b0834-2860-445d-9d12-bc583e049d57 time="2026-09-17T09:54:40Z" msg="De-registering user client, ID:184b0834-2860-445d-9d12-bc583e049d57" time="2026-09-17T09:54:40Z" msg="Exiting IMAP Service" time="2026-09-17T09:54:40Z" msg="Exiting service main loop" time="2026-09-17T09:54:40Z" msg="Exiting service main loop" time="2026-09-17T09:54:40Z" msg="Exiting Service" time="2026-09-17T09:54:40Z" msg="Exiting service main loop" time="2026-09-17T09:54:40Z" msg="Exiting service" time="2026-09-17T09:54:40Z" msg="Closing IMAP Listener" time="2026-09-17T09:54:40Z" msg="Closing IMAP server" time="2026-09-17T09:54:40Z" msg="Closing SMTP Listener" time="2026-09-17T09:54:40Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:54:40Z" msg="Closing SMTP server" time="2026-09-17T09:54:40Z" msg="Closing service" And IMAP client "1" eventually sees the following messages in "INBOX": # :1 -> *scenario | from | subject | in-reply-to | references | | f82cfb4b-9b3a-49e0-8543-98182d8ca854@proton.local | FW - Please Reply | | | | f82cfb4b-9b3a-49e0-8543-98182d8ca854@proton.local | FW - Please Reply Again | | | time="2026-09-17T09:54:40Z" msg="User '06ae0e28-bc38-432d-a858-ed60531c7230' created with " /server/backend time="2026-09-17T09:54:41Z" msg="User '261c5671-80f5-4980-84bf-a5fe93911c87' created with " /server/backend time="2026-09-17T09:54:41Z" msg="Starting bridge" time="2026-09-17T09:54:41Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/239/config3728646968/grpcFocusServerConfig.json /service time="2026-09-17T09:54:41Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/239/cache3338615753/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:54:41Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/239/cache3338615753/notifications/notification_cache: no such file or directory" time="2026-09-17T09:54:41Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/239/data463139029/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/239/data463139029/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:54:41Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:54:41Z" msg="Starting IMAP server" time="2026-09-17T09:54:41Z" msg="Starting SMTP server" time="2026-09-17T09:54:41Z" msg="Starting service" time="2026-09-17T09:54:41Z" msg="Starting service" time="2026-09-17T09:54:41Z" msg="Starting frontend service" time="2026-09-17T09:54:41Z" msg="Checking for updates" time="2026-09-17T09:54:41Z" msg="Starting poll service" time="2026-09-17T09:54:41Z" msg="Starting receiver service" time="2026-09-17T09:54:41Z" msg="Loading users" /user time="2026-09-17T09:54:41Z" msg="Finished loading users" /user time="2026-09-17T09:54:41Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/239/config3728646968/grpcServerConfig.json time="2026-09-17T09:54:41Z" msg="gRPC server listening on /tmp/bridge4151" time="2026-09-17T09:54:41Z" msg="Frontend service started" time="2026-09-17T09:54:41Z" msg="Starting frontend client" time="2026-09-17T09:54:41Z" msg="Not monitoring parent PID" time="2026-09-17T09:54:41Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:54:41Z" msg="Frontend client started" time="2026-09-17T09:54:41Z" msg="Performing full user login" /user username="******** (59d92fd4)" time="2026-09-17T09:54:41Z" msg="Authorizing user for login" /user username="******** (59d92fd4)" time="2026-09-17T09:54:41Z" msg="200 OK: GET https://127.0.0.1:39381/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:54:41Z" msg="200 OK: POST https://127.0.0.1:39381/auth/v4/info" /manager time="2026-09-17T09:54:41Z" msg="200 OK: POST https://127.0.0.1:39381/auth/v4" /manager time="2026-09-17T09:54:41Z" msg="Logging in authorized user" /user userID=4ae1b8db-4542-46e3-aedc-3c8c04f4e5d2 time="2026-09-17T09:54:42Z" msg="Adding vault user" userID=4ae1b8db-4542-46e3-aedc-3c8c04f4e5d2 time="2026-09-17T09:54:42Z" msg="Creating new user" userID=4ae1b8db-4542-46e3-aedc-3c8c04f4e5d2 time="2026-09-17T09:54:42Z" msg="404 GET https://127.0.0.1:39381/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:54:42Z" msg="404 GET https://127.0.0.1:39381/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:54:42Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:39381/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:54:42Z" msg="Creating user object" authUID=a9c06c5f-98f6-4c55-baff-5e0ca07ef4c2 numA numL userID=4ae1b8db-4542-46e3-aedc-3c8c04f4e5d2 time="2026-09-17T09:54:42Z" msg="200 OK: GET https://127.0.0.1:39381/core/v4/events/latest" /client userID=4ae1b8db-4542-46e3-aedc-3c8c04f4e5d2 time="2026-09-17T09:54:42Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:54:42Z" msg="200 OK: GET https://127.0.0.1:39381/core/v4/settings" /client userID=4ae1b8db-4542-46e3-aedc-3c8c04f4e5d2 time="2026-09-17T09:54:42Z" msg="Registering user client, ID:4ae1b8db-4542-46e3-aedc-3c8c04f4e5d2" time="2026-09-17T09:54:42Z" msg="Starting service main loop" time="2026-09-17T09:54:42Z" msg="Starting user identity service" numA time="2026-09-17T09:54:42Z" msg="Starting service main loop" time="2026-09-17T09:54:42Z" msg="Starting service main loop" time="2026-09-17T09:54:42Z" msg="200 OK: GET https://127.0.0.1:39381/core/v4/labels?T" /client userID=4ae1b8db-4542-46e3-aedc-3c8c04f4e5d2 time="2026-09-17T09:54:42Z" msg="200 OK: GET https://127.0.0.1:39381/core/v4/labels?T" /client userID=4ae1b8db-4542-46e3-aedc-3c8c04f4e5d2 time="2026-09-17T09:54:42Z" msg="200 OK: GET https://127.0.0.1:39381/core/v4/labels?T" /client userID=4ae1b8db-4542-46e3-aedc-3c8c04f4e5d2 time="2026-09-17T09:54:42Z" msg="Setting labels" labelIDs="[2 5 8 10 0 3 4 6 7 9 12 1]" time="2026-09-17T09:54:42Z" msg="Adding user to imap server" addrID=b926b363-1ced-44b9-aaf3-dd7fcf7a2a91 time="2026-09-17T09:54:42Z" msg="Creating new IMAP user" addrID=b926b363-1ced-44b9-aaf3-dd7fcf7a2a91 time="2026-09-17T09:54:42Z" msg="Setting gluon ID" addrID=b926b363-1ced-44b9-aaf3-dd7fcf7a2a91 gluonID=05a98c4f-46a9-4fc2-9fc5-44304aa9878c userID=4ae1b8db-4542-46e3-aedc-3c8c04f4e5d2 time="2026-09-17T09:54:42Z" msg="Received mailbox message count" gluonID=05a98c4f-46a9-4fc2-9fc5-44304aa9878c labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:54:42Z" msg="Created new IMAP user" addrID=b926b363-1ced-44b9-aaf3-dd7fcf7a2a91 gluonID=05a98c4f-46a9-4fc2-9fc5-44304aa9878c time="2026-09-17T09:54:42Z" msg="Validating Listener State" time="2026-09-17T09:54:42Z" time="2026-09-17T09:54:42Z" msg="Checking whether logged in user should re-sync. UserID:4ae1b8db-4542-46e3-aedc-3c8c04f4e5d2" userID=4ae1b8db-4542-46e3-aedc-3c8c04f4e5d2 time="2026-09-17T09:54:42Z" msg="Starting IMAP Service" time="2026-09-17T09:54:42Z" msg="Sync triggered" time="2026-09-17T09:54:42Z" msg="Beginning user sync" start="2026-09-17 09:54:42.028542185 +0000 UTC m=+570.520844481" time="2026-09-17T09:54:42Z" msg="Syncing labels" time="2026-09-17T09:54:42Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=05a98c4f-46a9-4fc2-9fc5-44304aa9878c time="2026-09-17T09:54:42Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=05a98c4f-46a9-4fc2-9fc5-44304aa9878c time="2026-09-17T09:54:42Z" msg="Mailbox created" /user remoteMailboxID=3 userID=05a98c4f-46a9-4fc2-9fc5-44304aa9878c time="2026-09-17T09:54:42Z" msg="Mailbox created" /user remoteMailboxID=6 userID=05a98c4f-46a9-4fc2-9fc5-44304aa9878c time="2026-09-17T09:54:42Z" msg="Mailbox created" /user remoteMailboxID=7 userID=05a98c4f-46a9-4fc2-9fc5-44304aa9878c time="2026-09-17T09:54:42Z" msg="Mailbox created" /user remoteMailboxID=5 userID=05a98c4f-46a9-4fc2-9fc5-44304aa9878c time="2026-09-17T09:54:42Z" msg="Mailbox created" /user remoteMailboxID=8 userID=05a98c4f-46a9-4fc2-9fc5-44304aa9878c time="2026-09-17T09:54:42Z" msg="Mailbox created" /user remoteMailboxID=10 userID=05a98c4f-46a9-4fc2-9fc5-44304aa9878c time="2026-09-17T09:54:42Z" msg="Mailbox created" /user remoteMailboxID=4 userID=05a98c4f-46a9-4fc2-9fc5-44304aa9878c time="2026-09-17T09:54:42Z" msg="Mailbox created" /user remoteMailboxID=12 userID=05a98c4f-46a9-4fc2-9fc5-44304aa9878c time="2026-09-17T09:54:42Z" msg="Mailbox created" /user remoteMailboxID=0 userID=05a98c4f-46a9-4fc2-9fc5-44304aa9878c time="2026-09-17T09:54:42Z" msg="Synced labels" time="2026-09-17T09:54:42Z" msg="200 OK: GET https://127.0.0.1:39381/mail/v4/messages/count" /client userID=4ae1b8db-4542-46e3-aedc-3c8c04f4e5d2 time="2026-09-17T09:54:42Z" msg="Syncing messages" time="2026-09-17T09:54:42Z" msg="Job started" time="2026-09-17T09:54:42Z" msg="200 OK: POST https://127.0.0.1:39381/mail/v4/messages" /client userID=4ae1b8db-4542-46e3-aedc-3c8c04f4e5d2 time="2026-09-17T09:54:42Z" msg="Job finished" time="2026-09-17T09:54:42Z" msg="All child jobs completed" sync- time="2026-09-17T09:54:42Z" msg="Synced messages" time="2026-09-17T09:54:42Z" msg="Finished user sync" .003316ms time="2026-09-17T09:54:42Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:54:42Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:54:42Z" msg="Sending observability data." time="2026-09-17T09:54:42Z" msg="200 OK: GET https://127.0.0.1:39381/mail/v4/settings" /client userID=4ae1b8db-4542-46e3-aedc-3c8c04f4e5d2 time="2026-09-17T09:54:42Z" msg="200 OK: POST https://127.0.0.1:39381/data/v1/metrics" /client userID=4ae1b8db-4542-46e3-aedc-3c8c04f4e5d2 time="2026-09-17T09:54:42Z" msg="Successfully sent observability data." time="2026-09-17T09:54:42Z" msg="200 OK: POST https://127.0.0.1:39381/mail/v4/messages" /client userID=4ae1b8db-4542-46e3-aedc-3c8c04f4e5d2 time="2026-09-17T09:54:42Z" msg="200 OK: GET https://127.0.0.1:39381/core/v4/keys?E%40proton.local" /client userID=4ae1b8db-4542-46e3-aedc-3c8c04f4e5d2 time="2026-09-17T09:54:42Z" msg="200 OK: GET https://127.0.0.1:39381/contacts/v4/emails?E%40proton.local&P&PageS" /client userID=4ae1b8db-4542-46e3-aedc-3c8c04f4e5d2 time="2026-09-17T09:54:42Z" msg="200 OK: POST https://127.0.0.1:39381/mail/v4/messages/19d92164-e552-447f-b1f7-9f803cb8a7de" /client userID=4ae1b8db-4542-46e3-aedc-3c8c04f4e5d2 time="2026-09-17T09:54:42Z" msg="Scheduling observability data sending" Scenario: Reply with In-Reply-To and X-Forwarded-Message-Id sets forwarded flag # features/smtp/send/send_reply.feature:277 When SMTP client "1" sends the following message from "06ae0e28-bc38-432d-a858-ed60531c7230@proton.local" to "261c5671-80f5-4980-84bf-a5fe93911c87@proton.local": # :1 -> *scenario """ From: Bridge Test <[user:user1]@[domain]> To: Internal Bridge <[user:user2]@[domain]> Subject: Please Reply Message-ID: hello """ Then it succeeds # :1 -> *scenario time="2026-09-17T09:54:42Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 2} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:54:43Z" msg="200 OK: GET https://127.0.0.1:39381/core/v4/events/AA==" /client userID=4ae1b8db-4542-46e3-aedc-3c8c04f4e5d2 time="2026-09-17T09:54:43Z" msg="Received new API event" new="Event Aw==: messages: , , " old="AA==" time="2026-09-17T09:54:43Z" msg="Handling message created event" messageID=19d92164-e552-447f-b1f7-9f803cb8a7de subject="******** (d9b2d36e)" time="2026-09-17T09:54:43Z" msg="200 OK: GET https://127.0.0.1:39381/mail/v4/messages/19d92164-e552-447f-b1f7-9f803cb8a7de" /client userID=4ae1b8db-4542-46e3-aedc-3c8c04f4e5d2 time="2026-09-17T09:54:43Z" msg="Handling draft or sent updated event" isD messageID=19d92164-e552-447f-b1f7-9f803cb8a7de subject="******** (d9b2d36e)" time="2026-09-17T09:54:43Z" msg="200 OK: GET https://127.0.0.1:39381/mail/v4/messages/19d92164-e552-447f-b1f7-9f803cb8a7de" /client userID=4ae1b8db-4542-46e3-aedc-3c8c04f4e5d2 Then IMAP client "1" eventually sees the following messages in "Sent": # :1 -> *scenario | from | to | subject | message-id | | 06ae0e28-bc38-432d-a858-ed60531c7230@proton.local | 261c5671-80f5-4980-84bf-a5fe93911c87@proton.local | Please Reply | | time="2026-09-17T09:54:43Z" msg="Performing full user login" /user username="******** (44208779)" time="2026-09-17T09:54:43Z" msg="Authorizing user for login" /user username="******** (44208779)" time="2026-09-17T09:54:43Z" msg="200 OK: POST https://127.0.0.1:39381/auth/v4/info" /manager time="2026-09-17T09:54:43Z" msg="200 OK: POST https://127.0.0.1:39381/auth/v4" /manager time="2026-09-17T09:54:43Z" msg="Logging in authorized user" /user userID=cbe17a29-81d3-433e-b5a5-9d2b815482ba time="2026-09-17T09:54:43Z" msg="Adding vault user" userID=cbe17a29-81d3-433e-b5a5-9d2b815482ba time="2026-09-17T09:54:43Z" msg="Creating new user" userID=cbe17a29-81d3-433e-b5a5-9d2b815482ba time="2026-09-17T09:54:43Z" msg="404 GET https://127.0.0.1:39381/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:54:43Z" msg="404 GET https://127.0.0.1:39381/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:54:43Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:39381/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:54:43Z" msg="Creating user object" authUID=d600fe1b-4d70-45cd-aba0-27c272cb49ae numA numL userID=cbe17a29-81d3-433e-b5a5-9d2b815482ba time="2026-09-17T09:54:43Z" msg="200 OK: GET https://127.0.0.1:39381/core/v4/events/latest" /client userID=cbe17a29-81d3-433e-b5a5-9d2b815482ba time="2026-09-17T09:54:43Z" msg="Starting service Last EventID=BA==" time="2026-09-17T09:54:43Z" msg="200 OK: GET https://127.0.0.1:39381/core/v4/settings" /client userID=cbe17a29-81d3-433e-b5a5-9d2b815482ba time="2026-09-17T09:54:43Z" msg="Registering user client, ID:cbe17a29-81d3-433e-b5a5-9d2b815482ba" time="2026-09-17T09:54:43Z" msg="Starting service main loop" time="2026-09-17T09:54:43Z" msg="Starting service main loop" time="2026-09-17T09:54:43Z" msg="Starting user identity service" numA time="2026-09-17T09:54:43Z" msg="Starting service main loop" time="2026-09-17T09:54:43Z" msg="200 OK: GET https://127.0.0.1:39381/core/v4/labels?T" /client userID=cbe17a29-81d3-433e-b5a5-9d2b815482ba time="2026-09-17T09:54:43Z" msg="200 OK: GET https://127.0.0.1:39381/core/v4/labels?T" /client userID=cbe17a29-81d3-433e-b5a5-9d2b815482ba time="2026-09-17T09:54:43Z" msg="200 OK: GET https://127.0.0.1:39381/core/v4/labels?T" /client userID=cbe17a29-81d3-433e-b5a5-9d2b815482ba time="2026-09-17T09:54:43Z" msg="Setting labels" labelIDs="[5 6 7 8 9 10 0 1 2 12 3 4]" time="2026-09-17T09:54:43Z" msg="Adding user to imap server" addrID=cef3fb82-7226-46bc-aa8c-5f314314e758 time="2026-09-17T09:54:43Z" msg="Creating new IMAP user" addrID=cef3fb82-7226-46bc-aa8c-5f314314e758 time="2026-09-17T09:54:43Z" msg="Setting gluon ID" addrID=cef3fb82-7226-46bc-aa8c-5f314314e758 gluonID=cf113a3b-2632-41b3-b62b-770de54b3e7f userID=cbe17a29-81d3-433e-b5a5-9d2b815482ba time="2026-09-17T09:54:43Z" msg="Received mailbox message count" gluonID=cf113a3b-2632-41b3-b62b-770de54b3e7f labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:54:43Z" msg="Created new IMAP user" addrID=cef3fb82-7226-46bc-aa8c-5f314314e758 gluonID=cf113a3b-2632-41b3-b62b-770de54b3e7f time="2026-09-17T09:54:43Z" msg="Validating Listener State" time="2026-09-17T09:54:43Z" time="2026-09-17T09:54:43Z" msg="Checking whether logged in user should re-sync. UserID:cbe17a29-81d3-433e-b5a5-9d2b815482ba" userID=cbe17a29-81d3-433e-b5a5-9d2b815482ba time="2026-09-17T09:54:43Z" msg="Starting IMAP Service" And the user logs in with username "261c5671-80f5-4980-84bf-a5fe93911c87" and password "password" # :1 -> *scenario time="2026-09-17T09:54:43Z" msg="Sync triggered" time="2026-09-17T09:54:43Z" msg="Beginning user sync" start="2026-09-17 09:54:43.49204294 +0000 UTC m=+571.984345356" time="2026-09-17T09:54:43Z" msg="Syncing labels" And user "261c5671-80f5-4980-84bf-a5fe93911c87" connects and authenticates IMAP client "2" # :1 -> *scenario And user "261c5671-80f5-4980-84bf-a5fe93911c87" connects and authenticates SMTP client "2" # :1 -> *scenario time="2026-09-17T09:54:43Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=cf113a3b-2632-41b3-b62b-770de54b3e7f time="2026-09-17T09:54:43Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=cf113a3b-2632-41b3-b62b-770de54b3e7f time="2026-09-17T09:54:43Z" msg="Mailbox created" /user remoteMailboxID=0 userID=cf113a3b-2632-41b3-b62b-770de54b3e7f time="2026-09-17T09:54:43Z" msg="Mailbox created" /user remoteMailboxID=3 userID=cf113a3b-2632-41b3-b62b-770de54b3e7f time="2026-09-17T09:54:43Z" msg="Mailbox created" /user remoteMailboxID=6 userID=cf113a3b-2632-41b3-b62b-770de54b3e7f time="2026-09-17T09:54:43Z" msg="Mailbox created" /user remoteMailboxID=12 userID=cf113a3b-2632-41b3-b62b-770de54b3e7f time="2026-09-17T09:54:43Z" msg="Mailbox created" /user remoteMailboxID=4 userID=cf113a3b-2632-41b3-b62b-770de54b3e7f time="2026-09-17T09:54:43Z" msg="Mailbox created" /user remoteMailboxID=5 userID=cf113a3b-2632-41b3-b62b-770de54b3e7f time="2026-09-17T09:54:43Z" msg="Mailbox created" /user remoteMailboxID=7 userID=cf113a3b-2632-41b3-b62b-770de54b3e7f time="2026-09-17T09:54:43Z" msg="Mailbox created" /user remoteMailboxID=8 userID=cf113a3b-2632-41b3-b62b-770de54b3e7f time="2026-09-17T09:54:43Z" msg="Mailbox created" /user remoteMailboxID=10 userID=cf113a3b-2632-41b3-b62b-770de54b3e7f time="2026-09-17T09:54:43Z" msg="Synced labels" time="2026-09-17T09:54:43Z" msg="200 OK: GET https://127.0.0.1:39381/mail/v4/messages/count" /client userID=cbe17a29-81d3-433e-b5a5-9d2b815482ba time="2026-09-17T09:54:43Z" msg="Syncing messages" time="2026-09-17T09:54:43Z" msg="Job started" time="2026-09-17T09:54:43Z" msg="200 OK: POST https://127.0.0.1:39381/mail/v4/messages" /client userID=cbe17a29-81d3-433e-b5a5-9d2b815482ba time="2026-09-17T09:54:43Z" msg="200 OK: POST https://127.0.0.1:39381/mail/v4/messages" /client userID=cbe17a29-81d3-433e-b5a5-9d2b815482ba time="2026-09-17T09:54:43Z" msg="Creating new child job" time="2026-09-17T09:54:43Z" msg="Job finished" time="2026-09-17T09:54:43Z" msg="200 OK: GET https://127.0.0.1:39381/mail/v4/messages/87f6f84c-fc19-4ba0-8669-813c1eb06bdd" /client userID=cbe17a29-81d3-433e-b5a5-9d2b815482ba time="2026-09-17T09:54:43Z" msg="Child job finished" time="2026-09-17T09:54:43Z" msg="All child jobs completed" sync- time="2026-09-17T09:54:43Z" msg="Synced messages" time="2026-09-17T09:54:43Z" msg="Finished user sync" .570768ms time="2026-09-17T09:54:43Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:54:43Z" msg="Event loop reset" eventID="BA==" And user "261c5671-80f5-4980-84bf-a5fe93911c87" finishes syncing # :1 -> *scenario Then IMAP client "2" eventually sees the following messages in "INBOX": # :1 -> *scenario | from | subject | message-id | reply-to | | 06ae0e28-bc38-432d-a858-ed60531c7230@proton.local | Please Reply | | 06ae0e28-bc38-432d-a858-ed60531c7230@proton.local | time="2026-09-17T09:54:43Z" msg="200 OK: GET https://127.0.0.1:39381/mail/v4/settings" /client userID=cbe17a29-81d3-433e-b5a5-9d2b815482ba time="2026-09-17T09:54:43Z" msg="200 OK: POST https://127.0.0.1:39381/mail/v4/messages" /client userID=cbe17a29-81d3-433e-b5a5-9d2b815482ba time="2026-09-17T09:54:43Z" msg="200 OK: POST https://127.0.0.1:39381/mail/v4/messages" /client userID=cbe17a29-81d3-433e-b5a5-9d2b815482ba time="2026-09-17T09:54:43Z" msg="200 OK: POST https://127.0.0.1:39381/mail/v4/messages" /client userID=cbe17a29-81d3-433e-b5a5-9d2b815482ba time="2026-09-17T09:54:43Z" msg="200 OK: GET https://127.0.0.1:39381/core/v4/keys?E%40proton.local" /client userID=cbe17a29-81d3-433e-b5a5-9d2b815482ba time="2026-09-17T09:54:43Z" msg="200 OK: GET https://127.0.0.1:39381/contacts/v4/emails?E%40proton.local&P&PageS" /client userID=cbe17a29-81d3-433e-b5a5-9d2b815482ba time="2026-09-17T09:54:43Z" msg="200 OK: POST https://127.0.0.1:39381/mail/v4/messages/b9b3d320-9535-41b8-968a-d956035670e8" /client userID=cbe17a29-81d3-433e-b5a5-9d2b815482ba When SMTP client "2" sends the following message from "261c5671-80f5-4980-84bf-a5fe93911c87@proton.local" to "06ae0e28-bc38-432d-a858-ed60531c7230@proton.local": # :1 -> *scenario """ From: Internal Bridge <[user:user2]@[domain]> To: Bridge Test <[user:user1]@[domain]> Content-Type: text/plain Subject: FW - Please Reply In-Reply-To: Message-ID: X-Forwarded-Message-Id: Heya """ Then it succeeds # :1 -> *scenario time="2026-09-17T09:54:44Z" msg="200 OK: GET https://127.0.0.1:39381/core/v4/events/Aw==" /client userID=4ae1b8db-4542-46e3-aedc-3c8c04f4e5d2 time="2026-09-17T09:54:44Z" msg="Received new API event" new="Event CA==: messages: , , " old="Aw==" time="2026-09-17T09:54:44Z" msg="Handling message created event" messageID=28ddeb0c-8f00-40e3-b0ff-835b71efbcc9 subject="******** (22f3b0e1)" time="2026-09-17T09:54:44Z" msg="200 OK: GET https://127.0.0.1:39381/mail/v4/messages/28ddeb0c-8f00-40e3-b0ff-835b71efbcc9" /client userID=4ae1b8db-4542-46e3-aedc-3c8c04f4e5d2 time="2026-09-17T09:54:44Z" msg="200 OK: GET https://127.0.0.1:39381/core/v4/events/BA==" /client userID=cbe17a29-81d3-433e-b5a5-9d2b815482ba time="2026-09-17T09:54:44Z" msg="Received new API event" new="Event Bw==: messages: , , " old="BA==" time="2026-09-17T09:54:44Z" msg="Handling message created event" messageID=b9b3d320-9535-41b8-968a-d956035670e8 subject="******** (22f3b0e1)" time="2026-09-17T09:54:44Z" msg="200 OK: GET https://127.0.0.1:39381/mail/v4/messages/b9b3d320-9535-41b8-968a-d956035670e8" /client userID=cbe17a29-81d3-433e-b5a5-9d2b815482ba time="2026-09-17T09:54:44Z" msg="Handling message updated event" messageID=87f6f84c-fc19-4ba0-8669-813c1eb06bdd subject="******** (d9b2d36e)" time="2026-09-17T09:54:44Z" msg="Handling draft or sent updated event" isD messageID=b9b3d320-9535-41b8-968a-d956035670e8 subject="******** (22f3b0e1)" time="2026-09-17T09:54:44Z" msg="200 OK: GET https://127.0.0.1:39381/mail/v4/messages/b9b3d320-9535-41b8-968a-d956035670e8" /client userID=cbe17a29-81d3-433e-b5a5-9d2b815482ba Then IMAP client "2" eventually sees the following messages in "Sent": # :1 -> *scenario | from | to | subject | in-reply-to | references | | 261c5671-80f5-4980-84bf-a5fe93911c87@proton.local | 06ae0e28-bc38-432d-a858-ed60531c7230@proton.local | FW - Please Reply | | | When IMAP client "2" selects "INBOX" # :1 -> *scenario And it succeeds # :1 -> *scenario Then IMAP client "2" eventually sees that message at row 1 has the flag "forwarded" # :1 -> *scenario And it succeeds # :1 -> *scenario Then IMAP client "2" eventually sees that message at row 1 does not have the flag "\Answered" # :1 -> *scenario And it succeeds # :1 -> *scenario time="2026-09-17T09:54:44Z" msg="Frontend service stopped" time="2026-09-17T09:54:44Z" msg="Frontend client stopped" time="2026-09-17T09:54:44Z" msg="Closing bridge" time="2026-09-17T09:54:44Z" msg="Stopping service" time="2026-09-17T09:54:44Z" msg="Closing user" userID=4ae1b8db-4542-46e3-aedc-3c8c04f4e5d2 time="2026-09-17T09:54:44Z" msg="De-registering user client, ID:4ae1b8db-4542-46e3-aedc-3c8c04f4e5d2" time="2026-09-17T09:54:44Z" msg="Exiting IMAP Service" time="2026-09-17T09:54:44Z" msg="Exiting service main loop" time="2026-09-17T09:54:44Z" msg="Exiting service main loop" time="2026-09-17T09:54:44Z" msg="Exiting Service" time="2026-09-17T09:54:44Z" msg="Exiting service main loop" time="2026-09-17T09:54:44Z" msg="Exiting service" time="2026-09-17T09:54:44Z" msg="Closing user" userID=cbe17a29-81d3-433e-b5a5-9d2b815482ba time="2026-09-17T09:54:44Z" msg="De-registering user client, ID:cbe17a29-81d3-433e-b5a5-9d2b815482ba" time="2026-09-17T09:54:44Z" msg="Exiting IMAP Service" time="2026-09-17T09:54:44Z" msg="Exiting service main loop" time="2026-09-17T09:54:44Z" msg="Exiting service main loop" time="2026-09-17T09:54:44Z" msg="Exiting Service" time="2026-09-17T09:54:44Z" msg="Exiting service main loop" time="2026-09-17T09:54:44Z" msg="Exiting service" time="2026-09-17T09:54:44Z" msg="Closing IMAP Listener" time="2026-09-17T09:54:44Z" msg="Closing IMAP server" time="2026-09-17T09:54:44Z" msg="Closing SMTP Listener" time="2026-09-17T09:54:44Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:54:44Z" msg="Closing SMTP server" time="2026-09-17T09:54:44Z" msg="Closing service" And IMAP client "1" eventually sees the following messages in "INBOX": # :1 -> *scenario | from | subject | in-reply-to | references | | 261c5671-80f5-4980-84bf-a5fe93911c87@proton.local | FW - Please Reply | | | time="2026-09-17T09:54:45Z" msg="User 'ebd05c4f-52fe-401d-a91b-c6b328a98fdd' created with " /server/backend time="2026-09-17T09:54:45Z" msg="User '4e8e657f-ade9-4f2a-9d06-858874e284ea' created with " /server/backend time="2026-09-17T09:54:45Z" msg="Starting bridge" time="2026-09-17T09:54:45Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/240/config2248635314/grpcFocusServerConfig.json /service time="2026-09-17T09:54:46Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/240/cache3832300883/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:54:46Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/240/cache3832300883/notifications/notification_cache: no such file or directory" time="2026-09-17T09:54:46Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/240/data1069384013/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/240/data1069384013/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:54:46Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:54:46Z" msg="Starting IMAP server" time="2026-09-17T09:54:46Z" msg="Starting SMTP server" time="2026-09-17T09:54:46Z" msg="Starting service" time="2026-09-17T09:54:46Z" msg="Starting service" time="2026-09-17T09:54:46Z" msg="Starting receiver service" time="2026-09-17T09:54:46Z" msg="Starting poll service" time="2026-09-17T09:54:46Z" msg="Loading users" /user time="2026-09-17T09:54:46Z" msg="Starting frontend service" time="2026-09-17T09:54:46Z" msg="Finished loading users" /user time="2026-09-17T09:54:46Z" msg="Checking for updates" time="2026-09-17T09:54:46Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/240/config2248635314/grpcServerConfig.json time="2026-09-17T09:54:46Z" msg="gRPC server listening on /tmp/bridge8080" time="2026-09-17T09:54:46Z" msg="Frontend service started" time="2026-09-17T09:54:46Z" msg="Starting frontend client" time="2026-09-17T09:54:46Z" msg="Not monitoring parent PID" time="2026-09-17T09:54:46Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:54:46Z" msg="200 OK: GET https://127.0.0.1:32813/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:54:46Z" msg="Frontend client started" time="2026-09-17T09:54:46Z" msg="Performing full user login" /user username="******** (2a294b1e)" time="2026-09-17T09:54:46Z" msg="Authorizing user for login" /user username="******** (2a294b1e)" time="2026-09-17T09:54:46Z" msg="200 OK: POST https://127.0.0.1:32813/auth/v4/info" /manager time="2026-09-17T09:54:46Z" msg="200 OK: POST https://127.0.0.1:32813/auth/v4" /manager time="2026-09-17T09:54:46Z" msg="Logging in authorized user" /user userID=20cbf74b-05e2-4424-9cc4-84a1dab345fb time="2026-09-17T09:54:46Z" msg="Adding vault user" userID=20cbf74b-05e2-4424-9cc4-84a1dab345fb time="2026-09-17T09:54:46Z" msg="Creating new user" userID=20cbf74b-05e2-4424-9cc4-84a1dab345fb time="2026-09-17T09:54:46Z" msg="404 GET https://127.0.0.1:32813/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:54:46Z" msg="404 GET https://127.0.0.1:32813/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:54:46Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:32813/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:54:46Z" msg="Creating user object" authUID=e83b9fcd-24a6-4af8-918b-55de1a6816f7 numA numL userID=20cbf74b-05e2-4424-9cc4-84a1dab345fb time="2026-09-17T09:54:46Z" msg="200 OK: GET https://127.0.0.1:32813/core/v4/events/latest" /client userID=20cbf74b-05e2-4424-9cc4-84a1dab345fb time="2026-09-17T09:54:46Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:54:46Z" msg="200 OK: GET https://127.0.0.1:32813/core/v4/settings" /client userID=20cbf74b-05e2-4424-9cc4-84a1dab345fb time="2026-09-17T09:54:46Z" msg="Registering user client, ID:20cbf74b-05e2-4424-9cc4-84a1dab345fb" time="2026-09-17T09:54:46Z" msg="Starting service main loop" time="2026-09-17T09:54:46Z" msg="Starting user identity service" numA time="2026-09-17T09:54:46Z" msg="Starting service main loop" time="2026-09-17T09:54:46Z" msg="Starting service main loop" time="2026-09-17T09:54:46Z" msg="200 OK: GET https://127.0.0.1:32813/core/v4/labels?T" /client userID=20cbf74b-05e2-4424-9cc4-84a1dab345fb time="2026-09-17T09:54:46Z" msg="200 OK: GET https://127.0.0.1:32813/core/v4/labels?T" /client userID=20cbf74b-05e2-4424-9cc4-84a1dab345fb time="2026-09-17T09:54:46Z" msg="200 OK: GET https://127.0.0.1:32813/core/v4/labels?T" /client userID=20cbf74b-05e2-4424-9cc4-84a1dab345fb time="2026-09-17T09:54:46Z" msg="Setting labels" labelIDs="[4 7 9 10 12 1 3 5 6 8 0 2]" time="2026-09-17T09:54:46Z" msg="Adding user to imap server" addrID=c55d1d7d-4874-4534-8cff-422e277605b7 time="2026-09-17T09:54:46Z" msg="Creating new IMAP user" addrID=c55d1d7d-4874-4534-8cff-422e277605b7 time="2026-09-17T09:54:46Z" msg="Setting gluon ID" addrID=c55d1d7d-4874-4534-8cff-422e277605b7 gluonID=defa1aae-de83-43ce-ad55-230a6b619b7d userID=20cbf74b-05e2-4424-9cc4-84a1dab345fb time="2026-09-17T09:54:46Z" msg="Received mailbox message count" gluonID=defa1aae-de83-43ce-ad55-230a6b619b7d labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:54:46Z" msg="Created new IMAP user" addrID=c55d1d7d-4874-4534-8cff-422e277605b7 gluonID=defa1aae-de83-43ce-ad55-230a6b619b7d time="2026-09-17T09:54:46Z" msg="Validating Listener State" time="2026-09-17T09:54:46Z" time="2026-09-17T09:54:46Z" msg="Checking whether logged in user should re-sync. UserID:20cbf74b-05e2-4424-9cc4-84a1dab345fb" userID=20cbf74b-05e2-4424-9cc4-84a1dab345fb time="2026-09-17T09:54:46Z" msg="Starting IMAP Service" time="2026-09-17T09:54:46Z" msg="Sync triggered" time="2026-09-17T09:54:46Z" msg="Beginning user sync" start="2026-09-17 09:54:46.448328622 +0000 UTC m=+574.940630918" time="2026-09-17T09:54:46Z" msg="Syncing labels" time="2026-09-17T09:54:46Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=defa1aae-de83-43ce-ad55-230a6b619b7d time="2026-09-17T09:54:46Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=defa1aae-de83-43ce-ad55-230a6b619b7d time="2026-09-17T09:54:46Z" msg="Mailbox created" /user remoteMailboxID=0 userID=defa1aae-de83-43ce-ad55-230a6b619b7d time="2026-09-17T09:54:46Z" msg="Mailbox created" /user remoteMailboxID=4 userID=defa1aae-de83-43ce-ad55-230a6b619b7d time="2026-09-17T09:54:46Z" msg="Mailbox created" /user remoteMailboxID=12 userID=defa1aae-de83-43ce-ad55-230a6b619b7d time="2026-09-17T09:54:46Z" msg="Mailbox created" /user remoteMailboxID=3 userID=defa1aae-de83-43ce-ad55-230a6b619b7d time="2026-09-17T09:54:46Z" msg="Mailbox created" /user remoteMailboxID=5 userID=defa1aae-de83-43ce-ad55-230a6b619b7d time="2026-09-17T09:54:46Z" msg="Mailbox created" /user remoteMailboxID=8 userID=defa1aae-de83-43ce-ad55-230a6b619b7d time="2026-09-17T09:54:46Z" msg="Mailbox created" /user remoteMailboxID=7 userID=defa1aae-de83-43ce-ad55-230a6b619b7d time="2026-09-17T09:54:46Z" msg="Mailbox created" /user remoteMailboxID=10 userID=defa1aae-de83-43ce-ad55-230a6b619b7d time="2026-09-17T09:54:46Z" msg="Mailbox created" /user remoteMailboxID=6 userID=defa1aae-de83-43ce-ad55-230a6b619b7d time="2026-09-17T09:54:46Z" msg="Synced labels" time="2026-09-17T09:54:46Z" msg="200 OK: GET https://127.0.0.1:32813/mail/v4/messages/count" /client userID=20cbf74b-05e2-4424-9cc4-84a1dab345fb time="2026-09-17T09:54:46Z" msg="Syncing messages" time="2026-09-17T09:54:46Z" msg="Job started" time="2026-09-17T09:54:46Z" msg="200 OK: POST https://127.0.0.1:32813/mail/v4/messages" /client userID=20cbf74b-05e2-4424-9cc4-84a1dab345fb time="2026-09-17T09:54:46Z" msg="Job finished" time="2026-09-17T09:54:46Z" msg="All child jobs completed" sync- time="2026-09-17T09:54:46Z" msg="Synced messages" time="2026-09-17T09:54:46Z" msg="Finished user sync" .990076ms time="2026-09-17T09:54:46Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:54:46Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:54:46Z" msg="Sending observability data." time="2026-09-17T09:54:46Z" msg="200 OK: GET https://127.0.0.1:32813/mail/v4/settings" /client userID=20cbf74b-05e2-4424-9cc4-84a1dab345fb time="2026-09-17T09:54:46Z" msg="200 OK: POST https://127.0.0.1:32813/data/v1/metrics" /client userID=20cbf74b-05e2-4424-9cc4-84a1dab345fb time="2026-09-17T09:54:46Z" msg="Successfully sent observability data." time="2026-09-17T09:54:46Z" msg="200 OK: POST https://127.0.0.1:32813/mail/v4/messages" /client userID=20cbf74b-05e2-4424-9cc4-84a1dab345fb time="2026-09-17T09:54:46Z" msg="200 OK: GET https://127.0.0.1:32813/core/v4/keys?E%40proton.local" /client userID=20cbf74b-05e2-4424-9cc4-84a1dab345fb time="2026-09-17T09:54:46Z" msg="200 OK: GET https://127.0.0.1:32813/contacts/v4/emails?E%40proton.local&P&PageS" /client userID=20cbf74b-05e2-4424-9cc4-84a1dab345fb time="2026-09-17T09:54:46Z" msg="200 OK: POST https://127.0.0.1:32813/mail/v4/messages/d517e48e-ac16-48eb-81d9-6c6f3fdad89c" /client userID=20cbf74b-05e2-4424-9cc4-84a1dab345fb time="2026-09-17T09:54:46Z" msg="Scheduling observability data sending" Scenario: Reply with In-Reply-To sets answered flag # features/smtp/send/send_reply.feature:333 When SMTP client "1" sends the following message from "ebd05c4f-52fe-401d-a91b-c6b328a98fdd@proton.local" to "4e8e657f-ade9-4f2a-9d06-858874e284ea@proton.local": # :1 -> *scenario """ From: Bridge Test <[user:user1]@[domain]> To: Internal Bridge <[user:user2]@[domain]> Subject: Please Reply Message-ID: hello """ Then it succeeds # :1 -> *scenario time="2026-09-17T09:54:46Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 8} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:54:47Z" msg="200 OK: GET https://127.0.0.1:32813/core/v4/events/AA==" /client userID=20cbf74b-05e2-4424-9cc4-84a1dab345fb time="2026-09-17T09:54:47Z" msg="Received new API event" new="Event Aw==: messages: , , " old="AA==" time="2026-09-17T09:54:47Z" msg="Handling message created event" messageID=d517e48e-ac16-48eb-81d9-6c6f3fdad89c subject="******** (d9b2d36e)" time="2026-09-17T09:54:47Z" msg="200 OK: GET https://127.0.0.1:32813/mail/v4/messages/d517e48e-ac16-48eb-81d9-6c6f3fdad89c" /client userID=20cbf74b-05e2-4424-9cc4-84a1dab345fb time="2026-09-17T09:54:47Z" msg="Handling draft or sent updated event" isD messageID=d517e48e-ac16-48eb-81d9-6c6f3fdad89c subject="******** (d9b2d36e)" time="2026-09-17T09:54:47Z" msg="200 OK: GET https://127.0.0.1:32813/mail/v4/messages/d517e48e-ac16-48eb-81d9-6c6f3fdad89c" /client userID=20cbf74b-05e2-4424-9cc4-84a1dab345fb Then IMAP client "1" eventually sees the following messages in "Sent": # :1 -> *scenario | from | to | subject | message-id | | ebd05c4f-52fe-401d-a91b-c6b328a98fdd@proton.local | 4e8e657f-ade9-4f2a-9d06-858874e284ea@proton.local | Please Reply | | time="2026-09-17T09:54:47Z" msg="Performing full user login" /user username="******** (2bdb4a56)" time="2026-09-17T09:54:47Z" msg="Authorizing user for login" /user username="******** (2bdb4a56)" time="2026-09-17T09:54:47Z" msg="200 OK: POST https://127.0.0.1:32813/auth/v4/info" /manager time="2026-09-17T09:54:47Z" msg="200 OK: POST https://127.0.0.1:32813/auth/v4" /manager time="2026-09-17T09:54:47Z" msg="Logging in authorized user" /user userID=523437c4-f839-40c9-ac49-12338b3b2d0d time="2026-09-17T09:54:47Z" msg="Adding vault user" userID=523437c4-f839-40c9-ac49-12338b3b2d0d time="2026-09-17T09:54:47Z" msg="Creating new user" userID=523437c4-f839-40c9-ac49-12338b3b2d0d time="2026-09-17T09:54:47Z" msg="404 GET https://127.0.0.1:32813/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:54:47Z" msg="404 GET https://127.0.0.1:32813/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:54:47Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:32813/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:54:47Z" msg="Creating user object" authUID=fcc4462e-add6-446c-bc48-84f54ad3796a numA numL userID=523437c4-f839-40c9-ac49-12338b3b2d0d time="2026-09-17T09:54:47Z" msg="200 OK: GET https://127.0.0.1:32813/core/v4/events/latest" /client userID=523437c4-f839-40c9-ac49-12338b3b2d0d time="2026-09-17T09:54:47Z" msg="Starting service Last EventID=BA==" time="2026-09-17T09:54:47Z" msg="200 OK: GET https://127.0.0.1:32813/core/v4/settings" /client userID=523437c4-f839-40c9-ac49-12338b3b2d0d time="2026-09-17T09:54:47Z" msg="Registering user client, ID:523437c4-f839-40c9-ac49-12338b3b2d0d" time="2026-09-17T09:54:47Z" msg="Starting user identity service" numA time="2026-09-17T09:54:47Z" msg="Starting service main loop" time="2026-09-17T09:54:47Z" msg="Starting service main loop" time="2026-09-17T09:54:47Z" msg="Starting service main loop" time="2026-09-17T09:54:47Z" msg="200 OK: GET https://127.0.0.1:32813/core/v4/labels?T" /client userID=523437c4-f839-40c9-ac49-12338b3b2d0d time="2026-09-17T09:54:47Z" msg="200 OK: GET https://127.0.0.1:32813/core/v4/labels?T" /client userID=523437c4-f839-40c9-ac49-12338b3b2d0d time="2026-09-17T09:54:47Z" msg="200 OK: GET https://127.0.0.1:32813/core/v4/labels?T" /client userID=523437c4-f839-40c9-ac49-12338b3b2d0d time="2026-09-17T09:54:47Z" msg="Setting labels" labelIDs="[5 6 7 8 10 2 3 9 12 0 1 4]" time="2026-09-17T09:54:47Z" msg="Adding user to imap server" addrID=39261e8c-f6be-49d8-9926-465b4f4a3b6f time="2026-09-17T09:54:47Z" msg="Creating new IMAP user" addrID=39261e8c-f6be-49d8-9926-465b4f4a3b6f time="2026-09-17T09:54:47Z" msg="Setting gluon ID" addrID=39261e8c-f6be-49d8-9926-465b4f4a3b6f gluonID=8fe2a9be-aa4f-4981-ab89-283168ea5e81 userID=523437c4-f839-40c9-ac49-12338b3b2d0d time="2026-09-17T09:54:47Z" msg="Received mailbox message count" gluonID=8fe2a9be-aa4f-4981-ab89-283168ea5e81 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:54:47Z" msg="Created new IMAP user" addrID=39261e8c-f6be-49d8-9926-465b4f4a3b6f gluonID=8fe2a9be-aa4f-4981-ab89-283168ea5e81 time="2026-09-17T09:54:47Z" msg="Validating Listener State" time="2026-09-17T09:54:47Z" time="2026-09-17T09:54:47Z" msg="Starting IMAP Service" time="2026-09-17T09:54:47Z" msg="Checking whether logged in user should re-sync. UserID:523437c4-f839-40c9-ac49-12338b3b2d0d" userID=523437c4-f839-40c9-ac49-12338b3b2d0d time="2026-09-17T09:54:47Z" msg="Sync triggered" time="2026-09-17T09:54:47Z" msg="Beginning user sync" start="2026-09-17 09:54:47.920875258 +0000 UTC m=+576.413177554" And the user logs in with username "4e8e657f-ade9-4f2a-9d06-858874e284ea" and password "password" # :1 -> *scenario time="2026-09-17T09:54:47Z" msg="Syncing labels" And user "4e8e657f-ade9-4f2a-9d06-858874e284ea" connects and authenticates IMAP client "2" # :1 -> *scenario time="2026-09-17T09:54:47Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=8fe2a9be-aa4f-4981-ab89-283168ea5e81 And user "4e8e657f-ade9-4f2a-9d06-858874e284ea" connects and authenticates SMTP client "2" # :1 -> *scenario time="2026-09-17T09:54:47Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=8fe2a9be-aa4f-4981-ab89-283168ea5e81 time="2026-09-17T09:54:47Z" msg="Mailbox created" /user remoteMailboxID=7 userID=8fe2a9be-aa4f-4981-ab89-283168ea5e81 time="2026-09-17T09:54:47Z" msg="Mailbox created" /user remoteMailboxID=10 userID=8fe2a9be-aa4f-4981-ab89-283168ea5e81 time="2026-09-17T09:54:47Z" msg="Mailbox created" /user remoteMailboxID=12 userID=8fe2a9be-aa4f-4981-ab89-283168ea5e81 time="2026-09-17T09:54:47Z" msg="Mailbox created" /user remoteMailboxID=6 userID=8fe2a9be-aa4f-4981-ab89-283168ea5e81 time="2026-09-17T09:54:47Z" msg="Mailbox created" /user remoteMailboxID=8 userID=8fe2a9be-aa4f-4981-ab89-283168ea5e81 time="2026-09-17T09:54:47Z" msg="Mailbox created" /user remoteMailboxID=3 userID=8fe2a9be-aa4f-4981-ab89-283168ea5e81 time="2026-09-17T09:54:47Z" msg="Mailbox created" /user remoteMailboxID=0 userID=8fe2a9be-aa4f-4981-ab89-283168ea5e81 time="2026-09-17T09:54:47Z" msg="Mailbox created" /user remoteMailboxID=4 userID=8fe2a9be-aa4f-4981-ab89-283168ea5e81 time="2026-09-17T09:54:47Z" msg="Mailbox created" /user remoteMailboxID=5 userID=8fe2a9be-aa4f-4981-ab89-283168ea5e81 time="2026-09-17T09:54:47Z" msg="Synced labels" time="2026-09-17T09:54:47Z" msg="200 OK: GET https://127.0.0.1:32813/mail/v4/messages/count" /client userID=523437c4-f839-40c9-ac49-12338b3b2d0d time="2026-09-17T09:54:47Z" msg="Syncing messages" time="2026-09-17T09:54:47Z" msg="Job started" time="2026-09-17T09:54:47Z" msg="200 OK: POST https://127.0.0.1:32813/mail/v4/messages" /client userID=523437c4-f839-40c9-ac49-12338b3b2d0d time="2026-09-17T09:54:47Z" msg="200 OK: POST https://127.0.0.1:32813/mail/v4/messages" /client userID=523437c4-f839-40c9-ac49-12338b3b2d0d time="2026-09-17T09:54:47Z" msg="Creating new child job" time="2026-09-17T09:54:47Z" msg="Job finished" time="2026-09-17T09:54:47Z" msg="200 OK: GET https://127.0.0.1:32813/mail/v4/messages/6ab2bccd-bf75-416f-b8a5-ab213c9898ed" /client userID=523437c4-f839-40c9-ac49-12338b3b2d0d time="2026-09-17T09:54:47Z" msg="Child job finished" time="2026-09-17T09:54:47Z" msg="All child jobs completed" sync- time="2026-09-17T09:54:47Z" msg="Synced messages" time="2026-09-17T09:54:47Z" msg="Finished user sync" .072126ms time="2026-09-17T09:54:47Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:54:47Z" msg="Event loop reset" eventID="BA==" And user "4e8e657f-ade9-4f2a-9d06-858874e284ea" finishes syncing # :1 -> *scenario Then IMAP client "2" eventually sees the following messages in "INBOX": # :1 -> *scenario | from | subject | message-id | reply-to | | ebd05c4f-52fe-401d-a91b-c6b328a98fdd@proton.local | Please Reply | | ebd05c4f-52fe-401d-a91b-c6b328a98fdd@proton.local | time="2026-09-17T09:54:48Z" msg="200 OK: GET https://127.0.0.1:32813/mail/v4/settings" /client userID=523437c4-f839-40c9-ac49-12338b3b2d0d time="2026-09-17T09:54:48Z" msg="200 OK: POST https://127.0.0.1:32813/mail/v4/messages" /client userID=523437c4-f839-40c9-ac49-12338b3b2d0d time="2026-09-17T09:54:48Z" msg="200 OK: POST https://127.0.0.1:32813/mail/v4/messages" /client userID=523437c4-f839-40c9-ac49-12338b3b2d0d time="2026-09-17T09:54:48Z" msg="200 OK: POST https://127.0.0.1:32813/mail/v4/messages" /client userID=523437c4-f839-40c9-ac49-12338b3b2d0d time="2026-09-17T09:54:48Z" msg="200 OK: GET https://127.0.0.1:32813/core/v4/keys?E%40proton.local" /client userID=523437c4-f839-40c9-ac49-12338b3b2d0d time="2026-09-17T09:54:48Z" msg="200 OK: GET https://127.0.0.1:32813/contacts/v4/emails?E%40proton.local&P&PageS" /client userID=523437c4-f839-40c9-ac49-12338b3b2d0d time="2026-09-17T09:54:48Z" msg="200 OK: POST https://127.0.0.1:32813/mail/v4/messages/2e40a41d-4d53-4aee-be77-ba51858452ae" /client userID=523437c4-f839-40c9-ac49-12338b3b2d0d When SMTP client "2" sends the following message from "4e8e657f-ade9-4f2a-9d06-858874e284ea@proton.local" to "ebd05c4f-52fe-401d-a91b-c6b328a98fdd@proton.local": # :1 -> *scenario """ From: Internal Bridge <[user:user2]@[domain]> To: Bridge Test <[user:user1]@[domain]> Content-Type: text/plain Subject: FW - Please Reply In-Reply-To: Message-ID: Heya """ Then it succeeds # :1 -> *scenario time="2026-09-17T09:54:48Z" msg="200 OK: GET https://127.0.0.1:32813/core/v4/events/Aw==" /client userID=20cbf74b-05e2-4424-9cc4-84a1dab345fb time="2026-09-17T09:54:48Z" msg="Received new API event" new="Event CA==: messages: , , " old="Aw==" time="2026-09-17T09:54:48Z" msg="Handling message created event" messageID=ebab881c-0226-4dc5-a0ea-9383f0c60602 subject="******** (22f3b0e1)" time="2026-09-17T09:54:48Z" msg="200 OK: GET https://127.0.0.1:32813/mail/v4/messages/ebab881c-0226-4dc5-a0ea-9383f0c60602" /client userID=20cbf74b-05e2-4424-9cc4-84a1dab345fb time="2026-09-17T09:54:48Z" msg="200 OK: GET https://127.0.0.1:32813/core/v4/events/BA==" /client userID=523437c4-f839-40c9-ac49-12338b3b2d0d time="2026-09-17T09:54:48Z" msg="Received new API event" new="Event Bw==: messages: , , " old="BA==" time="2026-09-17T09:54:48Z" msg="Handling message created event" messageID=2e40a41d-4d53-4aee-be77-ba51858452ae subject="******** (22f3b0e1)" time="2026-09-17T09:54:48Z" msg="200 OK: GET https://127.0.0.1:32813/mail/v4/messages/2e40a41d-4d53-4aee-be77-ba51858452ae" /client userID=523437c4-f839-40c9-ac49-12338b3b2d0d time="2026-09-17T09:54:48Z" msg="Handling message updated event" messageID=6ab2bccd-bf75-416f-b8a5-ab213c9898ed subject="******** (d9b2d36e)" time="2026-09-17T09:54:48Z" msg="Handling draft or sent updated event" isD messageID=2e40a41d-4d53-4aee-be77-ba51858452ae subject="******** (22f3b0e1)" time="2026-09-17T09:54:48Z" msg="200 OK: GET https://127.0.0.1:32813/mail/v4/messages/2e40a41d-4d53-4aee-be77-ba51858452ae" /client userID=523437c4-f839-40c9-ac49-12338b3b2d0d Then IMAP client "2" eventually sees the following messages in "Sent": # :1 -> *scenario | from | to | subject | in-reply-to | references | | 4e8e657f-ade9-4f2a-9d06-858874e284ea@proton.local | ebd05c4f-52fe-401d-a91b-c6b328a98fdd@proton.local | FW - Please Reply | | | When IMAP client "2" selects "INBOX" # :1 -> *scenario And it succeeds # :1 -> *scenario Then IMAP client "2" eventually sees that message at row 1 has the flag "\Answered" # :1 -> *scenario And it succeeds # :1 -> *scenario Then IMAP client "2" eventually sees that message at row 1 does not have the flag "forwarded" # :1 -> *scenario And it succeeds # :1 -> *scenario time="2026-09-17T09:54:49Z" msg="Frontend service stopped" time="2026-09-17T09:54:49Z" msg="Frontend client stopped" time="2026-09-17T09:54:49Z" msg="Closing bridge" time="2026-09-17T09:54:49Z" msg="Stopping service" time="2026-09-17T09:54:49Z" msg="Closing user" userID=20cbf74b-05e2-4424-9cc4-84a1dab345fb time="2026-09-17T09:54:49Z" msg="De-registering user client, ID:20cbf74b-05e2-4424-9cc4-84a1dab345fb" time="2026-09-17T09:54:49Z" msg="Exiting IMAP Service" time="2026-09-17T09:54:49Z" msg="Exiting service main loop" time="2026-09-17T09:54:49Z" msg="Exiting service main loop" time="2026-09-17T09:54:49Z" msg="Exiting Service" time="2026-09-17T09:54:49Z" msg="Exiting service main loop" time="2026-09-17T09:54:49Z" msg="Exiting service" time="2026-09-17T09:54:49Z" msg="Closing user" userID=523437c4-f839-40c9-ac49-12338b3b2d0d time="2026-09-17T09:54:49Z" msg="De-registering user client, ID:523437c4-f839-40c9-ac49-12338b3b2d0d" time="2026-09-17T09:54:49Z" msg="Exiting IMAP Service" time="2026-09-17T09:54:49Z" msg="Exiting service main loop" time="2026-09-17T09:54:49Z" msg="Exiting service main loop" time="2026-09-17T09:54:49Z" msg="Exiting Service" time="2026-09-17T09:54:49Z" msg="Exiting service main loop" time="2026-09-17T09:54:49Z" msg="Exiting service" time="2026-09-17T09:54:49Z" msg="Closing IMAP Listener" time="2026-09-17T09:54:49Z" msg="Closing IMAP server" time="2026-09-17T09:54:49Z" msg="Closing SMTP Listener" time="2026-09-17T09:54:49Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:54:49Z" msg="Closing SMTP server" time="2026-09-17T09:54:49Z" msg="Closing service" And IMAP client "1" eventually sees the following messages in "INBOX": # :1 -> *scenario | from | subject | in-reply-to | references | | 4e8e657f-ade9-4f2a-9d06-858874e284ea@proton.local | FW - Please Reply | | | Feature: Address key usage during SMTP send time="2026-09-17T09:54:49Z" msg="User 'd8b45223-1c22-4dac-9e71-837fc53d3089' created with " /server/backend Background: Given there exists an account with username "d8b45223-1c22-4dac-9e71-837fc53d3089" and password "password" # :1 -> *scenario And the account "d8b45223-1c22-4dac-9e71-837fc53d3089" has additional address "5070aae1-74f1-4a52-8355-188c0c0196dd@proton.local" # :1 -> *scenario And it succeeds # :1 -> *scenario time="2026-09-17T09:54:50Z" msg="Starting bridge" time="2026-09-17T09:54:50Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/241/config315815997/grpcFocusServerConfig.json /service time="2026-09-17T09:54:50Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/241/cache3873474250/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:54:50Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/241/cache3873474250/notifications/notification_cache: no such file or directory" time="2026-09-17T09:54:50Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/241/data1610102081/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/241/data1610102081/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:54:50Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:54:50Z" msg="Starting IMAP server" time="2026-09-17T09:54:50Z" msg="Starting SMTP server" time="2026-09-17T09:54:50Z" msg="Starting service" time="2026-09-17T09:54:50Z" msg="Starting service" time="2026-09-17T09:54:50Z" msg="Starting frontend service" time="2026-09-17T09:54:50Z" msg="Starting poll service" time="2026-09-17T09:54:50Z" msg="Loading users" /user time="2026-09-17T09:54:50Z" msg="Checking for updates" time="2026-09-17T09:54:50Z" msg="Starting receiver service" time="2026-09-17T09:54:50Z" msg="Finished loading users" /user time="2026-09-17T09:54:50Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/241/config315815997/grpcServerConfig.json time="2026-09-17T09:54:50Z" msg="gRPC server listening on /tmp/bridge3515" time="2026-09-17T09:54:50Z" msg="Frontend service started" time="2026-09-17T09:54:50Z" msg="Starting frontend client" time="2026-09-17T09:54:50Z" msg="Not monitoring parent PID" time="2026-09-17T09:54:50Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:54:50Z" msg="200 OK: GET https://127.0.0.1:33357/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:54:50Z" msg="Frontend client started" Scenario: Non-active sender in combined mode using non-active key # features/smtp/send/sender_key.feature:7 Given bridge starts # :1 -> *scenario time="2026-09-17T09:54:50Z" msg="Performing full user login" /user username="******** (e2d373dd)" time="2026-09-17T09:54:50Z" msg="Authorizing user for login" /user username="******** (e2d373dd)" time="2026-09-17T09:54:50Z" msg="200 OK: POST https://127.0.0.1:33357/auth/v4/info" /manager time="2026-09-17T09:54:50Z" msg="200 OK: POST https://127.0.0.1:33357/auth/v4" /manager time="2026-09-17T09:54:50Z" msg="Logging in authorized user" /user userID=36af0028-e2f0-4951-b854-83745cc8d0b2 time="2026-09-17T09:54:50Z" msg="Adding vault user" userID=36af0028-e2f0-4951-b854-83745cc8d0b2 time="2026-09-17T09:54:50Z" msg="Creating new user" userID=36af0028-e2f0-4951-b854-83745cc8d0b2 time="2026-09-17T09:54:50Z" msg="404 GET https://127.0.0.1:33357/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:54:50Z" msg="404 GET https://127.0.0.1:33357/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:54:50Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:33357/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:54:50Z" msg="Creating user object" authUID=4b39bcf1-5270-42d2-b45a-113fcfe581fc numA numL userID=36af0028-e2f0-4951-b854-83745cc8d0b2 time="2026-09-17T09:54:50Z" msg="200 OK: GET https://127.0.0.1:33357/core/v4/events/latest" /client userID=36af0028-e2f0-4951-b854-83745cc8d0b2 time="2026-09-17T09:54:50Z" msg="Starting service Last EventID=AQ==" time="2026-09-17T09:54:50Z" msg="200 OK: GET https://127.0.0.1:33357/core/v4/settings" /client userID=36af0028-e2f0-4951-b854-83745cc8d0b2 time="2026-09-17T09:54:50Z" msg="Registering user client, ID:36af0028-e2f0-4951-b854-83745cc8d0b2" time="2026-09-17T09:54:50Z" msg="Starting user identity service" numA time="2026-09-17T09:54:50Z" msg="Starting service main loop" time="2026-09-17T09:54:50Z" msg="Starting service main loop" time="2026-09-17T09:54:50Z" msg="Starting service main loop" time="2026-09-17T09:54:50Z" msg="200 OK: GET https://127.0.0.1:33357/core/v4/labels?T" /client userID=36af0028-e2f0-4951-b854-83745cc8d0b2 time="2026-09-17T09:54:50Z" msg="200 OK: GET https://127.0.0.1:33357/core/v4/labels?T" /client userID=36af0028-e2f0-4951-b854-83745cc8d0b2 time="2026-09-17T09:54:50Z" msg="200 OK: GET https://127.0.0.1:33357/core/v4/labels?T" /client userID=36af0028-e2f0-4951-b854-83745cc8d0b2 time="2026-09-17T09:54:50Z" msg="Setting labels" labelIDs="[4 5 6 8 12 1 2 7 9 10 0 3]" time="2026-09-17T09:54:50Z" msg="Adding user to imap server" addrID=f119a578-27fc-4935-b549-9342153aade3 time="2026-09-17T09:54:50Z" msg="Creating new IMAP user" addrID=f119a578-27fc-4935-b549-9342153aade3 time="2026-09-17T09:54:50Z" msg="Setting gluon ID" addrID=f119a578-27fc-4935-b549-9342153aade3 gluonID=ca0208ee-4204-4401-9ffa-64108c49e5cf userID=36af0028-e2f0-4951-b854-83745cc8d0b2 time="2026-09-17T09:54:50Z" msg="Received mailbox message count" gluonID=ca0208ee-4204-4401-9ffa-64108c49e5cf labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:54:50Z" msg="Created new IMAP user" addrID=f119a578-27fc-4935-b549-9342153aade3 gluonID=ca0208ee-4204-4401-9ffa-64108c49e5cf time="2026-09-17T09:54:50Z" msg="Validating Listener State" time="2026-09-17T09:54:50Z" time="2026-09-17T09:54:50Z" msg="Starting IMAP Service" And the user logs in with username "d8b45223-1c22-4dac-9e71-837fc53d3089" and password "password" # :1 -> *scenario time="2026-09-17T09:54:50Z" msg="Checking whether logged in user should re-sync. UserID:36af0028-e2f0-4951-b854-83745cc8d0b2" userID=36af0028-e2f0-4951-b854-83745cc8d0b2 And it succeeds # :1 -> *scenario time="2026-09-17T09:54:50Z" msg="Sync triggered" time="2026-09-17T09:54:50Z" msg="Beginning user sync" start="2026-09-17 09:54:50.718531591 +0000 UTC m=+579.210833887" When user "d8b45223-1c22-4dac-9e71-837fc53d3089" connects and authenticates SMTP client "1" with address "d8b45223-1c22-4dac-9e71-837fc53d3089@proton.local" # :1 -> *scenario time="2026-09-17T09:54:50Z" msg="Sending observability data." time="2026-09-17T09:54:50Z" msg="Syncing labels" time="2026-09-17T09:54:50Z" msg="200 OK: POST https://127.0.0.1:33357/data/v1/metrics" /client userID=36af0028-e2f0-4951-b854-83745cc8d0b2 time="2026-09-17T09:54:50Z" msg="Successfully sent observability data." time="2026-09-17T09:54:50Z" msg="200 OK: GET https://127.0.0.1:33357/mail/v4/settings" /client userID=36af0028-e2f0-4951-b854-83745cc8d0b2 time="2026-09-17T09:54:50Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=ca0208ee-4204-4401-9ffa-64108c49e5cf time="2026-09-17T09:54:50Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=ca0208ee-4204-4401-9ffa-64108c49e5cf time="2026-09-17T09:54:50Z" msg="Mailbox created" /user remoteMailboxID=5 userID=ca0208ee-4204-4401-9ffa-64108c49e5cf time="2026-09-17T09:54:50Z" msg="Mailbox created" /user remoteMailboxID=6 userID=ca0208ee-4204-4401-9ffa-64108c49e5cf time="2026-09-17T09:54:50Z" msg="Mailbox created" /user remoteMailboxID=12 userID=ca0208ee-4204-4401-9ffa-64108c49e5cf time="2026-09-17T09:54:50Z" msg="Mailbox created" /user remoteMailboxID=10 userID=ca0208ee-4204-4401-9ffa-64108c49e5cf time="2026-09-17T09:54:50Z" msg="Mailbox created" /user remoteMailboxID=0 userID=ca0208ee-4204-4401-9ffa-64108c49e5cf time="2026-09-17T09:54:50Z" msg="Mailbox created" /user remoteMailboxID=3 userID=ca0208ee-4204-4401-9ffa-64108c49e5cf time="2026-09-17T09:54:50Z" msg="Mailbox created" /user remoteMailboxID=4 userID=ca0208ee-4204-4401-9ffa-64108c49e5cf time="2026-09-17T09:54:50Z" msg="Mailbox created" /user remoteMailboxID=8 userID=ca0208ee-4204-4401-9ffa-64108c49e5cf time="2026-09-17T09:54:50Z" msg="Mailbox created" /user remoteMailboxID=7 userID=ca0208ee-4204-4401-9ffa-64108c49e5cf time="2026-09-17T09:54:50Z" msg="Synced labels" time="2026-09-17T09:54:50Z" msg="200 OK: GET https://127.0.0.1:33357/mail/v4/messages/count" /client userID=36af0028-e2f0-4951-b854-83745cc8d0b2 time="2026-09-17T09:54:50Z" msg="Syncing messages" time="2026-09-17T09:54:50Z" msg="Job started" time="2026-09-17T09:54:50Z" msg="200 OK: POST https://127.0.0.1:33357/mail/v4/messages" /client userID=36af0028-e2f0-4951-b854-83745cc8d0b2 time="2026-09-17T09:54:50Z" msg="Job finished" time="2026-09-17T09:54:50Z" msg="All child jobs completed" sync- time="2026-09-17T09:54:50Z" msg="Synced messages" time="2026-09-17T09:54:50Z" msg="Finished user sync" .85984ms time="2026-09-17T09:54:50Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:54:50Z" msg="Event loop reset" eventID="AQ==" time="2026-09-17T09:54:50Z" msg="200 OK: POST https://127.0.0.1:33357/mail/v4/messages" /client userID=36af0028-e2f0-4951-b854-83745cc8d0b2 time="2026-09-17T09:54:50Z" msg="200 OK: GET https://127.0.0.1:33357/core/v4/keys?E.bridge.qa%40gmail.com" /client userID=36af0028-e2f0-4951-b854-83745cc8d0b2 time="2026-09-17T09:54:50Z" msg="200 OK: GET https://127.0.0.1:33357/contacts/v4/emails?E.bridge.qa%40gmail.com&P&PageS" /client userID=36af0028-e2f0-4951-b854-83745cc8d0b2 time="2026-09-17T09:54:50Z" msg="200 OK: POST https://127.0.0.1:33357/mail/v4/messages/6956561e-8f75-4f17-bab4-55f552c719ce" /client userID=36af0028-e2f0-4951-b854-83745cc8d0b2 time="2026-09-17T09:54:50Z" msg="Scheduling observability data sending" And SMTP client "1" sends the following message from "5070aae1-74f1-4a52-8355-188c0c0196dd@proton.local" to "pm.bridge.qa@gmail.com": # :1 -> *scenario """ From: Bridge Test <[alias:alias]@[domain]> To: External Bridge hello """ Then it succeeds # :1 -> *scenario time="2026-09-17T09:54:50Z" msg="Frontend service stopped" time="2026-09-17T09:54:50Z" msg="Frontend client stopped" time="2026-09-17T09:54:50Z" msg="Closing bridge" time="2026-09-17T09:54:50Z" msg="Stopping service" time="2026-09-17T09:54:50Z" msg="Closing user" userID=36af0028-e2f0-4951-b854-83745cc8d0b2 time="2026-09-17T09:54:50Z" msg="De-registering user client, ID:36af0028-e2f0-4951-b854-83745cc8d0b2" time="2026-09-17T09:54:50Z" msg="Exiting IMAP Service" time="2026-09-17T09:54:50Z" msg="Exiting service main loop" time="2026-09-17T09:54:50Z" msg="Exiting service main loop" time="2026-09-17T09:54:50Z" msg="Exiting Service" time="2026-09-17T09:54:50Z" msg="Exiting service main loop" time="2026-09-17T09:54:50Z" msg="Exiting service" time="2026-09-17T09:54:50Z" msg="Closing IMAP Listener" time="2026-09-17T09:54:50Z" msg="Closing IMAP server" time="2026-09-17T09:54:50Z" msg="Closing SMTP Listener" time="2026-09-17T09:54:50Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:54:50Z" msg="Closing SMTP server" time="2026-09-17T09:54:50Z" msg="Closing service" And the message used "5070aae1-74f1-4a52-8355-188c0c0196dd@proton.local" key for sending # :1 -> *scenario time="2026-09-17T09:54:50Z" msg="User '9b335cbe-ca5a-4a6c-a347-03cd99aa4143' created with " /server/backend time="2026-09-17T09:54:51Z" msg="Starting bridge" time="2026-09-17T09:54:51Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/242/config123186764/grpcFocusServerConfig.json /service time="2026-09-17T09:54:51Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/242/cache3643088318/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:54:51Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/242/cache3643088318/notifications/notification_cache: no such file or directory" time="2026-09-17T09:54:51Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/242/data4205447408/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/242/data4205447408/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:54:51Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:54:51Z" msg="Starting IMAP server" time="2026-09-17T09:54:51Z" msg="Starting SMTP server" time="2026-09-17T09:54:51Z" msg="Starting service" time="2026-09-17T09:54:51Z" msg="Starting service" time="2026-09-17T09:54:51Z" msg="Starting poll service" time="2026-09-17T09:54:51Z" msg="Checking for updates" time="2026-09-17T09:54:51Z" msg="Loading users" /user time="2026-09-17T09:54:51Z" msg="Starting receiver service" time="2026-09-17T09:54:51Z" msg="Starting frontend service" time="2026-09-17T09:54:51Z" msg="Finished loading users" /user time="2026-09-17T09:54:51Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/242/config123186764/grpcServerConfig.json time="2026-09-17T09:54:51Z" msg="gRPC server listening on /tmp/bridge5789" time="2026-09-17T09:54:51Z" msg="Frontend service started" time="2026-09-17T09:54:51Z" msg="Starting frontend client" time="2026-09-17T09:54:51Z" msg="Not monitoring parent PID" time="2026-09-17T09:54:51Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:54:51Z" msg="Frontend client started" Scenario: Non-active sender in split mode using non-active key # features/smtp/send/sender_key.feature:23 Given bridge starts # :1 -> *scenario time="2026-09-17T09:54:51Z" msg="Performing full user login" /user username="******** (d280a662)" time="2026-09-17T09:54:51Z" msg="Authorizing user for login" /user username="******** (d280a662)" time="2026-09-17T09:54:51Z" msg="200 OK: GET https://127.0.0.1:45849/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:54:51Z" msg="200 OK: POST https://127.0.0.1:45849/auth/v4/info" /manager time="2026-09-17T09:54:52Z" msg="200 OK: POST https://127.0.0.1:45849/auth/v4" /manager time="2026-09-17T09:54:52Z" msg="Logging in authorized user" /user userID=4f43c150-4fc5-4531-b62b-9e9b16780d3a time="2026-09-17T09:54:52Z" msg="Adding vault user" userID=4f43c150-4fc5-4531-b62b-9e9b16780d3a time="2026-09-17T09:54:52Z" msg="Creating new user" userID=4f43c150-4fc5-4531-b62b-9e9b16780d3a time="2026-09-17T09:54:52Z" msg="404 GET https://127.0.0.1:45849/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:54:52Z" msg="404 GET https://127.0.0.1:45849/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:54:52Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:45849/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:54:52Z" msg="Creating user object" authUID=10ba601b-95a5-49ef-92cb-50839c9167fa numA numL userID=4f43c150-4fc5-4531-b62b-9e9b16780d3a time="2026-09-17T09:54:52Z" msg="200 OK: GET https://127.0.0.1:45849/core/v4/events/latest" /client userID=4f43c150-4fc5-4531-b62b-9e9b16780d3a time="2026-09-17T09:54:52Z" msg="Starting service Last EventID=AQ==" time="2026-09-17T09:54:52Z" msg="200 OK: GET https://127.0.0.1:45849/core/v4/settings" /client userID=4f43c150-4fc5-4531-b62b-9e9b16780d3a time="2026-09-17T09:54:52Z" msg="Registering user client, ID:4f43c150-4fc5-4531-b62b-9e9b16780d3a" time="2026-09-17T09:54:52Z" msg="Starting service main loop" time="2026-09-17T09:54:52Z" msg="Starting user identity service" numA time="2026-09-17T09:54:52Z" msg="Starting service main loop" time="2026-09-17T09:54:52Z" msg="Starting service main loop" time="2026-09-17T09:54:52Z" msg="200 OK: GET https://127.0.0.1:45849/core/v4/labels?T" /client userID=4f43c150-4fc5-4531-b62b-9e9b16780d3a time="2026-09-17T09:54:52Z" msg="200 OK: GET https://127.0.0.1:45849/core/v4/labels?T" /client userID=4f43c150-4fc5-4531-b62b-9e9b16780d3a time="2026-09-17T09:54:52Z" msg="200 OK: GET https://127.0.0.1:45849/core/v4/labels?T" /client userID=4f43c150-4fc5-4531-b62b-9e9b16780d3a time="2026-09-17T09:54:52Z" msg="Setting labels" labelIDs="[0 1 3 4 5 8 2 6 7 9 10 12]" time="2026-09-17T09:54:52Z" msg="Adding user to imap server" addrID=35053524-ca8f-4af3-8358-6b1a2577c16d time="2026-09-17T09:54:52Z" msg="Creating new IMAP user" addrID=35053524-ca8f-4af3-8358-6b1a2577c16d time="2026-09-17T09:54:52Z" msg="Setting gluon ID" addrID=35053524-ca8f-4af3-8358-6b1a2577c16d gluonID=86851e70-4c98-418d-9402-1f6de8b124b1 userID=4f43c150-4fc5-4531-b62b-9e9b16780d3a time="2026-09-17T09:54:52Z" msg="Received mailbox message count" gluonID=86851e70-4c98-418d-9402-1f6de8b124b1 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:54:52Z" msg="Created new IMAP user" addrID=35053524-ca8f-4af3-8358-6b1a2577c16d gluonID=86851e70-4c98-418d-9402-1f6de8b124b1 time="2026-09-17T09:54:52Z" msg="Validating Listener State" time="2026-09-17T09:54:52Z" time="2026-09-17T09:54:52Z" msg="Checking whether logged in user should re-sync. UserID:4f43c150-4fc5-4531-b62b-9e9b16780d3a" userID=4f43c150-4fc5-4531-b62b-9e9b16780d3a time="2026-09-17T09:54:52Z" msg="Starting IMAP Service" time="2026-09-17T09:54:52Z" msg="Sync triggered" And the user logs in with username "9b335cbe-ca5a-4a6c-a347-03cd99aa4143" and password "password" # :1 -> *scenario time="2026-09-17T09:54:52Z" msg="Beginning user sync" start="2026-09-17 09:54:52.277651096 +0000 UTC m=+580.769953392" time="2026-09-17T09:54:52Z" msg="Setting address mode" /user userID=4f43c150-4fc5-4531-b62b-9e9b16780d3a time="2026-09-17T09:54:52Z" msg="Setting address mode" userID=4f43c150-4fc5-4531-b62b-9e9b16780d3a time="2026-09-17T09:54:52Z" msg="Setting Split Address Mode" time="2026-09-17T09:54:52Z" msg="Failed to check and report label conflicts" error="context canceled" time="2026-09-17T09:54:52Z" msg="Sync aborted" error="context canceled" time="2026-09-17T09:54:52Z" msg="Finished user sync" duration="583.883µs" time="2026-09-17T09:54:52Z" msg="Removing gluon ID" addrID=35053524-ca8f-4af3-8358-6b1a2577c16d gluonID=86851e70-4c98-418d-9402-1f6de8b124b1 userID=4f43c150-4fc5-4531-b62b-9e9b16780d3a time="2026-09-17T09:54:52Z" msg="Validating Listener State" time="2026-09-17T09:54:52Z" msg="Adding user to imap server" addrID=35053524-ca8f-4af3-8358-6b1a2577c16d time="2026-09-17T09:54:52Z" msg="Creating new IMAP user" addrID=35053524-ca8f-4af3-8358-6b1a2577c16d time="2026-09-17T09:54:52Z" msg="Setting gluon ID" addrID=35053524-ca8f-4af3-8358-6b1a2577c16d gluonID=65392fa8-3c91-4dbe-8179-f6ca34afb8f0 userID=4f43c150-4fc5-4531-b62b-9e9b16780d3a time="2026-09-17T09:54:52Z" msg="Received mailbox message count" gluonID=65392fa8-3c91-4dbe-8179-f6ca34afb8f0 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:54:52Z" msg="Created new IMAP user" addrID=35053524-ca8f-4af3-8358-6b1a2577c16d gluonID=65392fa8-3c91-4dbe-8179-f6ca34afb8f0 time="2026-09-17T09:54:52Z" msg="Validating Listener State" time="2026-09-17T09:54:52Z" msg="Adding user to imap server" addrID=92442d22-8bc5-4c0d-9790-7445e43e50e3 time="2026-09-17T09:54:52Z" msg="Creating new IMAP user" addrID=92442d22-8bc5-4c0d-9790-7445e43e50e3 time="2026-09-17T09:54:52Z" msg="Setting gluon ID" addrID=92442d22-8bc5-4c0d-9790-7445e43e50e3 gluonID=521d6c18-08d2-41a2-892c-c23aeebeb986 userID=4f43c150-4fc5-4531-b62b-9e9b16780d3a time="2026-09-17T09:54:52Z" msg="Created new IMAP user" addrID=92442d22-8bc5-4c0d-9790-7445e43e50e3 gluonID=521d6c18-08d2-41a2-892c-c23aeebeb986 time="2026-09-17T09:54:52Z" msg="Validating Listener State" time="2026-09-17T09:54:52Z" msg="Sync triggered" time="2026-09-17T09:54:52Z" msg="Beginning user sync" start="2026-09-17 09:54:52.29187984 +0000 UTC m=+580.784182136" time="2026-09-17T09:54:52Z" msg="Received mailbox message count" gluonID=521d6c18-08d2-41a2-892c-c23aeebeb986 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap And the user sets the address mode of user "9b335cbe-ca5a-4a6c-a347-03cd99aa4143" to "split" # :1 -> *scenario time="2026-09-17T09:54:52Z" msg="Syncing labels" time="2026-09-17T09:54:52Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=521d6c18-08d2-41a2-892c-c23aeebeb986 time="2026-09-17T09:54:52Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=65392fa8-3c91-4dbe-8179-f6ca34afb8f0 time="2026-09-17T09:54:52Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=521d6c18-08d2-41a2-892c-c23aeebeb986 time="2026-09-17T09:54:52Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=65392fa8-3c91-4dbe-8179-f6ca34afb8f0 time="2026-09-17T09:54:52Z" msg="Mailbox created" /user remoteMailboxID=0 userID=521d6c18-08d2-41a2-892c-c23aeebeb986 time="2026-09-17T09:54:52Z" msg="Mailbox created" /user remoteMailboxID=5 userID=521d6c18-08d2-41a2-892c-c23aeebeb986 time="2026-09-17T09:54:52Z" msg="Mailbox created" /user remoteMailboxID=0 userID=65392fa8-3c91-4dbe-8179-f6ca34afb8f0 time="2026-09-17T09:54:52Z" msg="Mailbox created" /user remoteMailboxID=6 userID=521d6c18-08d2-41a2-892c-c23aeebeb986 time="2026-09-17T09:54:52Z" msg="Mailbox created" /user remoteMailboxID=5 userID=65392fa8-3c91-4dbe-8179-f6ca34afb8f0 time="2026-09-17T09:54:52Z" msg="Mailbox created" /user remoteMailboxID=7 userID=521d6c18-08d2-41a2-892c-c23aeebeb986 time="2026-09-17T09:54:52Z" msg="Mailbox created" /user remoteMailboxID=6 userID=65392fa8-3c91-4dbe-8179-f6ca34afb8f0 time="2026-09-17T09:54:52Z" msg="Mailbox created" /user remoteMailboxID=10 userID=521d6c18-08d2-41a2-892c-c23aeebeb986 time="2026-09-17T09:54:52Z" msg="Mailbox created" /user remoteMailboxID=7 userID=65392fa8-3c91-4dbe-8179-f6ca34afb8f0 time="2026-09-17T09:54:52Z" msg="Mailbox created" /user remoteMailboxID=3 userID=521d6c18-08d2-41a2-892c-c23aeebeb986 time="2026-09-17T09:54:52Z" msg="Mailbox created" /user remoteMailboxID=10 userID=65392fa8-3c91-4dbe-8179-f6ca34afb8f0 time="2026-09-17T09:54:52Z" msg="Mailbox created" /user remoteMailboxID=4 userID=521d6c18-08d2-41a2-892c-c23aeebeb986 time="2026-09-17T09:54:52Z" msg="Mailbox created" /user remoteMailboxID=8 userID=521d6c18-08d2-41a2-892c-c23aeebeb986 time="2026-09-17T09:54:52Z" msg="Mailbox created" /user remoteMailboxID=3 userID=65392fa8-3c91-4dbe-8179-f6ca34afb8f0 time="2026-09-17T09:54:52Z" msg="Mailbox created" /user remoteMailboxID=12 userID=521d6c18-08d2-41a2-892c-c23aeebeb986 time="2026-09-17T09:54:52Z" msg="Mailbox created" /user remoteMailboxID=4 userID=65392fa8-3c91-4dbe-8179-f6ca34afb8f0 time="2026-09-17T09:54:52Z" msg="Mailbox created" /user remoteMailboxID=8 userID=65392fa8-3c91-4dbe-8179-f6ca34afb8f0 time="2026-09-17T09:54:52Z" msg="Mailbox created" /user remoteMailboxID=12 userID=65392fa8-3c91-4dbe-8179-f6ca34afb8f0 time="2026-09-17T09:54:52Z" msg="Synced labels" time="2026-09-17T09:54:52Z" msg="200 OK: GET https://127.0.0.1:45849/mail/v4/messages/count" /client userID=4f43c150-4fc5-4531-b62b-9e9b16780d3a time="2026-09-17T09:54:52Z" msg="Syncing messages" time="2026-09-17T09:54:52Z" msg="Job started" time="2026-09-17T09:54:52Z" msg="200 OK: POST https://127.0.0.1:45849/mail/v4/messages" /client userID=4f43c150-4fc5-4531-b62b-9e9b16780d3a time="2026-09-17T09:54:52Z" msg="Job finished" time="2026-09-17T09:54:52Z" msg="All child jobs completed" sync- time="2026-09-17T09:54:52Z" msg="Synced messages" time="2026-09-17T09:54:52Z" msg="Finished user sync" .767719ms time="2026-09-17T09:54:52Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:54:52Z" msg="Event loop reset" eventID="AQ==" And user "9b335cbe-ca5a-4a6c-a347-03cd99aa4143" finishes syncing # :1 -> *scenario And it succeeds # :1 -> *scenario When user "9b335cbe-ca5a-4a6c-a347-03cd99aa4143" connects and authenticates SMTP client "1" with address "9b335cbe-ca5a-4a6c-a347-03cd99aa4143@proton.local" # :1 -> *scenario time="2026-09-17T09:54:52Z" msg="Sending observability data." time="2026-09-17T09:54:52Z" msg="200 OK: POST https://127.0.0.1:45849/data/v1/metrics" /client userID=4f43c150-4fc5-4531-b62b-9e9b16780d3a time="2026-09-17T09:54:52Z" msg="Successfully sent observability data." time="2026-09-17T09:54:52Z" msg="200 OK: GET https://127.0.0.1:45849/mail/v4/settings" /client userID=4f43c150-4fc5-4531-b62b-9e9b16780d3a time="2026-09-17T09:54:52Z" msg="200 OK: POST https://127.0.0.1:45849/mail/v4/messages" /client userID=4f43c150-4fc5-4531-b62b-9e9b16780d3a time="2026-09-17T09:54:52Z" msg="200 OK: GET https://127.0.0.1:45849/core/v4/keys?E.bridge.qa%40gmail.com" /client userID=4f43c150-4fc5-4531-b62b-9e9b16780d3a time="2026-09-17T09:54:52Z" msg="200 OK: GET https://127.0.0.1:45849/contacts/v4/emails?E.bridge.qa%40gmail.com&P&PageS" /client userID=4f43c150-4fc5-4531-b62b-9e9b16780d3a time="2026-09-17T09:54:52Z" msg="200 OK: POST https://127.0.0.1:45849/mail/v4/messages/50969f90-9977-4403-a5e8-9bdf3487add2" /client userID=4f43c150-4fc5-4531-b62b-9e9b16780d3a time="2026-09-17T09:54:52Z" msg="Scheduling observability data sending" And SMTP client "1" sends the following message from "2e68603d-9eb2-4de2-9f0d-db064aec01f9@proton.local" to "pm.bridge.qa@gmail.com": # :1 -> *scenario """ From: Bridge Test <[alias:alias]@[domain]> To: External Bridge hello """ Then it succeeds # :1 -> *scenario time="2026-09-17T09:54:52Z" msg="Frontend service stopped" time="2026-09-17T09:54:52Z" msg="Frontend client stopped" time="2026-09-17T09:54:52Z" msg="Closing bridge" time="2026-09-17T09:54:52Z" msg="Stopping service" time="2026-09-17T09:54:52Z" msg="Closing user" userID=4f43c150-4fc5-4531-b62b-9e9b16780d3a time="2026-09-17T09:54:52Z" msg="De-registering user client, ID:4f43c150-4fc5-4531-b62b-9e9b16780d3a" time="2026-09-17T09:54:52Z" msg="Exiting IMAP Service" time="2026-09-17T09:54:52Z" msg="Exiting service main loop" time="2026-09-17T09:54:52Z" msg="Exiting service main loop" time="2026-09-17T09:54:52Z" msg="Exiting Service" time="2026-09-17T09:54:52Z" msg="Exiting service main loop" time="2026-09-17T09:54:52Z" msg="Exiting service" time="2026-09-17T09:54:52Z" msg="Closing IMAP Listener" time="2026-09-17T09:54:52Z" msg="Closing IMAP server" time="2026-09-17T09:54:52Z" msg="Closing SMTP Listener" time="2026-09-17T09:54:52Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:54:52Z" msg="Closing SMTP server" time="2026-09-17T09:54:52Z" msg="Closing service" And the message used "2e68603d-9eb2-4de2-9f0d-db064aec01f9@proton.local" key for sending # :1 -> *scenario time="2026-09-17T09:54:52Z" msg="User 'd7442c7a-522e-4216-8770-0d4e2e53cd2f' created with " /server/backend Scenario: Disabled sender in combined mode fails to send # features/smtp/send/sender_key.feature:43 Given the account "d7442c7a-522e-4216-8770-0d4e2e53cd2f" has additional disabled address "f3b03c9e-990b-470a-b774-ddc4dbed66a3@proton.local" # :1 -> *scenario And it succeeds # :1 -> *scenario time="2026-09-17T09:54:53Z" msg="Starting bridge" time="2026-09-17T09:54:53Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/243/config525342203/grpcFocusServerConfig.json /service time="2026-09-17T09:54:53Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/243/cache2775101664/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:54:53Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/243/cache2775101664/notifications/notification_cache: no such file or directory" time="2026-09-17T09:54:53Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/243/data624349657/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/243/data624349657/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:54:53Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:54:53Z" msg="Starting IMAP server" time="2026-09-17T09:54:53Z" msg="Starting SMTP server" time="2026-09-17T09:54:53Z" msg="Starting service" time="2026-09-17T09:54:53Z" msg="Starting service" time="2026-09-17T09:54:53Z" msg="Starting receiver service" time="2026-09-17T09:54:53Z" msg="Starting frontend service" time="2026-09-17T09:54:53Z" msg="Starting poll service" time="2026-09-17T09:54:53Z" msg="Checking for updates" time="2026-09-17T09:54:53Z" msg="Loading users" /user time="2026-09-17T09:54:53Z" msg="Finished loading users" /user time="2026-09-17T09:54:53Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/243/config525342203/grpcServerConfig.json time="2026-09-17T09:54:53Z" msg="gRPC server listening on /tmp/bridge5643" time="2026-09-17T09:54:53Z" msg="Frontend service started" time="2026-09-17T09:54:53Z" msg="Starting frontend client" time="2026-09-17T09:54:53Z" msg="Not monitoring parent PID" time="2026-09-17T09:54:53Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:54:53Z" msg="200 OK: GET https://127.0.0.1:36791/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:54:53Z" msg="Frontend client started" And bridge starts # :1 -> *scenario time="2026-09-17T09:54:53Z" msg="Performing full user login" /user username="******** (31901896)" time="2026-09-17T09:54:53Z" msg="Authorizing user for login" /user username="******** (31901896)" time="2026-09-17T09:54:53Z" msg="200 OK: POST https://127.0.0.1:36791/auth/v4/info" /manager time="2026-09-17T09:54:54Z" msg="200 OK: POST https://127.0.0.1:36791/auth/v4" /manager time="2026-09-17T09:54:54Z" msg="Logging in authorized user" /user userID=088f7103-38ed-4614-8fb7-6acfa7f1a855 time="2026-09-17T09:54:54Z" msg="Adding vault user" userID=088f7103-38ed-4614-8fb7-6acfa7f1a855 time="2026-09-17T09:54:54Z" msg="Creating new user" userID=088f7103-38ed-4614-8fb7-6acfa7f1a855 time="2026-09-17T09:54:54Z" msg="404 GET https://127.0.0.1:36791/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:54:54Z" msg="404 GET https://127.0.0.1:36791/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:54:54Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:36791/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:54:54Z" msg="Creating user object" authUID=c63a0707-87e7-49d2-99ed-bca1f658b13d numA numL userID=088f7103-38ed-4614-8fb7-6acfa7f1a855 time="2026-09-17T09:54:54Z" msg="200 OK: GET https://127.0.0.1:36791/core/v4/events/latest" /client userID=088f7103-38ed-4614-8fb7-6acfa7f1a855 time="2026-09-17T09:54:54Z" msg="Starting service Last EventID=Ag==" time="2026-09-17T09:54:54Z" msg="200 OK: GET https://127.0.0.1:36791/core/v4/settings" /client userID=088f7103-38ed-4614-8fb7-6acfa7f1a855 time="2026-09-17T09:54:54Z" msg="Registering user client, ID:088f7103-38ed-4614-8fb7-6acfa7f1a855" time="2026-09-17T09:54:54Z" msg="Starting service main loop" time="2026-09-17T09:54:54Z" msg="Starting service main loop" time="2026-09-17T09:54:54Z" msg="Starting user identity service" numA time="2026-09-17T09:54:54Z" msg="Starting service main loop" time="2026-09-17T09:54:54Z" msg="200 OK: GET https://127.0.0.1:36791/core/v4/labels?T" /client userID=088f7103-38ed-4614-8fb7-6acfa7f1a855 time="2026-09-17T09:54:54Z" msg="200 OK: GET https://127.0.0.1:36791/core/v4/labels?T" /client userID=088f7103-38ed-4614-8fb7-6acfa7f1a855 time="2026-09-17T09:54:54Z" msg="200 OK: GET https://127.0.0.1:36791/core/v4/labels?T" /client userID=088f7103-38ed-4614-8fb7-6acfa7f1a855 time="2026-09-17T09:54:54Z" msg="Setting labels" labelIDs="[1 2 3 4 7 10 0 5 6 8 9 12]" time="2026-09-17T09:54:54Z" msg="Adding user to imap server" addrID=456d793f-2a85-418f-aec7-c1111d0aa542 time="2026-09-17T09:54:54Z" msg="Creating new IMAP user" addrID=456d793f-2a85-418f-aec7-c1111d0aa542 time="2026-09-17T09:54:54Z" msg="Setting gluon ID" addrID=456d793f-2a85-418f-aec7-c1111d0aa542 gluonID=c7c70cea-958f-47e0-811d-63f2887fa5bf userID=088f7103-38ed-4614-8fb7-6acfa7f1a855 time="2026-09-17T09:54:54Z" msg="Received mailbox message count" gluonID=c7c70cea-958f-47e0-811d-63f2887fa5bf labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:54:54Z" msg="Created new IMAP user" addrID=456d793f-2a85-418f-aec7-c1111d0aa542 gluonID=c7c70cea-958f-47e0-811d-63f2887fa5bf time="2026-09-17T09:54:54Z" msg="Validating Listener State" time="2026-09-17T09:54:54Z" time="2026-09-17T09:54:54Z" msg="Starting IMAP Service" time="2026-09-17T09:54:54Z" msg="Checking whether logged in user should re-sync. UserID:088f7103-38ed-4614-8fb7-6acfa7f1a855" userID=088f7103-38ed-4614-8fb7-6acfa7f1a855 And the user logs in with username "d7442c7a-522e-4216-8770-0d4e2e53cd2f" and password "password" # :1 -> *scenario And it succeeds # :1 -> *scenario time="2026-09-17T09:54:54Z" msg="Sync triggered" time="2026-09-17T09:54:54Z" msg="Beginning user sync" start="2026-09-17 09:54:54.303947855 +0000 UTC m=+582.796250151" time="2026-09-17T09:54:54Z" msg="Syncing labels" time="2026-09-17T09:54:54Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=c7c70cea-958f-47e0-811d-63f2887fa5bf When user "d7442c7a-522e-4216-8770-0d4e2e53cd2f" connects and authenticates SMTP client "1" with address "d7442c7a-522e-4216-8770-0d4e2e53cd2f@proton.local" # :1 -> *scenario time="2026-09-17T09:54:54Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=c7c70cea-958f-47e0-811d-63f2887fa5bf time="2026-09-17T09:54:54Z" msg="Send mail failed." error="invalid return path" time="2026-09-17T09:54:54Z" msg="Sending observability data." time="2026-09-17T09:54:54Z" msg="Mailbox created" /user remoteMailboxID=4 userID=c7c70cea-958f-47e0-811d-63f2887fa5bf And SMTP client "1" sends the following message from "85b3a5bf-d7f3-414f-8cbe-63c0f993d0c2@proton.local" to "pm.bridge.qa@gmail.com": # :1 -> *scenario """ From: Bridge Test <[alias:disabled]@[domain]> To: External Bridge hello """ time="2026-09-17T09:54:54Z" msg="Mailbox created" /user remoteMailboxID=7 userID=c7c70cea-958f-47e0-811d-63f2887fa5bf time="2026-09-17T09:54:54Z" msg="200 OK: POST https://127.0.0.1:36791/data/v1/metrics" /client userID=088f7103-38ed-4614-8fb7-6acfa7f1a855 time="2026-09-17T09:54:54Z" msg="Successfully sent observability data." time="2026-09-17T09:54:54Z" msg="Frontend service stopped" time="2026-09-17T09:54:54Z" msg="Frontend client stopped" time="2026-09-17T09:54:54Z" msg="Closing bridge" time="2026-09-17T09:54:54Z" msg="Stopping service" time="2026-09-17T09:54:54Z" msg="Closing user" userID=088f7103-38ed-4614-8fb7-6acfa7f1a855 time="2026-09-17T09:54:54Z" msg="De-registering user client, ID:088f7103-38ed-4614-8fb7-6acfa7f1a855" time="2026-09-17T09:54:54Z" msg="Mailbox created" /user remoteMailboxID=10 userID=c7c70cea-958f-47e0-811d-63f2887fa5bf time="2026-09-17T09:54:54Z" msg="Synced labels" time="2026-09-17T09:54:54Z" msg="Get \"https://127.0.0.1:36791/mail/v4/messages/count\": context canceled, Attempt 1" /client time="2026-09-17T09:54:54Z" msg="Get \"https://127.0.0.1:36791/mail/v4/messages/count\": context canceled" /client time="2026-09-17T09:54:54Z" msg="Failed to sync, will retry later" error="failed to retrieve message ids: received no response from API: Get \"https://127.0.0.1:36791/mail/v4/messages/count\": context canceled" time="2026-09-17T09:54:54Z" msg="Sync aborted" error="context canceled" time="2026-09-17T09:54:54Z" msg="Finished user sync" .749417ms time="2026-09-17T09:54:54Z" msg="Exiting IMAP Service" time="2026-09-17T09:54:54Z" msg="Exiting service main loop" time="2026-09-17T09:54:54Z" msg="Exiting service main loop" time="2026-09-17T09:54:54Z" msg="Exiting Service" time="2026-09-17T09:54:54Z" msg="Exiting service main loop" time="2026-09-17T09:54:54Z" msg="Exiting service" time="2026-09-17T09:54:54Z" msg="Closing IMAP Listener" time="2026-09-17T09:54:54Z" msg="Closing IMAP server" time="2026-09-17T09:54:54Z" msg="Mailbox created" /user remoteMailboxID=6 userID=c7c70cea-958f-47e0-811d-63f2887fa5bf time="2026-09-17T09:54:54Z" msg="Closing SMTP Listener" time="2026-09-17T09:54:54Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:54:54Z" msg="Closing SMTP server" time="2026-09-17T09:54:54Z" msg="Closing service" Then it fails # :1 -> *scenario time="2026-09-17T09:54:54Z" msg="User 'ae1815a6-5dad-4d0a-946c-85201df752cc' created with " /server/backend Scenario: Disabled sender in split mode fails to send # features/smtp/send/sender_key.feature:62 Given the account "ae1815a6-5dad-4d0a-946c-85201df752cc" has additional disabled address "afe13e94-9da4-426a-bd7b-1ab1eeb460ad@proton.local" # :1 -> *scenario And it succeeds # :1 -> *scenario time="2026-09-17T09:54:55Z" msg="Starting bridge" time="2026-09-17T09:54:55Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/244/config4177316382/grpcFocusServerConfig.json /service time="2026-09-17T09:54:55Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/244/cache4225564959/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:54:55Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/244/cache4225564959/notifications/notification_cache: no such file or directory" time="2026-09-17T09:54:55Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/244/data1420949997/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/244/data1420949997/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:54:55Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:54:55Z" msg="Starting IMAP server" time="2026-09-17T09:54:55Z" msg="Starting SMTP server" time="2026-09-17T09:54:55Z" msg="Starting service" time="2026-09-17T09:54:55Z" msg="Starting service" time="2026-09-17T09:54:55Z" msg="Starting poll service" time="2026-09-17T09:54:55Z" msg="Checking for updates" time="2026-09-17T09:54:55Z" msg="Loading users" /user time="2026-09-17T09:54:55Z" msg="Starting receiver service" time="2026-09-17T09:54:55Z" msg="Starting frontend service" time="2026-09-17T09:54:55Z" msg="Finished loading users" /user time="2026-09-17T09:54:55Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/244/config4177316382/grpcServerConfig.json time="2026-09-17T09:54:55Z" msg="gRPC server listening on /tmp/bridge4511" time="2026-09-17T09:54:55Z" msg="Frontend service started" time="2026-09-17T09:54:55Z" msg="Starting frontend client" time="2026-09-17T09:54:55Z" msg="Not monitoring parent PID" time="2026-09-17T09:54:55Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:54:55Z" msg="200 OK: GET https://127.0.0.1:46477/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:54:55Z" msg="Frontend client started" And bridge starts # :1 -> *scenario time="2026-09-17T09:54:55Z" msg="Performing full user login" /user username="******** (0352591b)" time="2026-09-17T09:54:55Z" msg="Authorizing user for login" /user username="******** (0352591b)" time="2026-09-17T09:54:55Z" msg="200 OK: POST https://127.0.0.1:46477/auth/v4/info" /manager time="2026-09-17T09:54:56Z" msg="200 OK: POST https://127.0.0.1:46477/auth/v4" /manager time="2026-09-17T09:54:56Z" msg="Logging in authorized user" /user userID=8aa66dd1-aaa1-4adb-9b7b-038757ed80c7 time="2026-09-17T09:54:56Z" msg="Adding vault user" userID=8aa66dd1-aaa1-4adb-9b7b-038757ed80c7 time="2026-09-17T09:54:56Z" msg="Creating new user" userID=8aa66dd1-aaa1-4adb-9b7b-038757ed80c7 time="2026-09-17T09:54:56Z" msg="404 GET https://127.0.0.1:46477/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:54:56Z" msg="404 GET https://127.0.0.1:46477/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:54:56Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:46477/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:54:56Z" msg="Creating user object" authUID=e95e5f29-af5d-4ff6-b5cc-9d7b521e01fc numA numL userID=8aa66dd1-aaa1-4adb-9b7b-038757ed80c7 time="2026-09-17T09:54:56Z" msg="200 OK: GET https://127.0.0.1:46477/core/v4/events/latest" /client userID=8aa66dd1-aaa1-4adb-9b7b-038757ed80c7 time="2026-09-17T09:54:56Z" msg="Starting service Last EventID=Ag==" time="2026-09-17T09:54:56Z" msg="200 OK: GET https://127.0.0.1:46477/core/v4/settings" /client userID=8aa66dd1-aaa1-4adb-9b7b-038757ed80c7 time="2026-09-17T09:54:56Z" msg="Registering user client, ID:8aa66dd1-aaa1-4adb-9b7b-038757ed80c7" time="2026-09-17T09:54:56Z" msg="Starting service main loop" time="2026-09-17T09:54:56Z" msg="Starting user identity service" numA time="2026-09-17T09:54:56Z" msg="Starting service main loop" time="2026-09-17T09:54:56Z" msg="Starting service main loop" time="2026-09-17T09:54:56Z" msg="200 OK: GET https://127.0.0.1:46477/core/v4/labels?T" /client userID=8aa66dd1-aaa1-4adb-9b7b-038757ed80c7 time="2026-09-17T09:54:56Z" msg="200 OK: GET https://127.0.0.1:46477/core/v4/labels?T" /client userID=8aa66dd1-aaa1-4adb-9b7b-038757ed80c7 time="2026-09-17T09:54:56Z" msg="200 OK: GET https://127.0.0.1:46477/core/v4/labels?T" /client userID=8aa66dd1-aaa1-4adb-9b7b-038757ed80c7 time="2026-09-17T09:54:56Z" msg="Setting labels" labelIDs="[0 2 7 8 9 10 12 1 3 4 5 6]" time="2026-09-17T09:54:56Z" msg="Adding user to imap server" addrID=61a47e8c-11d1-45e6-84c8-dafdeaf85992 time="2026-09-17T09:54:56Z" msg="Creating new IMAP user" addrID=61a47e8c-11d1-45e6-84c8-dafdeaf85992 time="2026-09-17T09:54:56Z" msg="Setting gluon ID" addrID=61a47e8c-11d1-45e6-84c8-dafdeaf85992 gluonID=65b9122c-9f79-463c-aa10-6ebcdfee48e2 userID=8aa66dd1-aaa1-4adb-9b7b-038757ed80c7 time="2026-09-17T09:54:56Z" msg="Received mailbox message count" gluonID=65b9122c-9f79-463c-aa10-6ebcdfee48e2 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:54:56Z" msg="Created new IMAP user" addrID=61a47e8c-11d1-45e6-84c8-dafdeaf85992 gluonID=65b9122c-9f79-463c-aa10-6ebcdfee48e2 time="2026-09-17T09:54:56Z" msg="Validating Listener State" time="2026-09-17T09:54:56Z" time="2026-09-17T09:54:56Z" msg="Starting IMAP Service" time="2026-09-17T09:54:56Z" msg="Checking whether logged in user should re-sync. UserID:8aa66dd1-aaa1-4adb-9b7b-038757ed80c7" userID=8aa66dd1-aaa1-4adb-9b7b-038757ed80c7 time="2026-09-17T09:54:56Z" msg="Sync triggered" time="2026-09-17T09:54:56Z" msg="Beginning user sync" start="2026-09-17 09:54:56.3227855 +0000 UTC m=+584.815087796" And the user logs in with username "ae1815a6-5dad-4d0a-946c-85201df752cc" and password "password" # :1 -> *scenario time="2026-09-17T09:54:56Z" msg="Setting address mode" /user userID=8aa66dd1-aaa1-4adb-9b7b-038757ed80c7 time="2026-09-17T09:54:56Z" msg="Setting address mode" userID=8aa66dd1-aaa1-4adb-9b7b-038757ed80c7 time="2026-09-17T09:54:56Z" msg="Setting Split Address Mode" time="2026-09-17T09:54:56Z" msg="Failed to check and report label conflicts" error="context canceled" time="2026-09-17T09:54:56Z" msg="Sync aborted" error="context canceled" time="2026-09-17T09:54:56Z" msg="Finished user sync" duration="621.843µs" time="2026-09-17T09:54:56Z" msg="Removing gluon ID" addrID=61a47e8c-11d1-45e6-84c8-dafdeaf85992 gluonID=65b9122c-9f79-463c-aa10-6ebcdfee48e2 userID=8aa66dd1-aaa1-4adb-9b7b-038757ed80c7 time="2026-09-17T09:54:56Z" msg="Validating Listener State" time="2026-09-17T09:54:56Z" msg="Adding user to imap server" addrID=330646e1-ba21-40e8-be1d-f169cba210cc time="2026-09-17T09:54:56Z" msg="Creating new IMAP user" addrID=330646e1-ba21-40e8-be1d-f169cba210cc time="2026-09-17T09:54:56Z" msg="Setting gluon ID" addrID=330646e1-ba21-40e8-be1d-f169cba210cc gluonID=1a201110-3663-48d5-88d9-ef184dd9a367 userID=8aa66dd1-aaa1-4adb-9b7b-038757ed80c7 time="2026-09-17T09:54:56Z" msg="Received mailbox message count" gluonID=1a201110-3663-48d5-88d9-ef184dd9a367 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:54:56Z" msg="Created new IMAP user" addrID=330646e1-ba21-40e8-be1d-f169cba210cc gluonID=1a201110-3663-48d5-88d9-ef184dd9a367 time="2026-09-17T09:54:56Z" msg="Validating Listener State" time="2026-09-17T09:54:56Z" msg="Adding user to imap server" addrID=61a47e8c-11d1-45e6-84c8-dafdeaf85992 time="2026-09-17T09:54:56Z" msg="Creating new IMAP user" addrID=61a47e8c-11d1-45e6-84c8-dafdeaf85992 time="2026-09-17T09:54:56Z" msg="Setting gluon ID" addrID=61a47e8c-11d1-45e6-84c8-dafdeaf85992 gluonID=1442cc0b-b891-41d7-972b-df2063e3befa userID=8aa66dd1-aaa1-4adb-9b7b-038757ed80c7 time="2026-09-17T09:54:56Z" msg="Received mailbox message count" gluonID=1442cc0b-b891-41d7-972b-df2063e3befa labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:54:56Z" msg="Created new IMAP user" addrID=61a47e8c-11d1-45e6-84c8-dafdeaf85992 gluonID=1442cc0b-b891-41d7-972b-df2063e3befa time="2026-09-17T09:54:56Z" msg="Validating Listener State" time="2026-09-17T09:54:56Z" msg="Adding user to imap server" addrID=1825a541-3a0d-405f-8501-f0b2bc135328 time="2026-09-17T09:54:56Z" msg="Creating new IMAP user" addrID=1825a541-3a0d-405f-8501-f0b2bc135328 time="2026-09-17T09:54:56Z" msg="Setting gluon ID" addrID=1825a541-3a0d-405f-8501-f0b2bc135328 gluonID=68f42974-5533-47e7-bd28-b74f813cd077 userID=8aa66dd1-aaa1-4adb-9b7b-038757ed80c7 time="2026-09-17T09:54:56Z" msg="Received mailbox message count" gluonID=68f42974-5533-47e7-bd28-b74f813cd077 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:54:56Z" msg="Created new IMAP user" addrID=1825a541-3a0d-405f-8501-f0b2bc135328 gluonID=68f42974-5533-47e7-bd28-b74f813cd077 time="2026-09-17T09:54:56Z" msg="Validating Listener State" time="2026-09-17T09:54:56Z" msg="Sync triggered" time="2026-09-17T09:54:56Z" msg="Beginning user sync" start="2026-09-17 09:54:56.348797857 +0000 UTC m=+584.841100233" And the user sets the address mode of user "ae1815a6-5dad-4d0a-946c-85201df752cc" to "split" # :1 -> *scenario time="2026-09-17T09:54:56Z" msg="Syncing labels" time="2026-09-17T09:54:56Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=1442cc0b-b891-41d7-972b-df2063e3befa time="2026-09-17T09:54:56Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=1a201110-3663-48d5-88d9-ef184dd9a367 time="2026-09-17T09:54:56Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=68f42974-5533-47e7-bd28-b74f813cd077 time="2026-09-17T09:54:56Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=1442cc0b-b891-41d7-972b-df2063e3befa time="2026-09-17T09:54:56Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=1a201110-3663-48d5-88d9-ef184dd9a367 time="2026-09-17T09:54:56Z" msg="Mailbox created" /user remoteMailboxID=3 userID=1a201110-3663-48d5-88d9-ef184dd9a367 time="2026-09-17T09:54:56Z" msg="Mailbox created" /user remoteMailboxID=3 userID=1442cc0b-b891-41d7-972b-df2063e3befa time="2026-09-17T09:54:56Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=68f42974-5533-47e7-bd28-b74f813cd077 time="2026-09-17T09:54:56Z" msg="Mailbox created" /user remoteMailboxID=5 userID=1a201110-3663-48d5-88d9-ef184dd9a367 time="2026-09-17T09:54:56Z" msg="Mailbox created" /user remoteMailboxID=5 userID=1442cc0b-b891-41d7-972b-df2063e3befa time="2026-09-17T09:54:56Z" msg="Mailbox created" /user remoteMailboxID=7 userID=1a201110-3663-48d5-88d9-ef184dd9a367 time="2026-09-17T09:54:56Z" msg="Mailbox created" /user remoteMailboxID=7 userID=1442cc0b-b891-41d7-972b-df2063e3befa time="2026-09-17T09:54:56Z" msg="Mailbox created" /user remoteMailboxID=8 userID=1a201110-3663-48d5-88d9-ef184dd9a367 time="2026-09-17T09:54:56Z" msg="Mailbox created" /user remoteMailboxID=3 userID=68f42974-5533-47e7-bd28-b74f813cd077 time="2026-09-17T09:54:56Z" msg="Mailbox created" /user remoteMailboxID=10 userID=1a201110-3663-48d5-88d9-ef184dd9a367 time="2026-09-17T09:54:56Z" msg="Mailbox created" /user remoteMailboxID=8 userID=1442cc0b-b891-41d7-972b-df2063e3befa time="2026-09-17T09:54:56Z" msg="Mailbox created" /user remoteMailboxID=12 userID=1a201110-3663-48d5-88d9-ef184dd9a367 time="2026-09-17T09:54:56Z" msg="Mailbox created" /user remoteMailboxID=10 userID=1442cc0b-b891-41d7-972b-df2063e3befa time="2026-09-17T09:54:56Z" msg="Mailbox created" /user remoteMailboxID=5 userID=68f42974-5533-47e7-bd28-b74f813cd077 time="2026-09-17T09:54:56Z" msg="Mailbox created" /user remoteMailboxID=4 userID=1a201110-3663-48d5-88d9-ef184dd9a367 time="2026-09-17T09:54:56Z" msg="Mailbox created" /user remoteMailboxID=12 userID=1442cc0b-b891-41d7-972b-df2063e3befa time="2026-09-17T09:54:56Z" msg="Mailbox created" /user remoteMailboxID=6 userID=1a201110-3663-48d5-88d9-ef184dd9a367 time="2026-09-17T09:54:56Z" msg="Mailbox created" /user remoteMailboxID=4 userID=1442cc0b-b891-41d7-972b-df2063e3befa time="2026-09-17T09:54:56Z" msg="Mailbox created" /user remoteMailboxID=7 userID=68f42974-5533-47e7-bd28-b74f813cd077 time="2026-09-17T09:54:56Z" msg="Mailbox created" /user remoteMailboxID=6 userID=1442cc0b-b891-41d7-972b-df2063e3befa time="2026-09-17T09:54:56Z" msg="Mailbox created" /user remoteMailboxID=0 userID=1a201110-3663-48d5-88d9-ef184dd9a367 time="2026-09-17T09:54:56Z" msg="Mailbox created" /user remoteMailboxID=0 userID=1442cc0b-b891-41d7-972b-df2063e3befa time="2026-09-17T09:54:56Z" msg="Mailbox created" /user remoteMailboxID=8 userID=68f42974-5533-47e7-bd28-b74f813cd077 time="2026-09-17T09:54:56Z" msg="Mailbox created" /user remoteMailboxID=10 userID=68f42974-5533-47e7-bd28-b74f813cd077 time="2026-09-17T09:54:56Z" msg="Mailbox created" /user remoteMailboxID=12 userID=68f42974-5533-47e7-bd28-b74f813cd077 time="2026-09-17T09:54:56Z" msg="Mailbox created" /user remoteMailboxID=4 userID=68f42974-5533-47e7-bd28-b74f813cd077 time="2026-09-17T09:54:56Z" msg="Mailbox created" /user remoteMailboxID=6 userID=68f42974-5533-47e7-bd28-b74f813cd077 time="2026-09-17T09:54:56Z" msg="Mailbox created" /user remoteMailboxID=0 userID=68f42974-5533-47e7-bd28-b74f813cd077 time="2026-09-17T09:54:56Z" msg="Synced labels" time="2026-09-17T09:54:56Z" msg="200 OK: GET https://127.0.0.1:46477/mail/v4/messages/count" /client userID=8aa66dd1-aaa1-4adb-9b7b-038757ed80c7 time="2026-09-17T09:54:56Z" msg="Syncing messages" time="2026-09-17T09:54:56Z" msg="Job started" time="2026-09-17T09:54:56Z" msg="200 OK: POST https://127.0.0.1:46477/mail/v4/messages" /client userID=8aa66dd1-aaa1-4adb-9b7b-038757ed80c7 time="2026-09-17T09:54:56Z" msg="Job finished" time="2026-09-17T09:54:56Z" msg="All child jobs completed" sync- time="2026-09-17T09:54:56Z" msg="Synced messages" time="2026-09-17T09:54:56Z" msg="Finished user sync" .135423ms time="2026-09-17T09:54:56Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:54:56Z" msg="Event loop reset" eventID="Ag==" And user "ae1815a6-5dad-4d0a-946c-85201df752cc" finishes syncing # :1 -> *scenario And it succeeds # :1 -> *scenario When user "ae1815a6-5dad-4d0a-946c-85201df752cc" connects and authenticates SMTP client "1" with address "3c592533-b0b0-4fb5-a755-94ed3d2ff863@proton.local" # :1 -> *scenario time="2026-09-17T09:54:56Z" msg="Sending observability data." time="2026-09-17T09:54:56Z" msg="Cannot send emails from address: afe13e94-9da4-426a-bd7b-1ab1eeb460ad@proton.local" time="2026-09-17T09:54:56Z" msg="Send mail failed." error="cannot send from address: afe13e94-9da4-426a-bd7b-1ab1eeb460ad@proton.local" And SMTP client "1" sends the following message from "afe13e94-9da4-426a-bd7b-1ab1eeb460ad@proton.local" to "pm.bridge.qa@gmail.com": # :1 -> *scenario """ From: Bridge Test <[alias:disabled]@[domain]> To: External Bridge hello """ time="2026-09-17T09:54:56Z" msg="200 OK: POST https://127.0.0.1:46477/data/v1/metrics" /client userID=8aa66dd1-aaa1-4adb-9b7b-038757ed80c7 time="2026-09-17T09:54:56Z" msg="Successfully sent observability data." time="2026-09-17T09:54:56Z" msg="Frontend service stopped" time="2026-09-17T09:54:56Z" msg="Frontend client stopped" time="2026-09-17T09:54:56Z" msg="Closing bridge" time="2026-09-17T09:54:56Z" msg="Stopping service" time="2026-09-17T09:54:56Z" msg="Closing user" userID=8aa66dd1-aaa1-4adb-9b7b-038757ed80c7 time="2026-09-17T09:54:56Z" msg="De-registering user client, ID:8aa66dd1-aaa1-4adb-9b7b-038757ed80c7" time="2026-09-17T09:54:56Z" msg="Exiting IMAP Service" time="2026-09-17T09:54:56Z" msg="Exiting service main loop" time="2026-09-17T09:54:56Z" msg="Exiting service main loop" time="2026-09-17T09:54:56Z" msg="Exiting Service" time="2026-09-17T09:54:56Z" msg="Exiting service main loop" time="2026-09-17T09:54:56Z" msg="Exiting service" time="2026-09-17T09:54:56Z" msg="Closing IMAP Listener" time="2026-09-17T09:54:56Z" msg="Closing IMAP server" time="2026-09-17T09:54:56Z" msg="Closing SMTP Listener" time="2026-09-17T09:54:56Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:54:56Z" msg="Closing SMTP server" time="2026-09-17T09:54:56Z" msg="Closing service" Then it fails # :1 -> *scenario Feature: SMTP sending two messages time="2026-09-17T09:54:56Z" msg="User 'b378f68d-05a7-4741-8e8a-4766ee8a7282' created with " /server/backend Background: Given there exists an account with username "b378f68d-05a7-4741-8e8a-4766ee8a7282" and password "password" # :1 -> *scenario time="2026-09-17T09:54:57Z" msg="User '013d89da-807d-443d-bdf8-d4ce039e13bd' created with " /server/backend And there exists an account with username "013d89da-807d-443d-bdf8-d4ce039e13bd" and password "password" # :1 -> *scenario And the account "013d89da-807d-443d-bdf8-d4ce039e13bd" has additional address "20c29fe3-be4b-49b3-8b54-2ea102cac010@proton.local" # :1 -> *scenario time="2026-09-17T09:54:58Z" msg="User 'a0464bf3-1c23-49c2-960a-2ce4d1382670' created with " /server/backend And there exists an account with username "a0464bf3-1c23-49c2-960a-2ce4d1382670" and password "password" # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:54:58Z" msg="Starting bridge" time="2026-09-17T09:54:58Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/245/config2832598986/grpcFocusServerConfig.json /service time="2026-09-17T09:54:58Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/245/cache966604678/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:54:58Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/245/cache966604678/notifications/notification_cache: no such file or directory" time="2026-09-17T09:54:58Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/245/data52504537/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/245/data52504537/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:54:58Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:54:58Z" msg="Starting IMAP server" time="2026-09-17T09:54:58Z" msg="Starting SMTP server" time="2026-09-17T09:54:58Z" msg="Starting service" time="2026-09-17T09:54:58Z" msg="Starting service" time="2026-09-17T09:54:58Z" msg="Starting frontend service" time="2026-09-17T09:54:58Z" msg="Starting receiver service" time="2026-09-17T09:54:58Z" msg="Checking for updates" time="2026-09-17T09:54:58Z" msg="Starting poll service" time="2026-09-17T09:54:58Z" msg="Loading users" /user time="2026-09-17T09:54:58Z" msg="Finished loading users" /user time="2026-09-17T09:54:58Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/245/config2832598986/grpcServerConfig.json time="2026-09-17T09:54:58Z" msg="gRPC server listening on /tmp/bridge4334" time="2026-09-17T09:54:58Z" msg="Frontend service started" time="2026-09-17T09:54:58Z" msg="Starting frontend client" time="2026-09-17T09:54:58Z" msg="Not monitoring parent PID" time="2026-09-17T09:54:58Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:54:58Z" msg="200 OK: GET https://127.0.0.1:42743/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:54:58Z" msg="Frontend client started" When bridge starts # :1 -> *scenario time="2026-09-17T09:54:58Z" msg="Performing full user login" /user username="******** (9fdd0f4f)" time="2026-09-17T09:54:58Z" msg="Authorizing user for login" /user username="******** (9fdd0f4f)" time="2026-09-17T09:54:58Z" msg="200 OK: POST https://127.0.0.1:42743/auth/v4/info" /manager time="2026-09-17T09:54:59Z" msg="200 OK: POST https://127.0.0.1:42743/auth/v4" /manager time="2026-09-17T09:54:59Z" msg="Logging in authorized user" /user userID=9d3d63d6-ee5a-4024-ac21-1bf934d8b9df time="2026-09-17T09:54:59Z" msg="Adding vault user" userID=9d3d63d6-ee5a-4024-ac21-1bf934d8b9df time="2026-09-17T09:54:59Z" msg="Creating new user" userID=9d3d63d6-ee5a-4024-ac21-1bf934d8b9df time="2026-09-17T09:54:59Z" msg="404 GET https://127.0.0.1:42743/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:54:59Z" msg="404 GET https://127.0.0.1:42743/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:54:59Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:42743/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:54:59Z" msg="Creating user object" authUID=57c227ad-1472-4b19-a87b-939de211cc0e numA numL userID=9d3d63d6-ee5a-4024-ac21-1bf934d8b9df time="2026-09-17T09:54:59Z" msg="200 OK: GET https://127.0.0.1:42743/core/v4/events/latest" /client userID=9d3d63d6-ee5a-4024-ac21-1bf934d8b9df time="2026-09-17T09:54:59Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:54:59Z" msg="200 OK: GET https://127.0.0.1:42743/core/v4/settings" /client userID=9d3d63d6-ee5a-4024-ac21-1bf934d8b9df time="2026-09-17T09:54:59Z" msg="Registering user client, ID:9d3d63d6-ee5a-4024-ac21-1bf934d8b9df" time="2026-09-17T09:54:59Z" msg="Starting user identity service" numA time="2026-09-17T09:54:59Z" msg="Starting service main loop" time="2026-09-17T09:54:59Z" msg="Starting service main loop" time="2026-09-17T09:54:59Z" msg="Starting service main loop" time="2026-09-17T09:54:59Z" msg="200 OK: GET https://127.0.0.1:42743/core/v4/labels?T" /client userID=9d3d63d6-ee5a-4024-ac21-1bf934d8b9df time="2026-09-17T09:54:59Z" msg="200 OK: GET https://127.0.0.1:42743/core/v4/labels?T" /client userID=9d3d63d6-ee5a-4024-ac21-1bf934d8b9df time="2026-09-17T09:54:59Z" msg="200 OK: GET https://127.0.0.1:42743/core/v4/labels?T" /client userID=9d3d63d6-ee5a-4024-ac21-1bf934d8b9df time="2026-09-17T09:54:59Z" msg="Setting labels" labelIDs="[0 1 3 4 5 7 10 12 2 6 8 9]" time="2026-09-17T09:54:59Z" msg="Adding user to imap server" addrID=bca5342c-16fe-4509-af60-1b44d80bb714 time="2026-09-17T09:54:59Z" msg="Creating new IMAP user" addrID=bca5342c-16fe-4509-af60-1b44d80bb714 time="2026-09-17T09:54:59Z" msg="Setting gluon ID" addrID=bca5342c-16fe-4509-af60-1b44d80bb714 gluonID=98037ea1-20db-4155-8791-df674710b790 userID=9d3d63d6-ee5a-4024-ac21-1bf934d8b9df time="2026-09-17T09:54:59Z" msg="Received mailbox message count" gluonID=98037ea1-20db-4155-8791-df674710b790 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:54:59Z" msg="Created new IMAP user" addrID=bca5342c-16fe-4509-af60-1b44d80bb714 gluonID=98037ea1-20db-4155-8791-df674710b790 time="2026-09-17T09:54:59Z" msg="Validating Listener State" time="2026-09-17T09:54:59Z" time="2026-09-17T09:54:59Z" msg="Checking whether logged in user should re-sync. UserID:9d3d63d6-ee5a-4024-ac21-1bf934d8b9df" userID=9d3d63d6-ee5a-4024-ac21-1bf934d8b9df time="2026-09-17T09:54:59Z" msg="Starting IMAP Service" time="2026-09-17T09:54:59Z" msg="Sync triggered" time="2026-09-17T09:54:59Z" msg="Beginning user sync" start="2026-09-17 09:54:59.133210614 +0000 UTC m=+587.625512910" And the user logs in with username "b378f68d-05a7-4741-8e8a-4766ee8a7282" and password "password" # :1 -> *scenario time="2026-09-17T09:54:59Z" msg="Performing full user login" /user username="******** (b5ab558d)" time="2026-09-17T09:54:59Z" msg="Authorizing user for login" /user username="******** (b5ab558d)" time="2026-09-17T09:54:59Z" msg="Syncing labels" time="2026-09-17T09:54:59Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=98037ea1-20db-4155-8791-df674710b790 time="2026-09-17T09:54:59Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=98037ea1-20db-4155-8791-df674710b790 time="2026-09-17T09:54:59Z" msg="Mailbox created" /user remoteMailboxID=3 userID=98037ea1-20db-4155-8791-df674710b790 time="2026-09-17T09:54:59Z" msg="Mailbox created" /user remoteMailboxID=4 userID=98037ea1-20db-4155-8791-df674710b790 time="2026-09-17T09:54:59Z" msg="Mailbox created" /user remoteMailboxID=5 userID=98037ea1-20db-4155-8791-df674710b790 time="2026-09-17T09:54:59Z" msg="Mailbox created" /user remoteMailboxID=12 userID=98037ea1-20db-4155-8791-df674710b790 time="2026-09-17T09:54:59Z" msg="Mailbox created" /user remoteMailboxID=7 userID=98037ea1-20db-4155-8791-df674710b790 time="2026-09-17T09:54:59Z" msg="Mailbox created" /user remoteMailboxID=10 userID=98037ea1-20db-4155-8791-df674710b790 time="2026-09-17T09:54:59Z" msg="Mailbox created" /user remoteMailboxID=6 userID=98037ea1-20db-4155-8791-df674710b790 time="2026-09-17T09:54:59Z" msg="Mailbox created" /user remoteMailboxID=8 userID=98037ea1-20db-4155-8791-df674710b790 time="2026-09-17T09:54:59Z" msg="Mailbox created" /user remoteMailboxID=0 userID=98037ea1-20db-4155-8791-df674710b790 time="2026-09-17T09:54:59Z" msg="Synced labels" time="2026-09-17T09:54:59Z" msg="200 OK: GET https://127.0.0.1:42743/mail/v4/messages/count" /client userID=9d3d63d6-ee5a-4024-ac21-1bf934d8b9df time="2026-09-17T09:54:59Z" msg="200 OK: POST https://127.0.0.1:42743/auth/v4/info" /manager time="2026-09-17T09:54:59Z" msg="Syncing messages" time="2026-09-17T09:54:59Z" msg="Job started" time="2026-09-17T09:54:59Z" msg="200 OK: POST https://127.0.0.1:42743/mail/v4/messages" /client userID=9d3d63d6-ee5a-4024-ac21-1bf934d8b9df time="2026-09-17T09:54:59Z" msg="Job finished" time="2026-09-17T09:54:59Z" msg="All child jobs completed" sync- time="2026-09-17T09:54:59Z" msg="Synced messages" time="2026-09-17T09:54:59Z" msg="Finished user sync" .171255ms time="2026-09-17T09:54:59Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:54:59Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:54:59Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 4} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:54:59Z" msg="200 OK: POST https://127.0.0.1:42743/auth/v4" /manager time="2026-09-17T09:54:59Z" msg="Logging in authorized user" /user userID=0ede3464-8bae-49b0-910f-d3e7718bf29c time="2026-09-17T09:54:59Z" msg="Adding vault user" userID=0ede3464-8bae-49b0-910f-d3e7718bf29c time="2026-09-17T09:54:59Z" msg="Creating new user" userID=0ede3464-8bae-49b0-910f-d3e7718bf29c time="2026-09-17T09:54:59Z" msg="404 GET https://127.0.0.1:42743/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:54:59Z" msg="404 GET https://127.0.0.1:42743/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:54:59Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:42743/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:54:59Z" msg="Creating user object" authUID=7c03f794-28fc-4550-9dc4-7592347f3c3a numA numL userID=0ede3464-8bae-49b0-910f-d3e7718bf29c time="2026-09-17T09:54:59Z" msg="200 OK: GET https://127.0.0.1:42743/core/v4/events/latest" /client userID=0ede3464-8bae-49b0-910f-d3e7718bf29c time="2026-09-17T09:54:59Z" msg="Starting service Last EventID=Ag==" time="2026-09-17T09:54:59Z" msg="200 OK: GET https://127.0.0.1:42743/core/v4/settings" /client userID=0ede3464-8bae-49b0-910f-d3e7718bf29c time="2026-09-17T09:54:59Z" msg="Registering user client, ID:0ede3464-8bae-49b0-910f-d3e7718bf29c" time="2026-09-17T09:54:59Z" msg="Starting service main loop" time="2026-09-17T09:54:59Z" msg="Starting service main loop" time="2026-09-17T09:54:59Z" msg="Starting user identity service" numA time="2026-09-17T09:54:59Z" msg="Starting service main loop" time="2026-09-17T09:54:59Z" msg="200 OK: GET https://127.0.0.1:42743/core/v4/labels?T" /client userID=0ede3464-8bae-49b0-910f-d3e7718bf29c time="2026-09-17T09:54:59Z" msg="200 OK: GET https://127.0.0.1:42743/core/v4/labels?T" /client userID=0ede3464-8bae-49b0-910f-d3e7718bf29c time="2026-09-17T09:54:59Z" msg="200 OK: GET https://127.0.0.1:42743/core/v4/labels?T" /client userID=0ede3464-8bae-49b0-910f-d3e7718bf29c time="2026-09-17T09:54:59Z" msg="Setting labels" labelIDs="[0 3 5 6 7 9 12 1 2 4 8 10]" time="2026-09-17T09:54:59Z" msg="Adding user to imap server" addrID=db90efe6-64d5-48c1-ac1b-c21a6560b992 time="2026-09-17T09:54:59Z" msg="Creating new IMAP user" addrID=db90efe6-64d5-48c1-ac1b-c21a6560b992 time="2026-09-17T09:54:59Z" msg="Setting gluon ID" addrID=db90efe6-64d5-48c1-ac1b-c21a6560b992 gluonID=c41acfb9-f1c1-4c3a-a53a-8aafeb80469c userID=0ede3464-8bae-49b0-910f-d3e7718bf29c time="2026-09-17T09:54:59Z" msg="Received mailbox message count" gluonID=c41acfb9-f1c1-4c3a-a53a-8aafeb80469c labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:54:59Z" msg="Created new IMAP user" addrID=db90efe6-64d5-48c1-ac1b-c21a6560b992 gluonID=c41acfb9-f1c1-4c3a-a53a-8aafeb80469c time="2026-09-17T09:54:59Z" msg="Validating Listener State" time="2026-09-17T09:54:59Z" time="2026-09-17T09:54:59Z" msg="Starting IMAP Service" time="2026-09-17T09:54:59Z" msg="Checking whether logged in user should re-sync. UserID:0ede3464-8bae-49b0-910f-d3e7718bf29c" userID=0ede3464-8bae-49b0-910f-d3e7718bf29c And the user logs in with username "013d89da-807d-443d-bdf8-d4ce039e13bd" and password "password" # :1 -> *scenario time="2026-09-17T09:54:59Z" msg="Setting address mode" /user userID=0ede3464-8bae-49b0-910f-d3e7718bf29c time="2026-09-17T09:54:59Z" msg="Setting address mode" userID=0ede3464-8bae-49b0-910f-d3e7718bf29c time="2026-09-17T09:54:59Z" msg="Sync triggered" time="2026-09-17T09:54:59Z" msg="Setting Split Address Mode" time="2026-09-17T09:54:59Z" msg="Beginning user sync" start="2026-09-17 09:54:59.570959575 +0000 UTC m=+588.063261911" time="2026-09-17T09:54:59Z" msg="Failed to check and report label conflicts" error="context canceled" time="2026-09-17T09:54:59Z" msg="Sync aborted" error="context canceled" time="2026-09-17T09:54:59Z" msg="Finished user sync" duration="259.281µs" time="2026-09-17T09:54:59Z" msg="Removing gluon ID" addrID=db90efe6-64d5-48c1-ac1b-c21a6560b992 gluonID=c41acfb9-f1c1-4c3a-a53a-8aafeb80469c userID=0ede3464-8bae-49b0-910f-d3e7718bf29c time="2026-09-17T09:54:59Z" msg="Validating Listener State" time="2026-09-17T09:54:59Z" msg="Adding user to imap server" addrID=22f3796a-8871-43f6-9055-75deda82be07 time="2026-09-17T09:54:59Z" msg="Creating new IMAP user" addrID=22f3796a-8871-43f6-9055-75deda82be07 time="2026-09-17T09:54:59Z" msg="Setting gluon ID" addrID=22f3796a-8871-43f6-9055-75deda82be07 gluonID=702f18c1-e68e-4567-9c7d-10ed1e7fa0e2 userID=0ede3464-8bae-49b0-910f-d3e7718bf29c time="2026-09-17T09:54:59Z" msg="Received mailbox message count" gluonID=702f18c1-e68e-4567-9c7d-10ed1e7fa0e2 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:54:59Z" msg="Created new IMAP user" addrID=22f3796a-8871-43f6-9055-75deda82be07 gluonID=702f18c1-e68e-4567-9c7d-10ed1e7fa0e2 time="2026-09-17T09:54:59Z" msg="Validating Listener State" time="2026-09-17T09:54:59Z" msg="Adding user to imap server" addrID=db90efe6-64d5-48c1-ac1b-c21a6560b992 time="2026-09-17T09:54:59Z" msg="Creating new IMAP user" addrID=db90efe6-64d5-48c1-ac1b-c21a6560b992 time="2026-09-17T09:54:59Z" msg="Setting gluon ID" addrID=db90efe6-64d5-48c1-ac1b-c21a6560b992 gluonID=3ea2727a-4c7d-4384-bb04-7bd577a3760e userID=0ede3464-8bae-49b0-910f-d3e7718bf29c time="2026-09-17T09:54:59Z" msg="Received mailbox message count" gluonID=3ea2727a-4c7d-4384-bb04-7bd577a3760e labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:54:59Z" msg="Created new IMAP user" addrID=db90efe6-64d5-48c1-ac1b-c21a6560b992 gluonID=3ea2727a-4c7d-4384-bb04-7bd577a3760e time="2026-09-17T09:54:59Z" msg="Validating Listener State" time="2026-09-17T09:54:59Z" msg="Sync triggered" time="2026-09-17T09:54:59Z" msg="Beginning user sync" start="2026-09-17 09:54:59.589045296 +0000 UTC m=+588.081347592" And the user sets the address mode of user "013d89da-807d-443d-bdf8-d4ce039e13bd" to "split" # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:54:59Z" msg="Syncing labels" Scenario: Send two messages in one connection # features/smtp/send/two_messages.feature:14 When user "b378f68d-05a7-4741-8e8a-4766ee8a7282" connects and authenticates SMTP client "1" # :1 -> *scenario time="2026-09-17T09:54:59Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=702f18c1-e68e-4567-9c7d-10ed1e7fa0e2 time="2026-09-17T09:54:59Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=3ea2727a-4c7d-4384-bb04-7bd577a3760e time="2026-09-17T09:54:59Z" msg="Sending observability data." time="2026-09-17T09:54:59Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=702f18c1-e68e-4567-9c7d-10ed1e7fa0e2 time="2026-09-17T09:54:59Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=3ea2727a-4c7d-4384-bb04-7bd577a3760e time="2026-09-17T09:54:59Z" msg="200 OK: POST https://127.0.0.1:42743/data/v1/metrics" /client userID=0ede3464-8bae-49b0-910f-d3e7718bf29c time="2026-09-17T09:54:59Z" msg="Successfully sent observability data." time="2026-09-17T09:54:59Z" msg="200 OK: GET https://127.0.0.1:42743/mail/v4/settings" /client userID=9d3d63d6-ee5a-4024-ac21-1bf934d8b9df time="2026-09-17T09:54:59Z" msg="Mailbox created" /user remoteMailboxID=10 userID=702f18c1-e68e-4567-9c7d-10ed1e7fa0e2 time="2026-09-17T09:54:59Z" msg="Mailbox created" /user remoteMailboxID=6 userID=702f18c1-e68e-4567-9c7d-10ed1e7fa0e2 time="2026-09-17T09:54:59Z" msg="Mailbox created" /user remoteMailboxID=10 userID=3ea2727a-4c7d-4384-bb04-7bd577a3760e time="2026-09-17T09:54:59Z" msg="Mailbox created" /user remoteMailboxID=4 userID=702f18c1-e68e-4567-9c7d-10ed1e7fa0e2 time="2026-09-17T09:54:59Z" msg="Mailbox created" /user remoteMailboxID=8 userID=702f18c1-e68e-4567-9c7d-10ed1e7fa0e2 time="2026-09-17T09:54:59Z" msg="Mailbox created" /user remoteMailboxID=6 userID=3ea2727a-4c7d-4384-bb04-7bd577a3760e time="2026-09-17T09:54:59Z" msg="Mailbox created" /user remoteMailboxID=0 userID=702f18c1-e68e-4567-9c7d-10ed1e7fa0e2 time="2026-09-17T09:54:59Z" msg="Mailbox created" /user remoteMailboxID=3 userID=702f18c1-e68e-4567-9c7d-10ed1e7fa0e2 time="2026-09-17T09:54:59Z" msg="Mailbox created" /user remoteMailboxID=5 userID=702f18c1-e68e-4567-9c7d-10ed1e7fa0e2 time="2026-09-17T09:54:59Z" msg="Mailbox created" /user remoteMailboxID=4 userID=3ea2727a-4c7d-4384-bb04-7bd577a3760e time="2026-09-17T09:54:59Z" msg="Mailbox created" /user remoteMailboxID=7 userID=702f18c1-e68e-4567-9c7d-10ed1e7fa0e2 time="2026-09-17T09:54:59Z" msg="Mailbox created" /user remoteMailboxID=8 userID=3ea2727a-4c7d-4384-bb04-7bd577a3760e time="2026-09-17T09:54:59Z" msg="Mailbox created" /user remoteMailboxID=12 userID=702f18c1-e68e-4567-9c7d-10ed1e7fa0e2 time="2026-09-17T09:54:59Z" msg="Mailbox created" /user remoteMailboxID=0 userID=3ea2727a-4c7d-4384-bb04-7bd577a3760e time="2026-09-17T09:54:59Z" msg="Mailbox created" /user remoteMailboxID=3 userID=3ea2727a-4c7d-4384-bb04-7bd577a3760e time="2026-09-17T09:54:59Z" msg="Mailbox created" /user remoteMailboxID=5 userID=3ea2727a-4c7d-4384-bb04-7bd577a3760e time="2026-09-17T09:54:59Z" msg="Mailbox created" /user remoteMailboxID=7 userID=3ea2727a-4c7d-4384-bb04-7bd577a3760e time="2026-09-17T09:54:59Z" msg="Mailbox created" /user remoteMailboxID=12 userID=3ea2727a-4c7d-4384-bb04-7bd577a3760e time="2026-09-17T09:54:59Z" msg="Synced labels" time="2026-09-17T09:54:59Z" msg="200 OK: GET https://127.0.0.1:42743/mail/v4/messages/count" /client userID=0ede3464-8bae-49b0-910f-d3e7718bf29c time="2026-09-17T09:54:59Z" msg="Syncing messages" time="2026-09-17T09:54:59Z" msg="Job started" time="2026-09-17T09:54:59Z" msg="200 OK: POST https://127.0.0.1:42743/mail/v4/messages" /client userID=0ede3464-8bae-49b0-910f-d3e7718bf29c time="2026-09-17T09:54:59Z" msg="Job finished" time="2026-09-17T09:54:59Z" msg="All child jobs completed" sync- time="2026-09-17T09:54:59Z" msg="Synced messages" time="2026-09-17T09:54:59Z" msg="Finished user sync" .981605ms time="2026-09-17T09:54:59Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:54:59Z" msg="Event loop reset" eventID="Ag==" time="2026-09-17T09:54:59Z" msg="200 OK: POST https://127.0.0.1:42743/mail/v4/messages" /client userID=9d3d63d6-ee5a-4024-ac21-1bf934d8b9df time="2026-09-17T09:54:59Z" msg="200 OK: GET https://127.0.0.1:42743/core/v4/keys?E%40proton.local" /client userID=9d3d63d6-ee5a-4024-ac21-1bf934d8b9df time="2026-09-17T09:54:59Z" msg="200 OK: GET https://127.0.0.1:42743/contacts/v4/emails?E%40proton.local&P&PageS" /client userID=9d3d63d6-ee5a-4024-ac21-1bf934d8b9df time="2026-09-17T09:54:59Z" msg="200 OK: POST https://127.0.0.1:42743/mail/v4/messages/1107681f-55ea-42c7-b943-659ff0f39678" /client userID=9d3d63d6-ee5a-4024-ac21-1bf934d8b9df time="2026-09-17T09:54:59Z" msg="Scheduling observability data sending" And SMTP client "1" sends the following message from "b378f68d-05a7-4741-8e8a-4766ee8a7282@proton.local" to "a0464bf3-1c23-49c2-960a-2ce4d1382670@proton.local": # :1 -> *scenario """ From: Bridge Test <[user:user]@[domain]> To: Internal Bridge <[user:to]@[domain]> hello """ Then it succeeds # :1 -> *scenario time="2026-09-17T09:54:59Z" msg="200 OK: GET https://127.0.0.1:42743/mail/v4/settings" /client userID=9d3d63d6-ee5a-4024-ac21-1bf934d8b9df time="2026-09-17T09:54:59Z" msg="200 OK: POST https://127.0.0.1:42743/mail/v4/messages" /client userID=9d3d63d6-ee5a-4024-ac21-1bf934d8b9df time="2026-09-17T09:54:59Z" msg="200 OK: GET https://127.0.0.1:42743/core/v4/keys?E%40proton.local" /client userID=9d3d63d6-ee5a-4024-ac21-1bf934d8b9df time="2026-09-17T09:54:59Z" msg="200 OK: GET https://127.0.0.1:42743/contacts/v4/emails?E%40proton.local&P&PageS" /client userID=9d3d63d6-ee5a-4024-ac21-1bf934d8b9df time="2026-09-17T09:54:59Z" msg="200 OK: POST https://127.0.0.1:42743/mail/v4/messages/e1da0e69-d683-4ffd-90c3-52150e0dae44" /client userID=9d3d63d6-ee5a-4024-ac21-1bf934d8b9df When SMTP client "1" sends the following message from "b378f68d-05a7-4741-8e8a-4766ee8a7282@proton.local" to "a0464bf3-1c23-49c2-960a-2ce4d1382670@proton.local": # :1 -> *scenario """ From: Bridge Test <[user:user]@[domain]> To: Internal Bridge <[user:to]@[domain]> world """ time="2026-09-17T09:54:59Z" msg="Frontend service stopped" time="2026-09-17T09:54:59Z" msg="Frontend client stopped" time="2026-09-17T09:54:59Z" msg="Closing bridge" time="2026-09-17T09:54:59Z" msg="Stopping service" time="2026-09-17T09:54:59Z" msg="Closing user" userID=9d3d63d6-ee5a-4024-ac21-1bf934d8b9df time="2026-09-17T09:54:59Z" msg="De-registering user client, ID:9d3d63d6-ee5a-4024-ac21-1bf934d8b9df" time="2026-09-17T09:54:59Z" msg="Exiting IMAP Service" time="2026-09-17T09:54:59Z" msg="Exiting service main loop" time="2026-09-17T09:54:59Z" msg="Exiting service main loop" time="2026-09-17T09:54:59Z" msg="Exiting Service" time="2026-09-17T09:54:59Z" msg="Exiting service main loop" time="2026-09-17T09:54:59Z" msg="Exiting service" time="2026-09-17T09:54:59Z" msg="Closing user" userID=0ede3464-8bae-49b0-910f-d3e7718bf29c time="2026-09-17T09:54:59Z" msg="De-registering user client, ID:0ede3464-8bae-49b0-910f-d3e7718bf29c" time="2026-09-17T09:54:59Z" msg="Exiting IMAP Service" time="2026-09-17T09:54:59Z" msg="Exiting service main loop" time="2026-09-17T09:54:59Z" msg="Exiting service main loop" time="2026-09-17T09:54:59Z" msg="Exiting Service" time="2026-09-17T09:54:59Z" msg="Exiting service main loop" time="2026-09-17T09:54:59Z" msg="Exiting service" time="2026-09-17T09:54:59Z" msg="Closing IMAP Listener" time="2026-09-17T09:54:59Z" msg="Closing IMAP server" time="2026-09-17T09:54:59Z" msg="Closing SMTP Listener" time="2026-09-17T09:54:59Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:54:59Z" msg="Closing SMTP server" time="2026-09-17T09:54:59Z" msg="Closing service" Then it succeeds # :1 -> *scenario time="2026-09-17T09:54:59Z" msg="User '5795bae1-661f-4c81-81b1-58ec8bcdd98b' created with " /server/backend time="2026-09-17T09:55:00Z" msg="User '7bc23646-953a-4698-a3d9-364cdb2e8cbc' created with " /server/backend time="2026-09-17T09:55:01Z" msg="User '2b78abc7-d418-432b-96aa-33c0d397c792' created with " /server/backend time="2026-09-17T09:55:01Z" msg="Starting bridge" time="2026-09-17T09:55:01Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/246/config3360035639/grpcFocusServerConfig.json /service time="2026-09-17T09:55:01Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/246/cache3584910800/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:55:01Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/246/cache3584910800/notifications/notification_cache: no such file or directory" time="2026-09-17T09:55:01Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/246/data3248876232/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/246/data3248876232/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:55:01Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:55:01Z" msg="Starting IMAP server" time="2026-09-17T09:55:01Z" msg="Starting SMTP server" time="2026-09-17T09:55:01Z" msg="Starting service" time="2026-09-17T09:55:01Z" msg="Starting service" time="2026-09-17T09:55:01Z" msg="Starting frontend service" time="2026-09-17T09:55:01Z" msg="Starting poll service" time="2026-09-17T09:55:01Z" msg="Checking for updates" time="2026-09-17T09:55:01Z" msg="Loading users" /user time="2026-09-17T09:55:01Z" msg="Starting receiver service" time="2026-09-17T09:55:01Z" msg="Finished loading users" /user time="2026-09-17T09:55:01Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/246/config3360035639/grpcServerConfig.json time="2026-09-17T09:55:01Z" msg="gRPC server listening on /tmp/bridge8140" time="2026-09-17T09:55:01Z" msg="Frontend service started" time="2026-09-17T09:55:01Z" msg="Starting frontend client" time="2026-09-17T09:55:01Z" msg="Not monitoring parent PID" time="2026-09-17T09:55:01Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:55:01Z" msg="Frontend client started" time="2026-09-17T09:55:01Z" msg="Performing full user login" /user username="******** (64bbc622)" time="2026-09-17T09:55:01Z" msg="Authorizing user for login" /user username="******** (64bbc622)" time="2026-09-17T09:55:01Z" msg="200 OK: GET https://127.0.0.1:35279/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:55:01Z" msg="200 OK: POST https://127.0.0.1:35279/auth/v4/info" /manager time="2026-09-17T09:55:02Z" msg="200 OK: POST https://127.0.0.1:35279/auth/v4" /manager time="2026-09-17T09:55:02Z" msg="Logging in authorized user" /user userID=6949fa03-f512-4afe-821f-d5817a56c590 time="2026-09-17T09:55:02Z" msg="Adding vault user" userID=6949fa03-f512-4afe-821f-d5817a56c590 time="2026-09-17T09:55:02Z" msg="Creating new user" userID=6949fa03-f512-4afe-821f-d5817a56c590 time="2026-09-17T09:55:02Z" msg="404 GET https://127.0.0.1:35279/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:55:02Z" msg="404 GET https://127.0.0.1:35279/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:55:02Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:35279/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:55:02Z" msg="Creating user object" authUID=8d852936-6852-465b-adaa-74c51a97f88f numA numL userID=6949fa03-f512-4afe-821f-d5817a56c590 time="2026-09-17T09:55:02Z" msg="200 OK: GET https://127.0.0.1:35279/core/v4/events/latest" /client userID=6949fa03-f512-4afe-821f-d5817a56c590 time="2026-09-17T09:55:02Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:55:02Z" msg="200 OK: GET https://127.0.0.1:35279/core/v4/settings" /client userID=6949fa03-f512-4afe-821f-d5817a56c590 time="2026-09-17T09:55:02Z" msg="Registering user client, ID:6949fa03-f512-4afe-821f-d5817a56c590" time="2026-09-17T09:55:02Z" msg="Starting service main loop" time="2026-09-17T09:55:02Z" msg="Starting user identity service" numA time="2026-09-17T09:55:02Z" msg="Starting service main loop" time="2026-09-17T09:55:02Z" msg="Starting service main loop" time="2026-09-17T09:55:02Z" msg="200 OK: GET https://127.0.0.1:35279/core/v4/labels?T" /client userID=6949fa03-f512-4afe-821f-d5817a56c590 time="2026-09-17T09:55:02Z" msg="200 OK: GET https://127.0.0.1:35279/core/v4/labels?T" /client userID=6949fa03-f512-4afe-821f-d5817a56c590 time="2026-09-17T09:55:02Z" msg="200 OK: GET https://127.0.0.1:35279/core/v4/labels?T" /client userID=6949fa03-f512-4afe-821f-d5817a56c590 time="2026-09-17T09:55:02Z" msg="Setting labels" labelIDs="[4 5 6 7 8 9 0 1 10 12 2 3]" time="2026-09-17T09:55:02Z" msg="Adding user to imap server" addrID=954e14d4-39d7-4eb5-b1f5-6048bac60e7b time="2026-09-17T09:55:02Z" msg="Creating new IMAP user" addrID=954e14d4-39d7-4eb5-b1f5-6048bac60e7b time="2026-09-17T09:55:02Z" msg="Setting gluon ID" addrID=954e14d4-39d7-4eb5-b1f5-6048bac60e7b gluonID=1f02613e-b75f-4442-873f-a2bf767f1588 userID=6949fa03-f512-4afe-821f-d5817a56c590 time="2026-09-17T09:55:02Z" msg="Received mailbox message count" gluonID=1f02613e-b75f-4442-873f-a2bf767f1588 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:55:02Z" msg="Created new IMAP user" addrID=954e14d4-39d7-4eb5-b1f5-6048bac60e7b gluonID=1f02613e-b75f-4442-873f-a2bf767f1588 time="2026-09-17T09:55:02Z" msg="Validating Listener State" time="2026-09-17T09:55:02Z" time="2026-09-17T09:55:02Z" msg="Checking whether logged in user should re-sync. UserID:6949fa03-f512-4afe-821f-d5817a56c590" userID=6949fa03-f512-4afe-821f-d5817a56c590 time="2026-09-17T09:55:02Z" msg="Starting IMAP Service" time="2026-09-17T09:55:02Z" msg="Sync triggered" time="2026-09-17T09:55:02Z" msg="Beginning user sync" start="2026-09-17 09:55:02.403941031 +0000 UTC m=+590.896243327" time="2026-09-17T09:55:02Z" msg="Performing full user login" /user username="******** (3e63fe0f)" time="2026-09-17T09:55:02Z" msg="Authorizing user for login" /user username="******** (3e63fe0f)" time="2026-09-17T09:55:02Z" msg="Syncing labels" time="2026-09-17T09:55:02Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=1f02613e-b75f-4442-873f-a2bf767f1588 time="2026-09-17T09:55:02Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=1f02613e-b75f-4442-873f-a2bf767f1588 time="2026-09-17T09:55:02Z" msg="Mailbox created" /user remoteMailboxID=4 userID=1f02613e-b75f-4442-873f-a2bf767f1588 time="2026-09-17T09:55:02Z" msg="Mailbox created" /user remoteMailboxID=5 userID=1f02613e-b75f-4442-873f-a2bf767f1588 time="2026-09-17T09:55:02Z" msg="Mailbox created" /user remoteMailboxID=6 userID=1f02613e-b75f-4442-873f-a2bf767f1588 time="2026-09-17T09:55:02Z" msg="Mailbox created" /user remoteMailboxID=7 userID=1f02613e-b75f-4442-873f-a2bf767f1588 time="2026-09-17T09:55:02Z" msg="Mailbox created" /user remoteMailboxID=0 userID=1f02613e-b75f-4442-873f-a2bf767f1588 time="2026-09-17T09:55:02Z" msg="Mailbox created" /user remoteMailboxID=10 userID=1f02613e-b75f-4442-873f-a2bf767f1588 time="2026-09-17T09:55:02Z" msg="Mailbox created" /user remoteMailboxID=12 userID=1f02613e-b75f-4442-873f-a2bf767f1588 time="2026-09-17T09:55:02Z" msg="Mailbox created" /user remoteMailboxID=8 userID=1f02613e-b75f-4442-873f-a2bf767f1588 time="2026-09-17T09:55:02Z" msg="Mailbox created" /user remoteMailboxID=3 userID=1f02613e-b75f-4442-873f-a2bf767f1588 time="2026-09-17T09:55:02Z" msg="Synced labels" time="2026-09-17T09:55:02Z" msg="200 OK: POST https://127.0.0.1:35279/auth/v4/info" /manager time="2026-09-17T09:55:02Z" msg="200 OK: GET https://127.0.0.1:35279/mail/v4/messages/count" /client userID=6949fa03-f512-4afe-821f-d5817a56c590 time="2026-09-17T09:55:02Z" msg="Syncing messages" time="2026-09-17T09:55:02Z" msg="Job started" time="2026-09-17T09:55:02Z" msg="200 OK: POST https://127.0.0.1:35279/mail/v4/messages" /client userID=6949fa03-f512-4afe-821f-d5817a56c590 time="2026-09-17T09:55:02Z" msg="Job finished" time="2026-09-17T09:55:02Z" msg="All child jobs completed" sync- time="2026-09-17T09:55:02Z" msg="Synced messages" time="2026-09-17T09:55:02Z" msg="Finished user sync" .90972ms time="2026-09-17T09:55:02Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:55:02Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:55:02Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 8} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:55:02Z" msg="200 OK: POST https://127.0.0.1:35279/auth/v4" /manager time="2026-09-17T09:55:02Z" msg="Logging in authorized user" /user userID=ca48675f-37c5-495f-a8c3-d328dc2e3129 time="2026-09-17T09:55:02Z" msg="Adding vault user" userID=ca48675f-37c5-495f-a8c3-d328dc2e3129 time="2026-09-17T09:55:02Z" msg="Creating new user" userID=ca48675f-37c5-495f-a8c3-d328dc2e3129 time="2026-09-17T09:55:02Z" msg="404 GET https://127.0.0.1:35279/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:55:02Z" msg="404 GET https://127.0.0.1:35279/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:55:02Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:35279/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:55:02Z" msg="Creating user object" authUID=8b8a9a1f-69af-4ca8-85b8-226f35dd02e1 numA numL userID=ca48675f-37c5-495f-a8c3-d328dc2e3129 time="2026-09-17T09:55:02Z" msg="200 OK: GET https://127.0.0.1:35279/core/v4/events/latest" /client userID=ca48675f-37c5-495f-a8c3-d328dc2e3129 time="2026-09-17T09:55:02Z" msg="Starting service Last EventID=Ag==" time="2026-09-17T09:55:02Z" msg="200 OK: GET https://127.0.0.1:35279/core/v4/settings" /client userID=ca48675f-37c5-495f-a8c3-d328dc2e3129 time="2026-09-17T09:55:02Z" msg="Registering user client, ID:ca48675f-37c5-495f-a8c3-d328dc2e3129" time="2026-09-17T09:55:02Z" msg="Starting user identity service" numA time="2026-09-17T09:55:02Z" msg="Starting service main loop" time="2026-09-17T09:55:02Z" msg="Starting service main loop" time="2026-09-17T09:55:02Z" msg="Starting service main loop" time="2026-09-17T09:55:02Z" msg="200 OK: GET https://127.0.0.1:35279/core/v4/labels?T" /client userID=ca48675f-37c5-495f-a8c3-d328dc2e3129 time="2026-09-17T09:55:02Z" msg="200 OK: GET https://127.0.0.1:35279/core/v4/labels?T" /client userID=ca48675f-37c5-495f-a8c3-d328dc2e3129 time="2026-09-17T09:55:02Z" msg="200 OK: GET https://127.0.0.1:35279/core/v4/labels?T" /client userID=ca48675f-37c5-495f-a8c3-d328dc2e3129 time="2026-09-17T09:55:02Z" msg="Setting labels" labelIDs="[0 1 3 4 6 7 10 2 5 8 9 12]" time="2026-09-17T09:55:02Z" msg="Adding user to imap server" addrID=0d9068df-ad5c-4f7c-89b1-123580b6d9c0 time="2026-09-17T09:55:02Z" msg="Creating new IMAP user" addrID=0d9068df-ad5c-4f7c-89b1-123580b6d9c0 time="2026-09-17T09:55:02Z" msg="Setting gluon ID" addrID=0d9068df-ad5c-4f7c-89b1-123580b6d9c0 gluonID=5e26d807-7518-4cf1-993d-c878e45dd86d userID=ca48675f-37c5-495f-a8c3-d328dc2e3129 time="2026-09-17T09:55:02Z" msg="Received mailbox message count" gluonID=5e26d807-7518-4cf1-993d-c878e45dd86d labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:55:02Z" msg="Created new IMAP user" addrID=0d9068df-ad5c-4f7c-89b1-123580b6d9c0 gluonID=5e26d807-7518-4cf1-993d-c878e45dd86d time="2026-09-17T09:55:02Z" msg="Validating Listener State" time="2026-09-17T09:55:02Z" time="2026-09-17T09:55:02Z" msg="Starting IMAP Service" time="2026-09-17T09:55:02Z" msg="Checking whether logged in user should re-sync. UserID:ca48675f-37c5-495f-a8c3-d328dc2e3129" userID=ca48675f-37c5-495f-a8c3-d328dc2e3129 time="2026-09-17T09:55:02Z" msg="Sync triggered" time="2026-09-17T09:55:02Z" msg="Beginning user sync" start="2026-09-17 09:55:02.839549463 +0000 UTC m=+591.331851759" time="2026-09-17T09:55:02Z" msg="Setting address mode" /user userID=ca48675f-37c5-495f-a8c3-d328dc2e3129 time="2026-09-17T09:55:02Z" msg="Setting address mode" userID=ca48675f-37c5-495f-a8c3-d328dc2e3129 time="2026-09-17T09:55:02Z" msg="Setting Split Address Mode" time="2026-09-17T09:55:02Z" msg="Failed to check and report label conflicts" error="context canceled" time="2026-09-17T09:55:02Z" msg="Sync aborted" error="context canceled" time="2026-09-17T09:55:02Z" msg="Finished user sync" duration="522.602µs" time="2026-09-17T09:55:02Z" msg="Removing gluon ID" addrID=0d9068df-ad5c-4f7c-89b1-123580b6d9c0 gluonID=5e26d807-7518-4cf1-993d-c878e45dd86d userID=ca48675f-37c5-495f-a8c3-d328dc2e3129 time="2026-09-17T09:55:02Z" msg="Validating Listener State" time="2026-09-17T09:55:02Z" msg="Adding user to imap server" addrID=0d9068df-ad5c-4f7c-89b1-123580b6d9c0 time="2026-09-17T09:55:02Z" msg="Creating new IMAP user" addrID=0d9068df-ad5c-4f7c-89b1-123580b6d9c0 time="2026-09-17T09:55:02Z" msg="Setting gluon ID" addrID=0d9068df-ad5c-4f7c-89b1-123580b6d9c0 gluonID=d479b0e7-8ded-4b7f-a30a-6c078d9d36ee userID=ca48675f-37c5-495f-a8c3-d328dc2e3129 time="2026-09-17T09:55:02Z" msg="Created new IMAP user" addrID=0d9068df-ad5c-4f7c-89b1-123580b6d9c0 gluonID=d479b0e7-8ded-4b7f-a30a-6c078d9d36ee time="2026-09-17T09:55:02Z" msg="Validating Listener State" time="2026-09-17T09:55:02Z" msg="Adding user to imap server" addrID=725a49ce-4da9-419a-a467-c440c3d9999d time="2026-09-17T09:55:02Z" msg="Received mailbox message count" gluonID=d479b0e7-8ded-4b7f-a30a-6c078d9d36ee labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:55:02Z" msg="Creating new IMAP user" addrID=725a49ce-4da9-419a-a467-c440c3d9999d time="2026-09-17T09:55:02Z" msg="Setting gluon ID" addrID=725a49ce-4da9-419a-a467-c440c3d9999d gluonID=df448a10-949b-401c-bfa0-79446096be34 userID=ca48675f-37c5-495f-a8c3-d328dc2e3129 time="2026-09-17T09:55:02Z" msg="Received mailbox message count" gluonID=df448a10-949b-401c-bfa0-79446096be34 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:55:02Z" msg="Created new IMAP user" addrID=725a49ce-4da9-419a-a467-c440c3d9999d gluonID=df448a10-949b-401c-bfa0-79446096be34 time="2026-09-17T09:55:02Z" msg="Validating Listener State" time="2026-09-17T09:55:02Z" msg="Sync triggered" time="2026-09-17T09:55:02Z" msg="Beginning user sync" start="2026-09-17 09:55:02.858201307 +0000 UTC m=+591.350503643" Scenario: Send with two addresses of the same user in split mode # features/smtp/send/two_messages.feature:35 When user "7bc23646-953a-4698-a3d9-364cdb2e8cbc" connects and authenticates SMTP client "1" with address "7bc23646-953a-4698-a3d9-364cdb2e8cbc@proton.local" # :1 -> *scenario time="2026-09-17T09:55:02Z" msg="Syncing labels" And user "7bc23646-953a-4698-a3d9-364cdb2e8cbc" connects and authenticates SMTP client "2" with address "cf2a25aa-f4b2-4413-a37b-57c067159df3@proton.local" # :1 -> *scenario time="2026-09-17T09:55:02Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=d479b0e7-8ded-4b7f-a30a-6c078d9d36ee time="2026-09-17T09:55:02Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=df448a10-949b-401c-bfa0-79446096be34 time="2026-09-17T09:55:02Z" msg="Sending observability data." time="2026-09-17T09:55:02Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=d479b0e7-8ded-4b7f-a30a-6c078d9d36ee time="2026-09-17T09:55:02Z" msg="200 OK: GET https://127.0.0.1:35279/mail/v4/settings" /client userID=ca48675f-37c5-495f-a8c3-d328dc2e3129 time="2026-09-17T09:55:02Z" msg="200 OK: POST https://127.0.0.1:35279/data/v1/metrics" /client userID=6949fa03-f512-4afe-821f-d5817a56c590 time="2026-09-17T09:55:02Z" msg="Successfully sent observability data." time="2026-09-17T09:55:02Z" msg="Mailbox created" /user remoteMailboxID=4 userID=d479b0e7-8ded-4b7f-a30a-6c078d9d36ee time="2026-09-17T09:55:02Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=df448a10-949b-401c-bfa0-79446096be34 time="2026-09-17T09:55:02Z" msg="Mailbox created" /user remoteMailboxID=8 userID=d479b0e7-8ded-4b7f-a30a-6c078d9d36ee time="2026-09-17T09:55:02Z" msg="Mailbox created" /user remoteMailboxID=12 userID=d479b0e7-8ded-4b7f-a30a-6c078d9d36ee time="2026-09-17T09:55:02Z" msg="Mailbox created" /user remoteMailboxID=4 userID=df448a10-949b-401c-bfa0-79446096be34 time="2026-09-17T09:55:02Z" msg="Mailbox created" /user remoteMailboxID=0 userID=d479b0e7-8ded-4b7f-a30a-6c078d9d36ee time="2026-09-17T09:55:02Z" msg="Mailbox created" /user remoteMailboxID=6 userID=d479b0e7-8ded-4b7f-a30a-6c078d9d36ee time="2026-09-17T09:55:02Z" msg="Mailbox created" /user remoteMailboxID=8 userID=df448a10-949b-401c-bfa0-79446096be34 time="2026-09-17T09:55:02Z" msg="Mailbox created" /user remoteMailboxID=7 userID=d479b0e7-8ded-4b7f-a30a-6c078d9d36ee time="2026-09-17T09:55:02Z" msg="Mailbox created" /user remoteMailboxID=10 userID=d479b0e7-8ded-4b7f-a30a-6c078d9d36ee time="2026-09-17T09:55:02Z" msg="Mailbox created" /user remoteMailboxID=5 userID=d479b0e7-8ded-4b7f-a30a-6c078d9d36ee time="2026-09-17T09:55:02Z" msg="Mailbox created" /user remoteMailboxID=12 userID=df448a10-949b-401c-bfa0-79446096be34 time="2026-09-17T09:55:02Z" msg="Mailbox created" /user remoteMailboxID=3 userID=d479b0e7-8ded-4b7f-a30a-6c078d9d36ee time="2026-09-17T09:55:02Z" msg="Mailbox created" /user remoteMailboxID=0 userID=df448a10-949b-401c-bfa0-79446096be34 time="2026-09-17T09:55:02Z" msg="Mailbox created" /user remoteMailboxID=6 userID=df448a10-949b-401c-bfa0-79446096be34 time="2026-09-17T09:55:02Z" msg="Mailbox created" /user remoteMailboxID=7 userID=df448a10-949b-401c-bfa0-79446096be34 time="2026-09-17T09:55:02Z" msg="Mailbox created" /user remoteMailboxID=10 userID=df448a10-949b-401c-bfa0-79446096be34 time="2026-09-17T09:55:02Z" msg="200 OK: POST https://127.0.0.1:35279/mail/v4/messages" /client userID=ca48675f-37c5-495f-a8c3-d328dc2e3129 time="2026-09-17T09:55:02Z" msg="Mailbox created" /user remoteMailboxID=5 userID=df448a10-949b-401c-bfa0-79446096be34 time="2026-09-17T09:55:02Z" msg="Mailbox created" /user remoteMailboxID=3 userID=df448a10-949b-401c-bfa0-79446096be34 time="2026-09-17T09:55:02Z" msg="200 OK: GET https://127.0.0.1:35279/core/v4/keys?E%40proton.local" /client userID=ca48675f-37c5-495f-a8c3-d328dc2e3129 time="2026-09-17T09:55:02Z" msg="Synced labels" time="2026-09-17T09:55:02Z" msg="200 OK: GET https://127.0.0.1:35279/contacts/v4/emails?E%40proton.local&P&PageS" /client userID=ca48675f-37c5-495f-a8c3-d328dc2e3129 time="2026-09-17T09:55:02Z" msg="200 OK: GET https://127.0.0.1:35279/mail/v4/messages/count" /client userID=ca48675f-37c5-495f-a8c3-d328dc2e3129 time="2026-09-17T09:55:02Z" msg="Syncing messages" time="2026-09-17T09:55:02Z" msg="Job started" time="2026-09-17T09:55:02Z" msg="200 OK: POST https://127.0.0.1:35279/mail/v4/messages" /client userID=ca48675f-37c5-495f-a8c3-d328dc2e3129 time="2026-09-17T09:55:02Z" msg="200 OK: POST https://127.0.0.1:35279/mail/v4/messages" /client userID=ca48675f-37c5-495f-a8c3-d328dc2e3129 time="2026-09-17T09:55:02Z" msg="Creating new child job" time="2026-09-17T09:55:02Z" msg="Job finished" time="2026-09-17T09:55:02Z" msg="200 OK: GET https://127.0.0.1:35279/mail/v4/messages/ade4468e-bb57-4cf7-810d-fe3a0fc8fb14" /client userID=ca48675f-37c5-495f-a8c3-d328dc2e3129 time="2026-09-17T09:55:02Z" msg="200 OK: POST https://127.0.0.1:35279/mail/v4/messages/ade4468e-bb57-4cf7-810d-fe3a0fc8fb14" /client userID=ca48675f-37c5-495f-a8c3-d328dc2e3129 time="2026-09-17T09:55:02Z" msg="Scheduling observability data sending" And SMTP client "1" sends the following message from "7bc23646-953a-4698-a3d9-364cdb2e8cbc@proton.local" to "2b78abc7-d418-432b-96aa-33c0d397c792@proton.local>": # :1 -> *scenario """ From: Bridge Test <[user:multi]@[domain]> To: Internal Bridge <[user:to]@[domain]> hello """ Then it succeeds # :1 -> *scenario time="2026-09-17T09:55:02Z" msg="200 OK: GET https://127.0.0.1:35279/mail/v4/settings" /client userID=ca48675f-37c5-495f-a8c3-d328dc2e3129 time="2026-09-17T09:55:02Z" msg="Child job finished" time="2026-09-17T09:55:02Z" msg="All child jobs completed" sync- time="2026-09-17T09:55:02Z" msg="Synced messages" time="2026-09-17T09:55:02Z" msg="Finished user sync" .53463ms time="2026-09-17T09:55:02Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:55:02Z" msg="Event loop reset" eventID="Ag==" time="2026-09-17T09:55:02Z" msg="200 OK: POST https://127.0.0.1:35279/mail/v4/messages" /client userID=ca48675f-37c5-495f-a8c3-d328dc2e3129 time="2026-09-17T09:55:02Z" msg="200 OK: GET https://127.0.0.1:35279/core/v4/keys?E%40proton.local" /client userID=ca48675f-37c5-495f-a8c3-d328dc2e3129 time="2026-09-17T09:55:02Z" msg="200 OK: GET https://127.0.0.1:35279/contacts/v4/emails?E%40proton.local&P&PageS" /client userID=ca48675f-37c5-495f-a8c3-d328dc2e3129 time="2026-09-17T09:55:02Z" msg="200 OK: POST https://127.0.0.1:35279/mail/v4/messages/c1394a7a-f82e-4880-8e08-528cdddb562d" /client userID=ca48675f-37c5-495f-a8c3-d328dc2e3129 When SMTP client "2" sends the following message from "7bc23646-953a-4698-a3d9-364cdb2e8cbc@proton.local" to "2b78abc7-d418-432b-96aa-33c0d397c792@proton.local>": # :1 -> *scenario """ From: Bridge Test <[user:multi]@[domain]> To: Internal Bridge <[user:to]@[domain]> world """ time="2026-09-17T09:55:02Z" msg="Frontend service stopped" time="2026-09-17T09:55:02Z" msg="Frontend client stopped" time="2026-09-17T09:55:02Z" msg="Closing bridge" time="2026-09-17T09:55:02Z" msg="Stopping service" time="2026-09-17T09:55:02Z" msg="Closing user" userID=ca48675f-37c5-495f-a8c3-d328dc2e3129 time="2026-09-17T09:55:02Z" msg="De-registering user client, ID:ca48675f-37c5-495f-a8c3-d328dc2e3129" time="2026-09-17T09:55:02Z" msg="Exiting IMAP Service" time="2026-09-17T09:55:02Z" msg="Exiting service main loop" time="2026-09-17T09:55:02Z" msg="Exiting service main loop" time="2026-09-17T09:55:02Z" msg="Exiting Service" time="2026-09-17T09:55:02Z" msg="Exiting service main loop" time="2026-09-17T09:55:02Z" msg="Exiting service" time="2026-09-17T09:55:02Z" msg="Closing user" userID=6949fa03-f512-4afe-821f-d5817a56c590 time="2026-09-17T09:55:02Z" msg="De-registering user client, ID:6949fa03-f512-4afe-821f-d5817a56c590" time="2026-09-17T09:55:02Z" msg="Exiting IMAP Service" time="2026-09-17T09:55:02Z" msg="Exiting service main loop" time="2026-09-17T09:55:02Z" msg="Exiting service main loop" time="2026-09-17T09:55:02Z" msg="Exiting Service" time="2026-09-17T09:55:02Z" msg="Exiting service main loop" time="2026-09-17T09:55:02Z" msg="Exiting service" time="2026-09-17T09:55:02Z" msg="Closing IMAP Listener" time="2026-09-17T09:55:02Z" msg="Closing IMAP server" time="2026-09-17T09:55:02Z" msg="Closing SMTP Listener" time="2026-09-17T09:55:02Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:55:02Z" msg="Closing SMTP server" time="2026-09-17T09:55:02Z" msg="Closing service" Then it succeeds # :1 -> *scenario time="2026-09-17T09:55:03Z" msg="User '61d7ec48-74b1-4649-a591-b76202ef2568' created with " /server/backend time="2026-09-17T09:55:03Z" msg="User '13e1f49f-5aa4-463f-918b-ad280a85e439' created with " /server/backend time="2026-09-17T09:55:04Z" msg="User '857a9647-ac23-45df-a2c4-713614418c3f' created with " /server/backend time="2026-09-17T09:55:05Z" msg="Starting bridge" time="2026-09-17T09:55:05Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/247/config2213694456/grpcFocusServerConfig.json /service time="2026-09-17T09:55:05Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/247/cache1354568859/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:55:05Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/247/cache1354568859/notifications/notification_cache: no such file or directory" time="2026-09-17T09:55:05Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/247/data2970640614/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/247/data2970640614/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:55:05Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:55:05Z" msg="Starting IMAP server" time="2026-09-17T09:55:05Z" msg="Starting SMTP server" time="2026-09-17T09:55:05Z" msg="Starting service" time="2026-09-17T09:55:05Z" msg="Starting service" time="2026-09-17T09:55:05Z" msg="Starting frontend service" time="2026-09-17T09:55:05Z" msg="Starting receiver service" time="2026-09-17T09:55:05Z" msg="Starting poll service" time="2026-09-17T09:55:05Z" msg="Loading users" /user time="2026-09-17T09:55:05Z" msg="Finished loading users" /user time="2026-09-17T09:55:05Z" msg="Checking for updates" time="2026-09-17T09:55:05Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/247/config2213694456/grpcServerConfig.json time="2026-09-17T09:55:05Z" msg="gRPC server listening on /tmp/bridge0176" time="2026-09-17T09:55:05Z" msg="Frontend service started" time="2026-09-17T09:55:05Z" msg="Starting frontend client" time="2026-09-17T09:55:05Z" msg="Not monitoring parent PID" time="2026-09-17T09:55:05Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:55:05Z" msg="200 OK: GET https://127.0.0.1:39825/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:55:05Z" msg="Frontend client started" time="2026-09-17T09:55:05Z" msg="Performing full user login" /user username="******** (f5274c70)" time="2026-09-17T09:55:05Z" msg="Authorizing user for login" /user username="******** (f5274c70)" time="2026-09-17T09:55:05Z" msg="200 OK: POST https://127.0.0.1:39825/auth/v4/info" /manager time="2026-09-17T09:55:05Z" msg="200 OK: POST https://127.0.0.1:39825/auth/v4" /manager time="2026-09-17T09:55:05Z" msg="Logging in authorized user" /user userID=ddb9c991-0311-4dfe-887d-05d80dc142a4 time="2026-09-17T09:55:05Z" msg="Adding vault user" userID=ddb9c991-0311-4dfe-887d-05d80dc142a4 time="2026-09-17T09:55:05Z" msg="Creating new user" userID=ddb9c991-0311-4dfe-887d-05d80dc142a4 time="2026-09-17T09:55:05Z" msg="404 GET https://127.0.0.1:39825/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:55:05Z" msg="404 GET https://127.0.0.1:39825/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:55:05Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:39825/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:55:05Z" msg="Creating user object" authUID=fdca4a32-4947-447c-becb-3573a41400a2 numA numL userID=ddb9c991-0311-4dfe-887d-05d80dc142a4 time="2026-09-17T09:55:05Z" msg="200 OK: GET https://127.0.0.1:39825/core/v4/events/latest" /client userID=ddb9c991-0311-4dfe-887d-05d80dc142a4 time="2026-09-17T09:55:05Z" msg="Starting service Last EventID=AA==" time="2026-09-17T09:55:05Z" msg="200 OK: GET https://127.0.0.1:39825/core/v4/settings" /client userID=ddb9c991-0311-4dfe-887d-05d80dc142a4 time="2026-09-17T09:55:05Z" msg="Registering user client, ID:ddb9c991-0311-4dfe-887d-05d80dc142a4" time="2026-09-17T09:55:05Z" msg="Starting service main loop" time="2026-09-17T09:55:05Z" msg="Starting user identity service" numA time="2026-09-17T09:55:05Z" msg="Starting service main loop" time="2026-09-17T09:55:05Z" msg="Starting service main loop" time="2026-09-17T09:55:05Z" msg="200 OK: GET https://127.0.0.1:39825/core/v4/labels?T" /client userID=ddb9c991-0311-4dfe-887d-05d80dc142a4 time="2026-09-17T09:55:05Z" msg="200 OK: GET https://127.0.0.1:39825/core/v4/labels?T" /client userID=ddb9c991-0311-4dfe-887d-05d80dc142a4 time="2026-09-17T09:55:05Z" msg="200 OK: GET https://127.0.0.1:39825/core/v4/labels?T" /client userID=ddb9c991-0311-4dfe-887d-05d80dc142a4 time="2026-09-17T09:55:05Z" msg="Setting labels" labelIDs="[7 9 12 0 3 6 8 10 1 2 4 5]" time="2026-09-17T09:55:05Z" msg="Adding user to imap server" addrID=3ebc46f2-ad50-40bd-af37-1f59986c005f time="2026-09-17T09:55:05Z" msg="Creating new IMAP user" addrID=3ebc46f2-ad50-40bd-af37-1f59986c005f time="2026-09-17T09:55:05Z" msg="Setting gluon ID" addrID=3ebc46f2-ad50-40bd-af37-1f59986c005f gluonID=e3a9ae98-c01b-4b81-8fe8-8de17491cb58 userID=ddb9c991-0311-4dfe-887d-05d80dc142a4 time="2026-09-17T09:55:05Z" msg="Created new IMAP user" addrID=3ebc46f2-ad50-40bd-af37-1f59986c005f gluonID=e3a9ae98-c01b-4b81-8fe8-8de17491cb58 time="2026-09-17T09:55:05Z" msg="Validating Listener State" time="2026-09-17T09:55:05Z" time="2026-09-17T09:55:05Z" msg="Received mailbox message count" gluonID=e3a9ae98-c01b-4b81-8fe8-8de17491cb58 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:55:05Z" msg="Starting IMAP Service" time="2026-09-17T09:55:05Z" msg="Performing full user login" /user username="******** (916311e9)" time="2026-09-17T09:55:05Z" msg="Authorizing user for login" /user username="******** (916311e9)" time="2026-09-17T09:55:05Z" msg="Sync triggered" time="2026-09-17T09:55:05Z" msg="Beginning user sync" start="2026-09-17 09:55:05.665621489 +0000 UTC m=+594.157923825" time="2026-09-17T09:55:05Z" msg="Checking whether logged in user should re-sync. UserID:ddb9c991-0311-4dfe-887d-05d80dc142a4" userID=ddb9c991-0311-4dfe-887d-05d80dc142a4 time="2026-09-17T09:55:05Z" msg="Syncing labels" time="2026-09-17T09:55:05Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=e3a9ae98-c01b-4b81-8fe8-8de17491cb58 time="2026-09-17T09:55:05Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=e3a9ae98-c01b-4b81-8fe8-8de17491cb58 time="2026-09-17T09:55:05Z" msg="Mailbox created" /user remoteMailboxID=6 userID=e3a9ae98-c01b-4b81-8fe8-8de17491cb58 time="2026-09-17T09:55:05Z" msg="Mailbox created" /user remoteMailboxID=8 userID=e3a9ae98-c01b-4b81-8fe8-8de17491cb58 time="2026-09-17T09:55:05Z" msg="Mailbox created" /user remoteMailboxID=5 userID=e3a9ae98-c01b-4b81-8fe8-8de17491cb58 time="2026-09-17T09:55:05Z" msg="Mailbox created" /user remoteMailboxID=7 userID=e3a9ae98-c01b-4b81-8fe8-8de17491cb58 time="2026-09-17T09:55:05Z" msg="Mailbox created" /user remoteMailboxID=12 userID=e3a9ae98-c01b-4b81-8fe8-8de17491cb58 time="2026-09-17T09:55:05Z" msg="Mailbox created" /user remoteMailboxID=0 userID=e3a9ae98-c01b-4b81-8fe8-8de17491cb58 time="2026-09-17T09:55:05Z" msg="Mailbox created" /user remoteMailboxID=3 userID=e3a9ae98-c01b-4b81-8fe8-8de17491cb58 time="2026-09-17T09:55:05Z" msg="Mailbox created" /user remoteMailboxID=10 userID=e3a9ae98-c01b-4b81-8fe8-8de17491cb58 time="2026-09-17T09:55:05Z" msg="Mailbox created" /user remoteMailboxID=4 userID=e3a9ae98-c01b-4b81-8fe8-8de17491cb58 time="2026-09-17T09:55:05Z" msg="Synced labels" time="2026-09-17T09:55:05Z" msg="200 OK: POST https://127.0.0.1:39825/auth/v4/info" /manager time="2026-09-17T09:55:05Z" msg="200 OK: GET https://127.0.0.1:39825/mail/v4/messages/count" /client userID=ddb9c991-0311-4dfe-887d-05d80dc142a4 time="2026-09-17T09:55:05Z" msg="Syncing messages" time="2026-09-17T09:55:05Z" msg="Job started" time="2026-09-17T09:55:05Z" msg="200 OK: POST https://127.0.0.1:39825/mail/v4/messages" /client userID=ddb9c991-0311-4dfe-887d-05d80dc142a4 time="2026-09-17T09:55:05Z" msg="Job finished" time="2026-09-17T09:55:05Z" msg="All child jobs completed" sync- time="2026-09-17T09:55:05Z" msg="Synced messages" time="2026-09-17T09:55:05Z" msg="Finished user sync" .016525ms time="2026-09-17T09:55:05Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:55:05Z" msg="Event loop reset" eventID="AA==" time="2026-09-17T09:55:05Z" msg="Heartbeat sent" metrics="{bridge.any.heartbeat bridge_heartbeat_new {1 4} {true true false false false true true true true true false 0.0.0 starttls starttls unknown}}" time="2026-09-17T09:55:06Z" msg="200 OK: POST https://127.0.0.1:39825/auth/v4" /manager time="2026-09-17T09:55:06Z" msg="Logging in authorized user" /user userID=9502e32a-019b-4c2b-bc5f-b8daa65a6cf3 time="2026-09-17T09:55:06Z" msg="Adding vault user" userID=9502e32a-019b-4c2b-bc5f-b8daa65a6cf3 time="2026-09-17T09:55:06Z" msg="Creating new user" userID=9502e32a-019b-4c2b-bc5f-b8daa65a6cf3 time="2026-09-17T09:55:06Z" msg="404 GET https://127.0.0.1:39825/core/v4/organizations: 404 Not Found (C, S), Attempt 1" /client time="2026-09-17T09:55:06Z" msg="404 GET https://127.0.0.1:39825/core/v4/organizations: 404 Not Found (C, S)" /client time="2026-09-17T09:55:06Z" msg="Failed to obtain user organization data" error="404 GET https://127.0.0.1:39825/core/v4/organizations: 404 Not Found (C, S)" time="2026-09-17T09:55:06Z" msg="Creating user object" authUID=e3b39ded-ae8d-4679-b659-391ef5955fc8 numA numL userID=9502e32a-019b-4c2b-bc5f-b8daa65a6cf3 time="2026-09-17T09:55:06Z" msg="200 OK: GET https://127.0.0.1:39825/core/v4/events/latest" /client userID=9502e32a-019b-4c2b-bc5f-b8daa65a6cf3 time="2026-09-17T09:55:06Z" msg="Starting service Last EventID=Ag==" time="2026-09-17T09:55:06Z" msg="200 OK: GET https://127.0.0.1:39825/core/v4/settings" /client userID=9502e32a-019b-4c2b-bc5f-b8daa65a6cf3 time="2026-09-17T09:55:06Z" msg="Registering user client, ID:9502e32a-019b-4c2b-bc5f-b8daa65a6cf3" time="2026-09-17T09:55:06Z" msg="Starting service main loop" time="2026-09-17T09:55:06Z" msg="Starting user identity service" numA time="2026-09-17T09:55:06Z" msg="Starting service main loop" time="2026-09-17T09:55:06Z" msg="Starting service main loop" time="2026-09-17T09:55:06Z" msg="200 OK: GET https://127.0.0.1:39825/core/v4/labels?T" /client userID=9502e32a-019b-4c2b-bc5f-b8daa65a6cf3 time="2026-09-17T09:55:06Z" msg="200 OK: GET https://127.0.0.1:39825/core/v4/labels?T" /client userID=9502e32a-019b-4c2b-bc5f-b8daa65a6cf3 time="2026-09-17T09:55:06Z" msg="200 OK: GET https://127.0.0.1:39825/core/v4/labels?T" /client userID=9502e32a-019b-4c2b-bc5f-b8daa65a6cf3 time="2026-09-17T09:55:06Z" msg="Setting labels" labelIDs="[0 2 3 4 6 7 8 10 1 5 9 12]" time="2026-09-17T09:55:06Z" msg="Adding user to imap server" addrID=6e3033af-70e6-4ebe-a9d7-d064da5e400b time="2026-09-17T09:55:06Z" msg="Creating new IMAP user" addrID=6e3033af-70e6-4ebe-a9d7-d064da5e400b time="2026-09-17T09:55:06Z" msg="Setting gluon ID" addrID=6e3033af-70e6-4ebe-a9d7-d064da5e400b gluonID=65e2c9b4-ae3b-4373-956b-e0a763b8bacd userID=9502e32a-019b-4c2b-bc5f-b8daa65a6cf3 time="2026-09-17T09:55:06Z" msg="Received mailbox message count" gluonID=65e2c9b4-ae3b-4373-956b-e0a763b8bacd labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:55:06Z" msg="Created new IMAP user" addrID=6e3033af-70e6-4ebe-a9d7-d064da5e400b gluonID=65e2c9b4-ae3b-4373-956b-e0a763b8bacd time="2026-09-17T09:55:06Z" msg="Validating Listener State" time="2026-09-17T09:55:06Z" time="2026-09-17T09:55:06Z" msg="Starting IMAP Service" time="2026-09-17T09:55:06Z" msg="Setting address mode" /user userID=9502e32a-019b-4c2b-bc5f-b8daa65a6cf3 time="2026-09-17T09:55:06Z" msg="Setting address mode" userID=9502e32a-019b-4c2b-bc5f-b8daa65a6cf3 time="2026-09-17T09:55:06Z" msg="Sync triggered" time="2026-09-17T09:55:06Z" msg="Beginning user sync" start="2026-09-17 09:55:06.103047089 +0000 UTC m=+594.595349425" time="2026-09-17T09:55:06Z" msg="Setting Split Address Mode" time="2026-09-17T09:55:06Z" msg="Checking whether logged in user should re-sync. UserID:9502e32a-019b-4c2b-bc5f-b8daa65a6cf3" userID=9502e32a-019b-4c2b-bc5f-b8daa65a6cf3 time="2026-09-17T09:55:06Z" msg="Failed to check and report label conflicts" error="context canceled" time="2026-09-17T09:55:06Z" msg="Sync aborted" error="context canceled" time="2026-09-17T09:55:06Z" msg="Finished user sync" duration="353.362µs" time="2026-09-17T09:55:06Z" msg="Removing gluon ID" addrID=6e3033af-70e6-4ebe-a9d7-d064da5e400b gluonID=65e2c9b4-ae3b-4373-956b-e0a763b8bacd userID=9502e32a-019b-4c2b-bc5f-b8daa65a6cf3 time="2026-09-17T09:55:06Z" msg="Validating Listener State" time="2026-09-17T09:55:06Z" msg="Adding user to imap server" addrID=6e3033af-70e6-4ebe-a9d7-d064da5e400b time="2026-09-17T09:55:06Z" msg="Creating new IMAP user" addrID=6e3033af-70e6-4ebe-a9d7-d064da5e400b time="2026-09-17T09:55:06Z" msg="Setting gluon ID" addrID=6e3033af-70e6-4ebe-a9d7-d064da5e400b gluonID=22bc2d52-b491-4e44-86f2-4bd964fecf58 userID=9502e32a-019b-4c2b-bc5f-b8daa65a6cf3 time="2026-09-17T09:55:06Z" msg="Received mailbox message count" gluonID=22bc2d52-b491-4e44-86f2-4bd964fecf58 labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:55:06Z" msg="Created new IMAP user" addrID=6e3033af-70e6-4ebe-a9d7-d064da5e400b gluonID=22bc2d52-b491-4e44-86f2-4bd964fecf58 time="2026-09-17T09:55:06Z" msg="Validating Listener State" time="2026-09-17T09:55:06Z" msg="Adding user to imap server" addrID=e4b899dd-518d-486a-acf8-101e903aa962 time="2026-09-17T09:55:06Z" msg="Creating new IMAP user" addrID=e4b899dd-518d-486a-acf8-101e903aa962 time="2026-09-17T09:55:06Z" msg="Setting gluon ID" addrID=e4b899dd-518d-486a-acf8-101e903aa962 gluonID=d9c8d7f2-c216-4e33-956a-9f1efdf6ac9d userID=9502e32a-019b-4c2b-bc5f-b8daa65a6cf3 time="2026-09-17T09:55:06Z" msg="Received mailbox message count" gluonID=d9c8d7f2-c216-4e33-956a-9f1efdf6ac9d labelID=GLUON-INTERNAL-RECOVERY-MBOX /event/imap time="2026-09-17T09:55:06Z" msg="Created new IMAP user" addrID=e4b899dd-518d-486a-acf8-101e903aa962 gluonID=d9c8d7f2-c216-4e33-956a-9f1efdf6ac9d time="2026-09-17T09:55:06Z" msg="Validating Listener State" time="2026-09-17T09:55:06Z" msg="Sync triggered" time="2026-09-17T09:55:06Z" msg="Beginning user sync" start="2026-09-17 09:55:06.119592883 +0000 UTC m=+594.611895579" Scenario: Send with two separate users # features/smtp/send/two_messages.feature:57 When user "61d7ec48-74b1-4649-a591-b76202ef2568" connects and authenticates SMTP client "1" # :1 -> *scenario time="2026-09-17T09:55:06Z" msg="Syncing labels" time="2026-09-17T09:55:06Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=22bc2d52-b491-4e44-86f2-4bd964fecf58 And user "13e1f49f-5aa4-463f-918b-ad280a85e439" connects and authenticates SMTP client "2" # :1 -> *scenario time="2026-09-17T09:55:06Z" msg="Mailbox created" /user remoteMailboxID=Folders userID=d9c8d7f2-c216-4e33-956a-9f1efdf6ac9d time="2026-09-17T09:55:06Z" msg="Sending observability data." time="2026-09-17T09:55:06Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=22bc2d52-b491-4e44-86f2-4bd964fecf58 time="2026-09-17T09:55:06Z" msg="Mailbox created" /user remoteMailboxID=Labels userID=d9c8d7f2-c216-4e33-956a-9f1efdf6ac9d time="2026-09-17T09:55:06Z" msg="200 OK: POST https://127.0.0.1:39825/data/v1/metrics" /client userID=ddb9c991-0311-4dfe-887d-05d80dc142a4 time="2026-09-17T09:55:06Z" msg="Successfully sent observability data." time="2026-09-17T09:55:06Z" msg="200 OK: GET https://127.0.0.1:39825/mail/v4/settings" /client userID=ddb9c991-0311-4dfe-887d-05d80dc142a4 time="2026-09-17T09:55:06Z" msg="Mailbox created" /user remoteMailboxID=0 userID=22bc2d52-b491-4e44-86f2-4bd964fecf58 time="2026-09-17T09:55:06Z" msg="Mailbox created" /user remoteMailboxID=0 userID=d9c8d7f2-c216-4e33-956a-9f1efdf6ac9d time="2026-09-17T09:55:06Z" msg="Mailbox created" /user remoteMailboxID=4 userID=22bc2d52-b491-4e44-86f2-4bd964fecf58 time="2026-09-17T09:55:06Z" msg="Mailbox created" /user remoteMailboxID=4 userID=d9c8d7f2-c216-4e33-956a-9f1efdf6ac9d time="2026-09-17T09:55:06Z" msg="Mailbox created" /user remoteMailboxID=7 userID=d9c8d7f2-c216-4e33-956a-9f1efdf6ac9d time="2026-09-17T09:55:06Z" msg="Mailbox created" /user remoteMailboxID=7 userID=22bc2d52-b491-4e44-86f2-4bd964fecf58 time="2026-09-17T09:55:06Z" msg="Mailbox created" /user remoteMailboxID=8 userID=d9c8d7f2-c216-4e33-956a-9f1efdf6ac9d time="2026-09-17T09:55:06Z" msg="Mailbox created" /user remoteMailboxID=8 userID=22bc2d52-b491-4e44-86f2-4bd964fecf58 time="2026-09-17T09:55:06Z" msg="Mailbox created" /user remoteMailboxID=10 userID=d9c8d7f2-c216-4e33-956a-9f1efdf6ac9d time="2026-09-17T09:55:06Z" msg="Mailbox created" /user remoteMailboxID=10 userID=22bc2d52-b491-4e44-86f2-4bd964fecf58 time="2026-09-17T09:55:06Z" msg="Mailbox created" /user remoteMailboxID=5 userID=d9c8d7f2-c216-4e33-956a-9f1efdf6ac9d time="2026-09-17T09:55:06Z" msg="Mailbox created" /user remoteMailboxID=5 userID=22bc2d52-b491-4e44-86f2-4bd964fecf58 time="2026-09-17T09:55:06Z" msg="Mailbox created" /user remoteMailboxID=3 userID=d9c8d7f2-c216-4e33-956a-9f1efdf6ac9d time="2026-09-17T09:55:06Z" msg="Mailbox created" /user remoteMailboxID=3 userID=22bc2d52-b491-4e44-86f2-4bd964fecf58 time="2026-09-17T09:55:06Z" msg="Mailbox created" /user remoteMailboxID=6 userID=d9c8d7f2-c216-4e33-956a-9f1efdf6ac9d time="2026-09-17T09:55:06Z" msg="Mailbox created" /user remoteMailboxID=6 userID=22bc2d52-b491-4e44-86f2-4bd964fecf58 time="2026-09-17T09:55:06Z" msg="Mailbox created" /user remoteMailboxID=12 userID=d9c8d7f2-c216-4e33-956a-9f1efdf6ac9d time="2026-09-17T09:55:06Z" msg="Mailbox created" /user remoteMailboxID=12 userID=22bc2d52-b491-4e44-86f2-4bd964fecf58 time="2026-09-17T09:55:06Z" msg="Synced labels" time="2026-09-17T09:55:06Z" msg="200 OK: GET https://127.0.0.1:39825/mail/v4/messages/count" /client userID=9502e32a-019b-4c2b-bc5f-b8daa65a6cf3 time="2026-09-17T09:55:06Z" msg="Syncing messages" time="2026-09-17T09:55:06Z" msg="Job started" time="2026-09-17T09:55:06Z" msg="200 OK: POST https://127.0.0.1:39825/mail/v4/messages" /client userID=9502e32a-019b-4c2b-bc5f-b8daa65a6cf3 time="2026-09-17T09:55:06Z" msg="Job finished" time="2026-09-17T09:55:06Z" msg="All child jobs completed" sync- time="2026-09-17T09:55:06Z" msg="Synced messages" time="2026-09-17T09:55:06Z" msg="Finished user sync" .560688ms time="2026-09-17T09:55:06Z" msg="Sync complete, starting API event stream" time="2026-09-17T09:55:06Z" msg="Event loop reset" eventID="Ag==" time="2026-09-17T09:55:06Z" msg="200 OK: POST https://127.0.0.1:39825/mail/v4/messages" /client userID=ddb9c991-0311-4dfe-887d-05d80dc142a4 time="2026-09-17T09:55:06Z" msg="200 OK: GET https://127.0.0.1:39825/core/v4/keys?E%40proton.local" /client userID=ddb9c991-0311-4dfe-887d-05d80dc142a4 time="2026-09-17T09:55:06Z" msg="200 OK: GET https://127.0.0.1:39825/contacts/v4/emails?E%40proton.local&P&PageS" /client userID=ddb9c991-0311-4dfe-887d-05d80dc142a4 time="2026-09-17T09:55:06Z" msg="200 OK: POST https://127.0.0.1:39825/mail/v4/messages/5d9e6742-7c35-46d3-af6b-638a27a0d9cb" /client userID=ddb9c991-0311-4dfe-887d-05d80dc142a4 time="2026-09-17T09:55:06Z" msg="Scheduling observability data sending" When SMTP client "1" sends the following message from "61d7ec48-74b1-4649-a591-b76202ef2568@proton.local" to "857a9647-ac23-45df-a2c4-713614418c3f@proton.local>": # :1 -> *scenario """ From: Bridge Test <[user:user]@[domain]> To: Internal Bridge <[user:to]@[domain]> hello """ Then it succeeds # :1 -> *scenario time="2026-09-17T09:55:06Z" msg="200 OK: GET https://127.0.0.1:39825/mail/v4/settings" /client userID=9502e32a-019b-4c2b-bc5f-b8daa65a6cf3 time="2026-09-17T09:55:06Z" msg="200 OK: POST https://127.0.0.1:39825/mail/v4/messages" /client userID=9502e32a-019b-4c2b-bc5f-b8daa65a6cf3 time="2026-09-17T09:55:06Z" msg="200 OK: GET https://127.0.0.1:39825/core/v4/keys?E%40proton.local" /client userID=9502e32a-019b-4c2b-bc5f-b8daa65a6cf3 time="2026-09-17T09:55:06Z" msg="200 OK: GET https://127.0.0.1:39825/contacts/v4/emails?E%40proton.local&P&PageS" /client userID=9502e32a-019b-4c2b-bc5f-b8daa65a6cf3 time="2026-09-17T09:55:06Z" msg="200 OK: POST https://127.0.0.1:39825/mail/v4/messages/3ea330cf-56dc-4df4-a69d-e4aebb8c346e" /client userID=9502e32a-019b-4c2b-bc5f-b8daa65a6cf3 When SMTP client "2" sends the following message from "13e1f49f-5aa4-463f-918b-ad280a85e439@proton.local" to "857a9647-ac23-45df-a2c4-713614418c3f@proton.local>": # :1 -> *scenario """ From: Bridge Test <[user:multi]@[domain]> To: Internal Bridge <[user:to]@[domain]> world """ time="2026-09-17T09:55:06Z" msg="Frontend service stopped" time="2026-09-17T09:55:06Z" msg="Frontend client stopped" time="2026-09-17T09:55:06Z" msg="Closing bridge" time="2026-09-17T09:55:06Z" msg="Stopping service" time="2026-09-17T09:55:06Z" msg="Closing user" userID=ddb9c991-0311-4dfe-887d-05d80dc142a4 time="2026-09-17T09:55:06Z" msg="De-registering user client, ID:ddb9c991-0311-4dfe-887d-05d80dc142a4" time="2026-09-17T09:55:06Z" msg="Exiting IMAP Service" time="2026-09-17T09:55:06Z" msg="Exiting service main loop" time="2026-09-17T09:55:06Z" msg="Exiting service main loop" time="2026-09-17T09:55:06Z" msg="Exiting Service" time="2026-09-17T09:55:06Z" msg="Exiting service main loop" time="2026-09-17T09:55:06Z" msg="Exiting service" time="2026-09-17T09:55:06Z" msg="Closing user" userID=9502e32a-019b-4c2b-bc5f-b8daa65a6cf3 time="2026-09-17T09:55:06Z" msg="De-registering user client, ID:9502e32a-019b-4c2b-bc5f-b8daa65a6cf3" time="2026-09-17T09:55:06Z" msg="Exiting IMAP Service" time="2026-09-17T09:55:06Z" msg="Exiting service main loop" time="2026-09-17T09:55:06Z" msg="Exiting service main loop" time="2026-09-17T09:55:06Z" msg="Exiting Service" time="2026-09-17T09:55:06Z" msg="Exiting service main loop" time="2026-09-17T09:55:06Z" msg="Exiting service" time="2026-09-17T09:55:06Z" msg="Closing IMAP Listener" time="2026-09-17T09:55:06Z" msg="Closing IMAP server" time="2026-09-17T09:55:06Z" msg="Closing SMTP Listener" time="2026-09-17T09:55:06Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:55:06Z" msg="Closing SMTP server" time="2026-09-17T09:55:06Z" msg="Closing service" Then it succeeds # :1 -> *scenario Feature: Account settings time="2026-09-17T09:55:06Z" msg="User '44e4b62d-4126-4bbc-ae46-0f3cfabf9d83' created with " /server/backend Background: Given there exists an account with username "44e4b62d-4126-4bbc-ae46-0f3cfabf9d83" and password "password" # :1 -> *scenario Then it succeeds # :1 -> *scenario time="2026-09-17T09:55:06Z" msg="Starting bridge" time="2026-09-17T09:55:06Z" msg="Successfully saved gRPC Focus service config file" path=/tmp/TestFeatures608333626/248/config97636575/grpcFocusServerConfig.json /service time="2026-09-17T09:55:06Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/248/cache1571423312/unleash_cache/unleash_flags: no such file or directory" time="2026-09-17T09:55:06Z" msg="Unable to open cache file" error="open /tmp/TestFeatures608333626/248/cache1571423312/notifications/notification_cache: no such file or directory" time="2026-09-17T09:55:06Z" msg="Creating IMAP server" gluonDB=/tmp/TestFeatures608333626/248/data290725583/gluon/backend/db gluonStore=/tmp/TestFeatures608333626/248/data290725583/gluon/backend/store logC logS /imap .10.0 time="2026-09-17T09:55:06Z" msg="Creating SMTP server" logSMTP=false /smtp time="2026-09-17T09:55:06Z" msg="Starting IMAP server" time="2026-09-17T09:55:06Z" msg="Starting SMTP server" time="2026-09-17T09:55:06Z" msg="Starting service" time="2026-09-17T09:55:06Z" msg="Starting service" time="2026-09-17T09:55:06Z" msg="Starting frontend service" time="2026-09-17T09:55:06Z" msg="Starting poll service" time="2026-09-17T09:55:06Z" msg="Starting receiver service" time="2026-09-17T09:55:06Z" msg="Loading users" /user time="2026-09-17T09:55:06Z" msg="Finished loading users" /user time="2026-09-17T09:55:06Z" msg="Checking for updates" time="2026-09-17T09:55:06Z" msg="Successfully saved gRPC service config file" path=/tmp/TestFeatures608333626/248/config97636575/grpcServerConfig.json time="2026-09-17T09:55:06Z" msg="gRPC server listening on /tmp/bridge8224" time="2026-09-17T09:55:06Z" msg="Frontend service started" time="2026-09-17T09:55:06Z" msg="Starting frontend client" time="2026-09-17T09:55:06Z" msg="Not monitoring parent PID" time="2026-09-17T09:55:06Z" msg="Starting gRPC server" useFileS time="2026-09-17T09:55:06Z" msg="200 OK: GET https://127.0.0.1:38005/feature/v2/frontend?bridgeStickyK" /manager time="2026-09-17T09:55:06Z" msg="Frontend client started" When bridge starts # :1 -> *scenario Scenario: Check account default settings # features/user/account.feature:8 Then the account "44e4b62d-4126-4bbc-ae46-0f3cfabf9d83" matches the following settings: # :1 -> *scenario | DraftMIMEType | AttachPublicKey | Sign | PGPScheme | | text/html | false | 0 | 0 | When the account "44e4b62d-4126-4bbc-ae46-0f3cfabf9d83" has public key attachment "enabled" # :1 -> *scenario And the account "44e4b62d-4126-4bbc-ae46-0f3cfabf9d83" has sign external messages "enabled" # :1 -> *scenario And the account "44e4b62d-4126-4bbc-ae46-0f3cfabf9d83" has default draft format "plain" # :1 -> *scenario And the account "44e4b62d-4126-4bbc-ae46-0f3cfabf9d83" has default PGP schema "inline" # :1 -> *scenario time="2026-09-17T09:55:08Z" msg="Frontend service stopped" time="2026-09-17T09:55:08Z" msg="Frontend client stopped" time="2026-09-17T09:55:08Z" msg="Closing bridge" time="2026-09-17T09:55:08Z" msg="Stopping service" time="2026-09-17T09:55:08Z" msg="Closing IMAP Listener" time="2026-09-17T09:55:08Z" msg="Closing IMAP server" time="2026-09-17T09:55:08Z" msg="Closing SMTP Listener" time="2026-09-17T09:55:08Z" msg="SMTP server stopped" error="accept tcp 127.0.0.1:1025: use of closed network connection" time="2026-09-17T09:55:08Z" msg="Closing SMTP server" time="2026-09-17T09:55:08Z" msg="Closing service" Then the account "44e4b62d-4126-4bbc-ae46-0f3cfabf9d83" matches the following settings: # :1 -> *scenario | DraftMIMEType | AttachPublicKey | Sign | PGPScheme | | text/plain | true | 1 | 8 | Feature: Address mode time="2026-09-17T09:55:09Z" msg="User 'e5e260c6-616b-4bb5-a4d6-e60f3eb544bb' created with " /server/backend Background: Given there exists an account with username "e5e260c6-616b-4bb5-a4d6-e60f3eb544bb" and password "password" # :1 -> *scenario And the account "e5e260c6-616b-4bb5-a4d6-e60f3eb544bb" has additional address "141405ae-dceb-48d7-86d4-8dab66f65aa2@proton.local" # :1 -> *scenario And the account "e5e260c6-616b-4bb5-a4d6-e60f3eb544bb" has the following custom mailboxes: # :1 -> *scenario | name | type | | one | folder | | two | folder | And the address "e5e260c6-616b-4bb5-a4d6-e60f3eb544bb@proton.local" of account "e5e260c6-616b-4bb5-a4d6-e60f3eb544bb" has the following messages in "Folders/one": # :1 -> *scenario | from | to | subject | unread | | a@proton.local | a@proton.local | one | true | | b@proton.local | b@proton.local | two | false | panic: test timed out after 10m0s running tests: TestFeatures (10m0s) TestFeatures/The_user_is_in_combined_mode (3s) goroutine 152933 [running]: testing.(*M).startAlarm.func1() /usr/lib/go/src/testing/testing.go:2959 +0x2c4 created by time.goFunc /usr/lib/go/src/time/sleep.go:182 +0x38 goroutine 1 [chan receive, 10 minutes]: testing.(*T).Run(0x590058e72008, {0xaaaacf84eceb?, 0x590058cfb978?}, 0xaaaad0dc6980) /usr/lib/go/src/testing/testing.go:2266 +0x3cc testing.runTests.func1(0x590058e72008) /usr/lib/go/src/testing/testing.go:2742 +0x38 testing.tRunner(0x590058e72008, 0x590058cfbaa8) /usr/lib/go/src/testing/testing.go:2193 +0xc4 testing.runTests({0xaaaacf88ed9a, 0x26}, {0xaaaacf89c85e, 0x2c}, 0x590058cd20d8, {0xaaaad0deffc8, 0x2, 0x2}, {0x590058cfbb38?, 0xaaaace68e020?, ...}) /usr/lib/go/src/testing/testing.go:2740 +0x400 testing.(*M).Run(0x590058da2140) /usr/lib/go/src/testing/testing.go:2600 +0x578 go.uber.org/goleak.VerifyTestMain({0xaaaad0da52a8?, 0x590058da2140?}, {0x590058f39df8, 0x1, 0x1}) /build/protonmail-bridge/src/proton-bridge/vendor/go.uber.org/goleak/testmain.go:53 +0x44 github.com/ProtonMail/proton-bridge/v3/tests.TestMain(0x590058da2140) /build/protonmail-bridge/src/proton-bridge/tests/main_test.go:58 +0x14c main.main() _testmain.go:50 +0x88 goroutine 43 [select, 10 minutes]: io.(*pipe).read(0x590058e00180, {0x5900591a8000, 0x10000, 0xffff9e82ae60?}) /usr/lib/go/src/io/pipe.go:57 +0x80 io.(*PipeReader).Read(0x590059154df8?, {0x5900591a8000?, 0xaaaad0f7c4e0?, 0x10000?}) /usr/lib/go/src/io/pipe.go:134 +0x24 bufio.(*Scanner).Scan(0x590058d4ff18) /usr/lib/go/src/bufio/scan.go:219 +0x3d4 github.com/sirupsen/logrus.(*Entry).writerScanner(0x590059028b60, 0x590058e00180, 0x590058d9a160) /build/protonmail-bridge/src/proton-bridge/vendor/github.com/sirupsen/logrus/writer.go:86 +0xec created by github.com/sirupsen/logrus.(*Entry).WriterLevel in goroutine 1 /build/protonmail-bridge/src/proton-bridge/vendor/github.com/sirupsen/logrus/writer.go:57 +0x384 goroutine 52 [chan receive]: testing.(*T).Run(0x590058e72248, {0x590058ce777c?, 0xd?}, 0x59005cc038f0) /usr/lib/go/src/testing/testing.go:2266 +0x3cc github.com/cucumber/godog.(*suite).runPickle(0x590059ef3a40, 0x59005b4a0ab0) /build/protonmail-bridge/src/proton-bridge/vendor/github.com/cucumber/godog/suite.go:446 +0x2b8 github.com/cucumber/godog.(*runner).concurrent.func1(0x5900599ab5f8, 0x59005b4a0ab0) /build/protonmail-bridge/src/proton-bridge/vendor/github.com/cucumber/godog/run.go:122 +0x14c github.com/cucumber/godog.(*runner).concurrent(0x590058f86310, 0x1) /build/protonmail-bridge/src/proton-bridge/vendor/github.com/cucumber/godog/run.go:133 +0x4bc github.com/cucumber/godog.runWithOptions({0x0, 0x0}, {0x0, 0x0, 0x0, {0x0, 0x0}, 0x0, {0x0, 0x0, ...}, ...}, ...) /build/protonmail-bridge/src/proton-bridge/vendor/github.com/cucumber/godog/run.go:261 +0x920 github.com/cucumber/godog.TestSuite.Run({{0x0, 0x0}, 0xaaaad0dc6b38, 0x590058cd2150, 0x590058d94100}) /build/protonmail-bridge/src/proton-bridge/vendor/github.com/cucumber/godog/run.go:315 +0xec github.com/ProtonMail/proton-bridge/v3/tests.TestFeatures(0x590058e72248) /build/protonmail-bridge/src/proton-bridge/tests/bdd_test.go:110 +0x280 testing.tRunner(0x590058e72248, 0xaaaad0dc6980) /usr/lib/go/src/testing/testing.go:2193 +0xc4 created by testing.(*T).Run in goroutine 1 /usr/lib/go/src/testing/testing.go:2258 +0x3b8 goroutine 152918 [IO wait]: internal/poll.runtime_pollWait(0xffff3ceb7000, 0x72) /usr/lib/go/src/runtime/netpoll.go:351 +0xa0 internal/poll.(*pollDesc).wait(0x59005c344500?, 0x59005ca88800?, 0x0) /usr/lib/go/src/internal/poll/fd_poll_runtime.go:84 +0x28 internal/poll.(*pollDesc).waitRead(...) /usr/lib/go/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0x59005c344500, {0x59005ca88800, 0x800, 0x800}) /usr/lib/go/src/internal/poll/fd_unix.go:170 +0x22c net.(*netFD).Read(0x59005c344500, {0x59005ca88800?, 0x59005cdc9758?, 0xaaaace6a34fc?}) /usr/lib/go/src/net/fd_posix.go:68 +0x28 net.(*conn).Read(0x59005a71c8f8, {0x59005ca88800?, 0x0?, 0x0?}) /usr/lib/go/src/net/net.go:196 +0x34 crypto/tls.(*Conn).readFromUntil(0x59005abc6808, {0xaaaad0da6748, 0x59005a71c8f8}, 0xaaaace96709c?) /usr/lib/go/src/crypto/tls/conn.go:820 +0xdc crypto/tls.(*Conn).readRecordOrCCS(0x59005abc6808, 0x0) /usr/lib/go/src/crypto/tls/conn.go:626 +0x350 crypto/tls.(*Conn).readRecord(...) /usr/lib/go/src/crypto/tls/conn.go:588 crypto/tls.(*Conn).Read(0x59005abc6808, {0x59005bd42000, 0x1000, 0xaaaace727d80?}) /usr/lib/go/src/crypto/tls/conn.go:1392 +0x150 net/http.(*connReader).Read(0x59005cb698c0, {0x59005bd42000, 0x1000, 0x1000}) /usr/lib/go/src/net/http/server.go:856 +0x228 bufio.(*Reader).fill(0x59005c640240) /usr/lib/go/src/bufio/bufio.go:113 +0xdc bufio.(*Reader).Peek(0x59005c640240, 0x4) /usr/lib/go/src/bufio/bufio.go:152 +0x58 net/http.(*conn).serve(0x59005a49f170, {0xaaaad0db8f18, 0x59005c806c60}) /usr/lib/go/src/net/http/server.go:2173 +0x6cc created by net/http.(*Server).Serve in goroutine 152802 /usr/lib/go/src/net/http/server.go:3581 +0x3e8 goroutine 152753 [runnable]: github.com/cronokirby/saferith.montgomeryMul({0x590059fce000?, 0x20?, 0x240?}, {0x590059fce000?, 0x20?, 0x240?}, {0x590059fce000?, 0x20?, 0x240?}, {0x590059fcf000?, ...}, ...) /build/protonmail-bridge/src/proton-bridge/vendor/github.com/cronokirby/saferith/num.go:1147 +0x280 github.com/cronokirby/saferith.(*Nat).expOdd(0x59005c874088, 0xaaaaceb7d3e8?, 0x59005b3bb110, 0x59005b518040) /build/protonmail-bridge/src/proton-bridge/vendor/github.com/cronokirby/saferith/num.go:1313 +0x394 github.com/cronokirby/saferith.(*Nat).Exp(0x59005c874060?, 0x2?, 0x59005c874288?, 0xaaaaceb74388?) /build/protonmail-bridge/src/proton-bridge/vendor/github.com/cronokirby/saferith/num.go:1365 +0x34 github.com/ProtonMail/go-srp.generateClientEphemeral(0x800, 0x59005c874288?, 0x59005c874288, 0x59005c874240, 0x59005b518040) /build/protonmail-bridge/src/proton-bridge/vendor/github.com/ProtonMail/go-srp/srp.go:323 +0xdc github.com/ProtonMail/go-srp.(*Auth).GenerateProofs(0x59005c678960, 0x800) /build/protonmail-bridge/src/proton-bridge/vendor/github.com/ProtonMail/go-srp/srp.go:444 +0x13c github.com/ProtonMail/go-proton-api.(*Manager).NewClientWithLoginWithHVToken(0x59005cb53c20, {0xaaaad0db8f50, 0x59005c348230}, {0x590059341bcc, 0x24}, {0x59005c7922fb, 0x8, 0x8}, 0x0) /build/protonmail-bridge/src/proton-bridge/vendor/github.com/ProtonMail/go-proton-api/manager_auth.go:46 +0x128 github.com/ProtonMail/go-proton-api.(*Manager).NewClientWithLogin(0x59005a98ef08?, {0xaaaad0db8f50?, 0x59005c348230?}, {0x590059341bcc?, 0x59005ce8f020?}, {0x59005c7922fb?, 0x0?, 0x0?}) /build/protonmail-bridge/src/proton-bridge/vendor/github.com/ProtonMail/go-proton-api/manager_auth.go:32 +0x90 github.com/ProtonMail/proton-bridge/v3/tests.(*testCtx).withClientPass.func1(0x59005c874930?) /build/protonmail-bridge/src/proton-bridge/tests/ctx_helper_test.go:59 +0x60 github.com/ProtonMail/proton-bridge/v3/tests.(*testCtx).withProton(0x59005bf36300, 0x59005c8749b8) /build/protonmail-bridge/src/proton-bridge/tests/ctx_helper_test.go:48 +0x2ac github.com/ProtonMail/proton-bridge/v3/tests.(*testCtx).withClientPass(...) /build/protonmail-bridge/src/proton-bridge/tests/ctx_helper_test.go:58 github.com/ProtonMail/proton-bridge/v3/tests.(*testCtx).withClient(0x59005bf36300, {0xaaaad0db8f50, 0x59005c348230}, {0x590059341bcc, 0x24}, 0x59005c874d28) /build/protonmail-bridge/src/proton-bridge/tests/ctx_helper_test.go:53 +0xd8 github.com/ProtonMail/proton-bridge/v3/tests.(*testCtx).createMessages(...) /build/protonmail-bridge/src/proton-bridge/tests/ctx_helper_test.go:141 github.com/ProtonMail/proton-bridge/v3/tests.(*scenario).theAddressOfAccountHasTheFollowingMessagesInMailbox(0x590058e082c0, {0x590059341b8d, 0x31}, {0x590059341bcc, 0x24}, {0x590059341c11, 0xb}, 0x5900593c2090) /build/protonmail-bridge/src/proton-bridge/tests/user_test.go:204 +0x3f8 reflect.Value.call({0xaaaad0aed5b0?, 0x590059289190?, 0x59005c875518?}, {0xaaaacf838704, 0x4}, {0x590059fc4c00, 0x4, 0xaaaace75b6a4?}) /usr/lib/go/src/reflect/value.go:586 +0xa88 reflect.Value.Call({0xaaaad0aed5b0?, 0x590059289190?, 0xaaaad0c3cc58?}, {0x590059fc4c00?, 0xaaaad0d9e8b0?, 0xaaaace68e020?}) /usr/lib/go/src/reflect/value.go:369 +0x94 github.com/cucumber/godog/internal/models.(*StepDefinition).Run(0x59005c1329a0, {0xaaaad0db8e70, 0xaaaad0f79280}) /build/protonmail-bridge/src/proton-bridge/vendor/github.com/cucumber/godog/internal/models/stepdef.go:182 +0x1bb8 github.com/cucumber/godog.(*suite).runStep(0x590059ef3a40, {0xaaaad0db8e70, 0xaaaad0f79280}, 0x59005b4a0ab0, 0x5900592f30c0, {0x0, 0x0?}, 0x1?, 0x0?) /build/protonmail-bridge/src/proton-bridge/vendor/github.com/cucumber/godog/suite.go:183 +0x5fc github.com/cucumber/godog.(*suite).runSteps(0x590059ef3a40, {0xaaaad0db8e70?, 0xaaaad0f79280?}, 0x59005b4a0ab0, {0x59005989ef00, 0x12, 0x37942583ce7a3c70?}) /build/protonmail-bridge/src/proton-bridge/vendor/github.com/cucumber/godog/suite.go:391 +0xb4 github.com/cucumber/godog.(*suite).runPickle.func1(0x59005a469b08) /build/protonmail-bridge/src/proton-bridge/vendor/github.com/cucumber/godog/suite.go:447 +0x3c testing.tRunner(0x59005a469b08, 0x59005cc038f0) /usr/lib/go/src/testing/testing.go:2193 +0xc4 created by testing.(*T).Run in goroutine 52 /usr/lib/go/src/testing/testing.go:2258 +0x3b8 goroutine 152859 [select]: net/http.(*persistConn).writeLoop(0x59005bddf040) /usr/lib/go/src/net/http/transport.go:2810 +0x98 created by net/http.(*Transport).dialConn in goroutine 152930 /usr/lib/go/src/net/http/transport.go:2124 +0x1528 goroutine 152858 [IO wait]: internal/poll.runtime_pollWait(0xffff3ceb5e00, 0x72) /usr/lib/go/src/runtime/netpoll.go:351 +0xa0 internal/poll.(*pollDesc).wait(0x5900594dd800?, 0x59005b98b500?, 0x0) /usr/lib/go/src/internal/poll/fd_poll_runtime.go:84 +0x28 internal/poll.(*pollDesc).waitRead(...) /usr/lib/go/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0x5900594dd800, {0x59005b98b500, 0xa80, 0xa80}) /usr/lib/go/src/internal/poll/fd_unix.go:170 +0x22c net.(*netFD).Read(0x5900594dd800, {0x59005b98b500?, 0x59005b4f79b8?, 0xaaaace6a34fc?}) /usr/lib/go/src/net/fd_posix.go:68 +0x28 net.(*conn).Read(0x59005a4029d0, {0x59005b98b500?, 0x0?, 0x0?}) /usr/lib/go/src/net/net.go:196 +0x34 crypto/tls.(*Conn).readFromUntil(0x59005c8b5008, {0xaaaad0da6748, 0x59005a4029d0}, 0xaaaacea33e0c?) /usr/lib/go/src/crypto/tls/conn.go:820 +0xdc crypto/tls.(*Conn).readRecordOrCCS(0x59005c8b5008, 0x0) /usr/lib/go/src/crypto/tls/conn.go:626 +0x350 crypto/tls.(*Conn).readRecord(...) /usr/lib/go/src/crypto/tls/conn.go:588 crypto/tls.(*Conn).Read(0x59005c8b5008, {0x590059b9f000, 0x1000, 0x59005b4f7d28?}) /usr/lib/go/src/crypto/tls/conn.go:1392 +0x150 net/http.(*persistConn).Read(0x59005bddf040, {0x590059b9f000?, 0xaaaad0da51e8?, 0xaaaad0dd2530?}) /usr/lib/go/src/net/http/transport.go:2300 +0x48 bufio.(*Reader).fill(0x59005c010180) /usr/lib/go/src/bufio/bufio.go:113 +0xdc bufio.(*Reader).Peek(0x59005c010180, 0x1) /usr/lib/go/src/bufio/bufio.go:152 +0x58 net/http.(*persistConn).readLoop(0x59005bddf040) /usr/lib/go/src/net/http/transport.go:2483 +0x110 created by net/http.(*Transport).dialConn in goroutine 152930 /usr/lib/go/src/net/http/transport.go:2123 +0x14d8 goroutine 152802 [IO wait]: internal/poll.runtime_pollWait(0xffff3ceb7800, 0x72) /usr/lib/go/src/runtime/netpoll.go:351 +0xa0 internal/poll.(*pollDesc).wait(0x5900598ffc80?, 0xaaaace6d01bc?, 0x0) /usr/lib/go/src/internal/poll/fd_poll_runtime.go:84 +0x28 internal/poll.(*pollDesc).waitRead(...) /usr/lib/go/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Accept(0x5900598ffc80) /usr/lib/go/src/internal/poll/fd_unix.go:618 +0x210 net.(*netFD).accept(0x5900598ffc80) /usr/lib/go/src/net/fd_unix.go:149 +0x28 net.(*TCPListener).accept(0x59005bb07400) /usr/lib/go/src/net/tcpsock_posix.go:159 +0x24 net.(*TCPListener).Accept(0x59005bb07400) /usr/lib/go/src/net/tcpsock.go:387 +0x2c crypto/tls.(*listener).Accept(0x59005c90c210) /usr/lib/go/src/crypto/tls/tls.go:78 +0x28 net/http.(*Server).Serve(0x59005c717180, {0xaaaad0db5928, 0x59005c90c210}) /usr/lib/go/src/net/http/server.go:3551 +0x2a8 net/http/httptest.(*Server).goServe.func1() /usr/lib/go/src/net/http/httptest/server.go:586 +0x54 created by net/http/httptest.(*Server).goServe in goroutine 152753 /usr/lib/go/src/net/http/httptest/server.go:584 +0x8c FAIL github.com/ProtonMail/proton-bridge/v3/tests 600.318s ? github.com/ProtonMail/proton-bridge/v3/utils [no test files] ? github.com/ProtonMail/proton-bridge/v3/utils/bridge-rollout [no test files] ? github.com/ProtonMail/proton-bridge/v3/utils/debug [no test files] ? github.com/ProtonMail/proton-bridge/v3/utils/hasher [no test files] ? github.com/ProtonMail/proton-bridge/v3/utils/kb-suggester [no test files] ? github.com/ProtonMail/proton-bridge/v3/utils/port-blocker [no test files] ? github.com/ProtonMail/proton-bridge/v3/utils/smtp-send [no test files] FAIL ==> ERROR: A failure occurred in check(). Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-staging-aarch64/ben-5/build