opensmtp configuration

Posted on Apr 6, 2026
  • hostname hongy19.net is used on listen, not key words in configuration file
  • table
    • man page
    • table could be file or db
    • table could be list or mapping
    • credential in a relay context
      • the credentials are a mapping of labels and username:password pairs, format: label1 user:password
      • passwords are not encrypted (smtpctl encrypt subcommand.)
    • table examples
      • table users   file:/etc/smtpd/users
      • table creds   file:/etc/smtpd/creds
      • table domainemail  {hongy19 = hongy19@hongy19.net}
  • relay
    • action “outbound” relay host smtps://smtp2go@mail.smtp2go.com:465 auth mail-from “@hongy19.net -> doesn’t work for smtp2go
    • action “outbound” relay host smtps://smtp2go@mail.smtp2go.com:465 pki hongy19.net auth mail-from “@hongy19.net”   -> work for smtp2go
    • action “outbound” relay host smtp+tls://smtp2go@mail.smtp2go.com:587 auth mail-from “@hongy19.net” -> work for smtp2go