Skip to content

Instantly share code, notes, and snippets.

@RobinBeismann
Created February 25, 2025 19:57
Show Gist options
  • Save RobinBeismann/83a177b2393bb71a717f55a62f014272 to your computer and use it in GitHub Desktop.
Save RobinBeismann/83a177b2393bb71a717f55a62f014272 to your computer and use it in GitHub Desktop.
version: '2'
services:
postfix:
image: juanluisbaptiste/postfix:latest
hostname: smtp
environment:
SMTP_SERVER: smtp2graph
SMTP_PORT: 25
SERVER_HOSTNAME: x
OVERWRITE_FROM: br0 Local Relay <[email protected]>
ALWAYS_ADD_MISSING_HEADERS: yes
DEBUG: yes
volumes:
- "/etc/localtime:/etc/localtime:ro"
restart: unless-stopped
networks:
default:
smtp2graph:
image: smtp2graph/smtp2graph:latest
hostname: smtp2graph
environment:
AUTHORITY: https://login.microsoftonline.com/ # REQUIRED VALUE
CLIENT_ID: x # REQUIRED VALUE
CLIENT_SECRET: x # REQUIRED VALUE
forceMailbox: [email protected]
volumes:
- "/etc/localtime:/etc/localtime:ro"
- "./config:/data"
restart: unless-stopped
networks:
default:
networks:
default:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment