ALI(1)
π okay bestie, this is the manual for ali, the little tool that lists your nmh mail aliases β¨
πΈ NAME πΈ
ali β list nmh mail aliases π
π SYNOPSIS π
ali [-help] [-version] [-alias aliasfile] [-list | -nolist] [-user |
-nouser] [aliases ...]
π DESCRIPTION π
ali digs through the mail alias files you point it to, looks up each alias you give it, builds a list of addresses for those aliases, and writes that list to standard output. No arguments? It serves up every alias entry π₯
By default, when an alias expands to multiple addresses, they get separated by commas and printed on as few lines as possible π§ But if you use -list, and an address expands to multiple addresses, each address gets its own line π¦
-user flips the whole vibe π Instead of listing the addresses each alias expands to, ali lists the aliases that expand to each address you gave it. Main character energy π
The files named by the profile entry βAliasfileβ get read, plus any extra alias files you add with -alias aliasfile π Every alias gets processed the way mh-alias(5) describes π§
-helpand-versionβ these two show up in the SYNOPSIS, but this page doesn't say anything more about them, so no tea spilled here π€·-alias aliasfileβ adds another alias file to read, on top of the one from your profile π-listβ puts each address that an address expands to on its own line π-nolistβ the default, so commas and as few lines as possible π-userβ lists the aliases that expand to each given address, instead of the addresses each alias expands to π-nouserβ the default, so you get the regular alias-to-addresses listing πaliases ...β the aliases you want looked up. Leave this out and you get all the entries β¨
π FILES π
Alias files get looked up in a few different places, so listen up π If the pathname is absolute, or starts with β.β or β..β, ali opens it directly π― Otherwise, tilde expansion happens on usernames, then it searches the user's Mail directory as set in their profile π¬ If it's not there either, it checks the directory β/etc/nmhβ π«Ά
$HOME/.mh_profileβ your profile, the main character file π§
π§ PROFILE COMPONENTS π§
Path:β figures out your nmh directory ποΈAliasfile:β sets a default alias file π
π SEE ALSO π
mh-alias(5)π¦
π DEFAULTS π
aliasfileβ/etc/nmh/MailAliasesπ·-nolistπ-nouserπΈ
π«Ά CONTEXT π«Ά
None. No context needed, periodt π
That's the whole tea, bestie π This was nmh-1.8, dated 2013-12-05, ALI(1) π¦β¨
π¦ where this page comes from
- alpine 3.24: nmh-doc 1.8-r3 Β· BSD-3-Clause
- epel 10: nmh 1.8-3.el10_1 Β· BSD
- epel 9: nmh 1.8-1.el9 Β· BSD
- fedora 43: nmh 1.8-9.fc43 Β· LicenseRef-Callaway-BSD
- fedora 44: nmh 1.8-10.fc44 Β· LicenseRef-Callaway-BSD
- π girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms