Solved

mail aliases

Posted on 2003-12-05
6
349 Views
Last Modified: 2013-12-27
when I create a new email account I use the admintool to create the use, and then pico /etc/aliases to enter in the user info. then I type newaliases.

This is the issue, sometimes this works for me and sometimes the new accounts do not.  That has me stumped.  Also, I noticed that there are three different aliases under /etc          1) aliases   2) aliases.save   3) aliasese
now..after looking at the different files I notice that there are differences between them.

This is my question?? I use Solaris 9 to manage POP3 accounts. Is this proceedure correct, if yes why does it work sometimes, if not what is the correct method of entering a new or changed account? As far as the aliases go, why three? I was under the impression that running "newalises" would update the database therefore allowing new/changed account to work properly.
0
Comment
Question by:dtooth71
[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
  • 4
  • 2
6 Comments
 
LVL 38

Expert Comment

by:yuzh
ID: 9882599
It depands on how you install sendmail, is your sendmail.cf in /etc/mail or /etc

an mail aliase can point to a local user account or an external email address.

In normal case, all you need to do is to edit the /etc/aliases  (or /etc/mail/aliases file)
then run:
newaliases

But if your are using NIS+/NIS, and you have the same aliase defined in NIS+/NIS,
the NIS+/NIS aliase might overwritten the /etc/aliases. just make sure you only define one aliase in on place, eg if you put it in /etc/aliases, you don't need to put it
in NIS+/NIS

0
 
LVL 38

Accepted Solution

by:
yuzh earned 500 total points
ID: 9882620
0
 

Author Comment

by:dtooth71
ID: 9882657
sendamail is located in /etc and is the only place that I have been entering the info. then I would run newaliases
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 38

Expert Comment

by:yuzh
ID: 9882790
vi /etc/aliases

edit the aliases then

newaliases

should do the job for you.

In what case, the aliase doesn't work?

If the externel email aliases doesn't work, check you DNS settings.


0
 

Author Comment

by:dtooth71
ID: 9883397
is vi /etc/aliases the same as using pico /etc/aliase?
0
 
LVL 38

Expert Comment

by:yuzh
ID: 9892046
I know pico is a text editor (vi is another popular text editor), I never use pico
myself, it should do the job for you.

the file you should edit is /etc/aliases  NOT /etc/aliase ! (missing a "s")
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded‚Ķ
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.:
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

688 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