SENDPAGE(1p)
β¨ 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β startsendpagein "daemon mode", where it spins up all the Paging Central queues and then just chills, waiting for pages to get delivered π¦. Heads up tho: whensendpageis running as a daemon it must be running as the'sendpage'user, exactly as specified in thesendpage.cffile. 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 runningsendpagedaemon 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 aSIGHUPto the master daemon π. When the master catches thatSIGHUP, 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 aSIGUSR1signal to either the master daemon, or, if you specify the Paging Central, to just that one Paging Central specifically. When the master gets aSIGUSR1, 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 forsendpage.cf, which holds all the configuration information forsendpage, 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 π
π COPYRIGHT π
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, dated2021-01-08β so go forth and send some pages, you absolute icon π§β¨π
π¦ where this page comes from
- ubuntu jammy: sendpage-server 1.0.3-1.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms