Apache Pony Mail Foal (Next Generation Suite)

Clone this repo:


  1. 0e54755 fix links not firing due to no target by Daniel Gruno · 7 weeks ago master
  2. ee14396 Only show button if admin by Daniel Gruno · 7 weeks ago
  3. 57d441c Add an admin control button for emails. Does not do anything yet. by Daniel Gruno · 7 weeks ago
  4. a4432f3 Work in an admin switch for oauth logins, to be used later. by Daniel Gruno · 7 weeks ago
  5. b47565f If url_prefix is erroneously set to None, replace with empty string by Daniel Gruno · 8 weeks ago

Apache Pony Mail Foal

Next generation suite of services and tools for Apache Pony Mail

CI Status

This repository aims to contain the next generation of Apache Pony Mail, a pure python version of Apache Pony Mail with support for ElasticSearch 7.x and above.


Work is underway on the following items:

  • Improved archiver and import tools [DONE]
  • New UI for the end user [DONE]
  • Migration tools for moving to Foal [DONE]
  • 100% python backend, no mod_lua required. [MOSTLY DONE]

Installation Guide

Please see the installation documentation for setup instructions.

Current setup requirements:

  • Linux or other UNIX based operating system (Windows has not been tested, but might work).
  • Python 3.7.3 or higher with dependencies from requirements.txt.
  • Web server with proxy capabilities for the UI.
  • ElasticSearch 7.x or higher.

Migration disclaimer:

While compatible with the original Pony Mail, this will not be a drop-in replacement. Migration of the old database is required, and several older ID generators have been dropped in favor of collision-secure generators.