Solved

mail aliases

Posted on 2003-12-05
6
343 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
  • 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Best software for Unix commands in Windows cmd.exe? 18 102
Error while installing rpm 1 77
UNIX SCP 5 67
unix example issues 18 75
A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
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…
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.

920 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

15 Experts available now in Live!

Get 1:1 Help Now