<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hey Aki,<br>
    <br>
    DIRNAME with empty value has no effect, just like with FULLDIRNAME.
    "~/sdbox" instead of "~/" doesn't change that..<br>
    <br>
    Greetings,<br>
    <br>
    Hativ<br>
    <br>
    <div class="moz-cite-prefix">Am 07.07.2018 um 20:24 schrieb Aki
      Tuomi:<br>
    </div>
    <blockquote type="cite"
cite="mid:5b41057c.1c69fb81.93a47.49c8SMTPIN_ADDED_MISSING@mx.google.com">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <div>Does it work better if you use</div>
      <div><br>
      </div>
      <div>mail_location=sdbox:~/sdbox:DIRNAME=</div>
      <div><br>
      </div>
      <div><br>
      </div>
      <div><br>
      </div>
      <div id="composer_signature">
        <meta http-equiv="Content-Type" content="text/html;
          charset=utf-8">
        ---
        <div>Aki Tuomi</div>
        <div>Dovecot oy</div>
      </div>
      <div><br>
      </div>
      <div style="font-size:100%;color:#000000"><!-- originalMessage -->
        <div>-------- Original message --------</div>
        <div>From: Hativ <a class="moz-txt-link-rfc2396E" href="mailto:hativ3@gmail.com"><hativ3@gmail.com></a> </div>
        <div>Date: 07/07/2018 20:53 (GMT+02:00) </div>
        <div>To: <a class="moz-txt-link-abbreviated" href="mailto:dovecot@dovecot.org">dovecot@dovecot.org</a> </div>
        <div>Subject: Re: Get rid of the "dbox-Mails"-folder </div>
        <div><br>
        </div>
      </div>
      <font face="Calibri">Hey again,<br>
        <br>
        sorry, but I have to correct me: Even with dot it's not working
        completely. The subscriptions file is not created and the
        dovecot-acl file has the wrong path, too.<br>
        <br>
        :-(<br>
        <br>
        Greetings,<br>
        <br>
        Hativ<br>
        <br>
      </font>
      <div class="moz-cite-prefix">Am 07.07.2018 um 02:26 schrieb Hativ:<br>
      </div>
      <blockquote type="cite"
        cite="mid:d537be0d-2125-2b38-92de-486c22468921@gmail.com">
        <meta http-equiv="Content-Type" content="text/html;
          charset=utf-8">
        Hey again,<br>
        <br>
        I've found a working configuration: mail_location =
        sdbox:~/:FULLDIRNAME=.<br>
        <br>
        I use a dot instead of slash or empty value.<br>
        <br>
        Now my folder structure looks like I want and Dovecot is working
        fine.<br>
        <br>
        Can anyone (maybe even a Dovecot developer?) say if the
        configuration is okay? I've tried to check the source code, but
        I don't know C as good as it's needed for that.<br>
        <br>
        Greetings,<br>
        <br>
        Hativ<br>
        <br>
        <div class="moz-cite-prefix">Am 06.07.2018 um 16:10 schrieb
          Hativ:<br>
        </div>
        <blockquote type="cite"
          cite="mid:f0b3ff19-9994-fdc5-d9a0-905f0a82dda5@gmail.com">
          <meta http-equiv="content-type" content="text/html;
            charset=utf-8">
          Hey to all,<br>
          <br>
          is it possible to get rid of the "dbox-Mails"-folder when
          using sdbox?<br>
          <br>
          Currently my folder structure looks like this (I hope the
          output from tree would be formatted well):<br>
          /srv/mail/<br>
          └── example.com<br>
              └── user<br>
                  ├── dovecot-acl-list<br>
                  ├── dovecot-attributes<br>
                  ├── dovecot.list.index.log<br>
                  ├── dovecot.mailbox.log<br>
                  ├── dovecot-uidvalidity<br>
                  ├── dovecot-uidvalidity.5b3f746f<br>
                  ├── mailboxes<br>
                  │   ├── Drafts<br>
                  │   │   └── dbox-Mails<br>
                  │   │       └── dovecot.index.log<br>
                  │   ├── INBOX<br>
                  │   │   └── dbox-Mails<br>
                  │   │       ├── dovecot.index.cache<br>
                  │   │       ├── dovecot.index.log<br>
                  │   │       └── u.1<br>
                  │   ├── Junk<br>
                  │   │   └── dbox-Mails<br>
                  │   │       └── dovecot.index.log<br>
                  │   ├── Sent<br>
                  │   │   └── dbox-Mails<br>
                  │   │       └── dovecot.index.log<br>
                  │   └── Trash<br>
                  │       └── dbox-Mails<br>
                  │           └── dovecot.index.log<br>
                  └── subscriptions<br>
          <br>
          I would like to let it look like this:<br>
          /srv/mail/<br>
          └── example.com<br>
              └── user<br>
                  ├── dovecot-acl-list<br>
                  ├── dovecot-attributes<br>
                  ├── dovecot.list.index.log<br>
                  ├── dovecot.mailbox.log<br>
                  ├── dovecot-uidvalidity<br>
                  ├── dovecot-uidvalidity.5b3f746f<br>
                  ├── mailboxes<br>
                  │   ├── Drafts<br>
                  │   │   └── dovecot.index.log<br>
                  │   ├── INBOX<br>
                  │   │   └── dovecot.index.cache<br>
                  │   │   └── dovecot.index.log<br>
                  │   │   └── u.1<br>
                  │   ├── Junk<br>
                  │   │   └──dovecot.index.log<br>
                  │   ├── Sent<br>
                  │   │   └── dovecot.index.log<br>
                  │   └── Trash<br>
                  │       └── dovecot.index.log<br>
                  └── subscriptions<br>
          <br>
          My path configuration:<br>
          mail_attribute_dict = <a class="moz-txt-link-freetext"
            href="file:%h/dovecot-attributes" moz-do-not-send="true">file:%h/dovecot-attributes</a><br>
          mail_home = /srv/mail/%d/%n/<br>
          mail_location = sdbox:~/<br>
          <br>
          I have tried<br>
          mail_location = sdbox:~/:FULLDIRNAME=<br>
          and<br>
          mail_location = sdbox:~/:FULLDIRNAME=/<br>
          but it doesn't work.<br>
          <br>
          The first doesn't change anything. The second auto-creates the
          folders after first login like I want, but after next login
          they are greyed out and no longer accessible.<br>
          <br>
          Is it possible to get rid of the "dbox-Mails"-folder? I want
          this because I don't like to have an unneeded deep folder
          structure. Or is there a good reason to let the "dbox-Mails"
          folder in my setup?<br>
          <br>
          Greetings,<br>
          <br>
          Hativ<br>
          <br>
        </blockquote>
        <br>
      </blockquote>
      <br>
    </blockquote>
    <br>
  </body>
</html>