Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Puppet Camptocamp Postfix
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Projets publics
Puppet Camptocamp Postfix
Commits
c00b3389
Commit
c00b3389
authored
Jun 19, 2015
by
Mickaël Canévet
Browse files
Options
Downloads
Patches
Plain Diff
Fix documentation
parent
70305ee0
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+21
-21
21 additions, 21 deletions
README.md
with
21 additions
and
21 deletions
README.md
+
21
−
21
View file @
c00b3389
...
...
@@ -9,7 +9,7 @@
This module requires Augeas.
## Simple usage
```
```
puppet
include
postfix
postfix::config
{
'relay_domains'
:
...
...
@@ -20,13 +20,13 @@ This module requires Augeas.
## Exec paths
In order to not have any path problem, you should add the following line in some globally included .pp file:
```
```
puppet
Exec
{
path
=>
'/some/relevant/path:/some/other:...'
,
}
```
For example:
```
```
puppet
Exec
{
path
=>
'/bin:/sbin:/usr/sbin:/usr/bin'
,
}
...
...
@@ -199,7 +199,7 @@ Example: 'btree:${data_directory}/smtp_tls_session_cache'.
#### Examples
##### Configure Postfix to use TLS as a client
```
```
puppet
postfix::config
{
'smtp_tls_mandatory_ciphers'
:
value
=>
'high'
;
'smtp_tls_security_level'
:
value
=>
'secure'
;
...
...
@@ -209,7 +209,7 @@ postfix::config {
```
##### Configure Postfix to disable the vrfy command
```
```
puppet
postfix::config
{
'disable_vrfy_command'
:
ensure
=>
present
,
value
=>
'yes'
,
...
...
@@ -238,14 +238,14 @@ Example: 'puppet:///modules/some/location/sasl_passwd'.
#### Examples
##### Create a sasl_passwd hash from a source file
```
```
puppet
postfix::hash
{
'/etc/postfix/sasl_passwd'
:
ensure
=>
'present'
,
source
=>
'puppet:///modules/profile/postfix/client/sasl_passwd'
,
}
```
##### Create a sasl_passwd hash with contents defined in the manifest
```
```
puppet
postfix::hash
{
'/etc/postfix/sasl_passwd'
:
ensure
=>
'present'
,
content
=>
'#Destination Credentials\nsmtp.example.com gssapi:nopassword'
,
...
...
@@ -260,7 +260,7 @@ Manages content of the /etc/postfix/transport map.
Augeas is, of course, required.
The following code is required to use transport maps.
```
```
puppet
include
postfix
postfix::hash
{
'/etc/postfix/transport'
:
...
...
@@ -299,7 +299,7 @@ Manages the contents of the virtual map.
Augeas is, of course, required.
The following code is necessary to make virtual maps work:
```
```
puppet
include
postfix
postfix::hash
{
'/etc/postfix/virtual'
:
...
...
@@ -330,7 +330,7 @@ Example: 'root'
#### Examples
##### Route mail bound for 'user@example.com' to root.
```
```
puppet
postfix
::
virtual
{
'user@example.com'
:
ensure
=>
present
,
destination
=>
'root'
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment