On 08Jun2021 09:06, Cameron Simpson <c...@cskk.id.au> 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 '<search>$pattern<enter><display-message>'" I still recommend just using sendmail directly though. I thought procmail had some directive to 'bounce" messages? Haven't used it for a while. Cheers, Cameron Simpson <c...@cskk.id.au>