[GH-ISSUE #1763] 💬 [Question] How configure properly sieve server in .env #703

Open
opened 2026-02-25 21:35:43 +03:00 by kerem · 0 comments
Owner

Originally created by @Dikakus on GitHub (Oct 27, 2025).
Original GitHub issue: https://github.com/cypht-org/cypht/issues/1763

Originally assigned to: @christer77 on GitHub.

💬 Question

I've managed configure cypht to connect to my imap server in a docker container, but I can't find a way to configure the sieve manager. This is my .env cofiguration:

IMAP_AUTH_NAME=MyServer
IMAP_AUTH_SERVER=myserverip
IMAP_AUTH_PORT=993
IMAP_AUTH_TLS=true
IMAP_AUTH_SIEVE_CONF_HOST=myserverip
IMAP_AUTH_SIEVE_TLS_MODE=true

When I try to set up a sieve filter I can see in the dovecot log a couple of lines like these:

oct 27 12:48:08 raspberry-pi-4 dovecot[1822922]: managesieve-login: Authenticate PLAIN failed: Cleartext authentication disallowed on non-secure (SSL/TLS) connections.: user=<>, method=PLAIN, rip=xx.xx.xx.xx, lip=192.168.0.21, session=
oct 27 12:48:08 raspberry-pi-4 dovecot[1822922]: managesieve-login: Login aborted: Connection closed (tried to use disallowed cleartext auth, 1 attempts in 0 secs) (cleartext_auth_disabled): user=<>, method=PLAIN, rip=xx.xx.xx.xx, lip=192.168.0.21, session=

So it looks like cypth is sending a blank or null user.

I tried to maninpulate the "modules/sievefilters/hm-sieve.php" module directly on the docker container, changing the line:

$client->connect($imap_account['user'], $imap_account['pass'], $sieve_tls, "", "PLAIN");

with

$client->connect("myuser", "mypassowrd", "true", "", "PLAIN");

and then, it works and I can see the sieve filters of my server in cypht. Probably I'm misinterpreting something or misconfiguring some data. Could you give me a clue, please?

Originally created by @Dikakus on GitHub (Oct 27, 2025). Original GitHub issue: https://github.com/cypht-org/cypht/issues/1763 Originally assigned to: @christer77 on GitHub. <!-- You can find the latest issue templates here https://github.com/ulfgebhardt/issue-templates --> <!-- Question the project's team --> <!-- If you need an answer right away, consider to take other means of communication with the project's team --> ## 💬 Question <!-- Describe your Question in detail. Include screenshots and drawings if needed. --> I've managed configure cypht to connect to my imap server in a docker container, but I can't find a way to configure the sieve manager. This is my .env cofiguration: IMAP_AUTH_NAME=MyServer IMAP_AUTH_SERVER=myserverip IMAP_AUTH_PORT=993 IMAP_AUTH_TLS=true IMAP_AUTH_SIEVE_CONF_HOST=myserverip IMAP_AUTH_SIEVE_TLS_MODE=true When I try to set up a sieve filter I can see in the dovecot log a couple of lines like these: oct 27 12:48:08 raspberry-pi-4 dovecot[1822922]: managesieve-login: Authenticate PLAIN failed: Cleartext authentication disallowed on non-secure (SSL/TLS) connections.: user=<>, method=PLAIN, rip=xx.xx.xx.xx, lip=192.168.0.21, session=<t5IeeSJCdJBV2036> oct 27 12:48:08 raspberry-pi-4 dovecot[1822922]: managesieve-login: Login aborted: Connection closed (tried to use disallowed cleartext auth, 1 attempts in 0 secs) (cleartext_auth_disabled): user=<>, method=PLAIN, rip=xx.xx.xx.xx, lip=192.168.0.21, session=<t5IeeSJCdJBV2036> So it looks like cypth is sending a blank or null user. I tried to maninpulate the "modules/sievefilters/hm-sieve.php" module directly on the docker container, changing the line: $client->connect($imap_account['user'], $imap_account['pass'], $sieve_tls, "", "PLAIN"); with $client->connect("myuser", "mypassowrd", "true", "", "PLAIN"); and then, it works and I can see the sieve filters of my server in cypht. Probably I'm misinterpreting something or misconfiguring some data. Could you give me a clue, please?
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#703
No description provided.