If the spool or lock dir exist before msmtp's initscript runs we
need to modify the permisions to be appropriate instead of just
bailing, otherwise non-root can't send mail.
Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
The project has been revived upstream and a user has convinced me
there is a valid use case for this package in openwrt, so remove
deprecation notice, adjust links to upstream (it's moved) and
update to latest version. Sync behavior with that expected upstream.
Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
This commit adds the msmtp-scripts package from SourceForge, which
is a wrapper around msmtp that provides queueing, syslog or file logging,
and a basic SMTP (no auth) server.
Signed-off-by: Daniel Dickinson <lede@daniel.thecshore.com>