pigeonhole plugin with ldap support
This commit is contained in:
parent
c982b90c7b
commit
ea17d13960
4 changed files with 25 additions and 2 deletions
10
Dockerfile
10
Dockerfile
|
@ -1,6 +1,14 @@
|
|||
FROM thallian/confd-env:latest
|
||||
|
||||
RUN apk add --no-cache dovecot dovecot-ldap dovecot-pigeonhole-plugin ssmtp
|
||||
RUN apk add --no-cache dovecot dovecot-ldap ssmtp g++ openldap-dev dovecot-dev make
|
||||
|
||||
RUN mkdir /tmp/pigeonhole
|
||||
RUN wget -qO- http://pigeonhole.dovecot.org/releases/2.2/dovecot-2.2-pigeonhole-0.4.15.tar.gz | tar -xz -C /tmp/pigeonhole --strip 1
|
||||
WORKDIR /tmp/pigeonhole
|
||||
RUN ./configure --with-ldap=yes --with-dovecot=/usr/lib/dovecot
|
||||
RUN make && make install
|
||||
|
||||
RUN apk del g++ openldap-dev dovecot-dev make
|
||||
|
||||
RUN addgroup -g 1111 vmail
|
||||
RUN adduser -u 1111 -h /var/lib/vmail -D -G vmail vmail
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue