NEWALIASES(8)
π 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 usemakemapto create the aliases data base!! becausenewaliasesputs a special token into the data base that is required bysendmail. so if you skip her and go build it yourself withmakemap, the token isn't there, and sendmail is gonna be like "where is it π". just usenewaliases. 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
- ubuntu resolute: sendmail-bin 8.18.2-1 Β· other-Sendmail
- ubuntu stonking: sendmail-bin 8.18.2-2build1 Β· other-Sendmail
- Copyright (c) 1998-2001 Proofpoint, Inc. and its suppliers
- Copyright (c) 1983, 1997 Eric P. Allman. All rights reserved
- Copyright (c) 1985, 1990, 1993 The Regents of the University of California. All rights reserved
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms