nullmailer-dsn(1)
๐ nullmailer-dsn ๐
okay bestie, welcome to the glow-up station for sad failed mail โจ this one lives in the General Commands Manual section (section 1, iykyk), and it's basically the makeover montage for a bounced message ๐
๐ธ NAME ๐ธ
nullmailer-dsn โ take a queued message and โจreformatโจ it into a delivery status notification (DSN), no cap
๐ SYNOPSIS ๐
nullmailer-dsn [ options ] status-code < message
๐ฆ DESCRIPTION ๐ฆ
So here's the vibe: this program reads a nullmailer queue message from standard input, transforms it into a delivery status notification, and writes the result to standard output. The output is formatted to be fed straight into nullmailer-queue, like it's passing the baton in a relay ๐โ๏ธโจ
Heads up bestie: all times in the options are expressed as seconds since midnight GMT January 1, 1970 โ that's the UNIX epoch, the moment the universe (or at least UNIX) woke up ๐
๐ OPTIONS ๐
--diagnostic-code=STRINGโ sets the actual diagnostic code issued by the mail transport. It must be in the form of"type; text", where type would typically be the protocol name, such asSMTP. This adds aDiagnostic-Codeheader for each recipient ๐ฎ--envelope-id=STRINGโ the original envelope ID. Setting this adds anOriginal-Envelope-Idheader to the delivery status section ๐--last-attempt=TIMEโ sets the time of the last attempted delivery. Defaults to the access time of the input message. This sets the date in theLast-Attempt-Dateheader for each recipient โฐ--max-lines=COUNTโ sets the maximum number of lines of the original message to copy into the generated message. A value of zero copies only the original header. Negative values copy the whole message. Defaults tobouncelinesbelow, or zero if that is empty โ๏ธ--orig-timestamp=TIMEโ sets the time of the original message. Defaults to the change time of the input message. This sets the date in theArrival-Dateheader in the delivery status section ๐--remote=STRINGโ sets the name of the remote MTA server. This adds aRemote-MTAheader for each recipient ๐--retry-until=TIMEโ sets the time of the (future) final delivery attempt. No default. This adds aWill-Retry-Untilheader for each recipient ๐
โญ RETURN VALUE โญ
Exits 0 if it was successful ๐ otherwise it prints a diagnostic message to standard error and exits 1 ๐ญ
๐ CONTROL FILES ๐
adminaddrโ ifdoublebouncetois empty, double bounces are delivered to this address instead. If no address is configured, double bounces are not generated ๐ซbouncelinesโ sets the maximum number of lines of the original message to copy. May be overridden by--max-linesas above ๐bouncetoโ the address to which all bounces should be sent. If it is empty, the original sender address is used ๐defaultdomainโ the content of this file is appended to any host name that does not contain a period (exceptlocalhost), includingdefaulthostandidhost. Defaults to the value of themecontrol file, if it exists, otherwise the literal namedefaultdomain๐ท๏ธdefaulthostโ the content of this file is appended to any address that is missing a host name. Defaults to the value of themecontrol file, if it exists, otherwise the literal namedefaulthost๐ท๏ธdoublebouncetoโ if the original sender was empty (the original message was a delivery status or disposition notification), the double bounce is sent to the address in this file ๐ฌidhostโ the content of this file is used when building the message-id string for the message. Defaults to the canonicalized value ofdefaulthost๐meโ the fully-qualified host name of the computer running nullmailer. Defaults to the literal nameme๐
๐ SEE ALSO ๐
nullmailer-queue(8), nullmailer-send(8) โ go read those too bestie, they're part of the same friend group ๐ซถ
okay that's the whole page!! ๐ this was nullmailer-dsn(1) from the General Commands Manual, and honestly? iconic. slay, stay queued, and may all your bounces be properly formatted โจ๐๐ฆ periodt ๐
๐ฆ where this page comes from
- arch rolling: nullmailer 2.2-4 ยท GPL2
- debian bookworm: nullmailer 1:2.2-4 ยท GPL-2.0-or-later
- debian trixie: nullmailer 1:2.2+10~g7ed88a0-6.1 ยท GPL-2.0-or-later
- nixos 26.05: nullmailer 2.2
- nixpkgs unstable: nullmailer 2.2
- ubuntu jammy: nullmailer 1:2.2-3build1 ยท 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