
問題:有人可以確認和/或解釋以下觀察結果嗎?
在網上購買~/.mutt/muttrc
設定並深入研究多年(如果不是幾十年前)的帖子後,我發現以下映射有一個有趣的副作用:似乎已正確歸檔訊息對於 Gmail。
macro index,pager e "<delete-message><sync-mailbox>" "move message to trash"
較早的貼文建議使用以下映射,這些映射都會產生明顯的副作用,例如以意想不到的方式在我的 Gmail 帳戶上建立新標籤。
#macro index,pager e "<save-message>=[Gmail]/All Mail<enter><enter>" "Archive"
# ==> Keeps creating new tags like [Gmail]/AllMail and [Gmail]/AllMailMail ...
#macro index,pager e "<save-message>=All Mail<enter><enter>" "Archive"
# ==> Keeps creating new tags like `AllMailMail` and `AllMailMailMail` and
# so on, per each archive/push.
#macro index,pager A "<save-message>=Archive<enter>" "Archive Message"
# ==> Well, Gmail is using "All Mails" tag/label to bin all emails for now. (Maybe I have also misread the original post from Ref #1).
參考
我遇到的貼文清單:
- 關於在 Mutt 中存檔 Gmail 郵件的說明
- 與 gmail 一起使用的優雅 mutt 設置
- Mutt,Vim 之道==> 我開始嘗試
dd
這篇文章中的映射,並很高興地發現 Mutt 中的「刪除」==
在 Gmail 上「存檔」(2019 年)。
答案1
是的,但此行為取決於郵件的檢索方式以及您的電子郵件帳戶中的設定;
答案來自:https://support.google.com/mail/thread/11787139?hl=en
我假設您正在從某些電子郵件用戶端或應用程式存取您的 Gmail 帳戶(因為這是可以存檔而不是刪除已刪除郵件的唯一方法)。
- 在 Gmail 網路介面中,轉至:設定 -> POP/IMAP
- 如果您使用 POP3,請前往:POP 下載 -> 當使用 POP 存取郵件時(並從下拉清單中選擇適當的選項)。
- 如果您使用 IMAP,請前往:IMAP 存取 -> 當郵件被標記為已刪除並從最後一個可見的 IMAP 資料夾中刪除時(並選擇適當的選項)。