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.
symlink from public_html_source to public_html
Example of using named pipes in Linux shell (Bash)
Most powerful examples of Unix commands or scripts every programmer should know
How can you determine installed versions of the glibc libraries?
ftrace ftrace_set_filter_ip/ftrace_set_filter return EINVAL
C++ stat() function not finding remote file
How to split mailbox into single file per message?
Linux multiple ICMP sockets
In Python script, how do I set PYTHONPATH?
Checking sudo in Bash (script with if statements)
Using rsync: how to exclude all directories which contain a specific word, case insensitive?
postgresql: Invalid data directory | Can't open PID file /var/run/postgresql/10-main.pid (yet?) after start: No such file or directory
Digital Ocean Droplet Restart Recovery Mode
How can I execute PHP code from the command line?
Viewing full output of PS command
How to list processes attached to a shared memory segment in linux?
Creating first admin in SFTPGo using VM instance startup script?
Pipe Input on a timer
Can't ping linux image running on Qemu
How to find the udev rule which causes the loading of the kernel module 88XXau.ko?
Where are include files stored - Ubuntu Linux, GCC
Python & MS Word: Convert .doc to .docx?
Split file based on a key and name the output with the key name
Self hosted azure devops build agent not getting tool from $PATH
What does the --audit flag to GNU ld do?
how to install lpsolve module for Python on Linux Ubuntu 10.04?
Failed to open X11 display - How to execute SFML output on WSL - Load WSL GUI apps
How i can static build GDB from source?
How to send data to local clipboard from a remote SSH session
Wait for file input or a signal in Linux