You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ponymail.apache.org by sebbASF <gi...@git.apache.org> on 2017/09/19 14:19:28 UTC
[GitHub] incubator-ponymail issue #412: Bug: use actual envelope header if present
GitHub user sebbASF opened an issue:
https://github.com/apache/incubator-ponymail/issues/412
Bug: use actual envelope header if present
The From_ line is currently generated by mbox.lua from the Return-Path and Received headers.
This is not always accurate.
The method msg.as_bytes() can include the original envelope header as used in the From_ line.
This should only be done if the envelope is present, as otherwise a default is added which changes the source. Also the default is not as good as the one generated by mbox.lua.
Since existing messages won't have the From_ line, mbox.lua needs to check if the From_ line needs to be added or not. This also affects From_ prefixing as the code currently assumes the buffer does not contain the From_ header
----
----
---
[GitHub] incubator-ponymail issue #412: Bug: use actual envelope header if present
Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the issue at:
https://github.com/apache/incubator-ponymail/issues/412
---