mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
mail/msmtp-scripts: Add queuing mta wrapper for msmtp
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>
This commit is contained in:
committed by
Daniel Dickinson
parent
01f86b1f30
commit
4d64a05350
@@ -0,0 +1,17 @@
|
||||
#!/bin/sh /etc/rc.common
|
||||
# Copyright (C) 2006-2016 OpenWrt.org
|
||||
|
||||
START=90
|
||||
|
||||
boot() {
|
||||
[ ! -d /var/spool/msmtp ] && {
|
||||
mkdir -m 0770 -p /var/spool/msmtp
|
||||
chown msmtp:msmtp /var/spool/msmtp
|
||||
}
|
||||
|
||||
[ ! -d /var/lock/msmtp ] && {
|
||||
mkdir -m 0770 -p /var/lock/msmtp
|
||||
chown msmtp:msmtp /var/lock/msmtp
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user