aliasmail 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. .TH ALIASMAIL 8
  2. .SH NAME
  3. aliasmail \- expand system wide mail aliases
  4. .SH SYNOPSIS
  5. .B upas/aliasmail
  6. .I arg ...
  7. .SH DESCRIPTION
  8. .PP
  9. .I Aliasmail
  10. expands mail aliases, its arguments, according to alias files.
  11. .I Aliasmail
  12. is normally invoked by a rule in in the
  13. upas rewrite file,
  14. .IR rewrite (6).
  15. .PP
  16. Each line of an alias file begins with
  17. .B #
  18. (comment) or with a name.
  19. The rest of a name line gives the expansion.
  20. The expansion may contain multiple addresses and may be continued
  21. to another line by appending a backslash.
  22. Items are separated by white space.
  23. .PP
  24. The alias files are searched in the order they are
  25. listed, one per line, in
  26. .BR /mail/lib/namefiles .
  27. If the name is not found, the expansion is taken to be
  28. .BI local! name\f1.
  29. Under the
  30. .B -f
  31. option,
  32. alias files listed in
  33. .B /mail/lib/fromfiles
  34. are consulted instead,
  35. and the domain part only of the expansion is printed.
  36. .SH FILES
  37. .TF /mail/lib/namefiles
  38. .TP
  39. .B /mail/lib/namefiles
  40. names of system alias files
  41. .SH SOURCE
  42. .TP
  43. .B /sys/src/cmd/upas/alias
  44. .SH "SEE ALSO"
  45. .IR faces (1),
  46. .IR filter (1),
  47. .IR mail (1),
  48. .IR marshal (1),
  49. .IR mlmgr (1),
  50. .IR nedmail (1),
  51. .IR qer (8),
  52. .IR rewrite (6),
  53. .IR send (8),
  54. .IR smtp (8),
  55. .IR upasfs (4)