使用 Thunderbird 91 读取 cron 输出?

Nat*_*ver 5 thunderbird cron 21.10

在 Ubuntu 21.10 上,Thunderbird 91不支持 movemail (Unix Mailspool) 帐户:

\n
\n

删除了对 movemail 的支持

\n

对movemail的支持已被删除。请设置 IMAP 或 POP3\n帐户来访问您的电子邮件。

\n

\xe2\x89\xa1>>NewExisting Mail Account

\n
\n

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

\n

以前,我使用exim4Thunderbird 来查看 cron 作业的输出。我想继续使用 Thunderbird,但是我之前找到的所有答案都依赖于它的movemail支持:

\n\n

要求:

\n
    \n
  • root@hostname接收和的 cron 输出$USER@hostname,但如果它们是单独的帐户,则可以接受。

    \n
  • \n
  • 必须位于我的计算机本地,根本不需要外部网络。我不想的 cron 输出转发到远程服务器

    \n
  • \n
  • 每个 cron 作业必须有单独的消息(与 movemail 一样)。

    \n
  • \n
  • 必须使用Thunderbird 91。我知道其他客户端支持movemail。

    \n
  • \n
\n

概括:

\n

在 Thunderbird 91 中查看cron输出有哪些选项?

\n

如果运行成熟的 IMAP 或 POP3 服务器是唯一的方法,那么用于在本地提供 cron 输出的健壮、安全且低维护的设置是什么?

\n

编辑:随着Ubuntu 21.10 于 10 月 14 日发布,这个问题现在是主题。

\n

hey*_*ema 4

来源: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.
Run Code Online (Sandbox Code Playgroud)