# Postfix Config
postfix::myorigin: 'pixelpark.com'
-infra::profile::postfix::hashes:
- '/etc/postfix/virtual':
- ensure: present
- '/etc/postfix/generic':
- ensure: present
- content: |
- root root+%{hostname}
-infra::profile::postfix::configs:
- virtual_alias_maps:
- value: 'pcre:/etc/postfix/virtual_pcre hash:/etc/postfix/virtual'
- smtp_generic_maps:
- value: 'hash:/etc/postfix/generic'
- recipient_delimiter:
- value: '+'
- relayhost:
- value: 'mx.pixelpark.net'
-infra::profile::postfix::virtuals:
- 'root':
- destination: 8x5@pixelpark.com
- 'httpd':
- destination: root
-infra::profile::postfix::files:
- /etc/postfix/virtual_pcre:
- owner: root
- group: root
- mode: '0644'
- content: |
+infra::profile::postfix::virtual_regex: |
/\w+\@(?!pixelpark.com|publicispixelpark.de|berlin-airport.de)/ andre.staats@publicispixelpark.de
\ No newline at end of file