Dockerized postfix
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

265 lines
10 KiB

  1. #
  2. # Sample aliases file. Install in the location as specified by the
  3. # output from the command "postconf alias_maps". Typical path names
  4. # are /etc/aliases or /etc/mail/aliases.
  5. #
  6. # >>>>>>>>>> The program "newaliases" must be run after
  7. # >> NOTE >> this file is updated for any changes to
  8. # >>>>>>>>>> show through to Postfix.
  9. #
  10. # Person who should get root's mail. Don't receive mail as root!
  11. #root: you
  12. # Basic system aliases -- these MUST be present
  13. MAILER-DAEMON: postmaster
  14. postmaster: root
  15. # General redirections for pseudo accounts
  16. bin: root
  17. daemon: root
  18. named: root
  19. nobody: root
  20. uucp: root
  21. www: root
  22. ftp-bugs: root
  23. postfix: root
  24. # Put your local aliases here.
  25. # Well-known aliases
  26. manager: root
  27. dumper: root
  28. operator: root
  29. abuse: postmaster
  30. # trap decode to catch security attacks
  31. decode: root
  32. # ALIASES(5) ALIASES(5)
  33. #
  34. # NAME
  35. # aliases - Postfix local alias database format
  36. #
  37. # SYNOPSIS
  38. # newaliases
  39. #
  40. # DESCRIPTION
  41. # The aliases(5) table provides a system-wide mechanism to
  42. # redirect mail for local recipients. The redirections are
  43. # processed by the Postfix local(8) delivery agent.
  44. #
  45. # Normally, the aliases(5) table is specified as a text file
  46. # that serves as input to the postalias(1) command. The
  47. # result, an indexed file in dbm or db format, is used for
  48. # fast lookup by the mail system. Execute the command
  49. # newaliases in order to rebuild the indexed file after
  50. # changing the Postfix alias database.
  51. #
  52. # When the table is provided via other means such as NIS,
  53. # LDAP or SQL, the same lookups are done as for ordinary
  54. # indexed files.
  55. #
  56. # Alternatively, the table can be provided as a regu-
  57. # lar-expression map where patterns are given as regular
  58. # expressions. In this case, the lookups are done in a
  59. # slightly different way as described below under "REGULAR
  60. # EXPRESSION TABLES".
  61. #
  62. # Users can control delivery of their own mail by setting up
  63. # .forward files in their home directory. Lines in per-user
  64. # .forward files have the same syntax as the right-hand side
  65. # of aliases(5) entries.
  66. #
  67. # The format of the alias database input file is as follows:
  68. #
  69. # o An alias definition has the form
  70. #
  71. # name: value1, value2, ...
  72. #
  73. # o Empty lines and whitespace-only lines are ignored,
  74. # as are lines whose first non-whitespace character
  75. # is a `#'.
  76. #
  77. # o A logical line starts with non-whitespace text. A
  78. # line that starts with whitespace continues a logi-
  79. # cal line.
  80. #
  81. # The name is a local address (no domain part). Use double
  82. # quotes when the name contains any special characters such
  83. # as whitespace, `#', `:', or `@'. The name is folded to
  84. # lowercase, in order to make database lookups case insensi-
  85. # tive.
  86. #
  87. # In addition, when an alias exists for owner-name, this
  88. # will override the envelope sender address, so that deliv-
  89. # ery diagnostics are directed to owner-name, instead of the
  90. # originator of the message (for details, see
  91. # owner_request_special, expand_owner_alias and
  92. # reset_owner_alias). This is typically used to direct
  93. # delivery errors to the maintainer of a mailing list, who
  94. # is in a better position to deal with mailing list delivery
  95. # problems than the originator of the undelivered mail.
  96. #
  97. # The value contains one or more of the following:
  98. #
  99. # address
  100. # Mail is forwarded to address, which is compatible
  101. # with the RFC 822 standard.
  102. #
  103. # /file/name
  104. # Mail is appended to /file/name. See local(8) for
  105. # details of delivery to file. Delivery is not lim-
  106. # ited to regular files. For example, to dispose of
  107. # unwanted mail, deflect it to /dev/null.
  108. #
  109. # |command
  110. # Mail is piped into command. Commands that contain
  111. # special characters, such as whitespace, should be
  112. # enclosed between double quotes. See local(8) for
  113. # details of delivery to command.
  114. #
  115. # When the command fails, a limited amount of command
  116. # output is mailed back to the sender. The file
  117. # /usr/include/sysexits.h defines the expected exit
  118. # status codes. For example, use "|exit 67" to simu-
  119. # late a "user unknown" error, and "|exit 0" to
  120. # implement an expensive black hole.
  121. #
  122. # :include:/file/name
  123. # Mail is sent to the destinations listed in the
  124. # named file. Lines in :include: files have the same
  125. # syntax as the right-hand side of alias entries.
  126. #
  127. # A destination can be any destination that is
  128. # described in this manual page. However, delivery to
  129. # "|command" and /file/name is disallowed by default.
  130. # To enable, edit the allow_mail_to_commands and
  131. # allow_mail_to_files configuration parameters.
  132. #
  133. # ADDRESS EXTENSION
  134. # When alias database search fails, and the recipient local-
  135. # part contains the optional recipient delimiter (e.g.,
  136. # user+foo), the search is repeated for the unextended
  137. # address (e.g., user).
  138. #
  139. # The propagate_unmatched_extensions parameter controls
  140. # whether an unmatched address extension (+foo) is propa-
  141. # gated to the result of table lookup.
  142. #
  143. # CASE FOLDING
  144. # The local(8) delivery agent always folds the search string
  145. # to lowercase before database lookup.
  146. #
  147. # REGULAR EXPRESSION TABLES
  148. # This section describes how the table lookups change when
  149. # the table is given in the form of regular expressions. For
  150. # a description of regular expression lookup table syntax,
  151. # see regexp_table(5) or pcre_table(5). NOTE: these formats
  152. # do not use ":" at the end of a pattern.
  153. #
  154. # Each regular expression is applied to the entire search
  155. # string. Thus, a search string user+foo is not broken up
  156. # into user and foo.
  157. #
  158. # Regular expressions are applied in the order as specified
  159. # in the table, until a regular expression is found that
  160. # matches the search string.
  161. #
  162. # Lookup results are the same as with indexed file lookups.
  163. # For security reasons there is no support for $1, $2 etc.
  164. # substring interpolation.
  165. #
  166. # SECURITY
  167. # The local(8) delivery agent disallows regular expression
  168. # substitution of $1 etc. in alias_maps, because that would
  169. # open a security hole.
  170. #
  171. # The local(8) delivery agent will silently ignore requests
  172. # to use the proxymap(8) server within alias_maps. Instead
  173. # it will open the table directly. Before Postfix version
  174. # 2.2, the local(8) delivery agent will terminate with a
  175. # fatal error.
  176. #
  177. # CONFIGURATION PARAMETERS
  178. # The following main.cf parameters are especially relevant.
  179. # The text below provides only a parameter summary. See
  180. # postconf(5) for more details including examples.
  181. #
  182. # alias_database (see 'postconf -d' output)
  183. # The alias databases for local(8) delivery that are
  184. # updated with "newaliases" or with "sendmail -bi".
  185. #
  186. # alias_maps (see 'postconf -d' output)
  187. # The alias databases that are used for local(8)
  188. # delivery.
  189. #
  190. # allow_mail_to_commands (alias, forward)
  191. # Restrict local(8) mail delivery to external com-
  192. # mands.
  193. #
  194. # allow_mail_to_files (alias, forward)
  195. # Restrict local(8) mail delivery to external files.
  196. #
  197. # expand_owner_alias (no)
  198. # When delivering to an alias "aliasname" that has an
  199. # "owner-aliasname" companion alias, set the envelope
  200. # sender address to the expansion of the
  201. # "owner-aliasname" alias.
  202. #
  203. # propagate_unmatched_extensions (canonical, virtual)
  204. # What address lookup tables copy an address exten-
  205. # sion from the lookup key to the lookup result.
  206. #
  207. # owner_request_special (yes)
  208. # Enable special treatment for owner-listname entries
  209. # in the aliases(5) file, and don't split owner-list-
  210. # name and listname-request address localparts when
  211. # the recipient_delimiter is set to "-".
  212. #
  213. # recipient_delimiter (empty)
  214. # The set of characters that can separate a user name
  215. # from its extension (example: user+foo), or a .for-
  216. # ward file name from its extension (example: .for-
  217. # ward+foo).
  218. #
  219. # Available in Postfix version 2.3 and later:
  220. #
  221. # frozen_delivered_to (yes)
  222. # Update the local(8) delivery agent's idea of the
  223. # Delivered-To: address (see prepend_deliv-
  224. # ered_header) only once, at the start of a delivery
  225. # attempt; do not update the Delivered-To: address
  226. # while expanding aliases or .forward files.
  227. #
  228. # STANDARDS
  229. # RFC 822 (ARPA Internet Text Messages)
  230. #
  231. # SEE ALSO
  232. # local(8), local delivery agent
  233. # newaliases(1), create/update alias database
  234. # postalias(1), create/update alias database
  235. # postconf(5), configuration parameters
  236. #
  237. # README FILES
  238. # Use "postconf readme_directory" or "postconf html_direc-
  239. # tory" to locate this information.
  240. # DATABASE_README, Postfix lookup table overview
  241. #
  242. # LICENSE
  243. # The Secure Mailer license must be distributed with this
  244. # software.
  245. #
  246. # AUTHOR(S)
  247. # Wietse Venema
  248. # IBM T.J. Watson Research
  249. # P.O. Box 704
  250. # Yorktown Heights, NY 10598, USA
  251. #
  252. # Wietse Venema
  253. # Google, Inc.
  254. # 111 8th Avenue
  255. # New York, NY 10011, USA
  256. #
  257. # ALIASES(5)