Solved

Email forwarding....

Posted on 2000-03-12
3
182 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
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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Configuring Apache Camel to send and recieive from QPID Broker 2 28
wifi not working on Raspberry Pi 3? 2 108
CENTOS DHCP Server / PXE/TFTP 14 203
Internal CA server 6 90
Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
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…
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.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

735 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