Skip to content

Commit 01958d7

Browse files
committed
Made sourcefiles locally available, since qmail site disappeared..
Updated to ubuntu 18.04
1 parent 799ea76 commit 01958d7

10 files changed

+48
-32
lines changed

Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
FROM ubuntu:14.04
1+
FROM ubuntu:18.04
22

3-
ENV DEBIAN_FRONTEND noninteractive
3+
ENV DEBIAN_FRONTEND noninteractive
44

55
#Make sure ubuntu is up-to-date and install necessary packages
6-
RUN apt-get update && apt-get -y upgrade && apt-get -y install build-essential supervisor logrotate locales ucspi-tcp wget groff-base daemontools git-core libmysqlclient-dev nginx fcgiwrap libbg1-dev ssl-cert
6+
RUN sed -i "s/\# deb-src/deb-src/g" /etc/apt/sources.list && apt-get update && apt-get -y upgrade && apt-get -y install build-essential supervisor logrotate locales ucspi-tcp wget groff-base daemontools git-core libmysqlclient-dev nginx fcgiwrap libbg-dev ssl-cert automake
77

88
COPY assets/setup/ /app/setup/
99
COPY assets/config/ /app/setup/config/

README.md

+7-8
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ I recommend using postfix and redirect mails for qmail-based domains to this ser
2222
## Version
2323

2424
Current versions:
25-
- qmail: **1.0.6**
25+
- net qmail: **1.0.6** (originally for qmail.org)
2626
- vpopmail: **5.4.33**
27-
- ezmlm: github master version of https://github.com/bruceg/ezmlm-idx
28-
- autorespond: **2.0.5**
27+
- ezmlm: github 7.2.2 version of https://github.com/bruceg/ezmlm-idx
28+
- autorespond: **2.0.6**
2929
- qmailadmin: **1.2.16** using ubuntu nginx
30-
- dovecot: current ubuntu version custom rebuild: **2.2.9-1ubuntu2.1**
30+
- dovecot: current ubuntu version custom rebuild: **2.2.33.2-1ubuntu4.5**
3131

3232
# Installation
3333

@@ -105,8 +105,7 @@ sudo docker-enter qmail
105105
For more information refer https://github.com/jpetazzo/nsenter
106106

107107
# References
108-
109-
http://www.qmail.org/netqmail/
110-
http://www.lifewithqmail.org/
111-
http://www.inter7.com/software/
108+
* http://www.qmail.org/netqmail/
109+
* http://www.lifewithqmail.org/
110+
* http://www.inter7.com/software/
112111

assets/setup/autorespond-2.0.5.tar.gz

9.48 KB
Binary file not shown.

assets/setup/autorespond-2.0.6.tar.gz

10 KB
Binary file not shown.

assets/setup/ezmlm-idx-7.2.2.tar.gz

616 KB
Binary file not shown.

assets/setup/install.sh

+38-21
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,21 @@ QMAIL_HOME="/var/qmail"
66
QMAIL_LOG_DIR="/var/log/qmail"
77
VPOPMAIL_HOME="/home/vpopmail"
88

9-
QMAIL_DOWNLOAD="http://www.qmail.org/netqmail-1.06.tar.gz"
10-
VPOPMAIL_DOWNLOAD="http://downloads.sourceforge.net/project/vpopmail/vpopmail-stable/5.4.33/vpopmail-5.4.33.tar.gz"
11-
AUTORESPOND_DOWNLOAD="http://qmail.ixip.net/download/autorespond-2.0.5.tar.gz"
12-
QMAILADMIN_DOWNLOAD="http://downloads.sourceforge.net/project/qmailadmin/qmailadmin-devel/qmailadmin-1.2.16.tar.gz"
13-
MAILDROP_DOWNLOAD="http://downloads.sourceforge.net/project/courier/maildrop/2.8.1/maildrop-2.8.1.tar.bz2"
9+
#QMAIL_DOWNLOAD="http://www.qmail.org/netqmail-1.06.tar.gz"
10+
#VPOPMAIL_DOWNLOAD="http://downloads.sourceforge.net/project/vpopmail/vpopmail-stable/5.4.33/vpopmail-5.4.33.tar.gz"
11+
#EZMLM_DOWNLOAD="https://github.com/bruceg/ezmlm-idx/archive/7.2.2.tar.gz"
12+
#AUTORESPOND_DOWNLOAD="http://qmail.ixip.net/download/autorespond-2.0.5.tar.gz"
13+
#AUTORESPOND_DOWNLOAD="https://github.com/roffe/autorespond-2.0.6/archive/master.zip"
14+
#QMAILADMIN_DOWNLOAD="http://downloads.sourceforge.net/project/qmailadmin/qmailadmin-devel/qmailadmin-1.2.16.tar.gz"
15+
#MAILDROP_DOWNLOAD="http://downloads.sourceforge.net/project/courier/maildrop/2.8.1/maildrop-2.8.1.tar.bz2"
1416

