2009-08-28 11:15:35 +02:00
|
|
|
= Postfix Puppet module
|
2008-12-03 17:53:28 +01:00
|
|
|
|
2009-08-28 11:15:35 +02:00
|
|
|
This module will help install and configure postfix.
|
|
|
|
|
|
|
|
A couple of classes will preconfigure postfix for common needs.
|
|
|
|
|
2009-12-17 16:37:53 +01:00
|
|
|
Config
|
|
|
|
------
|
2010-11-10 19:25:58 +01:00
|
|
|
- set $postfix_use_amavisd="yes" to include postfix::amavis
|
2011-03-05 04:55:18 +01:00
|
|
|
- set $postfix_anon_sasl="yes" to hide the originating IP in email
|
|
|
|
relayed for an authenticated SASL client; this needs Postfix
|
|
|
|
2.3 or later to work; beware! Postfix logs the header replacement
|
|
|
|
has been done, which means that you are storing this information,
|
|
|
|
unless you are anonymizing your logs.
|
2011-03-05 04:45:37 +01:00
|
|
|
- set $postfix_manage_header_checks="yes" to manage header checks (see
|
|
|
|
postfix::header_checks for details)
|
2010-11-10 21:17:00 +01:00
|
|
|
- set $postfix_manage_tls_policy="yes" to manage TLS policy (see
|
|
|
|
postfix::tlspolicy for details)
|
2011-09-13 07:18:56 +02:00
|
|
|
- by default, postfix will bind to all interfaces, but sometimes you don't want
|
|
|
|
that. To bind to specific interfaces, use the $postfix_inet_interfaces
|
|
|
|
variable and set it to exactly what would be in the main.cf file.
|
|
|
|
- some hosts have weird-looking host names (dedicated servers and VPSes). To
|
|
|
|
set the server's domain of origin, set the $postfix_myorigin value
|
2009-12-17 16:37:53 +01:00
|
|
|
|
2009-08-28 11:15:35 +02:00
|
|
|
== Example:
|
|
|
|
|
|
|
|
include postfix
|
|
|
|
|
|
|
|
postfix::config { "relay_domains": value => "localhost host.foo.com" }
|
2008-12-03 17:53:28 +01:00
|
|
|
|