]> Sergey Matveev's repositories - public-inbox.git/commit
import: drop X-Status in addition to Status
authorEric Wong <e@80x24.org>
Thu, 17 Dec 2020 09:14:48 +0000 (09:14 +0000)
committerEric Wong <e@80x24.org>
Fri, 18 Dec 2020 11:37:37 +0000 (11:37 +0000)
commitfe01d7b117c8b1e1b9fee63b9e62f399dc26f13c
treebc2cac7dd565739b3bd036603ce57c5fc83ce6b3
parentf85de9d78561efa8190ac038823fef397b6df4fc
import: drop X-Status in addition to Status

It's actually supported by mutt, dovecot[1], and likely some other
software to augment the Status: header.  While dovecot doesn't
expose X-Status to clients, mutt will write 'A' (answered) and
'F' to X-Status (but not T (draft)).

So we'll drop it like we do Status since it's not suitable for
public mail, but stick it in an @UNWANTED_HEADERS array will
allow us to configure an override if needed.

[1]  https://doc.dovecot.org/configuration_manual/mail_location/mbox/
lib/PublicInbox/Import.pm