Sign inSign up

xomoxcc/postfix-pgsql

By xomoxcc

•Updated 3 days ago

Image
0

83

xomoxcc/postfix-pgsql repository overview

https://github.com/vroomfondel/somestuff/raw/main/postfixpgsqlstuff/logo_postfixpgsqlstuff_250x250.png

⁠postfix-pgsql

Debian trixie with postfix, postfix-pgsql, postfix-policyd-spf-python and tini. The image ships only the binaries: main.cf, master.cf and the pgsql map files are mounted by the deployment. Built for a Kubernetes mail pod next to a Dovecot container (LMTP and SASL over unix sockets in a shared volume), but nothing in it is Kubernetes-specific.

⁠Entrypoint

postfix check, then postfix start-fg under tini. When main.cf sets maillog_file, a background loop rotates it daily with postfix logrotate followed by postfix reload.

⁠Mounts

PathContent
/etc/postfix/main.cfyour main.cf (read-only)
/etc/postfix/master.cfyour master.cf (read-only)
/etc/postfix/pgsql/*.cfpgsql map files, readable by the postfix user (proxymap)
/var/spool/postfixthe queue (persistent volume)
/etc/mail-tlscertificate and key for smtpd_tls_* (optional path)

Ports: EXPOSE 25 465 587; PROXY-protocol listeners are configured in master.cf like any other service.

⁠Tags

trixie-slim (the Debian base) and latest.

Source: vroomfondel/somestuff/postfixpgsqlstuff⁠

Tag summary

Content type

Image

Digest

sha256:eea85d04f…

Size

60 MB

Last updated

3 days ago

docker pull xomoxcc/postfix-pgsql