Re: Can Bounce command be used from the command line?

2021-06-10 Thread Jon LaBadie
On Tue, Jun 08, 2021 at 09:06:35AM +1000, Cameron Simpson wrote: On 07Jun2021 15:49, Jon LaBadie 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 approac

Re: Can Bounce command be used from the command line?

2021-06-07 Thread Cameron Simpson
On 08Jun2021 09:06, Cameron Simpson wrote: >The usual approach is to "push" the requisite keystrokes, which then >get played. Example from one of my scripts: mutt -f "$folder" -e "push '$pattern'" I still recommend just using sendmail directly though. I thought procmail had some directive

Re: Can Bounce command be used from the command line?

2021-06-07 Thread Cameron Simpson
On 07Jun2021 15:49, Jon LaBadie 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.

Can Bounce command be used from the command line?

2021-06-07 Thread Jon LaBadie
Some messages I receive my wife should see also. Rather than "Forward" ("f" command) them, I typically "Bounce" ("B" command) them to her. I would like to automate this procedure for certain sender addresses so I'm developing a procmail recipie. Is there a way to use mutt from the command like