nmh-workers
[Top] [All Lists]

[nmh-workers] 'dist' in "at" job or "1 line script"? [end-user ?]

2019-07-19 07:46:08
Want to use dist in cron or 'at' to
programatically resend a msg in my sent folder (in below example msg 2022).
I do not want this script to be interactive.

Consider

    dist -from thud@zaz.com -to baz@nim.org -cc frog@thud.com -fcc +resent 
+sent 2022

Problems:

    When $EDITOR runs, the 
        -from thud@zaz.com -to baz@nim.org -cc frog@thud.com -fcc +resent
    switches have not changed these headers:

        Resent-To:
        Resent-From:
        Resent-cc:
        Resent-Fcc: sent

    I'm not understanding what the dist switches: -from, -to, -cc, and -fcc are 
used for.

    ( I do not want to have to start $EDITOR interactively. )

    How might I automate the "whatnowproc" / send step?

My goal is a to make a wrapper script that calls 'dist' so I can automate the
resending of a msg along with the proper "Resent-*" headers non interactively.
I would then use 'at' to schedule a couple of 'resends'.

--
thanks!,
Tom
Milwaukee WI, USA

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

<Prev in Thread] Current Thread [Next in Thread>