Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100755 55 lines (38 sloc) 1.026 kb
42447b6 adding rn1 systems files.
James Cox authored
1 #! /bin/sh
2
3 . common
4
5 qmail=qmail-1.03
6
7 wget http://cr.yp.to/software/$qmail.tar.gz
8 wget http://qmail.null.dk/big-todo.103.patch
9 wget http://www.qmail.org/big-concurrency.patch
10 wget http://www.ckdhr.com/ckd/qmail-103.patch
11
12 rm -rf $qmail
13 tar xfz $qmail.tar.gz
14 cd $qmail
15 patch -p1 < ../big-todo.103.patch
16 patch -p1 < ../big-concurrency.patch
17 patch -p1 < ../qmail-103.patch
18 echo "gcc $CFLAGS">conf-cc
19 echo 500 > conf-spawn
20 make
21 make setup
22
23 mkdir -p /var/log/qmail /var/log/qmail-smtpd
24
25 cd /etc
26 rm -rf qmail qmail-smtpd
27 mkdir -p /etc/qmail /etc/qmail-smtpd/log
28
29 cat >qmail/run<<X
30 #! /bin/sh
31
32 ulimit -n 16384
33
34 exec qmail-start ./Mailbox multilog t s1000000 n20 /var/log/qmail
35 X
36
37 cat >qmail-smtpd/run<<X
38 #! /bin/sh
39
40 exec tcpserver -vHR -u `id -u qmaild` -g `id -g qmaild` 0 25 \\
41 rblsmtpd -b -r relays.mail-abuse.org -r rbl.maps.vix.com \\
42 qmail-smtpd 2>&1
43 X
44
45 cat >qmail-smtpd/log/run<<X
46 #! /bin/sh
47
48 exec multilog t s1000000 n20 /var/log/qmail-smtpd
49 X
50
51 chmod +x qmail/run qmail-smtpd/run qmail-smtpd/log/run
52 chmod +t qmail-smtpd
53
54
Something went wrong with that request. Please try again.