22.27.1. salt.states.alias

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
salt.states.alias.absent(name)

Ensure that the named alias is absent

name
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.

name
The local user/address to assign an alias to
target
The forwarding address

Docs for previous releases are available on readthedocs.org.

Latest Salt release: 2014.7.2

Previous topic

22.27.147. salt.states.zk_concurrency

Next topic

22.27.2. salt.states.alternatives