Solved

root forwarding not working, newaliases issue?

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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

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" …
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
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.:
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.

734 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