nullmailer-queue(8)
β¨ NAME β¨
nullmailer-queue β bestie, this is the little icon that takes your mail messages and safely tucks them into the outgoing queue π (it lives in section 8 of the System Manager's Manual, iykyk)
πΈ SYNOPSIS πΈ
nullmailer-queue
That's it. No flags, no args, no drama. She just reads from stdin and goes π
π¦ DESCRIPTION π¦
Okay so here's the vibe: this program reads a formatted mail message from standard input and safely injects it into the outgoing mail queue. No cap, that's the whole job. π
The data you pipe into standard input is expected to have this exact format, in this exact order:
- one line containing the envelope sender
- one or more lines containing the recipients
- a single blank line
- then the contents of the message, exactly as it is to be transmitted to the destination
All lines are terminated with a single line-feed character. Periodt. π«Ά
And listen β all addresses must contain a fully-qualified domain name. Not optional. Not a suggestion. FQDN or nothing, bestie π
π RETURN VALUE π
0β slay! It successfully queued the message β¨1β it failed to queue the message, and it prints an error message to standard output π
π CONTROL FILES π
These are the little config cuties that change how the queue behaves. Both of them: if the file is not empty, stuff happens. If it's empty, nothing happens. Simple as.
adminaddr
If this file is not empty, all recipients to users at either "localhost" (the literal string, okay, not a resolved hostname) or the canonical host name (from /etc/mailname) are remapped to this address. π¬
This is provided to allow local daemons to be able to send email to "somebody@localhost" and have it go somewhere sensible instead of being bounced by your relay host. The way that local daemons just want to talk to localhostβ¦ relatable honestly π
To send to multiple addresses, put them all on one line separated by a comma.
allmailfrom
If this file is not empty, its contents will override the envelope sender on all messages. Every single one. Main character energy, fr fr π
π OTHER FILES π
/var/spool/nullmailer/queueβ the directory into which the completed messages are moved/var/spool/nullmailer/tmpβ the directory in which messages are formed temporarily/var/spool/nullmailer/triggerβ a pipe used to triggernullmailer-sendto immediately start sending the message from the queue
β οΈ Bestie, read this one twice: due tonullmailer-queueusing hard links to manage emails, both/var/spool/nullmailer/queueand/var/spool/nullmailer/tmpMUST reside on the same filesystem. Not a drill. Same filesystem or it's over π
π₯ SEE ALSO π₯
π LIMITATIONS π
This program should enforce system-wide configurable message length limits.
(Yes, that's it. She's got no limits. Literally. That's the limitation. π)
That's the whole page, bestie β nullmailer-queue, section 8, from the System Manager's Manual. Go forth and queue responsibly π§β¨π
π¦ where this page comes from
- debian trixie: nullmailer 1:2.2+10~g7ed88a0-6.1 Β· GPL-2.0-or-later
- ubuntu noble: nullmailer 1:2.2+10~g7ed88a0-2build2 Β· GPL-2.0-or-later
- ubuntu questing: nullmailer 1:2.2+10~g7ed88a0-6.1
- ubuntu resolute: nullmailer 1:2.2+10~g7ed88a0-6.1build1 Β· GPL-2.0-or-later
- ubuntu stonking: nullmailer 1:2.2+10~g7ed88a0-6.1build1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms