After moving accounts from cPanel to Virtualmin, I’ve finding some e-mail related things did not migrate (e-mail filters, for example) while others seem to have migrated partly. The most worrisome is IMAP folders. Some accounts came over cleanly with mailboxes’ full set of folders, whereas others have those folders within Usermin, but some or all of them do not show up in macOS or iOS mail clients.
For example, one account has probably 20 folders and not even the new SpamAssassin spam folder is visible in Apple Mail right now. Another showed dozens of the users’ folders, but several were missing. Is there anything nuanced that needs to be changed in client configuration and/or on the server to clean up the migration to display the folders? Maybe a way to force some sort of reindexing or something?
This is one such account missing a bunch of folders. Here’s the status in Apple Mail:
If they show up on the server then my wild guess is subscriptions. IMAP only shows folders you subscribe to. Not sure where that’s handled. You have the choice as to where the dovecot specific files. I think the default for VM is NOT in the user home directory. Probably to keep the user from doing stupid user spit to them?
root@spain:/home/x/homes/mit/Maildir# ls
cur dovecot.index.log.2 dovecot.mailbox.log maildirsize
dovecot.index dovecot-keywords dovecot-uidlist new
dovecot.index.cache dovecot.list.index dovecot-uidvalidity subscriptions
dovecot.index.log dovecot.list.index.log dovecot-uidvalidity.6403ca01 tmp
Yeah, I wondered if it might be something like that. Although I can’t explain why some accounts came over “subscribed” and others – as far as Apple seems concerned – don’t exist even in the properties box. (I’m not sure if there’s some place where Apple’s clients support subscribing, but I don’t think I’ve seen that option on the Apple side of things.) I’ve tried completely deleting and adding the accounts back, but no dice…
Not sure if this has relevance, but Apple Mail is having a hard time doing secure login for IMAP now, too, if I login using the individual virtual server’s domains as opposed to the main server domain. I wonder if something is amiss with Dovecot’s virtual server configuration?
Actually, I take that back. Things have been fluxating enough, it feels like, I hate to declare victory just yet, but I think @stefan1959 's suggestion might have fixed it!