Setup a basic configuration for postfix and dovecot
parent
ee0d6391cd
commit
45e5f5f4d2
@ -1,11 +1,14 @@
|
|||||||
FROM debian:jessie
|
FROM debian:jessie
|
||||||
|
|
||||||
RUN apt-get update \
|
RUN export DEBIAN_FRONTEND=noninteractive \
|
||||||
|
&& apt-get update \
|
||||||
&& apt-get install -y --no-install-recommends \
|
&& apt-get install -y --no-install-recommends \
|
||||||
postfix dovecot-imapd dovecot-sqlite \ # basics
|
postfix dovecot-imapd dovecot-sqlite \
|
||||||
dovecot-sieve dovecot-managesieved \ # filters
|
dovecot-sieve dovecot-managesieved \
|
||||||
dovecot-antispam spamassassin clamav \ # additional utilities
|
dovecot-antispam spamassassin clamav \
|
||||||
supervisord \ # glue
|
supervisor \
|
||||||
&& apt-get clean
|
&& apt-get clean
|
||||||
|
|
||||||
ADD config /etc/
|
ADD config /etc/
|
||||||
|
|
||||||
|
CMD ["/usr/bin/supervisord"]
|
||||||
|
@ -0,0 +1,8 @@
|
|||||||
|
[supervisord]
|
||||||
|
nodaemon = true
|
||||||
|
|
||||||
|
[program:postfix]
|
||||||
|
command = /usr/lib/postfix/master -d
|
||||||
|
|
||||||
|
[program:dovecot]
|
||||||
|
command = /usr/sbin/dovecot -c /etc/dovecot/dovecot.conf -F
|
Loading…
Reference in New Issue