SENDFILED(8)

πŸ“¦ version 2.1b.20080616, in debian bookworm, ubuntu jammy, ubuntu noble

✨ SENDFILED ✨

okay so bestie, we're in the System Manager's Manual, section 8 (that's the admin/daemon girlies section, iykyk), and the star of the show is sendfiled. Buckle up. πŸŽ€


🌸 NAME 🌸

sendfiled β€” the Simple Asynchronous File Transfer server. She's a server. She serves. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

sendfiled [ -4 | -6 ] [ -d ] [ -f ] [ -q ] [ -Q ] [ -c configfile ]

πŸ’– DESCRIPTION πŸ’–

So sendfiled is a server process (a daemon, main character energy fr) for the Simple Asynchrnous File Transfer (SAFT) protocol. Normally inetd(8) calls her β€” she doesn't just show up uninvited β€” and she receives files or messages that SAFT-clients send. Files get tucked into the recipient's spool 🌷 and messages get written straight to the recipient's terminals.

Here's the whole option situation, one by one:

  • -4 and -6 β€” these explicitly force IPv4 or IPv6 connections. By default tho, the program will try to resolve the name given and pick the appropriate protocol automatically. And if resolving a host name hands back both IPv4 and IPv6 addresses? sendfiled will try to use the addresses in the order they are returned by the resolver. no cap.
  • -d β€” debugging info gets written to /var/log/sendfiled.dbg. Very "tell me everything" of her. πŸ”
  • -f β€” sendfiled prints the free disk space on /var/spool/sendfile and then terminates. Short king behavior, in and out. πŸ’€
  • -q β€” sendfiled processes once the outgoing spool and terminates.
  • -Q β€” sendfiled starts an outgoing spool daemon, which runs in an endless loop in the background. She's in her loop era and she is not leaving. πŸ”₯
  • -c configfile β€” on startup sendfiled reads her configuration file /etc/sendfile.cf, but you can specify an alternate configuration file with -c configfile. glow up, customized. ✨

Also! sendfiled is an O-SAFT server, which means authenticated clients can fetch files. See fetchfile(4) for the deets. πŸ‘‘

And sfdconf is the sendfiled configuration helper program. It has its own usage help β€” literally just type:

sfdconf -h

and she'll tell you everything. 🫢


πŸŽ€ FILES πŸŽ€

  • /etc/sendfile.deny β€” users which are not allowed to receive files or messages. the banned list. πŸ™ˆ
  • /etc/sendfile.allow β€” users which are ONLY allowed to receive files or messages. And heads up: if this file has at least one entry, then /etc/sendfile.deny will be ignored. allow-list ate, deny-list left on read. 😭
  • /etc/sendfile.aliases β€” alias names for local users. The format is:
alias realname
  • /var/spool/sendfile/LOG/in β€” log file for incoming files. πŸ“₯
  • /var/spool/sendfile/LOG/out β€” log file for outgoing files. πŸ“€
  • /etc/sendfile.cf β€” the system configuration file. See sfdconf -i config for a complete description and default values. the blueprint, the lore. πŸ“œ

🌈 SEE ALSO 🌈

sfdconf sendfile(1) receive(1) sendmsg(1) fetchfile(1) fetchfile(4)

go read those too, they're all in the same friend group. πŸ’œ


⭐ AUTHOR ⭐

Ulli Horlacher β€” framstag@rus.uni-stuttgart.de


and that's the whole page, bestie 🧚 she's from the 3rd Berkeley Distribution (the source/version, if you were wondering), and yes, we're still living in SENDFILED(8) territory. periodt. πŸ’…βœ¨

πŸ“¦ where this page comes from