INNMAIL(1)
π INNMAIL(1) β InterNetNews Documentation π
okay so bestie, welcome to the manual page for innmail from InterNetNews Documentation. this is literally your new fave mail-sending program. let's get into it. β¨
πΈ NAME πΈ
innmail β Simple mail-sending program. that's it. that's the name. slay. π
π¦ SYNOPSIS π¦
innmail [-h] [-a header] [-s subject] address [address ...]
like, that's how you run it. periodt. π
β¨ DESCRIPTION β¨
okay so innmail is a Perl script, and its whole vibe is giving you the non-interactive mail-sending functionality of mail(1) while avoiding all the nasty security problems. no cap, it's the safe bestie of mail senders. π
it takes the body of a mail message on standard input and sends it to the addresses you specify by invoking the value of mta in inn.conf. so you just pipe in your message, and it does the rest. literally.
at least one address is required β and yes, it should be formatted for the MTA specified in inn.conf, if it matters. innmail will sanitize the addresses so they contain only alphanumerics and the symbols "@", ".", "-", "+", "_", and "%". so don't try to be cute with other symbols, okay? it'll strip them. π
innmail was written to be suitable for the mailcmd setting in inn.conf. so it's meant to slot right in there. main character energy, honestly. π
π OPTIONS π
-aheader β Specifies an additional header field to add in the headers of the message. It should be a well-formed header field surrounded by quotes, consisting of a name and a body separated with a colon and a space. For instance,"Auto-Submitted: auto-generated"is used by some programs invokinginnmail. you may provide more than one header field if header is a multi-line string, which can for instance be done with these commands:
HEADERS=$(echo -e "Hdr1: Body1\nHdr2: Body2")
echo "test" | innmail -a "$HEADERS" -s Test joe
so like, you can stack headers if you're fancy. π
-hβ Gives usage information. it's the "help me please" flag. π-ssubject β Sets theSubjectheader field body of the message. A warning is issued if this option is omitted. so if you forget it, you get a little warning, but it's not the end of the world. ngl, just add it. π
π¦ EXAMPLES π¦
this sends a one-line message to the local user "joe":
echo "A one-line message." | innmail -s "Simple message" joe
and innmail by default is used by INN for sending nightly reports to the news administrator, as well as errors during the execution of a few programs. so it's basically the responsible one of the group chat. π«Ά
π BUGS π
innmailfails on addresses that begin with"-", although one might hope that the news server will not need to contact any such addresses.
so like, if your address starts with a dash, it's gonna choke. hopefully that never happens, but just so you know. π
There are many "correct" addresses that will be silently modified by the sanitization process. A news administrator should be careful to use particularly sane addresses if they may be passed to innmail.
so the sanitization is lowkey aggressive and will change stuff silently. be careful, bestie. don't be passing weird addresses. π
π HISTORY π
innmail was written by James Brister <brister@vix.com> for InterNetNews. This manual page was originally written by Jeffrey M. Vinocur. so like, credit where credit is due, periodt. π
π SEE ALSO π
inn.conf(5), mail(1). check them out, iykyk. β¨
and that's the tea! this page is from INN 2.7.4, dated 2023-03-07, and it's INNMAIL(1). stay slay, bestie π β¨π
π¦ where this page comes from
- arch rolling: inn 2.7.4-4 Β· ISC
- epel 10: inn 2.7.4-5.el10_3 Β· ISC AND BSD-3-Clause AND BSD-4-Clause AND FSFAP AND (GPL-1.0-or-later OR Artistic-1.0-Perl) AND GPL-3.0-or-later WITH Bison-exception-2.2 AND LicenseRef-Fedora-Public-Domain AND MIT AND NTP
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms