View Issue Details

IDProjectCategoryView StatusLast Update
0006198SOGoWeb Mailpublic2026-05-14 14:24
Reportermefestofel Assigned Toqhivert  
PrioritynormalSeverityminorReproducibilityalways
Status assignedResolutionopen 
Platform[Server] LinuxOSDebianOS Version12
Product Version5.12.6 
Summary0006198: Clicking the Reply button causes a logout
Description

When the Reply button is clicked in a specific email, SOGO generates HTTP requests without cookies (see screenshots).
This results in the user being logged out and redirected to the home page.

Steps To Reproduce

1) Open this email
2) Click "Reply" button

Additional Information

The original email without personal information is attached.

TagsNo tags attached.

Activities

mefestofel

mefestofel

2026-04-28 14:06

reporter  

test2.zip (82,776 bytes)
qhivert

qhivert

2026-05-05 12:39

administrator   ~0018446

Hello,
Is this a legitimate email? What whith all the /cpsessxxxxx/.... request ?

My guess would be a routing problem in your nginx/apache conf.
SOGo only set cookie on path /SOGo and the server should only receive request on /SOGo/ too.
I think in your case the /cpsess.../ are actually send to SOGo + without the cookie as the url is not on path /SOGo. But SOGo seeing a weird request, decides to discard the auth cookie anyway.

Check in your nginw/apache that only /SOGo/ url are send to SOGo server and the others (/cpsess) are send to cpsess and not SOGo.

mefestofel

mefestofel

2026-05-14 14:24

reporter   ~0018458

Is this a legitimate email? What whith all the /cpsessxxxxx/.... request ?
Yes, is a legitimate email sended from roundcube (cPanel)

My guess would be a routing problem in your nginx/apache conf.
SOGo only set cookie on path /SOGo and the server should only receive request on /SOGo/ too.
I think in your case the /cpsess.../ are actually send to SOGo + without the cookie as the url is not on path /SOGo. But SOGo seeing a weird request, decides to discard the auth cookie anyway.
I changed nginx location config from
location ^~ / {
to
location ^~ /SOGo/ {
It's change error code from 200 to 403.
Now SOGo not logout user, also in debugger I view request load it's images by broken URL.
In SOGo settings I setup option "Mail" -> "Display remote inline images" -> "Never".
Why SOGo load it's images on Reply message?

Issue History

Date Modified Username Field Change
2026-04-28 14:06 mefestofel New Issue
2026-04-28 14:06 mefestofel File Added: test2.zip
2026-04-28 14:06 mefestofel File Added: Screenshot From 2026-04-28 16-22-29.png
2026-04-28 14:06 mefestofel File Added: Screenshot From 2026-04-28 16-22-33.png
2026-04-28 14:06 mefestofel File Added: Screenshot From 2026-04-28 16-22-37.png
2026-04-28 14:06 mefestofel File Added: Screenshot From 2026-04-28 16-23-05.png
2026-05-05 12:39 qhivert Note Added: 0018446
2026-05-05 12:39 qhivert Assigned To => qhivert
2026-05-05 12:39 qhivert Status new => feedback
2026-05-14 14:24 mefestofel Note Added: 0018458
2026-05-14 14:24 mefestofel Status feedback => assigned