mirror of
https://github.com/mjl-/mox.git
synced 2025-07-12 17:44:35 +03:00
export more imap flags (eg $Junk/$NotJunk/$Forwarded) with maildirs, in dovecot-keywords file
and let the subcommand "export" use the same export code as the accounts page.
This commit is contained in:
@ -161,7 +161,7 @@ func accountHandle(w http.ResponseWriter, r *http.Request) {
|
||||
log.Errorx("exporting mail close", err)
|
||||
}
|
||||
}()
|
||||
if err := acc.ExportMessages(log, archiver, maildir, ""); err != nil {
|
||||
if err := store.ExportMessages(log, acc.DB, acc.Dir, archiver, maildir, ""); err != nil {
|
||||
log.Errorx("exporting mail", err)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user