saschap

Q: OSX Lion Server, Dovecot Listescape Plugin - DOT in Mailbox Name

If you want to create a folder with a dot, for example foo.bar, dovecot does not allow it by default.

Listescape plugin makes it possible to do that.

 

Listescape is already there, you just need to acitvate it as followed:

 

edit /etc/dovecot/conf.d/20-imap.conf

add listescape to the line:

 

mail_plugins = $mail_plugins imap_quota imap_zlib imap_fts urlauth listescape

 

 

edit /etc/dovecot/conf.d/15-lda.conf

add listescape to the line:

 

mail_plugins = $mail_plugins push_notify listescape

 

edit /etc/dovecot/conf.d/90-plugin.conf

add lisescape char:

 

plugin {

  listescape_char = "\\"

  fts = sk

}

 

edit /etc/dovecot/conf.d/10-mail.conf

add a namespace for privat with separator "^"

 

namespace private {

  separator = ^

  prefix =

  inbox = yes

}

 

Restart Mail services and that's it.

 

Have Fun!

  Sascha

Dovecot, Mac OS X (10.7), OSX Lion Server Mail Services IMAP

Posted on Jul 29, 2011 7:56 AM

Close

Q: OSX Lion Server, Dovecot Listescape Plugin - DOT in Mailbox Name

  • All replies
  • Helpful answers

  • by bcpub,

    bcpub bcpub Jun 4, 2014 11:11 AM in response to saschap
    Level 1 (0 points)
    Jun 4, 2014 11:11 AM in response to saschap

    Update for Mavericks-

    I don't know if this is totally accurate, but it worked. After upgrading to Mavericks, the previous setup above disappeared. Something in the Dovecot setup is different now, and these changes brought it back.

     

    edit files have moved to /Library/Server/Mail/Config/dovecot/conf.d/

     

    do the same edits as outlined above except for the last one- 10-mail.conf

     

    The Namespace sections have changed. Using the above reference, I made these changes. **Uncomment means to remove the # from the first of the line.

     

    namespace inbox {

    **uncomment type = private

    **uncomment separator = ^ (add this character)

    **uncomment prefix =

     

    In the next two sections (shared namespaces) change the prefix lines to match the separator ^ (you're replacing the periods with the new delimiter.) Mavericks activates these namespaces by default- I don't know what they do. It won't work unless you make them match.

     

    namespace acl-mailboxes {

    prefix = shared^%%u^

     

    namespace list-archives {

    prefix = archives^%%u^

     

    Stop and restart mail service and all is back to the way it was.