Update host used to check for network connectivity
Add instructions for installation in $HOME
Replace github.com/Mischanix/wait by local code
This is my take on a message queue for msmtp.
It is made of 3 components:
msmtpqd
: a daemon that actually runs msmtp
to send e-mailsmqmtpq
: the "replacement" for msmtp
, used to send (i.e. enqueue) e-mailsmsmtp-ctl
: a control tool for the daemon: to list unsend e-mails, inspect
them, remove them, or force the daemon to try to send e-mails againThe msmtpqd
daemon waits for an Internet connection to be available before
trying to send e-mails, and notifies the user once the pending e-mails are sent.
All of these components communicate with each other over D-Bus.
This is probably overkill and could be replaced by a much simpler Bash script, but I had fun writing this a few years ago... And it still works really well for me :)
$HOME
(i.e. how I use it :))
make BINDIR=$HOME/bin SHAREDIR=$HOME/.local/share SVCDIR=$HOME/.config/systemd/user all install
That's it!