Skip to main content

[![Build Status](https://travis-ci.org/syslabcom/slc.mailrouter.svg?branch=master)](https://travis-ci.org/syslabcom/slc.mailrouter)

Introduction

slc.mailrouter bridges the gap between zope and email. It is based on the same idea as products such as mailboxer: a script is invoked by your mail transfer agent (postfix, exim) and the body of the email is passed to this script on stdin. This is then communicated to zope using an http post, where it is parsed and handled.

slc.mailrouter implements a component model for the handling of emails. By itself it allows the user to send an email to a folder and have all attachments on the email stored in that folder. The folder can be addressed either by its UID, or by assigning a friendly alias to the folder in the plone control panel.

The MailToFolder router is implemented using an adapter pattern. If you want to change the way this works, Implement an adapter that adapts IFolderish and implements slc.mailrouter.interfaces.IMailImportAdapter. The add() method on this adapter receives the message as an argument and is responsible for persisting the contents of the message to the folder.

Additional mail routes can be implemented by other products by creating a utility and registering it under the interface slc.mailrouter.interfaces.IMailRouter. Such mail router utilities are called one after the other until one of them reports that the message was successfully delivered. In this way it mirrors the way exim’s routers work.

Credits

Izak Burger <isburger@gmail.com> Manuel Reinhardt <reinhardt@syslab.com>

Metadata

Release files for slc.mailrouter 3.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for slc.mailrouter 3.0.2
File Size Uploaded Provenance Actions
slc_mailrouter-3.0.2.tar.gz 20.3 kB Without provenance Details for slc_mailrouter-3.0.2.tar.gz

Release files / slc_mailrouter-3.0.2.tar.gz

Download URL slc_mailrouter-3.0.2.tar.gz
Size 20.3 kB
Tags Source
SHA-256 checksum
How to use checksums
6f9512d3dadc4d84f5361974892b77fefbe60a7d9d95600df72f9293608b8193
BLAKE2b-256 checksum
How to use checksums
d7ecb002d5c3b1af4025d10d4da5e8f8a89d29c71458fe02fe896eb1458b4a97
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.3

Security for slc.mailrouter 3.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page