Missing map file etc mail aliases db
Already a Member? Join your peers on the Internet's largest technical computer professional community. It's easy to join and it's free. Register now while it's still free! Already a member? Close this window and log in. Join Us Close. Join Tek-Tips Forums! Join Us! By joining you are opting in to receive e-mail. Promoting, selling, recruiting, coursework and thesis posting is forbidden.
Students Click Here. Do not change these defaults, as they are required by the system. After the mv command is executed, the second -bv command again shows the error message because we have not yet built the aliases database from the aliases text file. However, this time the -bv command shows that mail addressed to ftp will be delivered to the root user account via the local mailer.
Clearly something has happened , and that something is aliasing. Finally, newaliases is executed to build the database, and the last -bv test is run. This time there is no error, and we are again told the mail will be delivered to root via the local mailer. The output of the newaliases command says that newaliases processed 40 aliases. The three sendmail -bv tests show exactly how sendmail handles the aliases files. If sendmail can find the aliases database, it uses it.
If no aliases database is found, sendmail displays an error and checks for the aliases text file. If it finds the text file, sendmail uses it. If neither the database nor the text file can be found, sendmail turns off aliasing. Lines that begin with a hash mark are comments and can be ignored. The active entries begin with an alias and a colon that is followed by the recipient address.
Notice that the recipient can be another alias. For example, mailer-daemon points to postmaster , which is really an alias for root. A -bv test shows the effect of this double alias:. Most of the entries in the sample Red Hat aliases file route mail addressed to non-login system accounts to the root user. No one actually logs in as root , yet all of the mail addressed to system accounts is routed to the root account. Notice the last comment in the sample aliases file is a commented-out alias for root.
Remove the hash mark from the beginning of this line and change the recipient field to the user ID of the administrator's login account to route mail addressed to root to someplace where it will be read. Here is an example:. In this example, the administrator logs in to the logan account to read root 's mail.
A sendmail -bv command shows the effect of this alias:. It then looks up root and finds that it points to logan. In this case, the aliases were nested two levels deep. Log In. New Discussion. Tags: sendmail. All forum topics Previous Topic Next Topic. Since then, I have tried the recommendations by Ramesh and James with no more success. Occasional Advisor. Honored Contributor. At least I know I don't know - Socrates.
How about renaming aliases. Read permissions for others is sufficnet for aliases file. OK, so this is what I get for being assigned a dying system.
0コメント