这是我的dovecot.conf
(我没有conf.d
)。
listen = *
ssl = required
ssl_cert = </etc/letsencrypt/live/domain.tld/fullchain.pem
ssl_key = </etc/letsencrypt/live/domain.tld/privkey.pem
ssl_dh = </etc/dovecot/dh.pem
mail_location = maildir:~/Maildir
passdb {
args = scheme=sha512-crypt /etc/mail/passwd
driver = passwd-file
}
userdb {
args = uid=vmail gid=vmail home=/var/vmail/%d/%n
driver = static
}
protocols = imap lmtp
service imap-login {
inet_listener imaps {
port = 993
ssl = yes
}
# Disable imap
inet_listener imap {
port = 0
}
}
namespace inbox {
inbox = yes
location =
mailbox Drafts {
special_use = \Drafts
}
mailbox Junk {
special_use = \Junk
}
mailbox Trash {
special_use = \Trash
}
mailbox Sent {
special_use = \Sent
}
mailbox "Sent Messages" {
special_use = \Sent
}
mailbox virtual/Flagged {
special_use = \Flagged
comment = All my flagged messages
}
prefix =
}
目前发生的情况是收件箱已正确创建并存储在/var/vmail/domain.tld/user/Maildir/
. 我希望它会住在里面/var/vmail/domain.tld/user/Maildir/INBOX
。
与 MTA 同步时,我无法获取 Sent、Trash、Junk、... 文件夹。
我究竟做错了什么?