- create profiles::dovecot::backend class for IMAPS server configuration - add virtual mailbox support to profiles::postfix::gateway with enable_dovecot parameter - restructure common hieradata elements into mail.yaml - add virtual mailbox and alias map templates with ERB generation - add comprehensive type validation using Stdlib::Email, Stdlib::Fqdn, Stdlib::IP types - configure vmail user (UID/GID 5000) with shared storage on /shared/apps/maildata - update roles::infra::mail::backend to include both dovecot and postfix profiles
21 lines
469 B
YAML
21 lines
469 B
YAML
---
|
|
|
|
# Common mail server configuration
|
|
|
|
# base postfix configuration (passed to postfix class)
|
|
postfix::relayhost: 'direct'
|
|
postfix::myorigin: 'main.unkin.net'
|
|
postfix::manage_aliases: true
|
|
|
|
# Common postfix virtuals for all mail servers
|
|
postfix::virtuals:
|
|
'root':
|
|
ensure: present
|
|
destination: 'ben@main.unkin.net'
|
|
'postmaster':
|
|
ensure: present
|
|
destination: 'ben@main.unkin.net'
|
|
'abuse':
|
|
ensure: present
|
|
destination: 'ben@main.unkin.net'
|