diff options
author | Karel Balej <balejk@matfyz.cz> | 2024-01-30 20:11:29 +0100 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2024-02-12 23:05:53 +0100 |
commit | 3aa8b6308482d2e3feea0fecb065190cf05c2468 (patch) | |
tree | 99e9d3c9f9b6a65beb7c3a8c981e2dc795d8b845 /app/partswitcher.go | |
parent | e8a6e8316a4b6e923f75b1e9a2d06089033e480b (diff) | |
download | aerc-3aa8b6308482d2e3feea0fecb065190cf05c2468.tar.gz |
commands: add bounce
Add a command to allow for reintroduction of messages into the transport
system. This means taking a message and forwarding it to new recipients
as is including original headers. The fact that the message has been
bounced is indicated by the prepend of *Resent-* headers in accordance
with RFC 2822. The bounced message is not stored in the sent mailbox.
Also add an `-A` switch to allow for bouncing using different account
than the one currently selected.
Also add default keybind and documentation entry for this command.
The mentioned RFC also recognizes *Resent-Cc* and *Resent-Bcc* headers
which might be an interesting continuation of this -- currently all
recipients are specified in *Resent-To*. Also more control over the
*Resent-From* header value could be implemented.
This command is strongly inspired by (neo)mutt's `bounce`.
Implements: https://todo.sr.ht/~rjarry/aerc/115
Changelog-added: `:bounce` command to reintroduce messages into the
transport system.
Signed-off-by: Karel Balej <balejk@matfyz.cz>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'app/partswitcher.go')
0 files changed, 0 insertions, 0 deletions