On Tue, Jun 08, 2021 at 09:06:35AM +1000, Cameron Simpson wrote:
On 07Jun2021 15:49, Jon LaBadie <mut...@jgcomp.com> wrote:
Is there a way to use mutt from the command like to "Bounce" a
received message. I had hopes for the '-e "command"' option, but
that is limited to configuration commands.
The usual approach is to "push" the requisite keystrokes, which then get
played.
However, to "bounce" a message from the command line it is far more
expedient to just go:
sendmail -oi addr addr addr ... < message
which is all mutt will be doing. Drops the same messages straight into
the local mail system for deliver to the specified addrs.
On Tue, Jun 08, 2021 at 09:08:36AM +1000, Cameron Simpson wrote:
...
I thought procmail had some directive to 'bounce" messages? Haven't used
it for a while.
Cheers,
Cameron Simpson <c...@cskk.id.au>
In the end I used the procmail "forward" directive (!).
The semantics of "forward" vs "bounce" caused me to dismiss that
directive. Mutt's (and my) meaning of forward is to include the
message as part of the body of another message. Procmail's forward
is like mutt's bounce in that the message is delivered to another
address with the body is unchanged and only headers are added.
Thanks for the pointer causing me to look again (i.e. test it).
--
Jon H. LaBadie j...@labadie.us
11226 South Shore Rd. (703) 787-0688 (H)
Reston, VA 20190 (703) 935-6720 (C)