<div dir="ltr"><div dir="ltr"><div dir="ltr">I wish I had read some docs, I get the answer.</div><div dir="ltr"><br><div>The reason is that Sent folder should be subscribe.</div><div><br></div><div># /etc/dovecot/conf.d/15-mailboxes.conf</div><div><div> auto = subscribe</div></div><div><br></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Mar 31, 2019 at 4:09 PM luckydog xf <<a href="mailto:luckydogxf@gmail.com">luckydogxf@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr">hello,<div><br></div><div> I'm successfully send and receive emails by postfix and dovecot, but folder name 'Sent' is gone, all sent emails are located in Drafts folder.</div><div><br></div><div> Anything wrong? Guess it has something to do with mailbox and location.</div><div><br></div><div> Here is `doveconf -n`</div><div>------------------</div><div><div>auth_cache_size = 1 M</div><div>auth_debug_passwords = yes</div><div>auth_mechanisms = plain login</div><div>auth_ssl_username_from_cert = yes</div><div>auth_verbose = yes</div><div>auth_verbose_passwords = yes</div><div>import_environment = TZ</div><div>login_trusted_networks = <a href="http://172.16.0.0/12" target="_blank">172.16.0.0/12</a></div><div>mail_location = maildir:/var/mail/%n/Maildir</div><div>mail_privileged_group = mail</div><div>namespace inbox {</div><div> inbox = yes</div><div> location =</div><div> mailbox Drafts {</div><div> special_use = \Drafts</div><div> }</div><div> mailbox Junk {</div><div> special_use = \Junk</div><div> }</div><div> mailbox Sent {</div><div> special_use = \Sent</div><div> }</div><div> mailbox "Sent Messages" {</div><div> special_use = \Sent</div><div> }</div><div> mailbox Trash {</div><div> special_use = \Trash</div><div> }</div><div> prefix =</div><div>}</div><div>passdb {</div><div> args = /etc/dovecot/dovecot-sql.conf.ext</div><div> driver = sql</div><div>}</div><div>protocols = imap lmtp</div><div>service auth-worker {</div><div> user = $default_internal_user</div><div>}</div><div>service auth {</div><div> unix_listener /var/spool/postfix/private/auth {</div><div> mode = 0666</div><div> }</div><div>}</div><div>service imap-login {</div><div> inet_listener imap {</div><div> port = 0</div><div> }</div><div> inet_listener imaps {</div><div> port = 993</div><div> ssl = yes</div><div> }</div><div>}</div><div>service lmtp {</div><div> unix_listener lmtp {</div><div> mode = 0666</div><div> }</div><div>}</div><div>service pop3-login {</div><div> inet_listener pop3 {</div><div> port = 110</div><div> }</div><div>}</div><div>ssl = required</div><div>ssl_cert = </etc/ssl/certs/dovecot.pem</div><div>ssl_dh = # hidden, use -P to show it</div><div>ssl_key = # hidden, use -P to show it</div><div>userdb {</div><div> driver = prefetch</div><div>}</div><div>userdb {</div><div> args = uid=mail gid=mail home=/var/mail/%u</div><div> driver = static</div><div>}</div><div>verbose_proctitle = yes</div></div><div><br></div><div>-----</div><div><br></div><div> I also checked mail dir, it has /var/mail/XXX/Maildir/.send/</div><div><br></div><div> So anything wrong?</div><div> </div><div>Thanks,</div></div></div></div>
</blockquote></div>