1517
## QMAIL INSTALL BASED ON LWQ ##
1618
cd /usr/src
17-
wget $QMAIL_DOWNLOAD -O netqmail-1.06.tar.gz
19+
#wget $QMAIL_DOWNLOAD -O netqmail-1.06.tar.gz
20+
#tar -zxf netqmail-1.06.tar.gz
21+
echo "Installing QMAIL"
22+
tar -zxf /app/setup/netqmail-1.06.tar.gz
1823

19-
tar -zxf netqmail-1.06.tar.gz
2024
cd netqmail-1.06
2125

2226
groupadd -g 161 nofiles
@@ -112,8 +116,9 @@ mkdir ${QMAIL_LOG_DIR}
112116
## VPOPMAIL INSTALL ##
113117
cd /usr/src
114118

115-
wget $VPOPMAIL_DOWNLOAD -O vpopmail-5.4.33.tar.gz
116-
tar -zxf vpopmail-5.4.33.tar.gz
119+
#wget $VPOPMAIL_DOWNLOAD -O vpopmail-5.4.33.tar.gz
120+
#tar -zxf vpopmail-5.4.33.tar.gz
121+
tar -zxf /app/setup/vpopmail-5.4.33.tar.gz
117122
cd vpopmail-5.4.33
118123

119124
groupadd -g 89 vchkpw
@@ -128,32 +133,43 @@ ln -s /home/vpopmail /var/lib/vpopmail
128133

129134
## EZMLM
130135
cd /usr/src
131-
git clone https://github.com/bruceg/ezmlm-idx.git
132-
cd ezmlm-idx
133-
bash tools/makemake
136+
echo "installing ezmlm"
137+
#git clone https://github.com/bruceg/ezmlm-idx.git
138+
#wget ${EZMLM_DOWNLOAD} -O ezmlm-idx-7.2.2.tar.gz
139+
#tar -zxvf ezmlm-idx-7.2.2.tar.gz
140+
tar -zxvf /app/setup/ezmlm-idx-7.2.2.tar.gz
141+
#cd ezmlm-idx
142+
cd ezmlm-idx-7.2.2
143+
bash ./tools/makemake
134144
make clean
135-
make; make man
136-
make mysql
145+
make
146+
#make man
147+
#make mysql
137148
make install
138149

139150
## Autoresponder ##
140151
cd /usr/src
141-
wget ${AUTORESPOND_DOWNLOAD} -O autorespond-2.0.5.tar.gz
142-
tar -zxf autorespond-2.0.5.tar.gz
143-
cd autorespond-2.0.5
152+
echo "installing Autoresponder"
153+
#wget ${AUTORESPOND_DOWNLOAD} -O autorespond-2.0.6.tar.gz
154+
#tar -zxf autorespond-2.0.6.tar.gz
155+
tar -zvxf /app/setup/autorespond-2.0.6.tar.gz
156+
cd autorespond-2.0.6-master
144157
make && make install
145158

146159
## Qmailadmin ##
147160
cd /usr/src
148-
wget ${QMAILADMIN_DOWNLOAD} -O qmailadmin-1.2.16.tar.gz
149-
tar -zxf qmailadmin-1.2.16.tar.gz
161+
echo "installing QmailAdmin"
162+
#wget ${QMAILADMIN_DOWNLOAD} -O qmailadmin-1.2.16.tar.gz
163+
#tar -zxf qmailadmin-1.2.16.tar.gz
164+
tar -zxf /app/setup/qmailadmin-1.2.16.tar.gz
150165
cd qmailadmin-1.2.16
151166

152167
./configure --enable-htmldir=/usr/share/qmailadmin/html --enable-imagedir=/usr/share/qmailadmin/images --enable-cgibindir=/usr/lib/cgi-bin --enable-htmllibdir=/usr/share/qmailadmin --enable-imageurl=/images --enable-cgipath=/qmailadmin
153168
make
154169
make install-strip
170+
echo "Done installing QmailAdmin"
155171

156-
172+
echo "Setting supervisor configs"
157173
# make sure fcgi runs
158174
cat > /etc/supervisor/conf.d/fgci.conf <<EOF
159175
[program:fcgi]
@@ -179,13 +195,14 @@ autorestart=true
179195
stdout_logfile=/var/log/supervisor/%(program_name)s.log
180196
stderr_logfile=/var/log/supervisor/%(program_name)s.log
181197
EOF
182-
198+
echo "Setting nginx config"
183199
rm -f /etc/nginx/sites-enabled/default
184200
cp /app/setup/config/nginx-qmailadmin.conf /etc/nginx/sites-enabled/qmailadmin.conf
185201

186202

187203
## Dovecot
188204
cd /usr/src
205+
echo "Installing Dovecot"
189206
apt-get source dovecot
190207
apt-get -y build-dep dovecot
191208
cd dovecot-*

assets/setup/maildrop-2.8.1.tar.bz2

1.9 MB
Binary file not shown.

assets/setup/netqmail-1.06.tar.gz

255 KB
Binary file not shown.

assets/setup/qmailadmin-1.2.16.tar.gz

380 KB
Binary file not shown.

assets/setup/vpopmail-5.4.33.tar.gz

598 KB
Binary file not shown.

0 commit comments

Comments
 (0)