snnewgroup.v0.3.8(8)

πŸ’– snnewgroup β€” create a new sn newsgroup πŸ’–

okay bestie, so this is snnewgroup, and she lives in section 8 of the System Manager's Manual. her whole job? making brand new sn newsgroups. that's it. that's the gig. ✨


🌸 SYNOPSIS 🌸

snnewgroup newsgroup [server] [port]

πŸ¦‹ DESCRIPTION πŸ¦‹

so like, snnewgroup creates a newsgroup, and it assigns that newsgroup an upstream NNTP server of server:port. periodt.

  • if you don't give a port? it defaults to 119. classic. πŸ’…
  • if you don't give a server either? then newsgroup gets created as a local group, which is fed only by articles POSTed to it. she's independent. she's self-made. main character energy fr fr. πŸ‘‘
⚠️ important bestie: you will need to be root, or you need to own /var/spool/sn, in order to add new groups. no sneaking in. πŸ™ˆ

🌈 ENVIRONMENT VARIABLES 🌈

  • SNROOT β€” if this is set and is not empty, the value is used in place of /var/spool/sn, which is the default news spool directory. basically she's like "okay we're not using the default spot today." iconic. πŸŽ€

πŸŽ€ FILES CREATED πŸŽ€

okay so here's everything she makes when you run her, no cap:

  • /var/spool/sn/newsgroup β€” the directory where articles will be stored. her little home. 🏠
  • /var/spool/sn/newsgroup/.created β€” an empty file that holds the newsgroup creation time. a little timestamp baby. ⭐
  • /var/spool/sn/newsgroup/.serial β€” this is where snget gets its idea of the new starting serial number for newsgroup on server server:port. the value is initialized to 0. πŸ“
  • /var/spool/sn/newsgroup/.outgoing β€” if server is specified, this is a symlink to /var/spool/sn/.outgoing/server:port, which is a directory, and it gets created if it does not already exist. but if server is not specified, then no file /var/spool/sn/newsgroup/.outgoing will be created. not me making a symlink that just doesn't exist sometimes πŸ’€ see also snsend.

πŸ’œ SEE ALSO πŸ’œ

  • sndelgroup
  • snsend

✨ N.B. ✨

lowkey the most important note: this whole thing was written by Harold Tay, and this is version v0.3.8 of snnewgroup, hanging out in section 8 of the System Manager's Manual. 🫢

go forth and make groups bestie, you're literally going to slay πŸ’…βœ¨πŸŒΈ

πŸ“¦ where this page comes from