2020-05-29 15:33:52 +00:00
|
|
|
cdist-type__mail_alias(7)
|
|
|
|
=========================
|
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
2020-05-30 15:24:26 +00:00
|
|
|
cdist-type__mail_alias - Manage mail aliases.
|
2020-05-29 15:33:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
2020-05-30 15:24:26 +00:00
|
|
|
This cdist type allows you to configure mail aliases (/etc/mail/aliases).
|
2020-05-29 15:33:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
REQUIRED PARAMETERS
|
|
|
|
-------------------
|
|
|
|
None.
|
|
|
|
|
|
|
|
|
|
|
|
OPTIONAL PARAMETERS
|
|
|
|
-------------------
|
2020-05-30 15:24:26 +00:00
|
|
|
state
|
|
|
|
'present' or 'absent', defaults to 'present'
|
|
|
|
alias
|
|
|
|
the aliases where mail for the given user should be redirected to.
|
|
|
|
This parameter can be specified multiple times to redirect to more than one
|
|
|
|
recipient.
|
|
|
|
See the `aliases(5)` man page for the different forms this parameter can
|
|
|
|
take..
|
2020-05-29 15:33:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
BOOLEAN PARAMETERS
|
|
|
|
------------------
|
|
|
|
None.
|
|
|
|
|
|
|
|
|
|
|
|
EXAMPLES
|
|
|
|
--------
|
|
|
|
|
|
|
|
.. code-block:: sh
|
|
|
|
|
2020-05-30 15:24:26 +00:00
|
|
|
# Redirect root mail to a "real" email address
|
|
|
|
__mail_alias root --alias admin@example.com
|
2020-05-29 15:33:52 +00:00
|
|
|
|
2020-05-30 15:24:26 +00:00
|
|
|
# Disable redirection of mail for joe
|
|
|
|
__mail_alias joe --state absent
|
2020-05-29 15:33:52 +00:00
|
|
|
|
2020-06-11 18:50:42 +00:00
|
|
|
|
|
|
|
BUGS
|
|
|
|
----
|
|
|
|
- Quoted strings are not parsed by this type. As a result, email addresses
|
|
|
|
containing ``,`` (commas) are treated incorrectly (they are treated as two
|
|
|
|
addresses/aliases.)
|
|
|
|
Make sure that email addresses do not contain commas.
|
|
|
|
|
|
|
|
|
2020-05-29 15:33:52 +00:00
|
|
|
SEE ALSO
|
|
|
|
--------
|
2020-05-30 15:24:26 +00:00
|
|
|
:strong:`aliases`\ (5)
|
2020-05-29 15:33:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
AUTHORS
|
|
|
|
-------
|
|
|
|
Dennis Camera <dennis.camera@ssrq-sds-fds.ch>
|
|
|
|
|
|
|
|
|
|
|
|
COPYING
|
|
|
|
-------
|
|
|
|
Copyright \(C) 2020 Dennis Camera. You can redistribute it
|
|
|
|
and/or modify it under the terms of the GNU General Public License as
|
|
|
|
published by the Free Software Foundation, either version 3 of the
|
|
|
|
License, or (at your option) any later version.
|