https://github.com/fphammerle/docker-dovecot
Dovecot: IMAP, POP3 & SASL Auth Server (Alpine Linux) ✉️ 🐳 🐙
https://github.com/fphammerle/docker-dovecot
authentication dovecot imap imap-server lmtp pigeonhole pop3-server postfix sasl sieve
Last synced: 4 months ago
JSON representation
Dovecot: IMAP, POP3 & SASL Auth Server (Alpine Linux) ✉️ 🐳 🐙
- Host: GitHub
- URL: https://github.com/fphammerle/docker-dovecot
- Owner: fphammerle
- Created: 2019-08-19T20:00:57.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2025-02-28T07:26:06.000Z (4 months ago)
- Last Synced: 2025-02-28T14:27:35.073Z (4 months ago)
- Topics: authentication, dovecot, imap, imap-server, lmtp, pigeonhole, pop3-server, postfix, sasl, sieve
- Language: Makefile
- Homepage: https://hub.docker.com/r/fphammerle/dovecot/tags
- Size: 163 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# dovecot ✉️ 🐳
Dovecot:
[IMAP](https://doc.dovecot.org/configuration_manual/protocols/imap_server/),
[POP3](https://doc.dovecot.org/configuration_manual/protocols/pop3_server/),
[LMTP](https://doc.dovecot.org/configuration_manual/protocols/lmtp_server/),
[SASL Auth](https://wiki.dovecot.org/HowTo/PostfixAndDovecotSASL) &
[ManageSieve](https://doc.dovecot.org/admin_manual/pigeonhole_managesieve_server/)
Serverhttps://www.dovecot.org/
## Usage
```sh
docker run --name dovecot \
-p ... \
-v $PWD/dovecot.conf:/etc/dovecot/dovecot.conf:ro \
fphammerle/dovecot
```## Postfix SASL Auth Setup
http://www.postfix.org/SASL_README.html#server_sasl_enable
```
# dovecot.confauth_mechanisms = plain login
passdb {
# https://wiki.dovecot.org/AuthDatabase/PasswdFile
# doveadm pw -s BLF-CRYPT -u user -p password
driver = passwd-file
args = username_format=%n /etc/dovecot/passwd
}service auth {
# https://wiki.dovecot.org/Services#inet_listeners
inet_listener auth {
address = *
port = 12345
}
}
``````
# postfix main.cfsmtpd_sasl_auth_enable = yes
smtpd_tls_auth_only = yes
smtpd_sasl_type = dovecot
smtpd_sasl_path = inet:dovecot:12345smtpd_relay_restrictions = [...], permit_sasl_authenticated, reject_unauth_destination
```## Deliver Mail From Postfix to Dovecot via LMTP
https://wiki2.dovecot.org/HowTo/PostfixDovecotLMTP