summaryrefslogtreecommitdiffstats
path: root/examples/chroot-setup/IRIX6
blob: a8e3a4088758cd0d4469dd6d5e435be005c0fa2d (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
From owner-postfix-testers@porcupine.org Wed Oct  7 17:19:31 1998
Delivered-To: wietse@porcupine.org
Delivered-To: postfix-testers@porcupine.org
Received: from star.win.or.jp (star.win.or.jp [202.26.20.3])
	by spike.porcupine.org (Postfix) with ESMTP
	id 3123445D04; Wed,  7 Oct 1998 17:19:24 -0400 (EDT)
Received: (from ayamura@localhost)
	by star.win.or.jp (8.9.1+CL.3.10/8.9.1) id GAA26589;
	Thu, 8 Oct 1998 06:19:23 +0900 (JST)
	(envelope-from ayamura)
From: Ayamura Kikuchi <ayamura@ayamura.org>
To: postfix-testers@porcupine.org
Subject: chroot-setup on IRIX
X-PGP-Fingerprint: 9F 4F FD B6 47 0D 87 65  7B 67 7C A9 70 F3 8C 52
MIME-Version: 1.0 (generated by SEMI 1.9.0 - "Isurugi")
Content-Type: text/plain; charset=US-ASCII
Date: 08 Oct 1998 06:19:22 +0900
Message-ID: <86u31g3w9x.fsf@star.ayamura.org>
Lines: 14
User-Agent: Semi-gnus/6.8.19 SEMI/1.9.0 (Isurugi) FLIM/1.10.1 (Miyamaki) Emacs/20.3.90 (mips-sgi-irix6.2) MULE/4.0 (HANANOEN)
Sender: owner-postfix-testers@porcupine.org
Status: RO

# Setup chroot jail for IRIX-5.x or 6.x -- Ayamura Kikuchi <ayamura@ayamura.org>

set -e
umask 022

#Default POSTFIX_DIR = /var/postfix
#Else set POSTFIX_DIR in environment
POSTFIX_DIR=${POSTFIX_DIR-/var/postfix}

/bin/mkdir -p ${POSTFIX_DIR}/etc
/bin/chmod 755 ${POSTFIX_DIR}
/bin/cp /etc/services /etc/resolv.conf ${POSTFIX_DIR}/etc

-- Ayamura Kikuchi