mirror of
https://github.com/cypht-org/cypht.git
synced 2026-04-25 04:56:03 +03:00
[GH-ISSUE #1763] 💬 [Question] How configure properly sieve server in .env #703
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#703
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 @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?