From: Frank Brehm Date: Wed, 26 Apr 2017 15:04:32 +0000 (+0200) Subject: Adding postfix configuration to customer/pixelpark/racktables.pixelpark.com.yaml X-Git-Tag: v0.1.0~3102^2~4 X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=935c27bc7cc966ba7db742b3458003dcf2628fb0;p=pixelpark%2Fhiera.git Adding postfix configuration to customer/pixelpark/racktables.pixelpark.com.yaml --- diff --git a/customer/pixelpark/racktables.pixelpark.com.yaml b/customer/pixelpark/racktables.pixelpark.com.yaml index 3b0442d3..966e644f 100644 --- a/customer/pixelpark/racktables.pixelpark.com.yaml +++ b/customer/pixelpark/racktables.pixelpark.com.yaml @@ -1,2 +1,78 @@ --- infra::role: base + + +##################################################### +# Postfix configuration: + +# Global configurations +postfix::alias_maps: "" +postfix::inet_interfaces: 'all' +postfix::manage_mailx: false +postfix::mastercf_source: 'puppet:///postfix_dir/master-nullclient.cf' +postfix::myorigin: "%{::fqdn}" + +# Main.cf config entries +infra::profile::postfix::configs: + address_verify_map: + ensure: 'absent' + alias_database: + ensure: 'blank' + append_dot_mydomain: + value: 'no' + biff: + value: 'no' + command_directory: + ensure: 'absent' + daemon_directory: + ensure: 'absent' + data_directory: + ensure: 'absent' + debug_peer_level: + ensure: 'absent' + debugger_command: + ensure: 'absent' + default_database_type: + value: 'hash' + html_directory: + ensure: 'absent' + inet_protocols: + value: 'all' + local_recipient_maps: + ensure: 'blank' + local_transport: + value: 'error:5.1.1 Mailbox unavailable' + mail_owner: + ensure: 'absent' + mailbox_size_limit: + value: '0' + manpage_directory: + ensure: 'absent' + master_service_disable: + value: 'inet' + mydestination: + ensure: 'blank' + mydomain: + value: 'pixelpark.com' + myhostname: + value: "%{::fqdn}" + mynetworks: + value: "127.0.0.0/8" + relayhost: + value: '[mx.pixelpark.net]' + smtp_generic_maps: + value: '${default_database_type}:${config_directory}/generic' + smtp_tls_session_cache_database: + value: 'btree:${data_directory}/smtp_scache' + virtual_alias_maps: + value: '${default_database_type}:${config_directory}/virtual' + +# All postfix hash databases +infra::profile::postfix::hashes: + '/etc/postfix/generic': + ensure: 'present' + content: "root root+%{::fqdn}\n" + '/etc/postfix/virtual': + ensure: 'present' + source: 'puppet:///postfix_dir/maps/virtual-nullclient' +