• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved IMAP auto select default folders on server

Jelle G

New Pleskian
Hi,

When a mailaddress is created for a domain and I want to add it to my iPhone using IMAP, the default folders are not set correct by default.

I manually need to select that drafts, sent, deleted, archive mailbox should be On the server and not local on my iPhone.

Is there a way to set these folders by default to On the server?
This so that all customers are set correctly by default and all actions are stored on server?
 
Hi Jelle G,
I use Dovecot on all my servers, and add an extra file in /etc/dovecot/conf.d...

/etc/dovecot/conf.d/15-my-mailboxes.conf

Contents...
Code:
##
## Mailbox Settings
##

namespace inbox {
  mailbox Drafts {
  special_use = \Drafts
  auto=subscribe
  }
  mailbox Trash {
    special_use = \Trash
    auto=subscribe
  }
  mailbox Sent {
    special_use = \Sent
    auto=subscribe
  }
  mailbox "Sent Messages" {
    special_use = \Sent
  }
}

I hope that helps.
Kind regards

Lloyd
 
Hi Lloyd,

Thanks for your reply!

I just only need to create an extra file like /etc/dovecot/conf.d/15-my-mailboxes.conf and add that specific content?
That will do the trick? :)
 
Hi Lloyd,

Thanks for your reply!

I just only need to create an extra file like /etc/dovecot/conf.d/15-my-mailboxes.conf and add that specific content?
That will do the trick? :)

Yeah that's right, it did with outlook 2013 anyway.
Kind regards

Lloyd
 
That's fantastic info, @Lloyd_mcse! I can write off item #3 from my list of "Plesk issues": it was a pain in the neck having to access with RoundCube every newly created mailbox to have folders created...

What I wonder is why (oh, why!!??) this is not part of the default Plesk installation...
 
Hi Lloyd,

I know this is an old post but it is very valuable, thanks.
The Plesk solution to stay with Courier-IMAP comparability is a problem for many new devices so I changed as you suggested and it works on Plesk 17.8.

The only problem I now have is that Roundcube does not automatically set the folder "mappings" correctly for :

- Drafts
- Sent
- Junk
- Trash
- etc, you need to login and go to Manager Folders > Preferences > Special Folders and then set:

Drafts - Drafts
Sent - Sent
Junk - Junk
Trash - Trash

Do you or anyone else have a solution to fix this and have it happen automatically when a mailbox is created and a user logs in?

Thanks,

Ryan
 
Back
Top