| CHECKALIASES(1) | | CHECKALIASES(1)
|
Index
NAME
checkaliases - a program to validate sendmail alias files
SYNOPSIS
checkaliases
checkaliases
-f
-a alias-file
-m mail-address
DESCRIPTION
Checkaliases
reads a sendmail alias file, then fully expands all files, included
files, program calls, etc., and validates that they are all
deliverable addresses.
Among the various situations that are checked for are:
- o
-
Addresses it cannot understand (an example of this was
found on the very first run; we had an entry in the alias file
of the form ``alias::address'' rather than ``alias:address''),
- o
-
Included files that don't exist
any more (an example was seen as
another obsolete alias, where the entry remained in the aliases
file, but the actual included file had long since been deleted),
- o
-
Included files that aren't currently
readable by the program,
- o
-
Included files that have non-address
entries in them,
- o
-
Files destined as archives that either
don't exist, or are in a mode
that prohibits sendmail from successfully saving the
message (this is
probably one of the biggest hassles of the entire system),
- o
-
Pipes to non-existent programs, or
programs that aren't listed as
being executable (this is more of a warning then an actual environment
error as sendmail seems blissfully unaware of any potential problems),
- o
-
Bad individual addresses (typographical
errors, accounts deleted, etc.),
- o
-
Users' mailboxes with wrong ownership
or wrong permissions,
- o
-
Aliases that occur more than once in the alias file,
- o
-
If the ``-f'' option is given,
addresses in a user's ``.forward'' file that
cannot be locally delivered,
- o
-
If the ``-f'' option is given, specific ``.forward'' files that aren't owned
by the right user, have the
wrong permissions, empty ``.forward'' files, or
those with inappropriate entries.
To report its findings, the program defaults to simply listing errors to
standard output, but usage of the ``-m mail-address'' option will result
in electronic mail being sent to the specified address.
FILES
- /etc/aliases
-
Default sendmail alias file
- /var/mail
-
Delivered mail spooled for users
- ~user/.forward
-
Optional forwarding aliases for users
AUTHORS
David Taylor, Intuitive Systems
Glenn Adams, MIT AI Laboratory
David MacKenzie, UUNET
SEE ALSO
sendmail(8)
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- FILES
-
- AUTHORS
-
- SEE ALSO
-
This document was created by man2html
using the manual pages.
Time: 17:24:15 GMT, May 05, 2000