回答編集履歴

1

追記: postfix ユーザーのサブグループに mailman グループを追加

2016/09/16 05:44

投稿

TaichiYanagiya
TaichiYanagiya

スコア12146

test CHANGED
@@ -3,3 +3,35 @@
3
3
  `check_perms` コマンドでパーミッションのチェックを行なうといいと思います(/usr/local/mailman/bin/check_perms にあると思います)。
4
4
 
5
5
  `check_perms -f` で強制的にパーミッションを変更することができます。
6
+
7
+
8
+
9
+ ###(2016/09/16 14:44) 追記
10
+
11
+ mailman-loop 宛のメールは postfix の local プログラムから直接 owner-bounces.mbox ファイルに書き込まれます。
12
+
13
+ また、おそらく、ロックファイルなども一時的に作成するので、ディレクトリも postfix で書き込める必要があります。
14
+
15
+ ディレクトリのオーナー、グループを変更すると check_perms でエラーとなるので、postfix ユーザーのサブグループに mailman グループを追加するといいと思います。
16
+
17
+
18
+
19
+ ```
20
+
21
+ (例)
22
+
23
+ # id postfix
24
+
25
+ uid=89(postfix) gid=89(postfix) groups=89(postfix),12(mail)
26
+
27
+
28
+
29
+ # usermod -G mail,mailman postfix
30
+
31
+ # id postfix
32
+
33
+ uid=89(postfix) gid=89(postfix) groups=89(postfix),12(mail),41(mailman)
34
+
35
+ ```
36
+
37
+