SENDFILED(8)
β¨ 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:
-4and-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?sendfiledwill 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βsendfiledprints the free disk space on/var/spool/sendfileand then terminates. Short king behavior, in and out. π-qβsendfiledprocesses once the outgoing spool and terminates.-Qβsendfiledstarts 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 startupsendfiledreads 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.denywill 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. Seesfdconf -i configfor 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
- debian bookworm: sendfile 2.1b.20080616-10
- ubuntu jammy: sendfile 2.1b.20080616-9
- ubuntu noble: sendfile 2.1b.20080616-10build2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms