send reports
This commit is contained in:
parent
dfcb68260d
commit
2d31d01437
4 changed files with 10 additions and 5 deletions
|
@ -1,10 +1,10 @@
|
||||||
FROM sutty/monit:latest
|
FROM sutty/monit:latest
|
||||||
MAINTAINER "f <f@sutty.nl>"
|
MAINTAINER "f <f@sutty.nl>"
|
||||||
|
|
||||||
RUN apk add --no-cache opendkim
|
RUN apk add --no-cache opendkim mini-sendmail
|
||||||
COPY ./monit.conf /etc/monit.d/opendkim.conf
|
COPY ./monit.conf /etc/monit.d/opendkim.conf
|
||||||
COPY ./opendkim.sh /usr/local/bin/opendkim
|
COPY ./opendkimd.sh /usr/local/bin/opendkimd
|
||||||
RUN chmod 755 /usr/local/bin/opendkim
|
COPY ./sendmail.sh /usr/bin/sendmail
|
||||||
RUN install -dm 2750 -o opendkim -g opendkim /run/opendkim
|
RUN install -dm 2750 -o opendkim -g opendkim /run/opendkim
|
||||||
|
|
||||||
EXPOSE 8891
|
EXPOSE 8891
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
check process opendkim with pidfile /tmp/opendkim.pid
|
check process opendkim with pidfile /tmp/opendkim.pid
|
||||||
start program = "/usr/local/bin/opendkim start"
|
start program = "/usr/local/bin/opendkimd start"
|
||||||
stop program = "/usr/local/bin/opendkim stop"
|
stop program = "/usr/local/bin/opendkimd stop"
|
||||||
|
|
0
opendkim.sh → opendkimd.sh
Normal file → Executable file
0
opendkim.sh → opendkimd.sh
Normal file → Executable file
5
sendmail.sh
Executable file
5
sendmail.sh
Executable file
|
@ -0,0 +1,5 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
/var/lib/mini-sendmail/mini_sendmail -s postfix $@
|
||||||
|
|
||||||
|
exit $?
|
Loading…
Reference in a new issue