My Code Helper
JavaScript
Python
Java
C#
C++
Ruby
Swift
Kotlin
TypeScript
Go
Rust
PHP
C
Objective-C
Dart
Scala
Perl
Lua
Haskell
R
MATLAB
VBA
F#
Groovy
Clojure
Elixir
Julia
CoffeeScript
Crystal
COBOL
Fortran
Ada
PL/SQL
T-SQL
Assembly
Shell Scripting
PowerShell
Bash
Racket
Scheme
Prolog
Erlang
Lisp
APL
Haxe
Pascal
Ada
Logo
Tcl
D
Nim
Io
ABAP
Scheme
FORTRAN
APL
COBOL
ALGOL
BASIC
PL/I
Lisp
Cobol
Forth
Ada
C
C++
Java
Python
JavaScript
Ruby
PHP
Swift
Kotlin
Go
Rust
Perl
Scala
Haskell
R
MATLAB
VBA
Objective-C
Dart
Lua
Elixir
Julia
CoffeeScript
Crystal
Groovy
Clojure
TypeScript
PowerShell
Shell Scripting
linux
email
mutt
email-bounces
How to resend bounced email messages using mutt
Background
An email relaying issue was resolved.
32 email messages to sponsors had bounced to root.
I copied /var/mail/root to /tmp/root.
I deleted irrelevant messages from /tmp/root (using mutt).
All the bounced messages had the same sender.
Requirements
An efficient way to do the following for all 32 messages:
Extract each original message from the bounce message.
Send the message as the original sender to the original recipients, including the original bcc.
Make the sponsors notice nothing except that there was a delay in delivery.
Solution
In mutt, start in the message index listing the bounce notification messages of interest.
With the cursor on a bounce notification message, type v to open the Attachment Menu for the bounce notification message.
The Attachment Menu lists all attachments. A description of each attachment is shown. The subject of the original message is its description.
Press j to move the cursor to the attachment identified by its description as the original message. Do not open the attachment.
Press Escape-e to start the resend-message dialog.
The body of the original message opens in the mutt editor.
Press : to open the editor command line.
Press q and Enter to exit message composition.
Press y to resend the message.
Press q to return to the message index.
Use j or other appropriate keys to move the cursor to another bounce notification of interest.
As needed, go back to #2.
Do CLOCK_MONOTONIC and CLOCK_MONOTONIC_COARSE have the same base?
How to convert \uXXXX unicode to UTF-8 using console tools in *nix
How to match CR or end of line with grep?
What is the difference between installing a package using pip vs. apt-get?
Laravel + SQLite = SQLSTATE[HY000]General Error: 8 attempt to write a readonly database
How to access files owned by a user in an application
How do I open a .py file in IDLE for editing without starting a fresh interpreter session?
compile gcc for armv7l from debian in linux
How to make C++ be as economical with memory as C, while still using STL?
Java Threads, Blocking I/O, and Scheduling
I am creating a bash script to organize files in my Downloads folder, how can I iterate using "For" loop
"configure: error: libnl and libnl-genl are required but were not found"
Cannot fix Internal server error after upgrading PHP and then downgrading it again
How to use Puppeteer in 2nd gen Cloud Functions?
Persistent volume and claims in kubernetes workspace
sed command with -i option failing on Mac, but works on Linux
PyCharm Linux (flatpack) exception with os.stat on system files
How to cut first n and last n columns?
Dealing with struck-through and non-struck-through characters using Python on Linux and/or MacOS
How to avoid using printf in a signal handler?
TWS API Linux - Segmentation fault - __bid64_to_string
insmod: ERROR: could not insert module HelloWorld.ko: Operation not permitted
Delete lines in file if they contain current working directory
Kernel bypass for UDP and TCP on Linux- what does it involve?
Linux Kernel generate compile-commands.json for module
How can I detect if multiple keyboard keys are being pressed at the same time in C++, in Linux, from the terminal?
What's wrong with lsusb | awk '{print $6}' | xargs --null lsusb -s
Qt 6.8 linux (gcc) webengine is missed
How to reverse the output of the grep command?
Can yum tell me which of my repositories provide a particular package?