FILL BLANK -
Which file is processed by newaliases? (Specify the full name of the file, including path.)
FILL BLANK -
Which file is processed by newaliases? (Specify the full name of the file, including path.)
The file processed by the 'newaliases' command is /etc/mail/aliases. When you run the 'newaliases' command, it updates the database used by your Mail Transfer Agent (MTA) to reference the entries in the /etc/mail/aliases file. It is important to note that while /etc/aliases might be used to edit alias configurations, the 'newaliases' command specifically processes the /etc/mail/aliases file to update the necessary database.
The correct answer is "/etc/aliases"
/etc/aliases is a symbolic link to /etc/mail/aliases
on my disto it isn't (kubuntu)
Yeah it's /etc/aliases on my ubuntu too. Not a symbolic link.
You didn't understand the question, they ask "Which file is processed by newaliases?" Not which alias file you can edit.
In man pages; IF using database files, newaliases is equivalent to running makemap -t aliases /etc/mail/aliases
I agree looks like /etc/aliases is the correct answer
according my studyguide LPIC-1, Breshnahan/Blum, page 381: "The /etc/aliases.db is a binary file. Thus you want to edit the text-based /etc/aliases file with your new aliases and run the newaliases command to update the binary file.
but, according the man-page it should be /etc/mail/aliases
As per LPIC-2 page 357 By default, the email accounts on a Linux system are associated with the standard system accounts. For example, If user Carol has the login name carol on the host lab2.campus then her email address will be <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="5d3e3c2f32311d313c3f6f733e3c302d282e">[email protected]</a>. This one-to-one association between system accounts and mailboxes can be extended by standard methods provided by most Linux distributions, in particular the email routing mechanism provided by the /etc/aliases file. so answer would be /etc/aliases
I think this varies depending on your distribution. /etc/mail/aliases or /etc/aliases.
I agree with you. But the official guide says /etc/aliases . "After modifying the /etc/aliases file, the command newaliases should be executed to update the MTA’s aliases database and make the changes effective." https://learning.lpi.org/en/learning-materials/102-500/108/108.3/108.3_01/#:~:text=After%20modifying%20the%20/etc/aliases%20file%2C%20the%20command%20newaliases%20should%20be%20executed%20to%20update%20the%20MTA%E2%80%99s%20aliases%20database%20and%20make%20the%20changes%20effective.
According to the study guide, the /etc/aliases is the correct answer.
I think it's /etc/mail/aliases as described in the man page: "The newaliases utility makes changes to the mail aliases file visible to smtpd(8). It should be run every time the aliases(5) file is changed. The location of the alias file is defined in smtpd.conf(5), and defaults to /etc/mail/aliases." https://man7.org/linux/man-pages/man8/newaliases.8.html
They ask "Which file is processed by newaliases?", the correct answer is /etc/mail/aliases. You can edit the text-based /etc/aliases file with your new aliases , but only when you invoke the newaliases command it will update the binary file (newaliases update the /etc/mail/aliases db file). DESCRIPTION. newaliases rebuilds the random access data base for the mail aliases file /etc/mail/aliases. It is run automatically by sendmail(1M) (in the default configuration) whenever /etc/mail/aliases is newer than /etc/mail/aliases.
The correct answer is "/etc/aliases". First you edit /etc/aliases, the run the newaliases command, which will update the aliases database called /etc/aliases.db! The aliases.db is a binary file so it is recommended to update the /etc/aliases file. Example: # grep ^hostmaster /etc/aliases hostmaster: root # # nano /etc/aliases # # grep ^hostmaster /etc/aliases hostmaster: christine,rich # # newaliases #
the correct answer is. /etc/aliases
/etc/aliases
Throughout my studies i never come across /etc/mail/aliases it's always been /etc/aliases Therefore i would naturally choose /etc/aliases believing 100% that it is the correct answer