1
0

Dovecot: IMAP, POP3 & SASL Auth Server (Alpine Linux)

Fabian Peter Hammerle 0a54c5798e upgrade alpine base image from v3.20.3 to v3.21.0 including upgrade of socat package (links below) 10 сар өмнө
.github 04c5d0064b Bump docker/build-push-action from 6.9.0 to 6.10.0 (#98) 10 сар өмнө
CHANGELOG.md 0d596b595c release v1.3.0 3 жил өмнө
Dockerfile 0a54c5798e upgrade alpine base image from v3.20.3 to v3.21.0 including upgrade of socat package (links below) 10 сар өмнө
Makefile 01fe5a6104 added makefile for image building, pushing & tagging 4 жил өмнө
README.md f55954105e readme: added links to dovecot docs for individual services 5 жил өмнө
docker-compose.yml 68576a9d6d mount ssl dir 6 жил өмнө
socat-package-log.url d3ad0decc1 upgrade alpine base image from v3.17.3 to v3.18.0 including upgrade of dovecot packages from v2.3.20-r7 to v2.3.20-r10 & socat package from v1.7.4.4-r0 to v1.7.4.4-r1 (see below) 2 жил өмнө

README.md

dovecot ✉️ 🐳

Dovecot: IMAP, POP3, LMTP, SASL Auth & ManageSieve Server

https://www.dovecot.org/

Usage

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