Monday, April 06, 2026

opensmtp configuration

  •  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 <creds> mail-from "@hongy19.net -> doesn't work for smtp2go
      • action "outbound" relay host smtps://smtp2go@mail.smtp2go.com:465 pki hongy19.net auth <creds> mail-from "@hongy19.net"   -> work for smtp2go
      • action "outbound" relay host smtp+tls://smtp2go@mail.smtp2go.com:587 auth <creds> mail-from "@hongy19.net" -> work for smtp2go

No comments: