Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

praliases(1) [osf1 man page]

praliases(1)						      General Commands Manual						      praliases(1)

NAME
praliases - display system mail aliases SYNOPSIS
praliases [-f filename] [--] [alias_name...] OPTIONS
Displays the aliases using the specified dbm file instead of the system aliases file. OPERANDS
The alias name to find. If no aliases are given, then the entire contents of the dbm file are displayed. DESCRIPTION
The praliases command displays system aliases used by the sendmail(8) program. If no arguments are given, the praliases command displays all of the system aliases contained in the file /var/adm/sendmail/aliases. An alternative file can be specified using the -f option. Specific aliases can be displayed by specifying one or more alias names. [Tru64 UNIX] Aliases can be created either with or without the terminating null character ('') considered to be part of the name. Under Tru64 UNIX, an attempt is made to find either version; other vendor's implementations may check only for the key with an embedded NULL. [Tru64 UNIX] The system aliases file under Tru64 UNIX is stored under the /var/adm/sendmail directory. Other vendor's implementations may expect the file to exist under the /etc directory. EXIT STATUS
The following exit values are returned as defined in /usr/include/sysexits.h: No errors occurred. An invalid argument was specified. The specified dbm file does not exists. EXAMPLES
To display all of the system aliases, enter: praliases To display a mailing list called foo, enter: praliases foo To display the contents of a dbm file my_list, enter: praliases -f my_list SEE ALSO
Commands: makemap(8) Files: aliases(4) praliases(1)

Check Out this Related Man Page

aliases(5)							File Formats Manual							aliases(5)

Name
       aliases - aliases file for sendmail

Description
       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
       form:
       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.

Restrictions
       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.

Files
See Also
       newaliases(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

																	aliases(5)
Man Page

14 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Editors for UNIX

Where can i find editors for UNIX? thanks (5 Replies)
Discussion started by: Inbal
5 Replies

2. News, Links, Events and Announcements

UNIX for Dummies Test

A goofy UNIX test: http://www.majon.com/cgi-bin/IQ?Q=unix WARNING: ANSWERS ARE BELOW!!!! IF YOU WANT TO DO THE TEST BEFORE SEEING THE ANSWERS, DON"T READ FURTHER ;) (13 Replies)
Discussion started by: Neo
13 Replies

3. UNIX for Dummies Questions & Answers

are Associative Arrays possible in UNIX?

Is it possible to say.. myArr=34 myArr=15 ? (11 Replies)
Discussion started by: yongho
11 Replies

4. HP-UX

Help on increasing fs size

Hi Experts, I am not sure whether my question should be in this thread or some other one. I am using HP Tru64 system. Currently one of my filesystem /others is almost full. I need to know the exact commands to increase this filesystem. Please show me how to check for free partitions and add... (5 Replies)
Discussion started by: kingsto88
5 Replies

5. UNIX for Dummies Questions & Answers

monitoring a specific file on Tru64

Hello everybody: I have a critical file on my Tru64 system, I want to monitor which users are accessing this file, can I do it with some option for "audit", or I have to use some tool?? Thanks a lot. (5 Replies)
Discussion started by: aladdin
5 Replies

6. UNIX for Dummies Questions & Answers

How to enter month name and display no.

SPls help me. Need a simple shell script. To enter month name and display its no. eg: If i enter january. Then answer should be 1. (7 Replies)
Discussion started by: siddhesh2515
7 Replies

7. Solaris

Names dropping out of /etc/aliases

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)
Discussion started by: TFord
8 Replies

8. UNIX for Dummies Questions & Answers

Aliases wont work after set command

Hi, I have setup my .profile with some helpful aliases and some set commands in it. I have it as: alias gr='autorep -G' alias c='clear' alias x='exit' alias wcl='wc -l' alias l1='ls -1 "$@"' alias ll='ls -l "$@"' alias la='ls -altr "$@"' alias l='ls -ltr "$@"' alias ml='m_ls -ltr... (5 Replies)
Discussion started by: grep_me
5 Replies

9. UNIX for Dummies Questions & Answers

TRU64 Filesystem Issue

Hi Guys i cant find any anwers everywhere hope you can help me, we have an issue with our Tru64 V5.1 2650 alpha server, its saying that a FS is full but its not, free space is very low but if you check its fs and its usage, free fs should be high: $ df -i Filesystem 512-blocks ... (12 Replies)
Discussion started by: batas
12 Replies

10. HP-UX

How to find a file created in UNIX every monday.???

Hi All Any one please suggest me... I have one directory every monday one file will be created in that directory. so if the file is created on monday or not i need check first. How can write a script??? if the file is not created i want to quit from script. Thanks K.Srinivas (5 Replies)
Discussion started by: k_s_rao7
5 Replies

11. Shell Programming and Scripting

Question on email aliases

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. -----Original Message----- From: Pepsi Retail c6306393 Sent: Friday, July... (8 Replies)
Discussion started by: arun888
8 Replies

12. UNIX for Dummies Questions & Answers

Auto ENTER key on TERM

I'm working in a UNIX box that's owned by a vendor. They have it set up by State, meaning when I need to program script related to certain States, I type in, for example, "CA", it goes to a whole other terminal: ddqsw:pts/2:login miller CA TERM = ( vt100 ) When I do this I have to hit... (7 Replies)
Discussion started by: shorty
7 Replies

13. UNIX for Dummies Questions & Answers

UNIX command to display Owner,Group,Root and Subdirectories list

(6 Replies)
Discussion started by: vasuvv
6 Replies

14. UNIX for Beginners Questions & Answers

Sudo to root, but keep my own aliases?

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)
Discussion started by: paqman
6 Replies