In a CentOS 7 server with postfix and mailx, my ~/.mailrc
file contains:
set MAIL=/root/Maildir
set folder=mail
This enables mail from the root
user's Maildir
to be reviewed when the root
user types in mailx
at the terminal
. However, the above configuration does not allow any of the other users on the CentOS 7
machine to be able to see their Maildir
mail when they type mailx
in the terminal
when logged into their accounts.
How can I set global configuration of server to allow each of the other users to also see their Maildir
email when they log into their accounts in the terminal
and type mailx
? Do I create a separate .mailrc
for each user? If so, where do I put it? And what do I add to .mailrc
?
The seed for this came from masegaloeh.