• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 193
  • Last Modified:

Email forwarding....

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
djkdjk
Asked:
djkdjk
  • 2
1 Solution
 
jlevieCommented:
After editing the /etc/aliases file you need to run newalias to get the data installed into the alias database
0
 
djkdjkAuthor Commented:
This is the error that I receive:

Updating the system alias file...
Couldn't open /usr/lib/aliases.text for input!
0
 
jlevieCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now