Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-3574

As a LMTP user I want to execute the mailet container

    XMLWordPrintableJSON

Details

    Description

      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...

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              btellier Benoit Tellier
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h