On Tue, April 21, 2020 11:50 am, John Stoffel wrote:
"Dave" == Dave dave@techhosts.com writes:
Dave> 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?
Dave> old (before upgrade) dir was like this (from backup):
I think your dovecot config has changed in some manner. Can you share the output of 'dovecot -n' please?
'dovecot -n' was how I opened this thread, as it was recommended to start out providing as much info as possible. Please read the 1st message you originally replied to
Dave> drwx------ 2 dave dave 245760 Mar 10 16:56 cur Dave> -rw-rw-r-- 1 dave dave 48744 Mar 9 14:48 dovecot.index Dave> -rw-rw-r-- 1 dave dave 1920452 Mar 2 06:49 dovecot.index.cache Dave> -rw-rw-r-- 1 dave dave 1808 Mar 10 17:01 dovecot.index.log Dave> -rw-rw-r-- 1 dave dave 32792 Mar 9 14:48 dovecot.index.log.2 Dave> -rw-rw-r-- 1 dave dave 450 Sep 15 2017 dovecot.index.thread Dave> -rw-rw-r-- 1 dave dave 3192 Aug 26 2019 dovecot.mailbox.log Dave> -rw-rw-r-- 1 dave dave 206829 Mar 10 16:56 dovecot-uidlist Dave> -rw-rw-r-- 1 dave dave 8 May 7 2019 dovecot-uidvalidity Dave> -r--r--r-- 1 dave dave 0 Nov 14 2016 dovecot-uidvalidity.582a69fb Dave> -r--r--r-- 1 dave dave 0 Nov 14 2016 dovecot-uidvalidity.582a6a01 Dave> drwxrwxr-x 5 dave dave 167 Aug 28 2019 .DRAFTS Dave> drwxrwxr-x 33 dave dave 4096 Mar 2 2019 .INBOX Dave> drwx------ 2 dave dave 4096 Mar 10 16:56 new Dave> drwxrwxr-x 5 dave dave 192 Dec 21 14:33 .SENT Dave> drwxrwxr-x 5 dave dave 192 Feb 12 16:04 .SPAM Dave> -rw-rw-r-- 1 dave dave 728 Aug 26 2019 subscriptions Dave> drwx------ 2 dave dave 10 Mar 10 18:17 tmp Dave> drwxrwxr-x 14 dave dave 320 Sep 11 2019 .TRASH
Dave> new dir is now like so (maybe this gives some clues to someone, Dave> altho I assume the dovecot guys would understand the changes Dave> that have been made - I tried to dig thru changelogs to some Dave> level):
I suspect it's a config change that was put in place by the RHEL upgrade, which is why you need to provide the 'dovecot -n' output.
Dave> drwx------. 2 dave dave 221184 Apr 17 02:28 cur Dave> -rw-rw-r--. 1 dave dave 80008 Apr 16 13:33 dovecot.index Dave> -rw-rw-r--. 1 dave dave 2113444 Apr 16 13:30 dovecot.index.cache Dave> -rw-rw-r--. 1 dave dave 29992 Apr 17 02:34 dovecot.index.log Dave> -rw-rw-r--. 1 dave dave 450 Sep 15 2017 dovecot.index.thread Dave> -rw-rw-r--. 1 dave dave 3192 Aug 26 2019 dovecot.mailbox.log Dave> -rw-rw-r--. 1 dave dave 227210 Apr 17 02:28 dovecot-uidlist Dave> -rw-rw-r--. 1 dave dave 8 Mar 28 09:31 dovecot-uidvalidity Dave> -r--r--r--. 1 dave dave 0 Nov 14 2016 dovecot-uidvalidity.582a6a04 Dave> drwxrwxr-x. 5 dave dave 4096 Mar 28 09:31 DRAFTS Dave> drwxrwxr-x. 5 dave dave 4096 Aug 28 2019 .DRAFTS Dave> drwxrwxr-x. 32 dave dave 4096 Mar 2 2019 .INBOX Dave> drwx------. 2 dave dave 4096 Apr 20 18:13 new Dave> drwxrwxr-x. 5 dave dave 4096 Mar 28 09:31 SENT Dave> drwxrwxr-x. 5 dave dave 4096 Apr 15 19:21 .SENT Dave> drwxrwxr-x. 5 dave dave 4096 Mar 17 13:22 .SPAM Dave> -rw-rw-r--. 1 dave dave 728 Aug 26 2019 subscriptions Dave> drwx------. 2 dave dave 6 Apr 20 18:13 tmp Dave> drwxrwxr-x. 5 dave dave 4096 Mar 28 09:31 TRASH Dave> drwxrwxr-x. 14 dave dave 4096 Sep 11 2019 .TRASH
Dave> no config changes were done, just binary updates.. I compared configs Dave> against the backup to check
How did you compare them?
copied the configs from the backup to a tmp dir and ran diff
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.
Dave> I put the old subscriptions file back and do (pure dovecot at this point):
Dave> [dave@vm1 ~]$ doveadm mailbox list Dave> SENT Dave> TRASH Dave> DRAFTS Dave> SPAM Dave> INBOX
Dave> (SPAM was an old folder I had created many years back, other than it, Dave> everything had been created as folders under INBOX)
Dave> subscriptions (snippet)
Dave> SENT Dave> TRASH Dave> DRAFTS Dave> INBOX/Facebook Dave> SPAM Dave> INBOX/Amazon Dave> INBOX/Linkedin Dave> INBOX/bills Dave> INBOX/ADT Dave> INBOX/food Dave> INBOX/money Dave> INBOX/art Dave> INBOX/pets Dave> ........
doveadm log errors
Dave> alot of errs related to the previous folders that used to work
Dave> Apr 07 15:21:43 Warning: imap(dave): Subscriptions file Dave> /home/davej/Maildir/subscriptions: Removing invalid entry: INBOX/property Dave> Apr 15 14:55:39 Warning: imap(dave): Subscriptions file Dave> /home/dave/Maildir/subscriptions: Removing invalid entry: INBOX/Facebook
This smells funky, are there any *other* errors or warnings in the log file other than these types of messages?
did not find anything else, one reason this is such a mystery.. I was hoping by posting here, the dovecot folks/developers would have a clue, since they'd be more intimate with the changes that could have affected this situation
John
Regards, -Dave