Solved

Email forwarding....

Posted on 2000-03-12
3
180 Views
Last Modified: 2013-12-15
I'm using redhat 6.0 and need to setup an email account so that it forwards the email to another email address when a mail it....

I've edited the alias file in /etc but that does not seem to work as there is another file alias.db which needs to be edited aswell(Right???)

any ideas
0
Comment
Question by:djkdjk
  • 2
3 Comments
 
LVL 40

Accepted Solution

by:
jlevie earned 5 total points
Comment Utility
After editing the /etc/aliases file you need to run newalias to get the data installed into the alias database
0
 

Author Comment

by:djkdjk
Comment Utility
This is the error that I receive:

Updating the system alias file...
Couldn't open /usr/lib/aliases.text for input!
0
 
LVL 40

Expert Comment

by:jlevie
Comment Utility
That's interesting, okay try "sendmail -bi".

On systems running sendmail, newaliases is typically either a symbolic link to the sendmail executable (which knows it's supposed to execute with the "-bi" args because it was invoked as "newaliases"), or in some cases a shell script that runs "sendmail -bi". What does "man newaliases" say that it operates on (it should tell you in the text or in the "FILES" section)?
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

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…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
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.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

728 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

11 Experts available now in Live!

Get 1:1 Help Now