Solved

root forwarding not working, newaliases issue?

Posted on 2007-03-24
4
963 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:Redimido
Comment Utility
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
Comment Utility
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:
Redimido earned 500 total points
Comment Utility
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
Comment Utility
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

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

Suggested Solutions

Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
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.

772 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

14 Experts available now in Live!

Get 1:1 Help Now