Le 08/07/2020 à 14:39, David Leangen a écrit : >> The only wrong thing about this picture is the SMTP Service before >> "Outgoing". > Ok, thank you Matthieu. > >> As weird as it is, the delivery of messages to a remote server is done by a >> Mailet called RemoteDelivery and it's not handled by the SMTP Service. >> As far as I know, a lot of people are actually forking this Mailet because >> they want specific behaviors for delivery so I think this design makes sense. > Ok sure, but doesn’t that Mailet have to “speak” SMTP? No they don't.
They encapsulate what a "Mail" (a Mime message with its transport context) is and transform it. They can for instance be used after a JMAP submission servers (as users can send mails via JMAP too) Mailet are just a very simple Java interface. There is no hard dependency to SMTP. > I.e., doesn’t it effectively become an SMTP client, that opens a session with > a remote SMTP server? > > Or am I again misunderstanding something fundamental about how SMTP works? > > > Cheers, > =David > --------------------------------------------------------------------- To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org