Hi @ctgraham and @asmecher,
Any help thinking this would be very much appreciated, because all this is beyond my knowledge about mailing servers.
the point is, I fall into this same issue this week and yes⦠the problem is in my server, but Iām wondering what would happen in the docker containers I have on this same server.
Probably you will tell me you are not a docker experts (nor do I) but as an exercise, just imagine the docker-container is an isolated/independent machine connected to the host via an internal network, and going to the world through this host (as far as is the containerās gateway).
So, forget docker and think in 3 different machines.
--------------- -------- --------------
| SMTP server | <----> | host | <----> | ojsMachine |
--------------- -------- --------------
The question is: taking in consideration that āojsMachineā use āhostā as a gateway to arrive to SMTP server, fixing the certificate issue between āsmtpā and āhostā wonāt help āojsMachineā relay mails, isnāt it? I mean, in the moment āojsMachineā reach the SMTPserver it still request for a certificate for ojsMachine (not host) and validation will failā¦
Do you agree?
Iām asking because the answer to the former question will determine which solution is better here:
a) Let containers relay mails to the āhostā (without certificate validation), so āhostā will forward to āSMTPserverā, ensuring host-smtp validation is ok.
b) Let containers relay mails ādirectlyā to the SMTP (without certificate validation), that will only be a solution if host as a gatway will means it need to honor smtp-host credentials exchange.
c) Share certificates between the host and the containers and relay to SMTP.
The last one looks like the most secure, but at the same time, the most difficult to implement because each docker container (in same host) will probably have different credentials (different ojs journals with different domain names)⦠so Iām trying to keep configuration to the minimum.
What do you think?
Thanks in advance for your help,
m.
PD: Adding @lucasdiedrich to the conversation, just in case he also thought about this before.