This is a plugin for pretix. Once installed and configured, it makes pretix use random Sender headers for emails like noreply-amCwRFatawEjetS8@pretix.eu for outgoing emails. The From and Reply-To headers remain untouched. It then periodically checks for emails in a specified IMAP inbox and adds replied emails to the log of an order. This leads to an automatic logging of bounces on pretix-level.
Configuration
This requires an additional section in the pretix.cfg config file that looks like this:
[bounces] alias=noreply-%s@mydomain.com from_domain=mydomain.com server=mail.mydomain.com:993 user=noreply@mydomain.com pass=12345678
The plugin will only be effective for mails sent through the system default mailer (specified in the same file), not for events with a custom SMTP server. from_domain can contain multiple comma-separated domains, in which case you can use a second %s placeholder in alias for the domain.
Development setup
Make sure that you have a working pretix development setup.
Clone this repository, eg to local/pretix-bounces.
Activate the virtual environment you use for pretix development.
Execute pip install -e . within this directory to register this application with pretix’s plugin registry.
Execute make within this directory to compile translations.
Restart your local pretix server. You can now use the plugin from this repository for your events by enabling it in the ‘plugins’ tab in the settings.
License
Copyright 2017 Raphael Michel
Released under the terms of the Apache License 2.0
Release files for pretix-bounces 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pretix_bounces-2.0.0.tar.gz | 13.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pretix_bounces-2.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 64.2 kB
Release files / pretix_bounces-2.0.0.tar.gz
| Download URL | pretix_bounces-2.0.0.tar.gz |
|---|---|
| Size | 13.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8718b53aef7c7f0b5a54ef2acc746f4ffc0ce0cdeb6b5ad4c7b294e4c113f9c9
|
|
BLAKE2b-256 checksum How to use checksums |
8efbd249f92e886f82dbbfb985fe8457e1aeb6f0f5fc978aefef22588e043247
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.14
|
Release files / pretix_bounces-2.0.0-py3-none-any.whl
| Download URL | pretix_bounces-2.0.0-py3-none-any.whl |
|---|---|
| Size | 50.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f66a2664f2f8c3c9c836c89cabbe51777b8cea62c4396bdec5e26e9cdea3b9bf
|
|
BLAKE2b-256 checksum How to use checksums |
21ce430bedf2154c08762c5245ee7ad48af91e62b95ab56fb1af8ccf0583c151
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.14
|