CVE-2023-27043: add a strict parsing mode to prevent incorrect address interpretation.
By default, strict=True is enabled. If you need the legacy behavior, explicitly set strict=False
when calling parseaddr() or getaddresses()
Additionally, strict parsing can be disabled globally by setting the environment variable
PYTHONEMAILDISABLESTRICTADDRPARSING to a non-empty string or by creating the configuration
file /etc/python/email.cfg with the following content:
[emailaddrparsing]
PYTHONEMAILDISABLESTRICTADDRPARSING = true