HIGHESTMODSEQ not increasing

Ronny Forberger ronnyforberger at ronnyforberger.de
Sun Dec 4 07:34:37 UTC 2022


It works now again. It was supposingly an error with the maildir. I 
created the maildir around year 2002 and copied it several times between 
mail servers and OSes. I created an new maildir and copied back all 
messages.

Best regards,

Ronny Forberger

Am 03.12.2022 um 10:31 schrieb Ronny Forberger:
> Hi,
>
> I have a problem with my Dovecot IMAP Server on Debian Linux.
>
> I migrated it from FreeBSD to Debian, but since then the HIGHESTMODSEQ 
> value for INBOX is not increasing, when I receive new e-mail.
>
> This causes my Groupware not to report any new e-mail via ActiveSync.
>
> Here is the protocol transscript:
>
> [I] <~>-> openssl s_client -crlf -connect mail.forberger-online.de:993
> CONNECTED(00000003)
> [...]
> ---
> read R BLOCK
> * OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE 
> LITERAL+ AUTH=PLAIN AUTH=LOGIN] Dovecot (Debian) ready.
> A LOGIN REDACTED REDACTED
> A OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT 
> SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT 
> MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS 
> LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES 
> WITHIN CONTEXT=SEARCH LIST-STATUS BINARY MOVE SNIPPET=FUZZY 
> PREVIEW=FUZZY STATUS=SIZE SAVEDATE LITERAL+ NOTIFY SPECIAL-USE] Logged in
> A SELECT INBOX (CONDSTORE)
> * FLAGS (\Answered \Flagged \Deleted \Seen \Draft $MDNSent Junk 
> NonJunk $label4 $label1 $label2 $label3 $label5 Old $Forwarded NOTJUNK 
> $has_cal)
> * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft 
> $MDNSent Junk NonJunk $label4 $label1 $label2 $label3 $label5 Old 
> $Forwarded NOTJUNK $has_cal \*)] Flags permitted.
> * 7286 EXISTS
> * 0 RECENT
> * OK [UIDVALIDITY 1291740963] UIDs valid
> * OK [UIDNEXT 158448] Predicted next UID
> * OK [HIGHESTMODSEQ 190086] Highest
> A OK [READ-WRITE] Select completed (0.001 + 0.000 secs).
> A SELECT INBOX (CONDSTORE)
> * FLAGS (\Answered \Flagged \Deleted \Seen \Draft $MDNSent Junk 
> NonJunk $label4 $label1 $label2 $label3 $label5 Old $Forwarded NOTJUNK 
> $has_cal)
> * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft 
> $MDNSent Junk NonJunk $label4 $label1 $label2 $label3 $label5 Old 
> $Forwarded NOTJUNK $has_cal \*)] Flags permitted.
> * 7288 EXISTS
> * 0 RECENT
> * OK [UIDVALIDITY 1291740963] UIDs valid
> * OK [UIDNEXT 158450] Predicted next UID
> * OK [HIGHESTMODSEQ 190086] Highest
> A OK [READ-WRITE] Select completed (0.002 + 0.000 + 0.001 secs).
>
> The Groupware's IMAP client library is reporting, that MODSEQ is not 
> increasing. It stays at 190086, nevertheless I receive new e-mail.
>
> I have tried the commands doveadm index and doveadm force-resync on 
> the INBOX, without any change.
>
> My filesystem where the mailboxes reside is on ext4.
>
> Can you help me what is wrong?
>
> Best regards,
>
> Ronny Forberger
>
-- 
Ronny Forberger
ronnyforberger at ronnyforberger.de



More information about the dovecot mailing list