Bug 55002 - cyrus-imapd: integrity check failed: Hash is incorrect
Summary: cyrus-imapd: integrity check failed: Hash is incorrect
Status: NEW
Alias: None
Product: Sisyphus
Classification: Development
Component: cyrus-imapd (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Sergey Y. Afonin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-07-01 12:27 MSK by Alexander Makeenkov
Modified: 2025-07-01 12:27 MSK (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Makeenkov 2025-07-01 12:27:38 MSK
Версии пакетов:

cyrus-imapd-3.4.6-alt3.x86_64
cyrus-sasl2-2.1.28-alt2.1.x86_64

Шаги воспроизведения:
```
# apt-get install cyrus-sasl2 cyrus-imapd cyrus-imapd-utils

# sed -i 's/^#  imap/imap/' /etc/cyrus.conf

# cat > /etc/imapd.conf <<EOF
configdirectory: /var/lib/imap
partition-default: /var/spool/imap
admins: cyrus
sasl_pwcheck_method: saslauthd
tls_server_cert: /var/lib/imap/ssl/cyrus.cert
tls_server_key: /var/lib/imap/ssl/cyrus.key
reject8bit: no
maxmessagesize: 3000000
altnamespace: yes
EOF

# saslauthd -a getpwent; saslpasswd2 -c cyrus

# systemctl start cyrus-imapd

# cyradm --user cyrus --server localhost

> cm user.test
> lm
> sam user.test cyrus c
```

Получаемый результат:
В момент выполнения `cm user.test` в логах ошибка:
imap[1843]: SASL Hash is incorrect
imap[1843]: decoding error: integrity check failed; SASL(-9): integrity check failed: Hash is incorrect, closing connection

Почтовый ящик не создаётся, а при выполнении `sam user.test cyrus c` выкидывает из интерпретатора с кодом выхода 141.

Воспроизводится в сизифе и р11.
В р10 не воспроизводится.