Oefenweb / ansible-postfix

Ansible role to set up postfix in Debian-like systems
MIT License
173 stars 82 forks source link

Virtual aliases #36

Closed mugwhump closed 7 years ago

mugwhump commented 7 years ago

Adds option to use virtual aliases for non-local email forwarding. Added example to documentation.

I also added $mydomain to mydestination in the config file, since $mydomain is often different from $myhostname.

tersmitten commented 7 years ago

Thanks for your contribution, I would love to add this feature

tersmitten commented 7 years ago

I also added $mydomain to mydestination in the config file, since $mydomain is often different from $myhostname.

Is this needed for virtual_aliases to work. The added $mydomain causes problems in our setup :-(

tersmitten commented 7 years ago

@mugwhump Make sure to have a look at https://github.com/Oefenweb/ansible-postfix/releases/tag/v2.0.0, this might break your setup (but is easy to fix :-)).