Skip to content
Snippets Groups Projects

postfix-nullclient-formula

This is a simple collection of states that replace default exim4 with a postfix installation that acts as a nullclient. Throw it onto your machine and it will submit mails easily.

Two things are configurable using pillar:

  • relayhost (which server to use for submitting emails)
  • rootmail-destination (which address to forward mail for local users to)

pillar example

postfix:
  nullclient:
    relayhost: 'smtp.hs-hannover.de'
    rootmail-destination: 'web-rootmails@hs-hannover.de'