salt.states.alias

### Navigation

- index
- modules |
- next |
- previous |
- « SaltStack.org |
- Documentation home
- Full list of builtin state modules »

# 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

`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

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

## Comments

comments powered by Disqus

### Navigation

- index
- modules |
- next |
- previous |
- « SaltStack.org |
- Documentation home
- Full list of builtin state modules »