Go to file
ARaspiK fe1cabb077 Add support for :rmdir
The `:rmdir` command removes the current directory (`-f` is required if
the directory is not empty).

This is not supported on the notmuch backend.

An issue with the maildir backend is that some sync programs (e.g.
offlineimap) may recover the directory after it is deleted.  They need
to specifically be configured to accept deletions, or special commands
need to be executed (e.g. `offlineimap --delete-folder`) to properly
delete folders.

A danger of using this on the IMAP backend is that it is possible for a
new message to be added to the directory and for aerc to not show it
immediately (due to a slow connection) - using `:rmdir` at this moment
(with `-f` if the directory already contains messages) would delete the
directory and the new message that just arrived (and all other
contents).  This is documented in aerc(1) so that users are aware of
possible risks.
2020-08-19 11:38:57 +02:00
commands Add support for :rmdir 2020-08-19 11:38:57 +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 Add support for :rmdir 2020-08-19 11:38:57 +02:00
filters Strip carriage returns (^M) when filtering emails 2019-08-20 16:05:20 +09:00
lib Add `oauthbearer` support for SMTP 2020-08-13 07:44:43 +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 Add support for :rmdir 2020-08-19 11:38:57 +02:00
worker Add support for :rmdir 2020-08-19 11:38:57 +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