LUASTATUS-PLUGIN-IMAP(7)

πŸ“¦
version 0.6.0 Β· 2 versions
, in nixos 26.05

🌸 NAME 🌸

luastatus-plugin-imap β€” the IMAPv4 plugin for luastatus, bestie. πŸ’Œ And just so you know, this page lives in the Miscellaneous Information Manual (folding that in right here instead of copying the header line, slay).


πŸ¦‹ OVERVIEW πŸ¦‹

Okay so this derived plugin literally monitors the number of unread mails in an IMAP mailbox. That's the whole vibe β€” main character energy for your inbox. πŸ’…πŸ“¬


πŸŽ€ FUNCTIONS πŸŽ€

widget(tbl)

Constructs a widget table that luastatus requires. tbl is a table with the following fields:

(required) β€” no skips allowed, bestie πŸ”₯

  • cb: function β€” the callback that will be called with the number of unread mails, or with nil if it is unknown.
  • host: string β€” host name.
  • port: number β€” port number.
  • login, password: strings β€” your credentials (guard these with your life 🫢).
  • mailbox: string β€” mailbox name (typically "Inbox").
  • error_sleep_period: number β€” number of seconds to sleep after an error.

(optional) β€” the little extras, we love πŸŽ€

  • use_ssl: boolean β€” whether to use SSL (you probably should set it to true). Defaults to false.
  • verbose: boolean β€” whether to be verbose (useful for troubleshooting). Default to false.
  • timeout: number β€” idle timeout, in seconds, after which to reconnect; you probably want to set this to something like 5 * 60.
  • handshake_timeout: number β€” SSL handshake timeout, in seconds.
  • event β€” the event entry of the resulting table (see luastatus documentation for the description of widget.event field).

LGPLv3. Periodt. 🫢


Okay that's the whole page, bestie β€” the footer's source/version is luastatu...ugin-imap(7) and the date isn't listed on this one, so that's your cute little mystery vibe. πŸ’€βœ¨

πŸ“¦ where this page comes from