---
title: Inbox Processing with KumoMTA
description: As of December 2024, KumoMTA can handle inboxes and all of the additional security processing that goes with it.
image: https://kumomta.com/hubfs/digital_post_sm.jpeg
---

[Skip to content](https://kumomta.com/blog/inbox-processing-with-kumomta#main-content)

[![KUMO\_Logo\_NEW\_Color](https://kumomta.com/hs-fs/hubfs/KUMO_Logo_NEW_Color.png?width=118&height=32&name=KUMO_Logo_NEW_Color.png "KUMO_Logo_NEW_Color")](https://kumomta.com)

- Technology 
    - [Architecture](https://kumomta.com/technology/architecture)
    - [Features](https://kumomta.com/technology)
    - [Open Source](https://kumomta.com/technology/open-source)
- [Support & Pricing](https://kumomta.com/pricing)
- About Kumo 
    - [About Us](https://kumomta.com/about)
    - [Events](https://kumomta.com/events)
    - [Customers](https://kumomta.com/customers)
    - [Contact Us](https://kumomta.com/contact)
- Resources 
    - [Documentation](https://docs.kumomta.com/)
    - [Migration Center](https://kumomta.com/migration-center) 
          - [Migration Center Hub](https://kumomta.com/migration-center)
          - [Momentum](https://kumomta.com/momentum-migration-guide)
          - [PowerMTA](https://kumomta.com/replace-powermta-with-kumomtas-infrastructure-built-for-mailops)
          - [Halon](https://kumomta.com/halon-migration-guide)
          - [SendGrid](https://kumomta.com/sendgrid-alternative-migration)
          - [Hurricane MTA](https://kumomta.com/hurricanemta-alternative-socketlabs-migration)
    - [Blog](https://kumomta.com/blog)
    - [Community Forum](https://community.kumomta.com/)
    - Guides & Reports 
          - [2026 MTA Buyers Guide](https://kumomta.com/buyers-guide-2026-download)
          - [2026 State of MailOps](https://kumomta.com/2026-state-of-mailops-report-download-page)
    - [YouTube Channel](https://www.youtube.com/channel/UC348UpfbnPgpKPAXIBW_JNQ)
    - [Github Repository](https://github.com/KumoCorp/kumomta)

- [Contact](https://kumomta.com/contact)

- [mailops](https://kumomta.com/blog/tag/mailops),
- [inbox](https://kumomta.com/blog/tag/inbox),
- [receiving](https://kumomta.com/blog/tag/receiving),
- [antispam](https://kumomta.com/blog/tag/antispam),
- [antivirus](https://kumomta.com/blog/tag/antivirus)

# Inbox Processing with KumoMTA

![](https://kumomta.com/hubfs/digital_post_sm.jpeg)

- December 24, 2024

![Tom Mairs](https://app.hubspot.com/settings/avatar/50c5bbe56f0a485919666fb3f0a598f7)

[Tom Mairs](https://kumomta.com/blog/author/tom-mairs)

 

[KumoMTA](https://docs.kumomta.com/) is a powerful Message Transfer Agent primarily designed for high-volume outbound delivery, but in mid-December, we added the ability to write messages to local maildir format mailboxes in order to allow for inbound message processing.  
This type of handling can include anti-virus scanning, store and forward functions, legal intercept storage, postmaster mailboxes, and many other uses.

To help demonstrate the deployment and potential use, I [created a guide](https://github.com/tommairs/kumo_webmail)to installing [KumoMTA](https://kumomta.com/) + [Dovecot](https://doc.dovecot.org/2.3/) + [Roundcube](https://roundcube.net/) for Webmail inboxes. This tutorial explains how to create and access inboxes with webmail on a KumoMTA server. For the sake of this tutorial, we install Roundcube as a webmail front end with Dovecot IMAP server, but it is also possible to process inbox messages directly on the server without any of that.  For instance, if the purpose is for BCC archive storage, no additional processing is needed at all.

![Screenshot 2024-12-18 at 10.12.52 AM](https://kumomta.com/hs-fs/hubfs/Screenshot%202024-12-18%20at%2010.12.52%20AM.png?width=2676&height=712&name=Screenshot%202024-12-18%20at%2010.12.52%20AM.png)

Frankly, most of the guide is about configuring Roundcube and Dovecot, which are actually pretty complex.  The KumoMTA component is extremely simple. We leverage the same custom protocol queuing that we have used for routing messages to [AMQP](https://docs.kumomta.com/userguide/policy/amqp/?h=amqp), [Kafka](https://docs.kumomta.com/userguide/policy/kafka/?h=kafka), and [HTTP APIs](https://docs.kumomta.com/userguide/policy/http/?h=http), but route to a [maildir function](https://docs.kumomta.com/reference/kumo/make_queue_config/protocol/?h=maildir#advanced-maildir-path) instead.  This way you only have to identify the top of the maildir location and file permissions inside a queue\_config, and KumoMTA does the rest. The sample below will automatically create mailboxes for any mail sent to maildir.example.com.  This could be altered to perform a lookup to a list of approved domains, or even make it conditional on some other factors.  The power of Lua and config-as-code makes the possibilities almost endless.

```
kumo.on('get_queue_config', function(domain, tenant, campaign, routing_domain)  if domain == 'maildir.example.com' then    return kumo.make_queue_config {      protocol = {        maildir_path = '/maildirs//',        dir_mode = tonumber('775', 8),        file_mode = tonumber('664', 8),      },    }  endend)
```

 

After reception, the messages can be AV/AS scanned, or processed in any other way.  If a webmail component is deployed, users can interact directly with them.

KumoMTA brings the power of its high-performance outbound engine to an inbound environment, allowing operators to process millions of messages per hour in a highly flexible way.  Mailbox Providers (MBPs) can access the mailboxes directly with 3rd party tools and also use Lua to programmatically pre-process messages before the even hit the inbox.

Let us [know if this helped you](https://discord.com/invite/tj4vrgC8k3). We would love to tell your story.

\------------------------------------------------------------------

KumoMTA is the first open-source MTA designed from the ground up for the world's largest commercial senders. We are fueled by Professional Services and Sponsorship revenue.

[Join the Discord](https://discord.com/invite/tj4vrgC8k3) | [Review the Docs](https://docs.kumomta.com/) | [Read the Blog](https://kumomta.com/blog) | [Grab the Code](https://github.com/KumoCorp/kumomta) | [Support the team](https://donate.stripe.com/00g9AU5Dq7fresg7ss)

STAY IN TOUCH

## Get periodic updates about the latest releases, features, and news around KumoMTA.

[![KUMO\_Logo\_Files\_Color 1](https://kumomta.com/hubfs/KUMO_Logo_Files_Color%201.svg "KUMO_Logo_Files_Color 1")](https://kumomta.com)

##### Proud member of

![maawg 1](https://kumomta.com/hubfs/maawg%201.png "maawg 1")

[Follow us on LinkedIn](https://www.linkedin.com/company/91414337/) [Follow us on Github](https://github.com/KumoCorp/kumomta) [Follow us on Discord](https://discord.com/servers/kumomta-1072980126737907824) [Follow us on Youtube](https://www.youtube.com/channel/UC348UpfbnPgpKPAXIBW_JNQ)

##### Explore KumoMTA

- [Open Source](https://kumomta.com/technology/open-source)
- [Features](https://kumomta.com/technology)
- [Pricing](https://kumomta.com/pricing)
- [Case Studies](https://kumomta.com/customers)
- [About Us](https://kumomta.com/about)
- [Privacy](https://kumomta.com/privacy)

##### Resources

- [Blog](https://kumomta.com/blog)
- [Documentation](https://docs.kumomta.com/)
- [Community Forum](https://community.kumomta.com/?_gl=1*o6wdcs*_gcl_au*MTAxMDA2MjM0NC4xNzcyNzI4Njg3*_ga*MTQ0NjAzODcyNS4xNzU3MDkzMjQ2*_ga_LNBCW1KF8J*czE3Nzc5MzU3ODYkbzIkZzAkdDE3Nzc5MzYwMjMkajI3JGwwJGgw)
- [FAQ](https://docs.kumomta.com/faq/)
- [YouTube Channel](https://www.youtube.com/channel/UC348UpfbnPgpKPAXIBW_JNQ)
- [GitHub Repository](https://github.com/KumoCorp/kumomta?_gl=1*12d5gs8*_gcl_au*MTAxMDA2MjM0NC4xNzcyNzI4Njg3*_ga*MTQ0NjAzODcyNS4xNzU3MDkzMjQ2*_ga_LNBCW1KF8J*czE3Nzc5MzU3ODYkbzIkZzAkdDE3Nzc5MzU3ODkkajU3JGwwJGgw)

- [© 2026 Kumo Corp, All rights reserved. KumoMTA and the Kumo logo are registered trademarks of Kumo Corp. ](https://kumomta.com/privacy)

```json
{
  "@context" : "https://schema.org",
  "@type" : "BlogPosting",
  "author" : {
    "@type" : "Person",
    "name" : "Tom Mairs",
    "url" : "https://kumomta.com/blog/author/tom-mairs"
  },
  "dateModified" : "2026-01-06T14:52:14.861Z",
  "datePublished" : "2024-12-24T15:33:26.000Z",
  "headline" : "Inbox Processing with KumoMTA",
  "image" : [ "https://kumomta.com/hubfs/digital_post_sm.jpeg" ],
  "mainEntityOfPage" : {
    "@id" : "https://kumomta.com/blog/inbox-processing-with-kumomta",
    "@type" : "WebPage"
  },
  "publisher" : {
    "@type" : "Organization",
    "logo" : {
      "@type" : "ImageObject",
      "url" : "https://kumomta.com/hubfs/KUMO_Logo_NEW_Color.png"
    },
    "name" : "KumoMTA"
  }
}
```