aboutsummaryrefslogtreecommitdiff
path: root/cluster/prod/app/email/build/dovecot/README.md
blob: 8c9f372c8f16744cfc4d1ebebb291306ebae8f09 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
```
sudo docker build -t superboum/amd64_dovecot:v2 .
```


```
sudo docker run -t -i \
  -e TLSINFO="/C=FR/ST=Bretagne/L=Rennes/O=Deuxfleurs/CN=www.deuxfleurs.fr" \
  -p 993:993 \
  -p 143:143 \
  -p 24:24 \
  -p 1337:1337 \
  -v /mnt/glusterfs/email/ssl:/etc/ssl/ \
  -v /mnt/glusterfs/email/mail:/var/mail \
  -v `pwd`/dovecot-ldap.conf:/etc/dovecot/dovecot-ldap.conf \
  superboum/amd64_dovecot:v1 \
  dovecot -F
```