mail/py-spf-engine 3.1.0_1
SPF engine for Postfix policy server and milter implemented in Python
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
16d8d1884f- License
- APACHE20, GPLv2+
- Categories
- mail, python
- Package size
- 93.9 KiB, 387.7 KiB installed
Description
This project provides the SPF (Sender Policy Framework) back-end for both pypolicyd-spf (for which it was originally developed) and an future SPF milter using pymilter. The goal is to provide a common back-end for common features for support SPF integration with Postfix and Sendmail using both the Postfix policy service and the Sendmail milter protocol (also available with Postfix).
Install
As a binary package — by origin, or by package name:
pkg install mail/py-spf-engine
pkg install py312-spf-engine
From the ports tree:
cd /usr/ports/mail/py-spf-engine/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-spf-engine>0:mail/py-spf-engine
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 3.1.0_1 | 3.1.0_1 | 2.9.3_1 | 3.1.0 | 3.1.0_1 |
| FreeBSD:14:quarterly | 3.1.0 | 3.1.0 | n/a | 3.0.4 | 3.1.0 |
| FreeBSD:15:latest | 3.1.0_1 | 3.1.0_1 | n/a | 3.1.0 | 3.1.0 |
| FreeBSD:15:quarterly | 3.1.0 | 3.1.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 3.1.0 | 3.1.0_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
${PYTHON_PKGNAMEPREFIX}flit-core>=3.8<4: devel/py-flit-core
Runtime 3
${PYTHON_PKGNAMEPREFIX}authres>0: mail/py-authres${PYTHON_PKGNAMEPREFIX}pymilter>0: mail/py-pymilter${PYTHON_PKGNAMEPREFIX}pyspf>0: mail/py-pyspf
The full lists below include those, and their dependencies in turn.
All build dependencies 15
All run dependencies 37
- devel/gettext-runtime
- devel/libffi
- devel/py-anyio
- devel/py-async_generator
- devel/py-attrs
- devel/py-cffi
- devel/py-outcome
- devel/py-pycparser
- devel/py-sniffio
- devel/py-sortedcontainers
- devel/py-typing-extensions
- devel/readline
- dns/py-dnspython
- dns/py-idna
- lang/python312
- mail/libmilter
- mail/py-authres
- mail/py-pymilter
- mail/py-pyspf
- math/mpdecimal
- net/py-h11
- net/py-socksio
- net/py-trio
- print/indexinfo
- security/py-certifi
- security/py-cryptography
- security/py-pyopenssl
- security/py-service-identity
- security/py-truststore
- textproc/expat2
- www/py-aioquic
- www/py-h2
- www/py-hpack
- www/py-httpcore
- www/py-httpx
- www/py-hyperframe
- www/py-pylsqpack
No port depends on this one.
Configuration
Options name: mail_spf-engine
| Option | Default | Description |
|---|---|---|
| DOCS | off | Build and/or install documentation |
- USES
- python shebangfix
- Service scripts
pyspf-milter
Message after installing
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| spf-engine-3.1.0.tar.gz | 62848 | 1d4b8cc58142a88b4b1603129eb9307e6256aa0146c88d515a09a58dbfa39169 |
Master sites 1
- PYPI
Commit history 2
| Date | Commit | Credits | Log message |
|---|---|---|---|
16d8d1884f |
Jochen Neumeister | mail/py-spf-engine: Fix crash in pyspf-milter eom() eom() split the Authentication-Results header at ": " and raised a
ValueError when the SPF engine handed it a value without that
separator, for example when HELO_reject is No_Check and the sender is
empty or when TestOnly is 0. pymilter turned the uncaught exception into
a tempfail, so the message was deferred and eventually bounced.
Add the header only when the separator is present and log a warning
otherwise. The message is delivered without an Authentication-Results
header, the envelope-stage reject decisions are not affected.
PR: 296277
Reported by: [email protected]
Sponsored by: Netzkommune GmbH |
|
a701b180cf |
Jochen Neumeister | mail/py-spf-engine: Take maintainership Sponsored by: Netzkommune GmbH |