mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
emailrelay: added configuration options
- moved from net to mail category - removed no-ssl package and added ssl support as configuration option (default enabled) - added configuration option to support extended logging (default disabled) - disabled build of test tools - added LEDE compatibility (support for openssl without SSL3) Signed-off-by: Federico Di Marco <fededim@gmail.com>
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
#!/bin/sh /etc/rc.common
|
||||
#see http://emailrelay.sourceforge.net/reference.html for command line reference
|
||||
|
||||
START=90
|
||||
|
||||
|
||||
start() {
|
||||
logger -t 'emailrelay' "Starting emailrelay service."
|
||||
service_start /usr/bin/emailrelay --as-server --poll 60 --forward-to smtpserver:smtpport --spool-dir /tmp --client-tls --client-auth /etc/emailrelay.auth --server-auth /etc/emailrelay.auth --log
|
||||
}
|
||||
|
||||
stop() {
|
||||
logger -t 'emailrelay' "Stopping emailrelay service."
|
||||
service_stop /usr/bin/emailrelay
|
||||
}
|
||||
Reference in New Issue
Block a user