[GH-ISSUE #155] multiple smtp servers are destroy when login out #125

Closed
opened 2026-02-25 21:34:13 +03:00 by kerem · 8 comments
Owner

Originally created by @ornais on GitHub (Nov 25, 2016).
Original GitHub issue: https://github.com/cypht-org/cypht/issues/155

Originally assigned to: @IrAlfred on GitHub.

When you configure multiple smtp servers, then save the "save" page, if you log out and log again to cypht, only the default smtp server remains.

Originally created by @ornais on GitHub (Nov 25, 2016). Original GitHub issue: https://github.com/cypht-org/cypht/issues/155 Originally assigned to: @IrAlfred on GitHub. When you configure multiple smtp servers, then save the "save" page, if you log out and log again to cypht, only the default smtp server remains.
kerem 2026-02-25 21:34:13 +03:00
  • closed this issue
  • added the
    bug
    smtp
    labels
Author
Owner

@ornais commented on GitHub (Nov 28, 2016):

If someone has the same issue:
If you don't configure a defaut smtp server. Everything works fine.

<!-- gh-comment-id:263247040 --> @ornais commented on GitHub (Nov 28, 2016): If someone has the same issue: If you don't configure a defaut smtp server. Everything works fine.
Author
Owner

@jasonmunro commented on GitHub (Nov 28, 2016):

Hi @ornais, thanks for this feedback. Sounds like we have a problem if this does not work with a default SMTP server. I am going to re-open and mark this as a bug.

<!-- gh-comment-id:263308847 --> @jasonmunro commented on GitHub (Nov 28, 2016): Hi @ornais, thanks for this feedback. Sounds like we have a problem if this does not work with a default SMTP server. I am going to re-open and mark this as a bug.
Author
Owner

@jasonmunro commented on GitHub (Feb 26, 2017):

just retested this and it is resolved.

<!-- gh-comment-id:282589383 --> @jasonmunro commented on GitHub (Feb 26, 2017): just retested this and it is resolved.
Author
Owner

@ghost commented on GitHub (Apr 21, 2019):

This is still happening as of today in the latest git ... logout of ui after saving multiple smtp services, login, all but 2 are gone... i have 5 accounts in one domain. each is a different username@domain.com with separate password, it seems to only affect these accounts.

<!-- gh-comment-id:485252636 --> @ghost commented on GitHub (Apr 21, 2019): This is still happening as of today in the latest git ... logout of ui after saving multiple smtp services, login, all but 2 are gone... i have 5 accounts in one domain. each is a different username@domain.com with separate password, it seems to only affect these accounts.
Author
Owner

@myuseraccount commented on GitHub (Apr 18, 2025):

This happens for me with the latest version. I have to set a default server, because my username/email and password are a different domain than the mail server for my primary account. I don't want it to have a visible domain selection drop-down at login.

<!-- gh-comment-id:2816245132 --> @myuseraccount commented on GitHub (Apr 18, 2025): This happens for me with the latest version. I have to set a default server, because my username/email and password are a different domain than the mail server for my primary account. I don't want it to have a visible domain selection drop-down at login.
Author
Owner

@marclaporte commented on GitHub (Apr 19, 2025):

@myuseraccount ok, I reopened the issue. Please come on the chatroom on https://gitter.im/cypht-org/community so we can pair you up with a developer to figure this out.

<!-- gh-comment-id:2816660145 --> @marclaporte commented on GitHub (Apr 19, 2025): @myuseraccount ok, I reopened the issue. Please come on the chatroom on https://gitter.im/cypht-org/community so we can pair you up with a developer to figure this out.
Author
Owner

@myuseraccount commented on GitHub (Apr 21, 2025):

I just stumbled on the /?save action under Settings. That was all I had to do, works great and preserves my config after logout.

It would be great, if after entering servers and feeds, it would put text at the bottom or in the success notifications, telling you that you need to go to /?save for these settings to be preserved. Or, just prompt for the password right there when making the changes, because why would you add those connections and not want to keep them?

<!-- gh-comment-id:2818752314 --> @myuseraccount commented on GitHub (Apr 21, 2025): I just stumbled on the /?save action under Settings. That was all I had to do, works great and preserves my config after logout. It would be great, if after entering servers and feeds, it would put text at the bottom or in the success notifications, telling you that you need to go to /?save for these settings to be preserved. Or, just prompt for the password right there when making the changes, because why would you add those connections and not want to keep them?
Author
Owner

@myuseraccount commented on GitHub (Apr 21, 2025):

Also, I think this is what the poster was asking for in this question about saving custom servers, which quotes the text displayed on the /?save page. I had the same thought: what is the configuration .env parameter that I must set before the /?save option will actually work? Or what parameter tells the system to ignore saved changes and destroy the environment on logout? Because when I log out, it actually says, "Session destroyed on logout" in the corner briefly, leading me to believe I lost the connections I added in my Settings.

<!-- gh-comment-id:2818781436 --> @myuseraccount commented on GitHub (Apr 21, 2025): Also, I think this is what the poster was asking for in [this question about saving custom servers](https://github.com/cypht-org/cypht/issues/339), which quotes the text displayed on the /?save page. I had the same thought: what is the configuration .env parameter that I must set before the /?save option will actually work? Or what parameter tells the system to ignore saved changes and destroy the environment on logout? Because when I log out, it actually says, "Session destroyed on logout" in the corner briefly, leading me to believe I lost the connections I added in my Settings.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cypht#125
No description provided.