Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Feature Requests
  3. Periods (".") not allowed in email folder names, maildir change needed

Periods (".") not allowed in email folder names, maildir change needed

Scheduled Pinned Locked Moved Feature Requests
email
3 Posts 2 Posters 241 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    guyds
    wrote on last edited by girish
    #1

    While trying to migrate an email account from another mail system to Cloudron I noticed that it doesn't succeed because folders have a "." (period) in their name and maildir uses a "." to separate subfolders on the filesystem.

    This can easily be solved by adding LAYOUT=fs to the mail_location option in the config file, but I'm not sure where I can do this in Cloudron?
    Can anyone point me to the correct location to make this change?

    Also, if I make this change, will it persist after upgrades?

    The documentation for this setting can be found at the Dovecot website.
    And for a more in depth read on the matter of periods and slashes in mail folders you should take a look at this post.

    1 Reply Last reply
    1
    • girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #2

      Currently, the mail server does not allow this to be customized. Is it possible to rename the original folders and then import it?

      We set this as mail_location = maildir:~/mail . Changing this will break most people's imports since this is the dovecot default. Using FS has other complications wrt naming of new/cur directories (listed in the link you posted). Generally, we tend to not allow these complicated settings to be customized since it's much work to test them.

      1 Reply Last reply
      0
      • girishG girish moved this topic from Support on
      • G Offline
        G Offline
        guyds
        wrote on last edited by
        #3

        Well, the thing is that I can obviously rename folders in my own account(s) in order to work around this, but when migrating accounts for other family members, colleagues or clients it's harder since I will be asking them to change their folder naming habits just because the mailsystem can't handle it.

        To be honest I never ran into this with other mailsystems and I've used / tried a considerable amount of them in the meantime: Google (Gmail/workspace), Microsoft (hotmail/365), Zoho, Mailcow just to name a few and they all accept periods in folder names.
        As a result we got used to use periods in our folder names.

        I'm fine if the default stays as it is in order to not break anything for other people, but being able to change it when needed would be nice.
        And yes, there are possible collisions with the internal folders (new, cur, tmp) when switching to FS, but this can be anticipated by setting the DIRNAME variable to something unique.

        In regards with testing, I'm not sure this has a huge impact since the working of dovecot shouldn't change in any way when switching to FS.

        1 Reply Last reply
        2
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Bookmarks
        • Search