Open swelljoe opened 6 years ago
I'm specifically referring to this code:
https://github.com/virtualmin/virtualmin-gpl/blob/master/feature-mail.pl#L2327
Hmmm...confusingly, I'm finding conflicting information about what Thunderbird does about folders on an IMAP server. And, I have no idea what POP clients would do (I guess nothing). I guess I need to do some more testing.
I have setup Dovecot in such way it creates the folders but with the most generic names ever. https://github.com/mail-in-a-box/mailinabox/blob/master/conf/dovecot-mailboxes.conf For me this works great because most email clients use the special_use options for finding folders.
Also there are multiple options in Virtualmin/Webmin that can be configured. Like at Virtualmin > System Settings -> Virtualmin Configuration -> Actions upon server and user creation > Trash/Send/Draft folder name for new mailboxes.
Just leaving this here
The reason Virtualmin creates those folders is for mail clients that don't do it automatically, like Usermin.
@TakeMeNL You can configure folders in Usermin/Mailbox Configuration/Mail folders and on Manage Folders page.
You can delete/reassign the folders the way you want.
However, it's better to use conventional names and structures, so it wouldn't have to be done. I also had to re-assign ones to make them displayed as expected.
Hey Jamie,
I've gotten a few requests for configuring the names of these folders, and also complaints about their being multiple versions of them (and I've noticed it, too). I'm trying to figure out why we're creating them at all. Mail clients will create the folders they want (and the user wants), and AFAIK all of them will create a Trash, Drafts, and Sent folder. So, why are we making our own that will end up not being used, in some cases?
I get why we need to create spam and virus folders, since those get foldered before the mail client see them, but why the others? If we do have to create them, instead of leaving it up to the mail client, can they be made configurable, so users can make them match up with the most common mail clients their users use, so they don't end up with duplicates?