msmtp-scripts: Fix spool/lock dir permissions
authorDaniel F. Dickinson <cshored@thecshore.com>
Tue, 27 Aug 2019 09:57:51 +0000 (05:57 -0400)
committerDaniel F. Dickinson <cshored@thecshore.com>
Tue, 27 Aug 2019 10:55:04 +0000 (06:55 -0400)
commitb9cc3cf269cac6e2a50e47e63c557533f91dee4d
tree5b442348f7b5b7cdf4fa25bcda6288fcdaf054be
parent3c15d410a9221d212193d386bcb2dbd9b723c62d
msmtp-scripts: Fix spool/lock dir permissions

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>
mail/msmtp-scripts/files/msmtpq-ng-mta.init