Ralph writes:

> Hi Tom,

> http://git.savannah.nongnu.org/cgit/nmh.git/tree/etc/distcomps is the
> stock one for comparison.

Just to note that it works for me.

>
> >     echo send |
> >     dist -noedit \
> >         -from [email protected] -to [email protected] -cc [email protected] -fcc resent \
> >         +sent 2022
> >
> > Is there a prefered way to the above approach for automating the send?
>
> Another way is
>
>     echo y | dist -whatnowproc send -to foo

Or, per the description of mhdraft in mh-profile(1):

    $ cat `mhparam path`/auto_send
    [ "$mhdraft" ] && send "$mhdraft"

    $ dist [...] -whatnowproc `mhparam path`/auto_send

With the -whatnowproc switch, the -noedit isn't necessary.

David

-- 
nmh-workers
https://lists.nongnu.org/mailman/listinfo/nmh-workers

Reply via email to