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.
Linux command (like cat) to read a specified quantity of characters
Local array variables in Bash 3.0
Error starting Eclipse in Linux: "JVM terminated. Exit code=13"
How to delete the hidden cropped elements from a pdf from the command line?
How can I execute PHP code from the command line?
g++ error regarding undefined reference to typedef
Using Rsync include and exclude options to include directory and file by pattern
how to search for a directory from the terminal in ubuntu
error while loading shared libraries: libncurses.so.5:
How to find the last field using 'cut'
linux - sed command to search a substring in a file, then modify that a substring in that line only and keep the lines in the file
question on c compilation
Distributing a statically linked ELF 32bit Binary - Will it run on all platforms?
Statically Linked ELF 32 bit Binary - Distro Specific
How to get Linux distribution name and version?
Print the last line of a file, from the CLI
CronJob not running
gcc -O4 optimization flag
Trouble building gcc-4.3.4 in a non-standard location
Compiling/Linking CUDA and CPP Source Files
"update-locale: Error: invalid locale settings" when using a Dockerfile
Why should I recompile an entire program just for a library update?
Differences between sponge and tee
How to install lua-language-server on linux (Ubuntu)?
Interpretation of prev task within context_switch() in Linux kernel scheduler code
GDB hangs after continuing from "start_kernel" breakpoint?
How do I install python on alpine linux?
Linux socket data sit in send queue until receive timeout
Why is the isnumber() function present in certain distros of Unix but not in others?
Is it possible to make the linux cksum command zero out?