Solved

root forwarding not working, newaliases issue?

Posted on 2007-03-24
4
976 Views
Last Modified: 2013-12-15
I am nailing down security on my newly installed dedicated hosting unix server.

All looks great but I noticed a slight warning when installing the csf firewall which is that apparently there is no forwarding in place for the root account. Exact message below:

Check root forwarder
The root account should have a forwarder set so that you receive essential email from your server.

I went into /etc/aliases and edited the relevant line so it now appears as:

root:               webmaster@domain.com

From what I have read I now need to run 'newaliases' to have this change take effect. Here is where I run into a problem. I don't have a newaliases file? I did a 'locate newaliases' and found the only similar file as listed below:

/usr/share/man/ja/man1/newaliases.1.gz

Any ideas what I do from here to get the root forwarding to 'take'  ??

Thanks,



0
Comment
Question by:pcoghlan
  • 2
  • 2
4 Comments
 
LVL 19

Expert Comment

by:Gabriel Orozco
ID: 18786197
you need to install your full email program. or check in which package newaliases is provided.

in debian, you can do
apt-get update
apt-cache search newaliases

on redhat I'm not sure, so why not go to rpmfind and look for newaliases? http://rpmfind.net/
0
 

Author Comment

by:pcoghlan
ID: 18786350
The server came with cPanel and Exim installed. Exim seems to be working fin but there is no newaliases file. Are you saying I need to re-install exim?

I couldn't find anything on newaliases at the URL you attached.

Thanks,
0
 
LVL 19

Accepted Solution

by:
Gabriel Orozco earned 500 total points
ID: 18786612
exim installs a link called /usr/bin/newaliases pointing to the exim binary.

look for the file and if it is not there you could create it yourself using
ln -s /usr/bin/exim newaliases

this info taken from : http://cygwin.com/packages/exim/exim-4.63-1
0
 

Author Comment

by:pcoghlan
ID: 18788011
Thanks, I will check this today. I seem to have found informationthat indicates that Exim doesnt use the newaliases command and that as long as the forward is in the aliases file it will (should) work. This tells me the way I put the forward in the file is the issue as opposed to the lack of a newaliases file.

Paul
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question