使用 Thunderbird 91 讀取 cron 輸出?

使用 Thunderbird 91 讀取 cron 輸出?

在 Ubuntu 21.10、Thunderbird 91 上不支援移動郵件(Unix Mailspool) 帳號:

刪除了對 movemail 的支持

支援移動郵件已刪除。請設定 IMAP 或 POP3 帳戶來存取您的電子郵件。

New>>Existing Mail Account

https://support.mozilla.org/en-US/kb/new-thunderbird-91#w_removed-support-for-movemail

以前,我使用exim4Thunderbird 來查看 cron 作業的輸出。我想繼續使用 Thunderbird,但是我之前找到的所有答案都依賴它的movemail支援:

要求:

  • root@hostname接收和的 cron 輸出$USER@hostname,但如果它們是單獨的帳戶,則可以接受。

  • 必須位於我的電腦本地,根本不需要外部網路。我願意不是想要將我的 cron 輸出轉送到遠端伺服器

  • 每個 cron 作業必須有單獨的訊息(與 movemail 一樣)。

  • 必須使用Thunderbird 91。

概括:

cron在 Thunderbird 91 中查看輸出有哪些選項?

如果運行成熟的 IMAP 或 POP3 伺服器是唯一的方法,那麼用於在本地提供 cron 輸出的健全、安全且低維護的設定是什麼?

編輯:作為Ubuntu 21.10 於 10 月 14 日發布,這個問題現在進入主題了。

答案1

來源:https://bugzilla.mozilla.org/show_bug.cgi?id=1625741

摘自評論 35...

Anyway, for whoever wants to know a slightly kludgy but likely "good enough" workaround, do this:

    - context-click on the "Local Folders" and find the "Local Directory" address
    - close thunderbird (maybe be paranoid and pgrep to ensure you don't have any persistent subprocess still running)
    - then create a symlink ln -s /var/mail/[SPOOL_FILE_NAME] /path/to/the/Local-Directory/address/you/found/above/Inbox (obviously ensure there isn't already an Inbox subfolder there, or otherwise create a differently named subfolder-symlink)

When I opened thunderbird it indexed it OK and after exiting and reopening thunderbird several times the symlink has stayed in place without problem.

相關內容