summaryrefslogtreecommitdiffstats
path: root/debian/patches/default-mail_location.patch
blob: eb10c531f6442bf0951df55e61364d11f200d09f (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
From: "Jaldhar H. Vyas" <jaldhar@debian.org>
Date: Fri, 16 Sep 2011 00:55:02 +0200
Subject: default location for user mailboxes

Bug: #623440
Last-Update: 2017-09-20

Set a default for the case where a user has no mail so auto-
detection of mailboxes doesn't work.
---
 doc/example-config/conf.d/10-mail.conf | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/example-config/conf.d/10-mail.conf b/doc/example-config/conf.d/10-mail.conf
index 24daa04..a69224f 100644
--- a/doc/example-config/conf.d/10-mail.conf
+++ b/doc/example-config/conf.d/10-mail.conf
@@ -27,7 +27,7 @@
 #
 # <doc/wiki/MailLocation.txt>
 #
-#mail_location = 
+mail_location = mbox:~/mail:INBOX=/var/mail/%u
 
 # If you need to set multiple mailbox locations or want to change default
 # namespace settings, you can do it by defining namespace sections.
@@ -111,7 +111,7 @@ namespace inbox {
 # Group to enable temporarily for privileged operations. Currently this is
 # used only with INBOX when either its initial creation or dotlocking fails.
 # Typically this is set to "mail" to give access to /var/mail.
-#mail_privileged_group =
+mail_privileged_group = mail
 
 # Grant access to these supplementary groups for mail processes. Typically
 # these are used to set up access to shared mailboxes. Note that it may be