mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-04 06:15:24 +00:00
14 lines
559 B
Plaintext
14 lines
559 B
Plaintext
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
|
|
|
|
WWW: https://github.com/ValiMail/authentication-headers
|