Solved

root forwarding not working, newaliases issue?

Posted on 2007-03-24
4
970 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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Guacamole cut and paste issue 3 42
Anti-virus for Linux Server 15 121
Xymon customize http timeout 2 62
What language/protocol is the Angular Chat? 2 53
How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

932 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now