|
|
1.1 ! root 1: '\"macro stdmacro ! 2: .if n .pH g1.mailalias %W% of %G% ! 3: .nr X ! 4: .if \nX=0 .ds x} mailalias 1 "" "\&" ! 5: .if \nX=1 .ds x} mailalias 1 "" ! 6: .if \nX=2 .ds x} mailalias 1 "" "\&" ! 7: .if \nX=3 .ds x} mailalias "" "" "\&" ! 8: .TH \*(x} ! 9: .SH NAME ! 10: \f4mailalias\f1 \- translate mail alias names ! 11: .SH SYNOPSIS ! 12: \f4mailalias\f1 [ \f4\-s\f1 ] [ \f4\-v\f1 ] ! 13: .I name ! 14: \&... ! 15: .SH DESCRIPTION ! 16: \f4mailalias\fP ! 17: is called by ! 18: \f4mail\fP. ! 19: It places on the standard output a list of mail addresses corresponding to ! 20: .IR name . ! 21: The mail addresses are found by performing the following steps: ! 22: .TP 4 ! 23: 1. ! 24: Look for the file \f4/var/mail/\f2name\f1. ! 25: If found, print ! 26: .I name ! 27: and exit. ! 28: .TP 4 ! 29: 2. ! 30: Look for a match in the user's local alias file ! 31: \f4$HOME/lib/names\f1. ! 32: If a line is found beginning with the word ! 33: .IR name , ! 34: print the rest of the line on standard output and exit. ! 35: .TP 4 ! 36: 3. ! 37: Look for a match in the system-wide alias files, ! 38: which are listed in the master path file ! 39: \f4/etc/mail/namefiles\f1. ! 40: If a line is found beginning with the word ! 41: .IR name , ! 42: print the rest of the line on standard output and exit. ! 43: .P ! 44: If an alias file is a directory name \f2dir\fP, then search the file ! 45: \f2dir\fP/\f2name\fP. ! 46: By default, the file \f4/etc/mail/namefiles\fP lists ! 47: the directory \f4/etc/mail/lists\fP ! 48: and ! 49: the file \f4/etc/mail/names\f1. ! 50: .TP 4 ! 51: 4. ! 52: Otherwise print ! 53: .I name ! 54: and exit. ! 55: .PP ! 56: The alias files may contain comments (lines beginning with ! 57: \f4#\f1) ! 58: and information lines of the form: ! 59: .IP ! 60: .I "name\0list-of-addresses" ! 61: .PP ! 62: Tokens on these lines are separated by white-space. ! 63: Lines may be continued by placing a backslash (\e) at the end of the line. ! 64: .PP ! 65: If the ! 66: \f4-s\f1 ! 67: option is not specified and more than one name is being translated, each line ! 68: of output will be prefixed with the name being translated. ! 69: .PP ! 70: The ! 71: \f4-v\f1 ! 72: option causes debugging information to be written to standard output. ! 73: .SH FILES ! 74: .PD 0 ! 75: .TP 30n ! 76: \f4$HOME/lib/names\f1 ! 77: private aliases ! 78: .TP ! 79: \f4/etc/mail/namefiles\f1 ! 80: list of files to search ! 81: .TP ! 82: \f4/etc/mail/names\f1 ! 83: standard file to search ! 84: .PD ! 85: .SH "SEE ALSO" ! 86: \f4uucp\fP(1), ! 87: \f4mail\fP(1). ! 88: .br ! 89: \f4smtp\fP(1M), ! 90: \f4smtpd\fP(1M), ! 91: \f4smtpqer\fP(1M), ! 92: \f4smtpsched\fP(1M), ! 93: \f4tosmtp\fP(1M) in the \f2System Administrator's Reference Manual\f1.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.