INBOX folders disappeared after upgrading

John Stoffel john at stoffel.org
Thu Apr 16 21:33:33 EEST 2020


Dave> Hi, tried to Google/etc to see what to tweak.. not finding
Dave> anything helpful.  So.. I've been running my private mail
Dave> through a Linux server since approx year 2000. The OS has been
Dave> various flavors of Fedora or CentOS, since for work, I have to
Dave> spend all day supporting some sort of Red Hat flavor.

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> So I run SquirrelMail on top of Dovecot and Postfix on CentOS 7,
Dave> things have been great for like forever. I recently ran updates
Dave> and all my INBOX folders disappeared. I have made no
Dave> configuration changes in at least 5 years. I can't seem to
Dave> resolve/figure out what's going on. I have backups to see
Dave> everything before the update. I've noticed that my subscriptions
Dave> file is missing all the folders, which are all in this file in
Dave> the backups. If I repopulate this file with the names, the next
Dave> time I access mail, they are all removed. Most of my mail is in
Dave> folders, therefore I have access to almost none of it (can see
Dave> new stuff coming in, but can't sort it anywhere).

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.  

What else got updated when you did the yum update?

doveadm log errors

might give you some hints.  

Dave> k, for the details.. I was running dovecot-2.2.10 (2.2.10-8.el7.x86_64)
Dave> and was updated to dovecot-2.2.36 (2.2.36-3.el7_7.1.x86_64) with yum
Dave> updates.


Dave> # dovecot --version
Dave> 2.2.36 (1f10bfa63)
Dave> # dovecot -n
Dave> # 2.2.36 (1f10bfa63): /etc/dovecot/dovecot.conf
Dave> # OS: Linux 3.10.0-1062.18.1.el7.x86_64 x86_64 CentOS Linux release
Dave> 7.7.1908 (Core)
Dave> # Hostname: vm1.tech...com
Dave> auth_mechanisms = plain login
Dave> login_greeting = IMAP ready.
Dave> mail_location = maildir:~/Maildir
Dave> mbox_write_locks = fcntl
Dave> namespace inbox {
Dave>   inbox = yes
Dave>   location =
Dave>   mailbox Drafts {
Dave>     special_use = \Drafts
Dave>   }
Dave>   mailbox Junk {
Dave>     special_use = \Junk
Dave>   }
Dave>   mailbox Sent {
Dave>     special_use = \Sent
Dave>   }
Dave>   mailbox "Sent Messages" {
Dave>     special_use = \Sent
Dave>   }
Dave>   mailbox Trash {
Dave>     special_use = \Trash
Dave>   }
Dave>   prefix =
Dave> }
Dave> passdb {
Dave>   driver = pam
Dave> }
Dave> service auth {
Dave>   unix_listener /var/spool/postfix/private/auth {
Dave>     mode = 0600
Dave>     user = postfix
Dave>   }
Dave> }
Dave> service imap-login {
Dave>   inet_listener imap {
Dave>     address = 127.0.0.1,68.139.25.150
Dave>   }
Dave>   inet_listener imaps {
Dave>     address = 127.0.0.1,68.139.25.150
Dave>   }
Dave> }
Dave> service pop3-login {
Dave>   inet_listener pop3 {
Dave>     port = 0
Dave>   }
Dave>   inet_listener pop3s {
Dave>     address = 127.0.0.1,68.139.25.150
Dave>   }
Dave> }
Dave> ssl = required
Dave> ssl_cert = </etc/pki/tls/certs/mail.tech...com.crt
Dave> ssl_cipher_list = ALL:!aNULL:!eNULL:!LOW:!EXP:!RC4
Dave> ssl_key =  # hidden, use -P to show it
Dave> ssl_prefer_server_ciphers = yes
Dave> userdb {
Dave>   driver = passwd
Dave> }


Dave> Regards,
Dave> -Dave




More information about the dovecot mailing list