The mail aliases file can be managed to contain definitions for specific email aliases:
username:
alias.present:
- target: user@example.com
Ensure that the named alias is absent
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.
Docs for previous releases are available on salt.rtfd.org.
Latest Salt release: 2014.7.2
22.27.129. salt.states.zk_concurrency
22.27.2. salt.states.alternatives
Upcoming SaltStack events, webinars and local meet ups and user groups.