NEWALIASES(8)

πŸ“¦
version 8.18.2 Β· 2 versions
, in ubuntu resolute, ubuntu stonking

πŸ’Œ NEWALIASES(8) β€” the girlies' guide to the system manager's manual πŸ’Œ

okay bestie, sit down, grab a strawberry πŸ“, because we're talking about newaliases from section 8 of the System Manager's Manual and honestly? it's giving tiny-but-mighty. no cap.


✨ NAME ✨

newaliases β€” rebuild the data base for the sendmail aliases file πŸ¦‹

like. that's the whole job. that's the assignment. and she ate.


✨ SYNOPSIS ✨

newaliases

no flags. no arguments. no drama. she walks in, she does the thing, she leaves. main character energy fr fr πŸ’…


✨ DESCRIPTION ✨

okay so here's the tea β˜• newaliases rebuilds the random access data base for the mail aliases file /etc/mail/aliases. that's the whole vibe.

and listen β€” you have to run it every single time that file changes or your edits just… don't take effect?? 😭 like you can type a whole beautiful aliases file and the system will simply not care. it's giving "i edited the doc but forgot to hit save." so run the command. every time. periodt.

newaliases is identical to sendmail -bi β€” same energy, different name, they're literally twins πŸ‘―β€β™€οΈ

the newaliases utility exits 0 on success, and >0 if an error occurs. so if you see a zero, we're slaying. if you see anything bigger than zero… bestie. something went wrong. πŸ™ˆ

⚠️ Notice: do not use makemap to create the aliases data base!! because newaliases puts a special token into the data base that is required by sendmail. so if you skip her and go build it yourself with makemap, the token isn't there, and sendmail is gonna be like "where is it πŸ’€". just use newaliases. trust. 🫢

✨ FILES ✨

  • /etc/mail/aliases β€” the mail aliases file 🌸

that's it. that's the file. she's the one. πŸ‘‘


✨ SEE ALSO ✨

go read those too, iykyk πŸ“šβœ¨


✨ HISTORY ✨

the newaliases command appeared in 4.0BSD. vintage. iconic. a true OG πŸ’œ


and that's the whole page, bestie!! this lil cutie is dated $Date: 2013-11-22 20:51:56 $, she lives in the System Manager's Manual, and she's been doing her one job since 4.0BSD. no notes. mwah πŸ’‹ πŸŽ€

πŸ“¦ where this page comes from