A free form string that can defin any ldap options to be passed through.
A free form string that can define any ldap options to be passed through (ldap_table(5)).
Default: Undefined.
Default: Undefined.
Example: 'start_tls = yes'.
Example: 'start_tls = yes'.
##### `mail_user`
##### `mail_user`
A string defining the mail user, and optionally group, to execute external commands as. This maps to the user parameter (pipe(8)).
A string defining the mail user, and optionally group, to execute external commands as. This parameter maps to the user parameter (pipe(8)).
Default: 'vmail'.
Default: 'vmail'.
Example: 'vmail:vmail'.
Example: 'vmail:vmail'.
##### `mailman`
##### `mailman`
A boolean defining whether to configure a basic smtp server that is able to work for the mailman mailing list manager.
A Boolean defining whether to configure a basic smtp server that is able to work for the mailman mailing list manager.
Default: false.
Default: false.
##### `maincf_source`
##### `maincf_source`
A string defining the location of a skeleton main.cf file to be used. The default file supplied is blank. However, if the main.cf file already exists on the system the contents will NOT be replaced by the contents from maincf_source.
A string defining the location of a skeleton main.cf file to be used. The default file supplied is blank. However, if the main.cf file already exists on the system the contents will **NOT** be replaced by the contents from maincf_source.
A string to define the myorigin parameter that holds the domain name that mail appears to come from (postconf(5)).
A string to define the myorigin parameter that holds the domain name that mail appears to come from (postconf(5)).
Default: The systems FQDN.
Default: The FQDN of the host.
Example: 'example.com'
Example: 'example.com'
##### `relayhost`
##### `relayhost`
...
@@ -153,35 +155,35 @@ Default: 'nobody'.
...
@@ -153,35 +155,35 @@ Default: 'nobody'.
Example: 'root_catch@example.com'.
Example: 'root_catch@example.com'.
##### `satellite`
##### `satellite`
A boolean to define whether to configure postfix as a sattellite relay host. This setting is mutually exclusive with the mta boolean.
A Boolean to define whether to configure postfix as a satellite relay host. This setting is mutually exclusive with the mta Boolean.
Default: False.
Default: False.
##### `smtp_listen`
##### `smtp_listen`
A string to define the IP on which to listen in the master.cf. This can also be set to 'all' to listen on all interfaces. If master_smtp is defined smtp_listen will not be used.
A string to define the IP on which to listen in master.cf. This can also be set to 'all' to listen on all interfaces. If master_smtp is defined smtp_listen will not be used.
Default: '127.0.0.1'.
Default: '127.0.0.1'.
Example: '::1'.
Example: '::1'.
##### `use_amavisd`
##### `use_amavisd`
A boolean to define whether to configure master.cf to allow the use of the amavisd scanner.
A Boolean to define whether to configure master.cf to allow the use of the amavisd scanner.
Default: False.
Default: False.
##### `use_dovecot_lda`
##### `use_dovecot_lda`
A boolean to define whether to configure master.cf to use dovecot as the local delivery agent.
A Boolean to define whether to configure master.cf to use dovecot as the local delivery agent.
Default: False.
Default: False.
##### `use_schleuder`
##### `use_schleuder`
A boolean to define whether to configure master.cf to use the Schleuder gpg-enabled mailinglist.
A Boolean to define whether to configure master.cf to use the Schleuder GPG-enabled mailinglist.
Default: False.
Default: False.
##### `use_sympa`
##### `use_sympa`
A boolean to define whether to configure master.cf to use the Sympa mailing list management software.
A Boolean to define whether to configure master.cf to use the Sympa mailing list management software.
Default: False.
Default: False.
#### Examples
#### Examples
### postfix::config
### postfix::config
Add/alter/remove options in Postfix main configuration file (main.cf). This uses augeas to do the editing of the confiugration file, as such any configuration value can be used.
Add/alter/remove options in Postfix main configuration file (main.cf). This uses Augeas to do the editing of the configuration file, as such any configuration value can be used.
#### Parameters
#### Parameters
...
@@ -225,7 +227,7 @@ Default: present.
...
@@ -225,7 +227,7 @@ Default: present.
Example: absent.
Example: absent.
##### `content`
##### `content`
A free form string that defines the contents of the file. This parameter is mutually exclusive to the source parameter.
A free form string that defines the contents of the file. This parameter is mutually exclusive with the source parameter.