replicaCount: 1 resources: limits: cpu: 200m memory: 128Mi requests: cpu: 100m memory: 128Mi # priorityClassName: mail extraVolumes: - name: config configMap: name: postfix-mail extraVolumeMounts: - mountPath: /docker-init.db/startup.sh subPath: startup.sh name: config persistence: enabled: true storageClass: "gp3" secret: AWS_SMTP_SERVER: email-smtp.eu-central-1.amazonaws.com AWS_IAM_USER: smtp-user AWS_ACCESS_KEY: XXXXXXXXXXXXXXXXXXXX AWS_SECRET_KEY: YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY AWS_SMTP_PASSWORD: ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ config: general: TZ: "Europe/London" # Default relay with go to Google, but for example.com and example.org it will go to AWS # No password provided for Google as it will be authenticated via IP RELAYHOST: "smtp-relay.gmail.com:587" ALLOWED_SENDER_DOMAINS: "example.com example.org example.net" LOG_FORMAT: "json" startup.sh: | #!/bin/sh set -e RELAY_MAPS=/etc/postfix/relay_maps SASL_PASSWD=/etc/postfix/sasl_passwd : > $RELAY_MAPS cat > $RELAY_MAPS < $SASL_PASSWD cat > $SASL_PASSWD <