An open API service indexing awesome lists of open source software.

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) ✉️ 🐳 🐙

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/)
Server

https://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.conf

auth_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.cf

smtpd_sasl_auth_enable = yes
smtpd_tls_auth_only = yes
smtpd_sasl_type = dovecot
smtpd_sasl_path = inet:dovecot:12345

smtpd_relay_restrictions = [...], permit_sasl_authenticated, reject_unauth_destination
```

## Deliver Mail From Postfix to Dovecot via LMTP

https://wiki2.dovecot.org/HowTo/PostfixDovecotLMTP