create opensmtpd config for relayhosts

smtpd.conf:

  • localhost:25 allows unauthenticated access
  • no open ports on other interfaces than loopback
  • authenticated relay to a configurable host
Edited by Frederik Schwan