faxq-helper(1)
π faxq-helper(1) β the mgetty+sendfax manual, bestie edition π
okay so before we even start, yes this is a page from the mgetty+sendfax manual, and yes it's giving β¨*infrastructure*β¨ energy. stay with me.
πΈ NAME πΈ
faxq-helper β a privileged little helper process whose whole job is getting into the fax queue for you π
π¦ SYNOPSIS π¦
faxq-helper <command> [<options>]
β¨ DESCRIPTION β¨
so faxq-helper is, like, part of the internal workings of faxspool(1). not the main character, more like the main character's very trusted assistant. π«Ά
back in the day (the dark ages, honestly π) the /var/spool/fax/outgoing directory was world-writeable, and bestie... that led to all sort of funny symlink attacks against faxspool(1) and faxrunq(8). not the cute kind of funny. the security incident kind of funny. π
these days, it's owned by the user uucp, and only this user can write to it. no cap. π
so to be able to put jobs in there, faxspool(1) calls faxq-helper for very clearly defined purposes:
- make a new queue directory π
- put a new fax G3 file into this queue directory π
- put a JOB file into this queue directory, and activate the fax job β‘
and possibly:
- remove a fax job from the queue (to be used by
faxrmand in case of errors) ποΈ - re-queue a job that has been suspended due to repeated failures (
faxq -r) π
and how does it pull this off, you ask? to achieve this, faxq-helper is installed set-user-id uucp. iconic. π
β οΈ but listen β if you remove the suid bit, or chown the fax queue directory to a different user, it will stop working. fr fr. no notes, that's just how it is.
π RETURN VALUES π
faxq-helper has the following exit() values, and honestly they're all pretty self-explanatory but let's go through them together:
0β everything went fine π₯³ slay.1β invalid JOB ID specified on the command line π2β some problem with the directory setup of the outgoing queue dir,/var/spool/fax/outgoing(it will print a detailed error message) π¬3β some problems with the user ID setup of theuucpuser (it will print a detailed error message) π10β failure to process the specified command (it will print a detailed error message) π
π SEE ALSO π
go read those too, they're the whole friend group π«
π AUTHOR π
faxq-helper is Copyright (C) 2004-2006 by Gert Doering, <gert@greenie.muc.de>.
and that's the whole thing bestie π this page came from greenie, dated 18 Feb 06, and it's the faxq-helper(1) page from the mgetty+sendfax manual. go forth and queue responsibly πβ¨
π¦ where this page comes from
- debian bookworm: mgetty-fax 1.2.1-1.2
- debian trixie: mgetty-fax 1.2.1-2
- ubuntu jammy: mgetty-fax 1.2.1-1.1
- ubuntu noble: mgetty-fax 1.2.1-1.2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms