Teemu Huovila
2017-Jun-05 10:34 UTC
2nd try: Thunderbird "Empty Trash" causes inconsistent IMAP session state?
On 05.06.2017 11:02, awl1 wrote:> Resending - any ideas why I might get "IMAP session state is inconsistent" whenever emtyping the trash in Thunderbird? > > Thanks, > Andreas > > > Am 31.05.2017 um 00:02 schrieb awl1: >> All, >> >> having successfully compiled and set up Dovecot 2.2.29.1 on my Thecus NAS as a newbie without any further hassle, and already imported an external mail archive of ~15 GB into a lz4-compressed mdbox (with impressive performance on the old Intel Atom CPU!), I stumbled into a minor, but reproducible issue that might well be already known, but I haven't managed to find any pointers through Google search: >> >> When I *manually empty the Trash folder from Thunderbird* (52.1.1, regardless of Windows or Linux client) by right-clicking on a non-empty Trash folder and then selecting "Empty trash", Dovecot produces the following log message, and I need to restart Thunderbird client in order to properly refresh its folder status: >> >> May 30 23:42:04 imap(xxx at xxx.org): Info: *IMAP session state is inconsistent, please relogin.* in=405 out=3114 >> >> Is this behaviour and message intended, or did I indeed run into a bug here? >> >> Many thanks & best regards >> AndreasHello Can you please provide the output of doveconf -n? The version of your lz4 library could be useful also, if it is not the distributions default. ref. https://dovecot.org/bugreport.html br, Teemu
awl1
2017-Jun-05 11:06 UTC
2nd try: Thunderbird "Empty Trash" causes inconsistent IMAP session state?
Hello Teemu,
the version of my lz4 library is the most recent lz4-1.7.5, and "dovecot
-n" output is as follows:
# 2.2.30.1 (eebd877): /raid/data/module/Dovecot/sys/etc/dovecot/dovecot.conf
# OS: Linux 2.6.33N7700 i686
auth_debug = yes
auth_debug_passwords = yes
auth_verbose = yes
auth_verbose_passwords = sha1
info_log_path = /raid/data/module/Dovecot/sys/var/log/dovecot-info.log
log_path = /raid/data/module/Dovecot/sys/var/log/dovecot.log
mail_debug = yes
mail_fsync = never
mail_full_filesystem_access = yes
mail_location = mdbox:~/mdbox
mail_plugins = " fts fts_lucene zlib"
mdbox_rotate_size = 32 M
passdb {
args = /raid/data/module/Dovecot/sys/etc/dovecot/imap.passwd
driver = passwd-file
}
plugin {
fts = lucene
fts_lucene = whitespace_chars=@.
zlib_save = lz4
zlib_save_level = 6
}
protocols = imap
ssl = required
ssl_cert = </raid/data/module/Dovecot/sys/etc/ssl/certs/dovecot-rsa-cert.pem
ssl_cipher_list =
EECDH+ECDSA+AESGCM:EECDH+aRSA+AESGCM:EECDH+ECDSA+SHA384:EECDH+ECDSA+SHA256:EECDH+aRSA+SHA384:EECDH+aRSA+SHA256:EECDH+aRSA+RC4:EECDH:EDH+aRSA:!aNULL:!eNULL:!LOW:!3DES:!MD5:!EXP:!PSK:!SRP:!DSS:!RC4
ssl_dh_parameters_length = 2048
ssl_key = # hidden, use -P to show it
ssl_key_password = # hidden, use -P to show it
ssl_prefer_server_ciphers = yes
ssl_protocols = !TLSv1 !SSLv3 !SSLv2
state_dir = /raid/data/module/Dovecot/sys/var/run/dovecot
userdb {
args = username_format=%u
/raid/data/module/Dovecot/sys/etc/dovecot/imap.passwd
default_fields = uid=vmail gid=vmail
home=/raid/data/MailArchive/Dovecot/%u
driver = passwd-file
}
verbose_ssl = yes
protocol imap {
mail_plugins = zlib imap_zlib
}
Many thanks for looking into this & best regards
Andreas
Am 05.06.2017 um 12:34 schrieb Teemu Huovila:> Hello
>
> Can you please provide the output of doveconf -n? The version of your
> lz4 library could be useful also, if it is not the distributions
> default. ref. https://dovecot.org/bugreport.html
>
> br,
> Teemu
Aki Tuomi
2017-Jun-05 11:13 UTC
2nd try: Thunderbird "Empty Trash" causes inconsistent IMAP session state?
On 05.06.2017 14:06, awl1 wrote:> Hello Teemu, > > the version of my lz4 library is the most recent lz4-1.7.5, and > "dovecot -n" output is as follows: >Can you provide full logs for the imap session? Basically you can do grep session-id logfile. Aki