-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SMTP not working when in same Docker Stack as Mailserver #9705
Comments
@felixlabrot why is this? Cannot you just put global anouncement? |
That could be done but for something that should work out of the box (and does in Thunderbird) it is generally inacceptable to tell people to manually configure something for the possibility to delete mails. That is not user friendly for internal use. When using for customers it looks highly unprofessional that something this simple is broken on first login and has to be manually configured. |
Sounds like configuration issues. I think this may belong to https://github.com/roundcube/roundcubemail-docker/issues.
Maybe these should be defaults in the next release. |
The automatic creation of those folders is done by default anyways. I have for test purposes created a new user with a new mailbox and after creation I've logged in to Roundcube, which automatically created all folders and filled them out correctly. So apparently it is a bug that for some accounts this has to be manually configured. On the affected accounts this also has to be reconfigured in random intervals, as the settings just get lost. Yesterday I've set all special folders on my personal mailbox and today 2 of 4 settings have vanished. Below I've documented what all the possible combinations of ports and protocols do - for those who may look at this issue in the future. Those options work:
Those config options lead to a forever loading screen when sending:
Those options lead to a connection error with empty error message:
Those options lead to a authentication error with empty error message:
Those options lead to a authentication error with 554 error message:
This concludes that This leaves the only issue that some special folder configurations vanish overnight. |
@alecpl would be great 👍🏻 |
To me this sounds like buggy error messaging when failing to verify TLS/SSL-connections.
Can you reproduce the bug? |
The messages could be better, but if you can access the mailserver logs, this isn't too much of an issue. It would be very helpful if IMAP/SMTP errors would show up in the Docker logs of the Roundcube container. In the cases where it shows the sending in progress forever, this needs a timeout and an error message to be shown. @pabzm I can reproduce the bug but this is unreliable and sometimes occurs and sometimes doesn't. I wasn't able to find a way to reliably reproduce the bug so far. I'll follow up with more useful insights then. |
The issue was caused by a bug in Stalwart, the external mailserver. |
Prerequisites
Describe the issue
This is actually two bugs which occur uppon setup.
I have a Roundcube installation via Docker which is included in the same Docker Stack as the Mailserver is. It is possible to login and read mails.
No. 1:
Attempting to delete an email results in the error message "UID MOVE: Account not found". Only after manually setting the "Deleted Items" folder in the special folder settings it works. This setting has to be done by every user manually. This is extremely problematic as explaining this to every new user is just insane and not practically doable.
No. 2:
Also SMTP is in complete denial. When attempting to send an email it shows the message that it is working forever. No mail is sent and no error shows up. It just keeps loading forever.
This is the Docker Stack:
I have manually added this config:
The SMTP server expects plaintext authentication and runs in TLS mode with a valid certificate, but TLS doesn't work within Docker due to different hostnames.
What browser(s) are you seeing the problem on?
No response
What version of PHP are you using?
No response
What version of Roundcube are you using?
1.6.9
JavaScript errors
No response
PHP errors
No response
The text was updated successfully, but these errors were encountered: