<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Based on this you are not using SIS, so I wonder if those are some
    old emails when you were using SIS?<br>
    <br>
    Can you provide an example corpus of such mail? You can use e.g.<br>
    <br>
    <a class="moz-txt-link-freetext" href="https://www.dovecot.org/tools/dbox-anonymize.pl">https://www.dovecot.org/tools/dbox-anonymize.pl</a><br>
    <a class="moz-txt-link-freetext" href="https://www.dovecot.org/tools/maildir-obfuscate.pl">https://www.dovecot.org/tools/maildir-obfuscate.pl</a><br>
    <a class="moz-txt-link-freetext" href="https://www.dovecot.org/tools/mbox-anonymize.pl">https://www.dovecot.org/tools/mbox-anonymize.pl</a><br>
    <a class="moz-txt-link-freetext" href="https://www.dovecot.org/tools/mdbox-obfuscate.pl">https://www.dovecot.org/tools/mdbox-obfuscate.pl</a><br>
    <br>
    to obfuscate the mail.<br>
    <br>
    Aki<br>
    <br>
    <div class="moz-cite-prefix">On 29.08.2018 08:39, Poliman - Serwis
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAG6pj8JX7_wwXBco2mKAYDBh7wurMiD7cMpwKpXGvbgsoHdEqA@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=utf-8">
      <div dir="ltr">
        <div>Sure, here it is:</div>
        <div>root@s1:~# doveconf -n<br>
          # 2.2.22 (fe789d2): /etc/dovecot/dovecot.conf<br>
          # Pigeonhole version 0.4.13 (7b14904)<br>
          # OS: Linux 4.4.0-134-generic x86_64 Ubuntu 16.04.5 LTS<br>
          auth_mechanisms = plain login<br>
          disable_plaintext_auth = no<br>
          listen = *,[::]<br>
          log_timestamp = "%Y-%m-%d %H:%M:%S "<br>
          mail_max_userip_connections = 100<br>
          mail_plugins = " quota"<br>
          mail_privileged_group = vmail<br>
          passdb {<br>
            args = /etc/dovecot/dovecot-sql.conf<br>
            driver = sql<br>
          }<br>
          plugin {<br>
            quota = dict:user::<a class="moz-txt-link-freetext" href="file:/var/vmail/%d/%n/.quotausage">file:/var/vmail/%d/%n/.quotausage</a><br>
            sieve = /var/vmail/%d/%n/.sieve<br>
            sieve_max_redirects = 25<br>
          }<br>
          postmaster_address = <a
            href="mailto:postmaster@s1.poliman.net"
            moz-do-not-send="true">postmaster@s1.poliman.net</a><br>
          protocols = imap pop3<br>
          service auth {<br>
            unix_listener /var/spool/postfix/private/auth {<br>
              group = postfix<br>
              mode = 0660<br>
              user = postfix<br>
            }<br>
            unix_listener auth-userdb {<br>
              group = vmail<br>
              mode = 0600<br>
              user = vmail<br>
            }<br>
            user = root<br>
          }<br>
          service imap-login {<br>
            client_limit = 1000<br>
            process_limit = 512<br>
          }<br>
          service lmtp {<br>
            unix_listener /var/spool/postfix/private/dovecot-lmtp {<br>
              group = postfix<br>
              mode = 0600<br>
              user = postfix<br>
            }<br>
          }<br>
          ssl_cert = </etc/postfix/smtpd.cert<br>
          ssl_key = </etc/postfix/smtpd.key<br>
          ssl_protocols = !SSLv3<br>
          userdb {<br>
            driver = prefetch<br>
          }<br>
          userdb {<br>
            args = /etc/dovecot/dovecot-sql.conf<br>
            driver = sql<br>
          }<br>
          protocol imap {<br>
            mail_plugins = quota imap_quota<br>
          }<br>
          protocol pop3 {<br>
            mail_plugins = quota<br>
            pop3_uidl_format = %08Xu%08Xv<br>
          }<br>
          protocol lda {<br>
            mail_plugins = sieve quota<br>
            postmaster_address = <a
            href="mailto:postmaster@s1.poliman.net"
            moz-do-not-send="true">postmaster@s1.poliman.net</a><br>
          }<br>
          protocol lmtp {<br>
            mail_plugins = quota sieve<br>
            postmaster_address = <a
            href="mailto:postmaster@s1.poliman.net"
            moz-do-not-send="true">postmaster@s1.poliman.net</a><br>
          }<br>
          <br>
        </div>
        <div>
          <div>
            <div class="gmail_extra"><br>
              <div class="gmail_quote">2018-08-29 7:37 GMT+02:00 Aki
                Tuomi <span dir="ltr"><<a
                    href="mailto:aki.tuomi@dovecot.fi" target="_blank"
                    moz-do-not-send="true">aki.tuomi@dovecot.fi</a>></span>:<br>
                <blockquote class="gmail_quote" style="margin:0px 0px
                  0px 0.8ex;border-left:1px solid
                  rgb(204,204,204);padding-left:1ex">
                  <div>
                    <div>Can you provide output of doveconf -n?</div>
                    <span class="gmail-">
                      <div><br>
                      </div>
                      <div><br>
                      </div>
                      <div><br>
                      </div>
                      <div
                        id="gmail-m_548814715603698397composer_signature">---
                        <div>Aki Tuomi</div>
                        <div>Dovecot oy</div>
                      </div>
                      <div><br>
                      </div>
                    </span>
                    <div style="font-size:100%;color:rgb(0,0,0)"><span
                        class="gmail-">
                        <div>-------- Original message --------</div>
                        <div>From: Poliman - Serwis <<a
                            href="mailto:serwis@poliman.pl"
                            target="_blank" moz-do-not-send="true">serwis@poliman.pl</a>>
                        </div>
                      </span>
                      <div>
                        <div class="gmail-h5">
                          <div>Date: 29/08/2018 08:20 (GMT+02:00) </div>
                          <div>To: Aki Tuomi <<a
                              href="mailto:aki.tuomi@dovecot.fi"
                              target="_blank" moz-do-not-send="true">aki.tuomi@dovecot.fi</a>>
                          </div>
                          <div>Cc: dovecot <<a
                              href="mailto:dovecot@dovecot.org"
                              target="_blank" moz-do-not-send="true">dovecot@dovecot.org</a>>
                          </div>
                          <div>Subject: Re: where are stored attachments
                          </div>
                          <div><br>
                          </div>
                        </div>
                      </div>
                    </div>
                    <div>
                      <div class="gmail-h5">
                        <div dir="ltr">
                          <div>Sorry, I have checked before I wrote
                            first post. Based on docs - the path should
                            be in /etc/dovecot/dovecot.conf or
                            /etc/dovecot/conf.d/10-mail.<wbr>conf (I
                            have Ubuntu 16.04 LTS). I have some familiar
                            lines in 10-mail.conf:</div>
                          <div>#mail_attachment_dir =</div>
                          <div>#mail_attachment_min_size = 128k<br>
                            #mail_attachment_fs = sis posix<br>
                            #mail_attachment_hash = %{sha1}<br>
                          </div>
                          <div><br>
                          </div>
                          <div>but all these lines are commented out. So
                            - in theory - dovecot does not store
                            attachments anywhere but when I log into
                            i.e. Roundcube, I have there mails with
                            attachments. In Maildir/cur I see formatted
                            files related with specific emails. These
                            with attachments have specific hash at the
                            bottom of content. As we could suppose they
                            are hashed by sha1. But still no idea where
                            are real files, which I can download after
                            login to mailbox.<br>
                          </div>
                          <div><br>
                          </div>
                        </div>
                        <div class="gmail_extra"><br>
                          <div class="gmail_quote">2018-08-28 18:38
                            GMT+02:00 Aki Tuomi <span dir="ltr"><<a
                                href="mailto:aki.tuomi@dovecot.fi"
                                target="_blank" moz-do-not-send="true">aki.tuomi@dovecot.fi</a>></span>:<br>
                            <blockquote class="gmail_quote"
                              style="margin:0px 0px 0px
                              0.8ex;border-left:1px solid
                              rgb(204,204,204);padding-left:1ex">
                              <div><span>
                                  <div>Check your configuration</div>
                                  <div><br>
                                  </div>
                                  <div><br>
                                  </div>
                                  <div><br>
                                  </div>
                                  <div
                                    id="gmail-m_548814715603698397m_-1376064075776751343composer_signature">---
                                    <div>Aki Tuomi</div>
                                    <div>Dovecot oy</div>
                                  </div>
                                  <div><br>
                                  </div>
                                  <div
                                    style="font-size:100%;color:rgb(0,0,0)">
                                    <div>-------- Original message
                                      --------</div>
                                    <div>From: Poliman - Serwis <<a
                                        href="mailto:serwis@poliman.pl"
                                        target="_blank"
                                        moz-do-not-send="true">serwis@poliman.pl</a>>
                                    </div>
                                    <div>Date: 28/08/2018 16:40
                                      (GMT+02:00) </div>
                                    <div>To: dovecot <<a
                                        href="mailto:dovecot@dovecot.org"
                                        target="_blank"
                                        moz-do-not-send="true">dovecot@dovecot.org</a>>
                                    </div>
                                    <div>Subject: where are stored
                                      attachments </div>
                                    <div><br>
                                    </div>
                                  </div>
                                </span>
                                <div>
                                  <div
                                    class="gmail-m_548814715603698397h5">
                                    <div dir="ltr">Hi! I would like to
                                      know where are stored attachments
                                      for mails stored in /var/vmail/<a
href="http://domain.com/user/Maildir" target="_blank"
                                        moz-do-not-send="true">domain.com/user/Mai<wbr>ldir</a>
                                      ? Specific email has only hash
                                      included at the bottom of message.<br
                                        clear="all">
                                      <div><br>
                                        -- <br>
                                        <div
                                          class="gmail-m_548814715603698397m_-1376064075776751343gmail_signature">
                                          <div dir="ltr">
                                            <div>
                                              <div dir="ltr">
                                                <div>
                                                  <div dir="ltr">
                                                    <div>
                                                      <div dir="ltr">
                                                        <div>
                                                          <div dir="ltr">
                                                          <div>
                                                          <div dir="ltr">
                                                          <div>
                                                          <div dir="ltr">
                                                          <div>
                                                          <div>
                                                          <div><span
                                                          style="color:rgb(153,153,153)"><i>Pozdrawiam
                                                          / Best Regards<br>
                                                          </i></span></div>
                                                          <span
                                                          style="color:rgb(153,153,153)"><i>Piotr
                                                          Bracha</i></span><span
style="color:rgb(153,153,153)"></span><br>
                                                          <span
                                                          style="color:rgb(153,153,153)"></span></div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                        </div>
                                                      </div>
                                                    </div>
                                                  </div>
                                                </div>
                                              </div>
                                            </div>
                                          </div>
                                        </div>
                                      </div>
                                    </div>
                                  </div>
                                </div>
                              </div>
                            </blockquote>
                          </div>
                          <br>
                          <br clear="all">
                          <br>
                          -- <br>
                          <div
                            class="gmail-m_548814715603698397gmail_signature">
                            <div dir="ltr">
                              <div>
                                <div dir="ltr">
                                  <div>
                                    <div dir="ltr">
                                      <div>
                                        <div dir="ltr">
                                          <div>
                                            <div dir="ltr">
                                              <div>
                                                <div dir="ltr">
                                                  <div>
                                                    <div dir="ltr">
                                                      <div>
                                                        <div>
                                                          <div><span
                                                          style="color:rgb(153,153,153)"><i>Pozdrawiam
                                                          / Best Regards<br>
                                                          </i></span></div>
                                                          <span
                                                          style="color:rgb(153,153,153)"><i>Piotr
                                                          Bracha</i></span><span
style="color:rgb(153,153,153)"></span><br>
                                                          <span
                                                          style="color:rgb(153,153,153)"></span></div>
                                                      </div>
                                                    </div>
                                                  </div>
                                                </div>
                                              </div>
                                            </div>
                                          </div>
                                        </div>
                                      </div>
                                    </div>
                                  </div>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </blockquote>
              </div>
              <br>
              <br clear="all">
              <br>
              -- <br>
              <div class="gmail_signature">
                <div dir="ltr">
                  <div>
                    <div dir="ltr">
                      <div>
                        <div dir="ltr">
                          <div>
                            <div dir="ltr">
                              <div>
                                <div dir="ltr">
                                  <div>
                                    <div dir="ltr">
                                      <div>
                                        <div dir="ltr">
                                          <div>
                                            <div>
                                              <div><span
                                                  style="color:rgb(153,153,153)"><i>Pozdrawiam
                                                    / Best Regards<br>
                                                  </i></span></div>
                                              <span
                                                style="color:rgb(153,153,153)"><i>Piotr
                                                  Bracha</i></span><span
style="color:rgb(153,153,153)"></span><br>
                                              <span
                                                style="color:rgb(153,153,153)"></span></div>
                                          </div>
                                        </div>
                                      </div>
                                    </div>
                                  </div>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>