system-config/vps/etc/containers/systemd/postfix.container

16 lines
439 B
Text

[Unit]
Requires=dovecot.service rspamd.service unbound.service
After=dovecot.service rspamd.service unbound.service
[Container]
Image=git.strypsteen.com/mathieu/postfix
UserNS=host
Network=mail.network
Volume=/etc/certificates/certificates:/etc/certificates:z,ro
Volume=postfix.volume:/var/spool/postfix:Z
Tmpfs=/var/lib/postfix
PublishPort=25:25
PublishPort=465:465
StopTimeout=20
AutoUpdate=registry
[Install]
WantedBy=multi-user.target