mirror of
https://github.com/cypht-org/cypht.git
synced 2026-04-25 13:05:53 +03:00
[GH-ISSUE #1512] 🐛 [Bug] Duplicate default SMTP servers appearing #675
Labels
No labels
2fa
I18N
PGP
Security
Security
account
advanced_search
advanced_search
announcement
api_login
authentication
awaiting feedback
blocker
bug
bug
bug
calendar
config
contacts
core
core
devops
docker
docs
duplicate
dynamic_login
enhancement
epic
feature
feeds
framework
github
github
gmail_contacts
good first issue
help wanted
history
history
imap
imap_folders
inline_message
installation
keyboard_shortcuts
keyboard_shortcuts
ldap_contacts
mobile
need-ssh-access
new module set
nux
pop3
profiles
pull-request
question
refactor
release
research
saved_searches
smtp
strategic
tags
tests
themes
website
wordpress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cypht#675
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mcjoshea on GitHub (May 11, 2025).
Original GitHub issue: https://github.com/cypht-org/cypht/issues/1512
🐛 Bug
When I add a default SMTP server in the .env file, I get a duplicate server appearing each time I save and log back in.
This is how my server settings look after a few saves:
These are my SMTP settings:
I have used version v1.4 before with similar settings and this did not happen. That is still running on the same server but in a different folder, using a different database and credentials, with older PHP, but still good. No issues with that.
If I update the config file and change the details, that default server appears as an additional server when I save and log back in.
I'm using the database for storing user settings. I can delete the config from the database and when I log on after that they are all gone. But they soon build up again.
If I comment out the above settings, delete the unwanted servers, do a save, and log out and back in, everything is fine. I no longer get the additional default SMTP servers building up.
I'm going to revert back to before I installed version 2.4 tonight and try installing it again in a few days time to see if I've done anything wrong, but if you can think of anything to try next time, please let me know.
Version & Environment
Rev: v2.4.0
OS: Debian 12 (Bookworm)
PHP version: 8.3.20
Zend version: 4.3.20
SAPI: fpm-fcgi
Enabled Modules: core, contacts, local_contacts, ldap_contacts, gmail_contacts, feeds, jmap, imap, smtp, account, idle_timer, desktop_notifications, calendar, themes, nux, developer, profiles, imap_folders, sievefilters, 2fa
Git version: at revision (May 11, 2025)
@christer77 commented on GitHub (May 20, 2025):
Hi @mcjoshea,
Thank for this catch, can we have a screen sharing session if you don't mind please?
@mcjoshea commented on GitHub (May 24, 2025):
Yes, I'd be happy to do this, How do we set one up?
@christer77 commented on GitHub (May 28, 2025):
Thank you @mcjoshea,
I have finally managed to reproduce the issue. We are working on it.
@christer77 commented on GitHub (May 30, 2025):
Hi @mcjoshea,
can we discuss on Cypht Community please!
thanks
@Baraka24 commented on GitHub (Jul 11, 2025):
Hello @mcjoshea, we retried reproducing this issue more than twice and we are not able to reproduce it. Please reopen if still exist and we'll likely want you to join us at Cypht Community and help where needed.
@IrAlfred commented on GitHub (Feb 18, 2026):
Related to this https://github.com/cypht-org/cypht/issues/1878
Seems this has never fully been fixed