Simple Golang SMTP relay/proxy server
go
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

smtprelay.ini 1.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. ; smtprelay configuration
  2. ; Logfile
  3. ;logfile = /var/log/smtprelay.log
  4. ; Hostname for this SMTP server
  5. ;hostname = "localhost.localdomain"
  6. ; Welcome message for clients
  7. ;welcome_msg = "<hostname> ESMTP ready."
  8. ; Listen on the following addresses for incoming
  9. ; unencrypted connections.
  10. ;listen = 127.0.0.1:25 [::1]:25
  11. ; STARTTLS and TLS are also supported but need a
  12. ; SSL certificate and key.
  13. ;listen = tls://127.0.0.1:465 tls://[::1]:465
  14. ;listen = starttls://127.0.0.1:587 starttls://[::1]:587
  15. ;local_cert = smtpd.pem
  16. ;local_key = smtpd.key
  17. ; Enforce encrypted connection on STARTTLS ports before
  18. ; accepting mails from client.
  19. ;local_forcetls = false
  20. ; Networks that are allowed to send mails to us
  21. ;allowed_nets = 127.0.0.1/8 ::1/128
  22. ; Regular expression for valid FROM EMail adresses
  23. ; Example: ^(.*)@localhost.localdomain$
  24. ;allowed_sender =
  25. ; Regular expression for valid TO EMail adresses
  26. ; Example: ^(.*)@localhost.localdomain$
  27. ;allowed_recipients =
  28. ; File which contains username and password used for
  29. ; authentication before they can send mail.
  30. ; File format: username bcrypt-hash email
  31. ;allowed_users =
  32. ; Relay all mails to this SMTP server
  33. ; GMail
  34. ;remote_host = smtp.gmail.com:587
  35. ; Mailgun.org
  36. ;remote_host = smtp.mailgun.org:587
  37. ; Mailjet.com
  38. ;remote_host = in-v3.mailjet.com:587
  39. ; Authentication credentials on outgoing SMTP server
  40. ;remote_user =
  41. ;remote_pass =