Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

A web interface for editing procmail's procmailrc files.

Project Description

Django procmail is a Django application allowing to edit procmail’s procmailrc files.

A demo is avaible at with username/password demo/demo.



Install with pip:

sudo pip install pyprocmail

or from source code:

sudo make install

Quick start

  1. Add procmail to your INSTALLED_APPS setting like this:


    For internatinalization support, add django.middleware.locale.LocaleMiddleware to your MIDDLEWARE_CLASSES setting like this:

  2. Include the procmail URLconf in your project like this:

    urlpatterns = [
        url(r'^procmail/', include('procmail.urls', namespace="procmail")),
  3. Start the development server and visit to edit your procmailrc.


All settings are optional. Add them to to customize django-procmail:

  • PROCMAIL_INPLACE: Should django-procmail try to edit procmailrc inplace ? The default is True
  • PROCMAIL_DEBUG_DIR: When PROCMAIL_INPLACE is False, where do we copy procmailrc files for edition. The default is None, no dir defined. The default will crash if PROCMAIL_INPLACE is False.
  • PROCMAIL_TEST_PROCMAILRC: Path to a procmailrc file, used for every user when defined. It is here for testing purpose. The defaut is None.
  • PROCMAIL_FALLBACK_ENCODING: Which encoding to use for reading procmailrc files when charset autodetection failed. The default is 'ISO-8859-15'. You should always use single-byte encodings of this parameter.
  • PROCMAIL_DEFAULT_ENCODING: Chich encoding to use for reading and writing procmailrc files. If read failed (bad charset), we try to autodetect the charset, is the autodetection failed, we fallback to PROCMAIL_FALLBACK_ENCODING. The default is 'utf-8'.
  • PROCMAIL_DEFAULT_PROCMAILRC: The content of the created procmailrc file when the user do not already have a procmailrc file.
  • PROCMAIL_VENDOR_CSS: A dictionnary with two keys 'bootstrap' and 'font-awesome'. The url to bootstrap3 and fontawesome CSS. The default are "//" and "//".
  • PRCOMAIL_VENDOR_JAVASCRIPT: A ordered dictionnary with four keys 'jquery', 'jquery-ui', 'sortable', 'bootstrap'. The default are respectively "//", "//", //" and "//".
Release History

Release History

This version
History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django-procmail-0.1.tar.gz (46.7 kB) Copy SHA256 Checksum SHA256 Source Dec 27, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting