diff options
author | Chloe Kudryavtsev <toast@toastin.space> | 2018-11-06 22:26:52 -0500 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2018-11-09 14:07:56 +0000 |
commit | 3f245c5b7148f7b6539b06fc5be84a4eaa2e0263 (patch) | |
tree | e7ed4fb35465005561be4b737bd9bc485de4e4da /testing/spampd/spampd.initd | |
parent | 36ca9fb10d266810a80cd08b6c36ab442f46f679 (diff) | |
download | aports-3f245c5b7148f7b6539b06fc5be84a4eaa2e0263.tar.bz2 aports-3f245c5b7148f7b6539b06fc5be84a4eaa2e0263.tar.xz |
testing/spampd: new aport
https://www.worlddesign.com/index.cfm/page/software/open-source/spampd.htm
An SMTP / LMTP proxy that uses spamassassin to mark spam.
Similar to amavisd-new, but lets spamassassin modify headers directly,
and significantly simpler to use/configure.
Diffstat (limited to 'testing/spampd/spampd.initd')
-rw-r--r-- | testing/spampd/spampd.initd | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/testing/spampd/spampd.initd b/testing/spampd/spampd.initd new file mode 100644 index 0000000000..139830f158 --- /dev/null +++ b/testing/spampd/spampd.initd @@ -0,0 +1,16 @@ +#!/sbin/openrc-run +command="/usr/bin/spampd" +pidfile="/run/${RC_SVCNAME}.pid" +command_args="-p=$pidfile + ${user:+-u=$user} ${group:+-g=$group} + ${host:+--host=$host} ${port:+--port=$port} + ${sock:+--socket=$sock} ${smod:+--socket-perms=$smod} + ${rhost:+--relayhost=$rhost} ${rport:+--relayport=$rport} + ${rsock:+--relaysocket=$rsock} + $args" + +# no reload because HUP does not reload spamassassin configuration + +depend() { + before mta +} |