Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nullmailer appends @mailname to MIME-Header encoded, fully qualified From: address #79

Open
fschlich opened this issue Sep 8, 2021 · 0 comments

Comments

@fschlich
Copy link

fschlich commented Sep 8, 2021

I use nullmailer to send an email from a generated text file. The tool that generates the file encodes the From: header with the MIME-Header encoding according to RFC2047. In my case, this looks like so:

From: =?UTF-8?B?RmxvcmlhbiBTY2hsaWNodGluZyA8ZnNmc0BkZWJpYW4ub3JnPg==?=

However nullmailer doesn't seem to recognize the encoding, and treating it as if it was an unqualified localpart, blindly adds @$mailname resulting in

From: =?UTF-8?B?RmxvcmlhbiBTY2hsaWNodGluZyA8ZnNmc0BkZWJpYW4ub3JnPg==?=@fschlich.dialup.fu-berlin.de

or, when decoded

From: Florian Schlichting <[email protected]>@fschlich.dialup.fu-berlin.de

An example of this can be seen at https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=993667

Before making decisions about "fixing" a header, nullmailer must correctly decode the header.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant