Skip to content
This repository was archived by the owner on Oct 8, 2024. It is now read-only.
Discussion options

You must be logged in to vote

Yes, that is possible currently, but you need to add each SMTP with invalid certs as an external host using rules. For example:

[queue.outbound]
next-hop = [ { if = "rcpt-domain", eq = "domain1.com", then = "smtp-domain1" }, 
             { if = "rcpt-domain", eq = "domain2.com", then = "smtp-domain2" }, 
             { else = false } ]

[remote."smtp-domain1"]
address = "smtp.domain1.com"
port = 25
protocol = "smtp"
concurrency = 10
timeout = "1m"

[remote."smtp-domain1".tls]
implicit = false
allow-invalid-certs = true

[remote."smtp-domain2"]
address = "smtp.domain2.com"
port = 25
protocol = "smtp"
concurrency = 10
timeout = "1m"

[remote."smtp-domain2".tls]
implicit = false
allow-inval…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@smorks
Comment options

@mdecimus
Comment options

Answer selected by smorks
@smorks
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants