ALIASES(5) File Formats Manual ALIASES(5)NAME
aliases - aliases file for sendmail
This file describes user id aliases used by /usr/sbin/sendmail. It is formatted as a series of lines of the form
name: name_1, name2, name_3, . . .
The name is the name to alias, and the name_n are the aliases for that name. Lines beginning with white space are continuation lines.
Lines beginning with `#' are comments.
Aliasing occurs only on local names. Loops can not occur, since no message will be sent to any person more than once.
After aliasing has been done, local and valid recipients who have a ``.forward'' file in their home directory have messages forwarded to
the list of users defined in that file.
This is only the raw data file; the actual aliasing information is placed into a binary format in the files /etc/aliases.dir and
/etc/aliases.pag using the program newaliases(1). A newaliases command should be executed each time the aliases file is changed for the
change to take effect.
SEE ALSO newaliases(1), dbm(3X), sendmail(8)
SENDMAIL Installation and Operation Guide.
SENDMAIL An Internetwork Mail Router.
Because of restrictions in dbm(3X) a single alias cannot contain more than about 1000 bytes of information. You can get longer aliases by
``chaining''; that is, make the last name in the alias be a dummy name which is a continuation alias.
4th Berkeley Distribution October 22, 1996 ALIASES(5)
Check Out this Related Man Page
aliases(5) File Formats Manual aliases(5)Name
aliases - aliases file for sendmail
The aliases file is an ASCII file that describes user ID aliases that are used in It is formatted as a series of lines in the following
name: name_1, name2, name_3, . . .
The name is the name to alias, and the name_n are the aliases for that name. Each is separated from the next by a new line.
Continuation lines begin with white space. Comment lines begin with a number sign (#).
You can only assign aliases to local names. Loops are not allowed because a message should be sent to a person only once.
After an alias has been applied, local and valid recipients who have a file in their home directory can have messages forwarded to the list
of users defined in that file.
This is only the raw data file; the actual information pertaining to aliases is placed into binary format in the files and using the pro-
gram The command should be executed each time the aliases file changes. This command allows the new changes to take effect.
Because of restrictions in a single alias cannot contain more than approximately 1000 bytes of information. You can specify longer aliases
by chaining; that is, use a dummy name for the last name in the alias, which creates a continuation alias.
The database may be distributed in a network by a naming service, such as Yellow Pages or BIND/Hesiod. See the Guide to Yellow Pages or
the chapter on Hesiod in the Guide to BIND for setup information.
FilesSee Alsonewaliases(1), dbm(3x), sendmail(8)
"SENDMAIL Installation and Operation Guide", ULTRIX Supplementary Documents, Vol. III: System Manager
Guide to the BIND/Hesiod Service
Guide to the Yellow Pages Service
What is the difference betweeen MAILX and SENDMAIL. I have SENDMAIL configured in my system, how is it different then MAILX, espicially in the syntax of sending mail from the command line.
Thanks in advance (3 Replies)
Running sendmail Version 8.12.10+Sun on Solaris 9.
I need to send mail from this server (serverA) to the mail server (Mserver), which will relay the message to the correct user. If I specify the user specifically, as in:
mailx -s"test" John.Doe@company.com
It works perfectly and... (13 Replies)
i created some IP aliases, but the only way i can c the aliases is using ifconfgi.. is there any other system command i can use to access the aliased ip list? i tried gng to /proc/net/aliases.. but i don`t have aliases in /proc/net .
Also.. is there ayway i can retireve it using... (2 Replies)
Migrating from sendmail on SUN Solaris to POSTFIX on Linux.
I have been asked to migrate our sendmail to postfix on Linux and would appreciate and information. Hints and tips on the process involved.
Perhaps any links to useful site or documentation that you may know about.
Many Thanks (2 Replies)
HI CAN ANYBODY HELP ME? I HAVE COME ACROSS A PROBLEM. I AM USING SENDMAIL IN HP-UX IN THE FOLLOWING MANNER
/usr/sbin/sendmail -t firstname.lastname@example.org < /path/to/file.log
BUT THE RECEIPIENT DOESNOT GET THE ADDRESS IN THE TO: SECTION OF THE MAIL. ALSO I HAVE NOT FOUND ANY OPTION TO PUT A... (6 Replies)
I am quite new to Linux... I need to set some aliases and I can't get it to work. Can somebody tell me what's wrong?
I modified the .bashrc file in my home directory. I added:
alias pmv= '/home/vera/MGLTools-1.4.5/share/bin/pmv'
saved it and ran source .bashrc
The shell... (3 Replies)
I have a file that is full of aliases, this is on a server with apache. I'm changing the location of the logs and want to change all of our aliases easily and quickly. I came up with this:
sed -i "s:/opt/log_dir/(*)/logs:/opt/log_dir/(*)/logs:g" aliases
that is not working, I'm kind of... (7 Replies)
We are having a problem with names being dropped from the /etc/mail/aliases file. There's no pattern to the names being dropped. It is very random.
We are running sendmail 8.14.3 on a Solaris 10 server. There are about 9000 lines in the /etc/mail/aliases file.
Is there a limitation on... (8 Replies)
I have created aliases file for postfix, but when run 'newaliases' to create new aliases.db file it doesn't show any output and aliases.db does not create.
I should mention that there is no initial aliases.db file. (2 Replies)
i am new to unix
i know that aliases are to make a user own name for a particular command
but my problem is when we close the terminal the aliases wont work in the newely opened terminal
what should i do to make them default (2 Replies)
I've recently migrated a Solaris 10 server, to Redhat. I've migrated all my crons & scripts and now I'm attempting to set all the aliases, to send to the appropriate accounts. I have a particular user defined in /etc/aliases, however, when a particular script is ran in cron, I do not receive any... (2 Replies)
hi all,I have doubt in my unix. Whenever i send any emails from unix machine. The receipent is recieving with the name pepsi retail do you have idea where i the email aliases name is hardcoded in the unix settings.
From: Pepsi Retail c6306393
Sent: Friday, July... (8 Replies)
I'm on Solaris 5.11 running sendmail. Local usernames are of the form <letters><numbers> (e.g. hn06511). In the past we used aliases to make point to <username>@olddomain.com.
Now there's a new email address scheme and a new domain. Now email... (8 Replies)
I have a coworker that has set up some funky aliases in /etc/bash.alias, and he insists on leaving them that way. For example he aliased "ll" to "ls -lahtr", which really bugs me.
Anyway, I was wondering if there were a way for me to sudo to root without reading /etc/bash.alias, or maybe have... (6 Replies)