Problem
Running the /usr/bin/newaliases command fails with the following error:
# /usr/bin/newaliases
/usr/lib/mail/aliases: line 14: MAILER-DAEMON... cannot
alias non-local names
/usr/lib/mail/aliases: line 15: Postmaster... cannot alias
non-local names
/usr/lib/mail/aliases: 0 aliases, longest 0 bytes, 0 bytes
total Cause
One possible cause for this problem, is that the
/usr/lib/sendmail.cf file is set to use Version 6 or
higher. This must be set to Version 5. Solution
Edit the /usr/lib/sendmail.cf file and search for this section:
##########################################################
############
##########################################################
############
#####
##### SENDMAIL CONFIGURATION FILE
#####
##########################################################
############
##########################################################
############# level 5 config file format
V6##################
# local info #
##################In the above example, the /usr/lib/sendmail.cf file is set to use Version 6.
Change this to use level 5 config file format:
##########################################################
############
##########################################################
############
#####
##### SENDMAIL CONFIGURATION FILE
#####
##########################################################
############
##########################################################
############# level 5 config file format
V5##################
# local info #
##################The /usr/bin/newaliases command should now work.