|
Hopefully, this page is exactly what you are looking for, but if not, you can always find further assistance on Unix/Linux Forum!
System Administration Commands newaliases(1M)
NAME
newaliases - rebuild the data base for the mail aliases file
SYNOPSIS
newaliases
DESCRIPTION
newaliases rebuilds the random access data base for the mail
aliases file /etc/mail/aliases.
newaliases accepts all the flags that sendmail(1M) accepts.
However, most of these flags have no effect, except for the
-C option and three of the Processing Options that can be
set from a configuration file with the -o option:
-C /path/to/alt/config/file Use alternate configuration
file.
-oAfile Specify possible alias
files.
-oLn Set the default log level to
n. Defaults to 9.
-on Validate the RHS of aliases
when rebuilding the
aliases(4) database.
newaliases runs in verbose mode (-v option) automatically.
EXAMPLES
Example 1: Running the newaliases Command
The following command runs newaliases on an alias file dif-
ferent from the /etc/mail/aliases default in sendmail(1M):
example% newaliases -oA/path/to/alternate/alias/file
EXIT STATUS
newaliases returns an exit status describing what it did.
The codes are defined in /usr/include/sysexits.h.
EX_OK Successful completion on all
addresses.
SunOS 5.10 Last change: 14 Sep 2001 1
System Administration Commands newaliases(1M)
EX_NOUSER User name not recognized.
EX_UNAVAILABLE Catchall. Necessary resources were
not available.
EX_SYNTAX Syntax error in address.
EX_SOFTWARE Internal software error, including
bad arguments.
EX_OSERR Temporary operating system error,
such as "cannot fork".
EX_NOHOST Host name not recognized.
EX_TEMPFAIL Message could not be sent immedi-
ately, but was queued.
FILES
/etc/aliases Symbolic link to
/etc/mail/aliases
/etc/mail/aliases.pag
/etc/mail/aliases.dir ndbm files maintained by
newaliases
/etc/mail/aliases.db Berkeley DataBase file main-
tained by newaliases
SunOS 5.10 Last change: 14 Sep 2001 2
System Administration Commands newaliases(1M)
ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Availability | SUNWsndmu |
|_____________________________|_____________________________|
SEE ALSO
sendmail(1M), aliases(4), attributes(5)
SunOS 5.10 Last change: 14 Sep 2001 3
Man(1) output converted with
man2html and wrapped by fishsponge
This page was generated on Wed Sep 12 11:26:19 GMT 2007
|
Your favourite pages:
No pages logged yet. Trying to save cookie... Top 10 most popular pages:
sqlite3 man page (5334 hits) (openSUSE 10.2)
svn man page (5209 hits) (FreeBSD 6.2)
adv_cap_autoneg man page (4870 hits) (Solaris 10 11_06)
CPAN man page (4607 hits) (Suse Linux 10.1)
ssh man page (4342 hits) (Suse Linux 10.1)
ssh-socks5-proxy-connect man page (2885 hits) (Solaris 10 11_06)
netcat man page (2717 hits) (Suse Linux 10.1)
pprosetup man page (2492 hits) (Solaris 10 11_06)
startproc man page (2471 hits) (Suse Linux 10.1)
signal man page (2408 hits) (Suse Linux 10.1)
|