Delayed sending of emails

18 views
Skip to first unread message

Robert Winkler

unread,
Aug 4, 2020, 4:22:23 PM8/4/20
to The Sup email client
Hi, an efficient strategy to reduce email traffic is the delayed sending of emails.
This also would allow the offline writing of emails.
Is there a way to do this in sup?
Best regards, Robert

Iain Parris

unread,
Aug 5, 2020, 10:33:35 AM8/5/20
to supmua
Hi Robert,

Excerpts from Robert Winkler's message of 2020-08-04 13:22:23 -0700:
> Hi, an efficient strategy to reduce email traffic is the delayed sending of
> emails.
> This also would allow the offline writing of emails.
> Is there a way to do this in sup?

Sup passes each email message to an external program to send
(config.yaml, option "sendmail").

For example, I personally use msmtp.

To queue/delay messages, the solution would be to call an external
program with this functionality built in.

For example, I haven't used this personally, but perhaps something like
msmtp-queue-scheduler may be of interest?
<https://github.com/parisni/msmtp-queue-scheduler>

(The README references Mutt, however, this should work with any MUA,
i.e., should work with Sup.)

Side note: I have received your email from 24 July re: keybindings,
however, haven't yet looked in the detail required. I'll try to look
within approximately the next week if I can, unless someone else on the
mailing list beats me to it. :-)

Kind regards,
Iain

Robert Winkler

unread,
Aug 5, 2020, 12:25:20 PM8/5/20
to Iain Parris, supmua
Thanks, Iain, you got an answer for everything!
The msmtp-queue seems to be the perfect solution. I will try this out and report back.
Best, Robert

--
You received this message because you are subscribed to the Google Groups "The Sup email client" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supmua+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/supmua/1596637149-sup-5427%40ceres.

Robert Winkler

unread,
Aug 23, 2020, 11:59:39 AM8/23/20
to The Sup email client
 Hi, I solved the problem in a different way:  I only call offlineimap when starting sup and answer emails => I will not see replies until I start sup again ;-).

Robert Winkler

unread,
Nov 26, 2020, 9:45:46 AM11/26/20
to The Sup email client
Hi, installed msmtpq-enqueue and msmtpq-flush from
and set in the
.sup/config.yaml
   :sendmail: "/usr/local/bin/msmtpq-enqueue -oem -ti"
Twice a day, the emails are sent by a cron job, once a day they are collected:
11 11 * * * /usr/bin/offlineimap >/dev/null 2>&1
16 16 * * * /usr/local/bin/msmtpq-flush >/dev/null 2>&1
10 10 * * * /usr/local/bin/msmtpq-flush >/dev/null 2>&1

This way, my emailing now is discontinuous; 'chat'-like conversations are avoided.
 Best regards, Robert 

Reply all
Reply to author
Forward
0 new messages