[root@linux ~]# groupadd mailman ← mailmanグループ追加
[root@linux ~]# useradd -c "GNU Mailman" -s /sbin/nologin -M -g mailman mailman ← mailmanユーザ追加
[root@linux ~]# mkdir /usr/local/mailman ← mailmanインストールディレクトリ作成
[root@linux ~]# chown mailman. /usr/local/mailman ← mailmanインストールディレクトリ所有者変更
[root@linux ~]# chmod a+rx,g+ws /usr/local/mailman ← mailmanインストールディレクトリパーミッション変更
[root@linux ~]# cd /tmp/ ← /tmpディレクトリへ移動
[root@linux tmp]# wget http://mm.tkikuchi.net/mailman.tar.gz ← mailmanダウンロード
--18:13:02-- http://mm.tkikuchi.net/mailman.tar.gz
=> `mailman.tar.gz'
mm.tkikuchi.net をDNSに問いあわせています... 133.97.166.52
mm.tkikuchi.net[133.97.166.52]:80 に接続しています... 接続しました。
HTTP による接続要求を送信しました、応答を待っています... 200 OK
長さ: 6,482,726 [application/x-tar]
100%[=================================================>] 6,482,726 599.94K/s ETA 00:00
18:13:13 (591.55 KB/s) - `mailman.tar.gz' saved [6,482,726/6,482,726]
[root@linux tmp]# tar zxvf mailman.tar.gz ← mailman展開
[root@linux ~]# cd mailman-* ← mailman展開ディレクトリへ移動
[root@linux mailman-2.1.6]# su mailman -s "/bin/bash" -c "./configure --with-cgi-gid=apache" ← configure
[root@linux mailman-2.1.6]# su mailman -s "/bin/bash" -c "make" && make install ← インストール
[root@linux mailman-2.1.6]# cd /usr/local/mailman/ ← mailmanインストールディレクトリへ移動
※システムの文字コードがUTF-8の場合、Poderosaのエンコーディングをeuc-jpにする
[root@linux mailman]# ./bin/check_perms -f ← パーミッション補正スクリプト実行
・
・
・
/usr/local/mailman/messages/zh_TW: ディレクトリのパーミッションは 02775 でなければいけません (修正中)
Warning: Private archive directory is other-executable (o+x).
This could allow other users on your system to read private archives.
If you're on a shared multiuser system, you should consult the
installation manual on how to fix this.
問題があります: 59
修正するには -f オプションをつけて mailman か root の権限で実行してください
[root@linux mailman]# ./bin/check_perms ← パーミッションの補正確認
Warning: Private archive directory is other-executable (o+x).
This could allow other users on your system to read private archives.
If you're on a shared multiuser system, you should consult the
installation manual on how to fix this.
問題ありません ← 「問題ありません」を確認
※システムの文字コードがUTF-8の場合、PoderosaのエンコーディングをUTF-8に戻す
[root@linux mailman]# cd ← ホームディレクトリへ移動
[root@linux ~]# rm -rf /tmp/mailman-*/ ← mailman展開ディレクトリ削除
[root@linux ~]# rm -f /tmp/mailman.tar.gz ← ダウンロードした展開前mailman削除
|
|