Open europacafe opened 3 months ago
@europacafe thank you for reporting this. What if you remove the protocol in sieve host input mail.brhofen.com:4190
?
I did try that too. Not working as well.
Please try Cypht master
How? (with docker compose)
How? (with docker compose)
@jonocodes This is not yet coded, right?
Please try this: https://github.com/cypht-org/cypht/pull/1135/files (just manually modify the file)
Here is an known issue: https://github.com/cypht-org/cypht/issues/931
just manually modified it to $server = Hm_IMAP_List::get($imap_server_id, true);
, restarted cypht container, rechecked the change was still there
same behavior for both tls://mail.mydomain.com:4190 and mail.mydomain.com:4190
@europacafe have you checked that the server firewall gives access to 4190 on your server ?
you can use this command to check if sieve is enabled:
openssl s_client -connect mail.mydomain.com:4190 --starttls sieve
I did open 4190 port on my pfSense. Here is the test result
As mentioned earlier, my snappymail webmail can connect to sieve.
Yes, I would think you could use the docker compose setup to test this. Also check the cypht service logs to see if there are any errors.
Yes, I would think you could use the docker compose setup to test this. Also check the cypht service logs to see if there are any errors.
My cypht is always running as a container, and the suggested openssl test was carried out inside cypht container.
With docker image v2.2.0, this is still an issue
Do we know that this works as expected when not using docker (using php locally without any container)?
Do we know that this works as expected when not using docker (using php locally without any container)?
Yes we were able to connect not using docker, I'm going to try this one with the same server that worked but using docker instead.
Is still an issue with Cypht 2.4.0? https://hub.docker.com/r/cypht/cypht
Yes.
Will be solved here https://github.com/cypht-org/cypht/pull/1199
@europacafe please confirm on your side.
With cypht 2.4.0 docker container, it is still not working at all, with Stalwart mail server.
Fyi. With snappymail web client, Sieve works only with ssltls, but not starttls. They are working on the issue.
With cypht 2.4.0 docker container
2.4.0 is not yet compatible; it will work with the master branch. Full compatibility will come with version 2.5.0, not 2.4.0.
Great. I may build it from the master and try it. Will feedback later.
@europacafe u can try to connect with this tool https://github.com/thsmi/sieve to test the connection and sieve.
💬 Question
Mail server: stalwart + snappymail webmail ---> tls sieve work (mail.mydomain.com, ssl/tls, 4190) Cypht 2.1.0 + stalwart --> tls sieve setting does not work, can't save server config
When opening a mail content, it always reports "Sieve: invalid config host for ....my mailbox name.."
On stalwart mail server, below is the sieve config
On snappymail webmail, the sieive config works
On cypht env file, below is the config:
When I tried to enable sieve on one of my IMAP accounts as below, after saving the config, the screen froze for over 10 secs and came back with an offline label and it didn't save. I'm not sure what I did wrong. (I enable sieve on Settings/Site/Enable sieve filter)