Configuration of email aliases
The mail aliases file can be managed to contain definitions for specific email aliases:
username:
alias.present:
- target: user@example.com
thomas:
alias.present:
- target: thomas@example.com
The default alias file is set to /etc/aliases
, as defined in Salt's
config execution module
. To change the alias
file from the default location, set the following in your minion config:
aliases.file: /my/alias/file
salt.states.alias.
absent
(name)¶Ensure that the named alias is absent
The alias to remove
salt.states.alias.
present
(name, target)¶Ensures that the named alias is present with the given target or list of targets. If the alias exists but the target differs from the previous entry, the target(s) will be overwritten. If the alias does not exist, the alias will be created.
The local user/address to assign an alias to
The forwarding address
Generated on June 18, 2020 at 04:09:58 UTC.
You are viewing docs for the latest stable release, 3001. Switch to docs for the previous stable release, 3000.3, or to a recent doc build from the master branch.
© 2020 SaltStack. All Rights Reserved, SaltStack Inc. | Privacy Policy