Fork of the aerc email client (https://sr.ht/~rjarry/aerc)
Go to file
Reto Brunner f1a0fd20d6 improve date parsing for notmuch/maildir
If a message date would fail to parse, the worker would never receive
the MessageInfo it asked for, and so it wouldn't display the message.

The problem is the spec for date formats is too lax, so trying to ensure
we can parse every weird date format out there is not a strategy we want
to pursue. On the other hand, preventing the user from reading and
working with a message due to the error format is also not a solution.

The maildir and notmuch workers will now fallback to the internal date, which
is based on the received header if we can't parse the format of the Date header.

The UI will also fallback to the received header whenever the date header can't
be parsed.

This patch is based on the work done by Lyudmil Angelov <lyudmilangelov@gmail.com>
But tries to handle a parsing error a bit more gracefully instead of just returning
the zero date.
2020-08-10 08:00:52 +02:00
commands Implement style configuration. 2020-08-06 21:42:06 +02:00
completer Strip trailing newline from address book entries without names 2020-01-09 14:32:22 -05:00
config stylesets: only accept comment char after whitespace 2020-08-07 18:05:39 +02:00
contrib Add contrib/_incr_version 2020-05-19 12:12:18 -04:00
doc notmuch: docs 2020-08-08 12:34:34 +02:00
filters Strip carriage returns (^M) when filtering emails 2019-08-20 16:05:20 +09:00
lib improve date parsing for notmuch/maildir 2020-08-10 08:00:52 +02:00
models Fix dates in reply/forward commands. 2020-06-26 09:25:53 +02:00
templates Fix headers in built-in templates 2020-04-24 12:59:49 -04:00
widgets show error if account view creation fails 2020-08-10 08:00:34 +02:00
worker improve date parsing for notmuch/maildir 2020-08-10 08:00:52 +02:00
.build.yml Update .build.yml 2020-07-29 15:27:51 -04:00
.gitignore Subsitute prefix in aerc.conf for install 2019-05-26 10:27:22 -04:00
LICENSE Add README.md, update license (MIT -2019) 2019-01-13 20:09:07 -05:00
Makefile Implement style configuration. 2020-08-06 21:42:06 +02:00
README.md Format config path in README 2020-07-05 12:24:39 +02:00
aerc.go Sort command completions 2020-06-13 10:12:53 +02:00
go.mod Update go-message, fixes various bugs 2020-07-09 08:28:58 +02:00
go.sum Update go-message, fixes various bugs 2020-07-09 08:28:58 +02:00

README.md

aerc

aerc is an email client for your terminal.

A short demonstration can be found on https://aerc-mail.org/

Join the IRC channel: #aerc on irc.freenode.net for end-user support, and #aerc-dev for development.

Building

Install the dependencies:

Then compile aerc:

$ make

aerc optionally supports notmuch. To enable it, you need to have a recent version of notmuch, including the header files (notmuch.h). Then compile aerc with the necessary build tags:

$ GOFLAGS=-tags=notmuch make

Installation

# make install
$ aerc

On its first run, aerc will copy the default config files to ~/.config/aerc on Linux or ~/Library/Preferences/aerc on MacOS and show the account configuration wizard.

If you redirect stdout to a file, logging output will be written to that file:

$ aerc > log

Resources

Send patches and questions to ~sircmpwn/aerc@lists.sr.ht.

Subscribe to release announcements on ~sircmpwn/aerc-announce

Bugs & todo here: ~sircmpwn/aerc2