mirror of
https://git.freebsd.org/ports.git
synced 2025-05-24 23:16:33 -04:00
2024-06-24 Version 0.16.3 * Update expected test results to also be compatible with dkimpy >= 1.1.7 * Update PSL from upstream https://github.com/ValiMail/authentication-headers/releases/tag/0.16.3 PR: 279949
12 lines
506 B
Text
12 lines
506 B
Text
This is a Python library for the generation of email authentication headers.
|
|
|
|
|
|
The library can perform DKIM, SPF, and DMARC validation, and the results are
|
|
packaged into the Authentication-Results header.
|
|
|
|
authenticate_message(message, "example.com", ip='192.168.50.81',
|
|
mail_from="test.com", helo="domain.of.sender.net")
|
|
|
|
Authentication-Results: example.com; spf=none smtp.helo=domain.of.sender.net
|
|
smtp.mailfrom=test.com; dkim=pass header.d=valimail.com; dmarc=pass
|
|
header.from=valimail.com
|