On Tue, 2020-07-07 at 22:58 +0900, David Leangen wrote: > > Hope it helps. > > Yes, quite a lot!! > > A few clarifications, please. 😀 > > > > > SMTP Service is talking TCP with the client. When it is asked to > > deliver a message, it simply calls `enqueue` on the MailQueue. > > Can you be more precise about what you mean by “client”?
Yes, the client (either a MUA or a MTA) is the remote process talking SMTP to our SMTP server via a TCP connection. > > > As everything happens in the Java process, you don't have a > > protocol, > > just a method call. > > By the way, is the message communicated via TCP or via a method call. The SMTP server talks TCP with the outside world. Then it calls parts of James with method calls (the SMTP server is living in the same process as the other services James is running) > Sorry, I am a bit confused about the two statements you made above. > > Once the mail is received by the mail queue, does all the rest of the > process happen via method calls, too? Yes > > The spooler is the thing taking messages from the queue for > > processing. > > The MailQueue allows to decouple the reception from the handling. > > A spooler usually is able to concurrently process several mails. > > Thanks. > > Are there any other important “parts” that I should be aware of? > I don't know. -- Matthieu Baechler --------------------------------------------------------------------- To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org