1
0

aliasmail 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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 the
  13. upas rewrite file,
  14. .IR rewrite (6).
  15. .PP
  16. If a line of an alias file begins with
  17. .BR #include ,
  18. the line is replaced by the contents of the file whose name follows.
  19. Other lines, beginning with
  20. .B #
  21. are ignored as comment.
  22. .PP
  23. Otherwise, lines begin with a name.
  24. The rest of a name line gives the expansion.
  25. The expansion may contain multiple addresses and may be continued
  26. to another line by appending a backslash.
  27. Items are separated by white space.
  28. .PP
  29. The alias files are searched in the order they are
  30. listed, one per line, in
  31. .BR /mail/lib/namefiles .
  32. If the name is not found, the expansion is taken to be
  33. .BI local! name\f1.
  34. Under the
  35. .B -f
  36. option,
  37. alias files listed in
  38. .B /mail/lib/fromfiles
  39. are consulted instead,
  40. and the domain part only of the expansion is printed.
  41. .SH FILES
  42. .TF /mail/lib/namefiles
  43. .TP
  44. .B /mail/lib/namefiles
  45. names of system alias files
  46. .SH SOURCE
  47. .TP
  48. .B /sys/src/cmd/upas/alias
  49. .SH "SEE ALSO"
  50. .IR faces (1),
  51. .IR filter (1),
  52. .IR mail (1),
  53. .IR marshal (1),
  54. .IR mlmgr (1),
  55. .IR nedmail (1),
  56. .IR qer (8),
  57. .IR rewrite (6),
  58. .IR send (8),
  59. .IR smtp (8),
  60. .IR upasfs (4)