Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

root forwarding not working, newaliases issue?

Posted on 2007-03-24
4
Medium Priority
?
1,004 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 1500 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

Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

Question has a verified solution.

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

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.
Suggested Courses

705 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