You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Benoit Tellier (Jira)" <se...@james.apache.org> on 2021/04/30 07:23:00 UTC
[jira] [Created] (JAMES-3574) As a LMTP user I want to execute the
mailet container
Benoit Tellier created JAMES-3574:
-------------------------------------
Summary: As a LMTP user I want to execute the mailet container
Key: JAMES-3574
URL: https://issues.apache.org/jira/browse/JAMES-3574
Project: James Server
Issue Type: Improvement
Components: lmtp, MailStore & MailRepository
Affects Versions: 3.6.0
Reporter: Benoit Tellier
Fix For: 3.7.0
h3. Why?
LMTP is SMTP without a mail queue. Used inside a private network, with trusted hosts, the throughput is controlled upstream by the MTA/MX servers.
There is no sudden burst requiring buffering - buffering is done upstream.
James ships a LMTP implementation that mostly reuses the SMTP stack.
Today it delivers emails directly in people mailboxes.
The mailet container allows a declarative, modular and extensible processing upon email reception and is one of James selling points. Sadly today LMTP users cannot leverage its power...
h3. How?
Write a `DataLineMessageHookHandler` that given an incoming LMTP transaction executes the mailet container.
Write a handler chain mirroring the default one, replacing the classical `DataLineMessageHookHandler` with the one executing the mailet container.
Write a unit test showing that upon an incoming LMTP transaction the mail is executed by a mock of the Mailet Container.
Finally write documentation concerning the handler chain.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org