INBOX folders disappeared after upgrading

Dave dave at techhosts.com
Tue Apr 21 04:38:31 EEST 2020


On Thu, April 16, 2020 2:33 pm, John Stoffel wrote:
> Makes sense.  I'm not a dovecot expert, but in terms of RHEL, have you
> checkd that the yum update didn't change file permissions, or enable
> selinux or do something like that?

old (before upgrade) dir was like this (from backup):

drwx------  2 dave dave  245760 Mar 10 16:56 cur
-rw-rw-r--  1 dave dave   48744 Mar  9 14:48 dovecot.index
-rw-rw-r--  1 dave dave 1920452 Mar  2 06:49 dovecot.index.cache
-rw-rw-r--  1 dave dave    1808 Mar 10 17:01 dovecot.index.log
-rw-rw-r--  1 dave dave   32792 Mar  9 14:48 dovecot.index.log.2
-rw-rw-r--  1 dave dave     450 Sep 15  2017 dovecot.index.thread
-rw-rw-r--  1 dave dave    3192 Aug 26  2019 dovecot.mailbox.log
-rw-rw-r--  1 dave dave  206829 Mar 10 16:56 dovecot-uidlist
-rw-rw-r--  1 dave dave       8 May  7  2019 dovecot-uidvalidity
-r--r--r--  1 dave dave       0 Nov 14  2016 dovecot-uidvalidity.582a69fb
-r--r--r--  1 dave dave       0 Nov 14  2016 dovecot-uidvalidity.582a6a01
drwxrwxr-x  5 dave dave     167 Aug 28  2019 .DRAFTS
drwxrwxr-x 33 dave dave    4096 Mar  2  2019 .INBOX
drwx------  2 dave dave    4096 Mar 10 16:56 new
drwxrwxr-x  5 dave dave     192 Dec 21 14:33 .SENT
drwxrwxr-x  5 dave dave     192 Feb 12 16:04 .SPAM
-rw-rw-r--  1 dave dave     728 Aug 26  2019 subscriptions
drwx------  2 dave dave      10 Mar 10 18:17 tmp
drwxrwxr-x 14 dave dave     320 Sep 11  2019 .TRASH

new dir is now like so (maybe this gives some clues to someone, altho I
assume the dovecot guys would understand the changes that have been made -
I tried to dig thru changelogs to some level):

drwx------.  2 dave dave  221184 Apr 17 02:28 cur
-rw-rw-r--.  1 dave dave   80008 Apr 16 13:33 dovecot.index
-rw-rw-r--.  1 dave dave 2113444 Apr 16 13:30 dovecot.index.cache
-rw-rw-r--.  1 dave dave   29992 Apr 17 02:34 dovecot.index.log
-rw-rw-r--.  1 dave dave     450 Sep 15  2017 dovecot.index.thread
-rw-rw-r--.  1 dave dave    3192 Aug 26  2019 dovecot.mailbox.log
-rw-rw-r--.  1 dave dave  227210 Apr 17 02:28 dovecot-uidlist
-rw-rw-r--.  1 dave dave       8 Mar 28 09:31 dovecot-uidvalidity
-r--r--r--.  1 dave dave       0 Nov 14  2016 dovecot-uidvalidity.582a6a04
drwxrwxr-x.  5 dave dave    4096 Mar 28 09:31 DRAFTS
drwxrwxr-x.  5 dave dave    4096 Aug 28  2019 .DRAFTS
drwxrwxr-x. 32 dave dave    4096 Mar  2  2019 .INBOX
drwx------.  2 dave dave    4096 Apr 20 18:13 new
drwxrwxr-x.  5 dave dave    4096 Mar 28 09:31 SENT
drwxrwxr-x.  5 dave dave    4096 Apr 15 19:21 .SENT
drwxrwxr-x.  5 dave dave    4096 Mar 17 13:22 .SPAM
-rw-rw-r--.  1 dave dave     728 Aug 26  2019 subscriptions
drwx------.  2 dave dave       6 Apr 20 18:13 tmp
drwxrwxr-x.  5 dave dave    4096 Mar 28 09:31 TRASH
drwxrwxr-x. 14 dave dave    4096 Sep 11  2019 .TRASH

no config changes were done, just binary updates.. I compared configs
against the backup to check

> Can you see the mail using none IMAP based tools?  What do the dovecot
> and postfix logs show?  And what about squirrelmail?  Check all your
> logs for permissions issues.

I put the old subscriptions file back and do (pure dovecot at this point):

[dave at vm1 ~]$ doveadm mailbox list
SENT
TRASH
DRAFTS
SPAM
INBOX

(SPAM was an old folder I had created many years back, other than it,
everything had been created as folders under INBOX)

subscriptions (snippet)

SENT
TRASH
DRAFTS
INBOX/Facebook
SPAM
INBOX/Amazon
INBOX/Linkedin
INBOX/bills
INBOX/ADT
INBOX/food
INBOX/money
INBOX/art
INBOX/pets
........

> doveadm log errors

alot of errs related to the previous folders that used to work

Apr 07 15:21:43 Warning: imap(dave): Subscriptions file
/home/davej/Maildir/subscriptions: Removing invalid entry: INBOX/property
Apr 15 14:55:39 Warning: imap(dave): Subscriptions file
/home/dave/Maildir/subscriptions: Removing invalid entry: INBOX/Facebook

Regards,
-Dave




More information about the dovecot mailing list