unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: David Bremner <david@tethera.net>
To: Kevin Foley <kevin@kevinjfoley.me>, notmuch@notmuchmail.org
Subject: Re: Dealing with Missing Date Headers
Date: Tue, 18 Jan 2022 09:35:59 -0400	[thread overview]
Message-ID: <87czkpw4hs.fsf@tethera.net> (raw)
In-Reply-To: <87bl0aysvl.fsf@kevinjfoley.me>

Kevin Foley <kevin@kevinjfoley.me> writes:

> Has anyone ever dealt with missing "Date" headers?  My emails from Etrade
> in particular are missing them for whatever reason.
>
> My only thought is to possibly use `sed` or something similar to add a
> "Date" header based on the dates in one of the "Received" headers but
> I'm not crazy about this idea.
>
> I also plan to reach out to Etrade to see if they'll resolve it for
> future messages.

If you access to .forward style processing on the delivery host (a
relatively uncommon case, but perhaps less so among notmuch users) then
adding time of delivery could be done by piping messages through

formail -a $(date -R)

formail is part of procmail; if that is not available the functionality
could probably be replaced by a short python script, which would likely
be more robust than a sed pipeline.

  reply	other threads:[~2022-01-18 13:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-17 21:06 Dealing with Missing Date Headers Kevin Foley
2022-01-18 13:35 ` David Bremner [this message]
2022-01-18 19:16 ` Ralph Seichter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87czkpw4hs.fsf@tethera.net \
    --to=david@tethera.net \
    --cc=kevin@kevinjfoley.me \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).