Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Email forwarding....

Posted on 2000-03-12
3
Medium Priority
?
187 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 20 total points
ID: 2610355
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
ID: 2611251
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
ID: 2612003
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
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
Course of the Month10 days, 17 hours left to enroll

886 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