2023-10-31 11:37:50 +01:00
|
|
|
services:
|
2024-02-01 21:23:44 +01:00
|
|
|
postfix:
|
2024-04-30 09:25:04 +02:00
|
|
|
image: "registry.mgrote.net/postfix:latest"
|
2024-07-30 23:05:24 +02:00
|
|
|
container_name: postfix
|
2024-02-01 21:23:44 +01:00
|
|
|
restart: always
|
2024-10-23 18:20:04 +02:00
|
|
|
pull_policy: missing
|
2024-02-01 21:23:44 +01:00
|
|
|
ports:
|
|
|
|
- 1025:25
|
|
|
|
environment:
|
|
|
|
SMTP_SERVER: smtp.strato.de
|
|
|
|
SMTP_USERNAME: info@mgrote.net
|
2024-07-09 17:35:56 +02:00
|
|
|
SMTP_PASSWORD: "{{ lookup('viczem.keepass.keepass', 'strato_smtp_password', 'password') }}"
|
2024-02-01 21:23:44 +01:00
|
|
|
SERVER_HOSTNAME: mgrote.net
|
2024-04-04 22:25:20 +02:00
|
|
|
# DEBUG: "yes" # as string not boolean
|
|
|
|
ALWAYS_ADD_MISSING_HEADERS: "no" # as string not boolean
|
|
|
|
# LOG_SUBJECT: "yes" # as string not boolean
|
2024-02-01 21:23:44 +01:00
|
|
|
INET_PROTOCOL: ipv4
|
2024-04-04 22:25:20 +02:00
|
|
|
SMTP_GENERIC_MAP: |
|
|
|
|
/nobody@lldap/ lldap@mgrote.net
|
2024-04-11 20:25:30 +02:00
|
|
|
/mg@pbs.localdomain/ pbs@mgrote.net
|
|
|
|
/root@pbs.localdomain/ pbs@mgrote.net
|
2024-05-25 20:58:07 +02:00
|
|
|
/root@pve5.localdomain/ pve5@mgrote.net
|
2024-07-30 23:05:24 +02:00
|
|
|
/no-reply@ubnt.com/ ubiquity@mgrote.net
|
2024-04-04 22:25:20 +02:00
|
|
|
# rewrite FROM "nobody@lldap" to "lldap@mgrote.net"
|
|
|
|
# /.*/ würde alle absender adressen ersetzen
|
2024-02-01 21:23:44 +01:00
|
|
|
networks:
|
2024-07-30 23:05:24 +02:00
|
|
|
- postfix
|
2023-10-31 11:37:50 +01:00
|
|
|
|
|
|
|
######## Networks ########
|
|
|
|
networks:
|
2024-07-30 23:05:24 +02:00
|
|
|
postfix:
|
2023-10-31 11:37:50 +01:00
|
|
|
external: true
|