Skip to content

Instantly share code, notes, and snippets.

@Schrank
Last active October 21, 2019 20:12
Show Gist options
  • Save Schrank/9b60f5262b6a99292fa171ea528ef191 to your computer and use it in GitHub Desktop.
Save Schrank/9b60f5262b6a99292fa171ea528ef191 to your computer and use it in GitHub Desktop.
Smyfony4 Swift SMTP configuration for Uberspace
MAILER_PASSWORD=12345
# e.g. in config/packages/swiftmailer.yaml
swiftmailer:
delivery_addresses: ['[email protected]']
delivery_whitelist:
# all email addresses matching these regexes will be delivered
# like normal, as well as being sent to [email protected]
- '/@example\.de$/'
transport: smtp
username: USERNAME
password: '%env(resolve:MAILER_PASSWORD)%'
host: SERVER.uberspace.de
port: 587
timeout: 30
local_domain: 'uber.space'
encryption: tls
auth_mode: login
sender_address: '[email protected]'
antiflood:
threshold: 99
sleep: 0
logging: true
spool:
type: memory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment