summaryrefslogtreecommitdiffstats
path: root/roles/bacula-dir/templates/etc
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2016-12-10 17:40:49 +0100
committerGuilhem Moulin <guilhem@fripost.org>2016-12-10 17:40:49 +0100
commit1038fa3d50bda90377117559a9f685e2e7389d8f (patch)
tree251f096f33c61c5d2a241dbc0f36ab757c114d0c /roles/bacula-dir/templates/etc
parent7a66e096695a25427311204022bc521da08c48d9 (diff)
dovecot: use Single-Instance Storage for mail attachments.
Diffstat (limited to 'roles/bacula-dir/templates/etc')
-rw-r--r--roles/bacula-dir/templates/etc/bacula/bacula-dir.conf.j26
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/bacula-dir/templates/etc/bacula/bacula-dir.conf.j2 b/roles/bacula-dir/templates/etc/bacula/bacula-dir.conf.j2
index 046ba01..eb7566b 100644
--- a/roles/bacula-dir/templates/etc/bacula/bacula-dir.conf.j2
+++ b/roles/bacula-dir/templates/etc/bacula/bacula-dir.conf.j2
@@ -102,6 +102,7 @@ Job {
Name = {{ hostvars[h].inventory_hostname_short }}-mailboxes
Client = {{ hostvars[h].inventory_hostname_short }}-fd
JobDefs = DefaultJob
+ Accurate = no
FileSet = Mailboxes
Pool = mailboxes-inc
Full Backup Pool = mailboxes-full
@@ -353,10 +354,15 @@ FileSet {
Name = Mailboxes
Include {
Options {
+ WildDir = /home/mail/attachments/queue
+ Exclude = yes
+ }
+ Options {
signature = SHA1
verify = pins1
}
File = /home/mail/virtual
+ File = /home/mail/attachments
File = /home/mail/spamspool
}
}