SENDPAGE(1p)

πŸ“¦ version 1.0.3, in ubuntu jammy

✨ NAME ✨

okay so bestie, meet sendpage β€” it listens for pages via SNPP, and sends pages via modem πŸ’– lowkey iconic honestly


πŸ’… SYNOPSIS πŸ’…

sendpage [OPTIONS] [recipient ...]

πŸŽ€ OPTIONS πŸŽ€

  • -bd β€” start sendpage in "daemon mode", where it spins up all the Paging Central queues and then just chills, waiting for pages to get delivered πŸ¦‹. Heads up tho: when sendpage is running as a daemon it must be running as the 'sendpage' user, exactly as specified in the sendpage.cf file. no substitutions, periodt.
  • -bp β€” show you every single page that's currently waiting around in the Paging Central queues πŸ‘€
  • -bv β€” try to expand the "recipient" name using the recipient aliases from the configuration file. it's giving ✨detective✨
  • -bs β€” shut down the running sendpage daemon and all its children πŸ›‘. If a Paging Central is mid-delivery on a page, it'll finish that page up first and then exit as soon as it's handled its current one. polite of it fr fr.
  • -br β€” this sends a SIGHUP to the master daemon πŸ’Œ. When the master catches that SIGHUP, it re-reads its configuration file and restarts all the Paging Centrals. It'll wait for any busy Paging Centrals to finish before it keeps going, so nothing gets dropped.
  • -bq β€” shows you the state of the running daemons: Running or Not running 🩺. And if a pid file is stale (meaning: the file exists but the process doesn't), it marks that pid as "Stale". the way it snitches on dead processes πŸ’€
  • -q[R pc] β€” sends a SIGUSR1 signal to either the master daemon, or, if you specify the Paging Central, to just that one Paging Central specifically. When the master gets a SIGUSR1, it passes it along to each of the running Paging Centrals 🌈. If the Paging Central isn't busy, it immediately starts a queue run. instant. no waiting. slay.
  • -C FILE β€” read the configuration file FILE instead of the default /etc/sendpage/sendpage.cf πŸ“‚
  • -h β€” display a summary of all the available command line options 🫢 (yes, the help flag is right there, bestie, use it)
  • -d β€” turn on debugging, same energy as "debug=true" in /etc/sendpage/sendpage.cf πŸ›
  • -f USER β€” show that the sent page is coming from USER. Default is the current user πŸ’β€β™€οΈ
  • -m MESSAGE β€” send the given MESSAGE instead of reading text from stdin πŸ“¨
  • -n β€” do not notify the 'from' user about the status of the page πŸ™ˆ

🌸 DESCRIPTION 🌸

sendpage can run as the delivery agent, or as a client to insert a page into the paging queue πŸŽ€. For the various command-line arguments, the idea here was to use sendmail-style arguments where I can β€” not to fully implement every single option that sendmail has. The whole vibe check here is that the learning curve of sendpage stays small for people who are already familiar with sendmail. iykyk πŸ’œ


πŸ“‚ FILES πŸ“‚

  • /etc/sendpage/sendpage.cf β€” default location for sendpage.cf, which holds all the configuration information for sendpage, including Paging Central definitions, recipients, and various other behaviors. it's the main character of config files honestly πŸ‘‘
  • /var/spool/sendpage β€” default directory for all the Paging Central queues and pid files πŸ—‚οΈ
  • /var/lock β€” default directory to keep the UUCP-style device locks πŸ”’

πŸ‘‘ AUTHOR πŸ‘‘

Kees Cook <kees@outflux.net>


πŸ’€ BUGS πŸ’€

Oh, I bet this code is crawling with them. :) I've done my best to test this code, but I'm only one person. If you find strange behavior, please let me know. fr fr, tell him πŸ™


sendpage is free software; it can be used under the terms of the GNU General Public License. periodt. πŸ’…


🌈 SEE ALSO 🌈

perl(1), kill(1), Device::SerialPort(3), Mail::Send(3), Sendpage::KeesConf(3), Sendpage::KeesLog(3), Sendpage::Modem(3), Sendpage::PagingCentral(3), Sendpage::PageQueue(3), Sendpage::Page(3), Sendpage::Recipient(3), Sendpage::Queue(3)


and that's the whole page bestie 🫢 this was pulled from the User Contributed Perl Documentation, perl v5.32.0, dated 2021-01-08 β€” so go forth and send some pages, you absolute icon πŸ§šβœ¨πŸ’œ
πŸ“¦ where this page comes from