blob: 25a335fa31f163a9eefc749d1df5cd303661ddaf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
# Reference
<!-- DO NOT EDIT: This document was generated by Puppet Strings -->
## Table of Contents
### Resource types
* [`mailalias`](#mailalias): Creates an email alias in the local alias database.
## Resource types
### <a name="mailalias"></a>`mailalias`
Creates an email alias in the local alias database.
#### Examples
##### using mailalias to redirect mail for the ftp account to root's mailbox
```puppet
mailalias { 'ftp':
ensure => present,
recipient => 'root',
}
```
#### Properties
The following properties are available in the `mailalias` type.
##### `ensure`
Valid values: `present`, `absent`
The basic property that the resource should be in.
Default value: `present`
##### `file`
A file containing the alias's contents. The file and the
recipient entries are mutually exclusive.
##### `recipient`
Where email should be sent. Multiple values
should be specified as an array. The file and the
recipient entries are mutually exclusive.
##### `target`
The file in which to store the aliases. Only used by
those providers that write to disk.
#### Parameters
The following parameters are available in the `mailalias` type.
* [`name`](#name)
* [`provider`](#provider)
##### <a name="name"></a>`name`
namevar
The alias name.
##### <a name="provider"></a>`provider`
The specific backend to use for this `mailalias` resource. You will seldom need to specify this --- Puppet will usually
discover the appropriate provider for your platform.
|