Skip to main content

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

  1. Make sure that you have a working pretix development setup.

  2. Clone this repository, eg to local/pretix-bounces.

  3. Activate the virtual environment you use for pretix development.

  4. Execute pip install -e . within this directory to register this application with pretix’s plugin registry.

  5. Execute make within this directory to compile translations.

  6. 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)

Source distribution for pretix-bounces 2.0.0
File Size Uploaded
pretix_bounces-2.0.0.tar.gz 13.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pretix-bounces 2.0.0
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

2.0.0 This release

2 release files

1.5.1

2 release files

1.5.0

2 release files

1.4.1

2 release files

1.4.0

2 release files

1.3.0

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

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